/*
 Theme Name:    Electro Child
 Theme URI:     https://themeforest.net/item/electro-electronics-store-woocommerce-theme/15720624
 Description:   This is the child theme of Electro
 Author:        MadrasThemes
 Author URI:    https://madrasthemes.com/
 Template:      electro
 Version:       3.6.4
 License:       GNU General Public License v2 or later
 License URI:   http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          light, dark, two-columns, right-sidebar, responsive-layout
 Text Domain:   electro-child
*/

/* ------------------------------
   🏠 HOME PAGE
------------------------------ */
.home section.section-onsale-product .deal-progress {
	display: none;
}

.section-onsale-product .savings .savings-text {
	font-size: 11px;
}

/* Deals and tabs */
.home-v1-deals-and-tabs .products-carousel-tabs .nav {
	flex-wrap: nowrap;
}

@media (max-width: 1200px) {
	.home-v1-deals-and-tabs .products-carousel-tabs .nav {
		justify-content: inherit;
	}
}

@media (max-width: 768px) {
	.home .deals-block {
		order: 1;
	}
}

/* ------------------------------
   🔝 HEADER
------------------------------ */
.header-logo-area img {
	max-width: 200px;
}

/* ------------------------------
   🔚 FOOTER
------------------------------ */
footer .custom-logo {
	max-width: 220px;
	margin-bottom: 20px;
}

.handheld-footer .custom-logo {
	max-width: 190px;
	margin-bottom: 20px;
}

/* ------------------------------
   💡 FOOTER RÉASSURANCE BLOCKS
------------------------------ */
.footer-reassurance {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch;
	text-align: center;
	background: #f9f9f9;
	padding: 30px 10px;
	gap: 20px;
	margin-bottom: 50px;
}

.reassurance-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 15px;
	border-radius: 10px;
	background: #fff;
	transition: all 0.3s ease;
	height: 100%;
}

.reassurance-item img {
	width: 50px;
	height: 50px;
	margin-bottom: 10px;
	filter: invert(43%) sepia(92%) saturate(2470%) hue-rotate(166deg) brightness(96%) contrast(101%);
}

.reassurance-item p {
	font-size: 15px;
	font-weight: 500;
	color: #333;
	margin: 0;
}

/* ------------------------------
   🧭 BREADCRUMB
------------------------------ */
.woocommerce-breadcrumb span.delimiter + a {
	background: none !important;
}

/* ------------------------------
   📱 RESPONSIVE
------------------------------ */
@media (max-width: 1050px) {
	.footer-reassurance {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 650px) {
	.footer-reassurance {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.reassurance-item img {
		width: 40px;
		height: 40px;
	}

	.reassurance-item p {
		font-size: 14px;
	}
}


div#tab-description, div#tab-description p {
    color: #333e48 !important;
}

.owl-item>.product .product-loop-body, .products>.product .product-loop-body {
	display: inherit;
}

.products .product-short-description, .products .product-sku, .product .product-loop-body .loop-product-categories, .product .product-loop-body .woocommerce-loop-product__title {
    display: none !important;
}

.products>.product .product-loop-body .product-rating {
    margin-bottom: 5px;
}

.product-card .product-rating {
    font-size: 12px;
    display: flex;
}

.product-card .star-rating {
   margin-top: auto;
   margin-bottom: auto;	
}

.product-card span.rating-count {
    margin-left: 3px;
    color: #768a9d;
}

.single-product .availability {
	display: none !important;
}

/* Cacher le container si aucune étoile visible */
.product-rating:empty,
.product-rating:not(:has(.star-rating span:not([style*="width:0%"]))) {
    visibility: hidden !important; 
}

div#tab-description h2 {
    margin-top: 30px;
}

button#packlink-drop-off-picker {
    margin-top: -5px !important;
    display: block;
}

#post-3134 table.shop_table .ppc-button-wrapper {
    display: none;
}

ul#shipping_method li img {
    display: none;
}

ul#shipping_method label {
    margin-right: 49px;
}

#shipping_method.woocommerce-shipping-methods li {
    display: flex;
    flex-wrap: wrap; /* indispensable ! */
    align-items: center;
    gap: 8px;
}

#shipping_method.woocommerce-shipping-methods li > input.shipping_method {
    flex-shrink: 0; /* ne rétrécit pas */
    margin-top: -13px;
}

#shipping_method.woocommerce-shipping-methods li > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap; 
    flex: 1;
    line-height: 1.3;
}

#shipping_method.woocommerce-shipping-methods .woocommerce-Price-amount {
    white-space: nowrap;
}

#shipping_method.woocommerce-shipping-methods img.pl-checkout-carrier-image {
    width: 50px;
    height: auto;
    object-fit: contain;
    margin-right: 8px;
    flex-shrink: 0;
}

#shipping_method li label>span {
	top: 0 !important;
}

#shipping_method li label {
	order: 0;
}

#shipping_method.woocommerce-shipping-methods li #packlink-drop-off-picker {
    display: block;
    width: auto;
    margin-left: calc(20px + 8px); /* décale pour rester aligné avec le texte du label */
    margin-top: 6px;
}

#packlink-drop-off-picker {
    flex-basis: 100%; /* prend toute la largeur */
    margin-left: calc(20px + 8px); /* aligne sous le label */
    margin-top: 6px;
}

.single-product .ppc-button-wrapper {
	display: none;
}

.woocommerce-product-gallery__trigger span::before {
    content: "\f002"; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    font-size: 18px;
}

.woocommerce-product-gallery__trigger span {
    font-size: 0;
}

.onsale-product-carousel, .section-onsale-product {
    border-radius: 0;
    border: 1px solid transparent;
    padding: 1.429em 1.571em;
}

.single-product .wc-tab {
    border-radius: 0;
}

.product .reassurance-block ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    margin-top: 40px;
}

.product .reassurance-block li {
    padding-bottom: 15px;
    line-height: 1.5em;
    border-bottom: 1px solid #ededed;
    margin-bottom: 14px;
}

.reassurance-block svg {
    width: 30px;
    margin: auto;
}

.reassurance-block img { 
    width: 180px;
    margin-top: 3px; 
}

.product .reassurance-block li .reassurance-block-svg {
    border-radius: 150px;
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    display: flex;
    margin-right: 20px;
}

.product .reassurance-block li .reassurance-block-txt {
    margin-top: auto;
    margin-bottom: auto;
}

.woocommerce-product-details__short-description p {
    margin-bottom: 5px;
}

.woocommerce-product-details__short-description a:hover {
    text-decoration: underline
}

.woocommerce-checkout-review-order-table .product-name {
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

hr.single-product-title-divider {
    display: none;
}

.products>.product:hover .hover-area {
    border-top: none !important;
}

.single-product .wc-tab {
	border: none !important;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

.home-v1-da-block .da-text {
    text-transform: inherit !important;
    font-size: 14px;
}

.home-v1-da-block .da-media {
    padding: 10px;
    background: #fff;
    height: 100%;
}

.home-v1-da-block .da-media img {
    width: 100%;
}

.home-v1-da-block .da-media-left {
	display: flex;
}

#shipping_method.woocommerce-shipping-methods li > input.shipping_method {
    margin-top: 0px;	
}

button#packlink-drop-off-picker {
   margin-top: 6px !important;
}

.page-template-template-homepage-v12:not(.electro-dark) .site-content, .page-template-template-homepage-v12:not(.electro-dark) .top-bar, .page-template-template-homepage-v12:not(.electro-dark) .site-header {
    background-color: #fff;
}

.cart_totals {
    width: inherit !important;
}

a[data-pin-log="button_pinit"] {display:none ! important 
}