/*
Theme Name:   DZ Shop
Description:  Thème enfant de Storefront pour une boutique WooCommerce algérienne (paiement à la livraison) : mobile d'abord, compatible arabe (RTL).
Template:     storefront
Version:      1.17.1
Text Domain:  dz-shop
License:      GPL-2.0-or-later
*/

/* ---- Brand: change these 3 colours to match your brand ---- */
:root {
	--dz-primary: #006233;
	--dz-primary-dark: #004d28;
	--dz-sale: #d21034;
	--dz-text: #1f2933;
}

@font-face {
	font-family: "Cairo";
	src: url("assets/fonts/cairo-arabic.woff2") format("woff2");
	font-weight: 200 1000;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E;
}

@font-face {
	font-family: "Cairo";
	src: url("assets/fonts/cairo-latin.woff2") format("woff2");
	font-weight: 200 1000;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
	font-family: "Jost";
	src: url("assets/fonts/jost.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--dz-font: Futura, "Futura PT", "Jost", "Century Gothic", "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
}

body,
button,
input,
select,
textarea,
.site-header,
.site-header *,
.dz-header-bar *,
.dz-hero-text *,
.dz-announce,
.dz-announce *,
.dz-features *,
h1, h2, h3, h4, h5, h6 {
	font-family: var(--dz-font);
	color: var(--dz-text);
}

a {
	color: var(--dz-primary);
}

/* Buttons */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button {
	background-color: var(--dz-primary);
	border-color: var(--dz-primary);
	color: #fff;
	border-radius: 10px;
	font-weight: 600;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.added_to_cart:hover {
	background-color: var(--dz-primary-dark);
	border-color: var(--dz-primary-dark);
	color: #fff;
}

button.alt,
input.alt,
.button.alt,
.woocommerce-button.alt,
#place_order {
	background-color: var(--dz-primary);
	border-color: var(--dz-primary);
}

/* Sale badge + prices */
.onsale {
	background-color: var(--dz-sale);
	color: #fff;
	border: 0;
	border-radius: 999px;
}

.price ins,
.price .amount {
	color: var(--dz-text);
}

.price ins {
	color: var(--dz-sale);
	font-weight: 700;
}

/* Product cards */
ul.products li.product {
	text-align: center;
}

ul.products li.product img {
	border-radius: 12px;
}

.woocommerce-loop-product__title {
	font-size: 1rem;
	font-weight: 600;
}

/* Header: compact on mobile */
.site-header {
	border-bottom: 1px solid #e6e6e6;
}

.site-branding .site-title a {
	color: var(--dz-primary);
	font-weight: 800;
}

/* Checkout: calm, single column feel */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

.woocommerce-checkout #customer_details {
	max-width: 640px;
}

/* RTL (Arabic) tweaks */
[dir="rtl"] .woocommerce-loop-product__title,
[dir="rtl"] .price {
	direction: rtl;
}

[dir="rtl"] .price .amount bdi {
	unicode-bidi: plaintext;
}

/* ---- Checkout page: minimal header (logo only), no footer widgets ---- */
body.dzcod-checkout .storefront-primary-navigation,
body.dzcod-checkout .site-search,
body.dzcod-checkout .site-header-cart,
body.dzcod-checkout .menu-toggle,
body.dzcod-checkout .storefront-handheld-footer-bar,
body.dzcod-checkout .footer-widgets {
	display: none !important;
}

body.dzcod-checkout .site-header {
	padding: 14px 0;
}

body.dzcod-checkout .site-branding {
	float: none;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

body.dzcod-checkout .site-content {
	padding-top: 24px;
}

/* ---- Header v2: ☰ left · site name centered · search + cart right ---- */
.storefront-primary-navigation,
.site-header .site-search,
.site-header .site-header-cart,
.site-header .menu-toggle,
.site-header .secondary-navigation,
.storefront-handheld-footer-bar {
	display: none !important;
}

.site-header {
	padding: 0;
	margin-bottom: 0;
}

.site-header > .col-full {
	padding-top: 0;
	padding-bottom: 0;
}

.dz-header-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 64px;
	padding: 6px 0;
}

.dz-header-left {
	justify-self: start;
}

.dz-header-right {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 4px;
}

.dz-header-center {
	text-align: center;
}

.dz-header-center .site-branding,
.dz-header-center .site-title,
.dz-header-center .site-logo-anchor,
.dz-header-center .custom-logo-link {
	float: none;
	width: auto;
	margin: 0;
	text-align: center;
}

.dz-header-center .site-title {
	font-size: 1.5rem;
	line-height: 1.2;
}

.dz-header-center .site-title a {
	color: var(--dz-primary);
	font-weight: 800;
}

.dz-header-center .site-description {
	display: none;
}

.dz-icon-btn,
.dz-icon-btn:hover,
.dz-icon-btn:focus {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--dz-text);
	box-shadow: none;
	cursor: pointer;
}

.dz-icon-btn:hover {
	background: rgba(0, 0, 0, 0.06);
}

.dz-cart-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--dz-sale);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.dz-cart-count.is-empty {
	display: none;
}

/* Pop-ups */
.dz-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(0, 0, 0, 0.45);
}

.dz-overlay[hidden],
.dz-panel[hidden] {
	display: none;
}

body.dz-no-scroll {
	overflow: hidden;
}

.dz-panel {
	position: fixed;
	z-index: 9999;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	padding: 56px 20px 20px;
	overflow-y: auto;
	transition: transform 0.25s ease;
}

.dz-panel-left,
.dz-panel-right {
	top: 0;
	bottom: 0;
	width: min(340px, 88vw);
}

.dz-panel-left {
	left: 0;
	transform: translateX(-100%);
}

.dz-panel-right {
	right: 0;
	transform: translateX(100%);
}

.dz-panel-top {
	top: 0;
	left: 0;
	right: 0;
	transform: translateY(-100%);
	padding-top: 64px;
}

.dz-panel.is-open {
	transform: none;
}

.dz-panel-close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	color: var(--dz-text) !important;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.dz-panel-title {
	margin: 0 0 12px;
	font-size: 1.25rem;
}

.dz-menu-list a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid #eee;
	color: var(--dz-text);
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
}

.dz-menu-list a:hover {
	color: var(--dz-primary);
}

.dz-panel-top form {
	display: flex;
	gap: 8px;
	max-width: 640px;
	margin: 0 auto;
}

