/**
 * StoreDz — نظام التصميم الكامل.
 * مطابق للهوية: أخضر داكن + كهرماني، سايدبار ثابت يمين (RTL)، بطاقات بيضاء مستديرة.
 */

/* ============================================================
   1. التوكنز (متغيرات التصميم).
   ============================================================ */
:root {
	--dz-brand-50:  #eef7f3;
	--dz-brand-100: #d5ede3;
	--dz-brand-200: #abdac7;
	--dz-brand-300: #78c1a5;
	--dz-brand-400: #45a281;
	--dz-brand-500: #228566;
	--dz-brand-600: #146b52;
	--dz-brand-700: #105643;
	--dz-brand-800: #0e4537;
	--dz-brand-900: #0b392e;
	--dz-brand-950: #06221b;

	--dz-accent: #fbbf24;
	--dz-accent-hover: #f59e0b;

	--dz-bg: #f3f4f6;
	--dz-surface: #ffffff;
	--dz-surface-2: #f9fafb;
	--dz-text: #111827;
	--dz-text-2: #6b7280;
	--dz-text-3: #9ca3af;
	--dz-line: #e5e7eb;
	--dz-danger: #e0653a;
	--dz-wa: #25d366;

	--dz-radius-sm: 10px;
	--dz-radius: 16px;
	--dz-radius-lg: 24px;
	--dz-pill: 100px;

	--dz-sidebar-w: 256px;
	--dz-topbar-h: 64px;

	--dz-shadow-sm: 0 8px 24px -12px rgba(6, 34, 27, .18);
	--dz-shadow: 0 18px 50px -18px rgba(6, 34, 27, .28);
	--dz-shadow-lift: 0 24px 60px -20px rgba(6, 34, 27, .38);

	--dz-ease: cubic-bezier(.22, .61, .36, 1);
	--dz-dur: 260ms;

	--dz-font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--dz-font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}

/* ===== الوضع الداكن ===== */
[data-theme="dark"] {
	--dz-bg: #020617;
	--dz-surface: #1e293b;
	--dz-surface-2: #334155;
	--dz-text: #f1f5f9;
	--dz-text-2: #94a3b8;
	--dz-text-3: #64748b;
	--dz-line: #1e293b;
	--dz-shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, .5);
	--dz-shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
	--dz-shadow-lift: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

/* ============================================================
   2. إعادة الضبط والأساسيات.
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--dz-bg);
	color: var(--dz-text);
	font-family: var(--dz-font-body);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--dz-dur) var(--dz-ease);
}

button {
	font-family: inherit;
	cursor: pointer;
}

input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

h1, h2, h3, h4 {
	font-family: var(--dz-font-display);
	line-height: 1.3;
	margin: 0;
}

.dz-skip {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	background: var(--dz-brand-500);
	color: #fff;
	padding: 10px 18px;
	border-radius: 0 0 10px 0;
	z-index: 200;
}

.dz-skip:focus {
	inset-inline-start: 0;
}

.dz-container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 16px;
}

/* ============================================================
   3. البنية العامة: سايدبار ثابت + محتوى.
   ============================================================ */
.dz-page {
	min-height: 100vh;
}

.dz-shell {
	min-height: calc(100vh - 0px);
	display: flex;
	flex-direction: column;
	margin-inline-start: var(--dz-sidebar-w);
	transition: margin var(--dz-dur) var(--dz-ease);
}

.dz-main {
	flex: 1;
}

/* ============================================================
   4. السايدبار.
   ============================================================ */
.dz-sidebar {
	position: fixed;
	inset-block: 0;
	inset-inline-start: 0;
	width: var(--dz-sidebar-w);
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .014) 0 16px, transparent 16px 32px),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, .014) 0 16px, transparent 16px 32px),
		linear-gradient(160deg, var(--dz-brand-900) 0%, var(--dz-brand-950) 62%);
	color: #fff;
	z-index: 60;
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: transform var(--dz-dur) var(--dz-ease);
}

/* السايدبار الثابت لا يختفي تحت شريط إدارة ووردبريس عند تسجيل الدخول */
body.admin-bar .dz-sidebar {
	top: 32px;
	height: calc(100vh - 32px);
}
@media (max-width: 782px) {
	body.admin-bar .dz-sidebar {
		top: 46px;
		height: calc(100vh - 46px);
	}
}

.dz-sidebar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.dz-sidebar-close {
	display: none;
	background: rgba(255, 255, 255, .08);
	border: 0;
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	align-items: center;
	justify-content: center;
}

/* الشعار */
.dz-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.dz-logo-mark {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--dz-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dz-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.dz-logo-name {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 22px;
	color: #fff;
}

.dz-logo-tag {
	font-size: 11px;
	color: rgba(255, 255, 255, .55);
}

.dz-logo-img img {
	max-height: 44px;
	width: auto;
}

/* قائمة السايدبار */
.dz-sidebar-nav {
	flex: 1;
	overflow-y: auto;
	padding: 14px 14px 8px;
}

.dz-nav-group + .dz-nav-group {
	margin-top: 18px;
}

.dz-nav-heading {
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, .42);
	padding-inline-start: 12px;
	margin: 0 0 8px;
	letter-spacing: .3px;
}

.dz-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dz-menu-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 12px;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	font-weight: 500;
	position: relative;
	transition: background var(--dz-dur) var(--dz-ease), color var(--dz-dur) var(--dz-ease);
}

.dz-menu-item a:hover {
	background: rgba(255, 255, 255, .07);
	color: #fff;
}

.dz-menu-ic {
	display: inline-flex;
	color: rgba(255, 255, 255, .55);
	transition: color var(--dz-dur) var(--dz-ease);
}

.dz-menu-item a:hover .dz-menu-ic,
.dz-menu-item.is-active .dz-menu-ic,
.dz-menu .current-menu-item .dz-menu-ic {
	color: var(--dz-accent);
}

/* العنصر النشط: خلفية فاتحة + شريط كهرماني على الحافة */
.dz-menu-item.is-active a,
.dz-menu .current-menu-item > a {
	background: rgba(255, 255, 255, .09);
	color: #fff;
}

.dz-menu-item.is-active a::after,
.dz-menu .current-menu-item > a::after {
	content: "";
	position: absolute;
	inset-inline-start: -14px;
	inset-block: 8px;
	width: 4px;
	border-radius: 4px 0 0 4px;
	background: var(--dz-accent);
}

