/* ==========================================================================
   ÉCLAT STORE — commerce & content surfaces
   Depends on eclat-ui.css for tokens.

   Woodmart product-card conventions applied:
     · borderless card on white; the image does the work
     · slow image zoom on hover, nothing else moves
     · micro category label, then a light-weight title
     · price is the only accent-coloured text
     · the add-to-cart reveals on hover instead of sitting there permanently
   ========================================================================== */

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wd-line);
	border-inline-start: 1px solid var(--wd-line);
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: #fff;
	border: 0;
	border-inline-end: 1px solid var(--wd-line);
	border-bottom: 1px solid var(--wd-line);
	border-radius: 0;
	box-shadow: none;
	padding: 26px 22px 30px;
	text-align: center;
	position: relative;
	transition: box-shadow 0.25s ease, z-index 0s;
}

@media (hover: hover) {
	.woocommerce ul.products li.product:hover {
		box-shadow: 0 6px 34px rgba(0, 0, 0, 0.09);
		z-index: 2;
		transform: none;
	}
}

/* image */
.woocommerce ul.products li.product a img {
	margin: 0 auto 18px;
	border-radius: 0;
	transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
	mix-blend-mode: multiply;
}

@media (hover: hover) {
	.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }
}

/* micro category label */
.woocommerce ul.products li.product .eclat-card-cat {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--wd-soft);
	margin-bottom: 7px;
}

/* title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14.5px !important;
	font-weight: 500;
	line-height: 1.55;
	color: var(--wd-head);
	padding: 0 !important;
	margin: 0 0 8px;
	min-height: 2.9em;
}

.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title {
	color: var(--wd-accent);
}

/* rating */
.woocommerce ul.products li.product .star-rating {
	margin: 0 auto 8px;
	font-size: 12px;
	color: var(--wd-gold);
}

/* price — the single accent */
.woocommerce ul.products li.product .price {
	display: block;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--wd-accent);
	margin: 0;
}

.woocommerce ul.products li.product .price del {
	color: var(--wd-soft);
	font-weight: 400;
	font-size: 13px;
	margin-inline-end: 6px;
	opacity: 1;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	background: transparent;
}

/* add to cart — revealed on hover, reserved space so nothing shifts */
.woocommerce ul.products li.product .button {
	margin-top: 14px;
	width: 100%;
	padding: 13px 14px;
	font-size: 11px;
	letter-spacing: 1px;
}

@media (hover: hover) and (min-width: 992px) {
	.woocommerce ul.products li.product .button {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
	}

	.woocommerce ul.products li.product:hover .button {
		opacity: 1;
		transform: translateY(0);
	}
}

.woocommerce ul.products li.product .added_to_cart {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--wd-accent);
}

/* sale badge */
.woocommerce span.onsale {
	position: absolute;
	top: 16px;
	inset-inline-start: 16px;
	inset-inline-end: auto;
	margin: 0;
	background: var(--wd-sale);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	line-height: 1;
	padding: 7px 10px;
	border-radius: 2px;
	min-height: 0;
	min-width: 0;
	z-index: 3;
}

@media (max-width: 1200px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce ul.products li.product { padding: 18px 14px 22px; }
}

@media (max-width: 420px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; }
}

/* the homepage grid comes through a shortcode widget */
.elementor-widget-shortcode .woocommerce ul.products { border-top: 1px solid var(--wd-line); }

/* ==========================================================================
   SHOP ARCHIVE
   ========================================================================== */
.woocommerce .woocommerce-products-header { margin-bottom: 8px; }

.woocommerce .woocommerce-products-header__title,
.woocommerce-page h1.page-title {
	font-size: 30px;
	font-weight: 600;
	color: var(--wd-head);
	margin-bottom: 6px;
}

.woocommerce .woocommerce-result-count {
	font-size: 13px;
	color: var(--wd-soft);
	margin: 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
	border: 1px solid var(--wd-line);
	border-radius: var(--wd-radius);
	padding: 11px 16px;
	font-size: 13px;
	color: var(--wd-head);
	background: #fff;
}

.woocommerce .woocommerce-ordering { margin-bottom: 0; }

/* filter widgets */
.widget_product_categories ul,
.widget_layered_nav ul,
.widget_rating_filter ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget_product_categories li,
.widget_layered_nav li {
	padding: 9px 0;
	border-bottom: 1px solid var(--wd-line-soft);
	font-size: 14px;
}

.widget_product_categories li a,
.widget_layered_nav li a { color: var(--wd-text); }
.widget_product_categories li a:hover,
.widget_layered_nav li a:hover { color: var(--wd-accent); }

