/* Ask for product modal */
body .blocker{
	z-index: 9999999999;
	background: rgba(35, 35, 44, 0.5);
}
body .modal{
	text-align: center;
	width: 100%;
	max-width: 700px;
	padding: 40px;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}


body .modal h4{
	font-size: 24px;
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 10px;
}

@media screen and (max-width: 767px){
	body .modal{
		padding: 25px 30px;
	}
}

@media screen and (max-width: 480px){
	body .modal{
		padding: 25px 20px;
	}
	body .modal h4{
		font-size: 20px;
	}
}

/* Ask for product */
#ask-for-product-modal{
	padding: 40px 40px 20px;
	z-index: 999999999999999;
}

#ask-for-product-modal .submit-wrapper{
    display: flex;
    justify-content: center;
	position: relative;
}

#ask-for-product-modal .screen-reader-response ul{
	display: none;
}

#ask-for-product-modal .wpcf7-not-valid-tip{
	color: var(--color-red);
}

#ask-for-product-modal .wpcf7-response-output{
	margin-top: 20px;
}


#ask-for-product-modal .wpcf7-list-item-label{
	font-size: 13px;
    line-height: 1.2;
}

#ask-for-product-modal textarea{
	font-size: 13px;
	height: 120px;
}

#ask-for-product-modal .custom-file-upload-wrapper{
	margin-bottom: 25px;
}

#ask-for-product-modal .wpcf7-spinner{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(95px, -50%);
    margin-top: 0;
    margin-inline: 0;
}

@media screen and (max-width: 767px){
	#ask-for-product-modal{
		padding: 20px;
	}
}

/* Added to cart */
.check-icon{
	display: flex;
	align-items: center;
	text-align: left;
	font-weight: 600;
    margin-top: -40px;
    margin-inline: -40px;
    padding: 20px 45px 20px 20px;
    background-color: var(--color-background);
	font-size: clamp(0.85rem, 3vw, 1.2rem);
    line-height: clamp(1rem, 3vw, 1.4rem);
}

.check-icon::before{
	content:'';
	display: inline-block;
	width: 20px;
    height: 20px;
	margin-right: 10px;
	-webkit-mask-image: url('../../../icons/checkmark-outline.svg');
	mask-image: url('../../../icons/checkmark-outline.svg');
	background-color: currentColor;
}

.related-products__title{
	font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.2rem);
    display: block;
    text-align: left;
}

.modal .product-thumbnail{
	margin-right: 35px;
	width: 160px;
    max-width: 100%;
    flex-shrink: 0;
}

.modal .product-info{
	text-align: left;
}

.modal .product-name{
	font-weight: 600;
    font-size: clamp(0.85rem, 3vw, 1rem);
	line-height: clamp(1rem, 3vw, 1.6rem);
}

.modal .woocommerce-cart-form__cart-item{
	margin-block: 35px;
    display: flex;
    margin-inline: -40px;
    padding-inline: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal .woocommerce-cart-form__cart-item .price{
	display: flex;
    flex-direction: column;
}

.modal .woocommerce-cart-form__cart-item .price ins{
	text-decoration: none;
	font-weight: 600;
}


@media screen and (max-width: 767px){
	.modal{
		padding: 25px 30px;
	}
	.check-icon{
		margin-top: -25px;
		margin-inline: -30px;
	}
	.modal .woocommerce-cart-form__cart-item{
		margin-inline: -30px;
	}
}


@media screen and (max-width: 480px){
	.modal .product-thumbnail{
		margin-right: 15px;
	}
	.modal .product-thumbnail {
		width: 100px;
	}
}

/* Loader */
.modal .blockUI.blockOverlay::before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -.5em;
    margin-top: -.5em;
    content: "";
    animation: spin 1s ease-in-out infinite;
    background: url(../../../../../plugins/woocommerce/assets/images/icons/loader.svg) center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0,0,0,.75)
}