.dz-panel-top input[type="search"] {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.dz-panel-top button[type="submit"] {
	margin: 0;
}

.dz-panel-top .screen-reader-text {
	position: absolute;
}

/* Checkout keeps its minimal header: site name only */
body.dzcod-checkout .dz-header-left,
body.dzcod-checkout .dz-header-right,
body.dzcod-checkout .dz-panel,
body.dzcod-checkout .dz-overlay {
	display: none !important;
}

body.dzcod-checkout .dz-header-bar {
	grid-template-columns: 1fr;
}

/* ---- Header icons at the far corners of the window ---- */
.site-header > .col-full {
	max-width: none;
	padding-left: 14px;
	padding-right: 14px;
}

/* ---- Wider page ---- */
.col-full {
	max-width: 1400px;
}

.site-header > .col-full {
	max-width: none;
}

/* ---- Product grid: 4 per row (2 on phones), square cards, no sorting ---- */
.woocommerce-ordering {
	display: none !important;
}

ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-left: 0;
	margin-right: 0;
}

@media (min-width: 768px) {
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
}

ul.products::before,
ul.products::after {
	display: none;
}

ul.products li.product,
ul.products[class*="columns-"] li.product {
	float: none;
	width: 100%;
	margin: 0;
	clear: none;
}

ul.products li.product img,
ul.products li.product a img,
ul.products li.product .woocommerce-LoopProduct-link img {
	border-radius: 0;
}

ul.products li.product {
	border-radius: 0;
}

/* ---- Fix: cards were shrunk by Storefront's per-column widths; fill the grid cell ---- */
.site-main ul.products li.product,
.site-main ul.products[class*="columns-"] li.product,
ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 0 8px !important;
	padding: 0;
}

ul.products li.product img,
ul.products li.product a img,
ul.products li.product .woocommerce-LoopProduct-link img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	margin: 0 0 12px;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.05rem;
	padding: 0;
}

ul.products li.product .price {
	font-size: 1.05rem;
}

/* ---- Remove "Shop" page title and "Showing all results" ---- */
.woocommerce-products-header,
.woocommerce-products-header__title,
.woocommerce-result-count,
.post-type-archive-product .page-title,
.woocommerce-shop .entry-header,
.home .entry-header {
	display: none !important;
}

/* ---- Product page: swatches, no quantity box, single full-width button ---- */
.single-product form.cart .quantity {
	display: none !important;
}

.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	width: 100%;
	margin: 0;
	padding: 1em;
	font-size: 1.05rem;
}

.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
}

.single-product table.variations tr {
	margin-bottom: 14px;
}

.single-product table.variations label {
	font-weight: 700;
}

.dz-swatch-current {
	font-weight: 400;
	color: #666;
}

.dz-hidden-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.dz-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.dz-swatch,
.dz-swatch:hover,
.dz-swatch:focus {
	position: relative;
	cursor: pointer;
	box-shadow: none;
}

.dz-swatches.is-color .dz-swatch.is-dot {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 50%;
	outline: 2px solid transparent;
	outline-offset: 3px;
}

.dz-swatches.is-color .dz-swatch.is-dot.is-selected {
	outline-color: var(--dz-text);
}

.dz-swatch.is-text,
.dz-swatch.is-text:hover,
.dz-swatch.is-text:focus {
	min-width: 46px;
	padding: 9px 14px;
	background: #fff;
	border: 1px solid #c9ccd1;
	border-radius: 6px;
	color: var(--dz-text);
	font-weight: 600;
}

.dz-swatch.is-text.is-selected {
	background: var(--dz-text);
	border-color: var(--dz-text);
	color: #fff;
}

.dz-swatch.is-unavailable {
	opacity: 0.35;
	cursor: not-allowed;
}

.dz-swatch.is-unavailable::after {
	content: "";
	position: absolute;
	inset: 50% -2px auto -2px;
	height: 2px;
	background: #888;
	transform: rotate(-45deg);
}

.added_to_cart {
	display: none !important;
}