/* بطاقة التوصيل */
.dz-sidebar-cta {
	margin: 14px 16px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: 14px;
	background: linear-gradient(140deg, rgba(34, 133, 102, .38), rgba(34, 133, 102, .16));
	border: 1px solid rgba(34, 133, 102, .45);
	color: #fff;
	transition: transform var(--dz-dur) var(--dz-ease), border-color var(--dz-dur) var(--dz-ease);
}

.dz-sidebar-cta:hover {
	transform: translateY(-2px);
	border-color: rgba(34, 133, 102, .8);
}

.dz-sidebar-cta-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--dz-accent);
	color: var(--dz-brand-950);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dz-sidebar-cta-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.dz-sidebar-cta-title {
	font-weight: 700;
	font-size: 14px;
}

.dz-sidebar-cta-sub {
	font-size: 12px;
	color: rgba(255, 255, 255, .65);
}

/* طبقة السايدبار على الموبايل */
.dz-sidebar-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6, 34, 27, .55);
	backdrop-filter: blur(2px);
	z-index: 55;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dz-dur) var(--dz-ease), visibility var(--dz-dur);
}

body[data-dz-sidebar="open"] .dz-sidebar-overlay {
	opacity: 1;
	visibility: visible;
}

/* ============================================================
   5. الشريط العلوي.
   ============================================================ */
.dz-topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	height: var(--dz-topbar-h);
	background: color-mix(in srgb, var(--dz-surface) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--dz-line);
}

.dz-topbar-inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding-inline: 16px;
	max-width: 1400px;
	margin-inline: auto;
}

.dz-icon-btn {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--dz-text);
	position: relative;
	transition: background var(--dz-dur) var(--dz-ease);
}

.dz-icon-btn:hover {
	background: var(--dz-surface-2);
}

.dz-burger {
	display: none;
}

/* البحث */
.dz-search {
	flex: 1;
	max-width: 620px;
	margin-inline: auto;
	position: relative;
}

.dz-search-input {
	width: 100%;
	height: 44px;
	border: 1px solid transparent;
	border-radius: var(--dz-pill);
	background: var(--dz-bg);
	padding-inline: 22px 50px;
	font-size: 14px;
	color: var(--dz-text);
	outline: none;
	transition: border-color var(--dz-dur) var(--dz-ease), box-shadow var(--dz-dur) var(--dz-ease);
}

[data-theme="dark"] .dz-search-input {
	background: #0f172a;
}

.dz-search-input:focus {
	border-color: var(--dz-brand-400);
	box-shadow: 0 0 0 3px rgba(34, 133, 102, .14);
}

.dz-search-btn {
	position: absolute;
	inset-inline-end: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--dz-text-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.dz-search-btn:hover {
	color: var(--dz-brand-500);
}

/* اقتراحات البحث الفوري */
.dz-search-panel {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline: 0;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	box-shadow: var(--dz-shadow);
	max-height: 420px;
	overflow-y: auto;
	z-index: 50;
}

.dz-search-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	transition: background var(--dz-dur) var(--dz-ease);
}

.dz-search-item:hover {
	background: var(--dz-surface-2);
}

.dz-search-item img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.dz-search-item-name {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.dz-search-item-price {
	font-size: 12.5px;
	color: var(--dz-brand-500);
	font-weight: 700;
}

.dz-search-empty {
	padding: 16px;
	text-align: center;
	color: var(--dz-text-2);
	font-size: 13px;
}

/* عداد السلة */
.dz-cart-count {
	position: absolute;
	top: 2px;
	inset-inline-start: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: var(--dz-pill);
	background: var(--dz-brand-500);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* تبديل الوضع */
.dz-theme-ic {
	display: inline-flex;
}

.dz-theme-ic--sun {
	display: none;
}

[data-theme="dark"] .dz-theme-ic--moon {
	display: none;
}

[data-theme="dark"] .dz-theme-ic--sun {
	display: inline-flex;
}

/* ============================================================
   6. الأزرار.
   ============================================================ */
.dz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 22px;
	border-radius: var(--dz-pill);
	border: 1px solid transparent;
	font-family: var(--dz-font-body);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1;
	transition: background var(--dz-dur) var(--dz-ease), transform var(--dz-dur) var(--dz-ease), box-shadow var(--dz-dur) var(--dz-ease);
}

.dz-btn:active {
	transform: scale(.98);
}

.dz-btn-accent {
	background: var(--dz-accent);
	color: var(--dz-brand-950);
	box-shadow: 0 10px 24px -12px rgba(251, 191, 36, .65);
}

.dz-btn-accent:hover {
	background: var(--dz-accent-hover);
}

.dz-btn-outline {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .35);
	color: #fff;
	backdrop-filter: blur(4px);
}

.dz-btn-outline:hover {
	background: rgba(255, 255, 255, .2);
}

.dz-btn-ghost {
	background: transparent;
	border-color: var(--dz-line);
	color: var(--dz-text);
}

.dz-btn-ghost:hover {
	border-color: var(--dz-brand-400);
	color: var(--dz-brand-500);
}

.dz-btn-block {
	width: 100%;
}

/* ============================================================
   7. الأقسام ورؤوسها.
   ============================================================ */
.container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 16px;
}

.dz-section {
	margin: 34px auto;
}

.dz-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.dz-section-head-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.dz-section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--dz-accent-text, var(--dz-accent-hover));
	font-size: 12.5px;
	font-weight: 600;
	margin-bottom: 2px;
}

.dz-section-kicker-line {
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: var(--dz-accent);
}

.dz-section-title {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.2px;
}

.dz-section-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--dz-text-2);
	transition: color var(--dz-dur) var(--dz-ease), gap var(--dz-dur) var(--dz-ease);
}

.dz-section-more:hover {
	color: var(--dz-brand-500);
	gap: 9px;
}

/* ============================================================
   8. السلايدر الرئيسي.
   ============================================================ */
.dz-hero-section {
	margin-top: 22px;
}

.dz-hero {
	position: relative;
	height: 440px;
	border-radius: var(--dz-radius-lg);
	overflow: hidden;
	background: linear-gradient(150deg, var(--dz-brand-800), var(--dz-brand-950));
	box-shadow: var(--dz-shadow);
}

.dz-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 700ms ease, visibility 700ms ease;
}

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

.dz-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
}

.dz-hero-slide.is-active .dz-hero-bg {
	animation: dz-hero-zoom 7s ease forwards;
}

@keyframes dz-hero-zoom {
	from { transform: scale(1.05); }
	to { transform: scale(1); }
}