.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background-color: var(--wd-accent); }
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background-color: var(--wd-line); }

.eclat-filter-toggle {
	display: none;
	width: 100%;
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid var(--wd-line);
	color: var(--wd-head);
	border-radius: var(--wd-radius);
	padding: 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

.eclat-filter-toggle i { margin-inline-end: 8px; color: var(--wd-accent); }

.eclat-filter-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 99991;
}

.eclat-filter-overlay[hidden] { display: none !important; }

@media (max-width: 991px) {
	.eclat-filter-toggle { display: block; }

	body.eclat-filters-open .sidebar,
	body.eclat-filters-open .sidebar-content {
		display: block !important;
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		width: min(330px, 88vw);
		background: #fff;
		z-index: 99992;
		overflow-y: auto;
		padding: 24px 20px 40px;
	}
}

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
.woocommerce div.product { padding-top: 6px; }

.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
	font-size: 12.5px;
	color: var(--wd-soft);
	margin-bottom: 22px;
}

.woocommerce-breadcrumb a { color: var(--wd-soft); }
.woocommerce-breadcrumb a:hover { color: var(--wd-accent); }

@media (min-width: 992px) {
	.woocommerce div.product div.images { position: sticky; top: 108px; }
}

.woocommerce div.product div.images img {
	border-radius: 0;
	mix-blend-mode: multiply;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
	border: 1px solid var(--wd-line);
	background: #fff;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.woocommerce div.product div.images .flex-control-thumbs li { width: 84px; margin: 0; float: none; }

.woocommerce div.product div.images .flex-control-thumbs img {
	border: 1px solid var(--wd-line);
	opacity: 1;
	transition: border-color 0.2s ease;
}

.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
	border-color: var(--wd-accent);
}

.woocommerce div.product .summary { padding-inline-start: 14px; }

.woocommerce div.product .summary .product_title {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 14px;
}

.woocommerce div.product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
}

.woocommerce div.product .woocommerce-product-rating .star-rating { color: var(--wd-gold); margin: 0; }
.woocommerce div.product .woocommerce-review-link { font-size: 13px; color: var(--wd-soft); }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 26px;
	font-weight: 700;
	color: var(--wd-accent);
	margin: 0 0 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wd-line);
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.woocommerce div.product p.price del { font-size: 17px; font-weight: 400; color: var(--wd-soft); }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce div.product .woocommerce-product-details__short-description {
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--wd-text);
	margin-bottom: 24px;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	padding: 0;
	background: transparent;
	border: 0;
}

.woocommerce div.product form.cart .quantity { margin: 0; }

.woocommerce div.product form.cart .quantity input.qty {
	width: 88px;
	height: 52px;
	border: 1px solid var(--wd-line);
	border-radius: var(--wd-radius);
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--wd-head);
	background: #fff;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
	flex: 1 1 240px;
	height: 52px;
	font-size: 12.5px;
	letter-spacing: 1.2px;
}

.woocommerce div.product .stock.in-stock { color: var(--wd-ok); font-weight: 600; font-size: 13.5px; }
.woocommerce div.product .stock.out-of-stock { color: var(--wd-sale); font-weight: 600; }

.woocommerce div.product .product_meta {
	font-size: 13px;
	color: var(--wd-soft);
	border-top: 1px solid var(--wd-line);
	padding-top: 18px;
	margin-top: 6px;
	display: grid;
	gap: 7px;
}

.woocommerce div.product .product_meta a { color: var(--wd-text); }
.woocommerce div.product .product_meta a:hover { color: var(--wd-accent); }

/* trust row */
.eclat-trust {
	list-style: none;
	margin: 20px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--wd-line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 20px;
}

.eclat-trust li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--wd-text);
	margin: 0;
}

.eclat-trust i { color: var(--wd-accent); font-size: 15px; width: 18px; text-align: center; flex: 0 0 18px; }

@media (max-width: 480px) { .eclat-trust { grid-template-columns: 1fr; } }

/* tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: 64px; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 34px;
	display: flex;
	gap: 0;
	flex-wrap: wrap;
	justify-content: center;
	border-bottom: 1px solid var(--wd-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 16px 26px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	color: var(--wd-soft);
	position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 2px;
	background: var(--wd-accent);
	transform: scaleX(0);
	transition: transform 0.22s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--wd-head); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after { transform: scaleX(1); }

.woocommerce div.product .woocommerce-tabs .panel {
	padding: 0;
	margin: 0 auto;
	max-width: 820px;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--wd-text);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 22px;
	margin-bottom: 14px;
}

.woocommerce div.product .woocommerce-tabs .panel h3 {
	font-size: 16px;
	margin: 26px 0 10px;
}

.woocommerce div.product .shop_attributes {
	border: 1px solid var(--wd-line);
	border-collapse: separate;
	border-spacing: 0;
	max-width: 640px;
	margin-inline: auto;
}

.woocommerce div.product .shop_attributes th,
.woocommerce div.product .shop_attributes td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--wd-line);
	font-size: 14px;
	text-align: start;
}

.woocommerce div.product .shop_attributes tr:last-child th,
.woocommerce div.product .shop_attributes tr:last-child td { border-bottom: 0; }

.woocommerce div.product .shop_attributes th {
	background: var(--wd-alt);
	font-weight: 600;
	color: var(--wd-head);
	width: 36%;
}

.woocommerce div.product .shop_attributes td { color: var(--wd-text); font-style: normal; }

.woocommerce div.product .related,
.woocommerce div.product .upsells {
	margin-top: 70px;
	padding-top: 50px;
	border-top: 1px solid var(--wd-line);
}

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
	font-size: 24px;
	text-align: center;
	margin-bottom: 34px;
}

html[dir="rtl"] .woocommerce div.product .summary {
	padding-inline-start: 0;
	padding-inline-end: 14px;
}

@media (max-width: 991px) {
	.woocommerce div.product .summary { padding-inline-start: 0; }
	.woocommerce div.product .summary .product_title { font-size: 24px; }
	.woocommerce div.product p.price { font-size: 22px; }
	.woocommerce div.product .woocommerce-tabs { margin-top: 44px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 13px 16px; font-size: 11.5px; }
}

/* ==========================================================================
   CART / CHECKOUT
   ========================================================================== */
.woocommerce table.shop_table {
	border: 1px solid var(--wd-line);
	border-radius: 0;
	border-collapse: separate;
}

.woocommerce table.shop_table th {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wd-head);
	background: var(--wd-alt);
	padding: 16px 14px;
}

.woocommerce table.shop_table td { padding: 18px 14px; border-top: 1px solid var(--wd-line); }

.woocommerce-cart .cart-collaterals .cart_totals > h2,
.woocommerce-checkout h3 {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	border: 1px solid var(--wd-line);
	border-radius: var(--wd-radius);
	padding: 13px 15px;
	font-family: inherit;
	font-size: 14px;
	color: var(--wd-head);
	background: #fff;
	width: 100%;
}

.woocommerce form .form-row input.input-text:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border-color: var(--wd-accent);
	outline: none;
}

.wpcf7 label { font-size: 13px; font-weight: 600; color: var(--wd-head); }
.wpcf7 .req { color: var(--wd-sale); }

.eclat-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

@media (max-width: 600px) { .eclat-form-grid { grid-template-columns: 1fr; } }

body.woocommerce-checkout .eclat-hd-nav,
body.woocommerce-checkout .eclat-hd-top { display: none; }

body.woocommerce-checkout .woocommerce-checkout-review-order {
	background: var(--wd-alt);
	padding: 26px;
	border-radius: var(--wd-radius);
	position: sticky;
	top: 24px;
}

body.woocommerce-checkout #place_order {
	width: 100%;
	height: 54px;
	font-size: 13px;
}

/* free shipping progress */
.eclat-ship-progress {
	background: var(--wd-alt);
	border: 1px solid var(--wd-line);
	border-radius: var(--wd-radius);
	padding: 15px 17px;
	margin-bottom: 20px;
}

.eclat-ship-progress__msg {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wd-head);
}

.eclat-ship-progress.is-complete .eclat-ship-progress__msg { color: var(--wd-ok); }

.eclat-ship-progress__track {
	height: 6px;
	border-radius: 999px;
	background: var(--wd-line);
	overflow: hidden;
}

.eclat-ship-progress__track span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--wd-accent);
	transition: width 0.4s ease;
}

.eclat-ship-progress.is-complete .eclat-ship-progress__track span { background: var(--wd-ok); }

/* ==========================================================================
   BLOG
   ========================================================================== */
.eclat-postgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: start;
}

.eclat-postcard {
	background: #fff;
	border: 1px solid var(--wd-line);
	border-radius: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease;
}

@media (hover: hover) {
	.eclat-postcard:hover { box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08); }
}

.eclat-postcard__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--wd-alt);
}

.eclat-postcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
	.eclat-postcard:hover .eclat-postcard__media img { transform: scale(1.05); }
}

.eclat-postcard__body { padding: 22px 24px 26px; }

.eclat-postcard__date {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--wd-soft);
}

.eclat-postcard__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	margin: 9px 0 10px;
}