/* ---- Cart pop-up (centered modal) ---- */
.dz-modal {
	position: fixed;
	z-index: 9999;
	top: 50%;
	left: 50%;
	width: min(520px, 94vw);
	max-height: 92vh;
	overflow-y: auto;
	padding: 24px;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transform: translate(-50%, -46%);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.dz-modal[hidden] {
	display: none;
}

.dz-modal.is-open {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.dz-modal .dz-panel-close {
	top: 22px;
	right: 22px;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50% !important;
	background: #eef0f3 !important;
}

.dz-cart-body {
	transition: opacity 0.15s;
}

.dz-cart-body.is-busy {
	opacity: 0.5;
	pointer-events: none;
}

.dz-cart-head {
	padding-bottom: 16px;
	border-bottom: 1px solid #ececec;
}

.dz-cart-title {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 800;
}

.dz-cart-sub {
	margin: 2px 0 0;
	color: #8a9099;
	font-size: 0.9rem;
}

.dz-cart-empty {
	padding: 28px 0;
	text-align: center;
	color: #666;
}

.dz-cart-items {
	display: grid;
	gap: 12px;
	padding: 16px 0;
}

.dz-cart-item {
	display: flex;
	gap: 14px;
	padding: 14px;
	background: #f4f5f7;
	border-radius: 18px;
}

.dz-cart-thumb {
	flex: none;
	width: 68px;
	height: 68px;
}

.dz-cart-thumb img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 14px;
}

.dz-cart-info {
	flex: 1;
	min-width: 0;
}

.dz-cart-line {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.dz-cart-line-bottom {
	align-items: center;
	margin-top: 8px;
}

.dz-cart-name {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
}

.dz-cart-meta {
	margin-top: 2px;
	color: #7a808a;
	font-size: 0.8rem;
}

.dz-cart-remove,
.dz-cart-remove:hover,
.dz-cart-remove:focus {
	flex: none;
	padding: 2px;
	background: transparent;
	border: 0;
	color: #a0a5ad;
	box-shadow: none;
	cursor: pointer;
}

.dz-cart-remove:hover {
	color: var(--dz-sale);
}

.dz-stepper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dz-step,
.dz-step:hover,
.dz-step:focus {
	width: 28px;
	height: 28px;
	padding: 0;
	display: grid;
	place-items: center;
	background: #e3e5e9;
	border: 0;
	border-radius: 8px;
	color: var(--dz-text);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.dz-step-plus,
.dz-step-plus:hover,
.dz-step-plus:focus {
	background: var(--dz-primary);
	color: #fff;
}

.dz-step:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.dz-step-qty {
	min-width: 12px;
	text-align: center;
	font-weight: 700;
}

.dz-cart-price {
	font-weight: 800;
	white-space: nowrap;
}

.dz-cart-total {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	padding: 14px 0 18px;
	border-top: 1px solid #ececec;
}

.dz-cart-total-label {
	grid-row: 1;
	color: #6c727b;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dz-cart-total-amount {
	grid-row: 1;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.dz-cart-total-amount .woocommerce-Price-currencySymbol {
	margin-left: 4px;
	color: #7a808a;
	font-size: 0.9rem;
	font-weight: 500;
}

.dz-cart-total-note {
	grid-column: 2;
	margin-top: 4px;
	color: #8a9099;
	font-size: 0.78rem;
	text-align: right;
}

.dz-cart-actions {
	display: grid;
	gap: 10px;
}

.dz-btn,
.dz-btn:hover,
.dz-btn:focus {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 16px;
	border-radius: 16px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
}

.dz-btn-outline,
.dz-btn-outline:hover,
.dz-btn-outline:focus {
	background: #fff;
	border: 2px solid #e1e3e8;
	color: #4b5057;
}

.dz-btn-primary,
.dz-btn-primary:hover,
.dz-btn-primary:focus {
	background: var(--dz-primary);
	border: 2px solid var(--dz-primary);
	color: #fff;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--dz-primary) 35%, transparent);
}

.dz-cart-price .woocommerce-Price-currencySymbol {
	margin-left: 3px;
	font-size: 0.8em;
	font-weight: 600;
}

/* ---- Home: hero banner ---- */
.dz-hero {
	margin: 0 0 24px;
}

.dz-hero-inner {
	position: relative;
	display: block;
	width: var(--dz-hero-w, 100%);
	height: var(--dz-hero-hm, 260px);
	margin: 0 auto;
	overflow: hidden;
	background: #f1f2f4;
}

@media (min-width: 768px) {
	.dz-hero-inner {
		height: var(--dz-hero-h, 480px);
	}
}

.dz-hero-inner picture {
	display: block;
	width: 100%;
	height: 100%;
}

.dz-hero-media {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: var(--dz-hero-fit, cover);
}

.dz-hero-text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	background: rgba(0, 0, 0, var(--dz-hero-overlay, 0.25));
	color: #fff;
	text-align: center;
}

.dz-hero-title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.6rem, 4.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.1;
}

.dz-hero-sub {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.3rem);
}

.dz-hero-btn,
.dz-hero-btn:hover {
	display: inline-block;
	margin-top: 6px;
	padding: 14px 32px;
	background: #fff;
	color: var(--dz-text);
	font-weight: 700;
	text-decoration: none;
}

/* ---- Home: sections ---- */
.dz-wrap {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 14px;
}

.dz-section-title {
	margin: 0 0 20px;
	font-size: 1.6rem;
	font-weight: 800;
	text-align: center;
}

.dz-features {
	margin: 0 0 32px;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

.dz-features-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding-top: 18px;
	padding-bottom: 18px;
}

@media (min-width: 768px) {
	.dz-features-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.dz-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--dz-primary);
}

.dz-feature strong,
.dz-feature span {
	display: block;
	color: var(--dz-text);
}

.dz-feature strong {
	font-size: 0.95rem;
}

.dz-feature span {
	color: #6c727b;
	font-size: 0.82rem;
}

.dz-cats {
	margin: 0 0 36px;
}

.dz-cats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (min-width: 768px) {
	.dz-cats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.dz-cat {
	display: block;
	text-decoration: none;
}

.dz-cat-img {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f1f2f4;
}

.dz-cat-img img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 0.3s;
}

.dz-cat:hover .dz-cat-img img {
	transform: scale(1.04);
}

.dz-cat-name {
	display: block;
	margin-top: 8px;
	color: var(--dz-text);
	font-weight: 700;
	text-align: center;
}

.dz-reviews {
	margin: 40px 0;
	padding: 36px 0;
	background: #f6f7f9;
}

.dz-reviews-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 6px;
}

.dz-review {
	flex: 0 0 82%;
	margin: 0;
	padding: 22px;
	background: #fff;
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.dz-review {
		flex-basis: calc((100% - 32px) / 3);
	}
}

.dz-stars {
	color: #f5a623;
	font-size: 1.15rem;
	letter-spacing: 2px;
}

.dz-stars-off {
	color: #d9dce1;
}

.dz-review blockquote {
	margin: 10px 0 14px;
	padding: 0;
	border: 0;
	font-size: 0.98rem;
	line-height: 1.5;
}

.dz-review blockquote::before {
	content: none;
}

.dz-review figcaption {
	font-weight: 700;
}

.dz-faq {
	margin: 0 0 40px;
}

.dz-faq-wrap {
	max-width: 760px;
}

.dz-faq-item {
	border-bottom: 1px solid #e6e8eb;
}

.dz-faq-item summary {
	padding: 16px 0;
	padding-inline-end: 28px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.dz-faq-item summary::-webkit-details-marker {
	display: none;
}

.dz-faq-item summary::after {
	content: "+";
	position: absolute;
	inset-inline-end: 4px;
	top: 12px;
	font-size: 1.5rem;
	font-weight: 400;
}

.dz-faq-item[open] summary::after {
	content: "\2212";
}

.dz-faq-item p {
	margin: 0 0 16px;
	color: #4b5057;
}

/* ---- Fix: Storefront adds a big margin under the header on the home page ---- */
body .site-header,
body.home .site-header,
body.home.post-type-archive-product .site-header,
body.no-wc-breadcrumb .site-header {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.site-header::before,
.site-header::after,
.site-header > .col-full::before,
.site-header > .col-full::after {
	display: none !important;
}

.dz-hero {
	margin-top: 0;
}

/* ---- Hero: visible part of the image + full-screen option ---- */
.dz-hero-media {
	object-position: var(--dz-hero-pos-m, 50% 50%);
}

@media (min-width: 768px) {
	.dz-hero-media {
		object-position: var(--dz-hero-pos, 50% 50%);
	}
}

/* Height = % of the screen height below the header (100 = fills the screen) */
.dz-hero-inner {
	min-height: 100px;
	height: calc((100vh - 76px) * var(--dz-hero-hm, 40) / 100);
	height: calc((100svh - 76px) * var(--dz-hero-hm, 40) / 100);
}

@media (min-width: 768px) {
	.dz-hero-inner {
		height: calc((100vh - 76px) * var(--dz-hero-h, 60) / 100);
		height: calc((100svh - 76px) * var(--dz-hero-h, 60) / 100);
	}
}

/* ---- Product cards: stacked images, zoom on hover ---- */
ul.products li.product .dz-card-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin: 0 0 12px;
	overflow: hidden;
	background: #f1f2f4;
}

ul.products li.product .dz-card-media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto;
	margin: 0 !important;
	object-fit: cover;
	transition: opacity 0.4s ease, transform 0.6s ease;
}