.dz-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 34, 27, .92) 8%, rgba(6, 34, 27, .38) 55%, rgba(6, 34, 27, .18));
}

.dz-hero-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: start;
	padding: 40px 48px;
	color: #fff;
	z-index: 2;
}

.dz-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .75);
	letter-spacing: 1.5px;
	margin-bottom: 12px;
}

.dz-hero-kicker-line {
	width: 30px;
	height: 2px;
	border-radius: 2px;
	background: var(--dz-accent);
}

.dz-hero-title {
	font-size: 46px;
	font-weight: 700;
	line-height: 1.22;
	max-width: 640px;
	text-shadow: 0 4px 30px rgba(6, 34, 27, .45);
}

.dz-hero-lead {
	margin: 14px 0 0;
	font-size: 16px;
	color: rgba(255, 255, 255, .78);
	max-width: 520px;
}

.dz-hero-actions {
	display: flex;
	gap: 12px;
	margin-top: 26px;
}

.dz-hero-dots {
	position: absolute;
	bottom: 18px;
	inset-inline: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	z-index: 3;
}

.dz-hero-dot {
	width: 8px;
	height: 8px;
	border-radius: var(--dz-pill);
	border: 0;
	background: rgba(255, 255, 255, .35);
	padding: 0;
	transition: width var(--dz-dur) var(--dz-ease), background var(--dz-dur) var(--dz-ease);
}

.dz-hero-dot.is-active {
	width: 26px;
	background: var(--dz-accent);
}

.dz-hero-arrow {
	position: absolute;
	bottom: 14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	z-index: 3;
	transition: background var(--dz-dur) var(--dz-ease);
}

.dz-hero-arrow:hover {
	background: rgba(255, 255, 255, .3);
}

/* في RTL: الحافة اليمنى هي نهاية السطر → الأزرار أسفل يسار مثل المستهدف */
.dz-hero-arrow--prev { inset-inline-end: 64px; }
.dz-hero-arrow--next { inset-inline-end: 16px; }

/* ============================================================
   9. دوائر التصنيفات.
   ============================================================ */
.dz-circles-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.dz-circles {
	display: flex;
	flex: 1;
	min-width: 0;
	justify-content: space-evenly;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 6px 4px 2px;
	scrollbar-width: none;
}

.dz-circles::-webkit-scrollbar {
	display: none;
}

.dz-circle {
	flex: 1 1 0;
	min-width: 84px;
	max-width: 160px;
	width: auto;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.dz-circle-ring {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #fff;
	padding: 3px;
	box-shadow: var(--dz-shadow-sm);
	border: 1px solid var(--dz-line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: box-shadow var(--dz-dur) var(--dz-ease), border-color var(--dz-dur) var(--dz-ease);
	color: var(--dz-text-3);
}

[data-theme="dark"] .dz-circle-ring {
	background: #1e293b;
	border-color: var(--dz-line);
}

.dz-circle:hover .dz-circle-ring {
	border-color: var(--dz-brand-400);
	box-shadow: 0 0 0 2px var(--dz-brand-400);
}

.dz-circle-ring img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.dz-circle-name {
	font-size: 12px;
	font-weight: 500;
	color: var(--dz-text-2);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dz-circle:hover .dz-circle-name {
	color: var(--dz-brand-500);
}

.dz-circles-arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--dz-line);
	background: var(--dz-surface);
	color: var(--dz-text-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: color var(--dz-dur) var(--dz-ease), border-color var(--dz-dur) var(--dz-ease);
}

.dz-circles-arrow:hover {
	color: var(--dz-brand-500);
	border-color: var(--dz-brand-400);
}

/* الجوال: سلوك التمرير الأفقي بعرض ثابت (كما كان) */
@media (max-width: 900px) {
	.dz-circles {
		justify-content: flex-start;
	}
	.dz-circle {
		flex: 0 0 auto;
		width: 84px;
		max-width: none;
	}
}

/* ============================================================
   10. بطاقات المنتجات والشبكات.
   ============================================================ */
.dz-grid {
	display: grid;
	gap: 18px;
}

.dz-grid-products {
	grid-template-columns: repeat(4, 1fr);
}

.dz-grid-fcats {
	grid-template-columns: repeat(4, 1fr);
}

.dz-card {
	position: relative;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--dz-dur) var(--dz-ease), box-shadow var(--dz-dur) var(--dz-ease);
}

.dz-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--dz-shadow-lift);
}

.dz-card-media {
	position: relative;
	background: var(--dz-bg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

[data-theme="dark"] .dz-card-media {
	background: #0f172a;
}

.dz-card-imglink {
	display: block;
	height: 100%;
}

.dz-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--dz-ease);
}

.dz-card:hover .dz-card-media img {
	transform: scale(1.05);
}

.dz-card-badges {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 2;
}

.dz-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: var(--dz-pill);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
}

.dz-badge-sale {
	background: var(--dz-danger);
}

.dz-badge-out {
	background: var(--dz-text-3);
}

.dz-badge-new {
	background: var(--dz-brand-500);
}

.dz-card-wish {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--dz-text-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--dz-shadow-sm);
	transition: color var(--dz-dur) var(--dz-ease), transform var(--dz-dur) var(--dz-ease);
}

[data-theme="dark"] .dz-card-wish {
	background: rgba(255, 255, 255, .92);
}

.dz-card-wish:hover {
	transform: scale(1.08);
	color: var(--dz-danger);
}

.dz-card-wish.is-active {
	color: var(--dz-danger);
}

.dz-card-wish.is-active svg {
	fill: currentColor;
}

.dz-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px;
	gap: 4px;
}

.dz-card-cat {
	font-size: 12px;
	color: var(--dz-text-2);
}

.dz-card-title {
	font-family: var(--dz-font-body);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
}

.dz-card-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dz-card-title a:hover {
	color: var(--dz-brand-500);
}

.dz-card-foot {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
}

.dz-card-price {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.dz-card-price > * {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px;
}

.dz-card-price .woocommerce-Price-amount {
	font-family: var(--dz-font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--dz-text);
}

.dz-card-price del {
	font-size: 12.5px;
	color: var(--dz-text-3);
}

.dz-card-price del .woocommerce-Price-amount {
	font-weight: 500;
}

.dz-card-price ins {
	text-decoration: none;
}

.dz-card-cart {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--dz-brand-500);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background var(--dz-dur) var(--dz-ease), transform var(--dz-dur) var(--dz-ease);
}

.dz-card-cart:hover {
	background: var(--dz-brand-600);
	transform: translateY(-2px);
}