.eclat-postcard__title a { color: var(--wd-head); }
.eclat-postcard__title a:hover { color: var(--wd-accent); }

.eclat-postcard__excerpt {
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--wd-text);
	margin: 0;
}

@media (max-width: 900px) { .eclat-postgrid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 600px) { .eclat-postgrid { grid-template-columns: 1fr; } }

/* archive masonry */
body.eclat-blog-masonry .posts-listing { columns: 3 330px; column-gap: 30px; }

body.eclat-blog-masonry .posts-listing > article {
	break-inside: avoid;
	display: inline-block;
	width: 100%;
	margin: 0 0 30px;
	background: #fff;
	border: 1px solid var(--wd-line);
}

@media (max-width: 767px) {
	body.eclat-blog-masonry .posts-listing { columns: 1; column-gap: 0; }
}

/* ==========================================================================
   OVERLAYS  — every one carries a [hidden] guard and an inactive
   pointer-events:none. This is the regression that made the whole site
   unclickable; the guards are part of the component now, not an afterthought.
   ========================================================================== */
.eclat-drawer-overlay,
.eclat-popup-overlay,
.eclat-cookie,
.eclat-drawer,
.eclat-sticky-atc,
.eclat-ls-panel,
.eclat-hd-mobile,
.eclat-hd-mobile-overlay {
	--guarded: 1;
}

.eclat-drawer-overlay[hidden],
.eclat-popup-overlay[hidden],
.eclat-cookie[hidden],
.eclat-drawer[hidden],
.eclat-sticky-atc[hidden],
.eclat-ls-panel[hidden],
.eclat-filter-overlay[hidden],
.eclat-hd-mobile[hidden],
.eclat-hd-mobile-overlay[hidden] {
	display: none !important;
}

.eclat-popup-overlay:not(.is-visible),
.eclat-cookie:not(.is-visible),
.eclat-drawer-overlay:not(.is-open),
.eclat-drawer:not(.is-open),
.eclat-sticky-atc:not(.is-visible) {
	pointer-events: none;
}

.eclat-popup-overlay.is-visible,
.eclat-cookie.is-visible,
.eclat-drawer-overlay.is-open,
.eclat-drawer.is-open,
.eclat-sticky-atc.is-visible {
	pointer-events: auto;
}

/* --- live search panel -------------------------------------------------- */
.eclat-ls-panel {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	width: 100%;
	max-height: 72vh;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--wd-line);
	border-radius: var(--wd-radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
	z-index: 100000;
	padding: 8px;
	text-align: start;
}

.eclat-ls-group {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--wd-soft);
	padding: 12px 14px 6px;
}

.eclat-ls-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	border-radius: 3px;
}

.eclat-ls-item:hover { background: var(--wd-alt); }

.eclat-ls-item img,
.eclat-ls-noimg {
	width: 52px;
	height: 52px;
	object-fit: cover;
	flex: 0 0 52px;
	background: var(--wd-alt);
	border: 1px solid var(--wd-line);
}

.eclat-ls-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.eclat-ls-title {
	font-size: 14px;
	font-weight: 500;
	color: var(--wd-head);
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eclat-ls-price { font-size: 13.5px; font-weight: 700; color: var(--wd-accent); }
.eclat-ls-price s { color: var(--wd-soft); font-weight: 400; font-size: 12px; margin-inline-start: 5px; }
.eclat-ls-price em { font-style: normal; color: var(--wd-sale); font-size: 11.5px; font-weight: 600; }

.eclat-ls-all {
	display: block;
	text-align: center;
	padding: 14px;
	margin-top: 6px;
	border-top: 1px solid var(--wd-line);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: var(--wd-accent);
}

.eclat-ls-all:hover { background: var(--wd-alt); }

.eclat-ls-empty,
.eclat-ls-loading {
	padding: 26px 14px;
	text-align: center;
	color: var(--wd-soft);
	font-size: 13.5px;
}

/* --- cart drawer -------------------------------------------------------- */
.eclat-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.26s ease;
	z-index: 99998;
}

.eclat-drawer-overlay.is-open { opacity: 1; }

.eclat-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	width: min(400px, 92vw);
	background: #fff;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 44px rgba(0, 0, 0, 0.14);
	transform: translateX(110%);
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
	visibility: hidden;
}

html[dir="rtl"] .eclat-drawer { transform: translateX(-110%); }

.eclat-drawer.is-open,
html[dir="rtl"] .eclat-drawer.is-open { transform: translateX(0); visibility: visible; }

.eclat-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px;
	border-bottom: 1px solid var(--wd-line);
}