ul.products li.product .dz-card-media img.dz-alt {
	opacity: 0;
}

ul.products li.product .dz-card-media.is-cycling img {
	opacity: 0;
}

ul.products li.product .dz-card-media.is-cycling img.is-on {
	opacity: 1;
}

@media (hover: hover) {
	ul.products li.product:hover .dz-card-media img {
		transform: scale(1.08);
	}
}

/* ---- Floating contact button (bottom right) ---- */
.dzcod-wa {
	display: none !important; /* replaced by the theme button */
}

.dz-social {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 990;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.dz-soc,
.dz-soc:hover,
.dz-soc:focus {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	text-decoration: none;
}

.dz-soc-facebook {
	background: #1877f2;
}

.dz-soc-instagram {
	background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
}

.dz-soc-tiktok {
	background: #111;
}

.dz-soc-whatsapp,
.dz-social-toggle,
.dz-social-toggle:hover,
.dz-social-toggle:focus {
	background: #25d366;
}

.dz-social-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dz-social-list li {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.6);
	transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.dz-social.is-open .dz-social-list li {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.2s ease, transform 0.25s ease;
}

.dz-social.is-open .dz-social-list li:nth-last-child(1) { transition-delay: 0s; }
.dz-social.is-open .dz-social-list li:nth-last-child(2) { transition-delay: 0.05s; }
.dz-social.is-open .dz-social-list li:nth-last-child(3) { transition-delay: 0.1s; }
.dz-social.is-open .dz-social-list li:nth-last-child(4) { transition-delay: 0.15s; }

.dz-social.is-open .dz-social-toggle,
.dz-social.is-open .dz-social-toggle:hover,
.dz-social.is-open .dz-social-toggle:focus {
	background: #4b5563;
}

.dz-social-toggle .dz-ico-close,
.dz-social.is-open .dz-social-toggle .dz-ico-open {
	display: none;
}

.dz-social.is-open .dz-social-toggle .dz-ico-close {
	display: block;
}

/* ---- Cart offer ---- */
.dz-offer {
	margin: 4px 0 14px;
	padding: 14px;
	background: color-mix(in srgb, var(--dz-primary) 7%, #fff);
	border-radius: 16px;
}

.dz-offer-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.92rem;
}

.dz-offer-ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--dz-primary) 14%, #fff);
	color: var(--dz-primary);
}

.dz-offer-bar {
	height: 6px;
	margin-top: 12px;
	overflow: hidden;
	border-radius: 3px;
	background: color-mix(in srgb, var(--dz-primary) 16%, #fff);
}

.dz-offer-bar span {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--dz-primary);
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dz-cart-discount {
	display: flex;
	justify-content: space-between;
	padding: 4px 0 10px;
	color: var(--dz-primary);
	font-weight: 700;
	font-size: 0.9rem;
}

/* ---- Round buttons: Storefront's button padding made them oval ---- */
.dz-soc,
.dz-icon-btn,
.dz-panel-close,
.dz-step,
.dz-cart-remove {
	box-sizing: border-box;
	padding: 0 !important;
	min-width: 0;
	min-height: 0;
	line-height: 1;
}

.dz-soc {
	width: 56px !important;
	height: 56px !important;
	aspect-ratio: 1 / 1;
	flex: none;
}

.dz-soc svg {
	display: block;
	flex: none;
}

/* ---- Product page (Shopify style) ---- */
body.single-product #content > .col-full {
	max-width: 1200px;
}

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 24px 56px;
	align-items: start;
}

.single-product div.product > .woocommerce-product-gallery {
	grid-column: 1;
	position: sticky;
	top: 100px;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.single-product div.product > .summary {
	grid-column: 2;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.single-product div.product > .related,
.single-product div.product > .upsells,
.single-product div.product > .up-sells,
.single-product div.product > .woocommerce-tabs {
	grid-column: 1 / -1;
	width: 100%;
}

@media (max-width: 767px) {
	.single-product div.product {
		display: block;
	}

	.single-product div.product > .woocommerce-product-gallery {
		position: static;
		margin-bottom: 20px !important;
	}
}

.single-product .woocommerce-product-gallery img {
	border-radius: 0;
}

.single-product .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 8px 0 0 !important;
	padding: 0;
	list-style: none;
}

.single-product .flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.single-product .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 0.2s;
}

.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs img:hover {
	opacity: 1;
}

.single-product .summary .product_title {
	margin: 0 0 8px;
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.2;
}

.single-product .summary .price {
	margin: 0 0 18px;
	font-size: 1.45rem;
	font-weight: 600;
}

.single-product .summary .price del {
	margin-right: 8px;
	color: #8a9099;
	font-size: 0.85em;
	font-weight: 400;
}

.single-product .summary .woocommerce-product-details__short-description {
	margin-bottom: 20px;
	color: #4b5057;
}

.single-product .summary .product_meta,
.single-product .summary .woocommerce-product-rating {
	display: none;
}

.single-product form.cart {
	margin-bottom: 18px;
}

.single-product .dz-acc {
	margin-top: 28px;
	border-top: 1px solid #e6e8eb;
}

.dz-acc-item {
	border-bottom: 1px solid #e6e8eb;
}