.dz-card-cart--disabled {
	background: var(--dz-text-3);
	cursor: not-allowed;
}

.dz-card-lowstock {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--dz-danger);
	font-weight: 600;
}

/* ============================================================
   11. الفئات المميزة (بطاقات كبيرة).
   ============================================================ */
.dz-fcat {
	position: relative;
	display: flex;
	border-radius: var(--dz-radius);
	overflow: hidden;
	min-height: 176px;
	box-shadow: var(--dz-shadow-sm);
	transition: transform var(--dz-dur) var(--dz-ease), box-shadow var(--dz-dur) var(--dz-ease);
}

.dz-fcat:hover {
	transform: translateY(-4px);
	box-shadow: var(--dz-shadow-lift);
}

.dz-fcat-img {
	position: absolute;
	inset: 0;
	background: var(--dz-surface-2);
}

.dz-fcat-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--dz-ease);
}

.dz-fcat:hover .dz-fcat-img img {
	transform: scale(1.06);
}

.dz-fcat-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 34, 27, .88) 20%, rgba(6, 34, 27, .25) 65%, rgba(6, 34, 27, .08));
}

.dz-fcat-content {
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding: 16px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: flex-start;
	text-align: start;
}

.dz-fcat-name {
	font-size: 16px;
	font-weight: 700;
}

.dz-fcat-count {
	font-size: 12px;
	color: rgba(255, 255, 255, .7);
}

/* ============================================================
   12. شريط الميزات.
   ============================================================ */
.dz-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	box-shadow: var(--dz-shadow-sm);
	overflow: hidden;
}

.dz-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 24px;
}

.dz-feature + .dz-feature {
	border-inline-start: 1px solid var(--dz-line);
}

.dz-feature-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--dz-brand-50);
	color: var(--dz-brand-600);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

[data-theme="dark"] .dz-feature-icon {
	background: rgba(34, 133, 102, .16);
	color: var(--dz-brand-300);
}

.dz-feature-title {
	font-family: var(--dz-font-body);
	font-size: 14.5px;
	font-weight: 700;
}

.dz-feature-sub {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: var(--dz-text-2);
	line-height: 1.55;
}

/* ============================================================
   13. النشرة البريدية.
   ============================================================ */
.dz-news {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
	gap: 24px;
	padding: 44px 46px;
	border-radius: var(--dz-radius-lg);
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .02) 0 18px, transparent 18px 36px),
		linear-gradient(150deg, var(--dz-brand-900), var(--dz-brand-950));
	color: #fff;
	box-shadow: var(--dz-shadow);
	overflow: hidden;
}

.dz-news-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}

.dz-news-desc {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, .7);
	font-size: 14.5px;
	max-width: 460px;
}

.dz-news-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.dz-news-mail-ic {
	position: absolute;
	inset-inline-start: 16px;
	color: rgba(255, 255, 255, .5);
	display: inline-flex;
}

.dz-news-input {
	flex: 1;
	height: 52px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .07);
	color: #fff;
	padding-inline: 44px;
	font-size: 14px;
	outline: none;
	transition: border-color var(--dz-dur) var(--dz-ease);
}

.dz-news-input::placeholder {
	color: rgba(255, 255, 255, .5);
}

.dz-news-input:focus {
	border-color: var(--dz-accent);
}

.dz-news-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	padding: 0 22px;
	border-radius: 14px;
	border: 0;
	background: var(--dz-accent);
	color: var(--dz-brand-950);
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	transition: background var(--dz-dur) var(--dz-ease), transform var(--dz-dur) var(--dz-ease);
}

.dz-news-btn:hover {
	background: var(--dz-accent-hover);
	transform: translateY(-1px);
}

.dz-news-btn--lg {
	height: 46px;
}

.dz-news-note {
	margin: 10px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, .5);
	text-align: start;
}

/* ============================================================
   14. الفوتر.
   ============================================================ */
.dz-footer {
	margin-top: 40px;
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 18px, transparent 18px 36px),
		linear-gradient(160deg, var(--dz-brand-900), var(--dz-brand-950));
	color: #fff;
}

.dz-footer-inner {
	max-width: 1320px;
	margin-inline: auto;
	padding: 46px 16px 0;
}

.dz-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
	gap: 34px;
	padding-bottom: 34px;
}

.dz-footer-about {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, .6);
	font-size: 13.5px;
	max-width: 380px;
}

.dz-footer-heading {
	font-family: var(--dz-font-body);
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 14px;
}

.dz-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.dz-footer-links a {
	color: rgba(255, 255, 255, .62);
	font-size: 13.5px;
}

.dz-footer-links a:hover {
	color: var(--dz-accent);
}

.dz-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.dz-footer-social-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .7);
	transition: background var(--dz-dur) var(--dz-ease), color var(--dz-dur) var(--dz-ease), border-color var(--dz-dur) var(--dz-ease);
}

.dz-footer-social-btn:hover {
	background: var(--dz-accent);
	border-color: var(--dz-accent);
	color: var(--dz-brand-950);
}

.dz-footer-news-text {
	color: rgba(255, 255, 255, .6);
	font-size: 13.5px;
	margin: 0 0 12px;
}

.dz-news-form--footer .dz-news-input {
	height: 44px;
	padding-inline: 16px;
}

.dz-news-form--footer .dz-news-mail-ic {
	display: none;
}

.dz-news-form--footer .dz-news-btn {
	height: 44px;
	padding: 0 16px;
}

.dz-footer-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--dz-accent);
	font-weight: 600;
	font-size: 14px;
	direction: ltr;
}

.dz-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	flex-wrap: wrap;
}

.dz-footer-payment {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: rgba(255, 255, 255, .8);
}

.dz-footer-copy {
	color: rgba(255, 255, 255, .55);
	font-size: 13px;
}

.dz-footer-copy a {
	color: var(--dz-accent, #fbbf24);
	font-weight: 600;
	text-decoration: none;
}

.dz-footer-copy a:hover {
	text-decoration: underline;
}

/* ============================================================
   15. درج السلة.
   ============================================================ */
.dz-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6, 34, 27, .55);
	backdrop-filter: blur(2px);
	z-index: 70;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dz-dur) var(--dz-ease), visibility var(--dz-dur);
}

body[data-dz-cart="open"] .dz-cart-overlay {
	opacity: 1;
	visibility: visible;
}

.dz-cart-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	inset-inline-end: 0;
	width: 400px;
	max-width: 92vw;
	background: var(--dz-surface);
	z-index: 75;
	transform: translateX(0);
	display: flex;
	flex-direction: column;
	box-shadow: var(--dz-shadow-lift);
	transition: transform var(--dz-dur) var(--dz-ease);
}