.eclat-drawer__title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--wd-head);
}

.eclat-drawer__close {
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--wd-soft);
}

.eclat-drawer__close:hover { color: var(--wd-accent); }
.eclat-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 20px 24px; }
.eclat-drawer__foot { padding: 16px 24px 24px; border-top: 1px solid var(--wd-line); }

.eclat-drawer__continue {
	width: 100%;
	background: transparent;
	border: 1px solid var(--wd-line);
	color: var(--wd-head);
	border-radius: var(--wd-radius);
	padding: 13px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	cursor: pointer;
}

.eclat-drawer__continue:hover { background: var(--wd-alt); }
body.eclat-drawer-open { overflow: hidden; }

/* --- sticky add to cart ------------------------------------------------- */
.eclat-sticky-atc {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 99990;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	background: #fff;
	border-top: 1px solid var(--wd-line);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(110%);
	transition: transform 0.28s ease;
}

.eclat-sticky-atc.is-visible { transform: translateY(0); }
.eclat-sticky-atc__info { display: flex; align-items: center; gap: 12px; min-width: 0; }

.eclat-sticky-atc__info img {
	width: 44px; height: 44px; object-fit: cover; flex: 0 0 44px;
	border: 1px solid var(--wd-line);
}

.eclat-sticky-atc__title {
	display: block; font-size: 12.5px; font-weight: 600; color: var(--wd-head);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw;
}

.eclat-sticky-atc__price { display: block; font-size: 14px; font-weight: 700; color: var(--wd-accent); }
.eclat-sticky-atc__price del { font-weight: 400; font-size: 12px; color: var(--wd-soft); }
.eclat-sticky-atc__price ins { text-decoration: none; }

.eclat-sticky-atc__btn {
	flex: 0 0 auto;
	background: var(--wd-accent);
	color: #fff;
	border: 0;
	border-radius: var(--wd-radius);
	padding: 14px 22px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 900px) {
	.eclat-sticky-atc { display: flex; }
	body.single-product { padding-bottom: 70px; }
}

/* --- whatsapp ----------------------------------------------------------- */
.eclat-whatsapp {
	position: fixed;
	inset-inline-end: 20px;
	bottom: 20px;
	z-index: 99980;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.36);
	transition: transform 0.2s ease;
}

.eclat-whatsapp svg { width: 28px; height: 28px; }
.eclat-whatsapp:hover { transform: translateY(-3px); color: #fff; }

@media (max-width: 900px) {
	.eclat-whatsapp { bottom: 80px; width: 46px; height: 46px; }
	.eclat-whatsapp svg { width: 24px; height: 24px; }
}

/* --- cookie ------------------------------------------------------------- */
.eclat-cookie {
	position: fixed;
	inset-inline: 20px;
	bottom: 20px;
	max-width: 540px;
	margin-inline: auto;
	background: #fff;
	border: 1px solid var(--wd-line);
	border-radius: var(--wd-radius);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
	padding: 20px 22px;
	z-index: 99995;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.eclat-cookie.is-visible { opacity: 1; transform: translateY(0); }

.eclat-cookie p {
	margin: 0;
	flex: 1 1 250px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--wd-text);
}

.eclat-cookie a { color: var(--wd-accent); text-decoration: underline; }
.eclat-cookie__actions { display: flex; gap: 8px; flex: 0 0 auto; }

.eclat-cookie__btn {
	border: 1px solid var(--wd-head);
	background: var(--wd-head);
	color: #fff;
	border-radius: var(--wd-radius);
	padding: 11px 20px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}

.eclat-cookie__btn:hover { background: var(--wd-accent); border-color: var(--wd-accent); }

.eclat-cookie__btn--ghost {
	background: transparent;
	color: var(--wd-soft);
	border-color: var(--wd-line);
}

.eclat-cookie__btn--ghost:hover { background: var(--wd-alt); color: var(--wd-head); border-color: var(--wd-line); }

@media (max-width: 600px) {
	.eclat-cookie { inset-inline: 12px; bottom: 12px; padding: 16px; }
	.eclat-cookie__actions { width: 100%; }
	.eclat-cookie__btn { flex: 1; }
}

/* --- welcome popup ------------------------------------------------------ */
.eclat-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99997;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.28s ease;
}

.eclat-popup-overlay.is-visible { opacity: 1; }

.eclat-popup {
	position: relative;
	background: #fff;
	max-width: 460px;
	width: 100%;
	padding: 48px 40px 40px;
	text-align: center;
	border-radius: var(--wd-radius);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
	transform: translateY(16px);
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.eclat-popup-overlay.is-visible .eclat-popup { transform: translateY(0); }

.eclat-popup__close {
	position: absolute;
	top: 12px;
	inset-inline-end: 16px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--wd-soft);
	cursor: pointer;
}