.dz-acc-item summary {
	position: relative;
	padding: 16px 0;
	padding-inline-end: 28px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.dz-acc-item summary::-webkit-details-marker {
	display: none;
}

.dz-acc-item summary::after {
	content: "+";
	position: absolute;
	inset-inline-end: 4px;
	top: 12px;
	font-size: 1.5rem;
	font-weight: 400;
}

.dz-acc-item[open] summary::after {
	content: "\2212";
}

.dz-acc-body {
	padding: 0 0 16px;
	color: #4b5057;
	line-height: 1.6;
}

.dz-acc-body p:last-child {
	margin-bottom: 0;
}

.single-product .related.products {
	margin-top: 48px;
}

.single-product .related.products > h2 {
	margin-bottom: 20px;
	font-size: 1.5rem;
	font-weight: 800;
	text-align: center;
}

/* ---- Announcement bar ---- */
:root {
	--dz-bar-h: 0px;
	--dz-hdr-h: 76px;
}

body.dz-has-bar {
	--dz-bar-h: 38px;
}

.dz-announce {
	position: relative;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	direction: ltr;
	height: 38px;
	padding: 0 8px;
	background: #1a1a1a;
	color: #fff;
	font-size: 13px;
}

.dz-ann-btn,
.dz-ann-btn:hover,
.dz-ann-btn:focus {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	padding: 0 !important;
	min-width: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: #fff;
	box-shadow: none;
	cursor: pointer;
}

.dz-ann-btn:hover {
	background: rgba(255, 255, 255, 0.14);
}

.dz-ann-track {
	position: relative;
	flex: 1;
	height: 100%;
	overflow: hidden;
}

.dz-ann-msg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: #fff;
	text-align: center;
	opacity: 0;
	transform: translateX(100%);
	transition: transform 0.45s ease, opacity 0.45s ease;
	pointer-events: none;
}

.dz-ann-msg.is-left {
	transform: translateX(-100%);
}

.dz-ann-msg.is-right {
	transform: translateX(100%);
}

.dz-ann-msg.no-anim {
	transition: none;
}

.dz-ann-msg.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

body.dzcod-checkout .dz-announce {
	display: none;
}

/* ---- Header: sticky; transparent over the hero, white once scrolled ---- */
html {
	scroll-behavior: smooth;
}

#content {
	scroll-margin-top: 90px;
}

body .site-header {
	position: fixed !important;
	top: var(--dz-hdr-top, var(--dz-bar-h));
	left: 0;
	right: 0;
	z-index: 999;
	box-sizing: border-box;
	height: var(--dz-hdr-h);
	width: 100%;
	background: #fff;
	border-bottom: var(--dz-hdr-line, 1px) solid #ececec;
	--dz-hdr-fg: var(--dz-text);
	transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.admin-bar .site-header {
	top: calc(var(--dz-hdr-top, var(--dz-bar-h)) + 32px);
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: calc(var(--dz-hdr-top, var(--dz-bar-h)) + 46px);
	}
}

body.dz-scrolled .site-header {
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.dz-header-bar {
	height: calc(var(--dz-hdr-h) - var(--dz-hdr-line, 1px));
	min-height: 0;
	padding: 0;
}

.dz-hdr-spacer {
	height: var(--dz-hdr-h);
}

body.dzcod-checkout {
	--dz-bar-h: 0px;
}

.dz-header-center img {
	max-height: 52px;
	width: auto;
}

/* icons + site name share the same colour */
.site-header .dz-icon-btn,
.site-header .dz-icon-btn:hover,
.site-header .dz-icon-btn:focus,
.dz-header-center .site-title a,
.dz-header-center .site-title a:hover {
	color: var(--dz-hdr-fg) !important;
}

body.dz-transparent-header:not(.dz-scrolled) .site-header {
	--dz-hdr-fg: #fff;
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.7);
	box-shadow: none;
}

body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-icon-btn:hover {
	background: rgba(255, 255, 255, 0.16);
}

body.dz-transparent-header:not(.dz-scrolled) .dz-header-center img {
	filter: brightness(0) invert(1);
}

/* the transparent header is fixed over the top of the hero (no space reserved for it) */

/* hero height: 100 = the visible screen (below the bar, and below the header when it is not transparent) */
.dz-hero-inner {
	height: calc((100vh - var(--dz-hdr-h) - var(--dz-bar-h)) * var(--dz-hero-hm, 40) / 100);
	height: calc((100svh - var(--dz-hdr-h) - var(--dz-bar-h)) * var(--dz-hero-hm, 40) / 100);
}

body.dz-transparent-header .dz-hero-inner {
	height: calc((100vh - var(--dz-bar-h)) * var(--dz-hero-hm, 40) / 100);
	height: calc((100svh - var(--dz-bar-h)) * var(--dz-hero-hm, 40) / 100);
}

@media (min-width: 768px) {
	.dz-hero-inner {
		height: calc((100vh - var(--dz-hdr-h) - var(--dz-bar-h)) * var(--dz-hero-h, 60) / 100);
		height: calc((100svh - var(--dz-hdr-h) - var(--dz-bar-h)) * var(--dz-hero-h, 60) / 100);
	}

	body.dz-transparent-header .dz-hero-inner {
		height: calc((100vh - var(--dz-bar-h)) * var(--dz-hero-h, 60) / 100);
		height: calc((100svh - var(--dz-bar-h)) * var(--dz-hero-h, 60) / 100);
	}
}

/* ---- Hero "Voir plus" button ---- */
.dz-hero {
	position: relative;
}

.dz-hero-more,
.dz-hero-more:hover,
.dz-hero-more:focus {
	position: absolute;
	left: 50%;
	bottom: 64px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	transform: translateX(-50%);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #fff !important;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
	text-transform: uppercase;
	transition: background-color 0.2s, color 0.2s;
}

.dz-hero-more:hover {
	background: #fff;
	color: #111 !important;
	text-shadow: none;
}

@media (max-width: 767px) {
	.dz-hero-more {
		bottom: 40px;
		padding: 10px 22px;
	}
}

/* ---- Hero texts + wide see-through button ---- */
.dz-hero-title {
	font-size: clamp(2rem, 5.5vw, 4rem);
	line-height: 1.15;
}

.dz-hero-sub {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
}

.dz-hero-para {
	max-width: 640px;
	margin: 4px 0 0;
	color: #fff;
	font-size: clamp(1.05rem, 2vw, 1.4rem);
	font-weight: 600;
	line-height: 1.5;
}

.dz-hero-more,
.dz-hero-more:hover,
.dz-hero-more:focus {
	justify-content: center;
	width: min(420px, calc(100% - 40px));
	box-sizing: border-box;
	padding: 16px 28px;
	border: 1px solid #fff;
	border-radius: 12px;
	background: transparent;
	color: #fff !important;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.dz-hero-more:hover {
	background: #fff;
	color: #111 !important;
}

.dz-hero-more[dir="rtl"] svg {
	transform: scaleX(-1);
}

/* ---- Hero layout: text block at the right-centre, button right under it ---- */
.dz-hero-stage {
	position: relative;
	width: var(--dz-hero-w, 100%);
	margin: 0 auto;
}