body:not([data-dz-cart="open"]) .dz-cart-drawer {
	transform: translateX(-100%);
}

.dz-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--dz-line);
}

.dz-cart-head h3 {
	font-size: 18px;
	font-weight: 700;
}

.dz-cart-drawer-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 16px 18px;
	gap: 12px;
}

.dz-cart-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dz-cart-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid var(--dz-line);
	border-radius: 12px;
	background: var(--dz-surface-2);
}

.dz-cart-item-thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--dz-bg);
}

.dz-cart-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.dz-cart-item-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}

.dz-cart-item-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

.dz-cart-item-qty {
	font-size: 12px;
	color: var(--dz-text-2);
}

.dz-cart-item-price {
	font-size: 13px;
	font-weight: 700;
	color: var(--dz-brand-500);
}

.dz-cart-item-remove {
	color: var(--dz-text-3);
	display: inline-flex;
	padding: 6px;
	border-radius: 8px;
}

.dz-cart-item-remove:hover {
	color: var(--dz-danger);
	background: var(--dz-bg);
}

.dz-cart-summary {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--dz-line);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dz-cart-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
}

.dz-cart-total strong {
	font-family: var(--dz-font-display);
	font-size: 18px;
	color: var(--dz-brand-500);
}

.dz-cart-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: var(--dz-text-2);
	padding: 30px;
}

.dz-cart-empty-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--dz-bg);
	color: var(--dz-text-3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.dz-cart-empty p {
	margin: 0;
	font-weight: 600;
	color: var(--dz-text);
}

/* ============================================================
   16. واتساب عائم + إشعار.
   ============================================================ */
.dz-wa-float {
	position: fixed;
	bottom: 20px;
	inset-inline-end: 20px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--dz-wa);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 50;
	box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .55);
	transition: transform var(--dz-dur) var(--dz-ease);
}

.dz-wa-float:hover {
	transform: translateY(-3px) scale(1.04);
}

.dz-toast {
	position: fixed;
	bottom: 24px;
	inset-inline-start: 24px;
	background: var(--dz-brand-950);
	color: #fff;
	padding: 12px 20px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 600;
	z-index: 90;
	box-shadow: var(--dz-shadow);
}

/* ============================================================
   17. المحتوى العام (صفحات/مقالات/تعليقات).
   ============================================================ */
.dz-content-area {
	margin-top: 30px;
	padding-bottom: 40px;
}

.dz-page-title {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 18px;
}

.dz-page-card {
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	padding: 30px;
	box-shadow: var(--dz-shadow-sm);
}

.dz-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.dz-post-card {
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	overflow: hidden;
	transition: transform var(--dz-dur) var(--dz-ease), box-shadow var(--dz-dur) var(--dz-ease);
}

.dz-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--dz-shadow);
}

.dz-post-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--dz-surface-2);
	overflow: hidden;
}

.dz-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dz-post-body {
	padding: 18px;
}

.dz-post-title {
	font-size: 16px;
	margin: 0 0 8px;
}

.dz-post-title a:hover {
	color: var(--dz-brand-500);
}

.dz-post-meta {
	font-size: 12px;
	color: var(--dz-text-3);
	margin: 0 0 8px;
}

.dz-post-excerpt {
	font-size: 13.5px;
	color: var(--dz-text-2);
	margin: 0;
}

.dz-empty-block {
	text-align: center;
	padding: 44px 30px;
}

.dz-404-code {
	font-family: var(--dz-font-display);
	font-size: 64px;
	font-weight: 700;
	color: var(--dz-brand-400);
	line-height: 1;
}

.dz-404 h1 {
	margin: 12px 0 6px;
	font-size: 24px;
}

.dz-404 p {
	color: var(--dz-text-2);
	margin: 0 0 20px;
}

.dz-entry {
	font-size: 15px;
}

.dz-entry h2, .dz-entry h3 {
	margin: 26px 0 12px;
}

.dz-entry p {
	margin: 0 0 14px;
}

.dz-entry a {
	color: var(--dz-brand-500);
	font-weight: 600;
}

.dz-entry img {
	border-radius: var(--dz-radius);
}

.dz-post-single-thumb {
	margin: 0 0 20px;
	border-radius: var(--dz-radius);
	overflow: hidden;
}

/* تعليقات */
.dz-comments {
	margin-top: 24px;
}

.dz-comments-title {
	font-size: 18px;
	margin: 0 0 16px;
}

.dz-comments-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.dz-comments-list .comment-body {
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	padding: 18px;
	margin-bottom: 14px;
}

.dz-comments-list .avatar {
	border-radius: 50%;
	margin-inline-end: 10px;
}

.dz-comments-list .comment-form input,
.dz-comments-list .comment-form textarea {
	width: 100%;
}

.dz-search--block {
	max-width: 440px;
	margin-inline: auto;
}

.dz-search--block .dz-search-input {
	background: var(--dz-surface-2);
}

/* ترقيم الصفحات */
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 10px;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	font-weight: 600;
	margin: 2px;
}

.page-numbers.current {
	background: var(--dz-brand-500);
	border-color: var(--dz-brand-500);
	color: #fff;
}

/* ============================================================
   18. إعلان علوي + حالة نتيجة النشرة.
   ============================================================ */
.dz-notice {
	background: var(--dz-brand-950);
	color: rgba(255, 255, 255, .85);
	text-align: center;
	font-size: 13px;
	padding: 9px 16px;
}

/* ============================================================
   19. التجاوب.
   ============================================================ */
@media (max-width: 1280px) {
	.dz-grid-products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
	.dz-grid-fcats { grid-template-columns: repeat(3, 1fr); }
	.dz-features { grid-template-columns: repeat(2, 1fr); }
	.dz-feature + .dz-feature { border-inline-start: 0; }
	.dz-feature { border-top: 1px solid var(--dz-line); }
	.dz-feature:nth-child(-n+2) { border-top: 0; }
	.dz-news { grid-template-columns: 1fr; padding: 34px 28px; }
	.dz-footer-grid { grid-template-columns: 1fr 1fr; }
	.dz-hero-title { font-size: 34px; }
	.dz-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	/* السايدبار يتحول إلى درج على الموبايل */
	.dz-sidebar {
		transform: translateX(100%);
		z-index: 80;
	}

	body[data-dz-sidebar="open"] .dz-sidebar {
		transform: translateX(0);
	}

	.dz-sidebar-overlay {
		z-index: 75;
	}

	.dz-sidebar-close {
		display: inline-flex;
	}

	.dz-shell {
		margin-inline-start: 0;
	}

	.dz-burger {
		display: inline-flex;
	}

	.dz-grid-products { grid-template-columns: repeat(2, 1fr); }
	.dz-section-title { font-size: 24px; }
	.dz-hero { height: 380px; }
	.dz-hero-content { padding: 28px; }
	.dz-hero-title { font-size: 28px; }
	.dz-hero-lead { font-size: 14px; }
	.dz-hero-actions .dz-btn { height: 42px; padding: 0 18px; font-size: 13.5px; }
}