.eclat-popup__close:hover { color: var(--wd-accent); }

.eclat-popup__kicker {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--wd-accent);
	margin-bottom: 14px;
}

.eclat-popup__title { font-size: 25px; font-weight: 600; line-height: 1.3; margin: 0 0 14px; }
.eclat-popup__text { font-size: 14px; line-height: 1.8; color: var(--wd-text); margin: 0 0 26px; }

.eclat-popup__cta {
	display: inline-flex;
	background: var(--wd-accent);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	padding: 15px 38px;
	border-radius: var(--wd-radius);
}

.eclat-popup__cta:hover { background: var(--wd-accent-dk); }
.eclat-popup__note { font-size: 11.5px; color: var(--wd-soft); margin: 16px 0 0; }

@media (max-width: 480px) {
	.eclat-popup { padding: 38px 24px 30px; }
	.eclat-popup__title { font-size: 21px; }
}

/* ==========================================================================
   THE7 SHOP GRID
   --------------------------------------------------------------------------
   The7 replaces WooCommerce's loop template with its own markup:
       .dt-css-grid > .wf-cell > article.product > figure.woocom-project
   so the standard `ul.products li.product` selectors above never reach the
   shop archive. These rules apply the same card design to The7's structure.
   ========================================================================== */
.dt-css-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0 !important;
	border-top: 1px solid var(--wd-line);
	border-inline-start: 1px solid var(--wd-line);
}

.dt-css-grid > .wf-cell {
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-inline-end: 1px solid var(--wd-line);
	border-bottom: 1px solid var(--wd-line);
	background: #fff;
	transition: box-shadow 0.25s ease;
}

@media (hover: hover) {
	.dt-css-grid > .wf-cell:hover { box-shadow: 0 6px 34px rgba(0, 0, 0, 0.09); position: relative; z-index: 2; }
}