.dz-hero-stage .dz-hero-inner {
	width: 100%;
	margin: 0;
}

.dz-hero-text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	padding: 24px clamp(20px, 7vw, 110px);
	background: none;
	text-align: start;
	pointer-events: none;
}

.dz-hero-text.has-shade {
	background: rgba(0, 0, 0, var(--dz-hero-overlay, 0.25));
}

.dz-hero-text > * {
	max-width: min(640px, 100%);
	text-align: start;
}

.dz-hero-text .dz-hero-btn,
.dz-hero-text .dz-hero-more {
	pointer-events: auto;
}

.dz-hero-text .dz-hero-more,
.dz-hero-text .dz-hero-more:hover,
.dz-hero-text .dz-hero-more:focus {
	position: static;
	left: auto;
	bottom: auto;
	transform: none;
	align-self: flex-end;
	width: min(340px, 100%);
	margin-top: 14px;
}

@media (max-width: 767px) {
	.dz-hero-text {
		gap: 8px;
		padding: 18px 20px;
	}
}

.dz-hero-text > .dz-hero-title {
	max-width: min(860px, 100%);
	font-size: clamp(1.8rem, 4.6vw, 3.4rem);
}

.dz-hero-text .dz-hero-more,
.dz-hero-text .dz-hero-more:hover {
	text-shadow: none;
}


/* ================= v1.13 ================= */

/* Hero text: bottom centre, rise-in animation */
.dz-hero-text {
	align-items: center;
	justify-content: flex-end;
	text-align: center;
	padding-bottom: clamp(28px, 6vh, 72px);
}

.dz-hero-text > *,
.dz-hero-text > .dz-hero-title {
	text-align: center;
	max-width: min(860px, 100%);
}

.dz-hero-text .dz-hero-more,
.dz-hero-text .dz-hero-more:hover,
.dz-hero-text .dz-hero-more:focus {
	align-self: center;
	width: auto;
	min-width: 220px;
	max-width: 100%;
	justify-content: center;
	border-radius: 999px;
	padding-left: 28px;
	padding-right: 28px;
}

.dz-hero-btn,
.dz-hero-btn:hover {
	border-radius: 999px;
}

.dz-hero-text > .dz-hero-sub {
	font-size: clamp(1.4rem, 3.6vw, 2.6rem);
	font-weight: 600;
	margin: 0;
	color: #fff;
}

@keyframes dzRise {
	from {
		opacity: 0;
		transform: translateY(60px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dz-hero-text > * {
	animation: dzRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dz-hero-text > :nth-child(2) { animation-delay: 0.15s; }
.dz-hero-text > :nth-child(3) { animation-delay: 0.3s; }
.dz-hero-text > :nth-child(4) { animation-delay: 0.45s; }
.dz-hero-text > :nth-child(5) { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
	.dz-hero-text > * {
		animation: none;
	}
}

/* Wide product grid (home / shop / categories): almost edge to edge */
body.home .site-content > .col-full,
body.woocommerce-shop .site-content > .col-full,
body.tax-product_cat .site-content > .col-full,
body.tax-product_tag .site-content > .col-full,
body.post-type-archive-product .site-content > .col-full {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
	padding-left: clamp(10px, 1.6vw, 28px);
	padding-right: clamp(10px, 1.6vw, 28px);
}

@media (min-width: 768px) {
	body.home ul.products,
	body.woocommerce-shop ul.products,
	body.tax-product_cat ul.products,
	body.post-type-archive-product ul.products {
		gap: clamp(12px, 1.4vw, 22px);
	}
}

/* Features bar: full width background, content spread evenly */
.dz-features {
	width: 100%;
	background: #fafafa;
}

.dz-features .dz-wrap {
	max-width: none;
	padding-left: clamp(16px, 4vw, 72px);
	padding-right: clamp(16px, 4vw, 72px);
	box-sizing: border-box;
}

.dz-features-grid {
	gap: 16px;
}

.dz-features .dz-feature {
	justify-content: center;
}

@media (min-width: 768px) {
	.dz-features-grid {
		gap: 0;
	}
	.dz-features .dz-feature {
		padding: 4px 16px;
	}
	.dz-features .dz-feature + .dz-feature {
		border-inline-start: 1px solid #e6e6e6;
	}
}


/* ================= v1.14 ================= */

/* Hero button + header icons: white */
.dz-hero-text .dz-hero-more,
.dz-hero-text .dz-hero-more:hover,
.dz-hero-text .dz-hero-more:focus,
.dz-hero-text .dz-hero-more:visited,
.dz-hero-text .dz-hero-more span,
.dz-hero-text .dz-hero-more svg {
	color: #fff !important;
	border-color: #fff;
	stroke: currentColor;
}

.dz-hero-text .dz-hero-more:hover {
	background: rgba(255, 255, 255, 0.18);
}

body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-icon-btn,
body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-icon-btn svg,
body.dz-transparent-header:not(.dz-scrolled) .dz-header-center .site-title a {
	color: #fff !important;
}

/* optional: dark header after scrolling so the icons stay white */
body.dz-hdr-dark .site-header,
body.dz-hdr-dark.dz-scrolled .site-header {
	--dz-hdr-fg: #fff;
}

body.dz-hdr-dark.dz-scrolled .site-header,
body.dz-hdr-dark:not(.dz-transparent-header) .site-header {
	background: #111;
	border-bottom-color: #111;
}

body.dz-hdr-dark .dz-header-center img {
	filter: brightness(0) invert(1);
}

/* Before / after comparison slider */
.dz-compare-sec {
	margin: 0 0 40px;
}

.dz-compare-sec .dz-wrap {
	max-width: 1100px;
}

.dz-compare {
	--dz-cmp: 50%;
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--dz-cmp-ratio, 4/3);
	background: #eee;
	cursor: ew-resize;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}

.dz-compare .dz-cmp-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.dz-cmp-over {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--dz-cmp)) 0 0);
}

.dz-cmp-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--dz-cmp);
	width: 3px;
	margin-left: -1.5px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

.dz-cmp-knob {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 46px;
	margin: -23px 0 0 -23px;
	border-radius: 50%;
	background: #fff;
	color: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.dz-compare.is-drag .dz-cmp-knob {
	transform: scale(1.08);
}

.dz-cmp-tag {
	position: absolute;
	top: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	pointer-events: none;
}

.dz-cmp-tag-a { left: 14px; }
.dz-cmp-tag-b { right: 14px; }

.dz-cmp-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	pointer-events: none;
}