@media (max-width: 640px) {
	.dz-topbar-inner { gap: 8px; }
	.dz-search { max-width: none; }
	.dz-grid-products { gap: 12px; }
	.dz-card-body { padding: 10px; }
	.dz-card-title { font-size: 13px; }
	.dz-card-cart { width: 36px; height: 36px; }
	.dz-features { grid-template-columns: 1fr; }
	.dz-feature { border-top: 1px solid var(--dz-line); }
	.dz-feature:first-child { border-top: 0; }
	.dz-footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.dz-hero { height: 340px; }
	.dz-hero-arrow { display: none; }
	.dz-news-form { flex-wrap: wrap; }
	.dz-news-input { min-width: 100%; }
	.dz-section { margin: 26px auto; }
	.dz-posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   14. إضافات v1.1: وصولية، ميزات تفاعلية، طلب سريع، شريط لاصق.
   ============================================================ */

:focus-visible {
	outline: 2px solid var(--dz-brand-400, #45a281);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* الهيرو: صور متجاوبة + زر إيقاف */
.dz-hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dz-hero-pause {
	position: absolute;
	inset-inline-end: 14px;
	bottom: 14px;
	z-index: 6;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: rgba(6, 34, 27, 0.55);
	color: #fff;
	font-size: 11px;
	cursor: pointer;
}

/* رسالة حالة النشرة */
.dz-news-feedback {
	padding: 10px 0;
	font-size: 13.5px;
	text-align: center;
}
.dz-news-feedback--ok { background: #d9f2e3; color: #105643; }
.dz-news-feedback--check { background: #fef3c7; color: #92400e; }
.dz-news-feedback--unsub { background: var(--dz-surface-2); color: var(--dz-text-2); }
.dz-news-feedback--error { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .dz-news-feedback--ok { background: #064e3b; color: #d1fae5; }
[data-theme="dark"] .dz-news-feedback--error { background: #7f1d1d; color: #fee2e2; }
[data-theme="dark"] .dz-news-feedback--check { background: #78350f; color: #fef3c7; }

/* أزرار إضافية على البطاقة */
.dz-card-compare,
.dz-card-quickview {
	position: absolute;
	inset-inline-start: 12px;
	z-index: 3;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--dz-line);
	background: var(--dz-surface);
	color: var(--dz-text-2);
	cursor: pointer;
}
.dz-card-compare { top: 52px; }
.dz-card-quickview { top: 94px; }
.dz-card-compare.is-active,
.dz-card-quickview:hover { color: var(--dz-brand-600, #146b52); border-color: var(--dz-brand-400, #45a281); }
.dz-badge-new { background: var(--dz-brand-500, #228566); color: #fff; }
.dz-badge-season { background: var(--dz-accent, #fbbf24); color: #06221b; }

/* شريط المقارنة العائم */
.dz-compare-bar {
	position: fixed;
	bottom: 16px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	z-index: 120;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: 100px;
	padding: 8px 10px 8px 18px;
	box-shadow: var(--dz-shadow);
	font-size: 13.5px;
}
[dir="ltr"] .dz-compare-bar { transform: translateX(-50%); }
.dz-compare-clear {
	background: none;
	border: 0;
	color: var(--dz-danger, #e0653a);
	cursor: pointer;
	font-size: 13px;
}

/* جدول المقارنة */
.dz-compare-table-wrap { overflow-x: auto; }
.dz-compare-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	overflow: hidden;
	font-size: 14px;
}
.dz-compare-table th,
.dz-compare-table td {
	border: 1px solid var(--dz-line);
	padding: 12px;
	text-align: center;
	vertical-align: middle;
}
.dz-compare-table tbody th { text-align: start; background: var(--dz-surface-2); white-space: nowrap; }
.dz-compare-table thead th img { max-width: 140px; height: auto; display: block; margin: 0 auto 8px; }

/* نوافذ منبثقة (عرض سريع/إشعار) */
.dz-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 16px;
}
.dz-modal[hidden] { display: none; }
.dz-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 34, 27, 0.6);
	border: 0;
	cursor: pointer;
}
.dz-modal-box {
	position: relative;
	background: var(--dz-surface);
	color: var(--dz-text);
	border-radius: var(--dz-radius-lg);
	max-width: 640px;
	width: 100%;
	max-height: 88vh;
	overflow: auto;
	padding: 26px;
	box-shadow: var(--dz-shadow-lift);
}
.dz-modal-close { position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2; }
.dz-qv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dz-qv-media img { width: 100%; height: auto; border-radius: var(--dz-radius); }
.dz-qv-title { font-size: 20px; margin-bottom: 8px; }
.dz-qv-price { font-size: 18px; font-weight: 700; color: var(--dz-brand-600, #146b52); margin-bottom: 10px; }
.dz-qv-desc { font-size: 14px; color: var(--dz-text-2); margin-bottom: 16px; }
.dz-qv-more { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--dz-brand-600, #146b52); }
@media (max-width: 640px) { .dz-qv { grid-template-columns: 1fr; } }

/* شرائح الثقة + بيانات الدفعة */
.dz-trust-chips {
	list-style: none;
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 12px 0 0;
	padding: 0;
	font-size: 12.5px;
	color: var(--dz-text-2);
}
.dz-trust-chips li { display: inline-flex; align-items: center; gap: 5px; }
.dz-product-extra { list-style: none; margin: 10px 0; padding: 0; font-size: 13px; color: var(--dz-text-2); }

/* شريط الشراء اللاصق */
.dz-sticky-buy {
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 110;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 18px;
	background: var(--dz-surface);
	border-top: 1px solid var(--dz-line);
	box-shadow: 0 -8px 30px rgba(6, 34, 27, 0.12);
}
.dz-sticky-buy[hidden] { display: none; }
.dz-sticky-buy-thumb img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; }
.dz-sticky-buy-title { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-sticky-buy-price { font-weight: 700; color: var(--dz-brand-600, #146b52); white-space: nowrap; }
@media (max-width: 640px) {
	.dz-sticky-buy-title { display: none; }
}

/* الطلب السريع */
.dz-quick-order {
	margin-top: 22px;
	border: 2px solid var(--dz-brand-500, #228566);
	border-radius: var(--dz-radius-lg);
	padding: 20px;
	background: var(--dz-surface);
}
.dz-quick-order-title { font-size: 18px; margin-bottom: 14px; }
.dz-qo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .dz-qo-grid { grid-template-columns: 1fr; } }
.dz-qo-delivery { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.dz-qo-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--dz-line);
	border-radius: 100px;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 14px;
}
.dz-qo-radio:has(input:checked) { border-color: var(--dz-brand-500, #228566); background: var(--dz-brand-50, #eef7f3); }
.dz-qo-submit { width: 100%; margin-top: 12px; }
.dz-qo-note { font-size: 12.5px; color: var(--dz-text-2); text-align: center; margin-top: 10px; }
.dz-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }

/* رسائل النماذج */
.dz-feature-msg, .dz-qo-msg {
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 13.5px;
	margin: 12px 0;
}
.dz-feature-msg.is-ok, .dz-qo-msg.is-ok { background: #d9f2e3; color: #105643; }
.dz-feature-msg.is-error, .dz-qo-msg.is-error { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .dz-feature-msg.is-ok { background: #064e3b; color: #d1fae5; }
[data-theme="dark"] .dz-feature-msg.is-error { background: #7f1d1d; color: #fee2e2; }

/* فلاتر المتجر + تحميل المزيد */
.dz-shop-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 18px;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	padding: 12px;
}
.dz-shop-filters select,
.dz-shop-filters input[type="number"] { max-width: 150px; }
.dz-filter-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.dz-filter-reset { font-size: 13px; color: var(--dz-danger, #e0653a); }
.dz-loadmore-wrap { text-align: center; margin: 26px 0; }

/* تخطيط سايدبار المتجر الاختياري */
.dz-shop-layout { display: flex; gap: 24px; align-items: flex-start; }
.dz-shop-sidebar { width: 260px; flex-shrink: 0; }
.dz-shop-main { flex: 1; min-width: 0; }
@media (max-width: 900px) {
	.dz-shop-layout { flex-direction: column; }
	.dz-shop-sidebar { width: 100%; }
}

/* ويدجتات الفوتر */
.dz-footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

/* تتبع الطلب + ولاء + هدايا + محدد */
.dz-track-card {
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	padding: 16px;
	margin: 14px 0;
}
.dz-track-row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--dz-line);
	font-size: 14px;
}
.dz-track-row:last-child { border-bottom: 0; }
.dz-loyalty-points { font-size: 16px; margin: 12px 0; }
.dz-gift-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
	margin: 16px 0;
}
.dz-gift-item {
	border: 1px solid var(--dz-line);
	border-radius: var(--dz-radius);
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	background: var(--dz-surface);
}
.dz-gift-item:has(input:checked) { border-color: var(--dz-brand-500, #228566); }
.dz-gift-thumb img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; }
.dz-finder-results { margin-top: 22px; }

/* حاسبة الجملة (شرائح نشطة) */
.dz-wcalc-tier {
	display: inline-block;
	border: 1px solid var(--dz-line);
	border-radius: 100px;
	padding: 5px 12px;
	margin: 4px;
	font-size: 13px;
}
.dz-wcalc-tier.is-active { background: var(--dz-brand-500, #228566); color: #fff; border-color: transparent; }
.dz-empty-note { color: var(--dz-text-2); padding: 18px 0; }

/* طبقات التعتيم كأزرار */
button.dz-sidebar-overlay,
button.dz-cart-overlay {
	border: 0;
	padding: 0;
	margin: 0;
	appearance: none;
}

/* ============================================================
   15. زر «اشترِ الآن» + مودال الطلب السريع.
   ============================================================ */

.dz-buynow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex: 0 0 auto;
	white-space: nowrap;
	height: 46px;
	background: var(--dz-brand-950, #06221b);
	color: #fff;
	border: 1px solid var(--dz-brand-950, #06221b);
	vertical-align: middle;
}
.dz-buynow-btn:hover {
	background: var(--dz-brand-500, #228566);
	border-color: var(--dz-brand-500, #228566);
	color: #fff;
}
form.cart .dz-buynow-btn { margin-top: 0; }

.dz-buynow-modal .dz-buynow-box { max-width: 620px; }
.dz-buynow-title { font-size: 19px; margin-bottom: 16px; padding-inline-end: 40px; }
.dz-bn-variation-summary {
	background: var(--dz-brand-50, #eef7f3);
	border: 1px solid var(--dz-line);
	border-radius: 12px;
	padding: 9px 14px;
	font-size: 13.5px;
	margin-bottom: 14px;
}
[data-theme="dark"] .dz-bn-variation-summary { background: var(--dz-surface-2); }
.dz-buynow-form select:disabled { opacity: 0.6; }
.dz-qo-address-field { grid-column: 1 / -1; }

/* ============================================================
   16. نموذج الطلب السريع (مودال/مدمج): حقول كاملة العرض + ملخص حي.
   (خارج .dz-wc لذلك لا تعتمد على dz-product.css المُقيّدة بالنطاق)
   ============================================================ */

.dz-quick-order .dz-field,
.dz-buynow-form .dz-field,
.dz-quick-form .dz-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
	min-width: 0;
}
.dz-quick-order label,
.dz-buynow-form label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--dz-text);
}
.dz-quick-order input[type="text"],
.dz-quick-order input[type="tel"],
.dz-quick-order input[type="number"],
.dz-quick-order select,
.dz-quick-order textarea,
.dz-buynow-form input[type="text"],
.dz-buynow-form input[type="tel"],
.dz-buynow-form input[type="number"],
.dz-buynow-form select,
.dz-buynow-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid var(--dz-line);
	border-radius: 12px;
	background: var(--dz-surface);
	color: var(--dz-text);
	font-family: inherit;
	font-size: 15px;
}
.dz-quick-order textarea,
.dz-buynow-form textarea { min-height: 64px; resize: vertical; }
.dz-quick-order input:focus,
.dz-quick-order select:focus,
.dz-quick-order textarea:focus,
.dz-buynow-form input:focus,
.dz-buynow-form select:focus,
.dz-buynow-form textarea:focus {
	outline: none;
	border-color: var(--dz-brand-400, #45a281);
	box-shadow: 0 0 0 3px rgba(34, 133, 102, 0.15);
}
.dz-quick-order input[name="qty"],
.dz-buynow-form input[name="qty"] { max-width: 150px; }
.dz-qo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
@media (max-width: 640px) { .dz-qo-grid { grid-template-columns: 1fr; } }

.dz-buynow-box { padding: 28px; }
@media (max-width: 640px) { .dz-buynow-box { padding: 20px 16px; } }
.dz-buynow-title { font-size: 19px; line-height: 1.5; margin-bottom: 18px; }

/* ملخص الطلب الحي */
.dz-order-summary {
	background: var(--dz-brand-50, #eef7f3);
	border: 1px solid var(--dz-line);
	border-radius: 16px;
	padding: 14px 16px;
	margin: 16px 0;
}
[data-theme="dark"] .dz-order-summary { background: var(--dz-surface-2); }
.dz-os-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding: 6px 0;
	font-size: 14px;
	color: var(--dz-text-2);
}
.dz-os-row strong { color: var(--dz-text); white-space: nowrap; }
.dz-os-row + .dz-os-row { border-top: 1px dashed var(--dz-line); }
.dz-os-total {
	font-size: 16px;
	font-weight: 700;
	color: var(--dz-text);
}
.dz-os-total strong {
	color: var(--dz-brand-600, #146b52);
	font-size: 19px;
}
[data-theme="dark"] .dz-os-total strong { color: var(--dz-brand-300, #78c1a5); }

/* ============================================================
   17. الجملة: منشئ الطلب + جدول الشرائح + بطاقات.
   ============================================================ */

.dz-ws-hint { color: var(--dz-text-2); font-size: 14px; margin-bottom: 16px; }
.dz-ws-rows { display: flex; flex-direction: column; gap: 10px; }
.dz-ws-row {
	display: grid;
	grid-template-columns: 72px 1fr auto auto;
	align-items: center;
	gap: 14px;
	background: var(--dz-surface);
	border: 1px solid var(--dz-line);
	border-radius: 16px;
	padding: 12px 16px;
}
.dz-ws-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; display: block; }
.dz-ws-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dz-ws-name a { font-weight: 600; }
.dz-ws-name small { color: var(--dz-text-2); font-size: 12.5px; }
.dz-ws-qty { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--dz-text-2); }
.dz-ws-qty input {
	width: 92px;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--dz-line);
	border-radius: 12px;
	background: var(--dz-surface);
	color: var(--dz-text);
	font-family: inherit;
	font-size: 15px;
	text-align: center;
}
.dz-ws-line { min-width: 130px; text-align: end; color: var(--dz-brand-600, #146b52); }
[data-theme="dark"] .dz-ws-line { color: var(--dz-brand-300, #78c1a5); }
.dz-ws-summary {
	position: sticky;
	bottom: 12px;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin-top: 16px;
	background: var(--dz-brand-50, #eef7f3);
	border: 1px solid var(--dz-line);
	border-radius: 16px;
	padding: 14px 18px;
	box-shadow: var(--dz-shadow-sm);
	font-size: 14px;
}
[data-theme="dark"] .dz-ws-summary { background: var(--dz-surface-2); }
.dz-ws-grand { font-size: 16px; }
.dz-ws-grand strong { color: var(--dz-brand-600, #146b52); font-size: 19px; }
[data-theme="dark"] .dz-ws-grand strong { color: var(--dz-brand-300, #78c1a5); }
.dz-ws-submit { margin-inline-start: auto; }
.dz-ws-note { font-size: 12.5px; color: var(--dz-text-2); margin-top: 10px; }
@media (max-width: 640px) {
	.dz-ws-row { grid-template-columns: 56px 1fr auto; }
	.dz-ws-thumb img { width: 56px; height: 56px; }
	.dz-ws-line { grid-column: 1 / -1; text-align: start; }
	.dz-ws-submit { margin-inline-start: 0; width: 100%; }
}

.dz-ws-tiers {
	border: 1px solid var(--dz-line);
	border-radius: 16px;
	padding: 14px 16px;
	margin: 14px 0;
	background: var(--dz-surface-2);
}
.dz-ws-tiers-title { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.dz-ws-tiers-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dz-ws-tiers-table td { padding: 6px 8px; border-top: 1px dashed var(--dz-line); }
.dz-ws-tiers-table tr:first-child td { border-top: 0; }
.dz-ws-tiers-table td:last-child { text-align: end; color: var(--dz-brand-600, #146b52); font-weight: 600; }

.dz-card-wholesale {
	font-size: 12px;
	font-weight: 600;
	color: var(--dz-brand-600, #146b52);
	margin-top: 6px;
}
[data-theme="dark"] .dz-card-wholesale { color: var(--dz-brand-300, #78c1a5); }

.dz-wcalc-add { width: 100%; margin-top: 10px; }
.dz-gros-cta { flex-wrap: wrap; }

.dz-ws-guest-prompt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--dz-brand-50, #eef7f3);
	border: 1px dashed var(--dz-brand-400, #45a281);
	border-radius: 16px;
	padding: 16px 18px;
	margin: 16px 0;
	font-size: 14px;
}
[data-theme="dark"] .dz-ws-guest-prompt { background: var(--dz-surface-2); }
.dz-ws-guest-prompt p { margin: 0; flex: 1; min-width: 220px; }

/* ويدجتات سايدبار المتجر (بحث منتجات/تصنيفات/فلترة سعر) */
.dz-shop-widget { margin-bottom: 24px; }
.dz-shop-widget-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--dz-text);
	margin-bottom: 12px;
}
.dz-shop-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dz-shop-sidebar ul li {
	padding: 7px 0;
	border-bottom: 1px dashed var(--dz-line);
	font-size: 14px;
}
.dz-shop-sidebar ul li:last-child { border-bottom: 0; }
.dz-shop-sidebar ul li a { color: var(--dz-text-2); text-decoration: none; }
.dz-shop-sidebar ul li a:hover { color: var(--dz-brand-600, #146b52); }
.dz-shop-sidebar .product-search-form { display: flex; gap: 8px; }
.dz-shop-sidebar .product-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--dz-line);
	border-radius: 12px;
	background: var(--dz-surface);
	color: var(--dz-text);
	font-family: inherit;
}
.dz-shop-sidebar .wc-block-product-categories-list-item-count,
.dz-shop-sidebar .count {
	color: var(--dz-text-3);
	font-size: 12px;
}