.dt-css-grid > .wf-cell article.product {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 24px 20px 28px;
	margin: 0;
	text-align: center;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* image */
.dt-css-grid figure.woocom-project {
	margin: 0 0 16px;
	overflow: hidden;
	background: #fff;
}

.dt-css-grid figure.woocom-project img {
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
	transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
	.dt-css-grid > .wf-cell:hover figure.woocom-project img { transform: scale(1.05); }
}

/* title — The7 uses its own heading element inside the card */
.dt-css-grid article.product h3,
.dt-css-grid article.product h4,
.dt-css-grid article.product .post-title,
.dt-css-grid article.product .product-title {
	font-size: 14.5px !important;
	font-weight: 500 !important;
	line-height: 1.55;
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.dt-css-grid article.product h3 a,
.dt-css-grid article.product h4 a,
.dt-css-grid article.product .post-title a {
	color: var(--wd-head);
}

.dt-css-grid article.product h3 a:hover,
.dt-css-grid article.product h4 a:hover,
.dt-css-grid article.product .post-title a:hover {
	color: var(--wd-accent);
}

/* price */
.dt-css-grid article.product .price {
	font-size: 15.5px !important;
	font-weight: 700;
	color: var(--wd-accent) !important;
	margin: 0 0 4px;
	display: block;
}

.dt-css-grid article.product .price del {
	color: var(--wd-soft);
	font-weight: 400;
	font-size: 13px;
	opacity: 1;
}

.dt-css-grid article.product .price ins { text-decoration: none; background: none; }

.dt-css-grid article.product .star-rating {
	margin: 0 auto 8px;
	color: var(--wd-gold);
	font-size: 12px;
}

/* sale badge */
.dt-css-grid article.product > span.onsale,
.dt-products span.onsale {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	inset-inline-end: auto;
	background: var(--wd-sale);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 6px 9px;
	border-radius: 2px;
	line-height: 1;
	min-width: 0;
	min-height: 0;
	z-index: 4;
}

/* hover buttons over the image */
.dt-css-grid .woo-buttons-on-img { position: relative; }

.dt-css-grid .woo-buttons {
	position: absolute;
	inset-inline: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

@media (hover: hover) and (min-width: 992px) {
	.dt-css-grid > .wf-cell:hover .woo-buttons { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
	.dt-css-grid .woo-buttons { opacity: 1; transform: none; position: static; margin-top: 10px; }
}

.dt-css-grid .woo-buttons a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--wd-head);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 11px 18px;
	border-radius: var(--wd-radius);
}

.dt-css-grid .woo-buttons a:hover { background: var(--wd-accent); color: #fff; }

/* wishlist button: keep it quiet */
.dt-css-grid .tinv-wraper { margin-top: 8px; }
.dt-css-grid .tinv-wraper a { font-size: 11.5px; color: var(--wd-soft); }
.dt-css-grid .tinv-wraper a:hover { color: var(--wd-accent); }

@media (max-width: 1200px) { .dt-css-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 900px)  { .dt-css-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 480px)  { .dt-css-grid { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   PRODUCT CARD (.eclat-pc) — measured from the demo
   card: no border, centred text, 20px grid gap
   order: image -> title -> category -> price
   badge: circular, top-left, 40px
   ========================================================================== */
.eclat-pgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.eclat-pc {
	background: #fff;
	border: 0;
	padding: 0 0 6px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.eclat-pc__media { position: relative; margin-bottom: 14px; overflow: hidden; background: #fff; }

.eclat-pc__imglink { display: block; line-height: 0; }

.eclat-pc__imglink img {
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
	.eclat-pc:hover .eclat-pc__imglink img { transform: scale(1.05); }
	.eclat-pc:hover .eclat-pc__actions { opacity: 1; transform: translateY(0); }
}

/* circular badge, as on the demo */
.eclat-pc__badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wd-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	line-height: 1;
	text-align: center;
}

.eclat-pc__badge--sale { background: var(--wd-sale); }

.eclat-pc__actions {
	position: absolute;
	inset-inline: 0;
	bottom: 8px;
	z-index: 2;
	display: flex;
	justify-content: center;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.eclat-pc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wd-dark);
	color: #fff;
	font-family: var(--wd-font-head);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	padding: 11px 20px;
	border-radius: 0;
	transition: background 0.2s ease;
}

.eclat-pc__btn:hover { background: var(--wd-accent); color: #fff; }

@media (max-width: 991px), (hover: none) {
	.eclat-pc__actions { position: static; opacity: 1; transform: none; margin-top: 10px; }
}

.eclat-pc__body { display: flex; flex-direction: column; flex: 1; }

.eclat-pc__title {
	font-family: var(--wd-font-head);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 0 3px;
}

.eclat-pc__title a { color: var(--wd-head); }
.eclat-pc__title a:hover { color: var(--wd-accent); }

.eclat-pc__cat {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: var(--wd-soft);
	margin-bottom: 5px;
}

.eclat-pc__price {
	margin-top: auto;
	font-family: var(--wd-font-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--wd-accent);
}

.eclat-pc__price del { color: var(--wd-soft); font-weight: 400; opacity: 1; margin-inline-end: 5px; }
.eclat-pc__price ins { text-decoration: none; background: none; }
.eclat-pc__price .woocommerce-Price-amount { color: inherit; }

@media (max-width: 1100px) { .eclat-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .eclat-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .eclat-pgrid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   IMAGE NORMALISATION
   --------------------------------------------------------------------------
   Woodmart's demo uses uniform square studio cut-outs. Our catalogue images are
   supplier marketing graphics: different aspect ratios, white backgrounds, some
   with text baked in. Left alone they make the grid ragged — tall banners next
   to wide ones. Locking every card image into the same square box with
   object-fit: contain restores the alignment the demo gets for free.
   ----------------------------------------------------------------------- */
.eclat-pc__media {
	aspect-ratio: 1 / 1;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eclat-pc__imglink {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
}

.eclat-pc__imglink img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
	mix-blend-mode: normal;
}

/* ==========================================================================
   MINI-CART DRAWER — laid out against The7's template, not WooCommerce's
   --------------------------------------------------------------------------
   The7 overrides `cart/mini-cart.php` and renders `dt-mini-cart-template`,
   whose item is a different shape from WooCommerce's default:

       <li class="woocommerce-mini-cart-item mini_cart_item">
         <a class="remove">x</a>
         <a><img></a>
         <span>
           <a class="widget-product-title">…</a>
           <span class="price-wrap"><span class="quantity">1 × 199 MAD</span></span>
         </span>
       </li>

   The drawer had only ever been styled for the default markup, so the thumb,
   the title and the price stacked into a narrow ragged column. Each item is a
   three-track grid here — thumbnail, text, remove — which is what makes the row
   span the drawer at any width.
   ========================================================================== */
.eclat-drawer .widget_shopping_cart_content { display: block; width: 100%; }

.eclat-drawer .woocommerce-mini-cart,
.eclat-drawer ul.cart_list {
	display: block;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.eclat-drawer li.mini_cart_item,
.eclat-drawer li.woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) 26px;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 0 0 4px;
	padding: 14px 0;
	border-bottom: 1px solid var(--wd-line);
	list-style: none;
	float: none;
	box-sizing: border-box;
}

.eclat-drawer li.mini_cart_item::before,
.eclat-drawer li.mini_cart_item::after { content: none; display: none; }

/* --- 1. thumbnail --------------------------------------------------------
   The image link is the item's first non-remove <a>. It is pinned to track 1
   so it cannot be reordered by source position. */
.eclat-drawer li.mini_cart_item > a:not(.remove) {
	grid-column: 1;
	grid-row: 1;
	display: block;
	width: 68px;
	height: 68px;
	margin: 0 !important;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--wd-line-soft);
	box-sizing: border-box;
	line-height: 0;
	float: none !important;
}

.eclat-drawer li.mini_cart_item > a:not(.remove) img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
	margin: 0 !important;
	float: none !important;
	display: block;
}

/* --- 2. text column ------------------------------------------------------ */
.eclat-drawer li.mini_cart_item > span {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	text-align: start;
}

.eclat-drawer li.mini_cart_item .widget-product-title,
.eclat-drawer li.mini_cart_item > span > a {
	display: block;
	font-family: var(--wd-font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wd-head);
	/* two lines maximum, so one long name cannot push the row tall */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eclat-drawer li.mini_cart_item .widget-product-title:hover { color: var(--wd-accent); }

.eclat-drawer li.mini_cart_item .price-wrap,
.eclat-drawer li.mini_cart_item .quantity {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	color: var(--wd-text);
}

.eclat-drawer li.mini_cart_item .quantity .woocommerce-Price-amount {
	font-weight: 600;
	color: var(--wd-accent);
}

/* --- 3. remove control --------------------------------------------------- */
.eclat-drawer li.mini_cart_item a.remove,
.eclat-drawer li.mini_cart_item a.remove_from_cart_button {
	grid-column: 3;
	grid-row: 1;
	position: static !important;
	width: 26px;
	height: 26px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0;
	background: #fff;
	border: 1px solid var(--wd-line);
	border-radius: 0;
	color: var(--wd-soft) !important;
	font-size: 15px;
	line-height: 1;
	float: none !important;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.eclat-drawer li.mini_cart_item a.remove:hover {
	background: var(--wd-sale) !important;
	border-color: var(--wd-sale);
	color: #fff !important;
}

/* --- subtotal + buttons, below the list ---------------------------------- */
.eclat-drawer .woocommerce-mini-cart__total,
.eclat-drawer p.total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 2px solid var(--wd-head);
	border-bottom: 0;
	font-family: var(--wd-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--wd-head);
	box-sizing: border-box;
}

.eclat-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount,
.eclat-drawer p.total .woocommerce-Price-amount {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wd-accent);
}

.eclat-drawer .woocommerce-mini-cart__buttons,
.eclat-drawer p.buttons {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	margin: 16px 0 0;
	padding: 0;
	box-sizing: border-box;
}

.eclat-drawer .woocommerce-mini-cart__buttons .button,
.eclat-drawer p.buttons .button {
	display: flex;
	width: 100%;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 18px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--wd-head);
	border-radius: 0;
	color: var(--wd-head);
	font-family: var(--wd-font-head);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	float: none !important;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.eclat-drawer .woocommerce-mini-cart__buttons .button:hover,
.eclat-drawer p.buttons .button:hover {
	background: var(--wd-head);
	color: #fff;
}

/* checkout is the primary action of the two */
.eclat-drawer .woocommerce-mini-cart__buttons .checkout,
.eclat-drawer p.buttons .checkout {
	background: var(--wd-accent);
	border-color: var(--wd-accent);
	color: #fff;
}

.eclat-drawer .woocommerce-mini-cart__buttons .checkout:hover,
.eclat-drawer p.buttons .checkout:hover {
	background: var(--wd-accent-dk);
	border-color: var(--wd-accent-dk);
	color: #fff;
}

/* WooCommerce prints its own empty paragraph inside the fragment; ours is the
   one with the icon and the return-to-shop button, so the plain one goes. */
.eclat-drawer .woocommerce-mini-cart__empty-message { display: none; }

/* the free-shipping bar now sits before the <ul>, not inside it */
.eclat-drawer .eclat-ship-progress { margin: 0 0 16px; width: 100%; box-sizing: border-box; }

/* belt to the JS braces: when the drawer is flagged empty nothing from the
   fragment can show through, whatever WooCommerce re-rendered into it */
.eclat-drawer.is-empty .widget_shopping_cart_content { display: none !important; }
.eclat-drawer:not(.is-empty) .eclat-drawer__empty { display: none !important; }