.dz-cmp-range:focus-visible {
	opacity: 0;
}

.dz-compare:focus-within .dz-cmp-knob {
	outline: 2px solid var(--dz-primary);
	outline-offset: 2px;
}


/* ================= v1.15 ================= */

/* Hero text: professional font (Cairo — clean Arabic + Latin) */
.dz-hero-text,
.dz-hero-text *,
.dz-hero-text .dz-hero-more span {
	font-family: "Cairo", var(--dz-font) !important;
	letter-spacing: 0;
	text-transform: none;
}

.dz-hero-text > .dz-hero-sub {
	font-weight: 700;
	line-height: 1.25;
}

.dz-hero-text .dz-hero-more {
	font-weight: 600;
	font-size: 0.95rem;
}

/* Floating contact button appears after scrolling, like the header */
.dz-social {
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

body.dz-scrolled .dz-social,
.dz-social.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Features bar: arrows (phones only) */
.dz-features {
	position: relative;
}

.dz-feat-arrow {
	display: none;
}

/* Search inside the menu (phones only) */
.dz-menu-search {
	display: none;
}

@media (max-width: 767px) {
	/* header: icons closer to the corners, no search icon (search is in the menu) */
	.site-header > .col-full,
	body .site-header > .col-full {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}

	.dz-header-bar .dz-icon-btn {
		padding: 8px;
	}

	.dz-header-right [data-dz-open="dz-search"] {
		display: none !important;
	}

	.dz-menu-search {
		display: block;
		margin: 56px 16px 8px;
	}

	.dz-menu-search form {
		display: flex;
		margin: 0;
		gap: 0;
	}

	.dz-menu-search input[type="search"] {
		flex: 1;
		min-width: 0;
		margin: 0;
		padding: 10px 12px;
		border: 1px solid #ddd;
		border-radius: 8px 0 0 8px;
		background: #fff;
		font-size: 16px;
	}

	.dz-menu-search button[type="submit"] {
		margin: 0;
		padding: 0 14px;
		border: 0;
		border-radius: 0 8px 8px 0;
		background: #111;
		color: #fff;
	}

	.dz-menu-search .screen-reader-text {
		position: absolute;
		clip: rect(1px, 1px, 1px, 1px);
		width: 1px;
		height: 1px;
		overflow: hidden;
	}

	/* features: scrolling row, 2 visible, arrows */
	.dz-features-grid {
		display: flex;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-left: 36px;
		padding-right: 36px;
		box-sizing: border-box;
	}

	.dz-features-grid::-webkit-scrollbar {
		display: none;
	}

	.dz-features .dz-wrap {
		padding-left: 36px;
		padding-right: 36px;
	}

	.dz-features .dz-feature {
		flex: 0 0 50%;
		scroll-snap-align: start;
		justify-content: center;
		padding: 4px 6px;
		box-sizing: border-box;
		border: 0 !important;
	}

	.dz-feat-arrow,
	.dz-feat-arrow:hover,
	.dz-feat-arrow:focus {
		display: grid;
		place-items: center;
		position: absolute;
		top: 50%;
		z-index: 2;
		width: 30px;
		height: 30px;
		margin: -15px 0 0;
		padding: 0;
		border: 1px solid #ddd;
		border-radius: 50%;
		background: #fff;
		color: #111;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	}

	.dz-feat-prev { left: 4px; }
	.dz-feat-next { right: 4px; }

	/* products: one per line, centred */
	body .site-content > .col-full,
	body.home .site-content > .col-full {
		padding-left: 12px !important;
		padding-right: 12px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	body .content-area,
	body .site-main {
		float: none !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body ul.products,
	body.home ul.products,
	body ul.products[class*="columns-"] {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px;
		margin: 0 !important;
		padding: 0 !important;
		width: 100%;
	}

	body ul.products li.product,
	body ul.products[class*="columns-"] li.product {
		width: 100% !important;
		margin: 0 auto !important;
		padding: 0 !important;
		text-align: center;
	}
}


/* ================= v1.16 ================= */

/* ---- Hero slides ---- */
.dz-hero-slides {
	display: grid;
}

.dz-hero-slide {
	grid-area: 1 / 1;
	position: relative;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s;
}

.dz-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* the text animation plays each time a slide becomes active */
.dz-hero-text > * {
	animation: none;
}

.dz-hero-slide.is-active .dz-hero-text > * {
	animation: dzRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dz-hero-slide.is-active .dz-hero-text > :nth-child(2) { animation-delay: 0.15s; }
.dz-hero-slide.is-active .dz-hero-text > :nth-child(3) { animation-delay: 0.3s; }
.dz-hero-slide.is-active .dz-hero-text > :nth-child(4) { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
	.dz-hero-slide.is-active .dz-hero-text > * {
		animation: none;
	}
}

.dz-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	z-index: 4;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.dz-hero-dot,
.dz-hero-dot:hover,
.dz-hero-dot:focus {
	width: 8px;
	height: 8px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: none;
}

.dz-hero-dot.is-on,
.dz-hero-dot.is-on:hover {
	background: #fff;
	width: 22px;
	border-radius: 999px;
}

.dz-hero-text {
	padding-bottom: clamp(40px, 8vh, 84px);
}

/* ---- Features bar: endless slow loop, swipe / drag ---- */
.dz-features-grid,
.dz-features .dz-features-grid {
	display: flex !important;
	direction: ltr;
	gap: 0 !important;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: none !important;
	scrollbar-width: none;
	cursor: grab;
	padding-left: 0 !important;
	padding-right: 0 !important;
	user-select: none;
	-webkit-user-select: none;
	-webkit-overflow-scrolling: touch;
}

.dz-features-grid::-webkit-scrollbar {
	display: none;
}

.dz-features-grid.is-drag {
	cursor: grabbing;
}

.dz-features .dz-feature {
	flex: 0 0 var(--dz-feat-w, 50%);
	justify-content: center;
	box-sizing: border-box;
	padding: 6px 12px;
	border: 0 !important;
	border-inline-start: 1px solid #e6e6e6 !important;
}

.dz-features .dz-wrap {
	padding-left: 0;
	padding-right: 0;
}

.dz-feat-arrow {
	display: none !important;
}

/* ---- Header icons: white everywhere (header turns black outside the transparent state) ---- */
body.dz-hdr-dark .site-header,
body.dz-hdr-dark.dz-scrolled .site-header {
	--dz-hdr-fg: #fff;
}

body.dz-hdr-dark .site-header .dz-icon-btn,
body.dz-hdr-dark .site-header .dz-icon-btn svg,
body.dz-hdr-dark .dz-header-center .site-title a {
	color: #fff !important;
}

body.dz-hdr-dark .site-header {
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.dz-hdr-dark.dz-transparent-header:not(.dz-scrolled) .site-header {
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* ---- Product page: stacked gallery left, details + related right ---- */
body.single-product #content > .col-full {
	max-width: 1400px;
}

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 24px 48px;
	align-items: start;
	overflow: visible;
}

.single-product div.product > .woocommerce-product-gallery {
	grid-column: 1;
	position: static !important;
	opacity: 1 !important;
}

.single-product div.product > .dz-pp-info {
	grid-column: 2;
	position: sticky;
	top: 92px;
	align-self: start;
	min-width: 0;
}

.single-product .dz-pp-info > .summary {
	float: none !important;
	width: 100% !important;
	margin: 0 0 40px !important;
	padding: 0 !important;
}

.single-product div.product > .onsale {
	display: none;
}

.single-product .woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
}

.single-product .woocommerce-product-gallery__image {
	margin: 0;
	background: #f1f1f1;
	overflow: hidden;
}

.single-product .woocommerce-product-gallery__image:first-child,
.single-product .woocommerce-product-gallery__image:last-child:nth-child(even) {
	grid-column: 1 / -1;
}

.single-product .woocommerce-product-gallery__image a {
	display: block;
}

.single-product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.single-product .woocommerce-product-gallery__image:not(:first-child):not(:last-child:nth-child(even)) img {
	aspect-ratio: 4 / 5;
	height: 100%;
	object-fit: cover;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery__trigger {
	display: none !important;
}

/* related products inside the right column */
.single-product .dz-pp-info .related.products {
	margin: 8px 0 0;
}

.single-product .dz-pp-info .related.products > h2 {
	margin-bottom: 14px;
	font-size: 1.15rem;
	text-align: start;
}

.single-product .dz-pp-info ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 991px) {
	.single-product div.product {
		display: block;
	}

	.single-product div.product > .dz-pp-info {
		position: static;
		margin-top: 24px;
	}

	.single-product .woocommerce-product-gallery__wrapper {
		gap: 8px;
	}
}

@media (max-width: 767px) {
	body.single-product .dz-pp-info ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}


/* ================= v1.16.1 ================= */

/* Top of the home page: invisible header, white icons. After scrolling: white header, dark icons. */
body.dz-transparent-header:not(.dz-scrolled) .site-header {
	background: transparent !important;
	box-shadow: none !important;
	--dz-hdr-fg: #fff;
}

body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-icon-btn,
body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-icon-btn svg,
body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-icon-btn svg *,
body.dz-transparent-header:not(.dz-scrolled) .site-header .dz-cart-count,
body.dz-transparent-header:not(.dz-scrolled) .dz-header-center .site-title a,
body.dz-transparent-header:not(.dz-scrolled) .dz-header-center .site-title a:hover {
	color: #fff !important;
}

body.dz-transparent-header.dz-scrolled .site-header,
body.dz-transparent-header.dz-scrolled.dz-hdr-dark .site-header {
	background: #fff;
	--dz-hdr-fg: var(--dz-text);
}

body.dz-transparent-header.dz-scrolled .site-header .dz-icon-btn,
body.dz-transparent-header.dz-scrolled .site-header .dz-icon-btn svg,
body.dz-transparent-header.dz-scrolled .dz-header-center .site-title a {
	color: var(--dz-text) !important;
}

body.dz-transparent-header.dz-scrolled .dz-header-center img {
	filter: none;
}

.pswp__caption { display: none !important; }


/* ================= v1.17 ================= */

/* Unavailable options: clearly crossed out */
.dz-swatch.is-unavailable,
.dz-swatch.is-unavailable:hover,
.dz-swatch.is-unavailable:focus {
	opacity: 0.5;
	cursor: not-allowed;
	overflow: hidden;
}

.dz-swatch.is-unavailable::after {
	content: "";
	position: absolute;
	inset: 0;
	height: auto;
	background: linear-gradient(to top right, transparent calc(50% - 1px), #222 calc(50% - 1px), #222 calc(50% + 1px), transparent calc(50% + 1px));
	transform: none;
	border-radius: inherit;
	pointer-events: none;
}

.dz-swatch.is-text.is-unavailable {
	text-decoration: line-through;
	color: #777;
}

/* Home: product row (4 visible, 1 on phones) with an arrow */
.dz-carousel {
	position: relative;
}

body .dz-carousel ul.products,
body.home .dz-carousel ul.products {
	display: flex !important;
	flex-wrap: nowrap;
	direction: ltr;
	gap: 18px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	margin: 0 !important;
	padding: 0 !important;
}

.dz-carousel ul.products::-webkit-scrollbar {
	display: none;
}

body .dz-carousel ul.products li.product,
body .dz-carousel ul.products[class*="columns-"] li.product {
	flex: 0 0 calc((100% - 54px) / 4);
	width: calc((100% - 54px) / 4) !important;
	min-width: 0;
	margin: 0 !important;
	scroll-snap-align: start;
}

html[dir="rtl"] .dz-carousel ul.products li.product {
	direction: rtl;
}

@media (max-width: 767px) {
	body .dz-carousel ul.products li.product,
	body .dz-carousel ul.products[class*="columns-"] li.product {
		flex: 0 0 100%;
		width: 100% !important;
	}

	body .dz-carousel ul.products {
		gap: 12px !important;
	}
}

.dz-car-arrow,
.dz-car-arrow:hover,
.dz-car-arrow:focus {
	position: absolute;
	top: 38%;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: opacity 0.2s;
}

.dz-car-next { right: 8px; }
.dz-car-prev { left: 8px; }

.dz-car-arrow.is-off {
	opacity: 0;
	pointer-events: none;
}

.dz-all-wrap {
	display: flex;
	justify-content: center;
	margin: 22px 0 8px;
}

.dz-all-btn,
.dz-all-btn:hover,
.dz-all-btn:focus {
	display: inline-block;
	min-width: 200px;
	padding: 13px 34px;
	border: 1.5px solid #111;
	border-radius: 999px;
	background: transparent;
	color: #111 !important;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.dz-all-btn:hover {
	background: #111;
	color: #fff !important;
}

body.home .woocommerce-pagination {
	display: none;
}
