/*
Theme Name: Es Protect Montargis
Theme URI: https://www.indexltd.net
Author: Sultana Mumu
Author URI: https://www.fiverr.com/sultana_mumu
Description: This Hello Elementor Child Theme, enhances the simplicity and flexibility of the Hello Elementor framework with custom design elements and optimizations. Perfect for creating clean, modern websites, it retains the lightweight nature of the parent theme while adding unique styling to make your site stand out.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esprotectmontargis
*/


.elementor-text-editor p:last-child, .elementor-widget-text-editor p:last-child, .textwidget p:last-child, .elementor-widget-container p:last-child { margin-bottom:0px;}


.ellipsis-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Limits to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis; /* Adds "..." if text is truncated */
}



/* Change product image border radius */
:is(.insis--woo-home, .insis--woo-shop, .insis--woo-single-product) ul.products li.product {
	& a img {
    	height: 350px;
		border-radius: 12px;
	}
	& :is(.woocommerce-loop-product__title, .price) {
		font-family: "Plus Jakarta Sans";
    	font-size: 16px;
    	font-weight: 700;
		color:#000 !important;
		text-align:center;
	}
	& .price .amount {
		font-size: 16px;
    	color:#000 !important;
	}
	& .price del {
    	text-decoration-color:#000 !important;
	}
	& span.onsale {
		padding:0px;
	}
	& :is(.woocommerce-loop-product__title):hover {
		color:#2EBB77 !important;
	}
	& a.add_to_cart_button {
    	display:none;
	}

}

:is(.insis--woo-home, .insis--woo-shop, .insis--woo-single-product) .product {
	& span.onsale {
		padding:0px;
	}
	& .price ins {
		padding-left:10px;
		text-decoration:none;
	}
	& .price ins > .amount {
		color:#2EBB77 !important;
	}
}

/* Style the color circles */
.shop-color-circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%; /* Makes it a perfect circle */
    border: 1px solid rgba(0, 0, 0, 0.15); /* Soft border for light colors */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Optional: Slight pop effect when hovering over the color circle */
.shop-color-circle:hover {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}




/* Shoping Cart */
.post-10604 .page-header { display:none; }

.cart-maincontent { margin-top:80px; }


div.wp-block-woocommerce-cart { margin-inline:0 !important; }
.wc-block-formatted-money-amount { margin-right:5px; }

.wc-block-cart__totals-title { border-top: 1px solid #C0BEBE !important; }

.wc-block-components-totals-coupon__form .wc-block-components-button__text { color:#c36 !important; }

label[for="pwgc-redeem-gift-card-number"] { width:100%; margin-bottom:20px; }
#pwgc-redeem-gift-card-number { height:50px; }
.pwgc-apply-gift-card-button { width:100% !important; }

a.wc-block-cart__submit-button { text-decoration: none !important; }
.wc-block-cart__submit-button .wc-block-components-button__text { color:#FFF; }

.wp-block-woocommerce-empty-cart-block { min-height:40vh; margin-top:100px; margin-bottom:100px; }
.wp-block-woocommerce-product-new { display:none !important; }





/* Mobile Responsive: Stack them back to full width on phones */
@media (max-width: 767px) {

}
