/* ==========================================================================
   الزييود — تنسيقات المتجر (المكونات المشتركة)
   تعتمد على design-tokens.css — لا قيم ألوان مباشرة هنا.
   ========================================================================== */

/* ---------- الأساس ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--zy-font);
  font-size: var(--zy-fs-body);
  line-height: 1.8;
  color: var(--zy-text);
  background: var(--zy-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--zy-bottom-offset);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; color: var(--zy-text); }
h1, .h1 { font-size: var(--zy-fs-h1); }
h2, .h2 { font-size: var(--zy-fs-h2); }
h3, .h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--zy-primary); text-decoration: none; transition: color var(--zy-dur-fast) var(--zy-ease); }
a:hover { color: var(--zy-primary-deep); }
img { max-width: 100%; height: auto; }
::selection { background: rgba(var(--zy-primary-rgb), .18); }
.text-muted, .zy-muted { color: var(--zy-muted) !important; }
.fw-800 { font-weight: 800 !important; }
.bg-cream { background: var(--zy-cream) !important; }
.min-w-0 { min-width: 0 !important; }

/* التركيز المرئي — أزرق صلب مميز عن حالة الخطأ */
:focus-visible { outline: 2px solid var(--zy-focus) !important; outline-offset: 2px; box-shadow: none !important; }
.zy-on-dark :focus-visible, .zy-footer :focus-visible, .zy-topbar :focus-visible { outline-color: var(--zy-focus-on-dark) !important; }

.zy-noscript { background: var(--zy-warning-bg); color: var(--zy-warning-text); padding: .9rem 1rem; text-align: center; font-weight: 600; }
.zy-noscript a { color: inherit; text-decoration: underline; }
.zy-skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 2000;
  background: var(--zy-charcoal); color: #fff; padding: .6rem 1rem; border-radius: var(--zy-radius-sm);
}
.zy-skip-link:focus { top: 1rem; color: #fff; }

/* ---------- الأزرار ---------- */
.btn { font-weight: 600; border-radius: var(--zy-radius-sm); min-height: var(--zy-touch); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all var(--zy-dur-fast) var(--zy-ease); }
.btn-sm { min-height: 36px; }
.btn-lg { min-height: 52px; font-size: 1.05rem; padding-inline: 1.5rem; }
.btn-zy { background: var(--zy-btn-bg); color: var(--zy-btn-text); border: 1px solid var(--zy-btn-bg); }
.btn-zy:hover, .btn-zy:focus-visible { background: var(--zy-btn-bg-hover); border-color: var(--zy-btn-bg-hover); color: #fff; }
.btn-zy:active { transform: translateY(1px); }
.btn-zy:disabled, .btn-zy.disabled { background: var(--zy-border-strong); border-color: var(--zy-border-strong); color: var(--zy-muted); opacity: 1; }
.btn-zy-outline { background: transparent; color: var(--zy-text); border: 1px solid var(--zy-border-strong); }
.btn-zy-outline:hover { border-color: var(--zy-primary); color: var(--zy-primary); background: var(--zy-primary-soft); }
.btn-zy-ghost { background: transparent; border: 0; color: var(--zy-text); }
.btn-zy-ghost:hover { background: var(--zy-cream); color: var(--zy-primary); }
.btn-zy-dark { background: var(--zy-charcoal); color: #fff; border: 1px solid var(--zy-charcoal); }
.btn-zy-dark:hover { background: #000; color: #fff; }
.btn-zy-light { background: #fff; color: #242424; border: 1px solid #fff; }
.btn-zy-light:hover { background: #F7F3ED; color: #8F1821; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.zy-icon-btn {
  position: relative; width: var(--zy-touch); height: var(--zy-touch); min-width: var(--zy-touch);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; background: transparent; color: var(--zy-text); font-size: 1.3rem;
  transition: background var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease);
}
.zy-icon-btn:hover { background: var(--zy-cream); color: var(--zy-primary); }
.zy-count {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--zy-radius-pill); background: var(--zy-btn-bg); color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
  border: 2px solid var(--zy-bg);
}
.zy-count:empty, .zy-count[data-count="0"] { display: none; }
.zy-bump { animation: zyBump .5s var(--zy-ease); }
@keyframes zyBump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* حجز مساحة الهيدر قبل بنائه (36px شريط علوي + الهيدر) لمنع إزاحة المحتوى */
#zy-header { min-height: var(--zy-header-h); background: var(--zy-bg); border-bottom: 1px solid var(--zy-border); }

/* ---------- الشريط العلوي وتنبيه العرض ---------- */
.zy-topbar { background: var(--zy-charcoal); color: var(--zy-on-charcoal-muted); font-size: var(--zy-fs-xs); }
.zy-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.zy-topbar a { color: #fff; }
.zy-topbar a:hover { color: #fff; text-decoration: underline; }
.zy-demo-note { display: inline-flex; align-items: center; gap: .4rem; }
.zy-demo-note i { color: #F0C06A; }
.zy-announce { background: var(--zy-btn-bg); color: #fff; text-align: center; font-size: var(--zy-fs-sm); font-weight: 600; padding: .45rem 1rem; }
.zy-announce a { color: #fff; text-decoration: underline; }

/* ---------- الهيدر ---------- */
.zy-header { position: sticky; top: 0; z-index: var(--zy-z-header); background: var(--zy-bg); border-bottom: 1px solid var(--zy-border); transition: box-shadow var(--zy-dur) var(--zy-ease); }
.zy-header.is-scrolled { box-shadow: var(--zy-shadow-sm); }
.zy-header-main { display: flex; align-items: center; gap: 1rem; min-height: var(--zy-header-h); }
.zy-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--zy-text); flex-shrink: 0; }
.zy-logo:hover { color: var(--zy-text); }
.zy-logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.zy-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.zy-logo-name { font-size: 1.55rem; font-weight: 800; color: var(--zy-primary); letter-spacing: 0; }
.zy-logo-sub { font-size: .74rem; font-weight: 600; color: var(--zy-muted); margin-top: 2px; }
.zy-header-actions { display: flex; align-items: center; gap: .15rem; margin-inline-start: auto; }

/* البحث */
.zy-search { position: relative; flex: 1 1 auto; max-width: 560px; }
.zy-search form { display: flex; align-items: center; background: var(--zy-cream); border: 1px solid transparent; border-radius: var(--zy-radius-pill); transition: border-color var(--zy-dur-fast), background var(--zy-dur-fast), box-shadow var(--zy-dur-fast); }
.zy-search form:focus-within { background: var(--zy-surface); border-color: var(--zy-border-strong); box-shadow: var(--zy-shadow-sm); }
.zy-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .65rem 1.1rem; font-size: .95rem; color: var(--zy-text); height: 46px; }
.zy-search input:focus { outline: none; }
.zy-search input:focus-visible { outline: none !important; }
.zy-search form:has(input:focus-visible) { outline: 2px solid var(--zy-focus); outline-offset: 2px; }
.zy-search input::placeholder { color: var(--zy-muted); }
.zy-search button[type="submit"] { width: 40px; height: 40px; margin: 3px; border-radius: 50%; border: 0; background: var(--zy-btn-bg); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.zy-search button[type="submit"]:hover { background: var(--zy-btn-bg-hover); }
.zy-search-clear { border: 0; background: transparent; color: var(--zy-muted); width: 36px; height: 36px; display: none; align-items: center; justify-content: center; border-radius: 50%; }
.zy-search.has-value .zy-search-clear { display: inline-flex; }
.zy-suggest { position: absolute; top: calc(100% + 6px); inset-inline: 0; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); box-shadow: var(--zy-shadow-lg); padding: .4rem; z-index: 1040; display: none; max-height: 70vh; overflow: auto; }
.zy-suggest.show { display: block; animation: zyFadeDown var(--zy-dur) var(--zy-ease); }
.zy-suggest a { display: flex; align-items: center; gap: .75rem; padding: .45rem .6rem; border-radius: var(--zy-radius-sm); color: var(--zy-text); }
.zy-suggest a:hover, .zy-suggest a.active { background: var(--zy-cream); }
.zy-suggest img { width: 44px; height: 44px; border-radius: var(--zy-radius-sm); object-fit: cover; background: var(--zy-cream); }
.zy-suggest .s-name { font-weight: 600; font-size: .92rem; line-height: 1.4; }
.zy-suggest .s-meta { font-size: .8rem; color: var(--zy-muted); }
.zy-suggest .s-all { justify-content: center; color: var(--zy-primary); font-weight: 600; border-top: 1px solid var(--zy-border); margin-top: .3rem; border-radius: 0 0 var(--zy-radius-sm) var(--zy-radius-sm); }
.zy-suggest-empty { padding: .9rem; text-align: center; color: var(--zy-muted); font-size: .9rem; }
@keyframes zyFadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* شريط التنقل */
.zy-nav { border-top: 1px solid var(--zy-border); }
.zy-nav .container { display: flex; align-items: center; gap: .25rem; }
.zy-nav-link { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem .9rem; color: var(--zy-text); font-weight: 600; font-size: .95rem; position: relative; border-radius: var(--zy-radius-sm); }
.zy-nav-link::after { content: ""; position: absolute; bottom: 4px; inset-inline: .9rem; height: 2px; background: var(--zy-primary); transform: scaleX(0); transition: transform var(--zy-dur) var(--zy-ease); }
.zy-nav-link:hover, .zy-nav-link.active { color: var(--zy-primary); }
.zy-nav-link:hover::after, .zy-nav-link.active::after { transform: scaleX(1); }
.zy-nav-cats { background: var(--zy-btn-bg); color: #fff !important; margin-inline-end: .5rem; }
.zy-nav-cats::after { display: none; }
.zy-nav-cats:hover { background: var(--zy-btn-bg-hover); }
.zy-nav-phone { margin-inline-start: auto; color: var(--zy-muted); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.zy-nav-phone a { color: var(--zy-text); font-weight: 700; direction: ltr; }

/* Mega menu */
.zy-mega { position: relative; }
.zy-mega-panel {
  position: absolute; top: 100%; inset-inline-start: 0; width: min(760px, 92vw); z-index: 1040;
  background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); box-shadow: var(--zy-shadow-lg);
  padding: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--zy-dur) var(--zy-ease);
}
.zy-mega:hover .zy-mega-panel, .zy-mega:focus-within .zy-mega-panel, .zy-mega.open .zy-mega-panel { opacity: 1; visibility: visible; transform: none; }
.zy-mega.closed .zy-mega-panel { opacity: 0 !important; visibility: hidden !important; transform: translateY(8px) !important; }
.zy-mega-panel a { display: flex; align-items: center; gap: .7rem; padding: .55rem; border-radius: var(--zy-radius-sm); color: var(--zy-text); font-weight: 600; font-size: .92rem; }
.zy-mega-panel a:hover { background: var(--zy-cream); color: var(--zy-primary); }
.zy-mega-panel img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.zy-mega-panel small { display: block; color: var(--zy-muted); font-weight: 400; font-size: .78rem; }

/* بحث الموبايل */
.zy-mobile-search { padding: 0 0 .7rem; transition: margin var(--zy-dur) var(--zy-ease), opacity var(--zy-dur) var(--zy-ease); }
.zy-header.hide-search .zy-mobile-search { margin-top: -58px; opacity: 0; pointer-events: none; }

/* قائمة الموبايل */
.zy-offcanvas { width: min(340px, 88vw) !important; background: var(--zy-bg); color: var(--zy-text); }
.zy-offcanvas .offcanvas-header { border-bottom: 1px solid var(--zy-border); }
.zy-menu-list { list-style: none; padding: 0; margin: 0; }
.zy-menu-list a, .zy-menu-list button.zy-menu-item { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .8rem .6rem; color: var(--zy-text); font-weight: 600; border-radius: var(--zy-radius-sm); border: 0; background: transparent; text-align: start; min-height: var(--zy-touch); }
.zy-menu-list a:hover, .zy-menu-list a.active, .zy-menu-list button.zy-menu-item:hover { background: var(--zy-cream); color: var(--zy-primary); }
.zy-menu-list i { font-size: 1.15rem; width: 1.5rem; text-align: center; color: var(--zy-muted); }
.zy-menu-title { font-size: .78rem; font-weight: 700; color: var(--zy-muted); padding: 1rem .6rem .3rem; }

/* الشريط السفلي (موبايل) */
.zy-bottom-nav {
  position: fixed; bottom: 0; inset-inline: 0; z-index: var(--zy-z-bottombar);
  background: var(--zy-surface); border-top: 1px solid var(--zy-border); box-shadow: 0 -4px 18px rgba(0,0,0,.06);
  display: none; padding-bottom: env(safe-area-inset-bottom);
}
.zy-bottom-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.zy-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; color: var(--zy-muted); font-size: .72rem; font-weight: 600; }
.zy-bottom-nav a i { font-size: 1.25rem; }
.zy-bottom-nav a.active { color: var(--zy-primary); }
.zy-bottom-nav .zy-count { top: 6px; inset-inline-end: calc(50% - 22px); }

/* ---------- الأقسام ---------- */
.zy-section { padding-block: var(--zy-section-y); }
.zy-section-sm { padding-block: clamp(2rem, 4vw, 3rem); }
.zy-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.zy-section-head h2 { margin: 0; }
.zy-eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--zy-primary); font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }
.zy-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.zy-section-head p { color: var(--zy-muted); margin: .25rem 0 0; }
.zy-link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.zy-link-arrow i { transition: transform var(--zy-dur) var(--zy-ease); }
.zy-link-arrow:hover i { transform: translateX(-4px); }

/* ---------- Hero: سلايدر بعرض كامل وارتفاع حسب الشاشة ---------- */
/* الارتفاع = ارتفاع الشاشة المرئي ناقص الهيدر (وشريط التنقل السفلي على الموبايل)، مع حد أدنى وأعلى */
.zy-hero { --hero-h: clamp(520px, calc(100vh - var(--zy-header-h)), 860px); position: relative; padding: 0; background: var(--zy-charcoal); }
@supports (height: 100svh) { .zy-hero { --hero-h: clamp(520px, calc(100svh - var(--zy-header-h)), 860px); } }
.zy-hero .carousel, .zy-hero .carousel-inner, .zy-hero .carousel-item { height: var(--hero-h); }
.zy-hero .carousel { border-radius: 0; overflow: hidden; background: var(--zy-charcoal); }
.zy-hero-slide { position: relative; height: 100%; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.zy-hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; transform-origin: 60% 50%; }
.zy-hero .carousel-item.active .zy-hero-slide > img { animation: zyKen 14s cubic-bezier(.2,.6,.3,1) both; }
@keyframes zyKen { from { transform: scale(1.12); } to { transform: scale(1); } }
/* طبقتا تدرج: جانب النص (يمين في RTL) + أسفل لشريط التحكم */
.zy-hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(16,12,12,.86) 0%, rgba(16,12,12,.62) 38%, rgba(16,12,12,.12) 72%, rgba(16,12,12,0) 100%),
              linear-gradient(0deg, rgba(16,12,12,.7) 0%, rgba(16,12,12,0) 34%); }
.zy-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 100%; padding-bottom: 92px; padding-top: 2rem; }
.zy-hero-content { max-width: 620px; color: #fff; }
.zy-hero-content .zy-chip { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.zy-hero-content h1, .zy-hero-content h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 800; line-height: 1.25; margin: 1rem 0 .9rem; text-wrap: balance; }
.zy-hero-content p { color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.3vw, 1.2rem); margin-bottom: 1.75rem; max-width: 520px; }
.zy-hero .carousel-item.active .zy-hero-content > * { animation: zyHeroIn .8s var(--zy-ease) both; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(1) { animation-delay: .15s; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(2) { animation-delay: .25s; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(3) { animation-delay: .35s; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(4) { animation-delay: .45s; }
.zy-hero .carousel-item.active .zy-hero-aside { animation: zyHeroAside .9s var(--zy-ease) .35s both; }
@keyframes zyHeroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes zyHeroAside { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.zy-hero.carousel-fade .carousel-item, .zy-hero .carousel-fade .carousel-item { transition-duration: .9s; }

/* بطاقة زجاجية بمنتجات من قسم الشريحة (شاشات كبيرة) */
.zy-hero-aside { display: none; width: 340px; flex-shrink: 0; padding: 1rem; border-radius: var(--zy-radius-lg); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.zy-hero-aside .hd { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }
.zy-hero-aside .hd small { font-weight: 600; color: rgba(255,255,255,.8); }
.zy-hero-aside a.item { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: 14px; color: #fff; transition: background var(--zy-dur-fast) var(--zy-ease); }
.zy-hero-aside a.item:hover { background: rgba(255,255,255,.14); color: #fff; }
.zy-hero-aside img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: rgba(255,255,255,.2); }
.zy-hero-aside .n { font-weight: 700; font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zy-hero-aside .p { font-size: .82rem; color: rgba(255,255,255,.85); }
.zy-hero-aside .all { display: flex; justify-content: center; align-items: center; gap: .35rem; margin-top: .4rem; padding: .55rem; border-radius: 12px; font-weight: 700; font-size: .9rem; color: #fff; background: rgba(255,255,255,.12); }
.zy-hero-aside .all:hover { background: var(--zy-btn-bg); color: #fff; }
.zy-hero-aside :focus-visible { outline-color: var(--zy-focus-on-dark) !important; }

/* شريط التحكم السفلي: العدّاد + مؤشرات التقدم + إيقاف/تشغيل + الأسهم */
.zy-hero-bar { position: absolute; inset-inline: 0; bottom: 0; z-index: 5; padding-bottom: clamp(1rem, 2.4vw, 1.75rem); pointer-events: none; }
.zy-hero-bar .container { display: flex; align-items: center; gap: 1.25rem; }
.zy-hero-bar .container > * { pointer-events: auto; }
.zy-hero-count { color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zy-hero-count b { font-size: 1.35rem; font-weight: 800; }
.zy-hero-count span { color: rgba(255,255,255,.7); }
.zy-hero .carousel-indicators { position: static; margin: 0; padding: 0; justify-content: flex-start; gap: .5rem; flex: 1; }
.zy-hero .carousel-indicators [data-bs-target] { position: relative; width: clamp(34px, 6vw, 72px); height: 24px; margin: 0; padding: 0; border: 0; background: transparent; opacity: 1; text-indent: 0; flex: 0 0 auto; }
.zy-hero .carousel-indicators [data-bs-target]::before, .zy-hero .carousel-indicators [data-bs-target]::after { content: ""; position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.zy-hero .carousel-indicators [data-bs-target]::before { inset-inline: 0; background: rgba(255,255,255,.35); transition: background var(--zy-dur-fast); }
.zy-hero .carousel-indicators [data-bs-target]:hover::before { background: rgba(255,255,255,.6); }
.zy-hero .carousel-indicators [data-bs-target]::after { inset-inline-start: 0; width: 0; background: #fff; }
.zy-hero .carousel-indicators .active::after { width: 100%; }
.zy-hero.is-playing .carousel-indicators .active::after { width: 0; animation: zyHeroProgress var(--hero-int, 7000ms) linear forwards; }
.zy-hero.is-hold .carousel-indicators .active::after { animation-play-state: paused; }
@keyframes zyHeroProgress { from { width: 0; } to { width: 100%; } }
.zy-hero-nav { display: flex; gap: .5rem; }
.zy-hero-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 1.15rem; backdrop-filter: blur(6px); transition: background var(--zy-dur-fast) var(--zy-ease), transform var(--zy-dur-fast) var(--zy-ease); }
.zy-hero-btn:hover { background: rgba(255,255,255,.28); color: #fff; }
.zy-hero-btn:active { transform: scale(.94); }
.zy-hero-btn:focus-visible { outline-color: var(--zy-focus-on-dark) !important; }

.zy-chip { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.zy-hero-content h1, .zy-hero-content h2 { color: #fff; font-size: var(--zy-fs-display); font-weight: 800; line-height: 1.3; margin: .9rem 0; }
.zy-hero-content p { color: rgba(255,255,255,.88); font-size: 1.08rem; margin-bottom: 1.6rem; }
.zy-hero .carousel-item.active .zy-hero-content > * { animation: zyHeroIn .7s var(--zy-ease) both; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(2) { animation-delay: .08s; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(3) { animation-delay: .16s; }
.zy-hero .carousel-item.active .zy-hero-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes zyHeroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.zy-hero .carousel-control-prev, .zy-hero .carousel-control-next { width: 48px; height: 48px; top: auto; bottom: 1.25rem; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); opacity: 1; border: 1px solid rgba(255,255,255,.3); }
.zy-hero .carousel-control-prev { right: auto; left: 5rem; }
.zy-hero .carousel-control-next { right: auto; left: 1.25rem; }
.zy-hero .carousel-control-prev:hover, .zy-hero .carousel-control-next:hover { background: rgba(255,255,255,.3); }
.zy-hero .carousel-control-prev i, .zy-hero .carousel-control-next i { font-size: 1.2rem; color: #fff; }
.zy-hero .carousel-indicators { justify-content: flex-start; margin: 0; padding-inline: clamp(1.5rem, 5vw, 4rem); bottom: 1.6rem; gap: .4rem; }
.zy-hero .carousel-indicators [data-bs-target] { width: 26px; height: 24px; border: 0; margin: 0; padding: 0; background: transparent; opacity: .45; position: relative; text-indent: 0; transition: all var(--zy-dur) var(--zy-ease); }
.zy-hero .carousel-indicators [data-bs-target]::before { content: ""; position: absolute; inset: 9px 0; border-radius: 6px; background: #fff; }
.zy-hero .carousel-indicators .active { width: 44px; opacity: 1; }

.zy-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: var(--zy-radius-pill); font-size: .82rem; font-weight: 700; background: var(--zy-primary-soft); color: var(--zy-primary); }

/* ---------- المزايا ---------- */
.zy-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.zy-feature { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-feature:hover { transform: translateY(-3px); box-shadow: var(--zy-shadow); }
.zy-feature-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1.45rem; }
.zy-feature h3 { font-size: 1rem; margin: 0 0 .1rem; }
.zy-feature p { margin: 0; color: var(--zy-muted); font-size: .85rem; line-height: 1.6; }

/* ---------- بطاقة التصنيف ---------- */
.zy-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.zy-cat-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--zy-radius); overflow: hidden; background: var(--zy-cream); color: #fff; isolation: isolate; }
.zy-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--zy-dur-slow) var(--zy-ease); }
.zy-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,14,14,.82) 0%, rgba(18,14,14,.15) 55%, transparent 100%); z-index: 1; }
.zy-cat-card-body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 1rem; display: flex; align-items: end; justify-content: space-between; gap: .5rem; }
.zy-cat-card h3 { color: #fff; font-size: 1.02rem; margin: 0; line-height: 1.45; }
.zy-cat-card small { color: rgba(255,255,255,.82); font-size: .8rem; }
.zy-cat-card .zy-cat-go { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); transition: background var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-cat-card:hover img { transform: scale(1.07); }
.zy-cat-card:hover .zy-cat-go { background: var(--zy-btn-bg); transform: translateX(-3px); }
.zy-cat-card:hover { color: #fff; }

/* ---------- شبكة المنتجات وبطاقة المنتج ---------- */
.zy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.zy-grid.with-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zy-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); overflow: hidden;
  transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), border-color var(--zy-dur) var(--zy-ease);
}
.zy-card:hover { transform: translateY(-4px); box-shadow: var(--zy-shadow); border-color: transparent; }
.zy-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--zy-cream); overflow: hidden; }
.zy-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--zy-dur-slow) var(--zy-ease); }
.zy-card:hover .zy-card-media img { transform: scale(1.06); }
.zy-card-badges { position: absolute; top: .65rem; inset-inline-start: .65rem; display: flex; flex-direction: column; gap: .3rem; z-index: 2; align-items: flex-start; }
.zy-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .55rem; border-radius: 6px; font-size: var(--zy-fs-xs); font-weight: 700; line-height: 1.6; }
.zy-tag-sale { background: var(--zy-btn-bg); color: #fff; }
.zy-tag-new { background: var(--zy-charcoal); color: #fff; }
.zy-tag-best { background: #FBEFD6; color: #5C3D00; }
.zy-tag-out { background: #4A4A4A; color: #fff; }
.zy-heart {
  position: absolute; top: .45rem; inset-inline-end: .45rem; z-index: 3;
  width: var(--zy-touch); height: var(--zy-touch); border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: #242424; font-size: 1.1rem;
  display: grid; place-items: center; box-shadow: var(--zy-shadow-sm);
  transition: transform var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast), background var(--zy-dur-fast);
}
.zy-heart:hover { transform: scale(1.08); color: #B9232D; }
.zy-heart[aria-pressed="true"] { color: #B9232D; }
.zy-heart[aria-pressed="true"] .bi-heart::before { content: "\f415"; } /* bi-heart-fill */
.zy-heart.pop { animation: zyHeart .45s var(--zy-ease); }
@keyframes zyHeart { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
.zy-card-body { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem 1rem; flex: 1; }
.zy-card-cat { font-size: .78rem; color: var(--zy-muted); font-weight: 600; }
.zy-card-title { font-size: var(--zy-fs-h3); font-weight: 700; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 2); }
.zy-card-title a { color: var(--zy-text); }
.zy-card-title a:hover { color: var(--zy-primary); }
.zy-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* البطاقة كلها قابلة للنقر */
.zy-card-pack { font-size: .82rem; color: var(--zy-muted); display: flex; align-items: center; gap: .3rem; }
.zy-card-foot { margin-top: auto; padding-top: .55rem; display: flex; flex-direction: column; gap: .6rem; }
.zy-card-price-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.zy-card .btn { position: relative; z-index: 2; width: 100%; }

/* السعر */
.zy-price-wrap { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; }
.zy-price { color: var(--zy-primary); font-weight: 800; font-size: var(--zy-fs-price); line-height: 1.2; white-space: nowrap; }
.zy-price small { font-size: .72em; font-weight: 700; }
.zy-price-from { font-size: .78rem; color: var(--zy-muted); font-weight: 600; }
.zy-price-old { color: var(--zy-muted); text-decoration: line-through; font-size: .9rem; white-space: nowrap; }
.zy-price-note { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; color: var(--zy-muted); font-weight: 600; cursor: help; position: relative; z-index: 2; }
.zy-price-note i { font-size: .85rem; }
.zy-price-tag { display: inline-flex; align-items: center; gap: .3rem; background: var(--zy-cream); color: var(--zy-muted); border: 1px solid var(--zy-border); font-size: .78rem; font-weight: 600; padding: .1rem .55rem; border-radius: 6px; }

/* شارات التوفر */
.zy-stock { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--zy-fs-xs); font-weight: 700; padding: .12rem .55rem; border-radius: 6px; }
.zy-stock-in { background: var(--zy-success-bg); color: var(--zy-success-text); }
.zy-stock-low { background: var(--zy-warning-bg); color: var(--zy-warning-text); }
.zy-stock-out { background: var(--zy-danger-bg); color: var(--zy-danger-text); }

/* شارات حالات الطلب */
.zy-status { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--zy-fs-xs); font-weight: 700; padding: .25rem .7rem; border-radius: var(--zy-radius-pill); white-space: nowrap; }
.zy-status-new { color: var(--zy-st-new); background: var(--zy-st-new-bg); }
.zy-status-review { color: var(--zy-st-review); background: var(--zy-st-review-bg); }
.zy-status-confirmed { color: var(--zy-st-confirmed); background: var(--zy-st-confirmed-bg); }
.zy-status-preparing { color: var(--zy-st-preparing); background: var(--zy-st-preparing-bg); }
.zy-status-ready { color: var(--zy-st-ready); background: var(--zy-st-ready-bg); }
.zy-status-shipped { color: var(--zy-st-shipped); background: var(--zy-st-shipped-bg); }
.zy-status-completed { color: var(--zy-st-completed); background: var(--zy-st-completed-bg); }
.zy-status-cancelled { color: var(--zy-st-cancelled); background: var(--zy-st-cancelled-bg); }
.zy-demo-badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700; padding: .05rem .45rem; border-radius: 5px; background: var(--zy-warning-bg); color: var(--zy-warning-text); vertical-align: middle; }

/* ---------- عنوان الصفحة و Breadcrumb ---------- */
.zy-page-head { background: var(--zy-cream); padding: 1.6rem 0 1.8rem; border-bottom: 1px solid var(--zy-border); }
.zy-page-head h1 { margin: .3rem 0 0; }
.zy-page-head p { color: var(--zy-muted); margin: .4rem 0 0; max-width: 680px; }
.breadcrumb { font-size: .86rem; margin: 0; --bs-breadcrumb-divider: "‹"; }
.breadcrumb-item a { color: var(--zy-muted); }
.breadcrumb-item a:hover { color: var(--zy-primary); }
.breadcrumb-item.active { color: var(--zy-text); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: .5rem; padding-right: 0; color: var(--zy-muted); }

.zy-cat-hero { position: relative; border-radius: var(--zy-radius-lg); overflow: hidden; min-height: 200px; display: flex; align-items: end; color: #fff; margin-top: 1rem; }
.zy-cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zy-cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(18,14,14,.85), rgba(18,14,14,.35)); }
.zy-cat-hero-body { position: relative; z-index: 2; padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem); max-width: 640px; }
.zy-cat-hero h1 { color: #fff; margin: .3rem 0 .4rem; }
.zy-cat-hero p { color: rgba(255,255,255,.88); margin: 0; }
.zy-cat-hero .breadcrumb-item a, .zy-cat-hero .breadcrumb-item.active, .zy-cat-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.85); }

/* ---------- الفلاتر والترتيب ---------- */
.zy-filters { position: sticky; top: calc(var(--zy-header-h) + 20px); background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.1rem; }
.zy-filter-group { padding-block: .9rem; border-bottom: 1px solid var(--zy-border); }
.zy-filter-group:last-of-type { border-bottom: 0; }
.zy-filter-group h2, .zy-filter-group legend { font-size: .95rem; font-weight: 700; margin-bottom: .6rem; float: none; }
.zy-filter-group .form-check { min-height: 32px; display: flex; align-items: center; gap: .55rem; padding-inline-start: 0; margin: 0; }
.zy-filter-group .form-check-input { float: none; margin: 0; flex-shrink: 0; width: 1.15em; height: 1.15em; }
.zy-filter-group .form-check-label { flex: 1; display: flex; justify-content: space-between; font-size: .92rem; cursor: pointer; }
.zy-filter-group .form-check-label span { color: var(--zy-muted); font-size: .8rem; }
.form-check-input:checked { background-color: var(--zy-btn-bg); border-color: var(--zy-btn-bg); }
.zy-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.zy-toolbar .form-select { width: auto; min-width: 190px; }
.zy-result-count { color: var(--zy-muted); font-size: .92rem; }
.zy-result-count strong { color: var(--zy-text); }
.zy-active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.zy-active-filters:empty { display: none; }
.zy-filter-chip { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--zy-border-strong); background: var(--zy-surface); color: var(--zy-text); border-radius: var(--zy-radius-pill); padding: .2rem .4rem .2rem .75rem; font-size: .82rem; font-weight: 600; min-height: 34px; }
.zy-filter-chip:hover { border-color: var(--zy-primary); color: var(--zy-primary); }
.zy-load-more { text-align: center; margin-top: 2rem; }
.zy-load-more small { display: block; color: var(--zy-muted); margin-bottom: .6rem; }
.zy-progress { width: 180px; height: 4px; margin: 0 auto .9rem; background: var(--zy-border); border-radius: 4px; overflow: hidden; }
.zy-progress span { display: block; height: 100%; background: var(--zy-primary); border-radius: 4px; transition: width var(--zy-dur-slow) var(--zy-ease); }

/* ---------- النماذج ---------- */
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--zy-text); }
.form-label .req { color: var(--zy-danger-text); margin-inline-start: .15rem; }
.form-label .opt { color: var(--zy-muted); font-weight: 400; font-size: .82rem; margin-inline-start: .25rem; }
.form-control, .form-select { min-height: 48px; border-radius: var(--zy-radius-sm); border-color: var(--zy-border-strong); background-color: var(--zy-surface); color: var(--zy-text); font-size: .98rem; }
textarea.form-control { min-height: 110px; }
.form-control:focus, .form-select:focus { border-color: var(--zy-focus); box-shadow: 0 0 0 3px rgba(29, 95, 134, .18); background-color: var(--zy-surface); color: var(--zy-text); }
.form-control::placeholder { color: var(--zy-muted); opacity: .85; }
.form-text { color: var(--zy-muted); font-size: .82rem; }
.form-select { background-position: left .75rem center; padding-left: 2.25rem; padding-right: .75rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--zy-danger); background-image: none; padding-left: .75rem; }
.form-control.is-valid { border-color: var(--zy-border-strong); background-image: none; }
.invalid-feedback { color: var(--zy-danger-text); font-size: .84rem; font-weight: 600; }
.invalid-feedback::before { content: "\f33a"; font-family: "bootstrap-icons"; margin-inline-end: .3rem; vertical-align: -.1em; } /* bi-exclamation-circle */
.zy-input-icon { position: relative; }
.zy-input-icon .form-control { padding-inline-end: 3rem; }
.zy-pass-toggle { position: absolute; top: 2px; inset-inline-end: 2px; width: var(--zy-touch); height: var(--zy-touch); border: 0; background: transparent; color: var(--zy-muted); border-radius: var(--zy-radius-sm); }
.zy-pass-toggle:hover { color: var(--zy-text); }
.zy-phone-input { direction: ltr; text-align: right; }
.zy-num { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.zy-date { position: relative; }
.zy-date > input:not(.zy-date-native) { padding-left: 3rem; }
.zy-date-btn { position: absolute; top: 2px; left: 2px; width: var(--zy-touch); height: var(--zy-touch); border: 0; background: transparent; color: var(--zy-muted); border-radius: var(--zy-radius-sm); display: grid; place-items: center; }
.zy-date-btn:hover { color: var(--zy-primary); background: var(--zy-cream); }
.zy-date-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; min-height: 0; }
.zy-phone-input::placeholder { text-align: right; }
.zy-form-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: clamp(1.25rem, 3vw, 2rem); }
.zy-form-alert { display: none; }
.zy-form-alert.show { display: flex; }
.alert { border-radius: var(--zy-radius-sm); display: flex; gap: .6rem; align-items: flex-start; }
.alert i { font-size: 1.1rem; line-height: 1.6; }
.alert-info { background: var(--zy-info-bg); color: var(--zy-info-text); border-color: transparent; }
.alert-warning { background: var(--zy-warning-bg); color: var(--zy-warning-text); border-color: transparent; }
.alert-danger { background: var(--zy-danger-bg); color: var(--zy-danger-text); border-color: transparent; }
.alert-success { background: var(--zy-success-bg); color: var(--zy-success-text); border-color: transparent; }
.alert a { color: inherit; text-decoration: underline; font-weight: 700; }

/* مُحدد الكمية */
.zy-qty { display: inline-flex; align-items: center; border: 1px solid var(--zy-border-strong); border-radius: var(--zy-radius-sm); background: var(--zy-surface); overflow: hidden; }
.zy-qty button { width: var(--zy-touch); height: var(--zy-touch); border: 0; background: transparent; color: var(--zy-text); font-size: 1.05rem; display: grid; place-items: center; }
.zy-qty button:hover:not(:disabled) { background: var(--zy-cream); color: var(--zy-primary); }
.zy-qty button:disabled { color: var(--zy-border-strong); }
.zy-qty input { width: 52px; height: var(--zy-touch); border: 0; text-align: center; font-weight: 700; background: transparent; color: var(--zy-text); -moz-appearance: textfield; }
.zy-qty input::-webkit-outer-spin-button, .zy-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zy-qty-sm button, .zy-qty-sm input { height: 40px; }
.zy-qty-sm button { width: 40px; }

/* ---------- تفاصيل المنتج ---------- */
.zy-gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--zy-radius-lg); overflow: hidden; background: var(--zy-cream); border: 1px solid var(--zy-border); cursor: zoom-in; }
.zy-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--zy-dur) var(--zy-ease), transform var(--zy-dur-slow) var(--zy-ease); }
.zy-gallery-main.zoom img { transform: scale(1.6); }
.zy-gallery-wrap { position: relative; }
.zy-gallery-wrap > .zy-heart { top: 1rem; inset-inline-end: 1rem; }
.zy-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; padding-bottom: 4px; }
.zy-thumb { width: 78px; height: 78px; flex-shrink: 0; border-radius: var(--zy-radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--zy-cream); opacity: .7; transition: all var(--zy-dur-fast) var(--zy-ease); }
.zy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zy-thumb:hover { opacity: 1; }
.zy-thumb.active { border-color: var(--zy-primary); opacity: 1; }
.zy-pd-title { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: .4rem 0 .6rem; }
.zy-pd-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--zy-muted); font-size: .88rem; }
.zy-pd-meta strong { color: var(--zy-text); font-weight: 600; }
.zy-pd-price { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; padding: 1rem 0; border-block: 1px dashed var(--zy-border-strong); margin: 1rem 0; }
.zy-pd-price .zy-price { font-size: 2rem; }
.zy-pd-price .zy-save { background: var(--zy-primary-soft); color: var(--zy-primary); font-weight: 700; font-size: .82rem; padding: .15rem .55rem; border-radius: 6px; }
.zy-variants { display: flex; flex-wrap: wrap; gap: .5rem; }
.zy-variant { position: relative; }
.zy-variant input { position: absolute; opacity: 0; pointer-events: none; }
.zy-variant label { display: inline-flex; align-items: center; min-height: var(--zy-touch); padding: .35rem 1rem; border: 1.5px solid var(--zy-border-strong); border-radius: var(--zy-radius-sm); cursor: pointer; font-weight: 600; font-size: .92rem; background: var(--zy-surface); transition: all var(--zy-dur-fast) var(--zy-ease); }
.zy-variant input:checked + label { border-color: var(--zy-primary); color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-variant input:focus-visible + label { outline: 2px solid var(--zy-focus); outline-offset: 2px; }
.zy-variant input:disabled + label { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.zy-pd-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: 1.25rem; }
.zy-pd-actions .btn-zy { flex: 1 1 220px; }
.zy-pd-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.zy-pd-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--zy-muted); }
.zy-pd-points i { color: var(--zy-success-text); margin-top: .2rem; }
.zy-tabs { border-bottom: 1px solid var(--zy-border); gap: .25rem; flex-wrap: nowrap; overflow-x: auto; }
.zy-tabs .nav-link { color: var(--zy-muted); font-weight: 700; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: .8rem 1rem; white-space: nowrap; min-height: var(--zy-touch); }
.zy-tabs .nav-link.active, .zy-tabs .nav-link:hover { color: var(--zy-primary); border-bottom-color: var(--zy-primary); background: transparent; }
.zy-spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--zy-border); border-radius: var(--zy-radius-sm); overflow: hidden; }
.zy-spec-table th, .zy-spec-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--zy-border); }
.zy-spec-table tr:last-child th, .zy-spec-table tr:last-child td { border-bottom: 0; }
.zy-spec-table th { width: 36%; background: var(--zy-cream); font-weight: 600; }
.zy-stars { color: var(--zy-star); letter-spacing: 1px; }
.zy-star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.zy-star-input input { position: absolute; opacity: 0; }
.zy-star-input label { font-size: 1.6rem; color: var(--zy-border-strong); cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; }
.zy-star-input input:checked ~ label, .zy-star-input label:hover, .zy-star-input label:hover ~ label { color: var(--zy-star); }
.zy-star-input input:focus-visible + label { outline: 2px solid var(--zy-focus); border-radius: 6px; }
.zy-review { border-bottom: 1px solid var(--zy-border); padding-block: 1rem; }

/* شريط الشراء الثابت (موبايل) */
.zy-sticky-buy { position: fixed; bottom: 0; inset-inline: 0; z-index: var(--zy-z-bottombar); background: var(--zy-surface); border-top: 1px solid var(--zy-border); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding: .6rem var(--zy-gutter) calc(.6rem + env(safe-area-inset-bottom)); display: none; align-items: center; gap: .75rem; transform: translateY(110%); transition: transform var(--zy-dur) var(--zy-ease); }
.zy-sticky-buy.show { transform: none; }
.zy-sticky-buy .zy-price { font-size: 1.15rem; }
.zy-sticky-buy .btn { flex: 1; }

/* حجز مساحة للمحتوى الذي يُبنى بالسكربت لمنع إزاحة ما بعده (CLS) */
#pdWrap { min-height: calc(100vh - 160px); }
#cartPage:empty { min-height: calc(100vh - 220px); }
.zy-sticky-buy { min-height: calc(68px + env(safe-area-inset-bottom)); }

/* ---------- السلة ---------- */
.zy-cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--zy-border); transition: opacity var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-cart-line.removing { opacity: 0; transform: translateX(30px); }
.zy-cart-line img { width: 96px; height: 96px; border-radius: var(--zy-radius-sm); object-fit: cover; background: var(--zy-cream); }
.zy-cart-line h3 { font-size: 1rem; margin: 0 0 .2rem; line-height: 1.5; }
.zy-cart-line h3 a { color: var(--zy-text); }
.zy-cart-line h3 a:hover { color: var(--zy-primary); }
.zy-cart-line .meta { color: var(--zy-muted); font-size: .84rem; }
.zy-cart-line .controls { display: flex; align-items: center; gap: .75rem; margin-top: .55rem; flex-wrap: wrap; }
.zy-cart-line .line-total { text-align: end; font-weight: 800; white-space: nowrap; }
.zy-remove { border: 0; background: transparent; color: var(--zy-muted); display: inline-flex; align-items: center; gap: .3rem; font-size: .86rem; font-weight: 600; min-height: var(--zy-touch); padding-inline: .4rem; border-radius: var(--zy-radius-sm); }
.zy-remove:hover { color: var(--zy-danger-text); background: var(--zy-danger-bg); }
.zy-summary { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.35rem; position: sticky; top: calc(var(--zy-header-h) + 20px); }
.zy-summary h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.zy-summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .95rem; }
.zy-summary-row span:first-child { color: var(--zy-muted); }
.zy-summary-row.discount span:last-child { color: var(--zy-success-text); font-weight: 700; }
.zy-summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; margin-top: .5rem; border-top: 1px solid var(--zy-border); font-weight: 800; font-size: 1.1rem; }
.zy-summary-total .zy-price { font-size: 1.45rem; }
.zy-summary-note { font-size: .8rem; color: var(--zy-muted); margin-top: .5rem; }
.zy-mini-items { max-height: 260px; overflow: auto; margin-bottom: .75rem; }
.zy-mini-item { display: flex; gap: .7rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--zy-border); }
.zy-mini-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.zy-mini-item .n { font-weight: 600; font-size: .88rem; line-height: 1.45; }
.zy-mini-item .q { font-size: .8rem; color: var(--zy-muted); }
.zy-mini-item .p { margin-inline-start: auto; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.zy-coupon { display: flex; gap: .5rem; }
.zy-coupon .form-control { min-height: 44px; }

/* Offcanvas السلة المصغرة */
.zy-cart-drawer { width: min(420px, 92vw) !important; background: var(--zy-bg); color: var(--zy-text); }
.zy-cart-drawer .offcanvas-body { display: flex; flex-direction: column; }
.zy-drawer-items { flex: 1; overflow: auto; }
.zy-drawer-foot { border-top: 1px solid var(--zy-border); padding-top: 1rem; margin-top: auto; }

/* ---------- إتمام الطلب ---------- */
.zy-steps { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; counter-reset: step; }
.zy-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; font-size: .86rem; font-weight: 600; color: var(--zy-muted); }
.zy-steps li::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--zy-surface); border: 2px solid var(--zy-border-strong); font-weight: 800; position: relative; z-index: 2; transition: all var(--zy-dur) var(--zy-ease); }
.zy-steps li::after { content: ""; position: absolute; top: 20px; right: 50%; width: 100%; height: 2px; background: var(--zy-border-strong); z-index: 1; }
.zy-steps li:last-child::after { display: none; }
.zy-steps li.done::before { content: "\f633"; font-family: "bootstrap-icons"; background: var(--zy-success); border-color: var(--zy-success); color: #fff; } /* bi-check2 */
.zy-steps li.done::after { background: var(--zy-success); }
.zy-steps li[aria-current="step"] { color: var(--zy-text); }
.zy-steps li[aria-current="step"]::before { background: var(--zy-btn-bg); border-color: var(--zy-btn-bg); color: #fff; box-shadow: 0 0 0 5px rgba(185,35,45,.15); }
.zy-step-panel { display: none; }
.zy-step-panel.active { display: block; animation: zyFadeUp var(--zy-dur) var(--zy-ease); }
.zy-step-panel h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.zy-step-panel h2 i { color: var(--zy-primary); }
.zy-step-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--zy-border); flex-wrap: wrap; }
.zy-option-card { position: relative; display: block; }
.zy-option-card input { position: absolute; opacity: 0; }
.zy-option-card .box { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1.5px solid var(--zy-border-strong); border-radius: var(--zy-radius); background: var(--zy-surface); cursor: pointer; transition: all var(--zy-dur-fast) var(--zy-ease); height: 100%; }
.zy-option-card .box:hover { border-color: var(--zy-primary); }
.zy-option-card input:checked + .box { border-color: var(--zy-primary); background: var(--zy-primary-soft); box-shadow: 0 0 0 3px rgba(185,35,45,.1); }
.zy-option-card input:focus-visible + .box { outline: 2px solid var(--zy-focus); outline-offset: 2px; }
.zy-option-card input:disabled + .box { opacity: .55; cursor: not-allowed; }
.zy-option-card .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--zy-border-strong); flex-shrink: 0; margin-top: .2rem; display: grid; place-items: center; transition: all var(--zy-dur-fast); }
.zy-option-card input:checked + .box .radio { border-color: var(--zy-primary); }
.zy-option-card input:checked + .box .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--zy-primary); }
.zy-option-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--zy-cream); color: var(--zy-primary); font-size: 1.3rem; flex-shrink: 0; }
.zy-option-card strong { display: block; font-size: 1rem; }
.zy-option-card small { color: var(--zy-muted); display: block; line-height: 1.6; }
.zy-pay-details { display: none; margin-top: 1rem; padding: 1.1rem; border-radius: var(--zy-radius); background: var(--zy-surface-2); border: 1px dashed var(--zy-border-strong); }
.zy-pay-details.show { display: block; animation: zyFadeUp var(--zy-dur) var(--zy-ease); }
.zy-kv { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .92rem; }
.zy-kv dt { color: var(--zy-muted); font-weight: 600; }
.zy-kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.zy-file { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.zy-file-name { font-size: .88rem; color: var(--zy-muted); }
.zy-review-block { border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1rem 1.1rem; margin-bottom: .9rem; background: var(--zy-surface); }
.zy-review-block h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.zy-review-block h3 button { font-size: .85rem; font-weight: 600; }
.zy-mobile-summary { display: none; }

/* ---------- الحساب ---------- */
.zy-account-nav { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: .75rem; position: sticky; top: calc(var(--zy-header-h) + 20px); }
.zy-account-user { display: flex; align-items: center; gap: .8rem; padding: .6rem .5rem 1rem; border-bottom: 1px solid var(--zy-border); margin-bottom: .5rem; }
.zy-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--zy-primary-soft); color: var(--zy-primary); display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.zy-account-user strong { display: block; line-height: 1.4; }
.zy-account-user small { color: var(--zy-muted); direction: ltr; display: inline-block; }
.zy-account-nav a, .zy-account-nav button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .7rem .75rem; border-radius: var(--zy-radius-sm); color: var(--zy-text); font-weight: 600; border: 0; background: transparent; min-height: var(--zy-touch); text-align: start; }
.zy-account-nav a:hover, .zy-account-nav button:hover { background: var(--zy-cream); color: var(--zy-primary); }
.zy-account-nav a.active { background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-account-nav i { font-size: 1.1rem; width: 1.4rem; text-align: center; }
.zy-stat { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.1rem; display: flex; align-items: center; gap: .9rem; height: 100%; color: var(--zy-text); transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
a.zy-stat:hover { transform: translateY(-3px); box-shadow: var(--zy-shadow); color: var(--zy-text); }
.zy-stat .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--zy-primary-soft); color: var(--zy-primary); display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.zy-stat strong { font-size: 1.5rem; font-weight: 800; display: block; line-height: 1.2; }
.zy-stat span { color: var(--zy-muted); font-size: .86rem; }
.zy-card-box { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.25rem; }
.zy-card-box > h2, .zy-card-box-title { font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.zy-address { position: relative; background: var(--zy-surface); border: 1.5px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.1rem; height: 100%; display: flex; flex-direction: column; transition: border-color var(--zy-dur-fast); }
.zy-address.is-default { border-color: var(--zy-primary); }
.zy-address h3 { font-size: 1rem; margin: 0 0 .35rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.zy-address p { margin: 0; color: var(--zy-muted); font-size: .9rem; line-height: 1.7; }
.zy-address .actions { display: flex; gap: .25rem; flex-wrap: wrap; margin-top: auto; padding-top: .8rem; }
.zy-table { width: 100%; }
.zy-table th { font-size: .84rem; color: var(--zy-muted); font-weight: 700; white-space: nowrap; background: var(--zy-cream) !important; }
.zy-table td { vertical-align: middle; }
.table { --bs-table-bg: var(--zy-surface); --bs-table-color: var(--zy-text); --bs-table-border-color: var(--zy-border); }
.zy-order-cards { display: none; }
.zy-order-card { display: block; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1rem; color: var(--zy-text); margin-bottom: .75rem; }
.zy-order-card:hover { border-color: var(--zy-primary); color: var(--zy-text); }
.zy-order-card .top { display: flex; justify-content: space-between; gap: .5rem; align-items: center; margin-bottom: .5rem; flex-wrap: wrap; }
.zy-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.zy-timeline li { position: relative; padding-inline-start: 2.2rem; padding-bottom: 1.15rem; }
.zy-timeline li::before { content: ""; position: absolute; inset-inline-start: 11px; top: 26px; bottom: 0; width: 2px; background: var(--zy-border); }
.zy-timeline li:last-child::before { display: none; }
.zy-timeline .dot { position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: var(--zy-cream); color: var(--zy-muted); border: 2px solid var(--zy-border-strong); }
.zy-timeline li.current .dot { background: var(--zy-btn-bg); border-color: var(--zy-btn-bg); color: #fff; }
.zy-timeline strong { display: block; font-size: .95rem; }
.zy-timeline small { color: var(--zy-muted); }

/* ---------- Auth ---------- */
.zy-auth { min-height: calc(100vh - 220px); display: flex; align-items: center; padding-block: 2.5rem; background: radial-gradient(1200px 400px at 80% -10%, var(--zy-primary-soft), transparent 70%), var(--zy-cream); }
.zy-auth-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius-lg); box-shadow: var(--zy-shadow); padding: clamp(1.5rem, 4vw, 2.5rem); width: 100%; max-width: 480px; margin-inline: auto; }
.zy-auth-card.wide { max-width: 720px; }
.zy-auth-card h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.zy-auth-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--zy-primary-soft); color: var(--zy-primary); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1rem; }
.zy-divider { display: flex; align-items: center; gap: .75rem; color: var(--zy-muted); font-size: .85rem; margin: 1.25rem 0; }
.zy-divider::before, .zy-divider::after { content: ""; flex: 1; height: 1px; background: var(--zy-border); }

/* ---------- الحالات (فارغ/تحميل/خطأ) ---------- */
.zy-empty { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; max-width: 520px; margin-inline: auto; }
.zy-empty-icon { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: var(--zy-cream); color: var(--zy-primary); font-size: 2.8rem; position: relative; }
.zy-empty-icon::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed var(--zy-border-strong); animation: zySpin 30s linear infinite; }
@keyframes zySpin { to { transform: rotate(360deg); } }
.zy-empty h2, .zy-empty h1 { font-size: 1.35rem; }
.zy-empty p { color: var(--zy-muted); }
.zy-empty.is-error .zy-empty-icon { color: var(--zy-danger-text); background: var(--zy-danger-bg); }
.zy-skeleton { position: relative; overflow: hidden; background: var(--zy-cream); border-radius: var(--zy-radius-sm); }
.zy-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: zyShimmer 1.2s infinite; }
[data-bs-theme="dark"] .zy-skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); }
@keyframes zyShimmer { to { transform: translateX(-100%); } }
.zy-skel-card { border: 1px solid var(--zy-border); border-radius: var(--zy-radius); overflow: hidden; background: var(--zy-surface); }
.zy-skel-card .zy-skeleton.media { aspect-ratio: 1 / 1; border-radius: 0; }
.zy-skel-card .lines { padding: 1rem; display: grid; gap: .55rem; }
.zy-skel-card .lines .zy-skeleton { height: 12px; }

/* ---------- Toast ---------- */
.zy-toast-wrap { position: fixed; z-index: var(--zy-z-toast); bottom: calc(1.25rem + var(--zy-bottom-offset) + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; align-items: center; width: min(440px, calc(100vw - 2rem)); pointer-events: none; }
.zy-toast { pointer-events: auto; width: 100%; display: flex; align-items: center; gap: .75rem; background: var(--zy-charcoal); color: #fff; border-radius: var(--zy-radius); padding: .8rem .9rem; box-shadow: var(--zy-shadow-lg); animation: zyToastIn .4s var(--zy-ease); }
.zy-toast.hide { animation: zyToastOut .3s var(--zy-ease) forwards; }
.zy-toast img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.zy-toast .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 1.05rem; background: rgba(255,255,255,.12); }
.zy-toast.success .ic { background: #198754; }
.zy-toast.error .ic { background: #C62828; }
.zy-toast.info .ic { background: #2879A7; }
.zy-toast .msg { flex: 1; font-size: .9rem; line-height: 1.55; }
.zy-toast .msg small { display: block; color: #C9C3BD; font-size: .8rem; }
.zy-toast a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; font-size: .88rem; }
.zy-toast a:focus-visible, .zy-toast button:focus-visible { outline-color: var(--zy-focus-on-dark) !important; }
.zy-toast .x { border: 0; background: transparent; color: #C9C3BD; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
@keyframes zyToastIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes zyToastOut { to { opacity: 0; transform: translateY(12px); } }

/* صورة تطير إلى السلة */
.zy-fly { position: fixed; z-index: 2000; width: 70px; height: 70px; border-radius: 12px; object-fit: cover; box-shadow: var(--zy-shadow-lg); pointer-events: none; transition: transform .75s cubic-bezier(.5,-.3,.7,1.1), opacity .75s ease; }

/* ---------- الفوتر ---------- */
.zy-footer { background: var(--zy-charcoal); color: var(--zy-on-charcoal-muted); padding-top: 3.5rem; margin-top: var(--zy-section-y); }
.zy-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.zy-footer a { color: var(--zy-on-charcoal-muted); }
.zy-footer a:hover { color: #fff; }
.zy-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.zy-footer .zy-logo-name { color: #fff; }
.zy-footer .zy-logo-sub { color: var(--zy-on-charcoal-muted); }
.zy-footer-about { font-size: .9rem; line-height: 1.9; margin-top: 1rem; max-width: 340px; }
.zy-footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.zy-footer-contact i { color: #F07A82; margin-top: .2rem; }
.zy-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.zy-pending { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; padding: .05rem .5rem; border-radius: 5px; background: rgba(240,192,106,.14); color: #F0C06A; }
.zy-pending-light { background: var(--zy-warning-bg); color: var(--zy-warning-text); }
.zy-footer-social { display: flex; gap: .5rem; }
.zy-footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; }
.zy-footer-social a:hover { background: var(--zy-btn-bg); color: #fff; }
.zy-footer-pay { display: flex; gap: .4rem; flex-wrap: wrap; }
.zy-footer-pay span { border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: .15rem .55rem; font-size: .78rem; color: #fff; }

/* ---------- صفحات المحتوى ---------- */
.zy-prose { max-width: 820px; font-size: 1.02rem; }
.zy-prose h2 { font-size: 1.3rem; margin-top: 2.2rem; margin-bottom: .8rem; scroll-margin-top: calc(var(--zy-header-h) + 20px); display: flex; gap: .6rem; align-items: center; }
.zy-prose h2 .num { width: 32px; height: 32px; border-radius: 9px; background: var(--zy-primary-soft); color: var(--zy-primary); display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; }
.zy-prose ul { padding-inline-start: 1.25rem; }
.zy-prose li { margin-bottom: .4rem; }
.zy-toc { position: sticky; top: calc(var(--zy-header-h) + 20px); background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.1rem; }
.zy-toc h2 { font-size: .95rem; margin-bottom: .7rem; }
.zy-toc ol { padding-inline-start: 1.1rem; margin: 0; display: grid; gap: .3rem; font-size: .9rem; }
.zy-toc a { color: var(--zy-muted); }
.zy-toc a:hover, .zy-toc a.active { color: var(--zy-primary); font-weight: 600; }
.zy-draft-banner { display: flex; gap: .7rem; align-items: flex-start; background: var(--zy-warning-bg); color: var(--zy-warning-text); border-radius: var(--zy-radius); padding: .9rem 1.1rem; font-size: .92rem; margin-bottom: 1.5rem; }
.zy-placeholder { background: var(--zy-warning-bg); color: var(--zy-warning-text); padding: .05rem .4rem; border-radius: 4px; font-weight: 600; font-size: .92em; }
.zy-info-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: var(--zy-radius); padding: 1.35rem; height: 100%; transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-info-card:hover { transform: translateY(-3px); box-shadow: var(--zy-shadow); }
.zy-info-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--zy-primary-soft); color: var(--zy-primary); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: .9rem; }
.zy-info-card h3 { font-size: 1.05rem; }
.zy-info-card p { color: var(--zy-muted); margin: 0; font-size: .93rem; }
.accordion { --bs-accordion-bg: var(--zy-surface); --bs-accordion-border-color: var(--zy-border); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: var(--zy-primary-soft); --bs-accordion-active-color: var(--zy-primary); --bs-accordion-color: var(--zy-text); --bs-accordion-btn-color: var(--zy-text); }
.accordion-button { font-weight: 700; gap: .75rem; min-height: 56px; }
.accordion-button::after { margin-left: 0; margin-right: auto; }
.accordion-item { border-radius: var(--zy-radius-sm) !important; overflow: hidden; margin-bottom: .6rem; border: 1px solid var(--zy-border) !important; }

/* حلول حسب النشاط */
.zy-use-card { position: relative; display: flex; align-items: end; min-height: 260px; border-radius: var(--zy-radius-lg); overflow: hidden; color: #fff; isolation: isolate; }
.zy-use-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--zy-dur-slow) var(--zy-ease); }
.zy-use-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,14,14,.85), rgba(18,14,14,.1) 70%); }
.zy-use-card:hover img { transform: scale(1.06); }
.zy-use-card .body { padding: 1.3rem; }
.zy-use-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .25rem; }
.zy-use-card p { color: rgba(255,255,255,.85); margin: 0 0 .6rem; font-size: .9rem; }
.zy-use-card span { font-weight: 700; font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; }
.zy-use-card:hover { color: #fff; }

/* بانر مزدوج و CTA */
.zy-promo { position: relative; border-radius: var(--zy-radius-lg); overflow: hidden; min-height: 240px; display: flex; align-items: center; color: #fff; isolation: isolate; }
.zy-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.zy-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(18,14,14,.85), rgba(18,14,14,.2)); }
.zy-promo .body { padding: 1.75rem; max-width: 420px; }
.zy-promo h3 { color: #fff; font-size: 1.45rem; font-weight: 800; }
.zy-promo p { color: rgba(255,255,255,.86); }
.zy-cta { background: var(--zy-btn-bg); border-radius: var(--zy-radius-lg); padding: clamp(2rem, 5vw, 3.25rem); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.zy-cta::before, .zy-cta::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); z-index: -1; }
.zy-cta::before { width: 340px; height: 340px; top: -150px; left: -90px; }
.zy-cta::after { width: 240px; height: 240px; bottom: -130px; left: 30%; }
.zy-cta h2 { color: #fff; font-weight: 800; }
.zy-cta p { color: rgba(255,255,255,.9); margin: 0; }

/* 404 والنجاح */
.zy-big-code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; color: var(--zy-primary); letter-spacing: -2px; }
.zy-success-icon { width: 104px; height: 104px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--zy-success-bg); color: var(--zy-success-text); display: grid; place-items: center; font-size: 3rem; animation: zyPopIn .6s var(--zy-ease) both; }
.zy-success-icon.fail { background: var(--zy-danger-bg); color: var(--zy-danger-text); }
@keyframes zyPopIn { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.zy-order-no { display: inline-flex; align-items: center; gap: .6rem; background: var(--zy-cream); border: 1px dashed var(--zy-border-strong); border-radius: var(--zy-radius); padding: .65rem 1rem; font-weight: 800; font-size: 1.2rem; direction: ltr; }

/* ---------- الحركة (Reveal) ---------- */
.zy-reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--zy-dur-slow) var(--zy-ease), transform var(--zy-dur-slow) var(--zy-ease); transition-delay: var(--zy-delay, 0s); }
.zy-reveal.is-visible { opacity: 1; transform: none; }
@keyframes zyFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.zy-fade-in { animation: zyFadeUp var(--zy-dur) var(--zy-ease) both; }

/* ---------- Modal ---------- */
.modal-content { border-radius: var(--zy-radius); border: 0; background: var(--zy-surface); color: var(--zy-text); }
.modal-dialog-scrollable .modal-content { max-height: 90vh; }
.modal-header, .modal-footer { border-color: var(--zy-border); }
.modal-header .btn-close { margin: 0; margin-inline-start: auto; }
.btn-close:focus { box-shadow: none; }
[data-bs-theme="dark"] .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* ---------- Pagination ---------- */
.pagination { --bs-pagination-color: var(--zy-text); --bs-pagination-bg: var(--zy-surface); --bs-pagination-border-color: var(--zy-border); --bs-pagination-hover-color: var(--zy-primary); --bs-pagination-hover-bg: var(--zy-cream); --bs-pagination-active-bg: var(--zy-btn-bg); --bs-pagination-active-border-color: var(--zy-btn-bg); --bs-pagination-focus-box-shadow: none; gap: .3rem; }
.page-link { border-radius: var(--zy-radius-sm) !important; min-width: 40px; min-height: 40px; display: grid; place-items: center; font-weight: 600; }

/* الوضع الداكن — تعديلات خاصة */
[data-bs-theme="dark"] .zy-heart { background: rgba(33,30,31,.92); color: #EDE8E3; }
[data-bs-theme="dark"] .zy-heart[aria-pressed="true"], [data-bs-theme="dark"] .zy-heart:hover { color: #F07A82; }
.text-danger { color: var(--zy-danger-text) !important; }
[data-bs-theme="dark"] .btn-outline-danger { --bs-btn-color: var(--zy-danger); --bs-btn-border-color: var(--zy-danger); }
[data-bs-theme="dark"] .zy-tag-best { background: #3A3020; color: #F0C06A; }
[data-bs-theme="dark"] .zy-cat-card, [data-bs-theme="dark"] .zy-card-media { background: #2A2627; }
[data-bs-theme="dark"] .zy-logo-mark .mark-bg { fill: #B9232D; }

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .zy-reveal { opacity: 1; transform: none; }
  .zy-card:hover, .zy-feature:hover, .zy-info-card:hover, a.zy-stat:hover { transform: none; }
  .zy-card:hover .zy-card-media img, .zy-cat-card:hover img, .zy-use-card:hover img { transform: none; }
  .zy-empty-icon::after { animation: none; }
}

/* طباعة */
@media print {
  .zy-header, .zy-footer, .zy-bottom-nav, .zy-topbar, .zy-toast-wrap, .no-print { display: none !important; }
  body { padding: 0; }
}

/* ==========================================================================
   هيدر بصف واحد (Rev.6): الشعار يميناً · القائمة في المنتصف · الأيقونات يساراً
   ========================================================================== */
.zy-header-main { min-height: var(--zy-header-h); gap: 1.5rem; }
.zy-nav-inline { flex: 1; display: flex; align-items: stretch; justify-content: center; gap: .15rem; align-self: stretch; min-width: 0; }
.zy-nav-inline > .zy-nav-link, .zy-nav-inline .zy-mega > .zy-nav-link { height: 100%; display: inline-flex; align-items: center; padding: 0 .85rem; border-radius: 0; white-space: nowrap; font-size: .98rem; }
.zy-nav-inline .zy-nav-link::after { bottom: -1px; inset-inline: .85rem; height: 3px; border-radius: 3px 3px 0 0; }
.zy-nav-inline .zy-mega { display: flex; align-items: stretch; }
.zy-nav-inline .zy-mega > .zy-nav-link .bi-chevron-down { margin-inline-start: .3rem; font-size: .75em; transition: transform var(--zy-dur) var(--zy-ease); }
.zy-nav-inline .zy-mega:hover > .zy-nav-link .bi-chevron-down, .zy-nav-inline .zy-mega:focus-within > .zy-nav-link .bi-chevron-down { transform: rotate(180deg); }
.zy-nav-inline .zy-mega-panel { top: calc(100% + 1px); inset-inline-start: 50%; transform: translate(50%, 8px); border-top-left-radius: 0; border-top-right-radius: 0; }
.zy-nav-inline .zy-mega:hover .zy-mega-panel, .zy-nav-inline .zy-mega:focus-within .zy-mega-panel { transform: translate(50%, 0); }
.zy-nav-inline .zy-mega.closed .zy-mega-panel { transform: translate(50%, 8px) !important; }
.zy-mega-all { grid-column: 1 / -1; justify-content: center; background: var(--zy-cream); color: var(--zy-primary) !important; margin-top: .3rem; }
.zy-header-actions { margin-inline-start: 0; gap: .25rem; }
.zy-header .zy-logo { flex-shrink: 0; }
@media (max-width: 1399.98px) { .zy-nav-xxl { display: none !important; } .zy-nav-inline > .zy-nav-link, .zy-nav-inline .zy-mega > .zy-nav-link { padding: 0 .7rem; } }
@media (max-width: 1199.98px) { .zy-nav-xl { display: none !important; } .zy-header-main { gap: 1rem; } }
@media (max-width: 991.98px) { .zy-nav-inline { display: none; } .zy-header-actions { margin-inline-start: auto; } }

/* زر الوضع الداكن في الفوتر */
.zy-footer-bottom { align-items: center; }
.zy-footer-theme { border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--zy-on-charcoal-muted); border-radius: var(--zy-radius-pill); padding: .35rem .9rem; font-size: .82rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; }
.zy-footer-theme:hover { color: #fff; border-color: rgba(255,255,255,.45); }

/* ==========================================================================
   نافذة البحث
   ========================================================================== */
.zy-noscroll { overflow: hidden; }
.zy-search-ov { position: fixed; inset: 0; z-index: 1060; }
.zy-search-ov[hidden] { display: none; }
.zy-search-ov-backdrop { position: absolute; inset: 0; background: rgba(18,14,14,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .28s var(--zy-ease); }
.zy-search-ov-panel { position: relative; background: var(--zy-bg); box-shadow: var(--zy-shadow-lg); max-height: 100dvh; overflow-y: auto; transform: translateY(-24px); opacity: 0; transition: transform .32s var(--zy-ease), opacity .28s var(--zy-ease); border-bottom-left-radius: var(--zy-radius-lg); border-bottom-right-radius: var(--zy-radius-lg); padding: 1.1rem 0 1.25rem; }
.zy-search-ov.is-open .zy-search-ov-backdrop { opacity: 1; }
.zy-search-ov.is-open .zy-search-ov-panel { transform: none; opacity: 1; }
.zy-search-ov-form { position: relative; display: flex; align-items: center; gap: .6rem; }
.zy-search-ov-form input { flex: 1; min-width: 0; height: 62px; border: 2px solid var(--zy-border-strong); border-radius: var(--zy-radius-pill); background: var(--zy-surface); color: var(--zy-text); padding: 0 3.3rem 0 3rem; font-size: 1.15rem; font-weight: 600; transition: border-color var(--zy-dur-fast), box-shadow var(--zy-dur-fast); }
.zy-search-ov-form input::-webkit-search-cancel-button { display: none; }
.zy-search-ov-form input:focus { outline: none; border-color: var(--zy-primary); box-shadow: 0 0 0 4px rgba(var(--zy-primary-rgb), .14); }
.zy-search-ov-form input:focus-visible { outline: none !important; }
.zy-search-ov-ic { position: absolute; inset-inline-start: 1.15rem; top: 50%; transform: translateY(-50%); color: var(--zy-primary); font-size: 1.3rem; pointer-events: none; }
.zy-search-ov-clear { position: absolute; inset-inline-end: calc(48px + 96px + 1.4rem); top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--zy-muted); display: grid; place-items: center; }
.zy-search-ov-clear:hover { color: var(--zy-text); }
.zy-search-ov-go { height: 52px; padding-inline: 1.6rem; border-radius: var(--zy-radius-pill); min-width: 96px; }
.zy-search-ov-close { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); display: grid; place-items: center; font-size: 1.15rem; }
.zy-search-ov-close:hover { background: var(--zy-cream); color: var(--zy-primary); }
.zy-search-ov-body { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; margin-top: 1.4rem; }
.zy-search-ov-side h3, .zy-search-ov-hd h3 { font-size: .9rem; font-weight: 700; color: var(--zy-muted); margin: 0 0 .65rem; }
.zy-search-ov-side h3 { margin-top: 1.1rem; }
.zy-search-ov-side > :first-child h3, .zy-search-ov-side > h3:first-child { margin-top: 0; }
.zy-search-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.zy-search-chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .3rem .8rem; border-radius: var(--zy-radius-pill); border: 1px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); font-size: .86rem; font-weight: 600; transition: all var(--zy-dur-fast) var(--zy-ease); }
.zy-search-chip i { color: var(--zy-muted); font-size: .85em; }
.zy-search-chip:hover { border-color: var(--zy-primary); color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-search-ov-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.zy-search-ov-hd h3 { color: var(--zy-text); font-size: 1rem; }
.zy-search-ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.zy-search-item { display: flex; align-items: center; gap: .85rem; padding: .6rem; border-radius: var(--zy-radius); border: 1px solid transparent; color: var(--zy-text); transition: background var(--zy-dur-fast), border-color var(--zy-dur-fast); }
.zy-search-item:hover, .zy-search-item.active { background: var(--zy-cream); border-color: var(--zy-border); color: var(--zy-text); }
.zy-search-item img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--zy-cream); }
.zy-search-item .n { display: block; font-weight: 700; font-size: .95rem; line-height: 1.45; }
.zy-search-item .n mark { background: var(--zy-primary-soft); color: var(--zy-primary); padding: 0 .1em; border-radius: 3px; }
.zy-search-item .c { display: block; font-size: .78rem; color: var(--zy-muted); }
.zy-search-item .p { display: block; font-size: .86rem; font-weight: 800; color: var(--zy-primary); }
.zy-search-item .p small { color: var(--zy-muted); font-weight: 600; }
.zy-search-item .go { margin-inline-start: auto; color: var(--zy-muted); transition: transform var(--zy-dur-fast); }
.zy-search-item:hover .go, .zy-search-item.active .go { color: var(--zy-primary); transform: translateX(-3px); }
.zy-search-ov-all { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 700; }
.zy-search-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 2rem 1rem; color: var(--zy-muted); border: 1px dashed var(--zy-border-strong); border-radius: var(--zy-radius); }
.zy-search-empty i { font-size: 2rem; color: var(--zy-primary); }
.zy-search-empty strong { color: var(--zy-text); }
.zy-search-ov-hint { margin: 1.2rem 0 0; font-size: .8rem; color: var(--zy-muted); text-align: center; }
.zy-search-ov-hint kbd { background: var(--zy-cream); color: var(--zy-text); border: 1px solid var(--zy-border-strong); border-radius: 5px; padding: .05rem .4rem; font-family: inherit; font-size: .78rem; }
@media (max-width: 991.98px) {
  .zy-search-ov-panel { min-height: 100dvh; border-radius: 0; padding-top: .8rem; }
  .zy-search-ov-body { grid-template-columns: 1fr; gap: 1.25rem; }
  .zy-search-ov-main { order: -1; }
  .zy-search-ov-hint { display: none; }
}
@media (max-width: 575.98px) {
  .zy-search-ov-form { gap: .4rem; }
  .zy-search-ov-form input { height: 52px; font-size: 1rem; padding: 0 2.8rem 0 2.6rem; }
  .zy-search-ov-ic { inset-inline-start: .95rem; font-size: 1.1rem; }
  .zy-search-ov-go { display: none; }
  .zy-search-ov-clear { inset-inline-end: calc(48px + .6rem); }
  .zy-search-ov-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .zy-search-ov-panel, .zy-search-ov-backdrop { transition: none; } }

/* ==========================================================================
   أيقونات الهيدر (Rev.7)
   ========================================================================== */
.zy-header-actions { gap: .35rem; }
.zy-hbtn { position: relative; width: 46px; height: 46px; flex-shrink: 0; display: inline-grid; place-items: center; border: 0; border-radius: 14px; background: transparent; color: var(--zy-text); text-decoration: none; transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease), box-shadow var(--zy-dur-fast) var(--zy-ease); }
.zy-hbtn .zy-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--zy-dur) var(--zy-ease); }
.zy-hbtn:hover, .zy-hbtn[aria-expanded="true"] { background: var(--zy-cream); color: var(--zy-primary); }
.zy-hbtn:hover .zy-ico { transform: translateY(-1px); }
.zy-hbtn:active .zy-ico { transform: scale(.92); }
/* المفضلة: يمتلئ القلب عند وجود منتجات محفوظة */
.zy-hbtn[data-wish-link]:has(.zy-count:not(:empty)) .zy-ico { fill: var(--zy-primary-soft); color: var(--zy-primary); }
/* السلة: الإجراء الأهم بلون العلامة */
.zy-hbtn-cart { background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-hbtn-cart:hover, .zy-hbtn-cart[aria-expanded="true"] { background: var(--zy-btn-bg); color: #fff; box-shadow: 0 6px 16px rgba(var(--zy-primary-rgb), .28); }
/* الحرف الأول للعميل المسجّل */
.zy-hbtn-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--zy-btn-bg); color: #fff; font-weight: 800; font-size: .9rem; line-height: 1; box-shadow: 0 0 0 2px var(--zy-bg), 0 0 0 3.5px rgba(var(--zy-primary-rgb), .35); }
.zy-hbtn:hover .zy-hbtn-avatar { box-shadow: 0 0 0 2px var(--zy-bg), 0 0 0 3.5px var(--zy-primary); }
/* شارة العدد في الزاوية العلوية */
.zy-hbtn .zy-count { top: 2px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; font-size: .68rem; line-height: 15px; font-weight: 800; border: 2px solid var(--zy-bg); box-shadow: 0 2px 6px rgba(0,0,0,.15); font-variant-numeric: tabular-nums; }
.zy-hbtn-cart .zy-count { background: var(--zy-charcoal); }
[data-bs-theme="dark"] .zy-hbtn-cart .zy-count { background: #EDE8E3; color: #141213; }
/* تلميح نصي عند المرور أو التركيز بلوحة المفاتيح */
.zy-hbtn[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); background: var(--zy-charcoal); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1.4; padding: .28rem .6rem; border-radius: 7px; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--zy-dur-fast) var(--zy-ease), transform var(--zy-dur-fast) var(--zy-ease); z-index: 1031; box-shadow: var(--zy-shadow-sm); }
.zy-hbtn[data-tip]:hover::after, .zy-hbtn[data-tip]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.zy-hbtn[aria-expanded="true"]::after { display: none; }
[data-bs-theme="dark"] .zy-hbtn[data-tip]::after { background: #EDE8E3; color: #141213; }
@media (hover: none) { .zy-hbtn[data-tip]::after { display: none; } }
@media (max-width: 991.98px) {
  .zy-hbtn { width: 44px; height: 44px; border-radius: 12px; }
  .zy-hbtn .zy-ico { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) { .zy-hbtn .zy-ico, .zy-hbtn[data-tip]::after { transition: none; } }

/* ==========================================================================
   شريط المزايا (Rev.8): شريط موحّد يطفو فوق أسفل السلايدر
   ========================================================================== */
.zy-trust-wrap { position: relative; z-index: 6; padding: 1.5rem 0 .5rem; }
.zy-trust { list-style: none; margin: 0; padding: .4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 20px; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 18px 44px rgba(36,24,20,.10); }
[data-bs-theme="dark"] .zy-trust { box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.zy-trust-item { position: relative; display: flex; align-items: center; gap: .95rem; padding: 1.1rem 1.3rem; border-radius: 16px; transition: background-color var(--zy-dur) var(--zy-ease); }
.zy-trust-item + .zy-trust-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 1px; background: var(--zy-border); }
.zy-trust-item:hover { background: var(--zy-surface-2); }
.zy-trust-ic { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: var(--zy-primary-soft); color: var(--zy-primary); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-trust-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.zy-trust-item:hover .zy-trust-ic { background: var(--zy-btn-bg); color: #fff; transform: translateY(-2px) rotate(-5deg); box-shadow: 0 8px 18px rgba(var(--zy-primary-rgb), .28); }
.zy-trust-tx { min-width: 0; }
.zy-trust-tx h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .15rem; line-height: 1.45; }
.zy-trust-tx p { margin: 0; font-size: .85rem; color: var(--zy-muted); line-height: 1.6; }
@media (max-width: 1199.98px) {
  .zy-trust-item { padding: 1rem .9rem; gap: .75rem; }
  .zy-trust-ic { width: 46px; height: 46px; border-radius: 14px; }
  .zy-trust-ic svg { width: 23px; height: 23px; }
  .zy-trust-tx h3 { font-size: .95rem; }
  .zy-trust-tx p { font-size: .8rem; }
}
/* التابلت والموبايل: شبكة 2×2 بفواصل */
@media (max-width: 991.98px) {
  .zy-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zy-trust-item + .zy-trust-item::before { display: none; }
  .zy-trust-item:nth-child(even)::before { display: block; content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: var(--zy-border); }
  .zy-trust-item:nth-child(n+3)::after { content: ""; position: absolute; top: 0; inset-inline: 12%; height: 1px; background: var(--zy-border); }
}
@media (max-width: 575.98px) {
  .zy-trust-wrap { padding-top: 1rem; }
  .zy-trust { padding: .25rem; border-radius: 18px; }
  .zy-trust-item { flex-direction: column; text-align: center; gap: .55rem; padding: .95rem .5rem; }
  .zy-trust-ic { width: 44px; height: 44px; }
  .zy-trust-tx h3 { font-size: .9rem; }
  .zy-trust-tx p { font-size: .76rem; line-height: 1.55; }
}
@media (max-width: 359.98px) { .zy-trust { grid-template-columns: 1fr; } .zy-trust-item:nth-child(even)::before { display: none; } .zy-trust-item:nth-child(n+2)::after { content: ""; position: absolute; top: 0; inset-inline: 12%; height: 1px; background: var(--zy-border); } }
@media (prefers-reduced-motion: reduce) { .zy-trust-item:hover .zy-trust-ic { transform: none; } }
/* إصلاح: Bootstrap يفرض خلفية سوداء للمؤشرات في الوضع الداكن، فنعيدها شفافة */
[data-bs-theme="dark"] .zy-hero.carousel .carousel-indicators [data-bs-target] { background-color: transparent; }
[data-bs-theme="dark"] .zy-hero .carousel-control-prev-icon, [data-bs-theme="dark"] .zy-hero .carousel-control-next-icon { filter: none; }

/* ==========================================================================
   بطاقة المنتج المدمجة (Rev.9): صورة 5:4، حالة توفر مختصرة، سعر وزر في صف واحد
   ========================================================================== */
.zy-card { container-type: inline-size; border-radius: 16px; }
.zy-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(36,24,20,.04), 0 14px 32px rgba(36,24,20,.10); }
.zy-card-media { aspect-ratio: 5 / 4; }
.zy-card:hover .zy-card-media img { transform: scale(1.04); }
.zy-card.is-out .zy-card-media img { filter: grayscale(.6); opacity: .8; }
.zy-card-badges { top: .6rem; inset-inline-start: .6rem; }
.zy-tag { border-radius: 999px; padding: .14rem .6rem; font-size: .74rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.zy-heart { top: .5rem; inset-inline-end: .5rem; font-size: 1rem; }
.zy-card-body { gap: .25rem; padding: .8rem .95rem .95rem; }
.zy-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
.zy-card-cat { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.zy-card-stock { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.zy-card-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.zy-card-stock.is-in { color: var(--zy-success-text); }
.zy-card-stock.is-low { color: var(--zy-warning-text); }
.zy-card-stock.is-out { color: var(--zy-danger-text); }
.zy-card-title { font-size: 1rem; line-height: 1.5; min-height: calc(1.5em * 2); }
.zy-card-pack { font-size: .78rem; }
.zy-card-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .7rem; border-top: 1px dashed var(--zy-border); margin-block-start: .5rem; }
.zy-card-price { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.zy-card-price .zy-price-wrap { gap: 0 .4rem; }
.zy-card-price .zy-price-wrap { align-items: baseline; }
.zy-card-price .zy-price-from { font-size: .72rem; line-height: 1.3; }
.zy-card-price .zy-price { font-size: 1.15rem; }
.zy-card-price .zy-price-old { font-size: .8rem; }
.zy-card-note { display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; color: var(--zy-muted); font-weight: 600; cursor: help; position: relative; z-index: 2; line-height: 1.3; }
.zy-card-note i { font-size: .72rem; }
.zy-card .btn.zy-card-btn { width: auto; flex-shrink: 0; min-height: var(--zy-touch); padding: 0 .9rem; font-size: .85rem; border-radius: 12px; gap: .35rem; white-space: nowrap; }
.zy-card .btn.zy-card-btn i { font-size: 1rem; }
.zy-card .btn-zy-outline.zy-card-btn { border-color: var(--zy-border-strong); }
/* البطاقة الضيقة (أقل من 250px): السعر فوق الزر الممتد */
@container (max-width: 250px) {
  .zy-card-foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .zy-card .btn.zy-card-btn { width: 100%; }
}
@container (max-width: 200px) {
  .zy-card-cat, .zy-card-pack { display: none; }
  .zy-card-meta { justify-content: flex-start; }
  .zy-card-body { padding: .6rem .65rem .7rem; }
  .zy-card-title { font-size: .9rem; }
  .zy-card-price .zy-price { font-size: 1.02rem; }
  .zy-card-foot { padding-top: .55rem; margin-block-start: .35rem; }
  .zy-card .btn.zy-card-btn { font-size: .8rem; padding: 0 .5rem; }
}
[data-bs-theme="dark"] .zy-card:hover { box-shadow: 0 14px 32px rgba(0,0,0,.45); }
@media (prefers-reduced-motion: reduce) { .zy-card:hover { transform: none; } }

/* ==========================================================================
   صفحات قوائم المنتجات (Rev.10): شريط تصنيفات، شريط أدوات، لوحة فلاتر
   ========================================================================== */
/* شريط التصنيفات السريع */
.zy-cat-strip { margin-bottom: 1.5rem; }
.zy-cat-strip-track { display: flex; flex-wrap: wrap; gap: .5rem; }
.zy-cat-pill { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .55rem 0 1rem; padding-inline: 1rem .55rem; border: 1px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); border-radius: 999px; font-size: .88rem; font-weight: 700; white-space: nowrap; transition: background-color var(--zy-dur-fast) var(--zy-ease), border-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease), box-shadow var(--zy-dur-fast) var(--zy-ease); }
.zy-cat-pill i { font-size: 1rem; color: var(--zy-primary); transition: color var(--zy-dur-fast) var(--zy-ease); }
.zy-cat-pill .n { min-width: 26px; height: 26px; padding: 0 .45rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--zy-surface-2); color: var(--zy-muted); font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.zy-cat-pill:hover { border-color: var(--zy-primary); color: var(--zy-primary); }
.zy-cat-pill[aria-pressed="true"] { background: var(--zy-btn-bg); border-color: var(--zy-btn-bg); color: #fff; box-shadow: 0 6px 16px rgba(var(--zy-primary-rgb), .22); }
.zy-cat-pill[aria-pressed="true"] i { color: #fff; }
.zy-cat-pill[aria-pressed="true"] .n { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 991.98px) {
  .zy-cat-strip { margin-inline: calc(var(--zy-gutter, 16px) * -1); margin-bottom: 1rem; }
  .zy-cat-strip-track { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: .15rem var(--zy-gutter, 16px) .5rem; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to left, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
  .zy-cat-strip-track::-webkit-scrollbar { display: none; }
  .zy-cat-pill { scroll-snap-align: start; }
}

/* شريط الأدوات */
.zy-toolbar { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 14px; padding: .45rem; padding-inline-start: 1rem; margin-bottom: 1rem; flex-wrap: nowrap; }
.zy-result-count { font-size: .9rem; white-space: nowrap; }
.zy-toolbar-actions { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.zy-sort { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.zy-sort label { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--zy-muted); font-weight: 600; white-space: nowrap; margin: 0; }
.zy-sort label i { color: var(--zy-text); }
.zy-toolbar .zy-sort .form-select { min-width: 170px; width: auto; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: .9rem; background-color: var(--zy-surface-2); border-color: transparent; }
.zy-toolbar .zy-sort .form-select:hover { border-color: var(--zy-border-strong); }
.zy-tool-btn { min-height: 44px; border-radius: 10px; background: var(--zy-surface-2); border: 1px solid transparent; color: var(--zy-text); font-weight: 700; font-size: .9rem; padding-inline: .85rem; gap: .4rem; white-space: nowrap; }
.zy-tool-btn:hover { border-color: var(--zy-primary); color: var(--zy-primary); }
.zy-tool-badge { min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px; background: var(--zy-btn-bg); color: #fff; font-size: .72rem; display: inline-grid; place-items: center; }
.zy-tool-badge.d-none { display: none !important; }
.zy-active-filters { margin-bottom: 1.1rem; }

/* لوحة الفلاتر */
.zy-filters { padding: 0 1.1rem .4rem; max-height: calc(100vh - var(--zy-header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--zy-border-strong) transparent; border-radius: 16px; }
.zy-filters-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--zy-surface); padding: 1rem 0 .85rem; margin-bottom: .35rem; border-bottom: 1px solid var(--zy-border); }
.zy-filters-head h2 { font-size: 1.05rem; font-weight: 800; margin: 0; align-items: center; gap: .45rem; }
.zy-filters-head h2 i { color: var(--zy-primary); }
.zy-link-btn { border: 0; background: none; padding: .35rem .6rem; min-height: 44px; border-radius: 8px; color: var(--zy-primary); font-weight: 700; font-size: .84rem; display: inline-flex; align-items: center; gap: .3rem; }
.zy-link-btn:hover { background: var(--zy-primary-soft); }
.zy-filter-group { padding-block: 1rem; }
.zy-filter-group legend, .zy-filter-group > .form-label { font-size: .82rem; font-weight: 800; color: var(--zy-muted); margin-bottom: .55rem; }
.zy-filter-group .form-check { min-height: 40px; padding: 0 .5rem; margin-inline: -.5rem; border-radius: 9px; transition: background-color var(--zy-dur-fast) var(--zy-ease); }
.zy-filter-group .form-check:hover { background: var(--zy-surface-2); }
.zy-filter-group .form-check-label { align-items: center; gap: .5rem; padding-block: .5rem; }
.zy-filter-group .form-check-label span { min-width: 24px; height: 22px; padding: 0 .4rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--zy-surface-2); font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.zy-filter-group .form-check:hover .form-check-label span { background: var(--zy-surface); }
.zy-filter-group .form-check-input:checked + .form-check-label { color: var(--zy-primary); font-weight: 700; }
.zy-filter-group .form-check-input:checked + .form-check-label span { background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-filters-foot { padding: .85rem 1rem; border-top: 1px solid var(--zy-border); background: var(--zy-surface); box-shadow: 0 -8px 20px rgba(36,24,20,.06); }
@media (max-width: 991.98px) {
  .zy-filters { max-height: none; overflow: visible; padding: 0; }
  .zy-filters-head { position: static; padding-top: 0; justify-content: flex-end; border-bottom: 0; margin-bottom: 0; }
}

/* عرض المزيد */
.zy-load-more { margin-top: 2.25rem; }
.zy-load-more .zy-progress { width: 220px; }
.zy-load-more #moreBtn { border-radius: 999px; min-width: 180px; }

@media (max-width: 575.98px) {
  .zy-toolbar { padding-inline-start: .75rem; gap: .5rem; }
  .zy-sort label .lbl { display: none; }
  .zy-toolbar .zy-sort .form-select { min-width: 0; width: 100%; max-width: 150px; }
  .zy-result-count { font-size: .84rem; }
}
@media (max-width: 380px) {
  .zy-toolbar { flex-wrap: wrap; }
  .zy-result-count { width: 100%; padding: .2rem .25rem 0; }
  .zy-toolbar-actions { width: 100%; }
  .zy-toolbar-actions > * { flex: 1; }
  .zy-toolbar .zy-sort .form-select { max-width: none; }
}
/* شريط التصنيفات للموبايل والتابلت فقط؛ على الكمبيوتر تكفي قائمة التصنيفات في لوحة الفلاتر */
@media (min-width: 992px) { .zy-cat-strip { display: none; } }
/* عنوان الفيلدست يُرسم فوق الحشوة العلوية، فننقل الحشوة إلى العنوان نفسه */
fieldset.zy-filter-group { padding-top: 0; }
fieldset.zy-filter-group > legend { padding-top: 1rem; margin-bottom: .45rem; }
@media (max-width: 991.98px) {
  .zy-cat-strip-track { scroll-padding-inline: var(--zy-gutter, 16px); }
  #listingWrap > .row > .col-lg-3 { margin-top: 0; }
  .zy-filters-head { padding-bottom: 0; margin-top: -.5rem; }
}

/* ==========================================================================
   صفحة تفاصيل المنتج (Rev.11): معرض لاصق + صندوق شراء + أقسام ظاهرة
   ========================================================================== */
.zy-pd-crumbs { margin-bottom: 1.1rem; }
.zy-pd-crumbs .breadcrumb { margin: 0; font-size: .86rem; }

/* المعرض */
.zy-pd-gallery { position: sticky; top: calc(var(--zy-header-h) + 20px); }
.zy-pd .zy-gallery-main { border-radius: 20px; background: var(--zy-surface-2); }
.zy-gal-nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--zy-border); background: rgba(255,255,255,.92); color: var(--zy-text); display: grid; place-items: center; font-size: 1.05rem; box-shadow: var(--zy-shadow-sm); opacity: 0; transition: opacity var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-gal-nav.is-prev { inset-inline-start: .9rem; }
.zy-gal-nav.is-next { inset-inline-end: .9rem; }
.zy-gal-nav:hover { background: var(--zy-btn-bg); border-color: transparent; color: #fff; }
.zy-gallery-wrap:hover .zy-gal-nav, .zy-gal-nav:focus-visible { opacity: 1; }
@media (hover: none) { .zy-gal-nav { opacity: 1; } }
.zy-gal-count, .zy-gal-hint { position: absolute; bottom: .9rem; z-index: 2; pointer-events: none; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(28,24,25,.66); color: #fff; backdrop-filter: blur(6px); }
.zy-gal-count { inset-inline-start: .9rem; }
.zy-gal-hint { inset-inline-end: .9rem; opacity: 0; transition: opacity var(--zy-dur) var(--zy-ease); }
.zy-gallery-wrap:hover .zy-gal-hint { opacity: 1; }
.zy-gallery-main.zoom ~ .zy-gal-hint, .zy-gallery-main.zoom ~ .zy-gal-nav { opacity: 0; }
@media (hover: none) { .zy-gal-hint { display: none; } }
.zy-pd .zy-thumbs { gap: .6rem; margin-top: .8rem; padding: 2px 2px 4px; }
.zy-pd .zy-thumb { width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--zy-border); opacity: .8; }
.zy-pd .zy-thumb:hover { opacity: 1; border-color: var(--zy-border-strong); }
.zy-pd .zy-thumb.active { border-color: var(--zy-primary); opacity: 1; box-shadow: 0 0 0 3px var(--zy-primary-soft); }
.zy-pd-imgnote { margin: .6rem 0 0; font-size: .8rem; color: var(--zy-muted); display: flex; gap: .35rem; align-items: baseline; }

/* معلومات المنتج */
.zy-pd-tags { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.zy-pd-tags .zy-tag { font-size: .78rem; padding: .28rem .7rem; border-radius: 999px; }
.zy-pd-info .zy-pd-title { font-size: clamp(1.5rem, 2.4vw, 2.05rem); line-height: 1.4; margin: .7rem 0 .55rem; }
.zy-pd-info .zy-pd-meta { align-items: center; gap: .4rem .9rem; font-size: .88rem; }
.zy-pd-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--zy-border-strong); }
.zy-pd-rating { display: inline-flex; align-items: center; gap: .3rem; color: var(--zy-muted); text-decoration: none; min-height: 32px; }
.zy-pd-rating:hover { color: var(--zy-primary); }
.zy-pd-rating strong { color: var(--zy-text); }
.zy-pd-lead { margin: .9rem 0 0; color: var(--zy-muted); font-size: 1rem; line-height: 1.85; }

/* صندوق الشراء */
.zy-buybox { margin-top: 1.4rem; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 20px; padding: 1.35rem; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 14px 36px rgba(36,24,20,.07); }
[data-bs-theme="dark"] .zy-buybox { box-shadow: 0 14px 36px rgba(0,0,0,.35); }
.zy-bb-price { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.zy-buybox .zy-pd-price { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .7rem; padding: 0; margin: 0; border: 0; }
.zy-buybox .zy-pd-price .zy-price { font-size: 2.1rem; line-height: 1.2; }
.zy-buybox .zy-price-old { font-size: 1rem; }
.zy-buybox .zy-save { background: var(--zy-primary-soft); color: var(--zy-primary); font-weight: 700; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; }
.zy-bb-unit { margin-top: .3rem; font-size: .84rem; color: var(--zy-muted); display: flex; gap: .35rem; align-items: center; }
.zy-bb-stock { flex-shrink: 0; text-align: end; }
.zy-bb-stock .zy-stock { font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; }
.zy-bb-stock small { display: block; margin-top: .3rem; font-size: .78rem; }
.zy-bb-note { margin-top: .75rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--zy-border-strong); }
.zy-bb-variants { margin-top: 1.1rem; }
.zy-bb-variants legend { font-size: .92rem; font-weight: 700; color: var(--zy-muted); margin-bottom: .6rem; }
.zy-bb-variants legend strong { color: var(--zy-text); }
.zy-bb-variants .zy-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .55rem; }
.zy-bb-variants .zy-variant label { width: 100%; min-height: 58px; flex-direction: column; justify-content: center; gap: .05rem; padding: .45rem .6rem; border-radius: 12px; border: 1.5px solid var(--zy-border-strong); text-align: center; line-height: 1.35; transition: border-color var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-bb-variants .zy-variant .v { font-weight: 700; font-size: .92rem; }
.zy-bb-variants .zy-variant .p { font-size: .78rem; color: var(--zy-muted); font-weight: 600; }
.zy-bb-variants .zy-variant label:hover { border-color: var(--zy-primary); }
.zy-bb-variants .zy-variant input:checked + label { border-color: var(--zy-primary); background: var(--zy-primary-soft); box-shadow: 0 0 0 1px var(--zy-primary) inset; }
.zy-bb-variants .zy-variant input:checked + label .v, .zy-bb-variants .zy-variant input:checked + label .p { color: var(--zy-primary); }
.zy-bb-variants .zy-variant input:disabled + label { text-decoration: none; opacity: .55; background: repeating-linear-gradient(-45deg, transparent 0 6px, var(--zy-surface-2) 6px 12px); }
.zy-bb-variants .zy-variant input:disabled + label .v { text-decoration: line-through; }
.zy-buybox #pdOutAlert .alert { margin: 1rem 0 0; }
.zy-buybox .zy-pd-actions { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: stretch; margin-top: 1.15rem; }
.zy-buybox .zy-pd-actions .zy-qty { height: 100%; border-radius: 12px; }
.zy-buybox .zy-pd-actions .zy-qty button, .zy-buybox .zy-pd-actions .zy-qty input { height: 52px; }
.zy-bb-add { min-height: 52px; border-radius: 12px; font-size: 1.02rem; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.zy-bb-wish { width: 52px; height: 52px; padding: 0; border-radius: 12px; border: 1.5px solid var(--zy-border-strong); background: var(--zy-surface); color: var(--zy-text); display: grid; place-items: center; font-size: 1.2rem; }
.zy-bb-wish:hover { border-color: var(--zy-primary); color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-bb-wish[aria-pressed="true"] { border-color: var(--zy-primary); color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-bb-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; margin: .7rem -.6rem -.5rem; }
.zy-bb-links .zy-link-btn { color: var(--zy-muted); font-weight: 600; text-decoration: none; }
.zy-bb-links .zy-link-btn:hover { color: var(--zy-primary); }

/* الضمانات */
.zy-pd-assure { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem; }
.zy-pd-assure li { display: flex; align-items: center; gap: .65rem; padding: .75rem .85rem; border-radius: 14px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); }
.zy-pd-assure .ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1.15rem; }
.zy-pd-assure strong { display: block; font-size: .88rem; line-height: 1.4; }
.zy-pd-assure small { display: block; font-size: .76rem; color: var(--zy-muted); line-height: 1.5; }

/* الأقسام السفلية */
.zy-pd-details { margin-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: calc(var(--zy-header-h) + 20px); }
.zy-pd-details:focus { outline: none; }
.zy-pd-h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.zy-pd-h2::before { content: ""; width: 5px; height: 1.2em; border-radius: 3px; background: var(--zy-btn-bg); }
.zy-pd-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 18px; padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.zy-pd-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .9rem; display: flex; align-items: center; gap: .45rem; }
.zy-pd-card h3 i { color: var(--zy-primary); }
.zy-pd-card .zy-prose { font-size: .98rem; line-height: 1.95; }
.zy-pd-uses { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--zy-border-strong); }
.zy-pd-uses .lbl { font-size: .85rem; font-weight: 700; color: var(--zy-muted); margin-inline-end: .2rem; }
.zy-pd-use { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .8rem; border-radius: 999px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); color: var(--zy-text); font-size: .84rem; font-weight: 600; text-decoration: none; transition: border-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-pd-use:hover { border-color: var(--zy-primary); color: var(--zy-primary); }
.zy-pd-card .zy-spec-table { border-radius: 12px; font-size: .9rem; }
.zy-pd-card .zy-spec-table th { width: 42%; background: var(--zy-surface-2); color: var(--zy-muted); }
.zy-pd-card .zy-spec-table td { font-weight: 600; }
.zy-pd-card .zy-pd-imgnote { margin-top: .8rem; }
.zy-rev-sum { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--zy-border); }
.zy-rev-sum .big { font-size: 2.6rem; font-weight: 800; line-height: 1; min-width: 64px; text-align: center; }
.zy-rev-sum .zy-stars { font-size: 1.15rem; }
#pdReviews .zy-review:last-child { border-bottom: 0; padding-bottom: 0; }
#pdReviews #revList .zy-empty { padding-block: 1.5rem .5rem; }
#pdReviews .zy-form-card { border-radius: 18px; height: 100%; }

/* شريط الشراء الثابت */
.zy-sticky-buy .btn { flex: 0 0 auto; white-space: nowrap; min-height: 46px; padding-inline: 1.1rem; }
.zy-sticky-buy > .min-w-0 { flex: 1 1 auto; }

@media (max-width: 991.98px) {
  .zy-pd-gallery { position: static; }
  .zy-pd-info .zy-pd-title { margin-top: .55rem; }
}
@media (max-width: 575.98px) {
  .zy-pd-crumbs { margin-bottom: .75rem; }
  .zy-pd-crumbs .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
  .zy-pd-crumbs .breadcrumb-item.active { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zy-pd .zy-gallery-main { border-radius: 16px; }
  .zy-pd .zy-thumb { width: 64px; height: 64px; }
  .zy-gal-nav { width: 40px; height: 40px; margin-top: -20px; background: rgba(255,255,255,.85); }
  .zy-buybox { padding: 1rem; border-radius: 18px; margin-inline: 0; }
  .zy-buybox .zy-pd-price .zy-price { font-size: 1.75rem; }
  .zy-bb-variants .zy-variants { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .zy-bb-variants .zy-variant label { padding-inline: .3rem; }
  .zy-buybox .zy-pd-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .zy-buybox .zy-pd-actions .zy-bb-qty { order: 1; }
  .zy-buybox .zy-pd-actions .zy-bb-wish { order: 2; }
  .zy-buybox .zy-pd-actions .zy-bb-add { order: 3; grid-column: 1 / -1; }
  .zy-bb-links { flex-direction: column; align-items: flex-start; gap: 0; }
  .zy-pd-assure { grid-template-columns: 1fr; }
  .zy-rev-sum .big { font-size: 2.2rem; }
}
[data-bs-theme="dark"] .zy-gal-nav { background: rgba(33,30,31,.9); color: #EDE8E3; }
@media (prefers-reduced-motion: reduce) { .zy-gal-nav, .zy-gal-hint { transition: none; } }
.zy-pd-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zy-pd-assure li.is-wide { grid-column: 1 / -1; order: 3; }
@media (max-width: 359.98px) { .zy-pd-assure { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .zy-pd-assure { grid-template-columns: 1fr; } .zy-pd-assure li.is-wide { order: 0; } }

/* ==========================================================================
   حركة الإضافة إلى السلة (Rev.12): صورة أكبر بمسار منحنٍ واستقبال من أيقونة السلة
   ========================================================================== */
.zy-fly { position: fixed; z-index: 2000; pointer-events: none; border-radius: 20px; overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: 0 22px 48px rgba(28,18,16,.30), 0 0 0 1px rgba(28,18,16,.08); will-change: transform, opacity; transform-origin: center; transition: none; }
.zy-fly img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 15px; }
[data-bs-theme="dark"] .zy-fly { background: #2A2627; border-color: #2A2627; box-shadow: 0 22px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
/* المصدر ينضغط قليلاً كأن الصورة خرجت منه */
.zy-fly-src { animation: zyFlySrc .55s var(--zy-ease); }
.zy-fly-src img { animation: zyFlySrcImg .55s var(--zy-ease); }
@keyframes zyFlySrc { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--zy-primary-rgb), 0); } 30% { box-shadow: 0 0 0 4px rgba(var(--zy-primary-rgb), .25); } }
@keyframes zyFlySrcImg { 0% { transform: scale(1); } 30% { transform: scale(.96); } 100% { transform: scale(1); } }
/* أيقونة السلة تستقبل المنتج */
.zy-cart-catch { animation: zyCartCatch .7s cubic-bezier(.36,.07,.19,.97); }
@keyframes zyCartCatch {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--zy-primary-rgb), .5); }
  25% { transform: scale(1.22) rotate(-9deg); }
  45% { transform: scale(.94) rotate(6deg); }
  65% { transform: scale(1.06) rotate(-3deg); }
  100% { transform: none; box-shadow: 0 0 0 16px rgba(var(--zy-primary-rgb), 0); }
}
@media (prefers-reduced-motion: reduce) { .zy-fly-src, .zy-fly-src img, .zy-cart-catch { animation: none; } }
/* صفحة المنتج تنتهي بقسم «منتجات ذات صلة» الملوّن: يلتصق بالفوتر دون فراغ أبيض */
main:has(#relatedSection) + .zy-footer { margin-top: 0; }

/* ==========================================================================
   حركة الإضافة إلى المفضلة (Rev.13): انفجار قلوب + قلب يطير لأيقونة المفضلة
   ========================================================================== */
.zy-wburst { position: fixed; z-index: 2001; width: 0; height: 0; pointer-events: none; }
.zy-wburst > span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.zy-wburst .ring { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--zy-primary); }
.zy-wburst .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zy-primary); }
.zy-wburst .dot:nth-child(odd) { background: #F07A82; width: 5px; height: 5px; }
.zy-wfly { position: fixed; z-index: 2001; pointer-events: none; display: grid; place-items: center; border-radius: 50%; background: var(--zy-surface); box-shadow: 0 12px 28px rgba(var(--zy-primary-rgb), .35), 0 0 0 1px rgba(var(--zy-primary-rgb), .15); will-change: transform, opacity; }
.zy-wfly svg { width: 60%; height: 60%; fill: var(--zy-primary); stroke: none; filter: drop-shadow(0 2px 3px rgba(var(--zy-primary-rgb), .35)); }
/* أيقونة المفضلة تستقبل القلب: نبضة قلب وتلوّن مؤقت */
.zy-wish-catch { animation: zyWishCatch .8s cubic-bezier(.36,.07,.19,.97); }
.zy-wish-catch svg, .zy-wish-catch .bi { animation: zyWishFill .8s ease; }
@keyframes zyWishCatch {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--zy-primary-rgb), .45); }
  20% { transform: scale(1.28); }
  38% { transform: scale(.92); }
  56% { transform: scale(1.14); }
  74% { transform: scale(.98); }
  100% { transform: none; box-shadow: 0 0 0 16px rgba(var(--zy-primary-rgb), 0); }
}
@keyframes zyWishFill { 0%, 100% { color: inherit; fill: none; } 15%, 75% { color: var(--zy-primary); fill: var(--zy-primary); } }
@media (prefers-reduced-motion: reduce) { .zy-wish-catch, .zy-wish-catch svg, .zy-wish-catch .bi { animation: none; } }
/* الصفحات بلا شريط سفلي على الموبايل (مثل صفحة المنتج): تظهر أيقونة المفضلة في الهيدر لتكون وجهة حركة القلب */
body.no-bottom-nav .zy-header .zy-hwish { display: inline-grid !important; }
@media (max-width: 374.98px) { body.no-bottom-nav .zy-header .zy-hwish { display: none !important; } }
@media (max-width: 575.98px) { .zy-pd-crumbs .breadcrumb-item:not(.active) { white-space: nowrap; flex-shrink: 0; } }

/* ==========================================================================
   شريط المزايا كقسم مستقل تحت السلايدر (Rev.14) — ينسخ وضع «الطفو» في Rev.8
   ========================================================================== */
.zy-trust-wrap { padding: 2rem 0; background: var(--zy-surface-2); border-bottom: 1px solid var(--zy-border); }
.zy-trust { padding: 0; gap: 1rem; background: none; border: 0; border-radius: 0; box-shadow: none; }
[data-bs-theme="dark"] .zy-trust { box-shadow: none; }
.zy-trust-item { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 18px; padding: 1.3rem 1.35rem; gap: 1rem; transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), border-color var(--zy-dur) var(--zy-ease); }
.zy-trust-item::before, .zy-trust-item::after { display: none !important; }
.zy-trust-item:hover { background: var(--zy-surface); transform: translateY(-3px); border-color: transparent; box-shadow: 0 14px 32px rgba(36,24,20,.09); }
[data-bs-theme="dark"] .zy-trust-item:hover { box-shadow: 0 14px 32px rgba(0,0,0,.4); border-color: var(--zy-border); }
@media (max-width: 1199.98px) { .zy-trust { gap: .75rem; } .zy-trust-item { padding: 1.1rem 1rem; gap: .8rem; } }
@media (max-width: 991.98px) { .zy-trust-wrap { padding: 1.5rem 0; } }
@media (max-width: 575.98px) {
  .zy-trust-wrap { padding: 1rem 0 1.1rem; }
  .zy-trust { gap: .6rem; padding: 0; }
  .zy-trust-item { padding: 1rem .6rem; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .zy-trust-item:hover { transform: none; } }

/* ==========================================================================
   صفحات الدخول وإنشاء الحساب (Rev.14): نموذج + لوحة صورة جانبية
   ========================================================================== */
/* إصلاح: تنبيه الخطأ الفارغ كان ظاهراً لأن .alert {display:flex} تأتي بعده */
.alert.zy-form-alert:not(.show) { display: none; }
.zy-auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1080px; margin-inline: auto; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 28px; overflow: hidden; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 30px 70px rgba(36,24,20,.12); }
.zy-auth-shell.wide { max-width: 1180px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
[data-bs-theme="dark"] .zy-auth-shell { box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.zy-auth-main { padding: clamp(1.5rem, 4vw, 3rem); min-width: 0; }
.zy-auth-head { margin-bottom: 1.5rem; }
.zy-auth-head .zy-auth-icon { margin-bottom: 1rem; }
.zy-auth-head h1 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); font-weight: 800; margin-bottom: .35rem; }
.zy-auth-head p { color: var(--zy-muted); margin: 0; line-height: 1.8; }
/* الحقول بأيقونة */
.zy-auth-main .form-label { font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.zy-field { position: relative; }
.zy-field > .bi:first-child { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); z-index: 3; color: var(--zy-muted); font-size: 1.05rem; pointer-events: none; transition: color var(--zy-dur-fast) var(--zy-ease); }
.zy-field.is-area > .bi:first-child { top: 1rem; transform: none; }
.zy-field .form-control, .zy-field .form-select { padding-inline-start: 2.75rem; padding-inline-end: .95rem; }
.zy-field:has(.zy-pass-toggle) .form-control { padding-inline-end: 3.1rem; }
.zy-field .form-select { padding-inline-end: 2.4rem; }
.zy-field:focus-within > .bi:first-child { color: var(--zy-primary); }
.zy-auth-main .form-control, .zy-auth-main .form-select { min-height: 52px; border-radius: 12px; background-color: var(--zy-surface-2); border-color: var(--zy-border); transition: border-color var(--zy-dur-fast) var(--zy-ease), background-color var(--zy-dur-fast) var(--zy-ease), box-shadow var(--zy-dur-fast) var(--zy-ease); }
.zy-auth-main .form-control:hover, .zy-auth-main .form-select:hover { border-color: var(--zy-border-strong); }
.zy-auth-main .form-control:focus, .zy-auth-main .form-select:focus { background-color: var(--zy-surface); border-color: var(--zy-primary); box-shadow: 0 0 0 4px rgba(var(--zy-primary-rgb), .12); }
.zy-auth-main textarea.form-control { min-height: 92px; padding-top: .8rem; }
.zy-field .zy-pass-toggle { top: 4px; inset-inline-end: 4px; border-radius: 10px; }
.zy-auth-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .25rem .75rem; margin: -.15rem 0 1.1rem; }
.zy-auth-link { font-size: .88rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.zy-auth-link:hover { text-decoration: underline; }
.zy-auth-submit { min-height: 54px; border-radius: 12px; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 10px 24px rgba(var(--zy-primary-rgb), .22); }
.zy-auth-alt { min-height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.zy-auth-main .zy-divider { margin: 1.4rem 0; }
.zy-auth-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.zy-auth-quick a { display: flex; align-items: center; gap: .65rem; padding: .75rem .85rem; border-radius: 14px; border: 1px solid var(--zy-border); background: var(--zy-surface-2); color: var(--zy-text); text-decoration: none; min-height: 60px; transition: border-color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-auth-quick a:hover { border-color: var(--zy-primary); transform: translateY(-2px); }
.zy-auth-quick .ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1.05rem; }
.zy-auth-quick strong { display: block; font-size: .88rem; line-height: 1.35; }
.zy-auth-quick small { display: block; font-size: .75rem; color: var(--zy-muted); }
.zy-auth-demo { display: flex; gap: .5rem; align-items: flex-start; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--zy-border-strong); font-size: .78rem; color: var(--zy-muted); line-height: 1.7; }
.zy-auth-demo i { margin-top: .1rem; }
.zy-auth-switch { text-align: center; margin: 1.1rem 0 0; color: var(--zy-muted); }
.zy-auth-switch a { font-weight: 800; }
/* مجموعات نموذج التسجيل */
.zy-auth-group { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--zy-border); }
.zy-auth-group > legend { display: flex; align-items: center; gap: .55rem; font-size: 1rem; font-weight: 800; margin-bottom: .9rem; float: none; padding: 0; }
.zy-auth-group > legend .n { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--zy-btn-bg); color: #fff; font-size: .82rem; font-weight: 800; }
.zy-auth-terms { margin: 0 0 1.1rem; }
/* مؤشر قوة كلمة المرور */
.zy-pass-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .5rem; }
.zy-pass-meter span { height: 4px; border-radius: 4px; background: var(--zy-border); transition: background-color var(--zy-dur) var(--zy-ease); }
.zy-pass-meter[data-level="1"] span:nth-child(-n+1) { background: #D9534F; }
.zy-pass-meter[data-level="2"] span:nth-child(-n+2) { background: #E8A33D; }
.zy-pass-meter[data-level="3"] span:nth-child(-n+3) { background: #5BA35B; }
.zy-pass-meter[data-level="4"] span { background: #2E8B57; }
#rgPassLvl { font-weight: 700; }
/* اللوحة الجانبية */
.zy-auth-side { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: clamp(1.75rem, 3vw, 2.75rem); min-height: 100%; overflow: hidden; }
.zy-auth-side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.zy-auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,14,14,.10) 0%, rgba(22,14,14,.45) 40%, rgba(30,10,13,.92) 100%); }
.zy-auth-chip { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.zy-auth-side h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin: .9rem 0 .5rem; }
.zy-auth-side p { color: rgba(255,255,255,.88); margin: 0 0 1.25rem; line-height: 1.85; }
.zy-auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.zy-auth-perks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.zy-auth-perks .ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
@media (max-width: 991.98px) {
  .zy-auth-shell, .zy-auth-shell.wide { grid-template-columns: 1fr; max-width: 580px; }
  .zy-auth-shell.wide { max-width: 720px; }
  .zy-auth-side { display: none; }
}
@media (max-width: 575.98px) {
  .zy-auth-shell { border-radius: 22px; }
  .zy-auth-main { padding: 1.4rem 1.1rem; }
  .zy-auth-head { margin-bottom: 1.1rem; }
  .zy-auth-head .zy-auth-icon { width: 52px; height: 52px; border-radius: 15px; margin-bottom: .75rem; }
  .zy-auth-quick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .zy-auth-quick a:hover { transform: none; } }
/* الحقول ذات الاتجاه اليساري (الهاتف والبريد): الأيقونة تبقى يميناً فنحجز لها حشوة يمنى فعلية */
.zy-field .zy-phone-input, .zy-field [dir="ltr"] { padding-right: 2.75rem; padding-left: .95rem; }
/* صفحات الدخول تلتصق بالفوتر دون فراغ أبيض */
main:has(> .zy-auth) + .zy-footer { margin-top: 0; }
@media (max-width: 575.98px) { .zy-auth-quick { grid-template-columns: 1fr 1fr; } .zy-auth-quick a { flex-direction: column; text-align: center; gap: .4rem; padding: .8rem .5rem; } }
@media (max-width: 359.98px) { .zy-auth-quick { grid-template-columns: 1fr; } }

/* ==========================================================================
   تتبّع الطلب (Rev.14): نموذج بحث + لوحة إرشاد + شريط مراحل في تفاصيل الطلب
   ========================================================================== */
.zy-track-card { height: 100%; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 24px; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 22px 50px rgba(36,24,20,.08); }
[data-bs-theme="dark"] .zy-track-card { box-shadow: 0 22px 50px rgba(0,0,0,.4); }
.zy-track-h { font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 800; margin-bottom: .35rem; }
.zy-track-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: 1.1rem; padding: .8rem 1rem; border-radius: 14px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); font-size: .9rem; color: var(--zy-muted); }
.zy-track-alt i { color: var(--zy-primary); }
.zy-track-alt a { font-weight: 800; }
.zy-track-aside { height: 100%; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 24px; background: linear-gradient(160deg, var(--zy-surface-2), var(--zy-surface)); border: 1px solid var(--zy-border); }
.zy-track-aside .h6 { font-weight: 800; font-size: 1rem; margin-bottom: 1rem; }
.zy-track-how { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.zy-track-how li { display: flex; gap: .8rem; align-items: flex-start; position: relative; }
.zy-track-how li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 15px; top: 34px; bottom: -14px; width: 2px; background: var(--zy-border); }
.zy-track-how .n { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--zy-btn-bg); color: #fff; font-weight: 800; font-size: .85rem; position: relative; z-index: 1; }
.zy-track-how strong { display: block; font-size: .93rem; }
.zy-track-how small { display: block; color: var(--zy-muted); font-size: .82rem; line-height: 1.65; }
.zy-track-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.zy-track-flow li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .4rem; border-radius: 999px; background: var(--zy-surface); border: 1px solid var(--zy-border); font-size: .8rem; font-weight: 600; }
.zy-track-flow .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: .78rem; }
.zy-track-help { display: flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding: .9rem 1rem; border-radius: 16px; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-text); text-decoration: none; transition: border-color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-track-help:hover { border-color: var(--zy-primary); transform: translateY(-2px); color: var(--zy-text); }
.zy-track-help .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--zy-btn-bg); color: #fff; font-size: 1.1rem; }
.zy-track-help strong { display: block; font-size: .92rem; }
.zy-track-help small { display: block; font-size: .8rem; color: var(--zy-muted); }
.zy-track-help .bi-chevron-left { color: var(--zy-muted); }
/* شريط مراحل الطلب الأفقي */
.zy-progress-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.1rem; }
.zy-stepper { --dot: 40px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.zy-stepper::before, .zy-stepper::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 2px); height: 4px; border-radius: 4px; inset-inline-start: calc(100% / var(--n) / 2); }
.zy-stepper::before { inset-inline-end: calc(100% / var(--n) / 2); background: var(--zy-border); }
.zy-stepper::after { width: calc((100% - 100% / var(--n)) * var(--pn, 0)); background: var(--zy-btn-bg); }
.zy-stepper li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; position: relative; z-index: 1; min-width: 0; padding-inline: 2px; }
.zy-stepper .dot { width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; background: var(--zy-surface); border: 2px solid var(--zy-border-strong); color: var(--zy-muted); font-size: 1rem; transition: background-color var(--zy-dur) var(--zy-ease); }
.zy-stepper .lbl { font-size: .78rem; font-weight: 600; color: var(--zy-muted); line-height: 1.4; }
.zy-stepper li.done .dot { background: var(--zy-btn-bg); border-color: transparent; color: #fff; }
.zy-stepper li.done .lbl { color: var(--zy-text); }
.zy-stepper li.current .dot { background: var(--zy-surface); border-color: var(--zy-primary); color: var(--zy-primary); box-shadow: 0 0 0 5px rgba(var(--zy-primary-rgb), .14); }
.zy-stepper li.current .lbl { color: var(--zy-primary); font-weight: 800; }
@media (max-width: 991.98px) { .zy-track-card, .zy-track-aside { height: auto; } }
@media (max-width: 575.98px) {
  .zy-track-card, .zy-track-aside { border-radius: 20px; }
  .zy-stepper { --dot: 32px; }
  .zy-stepper .dot { font-size: .85rem; }
  .zy-stepper .lbl { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) { .zy-track-help:hover { transform: none; } }
/* جدول منتجات الطلب على الهاتف: كل منتج بطاقة (الاسم ثم الكمية والسعر والمجموع في صف) */
@media (max-width: 575.98px) {
  .zy-otable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .zy-otable, .zy-otable tbody { display: block; }
  .zy-otable tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem .5rem; padding: .85rem 0; border-bottom: 1px solid var(--zy-border); }
  .zy-otable td { display: block; border: 0; padding: 0; background: none; }
  .zy-otable td:first-child { grid-column: 1 / -1; }
  .zy-otable td[data-label] { font-size: .88rem; text-align: start !important; }
  .zy-otable td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; color: var(--zy-muted); font-weight: 600; }
  .zy-otable td:last-child { text-align: end !important; }
  .zy-otable td:last-child::before { text-align: end; }
}
/* حالة الخطأ داخل حقول الدخول/التسجيل/التتبّع */
.zy-auth-main .form-control.is-invalid, .zy-auth-main .form-select.is-invalid { border-color: var(--bs-form-invalid-border-color, #dc3545); background-image: none; background-color: var(--zy-surface); }
.zy-auth-main .form-control.is-invalid:focus, .zy-auth-main .form-select.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220,53,69,.14); }
.zy-field:has(.is-invalid) > .bi:first-child { color: var(--bs-form-invalid-color, #dc3545); }
.zy-auth-terms { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; padding-inline-start: 0; min-height: 44px; }
.zy-auth-terms .form-check-input { float: none; margin: 0; flex-shrink: 0; }
.zy-auth-terms .form-check-label { flex: 1; }
.zy-auth-terms .invalid-feedback { order: 3; flex-basis: 100%; margin-top: 0; }
/* لون احتياطي داكن للوحة الجانبية: يبقى النص الأبيض مقروءاً إن لم تُحمَّل الصورة */
.zy-auth-side { background-color: #2A1A1C; }

/* ==========================================================================
   التصنيفات الرئيسية (Rev.15): شبكة «بينتو» — بطاقة كبيرة + بطاقات متساوية بلا فراغات
   9 تصنيفات تملأ الشبكة تماماً: 6 أعمدة (كمبيوتر) · 4 (لابتوب) · 3 (تابلت) · 2 (هاتف)
   ========================================================================== */
.zy-cat-grid.zy-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 228px; gap: 1rem; grid-auto-flow: dense; }
.zy-bento .zy-cat-card { aspect-ratio: auto; height: 100%; border-radius: 20px; box-shadow: 0 1px 2px rgba(36,24,20,.06); transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-bento .zy-cat-card.is-big { grid-column: span 2; grid-row: span 2; }
.zy-bento .zy-cat-card::after { background: linear-gradient(0deg, rgba(18,12,12,.88) 0%, rgba(18,12,12,.45) 38%, rgba(18,12,12,0) 68%); }
.zy-bento .zy-cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(36,24,20,.18); }
.zy-bento .zy-cat-card:focus-visible { outline: 3px solid var(--zy-focus); outline-offset: 3px; }
.zy-bento .zy-cat-card-body { padding: 1rem 1.05rem; align-items: flex-end; gap: .6rem; }
.zy-bento .zy-cat-card h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.45; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zy-cat-count { display: inline-flex; align-items: center; margin-bottom: .35rem; padding: .12rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.zy-cat-ic { position: absolute; top: .8rem; inset-inline-start: .8rem; z-index: 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; color: var(--zy-primary); background: rgba(255,255,255,.92); box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-bento .zy-cat-card:hover .zy-cat-ic { background: var(--zy-btn-bg); color: #fff; }
.zy-bento .zy-cat-card .zy-cat-go { width: 38px; height: 38px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.25); }
/* البطاقة الكبيرة */
.zy-bento .zy-cat-card.is-big .zy-cat-card-body { padding: 1.6rem 1.7rem; }
.zy-bento .zy-cat-card.is-big h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); -webkit-line-clamp: 2; }
.zy-bento .zy-cat-card.is-big p { margin: .45rem 0 0; color: rgba(255,255,255,.86); font-size: .95rem; line-height: 1.75; max-width: 34ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zy-cat-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; min-height: 42px; padding: .4rem 1.1rem; border-radius: 999px; background: #fff; color: var(--zy-text); font-weight: 800; font-size: .9rem; transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), gap var(--zy-dur) var(--zy-ease); }
.zy-bento .zy-cat-card.is-big:hover .zy-cat-cta { background: var(--zy-btn-bg); color: #fff; gap: .7rem; }
.zy-bento .zy-cat-card.is-big .zy-cat-ic { width: 48px; height: 48px; border-radius: 14px; font-size: 1.3rem; top: 1.2rem; inset-inline-start: 1.2rem; }
[data-bs-theme="dark"] .zy-cat-cta { background: #F3EEEA; color: #1B1718; }
[data-bs-theme="dark"] .zy-cat-ic { background: rgba(33,30,31,.9); }
@media (max-width: 1199.98px) {
  .zy-cat-grid.zy-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; }
}
@media (max-width: 991.98px) {
  .zy-cat-grid.zy-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; gap: .8rem; }
}
@media (max-width: 767.98px) {
  .zy-bento .zy-cat-card small, .zy-bento .zy-cat-card .zy-cat-go { display: grid; }
  .zy-bento .zy-cat-card-body { padding: .8rem .85rem; }
  .zy-bento .zy-cat-card h3 { font-size: .95rem; }
}
@media (max-width: 575.98px) {
  .zy-cat-grid.zy-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: .65rem; }
  .zy-bento .zy-cat-card { border-radius: 16px; }
  .zy-bento .zy-cat-card.is-big { grid-column: 1 / -1; grid-row: span 1; }
  .zy-bento .zy-cat-card.is-big .zy-cat-card-body { padding: 1rem 1.1rem; }
  .zy-bento .zy-cat-card.is-big h3 { font-size: 1.3rem; }
  .zy-bento .zy-cat-card.is-big p { display: none; }
  .zy-bento .zy-cat-card.is-big .zy-cat-cta { margin-top: .5rem; min-height: 36px; padding: .3rem .85rem; font-size: .82rem; }
  .zy-bento .zy-cat-card.is-big .zy-cat-ic { width: 40px; height: 40px; font-size: 1.1rem; top: .8rem; inset-inline-start: .8rem; }
  .zy-bento .zy-cat-card .zy-cat-go { display: none; }
  .zy-cat-ic { width: 32px; height: 32px; border-radius: 10px; font-size: .9rem; top: .6rem; inset-inline-start: .6rem; }
  .zy-cat-count { font-size: .68rem; margin-bottom: .25rem; }
}
@media (prefers-reduced-motion: reduce) { .zy-bento .zy-cat-card:hover { transform: none; } }
/* البطاقات الصغيرة: سهم في الزاوية العليا بدل أسفل، ليأخذ العنوان العرض كاملاً */
.zy-bento .zy-cat-card:not(.is-big) .zy-cat-go { position: absolute; top: .8rem; inset-inline-end: .8rem; z-index: 2; opacity: 0; transform: translateX(6px); transition: opacity var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease); }
.zy-bento .zy-cat-card:not(.is-big):hover .zy-cat-go, .zy-bento .zy-cat-card:not(.is-big):focus-visible .zy-cat-go { opacity: 1; transform: none; background: var(--zy-btn-bg); border-color: transparent; }
@media (hover: none) { .zy-bento .zy-cat-card:not(.is-big) .zy-cat-go { display: none; } }
.zy-bento .zy-cat-card:not(.is-big) .zy-cat-card-body > div { width: 100%; }
@media (max-width: 575.98px) {
  .zy-cat-grid.zy-bento { grid-auto-rows: minmax(150px, auto); }
  .zy-bento .zy-cat-card.is-big { min-height: 196px; }
  .zy-bento .zy-cat-card.is-big .zy-cat-ic { display: none; }
}
.zy-bento .zy-cat-card img { position: absolute; inset: 0; }

/* ==========================================================================
   صفحة الدخول (Rev.16): أكثر إحكاماً — تتسع في شاشة 1366×768 دون تمرير
   ========================================================================== */
.zy-auth-login { min-height: calc(100vh - var(--zy-header-h)); padding-block: clamp(1.25rem, 3.5vh, 2.5rem); flex-direction: column; justify-content: center; }
.zy-auth-login .container { display: flex; flex-direction: column; align-items: center; }
.zy-auth-login .zy-auth-shell { width: 100%; max-width: 1020px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: 26px; }
.zy-auth-login .zy-auth-main { padding: clamp(1.5rem, 3.6vh, 2.4rem) clamp(1.5rem, 3.4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
/* رأس أفقي: الأيقونة بجانب العنوان */
.zy-auth-head.is-row { display: flex; align-items: center; gap: .95rem; margin-bottom: 1.35rem; }
.zy-auth-head.is-row .zy-auth-icon { margin: 0; width: 54px; height: 54px; border-radius: 16px; font-size: 1.45rem; flex-shrink: 0; }
.zy-auth-head.is-row h1 { margin-bottom: .15rem; font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
.zy-auth-head.is-row p { font-size: .92rem; line-height: 1.6; }
.zy-auth-f { margin-bottom: .95rem; }
.zy-auth-lbl { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.zy-auth-lbl .form-label { margin: 0; }
.zy-auth-lbl .zy-auth-link { min-height: 36px; font-size: .84rem; }
.zy-auth-lbl + .zy-field { margin-top: .2rem; }
.zy-auth-login .form-control { min-height: 50px; }
.zy-auth-login .zy-field .zy-pass-toggle { top: 3px; }
.zy-auth-remember { margin: 0 0 1rem; min-height: 32px; display: flex; align-items: center; gap: .5rem; padding-inline-start: 0; }
.zy-auth-remember .form-check-input { float: none; margin: 0; }
/* تحذير Caps Lock */
.zy-caps:empty { display: none; }
.zy-caps { display: flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .8rem; font-weight: 700; color: var(--zy-warning-text, #8a5a00); }
/* إنشاء حساب + خيارات أخرى */
.zy-auth-new { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: 1.15rem; padding: .7rem .7rem .7rem 1rem; border-radius: 14px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); }
.zy-auth-new > span { color: var(--zy-muted); font-weight: 600; font-size: .92rem; padding-inline-start: .25rem; }
.zy-auth-new .zy-auth-alt { min-height: 44px; padding-inline: 1.1rem; border-radius: 11px; font-weight: 700; background: var(--zy-surface); }
.zy-auth-more { display: flex; justify-content: center; align-items: center; gap: .35rem; margin-top: .85rem; }
.zy-auth-more a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .65rem; border-radius: 10px; color: var(--zy-muted); font-weight: 700; font-size: .88rem; text-decoration: none; transition: color var(--zy-dur-fast) var(--zy-ease), background-color var(--zy-dur-fast) var(--zy-ease); }
.zy-auth-more a:hover { color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-auth-more .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--zy-border-strong); }
/* ملاحظة العرض خارج البطاقة */
.zy-auth-demo.is-out { max-width: 1020px; width: 100%; justify-content: center; text-align: center; border: 0; margin-top: .9rem; padding: 0 1rem; }
/* اللوحة الجانبية: شعار + تدرج بلون العلامة */
.zy-auth-login .zy-auth-side { justify-content: space-between; }
.zy-auth-login .zy-auth-side::before { background: linear-gradient(180deg, rgba(20,12,12,.55) 0%, rgba(20,12,12,.12) 28%, rgba(60,12,18,.55) 58%, rgba(40,8,12,.94) 100%); }
.zy-auth-brand { display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; }
.zy-auth-brand .mk { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.zy-auth-brand strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.zy-auth-brand small { display: block; color: rgba(255,255,255,.8); font-size: .78rem; }
.zy-auth-login .zy-auth-side h2 { margin-top: 0; }
.zy-auth-call { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.25rem; padding: .45rem .9rem; min-height: 40px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(6px); transition: background-color var(--zy-dur) var(--zy-ease); }
.zy-auth-call:hover { background: rgba(255,255,255,.22); color: #fff; }
@media (max-width: 991.98px) {
  .zy-auth-login { min-height: 0; }
  .zy-auth-login .zy-auth-shell { max-width: 520px; }
}
@media (max-width: 575.98px) {
  .zy-auth-login { padding-block: 1rem 1.25rem; }
  .zy-auth-login .zy-auth-main { padding: 1.35rem 1.1rem 1.2rem; }
  .zy-auth-head.is-row .zy-auth-icon { width: 48px; height: 48px; font-size: 1.3rem; }
  .zy-auth-new { flex-direction: column; align-items: stretch; text-align: center; padding: .8rem; }
  .zy-auth-new .zy-auth-alt { width: 100%; }
}
.zy-auth-login .zy-auth-side::before { background: linear-gradient(180deg, rgba(20,12,12,.55) 0%, rgba(20,12,12,.15) 20%, rgba(48,10,15,.74) 46%, rgba(34,8,12,.96) 100%); }
.zy-auth-login .zy-auth-side h2, .zy-auth-login .zy-auth-side p, .zy-auth-login .zy-auth-perks li { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-width: 991.98px) { .zy-auth-login .zy-auth-shell { grid-template-columns: 1fr; } }

/* ==========================================================================
   صفحة السلة (Rev.17): سلة فارغة متحركة · خطوات · أسطر منتجات · ملخص لاصق · حركات
   ========================================================================== */
/* ---- السلة الفارغة ---- */
.zy-empty-cart { max-width: 640px; margin-inline: auto; text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 1rem clamp(1rem, 3vw, 2rem); }
.zy-ec-art { position: relative; width: 190px; height: 190px; margin: 0 auto 1.4rem; display: grid; place-items: center; }
.zy-ec-art .ring { position: absolute; border-radius: 50%; }
.zy-ec-art .r1 { inset: 0; background: radial-gradient(circle at 50% 45%, var(--zy-primary-soft) 0 58%, transparent 59%); }
.zy-ec-art .r2 { inset: -6px; border: 2px dashed var(--zy-border-strong); animation: zySpin 26s linear infinite; }
.zy-ec-art .bag { position: relative; z-index: 2; width: 112px; height: 112px; animation: zyEcFloat 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.zy-ec-art .b-body { fill: var(--zy-surface); stroke: var(--zy-primary); stroke-width: 4; stroke-linejoin: round; }
.zy-ec-art .b-handle { fill: none; stroke: var(--zy-primary); stroke-width: 4; stroke-linecap: round; }
.zy-ec-art .b-face { fill: none; stroke: var(--zy-primary); stroke-width: 3.5; stroke-linecap: round; }
.zy-ec-art .shadow { position: absolute; z-index: 1; bottom: 22px; width: 80px; height: 12px; border-radius: 50%; background: rgba(36,24,20,.14); filter: blur(2px); animation: zyEcShadow 3.2s ease-in-out infinite; }
.zy-ec-art .spark { position: absolute; z-index: 3; width: 10px; height: 10px; background: var(--zy-primary); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: zyEcSpark 2.6s ease-in-out infinite; }
.zy-ec-art .s1 { top: 26px; inset-inline-start: 30px; }
.zy-ec-art .s2 { top: 52px; inset-inline-end: 22px; width: 14px; height: 14px; animation-delay: .9s; background: #E8A33D; }
.zy-ec-art .s3 { bottom: 48px; inset-inline-start: 18px; width: 8px; height: 8px; animation-delay: 1.6s; }
@keyframes zyEcFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes zyEcShadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.72); opacity: .5; } }
@keyframes zyEcSpark { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 40%, 60% { transform: scale(1) rotate(90deg); opacity: 1; } }
.zy-ec-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; margin-bottom: .5rem; }
.zy-ec-text { color: var(--zy-muted); max-width: 46ch; margin: 0 auto 1.4rem; line-height: 1.85; }
.zy-ec-actions { display: flex; gap: .65rem; justify-content: center; flex-wrap: wrap; }
.zy-ec-actions .btn { min-height: 52px; border-radius: 12px; padding-inline: 1.4rem; display: inline-flex; align-items: center; gap: .5rem; }
.zy-ec-cats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px dashed var(--zy-border-strong); }
.zy-ec-cats .lbl { width: 100%; font-size: .85rem; font-weight: 700; color: var(--zy-muted); margin-bottom: .2rem; }
.zy-ec-cats a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-text); font-size: .86rem; font-weight: 600; text-decoration: none; transition: border-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-ec-cats a i { color: var(--zy-primary); }
.zy-ec-cats a:hover { border-color: var(--zy-primary); color: var(--zy-primary); transform: translateY(-2px); }
/* دخول متدرّج للسلة الفارغة */
.zy-empty-cart.is-enter > * { animation: zyRise .6s var(--zy-ease) both; }
.zy-empty-cart.is-enter > :nth-child(2) { animation-delay: .1s; }
.zy-empty-cart.is-enter > :nth-child(3) { animation-delay: .18s; }
.zy-empty-cart.is-enter > :nth-child(4) { animation-delay: .26s; }
.zy-empty-cart.is-enter > :nth-child(5) { animation-delay: .34s; }
@keyframes zyRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- خطوات الطلب ---- */
.zy-cart-steps { list-style: none; margin: 0 auto 1.6rem; padding: 0; display: flex; justify-content: center; align-items: center; gap: .5rem; max-width: 620px; }
.zy-cart-steps li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: var(--zy-muted); flex: 1; }
.zy-cart-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--zy-border); margin-inline-start: .25rem; }
.zy-cart-steps .n { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--zy-surface); border: 2px solid var(--zy-border-strong); font-size: .85rem; }
.zy-cart-steps li.current { color: var(--zy-text); }
.zy-cart-steps li.current .n { background: var(--zy-btn-bg); border-color: transparent; color: #fff; box-shadow: 0 0 0 5px rgba(var(--zy-primary-rgb), .14); }
.zy-cart-steps li > span:last-child { white-space: nowrap; }

/* ---- صندوق المنتجات ---- */
.zy-cart-box { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 22px; padding: clamp(1rem, 2.5vw, 1.5rem); box-shadow: 0 1px 2px rgba(36,24,20,.04); }
.zy-cart-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.zy-cart-head h2 { font-size: 1.15rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .55rem; }
.zy-cart-head .cnt { font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-cart-clear { border: 0; background: none; color: var(--zy-muted); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .7rem; border-radius: 10px; }
.zy-cart-clear:hover { color: var(--zy-danger-text); background: var(--zy-danger-bg); }
.zy-cart-cols { display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px; gap: 1rem; padding: .6rem 0; margin-top: .25rem; border-bottom: 1px solid var(--zy-border); font-size: .78rem; font-weight: 700; color: var(--zy-muted); }
.zy-cart-cols span:nth-child(2) { text-align: center; }
.zy-cart-cols span:last-child { text-align: end; }
#cartLines .zy-cart-line { grid-template-columns: 92px minmax(0, 1fr) 150px 110px; gap: 1rem; padding: 1.1rem 0; align-items: center; }
#cartLines .zy-cart-line:last-child { border-bottom: 0; }
#cartLines .zy-cart-line .thumb { display: block; border-radius: 14px; overflow: hidden; background: var(--zy-surface-2); }
#cartLines .zy-cart-line img { width: 92px; height: 92px; border-radius: 14px; transition: transform var(--zy-dur-slow) var(--zy-ease); }
#cartLines .zy-cart-line:hover img { transform: scale(1.05); }
#cartLines .zy-cart-line h3 { font-size: 1rem; font-weight: 800; margin-bottom: .35rem; }
.zy-cart-line .chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; }
.zy-cart-line .chips span { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 999px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); font-size: .76rem; font-weight: 600; color: var(--zy-muted); }
.zy-cart-line .unit { font-size: .82rem; color: var(--zy-muted); }
.zy-cart-line .acts { display: flex; gap: .15rem; margin-top: .35rem; margin-inline-start: -.6rem; flex-wrap: wrap; }
.zy-cart-line .acts .zy-remove { font-size: .8rem; min-height: 36px; }
.zy-cart-line .qty { display: flex; justify-content: center; }
.zy-cart-line .qty .zy-qty { border-radius: 12px; }
#cartLines .zy-cart-line .line-total { font-size: 1.05rem; color: var(--zy-text); }
.zy-cart-line.is-gone { opacity: .75; }
.zy-cart-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; padding-top: .9rem; border-top: 1px solid var(--zy-border); }
.zy-cart-back { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 700; text-decoration: none; transition: gap var(--zy-dur) var(--zy-ease); }
.zy-cart-back:hover { gap: .7rem; }

/* ---- الملخص ---- */
.zy-cart-sum { border-radius: 22px; padding: 1.4rem; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 18px 44px rgba(36,24,20,.08); }
[data-bs-theme="dark"] .zy-cart-sum { box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.zy-cart-sum h2 { display: flex; align-items: center; gap: .5rem; font-weight: 800; }
.zy-cart-sum h2 i { color: var(--zy-primary); }
.zy-coupon-box { margin: .5rem 0 .25rem; border: 1px dashed var(--zy-border-strong); border-radius: 14px; background: var(--zy-surface-2); }
.zy-coupon-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .45rem; min-height: 46px; padding: 0 .9rem; font-weight: 700; font-size: .9rem; color: var(--zy-text); }
.zy-coupon-box > summary::-webkit-details-marker { display: none; }
.zy-coupon-box > summary i { color: var(--zy-primary); }
.zy-coupon-box > summary::after { content: "\f282"; font-family: "bootstrap-icons"; margin-inline-start: auto; font-size: .8rem; color: var(--zy-muted); transition: transform var(--zy-dur) var(--zy-ease); }
.zy-coupon-box[open] > summary::after { transform: rotate(180deg); }
.zy-coupon-box form { padding: 0 .9rem .9rem; animation: zyRise .3s var(--zy-ease); }
.zy-cart-sum .zy-summary-total { margin-top: .75rem; }
.zy-cart-sum .zy-summary-total .zy-price { font-size: 1.6rem; display: inline-block; }
.zy-cart-sum .zy-summary-note { display: flex; gap: .35rem; align-items: baseline; }
.zy-cart-go { margin-top: 1rem; min-height: 54px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 10px 24px rgba(var(--zy-primary-rgb), .24); }
.zy-cart-go i { transition: transform var(--zy-dur) var(--zy-ease); }
.zy-cart-go:hover i { transform: translateX(-4px); }
.zy-cart-trust { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--zy-border); display: grid; gap: .55rem; }
.zy-cart-trust li { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--zy-muted); font-weight: 600; }
.zy-cart-trust .ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: .9rem; }

/* ---- الحركات ---- */
/* دخول متدرّج لأسطر المنتجات والملخص عند فتح الصفحة */
#cartGrid.is-enter .zy-cart-line { animation: zyRise .55s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 70ms + .1s); }
#cartGrid.is-enter .zy-cart-sum { animation: zyRise .6s var(--zy-ease) both; animation-delay: .15s; }
/* حذف سطر: ينزلق ويطوي ارتفاعه */
#cartLines .zy-cart-line.removing { opacity: 0; transform: translateX(40px); }
/* نبضة الرقم عند تغيّر المجموع */
.zy-num-bump { animation: zyNumBump .55s var(--zy-ease); }
@keyframes zyNumBump { 0% { transform: scale(1); } 35% { transform: scale(1.16); color: var(--zy-primary); } 100% { transform: scale(1); } }
.line-total.zy-num-bump { display: inline-block; justify-self: end; }

@media (max-width: 991.98px) {
  .zy-cart-sum { position: static; }
}
@media (max-width: 767.98px) {
  .zy-cart-cols { display: none; }
  #cartLines .zy-cart-line { grid-template-columns: 80px minmax(0, 1fr) auto; grid-template-areas: "thumb info info" "thumb qty total"; gap: .5rem .85rem; align-items: start; }
  #cartLines .zy-cart-line .thumb { grid-area: thumb; }
  #cartLines .zy-cart-line img { width: 80px; height: 80px; }
  .zy-cart-line .info { grid-area: info; }
  .zy-cart-line .qty { grid-area: qty; justify-content: flex-start; }
  #cartLines .zy-cart-line .line-total { grid-area: total; grid-column: auto; align-self: center; text-align: end; }
}
@media (max-width: 575.98px) {
  .zy-cart-steps { gap: .3rem; margin-bottom: 1.1rem; }
  .zy-cart-steps li { font-size: .78rem; gap: .35rem; }
  .zy-cart-steps .n { width: 30px; height: 30px; font-size: .78rem; }
  .zy-cart-box, .zy-cart-sum { border-radius: 18px; }
  #cartLines .zy-cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; }
  #cartLines .zy-cart-line img { width: 72px; height: 72px; }
  #cartLines .zy-cart-line h3 { font-size: .94rem; }
  .zy-ec-art { width: 160px; height: 160px; }
  .zy-ec-art .bag { width: 96px; height: 96px; }
  .zy-ec-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-ec-art .bag, .zy-ec-art .shadow, .zy-ec-art .spark, .zy-ec-art .r2 { animation: none; }
  .zy-ec-art .spark { opacity: 1; transform: none; }
  .zy-num-bump, #cartGrid.is-enter .zy-cart-line, #cartGrid.is-enter .zy-cart-sum, .zy-empty-cart.is-enter > * { animation: none; }
}
.zy-coupon-box code { color: var(--zy-primary); background: var(--zy-primary-soft); padding: .05rem .35rem; border-radius: 5px; }

/* ==========================================================================
   رأس الصفحات الداخلية (Rev.18): صورة خلفية باهتة تتبدّل حسب نوع الصفحة
   النص يميناً على لون صلب، والصورة تظهر تدريجياً نحو اليسار مع تكبير بطيء
   ========================================================================== */
.zy-page-head { --ph-img: url("https://images.unsplash.com/photo-1597317292822-d0fa5be43aea?auto=format&fit=crop&w=1600&h=520&q=60"); position: relative; isolation: isolate; overflow: hidden; background: var(--zy-cream); padding: clamp(1.9rem, 4vw, 2.9rem) 0 clamp(2rem, 4.2vw, 3.1rem); border-bottom: 1px solid var(--zy-border); }
.zy-page-head::before { content: ""; position: absolute; inset: -4%; z-index: -2; background: var(--ph-img) center / cover no-repeat; opacity: .32; filter: saturate(.75) contrast(.95); animation: zyPhZoom 22s ease-in-out infinite alternate; }
.zy-page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to left, var(--zy-cream) 0%, var(--zy-cream) 22%, color-mix(in srgb, var(--zy-cream) 82%, transparent) 48%, color-mix(in srgb, var(--zy-cream) 45%, transparent) 78%, color-mix(in srgb, var(--zy-cream) 25%, transparent) 100%),
  linear-gradient(to top, color-mix(in srgb, var(--zy-cream) 70%, transparent), transparent 45%); }
@keyframes zyPhZoom { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.zy-page-head .container { position: relative; }
.zy-page-head .breadcrumb { display: inline-flex; margin: 0; padding: .3rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--zy-surface) 78%, transparent); border: 1px solid var(--zy-border); backdrop-filter: blur(6px); font-size: .82rem; }
.zy-page-head h1 { margin: .75rem 0 0; font-size: clamp(1.75rem, 3.2vw, 2.45rem); font-weight: 800; letter-spacing: -.01em; position: relative; padding-bottom: .55rem; }
.zy-page-head h1::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 46px; height: 4px; border-radius: 4px; background: var(--zy-btn-bg); animation: zyPhBar .7s var(--zy-ease) .15s both; transform-origin: right; }
@keyframes zyPhBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.zy-page-head p { margin-top: .65rem; font-size: 1rem; line-height: 1.8; }
.zy-page-head > .container > * { animation: zyRise .55s var(--zy-ease) both; }
.zy-page-head > .container > :nth-child(2) { animation-delay: .06s; }
.zy-page-head > .container > :nth-child(3) { animation-delay: .12s; }
/* صورة حسب نوع الصفحة */
body[data-page="shop"] .zy-page-head, body[data-page="search"] .zy-page-head, body[data-page="offers"] .zy-page-head { --ph-img: url("https://images.unsplash.com/photo-1761301356020-9444536867b1?auto=format&fit=crop&w=1600&h=520&q=60"); }
body[data-page="cart"] .zy-page-head, body[data-page="checkout"] .zy-page-head, body[data-page="wishlist"] .zy-page-head { --ph-img: url("https://images.unsplash.com/photo-1597348989645-46b190ce4918?auto=format&fit=crop&w=1600&h=520&q=60"); }
body[data-page="account"] .zy-page-head, body[data-page="my-orders"] .zy-page-head, body[data-page="addresses"] .zy-page-head, body[data-page="edit-profile"] .zy-page-head, body[data-page="order-details"] .zy-page-head { --ph-img: url("https://images.unsplash.com/photo-1771016834009-bda415d14c64?auto=format&fit=crop&w=1600&h=520&q=60"); }
body[data-page="about"] .zy-page-head, body[data-page="contact"] .zy-page-head { --ph-img: url("https://images.unsplash.com/photo-1652862729869-2f4e80c1849d?auto=format&fit=crop&w=1600&h=520&q=60"); }
[data-bs-theme="dark"] .zy-page-head::before { opacity: .22; filter: saturate(.6) brightness(.8); }
@media (max-width: 767.98px) {
  .zy-page-head::before { opacity: .22; }
  .zy-page-head::after { background: linear-gradient(to left, var(--zy-cream) 0%, color-mix(in srgb, var(--zy-cream) 80%, transparent) 55%, color-mix(in srgb, var(--zy-cream) 55%, transparent) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .zy-page-head::before, .zy-page-head h1::after, .zy-page-head > .container > * { animation: none; }
}
@media print { .zy-page-head::before, .zy-page-head::after { display: none; } }
.zy-page-head p:empty { display: none; }
.zy-page-head::before { opacity: .4; }
@media (max-width: 767.98px) { .zy-page-head::before { opacity: .26; } }
[data-bs-theme="dark"] .zy-page-head::before { opacity: .24; }
[data-bs-theme="dark"] .zy-page-head::before { opacity: .3; filter: saturate(.7) brightness(.95); }

/* ==========================================================================
   صفحة القسم (Rev.19): بانر سينمائي + أيقونة وأرقام + أقسام أخرى + دليل الأقسام
   ========================================================================== */
.zy-cat-hero { min-height: clamp(240px, 30vw, 320px); border-radius: 26px; margin-top: 1.25rem; align-items: flex-end; isolation: isolate; background: #2A1A1C; }
.zy-cat-hero img { animation: zyPhZoom 24s ease-in-out infinite alternate; }
.zy-cat-hero::after { background:
  linear-gradient(to left, rgba(20,12,12,.9) 0%, rgba(20,12,12,.72) 38%, rgba(20,12,12,.25) 75%, rgba(20,12,12,.1) 100%),
  linear-gradient(to top, rgba(40,8,12,.55), transparent 55%); }
.zy-cat-hero-body { max-width: 680px; padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.zy-cat-hero-body > * { animation: zyRise .6s var(--zy-ease) both; }
.zy-cat-hero-body > :nth-child(2) { animation-delay: .07s; }
.zy-cat-hero-body > :nth-child(3) { animation-delay: .14s; }
.zy-cat-hero-body > :nth-child(4) { animation-delay: .2s; }
.zy-cat-hero-body > :nth-child(5) { animation-delay: .26s; }
.zy-cat-hero .breadcrumb { display: inline-flex; margin: 0 0 1rem; padding: .3rem .85rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: .82rem; }
.zy-cat-hero .breadcrumb-item a:hover { color: #fff; }
.zy-cat-hero-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: var(--zy-primary); background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.25); margin-bottom: .9rem; }
.zy-cat-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin: 0 0 .5rem; letter-spacing: -.01em; }
.zy-cat-hero p { font-size: 1.02rem; line-height: 1.85; max-width: 52ch; }
.zy-cat-hero-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.zy-cat-hero-stats span { display: inline-flex; align-items: baseline; gap: .35rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); font-size: .86rem; color: rgba(255,255,255,.9); }
.zy-cat-hero-stats strong { color: #fff; font-size: 1.05rem; font-weight: 800; }
/* أقسام أخرى */
.zy-cat-siblings { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.zy-cat-siblings .lbl { flex-shrink: 0; font-size: .85rem; font-weight: 700; color: var(--zy-muted); }
.zy-cat-siblings .track { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; -webkit-mask-image: linear-gradient(to left, #000 88%, transparent); mask-image: linear-gradient(to left, #000 88%, transparent); }
.zy-cat-siblings .track::-webkit-scrollbar { display: none; }
.zy-cat-siblings a { flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-text); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-cat-siblings a i { color: var(--zy-primary); }
.zy-cat-siblings a:hover { border-color: var(--zy-primary); color: var(--zy-primary); transform: translateY(-2px); }
/* دليل الأقسام */
.zy-cat-dir { margin-top: .5rem; }
.zy-empty + .zy-cat-dir { margin-top: 1rem; padding-top: 2rem; border-top: 1px dashed var(--zy-border-strong); }
.zy-bento.is-enter .zy-cat-card { animation: zyRise .6s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
[data-bs-theme="dark"] .zy-cat-hero-ic { background: #F3EEEA; }
@media (max-width: 575.98px) {
  .zy-cat-hero { border-radius: 20px; margin-top: 1rem; }
  .zy-cat-hero-body { padding: 1.25rem 1.1rem 1.35rem; }
  .zy-cat-hero-ic { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 13px; }
  .zy-cat-hero p { font-size: .92rem; }
  .zy-cat-siblings .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-cat-hero img, .zy-cat-hero-body > *, .zy-bento.is-enter .zy-cat-card { animation: none; }
  .zy-cat-siblings a:hover { transform: none; }
}
.zy-cat-siblings { min-width: 0; max-width: 100%; }
.zy-cat-siblings .track { min-width: 0; flex: 1 1 auto; }

/* ==========================================================================
   بانر القسم المضغوط + شبكة الأقسام 5 في الصف (Rev.20)
   ========================================================================== */
/* البانر: صفّان — مسار التنقل، ثم (أيقونة + عنوان + وصف) يميناً والأرقام يساراً */
.zy-cat-hero { min-height: 0; border-radius: 22px; }
.zy-cat-hero-body { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "crumb crumb" "main stats"; align-items: end; gap: .85rem 2rem; padding: clamp(1.25rem, 2.6vw, 1.9rem) clamp(1.25rem, 3vw, 2.25rem); }
.zy-cat-hero-body > nav { grid-area: crumb; }
.zy-cat-hero .breadcrumb { margin: 0; }
.zy-cat-hero-main { grid-area: main; display: flex; align-items: center; gap: 1rem; min-width: 0; }
.zy-cat-hero-main .zy-cat-hero-ic { margin: 0; flex-shrink: 0; width: 58px; height: 58px; border-radius: 17px; font-size: 1.55rem; }
.zy-cat-hero h1 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin: 0 0 .25rem; line-height: 1.3; }
.zy-cat-hero p { font-size: .95rem; line-height: 1.7; max-width: 60ch; margin: 0; }
.zy-cat-hero-stats { grid-area: stats; margin: 0; justify-content: flex-end; }
/* دخول متتابع للعناصر الجديدة */
.zy-cat-hero-main { animation: zyRise .6s var(--zy-ease) .08s both; }
.zy-cat-hero-stats { animation: zyRise .6s var(--zy-ease) .18s both; }
@media (max-width: 767.98px) {
  .zy-cat-hero-body { grid-template-columns: 1fr; grid-template-areas: "crumb" "main" "stats"; gap: .75rem; }
  .zy-cat-hero-stats { justify-content: flex-start; }
  .zy-cat-hero-main { align-items: flex-start; }
  .zy-cat-hero-main .zy-cat-hero-ic { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 13px; }
}

/* شبكة الأقسام: 5 بطاقات في الصف، والصف الأخير في المنتصف */
.zy-cat-tiles { --gap: 1.1rem; --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.zy-cat-tile { --w: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); flex: 0 0 var(--w); max-width: var(--w); position: relative; display: flex; flex-direction: column; background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 20px; overflow: hidden; color: var(--zy-text); text-decoration: none; transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), border-color var(--zy-dur) var(--zy-ease); }
.zy-cat-tile:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 18px 40px rgba(36,24,20,.13); color: var(--zy-text); }
[data-bs-theme="dark"] .zy-cat-tile:hover { box-shadow: 0 18px 40px rgba(0,0,0,.45); border-color: var(--zy-border); }
.zy-cat-tile:focus-visible { outline: 3px solid var(--zy-focus); outline-offset: 3px; }
.zy-cat-tile .media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--zy-surface-2); }
.zy-cat-tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--zy-dur-slow) var(--zy-ease); }
.zy-cat-tile:hover .media img { transform: scale(1.08); }
.zy-cat-tile .ic { position: absolute; z-index: 2; inset-inline-start: 1rem; top: -24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; color: var(--zy-primary); background: var(--zy-surface); border: 3px solid var(--zy-surface); box-shadow: 0 6px 16px rgba(36,24,20,.14); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-cat-tile:hover .ic { background: var(--zy-btn-bg); color: #fff; transform: rotate(-6deg); }
.zy-cat-tile .body { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; padding: 2rem 1rem 1rem; flex: 1; }
.zy-cat-tile .txt { min-width: 0; }
.zy-cat-tile .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 800; font-size: 1rem; line-height: 1.45; }
.zy-cat-tile .n { display: block; margin-top: .2rem; font-size: .8rem; font-weight: 600; color: var(--zy-muted); }
.zy-cat-tile .go { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--zy-surface-2); border: 1px solid var(--zy-border); color: var(--zy-muted); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-cat-tile:hover .go { background: var(--zy-btn-bg); border-color: transparent; color: #fff; transform: translateX(-3px); }
.zy-cat-tiles.is-enter .zy-cat-tile { animation: zyRise .55s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@media (max-width: 1199.98px) { .zy-cat-tiles { --cols: 4; } }
@media (max-width: 991.98px) { .zy-cat-tiles { --cols: 3; --gap: .9rem; } }
@media (max-width: 575.98px) {
  .zy-cat-tiles { --cols: 2; --gap: .65rem; }
  .zy-cat-tile { border-radius: 16px; }
  .zy-cat-tile .ic { width: 40px; height: 40px; font-size: 1.05rem; border-radius: 12px; top: -20px; inset-inline-start: .7rem; }
  .zy-cat-tile .body { padding: 1.6rem .75rem .8rem; }
  .zy-cat-tile .t { font-size: .9rem; }
  .zy-cat-tile .go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-cat-tiles.is-enter .zy-cat-tile, .zy-cat-hero-main, .zy-cat-hero-stats { animation: none; }
  .zy-cat-tile:hover { transform: none; }
}
.zy-cat-tile .t { min-height: 2.9em; display: -webkit-box; align-content: end; }
.zy-cat-tile .txt { display: flex; flex-direction: column; justify-content: flex-end; }
/* بلا أيقونة قسم: حشوة جسم البطاقة أقل */
.zy-cat-tile .body { padding: 1rem 1rem 1.05rem; }
@media (max-width: 575.98px) { .zy-cat-tile .body { padding: .8rem .75rem .85rem; } }

/* ==========================================================================
   إتمام الطلب (Rev.21): خطوات حيّة · نموذج بحقول حديثة · ملخص أنيق · حركات
   ========================================================================== */
/* شريط الخطوات */
.zy-steps { margin-bottom: 1.5rem; }
.zy-steps li::before { transition: background-color .4s var(--zy-ease), border-color .4s var(--zy-ease), color .4s var(--zy-ease), box-shadow .4s var(--zy-ease); }
.zy-steps li::after { transition: background-color .5s var(--zy-ease); }
.zy-steps li[aria-current="step"]::before { animation: zyStepPulse 2.4s ease-in-out infinite; }
@keyframes zyStepPulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(var(--zy-primary-rgb), .15); } 50% { box-shadow: 0 0 0 9px rgba(var(--zy-primary-rgb), .06); } }
/* بطاقة النموذج */
.zy-co-form { border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 18px 44px rgba(36,24,20,.06); }
[data-bs-theme="dark"] .zy-co-form { box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.zy-co-form .zy-step-panel > h2 { display: flex; align-items: center; gap: .8rem; font-size: 1.25rem; font-weight: 800; margin-bottom: 1.25rem; outline: none; }
.zy-co-form .zy-step-panel > h2 .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1.2rem; }
.zy-co-form .zy-step-panel > h2 .tx small { display: block; font-size: .75rem; font-weight: 700; color: var(--zy-muted); margin-bottom: .1rem; }
.zy-co-form .zy-step-panel.active { animation: zyCoIn .45s var(--zy-ease); }
@keyframes zyCoIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.zy-co-form .alert-info { background: var(--zy-surface-2); border: 1px dashed var(--zy-border-strong); color: var(--zy-text); border-radius: 14px; }
.zy-co-form .alert-info i { color: var(--zy-primary); }
.zy-co-form .form-label { font-weight: 700; font-size: .9rem; }
.zy-co-form .zy-option-card .box { border-radius: 14px; transition: border-color var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-co-form .zy-option-card:hover .box { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36,24,20,.07); }
.zy-co-form .zy-pay-details { border-radius: 14px; }
.zy-co-form .zy-review-block { border-radius: 16px; }
/* أزرار التنقل */
.zy-co-form .zy-step-nav { margin-top: 1.5rem; padding-top: 1.25rem; }
.zy-co-form .zy-step-nav .btn { min-height: 52px; border-radius: 12px; display: inline-flex; align-items: center; gap: .5rem; }
.zy-co-form #coNext, .zy-co-form #coSubmit { box-shadow: 0 10px 24px rgba(var(--zy-primary-rgb), .24); padding-inline: 1.75rem; }
.zy-co-form #coNext i { transition: transform var(--zy-dur) var(--zy-ease); }
.zy-co-form #coNext:hover i { transform: translateX(-4px); }
/* الملخص */
.zy-co-sum-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.zy-co-sum-head h2 { margin: 0; }
.zy-co-edit { display: inline-flex; align-items: center; gap: .3rem; min-height: 36px; padding: 0 .6rem; border-radius: 9px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.zy-co-edit:hover { background: var(--zy-primary-soft); }
.zy-checkout-aside .zy-mini-item img { border-radius: 10px; }
.zy-checkout-aside .zy-cart-trust a { font-weight: 700; }
.zy-checkout-aside .zy-cart-trust:empty { display: none; }
/* دخول الصفحة */
#checkoutApp > .zy-steps, #checkoutApp > .zy-co-form, .zy-checkout-aside .zy-cart-sum { animation: zyRise .55s var(--zy-ease) both; }
#checkoutApp > .zy-co-form { animation-delay: .08s; }
.zy-checkout-aside .zy-cart-sum { animation-delay: .14s; }
@media (prefers-reduced-motion: reduce) {
  .zy-steps li[aria-current="step"]::before, .zy-co-form .zy-step-panel.active, #checkoutApp > .zy-steps, #checkoutApp > .zy-co-form, .zy-checkout-aside .zy-cart-sum { animation: none; }
  .zy-co-form .zy-option-card:hover .box { transform: none; }
}

/* ==========================================================================
   قائمة التصنيفات العريضة (Rev.22): بعرض الهيدر — أقسام + نشاط + عروض
   ========================================================================== */
@media (min-width: 992px) {
  .zy-header-main { position: relative; }
  .zy-nav-inline .zy-mega { position: static; }
  .zy-nav-inline .zy-mega-panel { top: 100%; inset-inline: 0; width: auto; transform: translateY(10px) scale(.985); transform-origin: top center;
    display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "main side" "foot foot"; gap: 0;
    padding: 0; border-radius: 0 0 22px 22px; border-top: 0; overflow: hidden;
    box-shadow: 0 30px 60px rgba(36,24,20,.16), 0 2px 6px rgba(36,24,20,.05);
    transition: opacity .25s var(--zy-ease), transform .3s var(--zy-ease), visibility .25s; }
  .zy-nav-inline .zy-mega:hover .zy-mega-panel, .zy-nav-inline .zy-mega:focus-within .zy-mega-panel { transform: none; }
  .zy-nav-inline .zy-mega.closed .zy-mega-panel { transform: translateY(10px) scale(.985) !important; }
  [data-bs-theme="dark"] .zy-nav-inline .zy-mega-panel { box-shadow: 0 30px 60px rgba(0,0,0,.55); }
}
.zy-mega-main { grid-area: main; padding: 1.25rem 1.4rem 1.1rem; min-width: 0; }
.zy-mega-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.zy-mega-head > span { font-size: .8rem; font-weight: 800; color: var(--zy-muted); letter-spacing: .02em; display: inline-flex; align-items: center; gap: .45rem; }
.zy-mega-head > span::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--zy-btn-bg); }
.zy-mega-head > a { font-size: .84rem; font-weight: 700; color: var(--zy-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; transition: gap var(--zy-dur) var(--zy-ease); }
.zy-mega-head > a:hover { gap: .55rem; }
.zy-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.zy-mega-panel .zy-mega-grid a { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: 14px; color: var(--zy-text); font-weight: 700; font-size: .92rem; text-decoration: none; border: 1px solid transparent; transition: background-color var(--zy-dur-fast) var(--zy-ease), border-color var(--zy-dur-fast) var(--zy-ease); }
.zy-mega-panel .zy-mega-grid a:hover, .zy-mega-panel .zy-mega-grid a:focus-visible { background: var(--zy-surface-2); border-color: var(--zy-border); color: var(--zy-primary); }
.zy-mega-panel .zy-mega-grid img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex-shrink: 0; transition: transform var(--zy-dur) var(--zy-ease); }
.zy-mega-panel .zy-mega-grid a:hover img { transform: scale(1.06) rotate(-2deg); }
.zy-mega-grid .tx { min-width: 0; flex: 1; }
.zy-mega-grid .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.zy-mega-panel .zy-mega-grid small { display: block; color: var(--zy-muted); font-weight: 600; font-size: .76rem; margin-top: .1rem; }
.zy-mega-grid .go { color: var(--zy-primary); font-size: .85rem; opacity: 0; transform: translateX(6px); transition: opacity var(--zy-dur-fast) var(--zy-ease), transform var(--zy-dur-fast) var(--zy-ease); }
.zy-mega-grid a:hover .go, .zy-mega-grid a:focus-visible .go { opacity: 1; transform: none; }
/* العمود الجانبي */
.zy-mega-side { grid-area: side; padding: 1.25rem 1.2rem; background: var(--zy-surface-2); border-inline-start: 1px solid var(--zy-border); display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.zy-mega-uses { display: grid; gap: .2rem; margin-bottom: .9rem; }
.zy-mega-panel .zy-mega-uses a { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: 11px; color: var(--zy-text); font-weight: 600; font-size: .88rem; text-decoration: none; transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease); }
.zy-mega-uses .ic { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-primary); font-size: .92rem; transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease); }
.zy-mega-panel .zy-mega-uses a:hover { background: var(--zy-surface); color: var(--zy-primary); }
.zy-mega-uses a:hover .ic { background: var(--zy-btn-bg); color: #fff; border-color: transparent; }
.zy-mega-promo { position: relative; display: block; margin-top: auto; border-radius: 16px; overflow: hidden; min-height: 132px; color: #fff; text-decoration: none; isolation: isolate; }
.zy-mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--zy-dur-slow) var(--zy-ease); }
.zy-mega-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(40,8,12,.92), rgba(40,8,12,.35)); }
.zy-mega-promo:hover img { transform: scale(1.07); }
.zy-mega-promo .in { position: absolute; inset-inline: 0; bottom: 0; padding: .85rem .95rem; display: flex; flex-direction: column; }
.zy-mega-promo strong { font-size: 1rem; font-weight: 800; }
.zy-mega-promo small { font-size: .76rem; color: rgba(255,255,255,.82); }
.zy-mega-promo .cta { margin-top: .45rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: #fff; color: var(--zy-text); font-size: .76rem; font-weight: 800; transition: gap var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-mega-promo:hover .cta { gap: .55rem; background: var(--zy-btn-bg); color: #fff; }
/* التذييل */
.zy-mega-foot { grid-area: foot; display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem 1.5rem; padding: .7rem 1rem; border-top: 1px solid var(--zy-border); background: var(--zy-surface); }
.zy-mega-panel .zy-mega-foot a { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .5rem; border-radius: 9px; color: var(--zy-muted); font-weight: 700; font-size: .86rem; text-decoration: none; }
.zy-mega-panel .zy-mega-foot a:hover { color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-mega-foot i { color: var(--zy-primary); }
/* دخول متتابع للعناصر عند الفتح */
.zy-mega:hover .zy-mega-grid a, .zy-mega:focus-within .zy-mega-grid a { animation: zyMegaIn .35s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 25ms + 60ms); }
.zy-mega:hover .zy-mega-side, .zy-mega:focus-within .zy-mega-side { animation: zyMegaIn .4s var(--zy-ease) .12s both; }
@keyframes zyMegaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
[data-bs-theme="dark"] .zy-mega-promo .cta { background: #F3EEEA; color: #1B1718; }
@media (max-width: 1199.98px) { .zy-nav-inline .zy-mega-panel { grid-template-columns: minmax(0, 1fr) 250px; } .zy-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .zy-mega:hover .zy-mega-grid a, .zy-mega:focus-within .zy-mega-grid a, .zy-mega:hover .zy-mega-side, .zy-mega:focus-within .zy-mega-side { animation: none; } .zy-mega-panel .zy-mega-grid a:hover img, .zy-mega-promo:hover img { transform: none; } }
/* عزل العناصر الجديدة عن قواعد القائمة القديمة (.zy-mega-panel a / img) */
.zy-mega-panel .zy-mega-promo { display: block; padding: 0; border-radius: 16px; color: #fff; font-weight: 400; }
.zy-mega-panel .zy-mega-promo:hover { background: none; color: #fff; }
.zy-mega-panel .zy-mega-promo img { width: 100%; height: 100%; border-radius: 0; }
.zy-mega-panel .zy-mega-head > a { padding: 0; background: none; }
.zy-mega-panel .zy-mega-head > a:hover { background: none; color: var(--zy-primary); }

/* ==========================================================================
   تواصل معنا (Rev.23): قنوات حيّة · نموذج حديث · بطاقة موقع بخريطة متحركة
   ========================================================================== */
/* قنوات التواصل */
.zy-ch-grid { display: grid; grid-template-columns: 1.25fr 1.1fr 1fr 1fr; gap: 1rem; }
.zy-ch { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.3rem; border-radius: 20px; background: var(--zy-surface); border: 1px solid var(--zy-border); transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), border-color var(--zy-dur) var(--zy-ease); }
.zy-ch:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 36px rgba(36,24,20,.11); }
.zy-ch .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.3rem; background: var(--zy-primary-soft); color: var(--zy-primary); transition: transform var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-ch:hover .ic { background: var(--zy-btn-bg); color: #fff; transform: rotate(-8deg) scale(1.05); }
.zy-ch h3 { font-size: .85rem; font-weight: 700; color: var(--zy-muted); margin: 0 0 .25rem; }
.zy-ch .val { margin: 0; font-weight: 800; font-size: 1rem; line-height: 1.6; color: var(--zy-text); }
.zy-ch .val a { color: inherit; text-decoration: none; }
.zy-ch small { display: block; margin-top: .25rem; font-size: .76rem; color: var(--zy-muted); }
.zy-ch-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .95rem; border-radius: 999px; font-size: .84rem; font-weight: 800; text-decoration: none; background: var(--zy-surface-2); border: 1px solid var(--zy-border); color: var(--zy-text); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), gap var(--zy-dur) var(--zy-ease); }
.zy-ch-btn:hover { background: var(--zy-btn-bg); border-color: transparent; color: #fff; gap: .6rem; }
/* القناة الأساسية (الهاتف) */
.zy-ch.is-main { background: linear-gradient(145deg, #C42A35, #8E1820); border-color: transparent; color: #fff; box-shadow: 0 16px 36px rgba(var(--zy-primary-rgb), .28); overflow: hidden; isolation: isolate; }
.zy-ch.is-main::after { content: ""; position: absolute; width: 180px; height: 180px; inset-inline-end: -60px; top: -70px; border-radius: 50%; background: rgba(255,255,255,.1); z-index: -1; }
.zy-ch.is-main .ic { background: rgba(255,255,255,.18); color: #fff; }
.zy-ch.is-main h3, .zy-ch.is-main small { color: rgba(255,255,255,.82); }
.zy-ch.is-main .val { color: #fff; font-size: 1.45rem; letter-spacing: .02em; }
.zy-ch.is-main .zy-ch-btn { background: #fff; color: #8E1820; border-color: transparent; }
.zy-ch.is-main .zy-ch-btn:hover { background: #1B1718; color: #fff; }
/* رنين أيقونة الهاتف */
.zy-ch .ic.ring i { display: inline-block; animation: zyRing 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes zyRing { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-16deg); } 78% { transform: rotate(14deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.zy-ch .ic.ring { position: relative; }
.zy-ch .ic.ring::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255,255,255,.5); animation: zyRingWave 3.2s ease-out infinite; }
@keyframes zyRingWave { 0%, 70% { transform: scale(1); opacity: 0; } 74% { opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* النموذج */
.zy-contact-card { border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.1rem); height: 100%; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 18px 44px rgba(36,24,20,.06); }
.zy-contact-h { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 800; margin: 0 0 .2rem; }
.zy-topics { margin: 0; }
.zy-topic-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.zy-topic-list label { position: relative; cursor: pointer; }
.zy-topic-list input { position: absolute; opacity: 0; pointer-events: none; }
.zy-topic-list span { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--zy-border-strong); background: var(--zy-surface-2); font-size: .88rem; font-weight: 700; color: var(--zy-text); transition: border-color var(--zy-dur-fast) var(--zy-ease), background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease), transform var(--zy-dur-fast) var(--zy-ease); }
.zy-topic-list span i { color: var(--zy-primary); transition: color var(--zy-dur-fast) var(--zy-ease); }
.zy-topic-list label:hover span { border-color: var(--zy-primary); transform: translateY(-1px); }
.zy-topic-list input:checked + span { background: var(--zy-btn-bg); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(var(--zy-primary-rgb), .25); }
.zy-topic-list input:checked + span i { color: #fff; }
.zy-topic-list input:focus-visible + span { outline: 3px solid var(--zy-focus); outline-offset: 2px; }
.zy-msg-lbl { display: flex; justify-content: space-between; align-items: center; }
.zy-msg-lbl .form-label { margin-bottom: .4rem; }
.zy-counter { font-size: .76rem; font-weight: 700; color: var(--zy-muted); font-variant-numeric: tabular-nums; direction: ltr; }
.zy-counter.is-warn { color: var(--zy-primary); }
.zy-contact-card textarea.form-control { min-height: 140px; }
/* نجاح الإرسال: علامة صح تُرسم */
.zy-contact-done { text-align: center; padding: 1.5rem .5rem 1rem; }
.zy-check-draw { width: 92px; height: 92px; margin-bottom: 1rem; }
.zy-check-draw circle { fill: var(--zy-success-bg, #E7F5EC); stroke: var(--zy-success, #2E8B57); stroke-width: 3; stroke-dasharray: 214; stroke-dashoffset: 214; animation: zyDraw .6s var(--zy-ease) forwards; }
.zy-check-draw path { fill: none; stroke: var(--zy-success, #2E8B57); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: zyDraw .45s var(--zy-ease) .5s forwards; }
@keyframes zyDraw { to { stroke-dashoffset: 0; } }
.zy-contact-done > :not(svg) { animation: zyRise .5s var(--zy-ease) .7s both; }

/* بطاقة الزيارة */
.zy-visit { border-radius: 24px; overflow: hidden; background: var(--zy-surface); border: 1px solid var(--zy-border); box-shadow: 0 1px 2px rgba(36,24,20,.04); scroll-margin-top: calc(var(--zy-header-h) + 20px); }
.zy-visit-map { position: relative; height: 190px; background: #F3EDE6; overflow: hidden; }
.zy-visit-map svg { width: 100%; height: 100%; display: block; }
.zy-visit-map .blocks rect { fill: #E8DFD5; }
.zy-visit-map .roads path { stroke: #FFFFFF; stroke-width: 12; fill: none; }
.zy-visit-map .route { fill: none; stroke: var(--zy-primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 10; animation: zyRoute 1.6s linear infinite; opacity: .8; }
@keyframes zyRoute { to { stroke-dashoffset: -36; } }
.zy-visit-map .pin { position: absolute; left: 65%; top: 39%; transform: translate(-50%, -100%); z-index: 2; font-size: 2.4rem; color: var(--zy-primary); filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); animation: zyPinBounce 2.4s ease-in-out infinite; }
.zy-visit-map .pulse { position: absolute; left: 65%; top: 39%; width: 18px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(var(--zy-primary-rgb), .35); }
.zy-visit-map .pulse::after { content: ""; position: absolute; inset: -10px -14px; border-radius: 50%; border: 2px solid rgba(var(--zy-primary-rgb), .45); animation: zyPinWave 2.4s ease-out infinite; }
@keyframes zyPinBounce { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 10px)); } }
@keyframes zyPinWave { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.zy-visit-map .tag { position: absolute; bottom: .6rem; inset-inline-start: .6rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(255,255,255,.85); font-size: .7rem; font-weight: 700; color: #6B5E57; }
.zy-visit-body { padding: 1.2rem 1.3rem 1.3rem; }
.zy-visit-body h2 { display: flex; align-items: center; gap: .45rem; font-weight: 800; margin-bottom: .45rem; }
.zy-visit-body h2 i { color: var(--zy-primary); }
.zy-visit-body .addr { color: var(--zy-muted); margin-bottom: 1rem; line-height: 1.8; }
.zy-visit-acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.zy-visit-acts .btn { min-height: 46px; border-radius: 12px; display: inline-flex; align-items: center; gap: .45rem; flex: 1 1 auto; justify-content: center; }
[data-bs-theme="dark"] .zy-visit-map { background: #241F20; }
[data-bs-theme="dark"] .zy-visit-map .blocks rect { fill: #2F2829; }
[data-bs-theme="dark"] .zy-visit-map .roads path { stroke: #3A3233; }
[data-bs-theme="dark"] .zy-visit-map .tag { background: rgba(33,30,31,.85); color: #CFC6C0; }
/* روابط المساعدة */
.zy-help { margin-top: 1rem; padding: 1.1rem 1.1rem .6rem; border-radius: 24px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); }
.zy-help h2 { font-weight: 800; margin: 0 0 .6rem .2rem; }
.zy-help a { display: flex; align-items: center; gap: .75rem; padding: .7rem .6rem; margin-bottom: .45rem; border-radius: 14px; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-text); text-decoration: none; transition: border-color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-help a:hover { border-color: var(--zy-primary); transform: translateX(-4px); }
.zy-help .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1.05rem; }
.zy-help strong { display: block; font-size: .92rem; }
.zy-help small { display: block; font-size: .78rem; color: var(--zy-muted); }
.zy-help .go { margin-inline-start: auto; color: var(--zy-muted); transition: transform var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-help a:hover .go { color: var(--zy-primary); transform: translateX(-3px); }
@media (max-width: 1199.98px) { .zy-ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .zy-ch-grid { grid-template-columns: 1fr; gap: .7rem; }
  .zy-ch { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 1rem; border-radius: 18px; }
  .zy-ch .ic { width: 44px; height: 44px; font-size: 1.15rem; }
  .zy-ch > .min-w-0 { flex: 1; }
  .zy-ch-btn { margin-top: 0; width: 100%; justify-content: center; }
  .zy-ch.is-main .val { font-size: 1.25rem; }
  .zy-visit-map { height: 160px; }
  .zy-topic-list span { font-size: .82rem; padding: .35rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-ch .ic.ring i, .zy-ch .ic.ring::after, .zy-visit-map .route, .zy-visit-map .pin, .zy-visit-map .pulse::after { animation: none; }
  .zy-check-draw circle, .zy-check-draw path { animation: none; stroke-dashoffset: 0; }
  .zy-contact-done > :not(svg) { animation: none; }
  .zy-ch:hover, .zy-help a:hover { transform: none; }
}

/* ==========================================================================
   الأسئلة الشائعة (Rev.24): فهرس لاصق · بحث بتمييز · أسئلة كبطاقات · حركات
   ========================================================================== */
/* الفهرس */
.zy-faq-nav { position: sticky; top: calc(var(--zy-header-h) + 20px); display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-radius: 22px; background: var(--zy-surface); border: 1px solid var(--zy-border); box-shadow: 0 1px 2px rgba(36,24,20,.04); }
.zy-faq-nav .hd { font-size: .78rem; font-weight: 800; color: var(--zy-muted); padding: 0 .4rem .4rem; display: flex; align-items: center; gap: .45rem; }
.zy-faq-nav .hd::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--zy-btn-bg); }
.zy-faq-nav a { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .35rem .5rem; border-radius: 13px; color: var(--zy-text); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease), opacity var(--zy-dur) var(--zy-ease); }
.zy-faq-nav a .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--zy-surface-2); border: 1px solid var(--zy-border); color: var(--zy-primary); transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease); }
.zy-faq-nav a .t { flex: 1; min-width: 0; }
.zy-faq-nav a b { min-width: 26px; height: 24px; padding: 0 .45rem; border-radius: 999px; display: grid; place-items: center; font-size: .74rem; background: var(--zy-surface-2); color: var(--zy-muted); }
.zy-faq-nav a:hover { background: var(--zy-surface-2); }
.zy-faq-nav a.active { background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-faq-nav a.active .ic { background: var(--zy-btn-bg); border-color: transparent; color: #fff; }
.zy-faq-nav a.active b { background: var(--zy-btn-bg); color: #fff; }
.zy-faq-nav a.is-off { opacity: .4; }
.zy-faq-nav .tot { margin-top: .4rem; padding: .7rem .5rem 0; border-top: 1px dashed var(--zy-border-strong); font-size: .8rem; font-weight: 600; color: var(--zy-muted); display: flex; align-items: center; gap: .4rem; }
/* البحث */
.zy-faq-search { position: relative; }
.zy-faq-search > .bi-search { position: absolute; inset-inline-start: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.15rem; color: var(--zy-muted); pointer-events: none; transition: color var(--zy-dur-fast) var(--zy-ease); }
.zy-faq-search input { min-height: 60px; border-radius: 18px; padding-inline: 3.1rem 3.3rem; font-size: 1.02rem; background: var(--zy-surface); border: 1.5px solid var(--zy-border); box-shadow: 0 10px 28px rgba(36,24,20,.06); transition: border-color var(--zy-dur-fast) var(--zy-ease), box-shadow var(--zy-dur-fast) var(--zy-ease); }
.zy-faq-search input:focus { border-color: var(--zy-primary); box-shadow: 0 0 0 5px rgba(var(--zy-primary-rgb), .12), 0 10px 28px rgba(36,24,20,.06); }
.zy-faq-search:focus-within > .bi-search { color: var(--zy-primary); }
.zy-faq-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.zy-faq-clear { position: absolute; inset-inline-end: .55rem; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--zy-surface-2); color: var(--zy-muted); display: grid; place-items: center; animation: zyPopIn .25s var(--zy-ease); }
.zy-faq-clear:hover { background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-faq-count { min-height: 1.6rem; margin: .65rem .25rem 1rem; font-size: .86rem; font-weight: 700; color: var(--zy-muted); }
.zy-faq-count:empty { min-height: .4rem; margin-bottom: .6rem; }
mark.zy-hl { background: rgba(232,163,61,.35); color: inherit; padding: 0 .1em; border-radius: 4px; }
/* المجموعات والأسئلة */
.zy-faq .zy-faq-group { margin-bottom: 2rem !important; scroll-margin-top: calc(var(--zy-header-h) + 20px); animation: zyRise .55s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.zy-faq .zy-faq-group > h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem !important; font-weight: 800; margin-bottom: .9rem !important; }
.zy-faq .zy-faq-group > h2 i { width: 38px; height: 38px; margin: 0 !important; border-radius: 12px; display: inline-grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary) !important; font-size: 1rem; }
.zy-faq .accordion-item { border-radius: 16px !important; margin-bottom: .65rem; border: 1px solid var(--zy-border) !important; background: var(--zy-surface); transition: border-color var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-faq .accordion-item:hover { border-color: var(--zy-border-strong) !important; transform: translateY(-1px); }
.zy-faq .accordion-item:has(.accordion-collapse.show), .zy-faq .accordion-item:has(.accordion-collapse.collapsing) { border-color: rgba(var(--zy-primary-rgb), .35) !important; box-shadow: 0 12px 28px rgba(36,24,20,.08); }
.zy-faq .accordion-button { min-height: 62px; padding: .9rem 1.15rem; font-size: .98rem; font-weight: 700; background: transparent; color: var(--zy-text); box-shadow: none; }
.zy-faq .accordion-button:not(.collapsed) { background: transparent; color: var(--zy-primary); }
/* أيقونة + تتحوّل إلى − */
.zy-faq .accordion-button::after { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--zy-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23B9232D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--zy-border); transition: transform .35s var(--zy-ease), background-color .25s var(--zy-ease); }
.zy-faq .accordion-button:not(.collapsed)::after { transform: rotate(135deg); background-color: var(--zy-primary-soft); border-color: transparent; }
.zy-faq .accordion-body { padding: 0 1.15rem 1.15rem; color: var(--zy-muted); line-height: 1.95; font-size: .95rem; }
.zy-faq .accordion-collapse.show .accordion-body { animation: zyRise .4s var(--zy-ease); }
/* بطاقة «لم تجد إجابتك؟» */
.zy-faq-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.5rem 1.6rem; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #C42A35, #8E1820); box-shadow: 0 18px 40px rgba(var(--zy-primary-rgb), .25); }
.zy-faq-cta::after { content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -70px; bottom: -110px; border-radius: 50%; background: rgba(255,255,255,.1); z-index: -1; }
.zy-faq-cta .ic { width: 58px; height: 58px; flex-shrink: 0; border-radius: 17px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(255,255,255,.16); animation: zyEcFloat 3.2s ease-in-out infinite; }
.zy-faq-cta > .min-w-0 { flex: 1 1 260px; }
.zy-faq-cta h2 { color: #fff; font-size: 1.25rem; font-weight: 800; margin: 0 0 .2rem; }
.zy-faq-cta p { margin: 0; color: rgba(255,255,255,.86); }
.zy-faq-cta .acts { display: flex; gap: .5rem; flex-wrap: wrap; }
.zy-faq-cta .btn { min-height: 46px; border-radius: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: .45rem; }
.zy-faq-cta .btn-light { color: #8E1820; }
.zy-btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: transparent; }
.zy-btn-ghost-light:hover { background: #fff; color: #8E1820; border-color: #fff; }
.zy-faq #faqEmpty .zy-empty { padding-block: 2rem; }
@media (max-width: 991.98px) {
  .zy-faq-nav { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: .4rem; padding: .5rem; border-radius: 18px; scrollbar-width: none; }
  .zy-faq-nav::-webkit-scrollbar { display: none; }
  .zy-faq-nav .hd, .zy-faq-nav .tot { display: none; }
  .zy-faq-nav a { flex-shrink: 0; white-space: nowrap; min-height: 42px; }
  .zy-faq-nav a .ic { width: 30px; height: 30px; }
}
@media (max-width: 575.98px) {
  .zy-faq-search input { min-height: 54px; border-radius: 16px; font-size: .95rem; }
  .zy-faq .accordion-button { font-size: .93rem; padding: .85rem .95rem; }
  .zy-faq-cta { padding: 1.25rem; border-radius: 20px; }
  .zy-faq-cta .acts, .zy-faq-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-faq .zy-faq-group, .zy-faq .accordion-collapse.show .accordion-body, .zy-faq-cta .ic, .zy-faq-clear { animation: none; }
  .zy-faq .accordion-item:hover { transform: none; }
  .zy-faq .accordion-button::after { transition: none; }
}
/* صورة افتراضية أوضح لرأس الصفحات (الأسئلة الشائعة والسياسات): علب كرتون كرافت */
body[data-page="faq"] .zy-page-head, body[data-page="policy"] .zy-page-head { --ph-img: url("https://images.unsplash.com/photo-1597514402413-17eac2b501c0?auto=format&fit=crop&w=1600&h=520&q=60"); }

/* ==========================================================================
   من نحن (Rev.25): قصة + كولاج متحرك + أرقام تعدّ + قيم + أقسام + عملاء + دعوة
   ========================================================================== */
.zy-about-h { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.35; margin: .4rem 0 1rem; }
.zy-about-h span { color: var(--zy-primary); }
.zy-about-lead { font-size: 1.05rem; line-height: 1.95; color: var(--zy-text); }
.zy-about-story p { color: var(--zy-muted); line-height: 1.95; }
.zy-about-note { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; background: var(--zy-surface-2); border: 1px dashed var(--zy-border-strong); font-size: .9rem; margin-top: .25rem; }
.zy-about-note > i { color: var(--zy-primary); margin-top: .15rem; }
/* الأرقام */
.zy-about-stats { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.zy-about-stats li { display: flex; align-items: center; gap: .65rem; padding: .85rem .9rem; border-radius: 16px; background: var(--zy-surface); border: 1px solid var(--zy-border); box-shadow: 0 6px 18px rgba(36,24,20,.05); }
.zy-about-stats .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1.1rem; }
.zy-about-stats strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--zy-text); font-variant-numeric: tabular-nums; }
.zy-about-stats small { display: block; font-size: .78rem; color: var(--zy-muted); font-weight: 600; }
/* الكولاج */
.zy-about-collage { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; aspect-ratio: 1 / .95; }
.zy-about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 40px rgba(36,24,20,.14); transition: transform .5s var(--zy-ease); }
.zy-about-collage .a { grid-row: 1 / 3; animation: zyFloatA 7s ease-in-out infinite; }
.zy-about-collage .b { animation: zyFloatB 6s ease-in-out infinite; }
.zy-about-collage .c { animation: zyFloatB 6s ease-in-out -3s infinite; }
.zy-about-collage img:hover { transform: scale(1.03); }
@keyframes zyFloatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes zyFloatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.zy-about-badge { position: absolute; z-index: 2; bottom: 1.25rem; inset-inline-end: -1rem; display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border-radius: 18px; background: var(--zy-surface); border: 1px solid var(--zy-border); box-shadow: 0 16px 36px rgba(36,24,20,.16); animation: zyFloatB 5s ease-in-out -1s infinite; }
.zy-about-badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--zy-btn-bg); color: #fff; }
.zy-about-badge strong { display: block; font-size: .95rem; }
.zy-about-badge small { display: block; font-size: .76rem; color: var(--zy-muted); }
.zy-about-dots { position: absolute; z-index: -1; top: -18px; inset-inline-start: -18px; width: 120px; height: 120px; background-image: radial-gradient(rgba(var(--zy-primary-rgb), .35) 2px, transparent 2.5px); background-size: 16px 16px; border-radius: 12px; }
/* القيم */
.zy-val-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.zy-val { position: relative; padding: 1.5rem 1.3rem; border-radius: 22px; background: var(--zy-surface); border: 1px solid var(--zy-border); text-align: center; overflow: hidden; transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), border-color var(--zy-dur) var(--zy-ease); }
.zy-val::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--zy-btn-bg); transform: scaleX(0); transition: transform .4s var(--zy-ease); }
.zy-val:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 18px 40px rgba(36,24,20,.11); }
.zy-val:hover::before { transform: scaleX(1); }
.zy-val .ic { width: 60px; height: 60px; margin: 0 auto .9rem; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: var(--zy-primary-soft); color: var(--zy-primary); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-val:hover .ic { background: var(--zy-btn-bg); color: #fff; transform: rotate(-8deg) scale(1.06); }
.zy-val h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .4rem; }
.zy-val p { margin: 0; font-size: .88rem; color: var(--zy-muted); line-height: 1.8; }
/* العملاء */
.zy-who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.zy-who { position: relative; display: block; aspect-ratio: 5 / 6; border-radius: 22px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; }
.zy-who img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--zy-ease); }
.zy-who::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(30,10,12,.92) 0%, rgba(30,10,12,.45) 45%, rgba(30,10,12,.05) 75%); transition: background-color var(--zy-dur) var(--zy-ease); }
.zy-who:hover img { transform: scale(1.08); }
.zy-who .in { position: absolute; inset-inline: 0; bottom: 0; padding: 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.zy-who .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); font-size: 1.15rem; margin-bottom: .3rem; transition: background-color var(--zy-dur) var(--zy-ease); }
.zy-who:hover .ic { background: var(--zy-btn-bg); border-color: transparent; }
.zy-who strong { font-size: 1.1rem; font-weight: 800; }
.zy-who small { font-size: .84rem; color: rgba(255,255,255,.85); line-height: 1.7; }
.zy-who .go { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 800; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--zy-ease), opacity .3s var(--zy-ease), gap var(--zy-dur) var(--zy-ease); }
.zy-who:hover .go, .zy-who:focus-visible .go { max-height: 2rem; opacity: 1; margin-top: .2rem; }
@media (hover: none) { .zy-who .go { max-height: 2rem; opacity: 1; } }
/* الدعوة */
.zy-about-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 28px; color: #fff; background: linear-gradient(135deg, #C42A35, #7E141C); box-shadow: 0 22px 50px rgba(var(--zy-primary-rgb), .28); }
.zy-about-cta::before, .zy-about-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.zy-about-cta::before { width: 280px; height: 280px; inset-inline-start: -90px; top: -140px; animation: zyFloatB 8s ease-in-out infinite; }
.zy-about-cta::after { width: 200px; height: 200px; inset-inline-end: 18%; bottom: -120px; animation: zyFloatA 9s ease-in-out infinite; }
.zy-about-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: .7rem 0 .35rem; }
.zy-about-cta p { margin: 0; color: rgba(255,255,255,.88); }
.zy-about-cta .acts { display: flex; gap: .6rem; flex-wrap: wrap; }
.zy-about-cta .btn { min-height: 52px; border-radius: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: .45rem; }
.zy-about-cta .btn-light { color: #7E141C; }
@media (max-width: 1199.98px) { .zy-val-grid, .zy-who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .zy-about-badge { inset-inline-end: .75rem; } }
@media (max-width: 575.98px) {
  .zy-about-stats { gap: .45rem; }
  .zy-about-stats li { flex-direction: column; text-align: center; padding: .75rem .4rem; gap: .35rem; }
  .zy-about-stats strong { font-size: 1.35rem; }
  .zy-about-collage { gap: .6rem; }
  .zy-about-collage img { border-radius: 16px; }
  .zy-about-badge { bottom: .6rem; padding: .55rem .75rem; }
  .zy-val-grid { gap: .6rem; }
  .zy-val { padding: 1.1rem .8rem; border-radius: 18px; }
  .zy-val .ic { width: 48px; height: 48px; font-size: 1.2rem; }
  .zy-who-grid { gap: .6rem; }
  .zy-who { border-radius: 18px; }
  .zy-who small { display: none; }
  .zy-about-cta .acts, .zy-about-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-about-collage img, .zy-about-badge, .zy-about-cta::before, .zy-about-cta::after { animation: none; }
  .zy-val:hover, .zy-who:hover img { transform: none; }
}

/* ==========================================================================
   إنشاء حساب بخطوات (Rev.26): مؤشر خطوات + شريط تقدّم + انزلاق بالاتجاه
   ========================================================================== */
.zy-reg-steps { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.zy-reg-steps li { display: flex; align-items: center; gap: .6rem; padding: .55rem .65rem; border-radius: 14px; border: 1.5px solid var(--zy-border); background: var(--zy-surface-2); color: var(--zy-muted); transition: border-color .35s var(--zy-ease), background-color .35s var(--zy-ease), color .35s var(--zy-ease), transform .35s var(--zy-ease); min-width: 0; }
.zy-reg-steps .n { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-muted); transition: background-color .35s var(--zy-ease), color .35s var(--zy-ease), border-color .35s var(--zy-ease); }
.zy-reg-steps .t { min-width: 0; font-weight: 800; font-size: .9rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zy-reg-steps .t small { display: block; font-size: .7rem; font-weight: 700; opacity: .8; }
.zy-reg-steps li.current { border-color: var(--zy-primary); background: var(--zy-primary-soft); color: var(--zy-primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--zy-primary-rgb), .14); }
.zy-reg-steps li.current .n { background: var(--zy-btn-bg); border-color: transparent; color: #fff; animation: zyStepPulse 2.4s ease-in-out infinite; }
.zy-reg-steps li.done { color: var(--zy-text); border-color: var(--zy-border-strong); background: var(--zy-surface); }
.zy-reg-steps li.done .n { background: var(--zy-success, #2E8B57); border-color: transparent; color: #fff; }
.zy-reg-steps li.done .n i::before { content: "\f633"; } /* bi-check2 */
.zy-reg-bar { height: 5px; border-radius: 5px; background: var(--zy-border); overflow: hidden; margin-bottom: 1.4rem; }
.zy-reg-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--zy-primary), #E04A55); transition: width .55s var(--zy-ease); margin-inline-start: 0; float: right; }
/* اللوحات */
.zy-reg-form .zy-step-panel { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; min-width: 0; }
.zy-reg-form .zy-step-panel > legend { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; margin-bottom: 1.1rem; }
.zy-reg-form .zy-step-panel > legend .n { width: 34px; height: 34px; font-size: .9rem; }
.zy-reg-form .zy-step-panel > legend small { display: block; font-size: .74rem; font-weight: 700; color: var(--zy-muted); }
.zy-reg-form .zy-step-panel.active { animation: zyRegIn .45s var(--zy-ease); }
.zy-reg-form .zy-step-panel.active[data-dir="back"] { animation-name: zyRegBack; }
@keyframes zyRegIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes zyRegBack { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
/* المراجعة في الخطوة الأخيرة */
.zy-reg-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.2rem; }
.zy-reg-review .it { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem .85rem; border-radius: 14px; background: var(--zy-surface-2); border: 1px dashed var(--zy-border-strong); animation: zyRise .45s var(--zy-ease) both; }
.zy-reg-review .it + .it { animation-delay: .08s; }
.zy-reg-review .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-reg-review .min-w-0 { flex: 1; }
.zy-reg-review small { display: block; font-size: .72rem; font-weight: 700; color: var(--zy-muted); }
.zy-reg-review strong { display: block; font-size: .9rem; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zy-reg-review .ph, .zy-reg-review .ad { display: block; font-size: .8rem; color: var(--zy-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zy-reg-review .ph { text-align: end; }
.zy-reg-review .zy-link-btn { min-height: 32px; padding: .1rem .45rem; font-size: .78rem; flex-shrink: 0; }
/* تطابق كلمة المرور */
.zy-pass-match:empty { display: none; }
.zy-pass-match { display: flex; align-items: center; gap: .3rem; margin-top: .45rem; font-size: .8rem; font-weight: 700; animation: zyRise .3s var(--zy-ease); }
.zy-pass-match.ok { color: var(--zy-success, #2E8B57); }
.zy-pass-match.bad { color: var(--zy-muted); }
.zy-reg-form .zy-auth-terms { margin: .25rem 0 0; }
/* أزرار التنقل */
.zy-reg-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--zy-border); }
.zy-reg-nav .btn { min-height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.zy-reg-next { padding-inline: 2rem; box-shadow: 0 10px 24px rgba(var(--zy-primary-rgb), .24); }
.zy-reg-next i { transition: transform var(--zy-dur) var(--zy-ease); }
.zy-reg-next:hover i.bi-arrow-left { transform: translateX(-4px); }
.zy-reg-back:hover i { transform: translateX(3px); }
.zy-reg-back i { transition: transform var(--zy-dur) var(--zy-ease); }
@media (max-width: 575.98px) {
  .zy-reg-steps { gap: .35rem; }
  .zy-reg-steps li { flex-direction: column; text-align: center; gap: .3rem; padding: .5rem .3rem; }
  .zy-reg-steps .n { width: 34px; height: 34px; }
  .zy-reg-steps .t { font-size: .76rem; white-space: normal; }
  .zy-reg-review { grid-template-columns: 1fr; }
  .zy-reg-nav .zy-reg-next { flex: 1; padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-reg-form .zy-step-panel.active, .zy-reg-review .it, .zy-pass-match, .zy-reg-steps li.current .n { animation: none; }
  .zy-reg-bar span, .zy-reg-steps li { transition: none; }
  .zy-reg-steps li.current { transform: none; }
}

/* ==========================================================================
   حسابي (Rev.27): قائمة جانبية أنيقة · ترحيب · أرقام · طلب حالي بمراحل · آخر الطلبات
   ========================================================================== */
/* القائمة الجانبية (مشتركة بين صفحات الحساب) */
.zy-account-nav { border-radius: 22px; padding: .6rem; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 14px 36px rgba(36,24,20,.06); }
.zy-account-user { position: relative; overflow: hidden; isolation: isolate; margin: 0 0 .5rem; padding: 1rem .9rem; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #C42A35, #8E1820); }
.zy-account-user::after { content: ""; position: absolute; width: 120px; height: 120px; inset-inline-end: -40px; top: -50px; border-radius: 50%; background: rgba(255,255,255,.12); z-index: -1; }
.zy-account-user .zy-avatar { background: #fff; color: #8E1820; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.zy-account-user small { color: rgba(255,255,255,.82); }
.zy-account-nav .zy-account-links a, .zy-account-nav .zy-account-links button { gap: .65rem; padding: .5rem .55rem; min-height: 48px; border-radius: 13px; font-weight: 700; transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease); }
.zy-account-links .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--zy-surface-2); border: 1px solid var(--zy-border); transition: background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease), transform var(--zy-dur-fast) var(--zy-ease); }
.zy-account-links .ic i { width: auto; font-size: 1rem; }
.zy-account-links .t { flex: 1; text-align: start; }
.zy-account-links b { min-width: 24px; height: 22px; padding: 0 .4rem; border-radius: 999px; display: grid; place-items: center; font-size: .72rem; background: var(--zy-surface-2); color: var(--zy-muted); }
.zy-account-links a:hover .ic { transform: rotate(-6deg); color: var(--zy-primary); }
.zy-account-nav .zy-account-links a.active { background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-account-links a.active .ic { background: var(--zy-btn-bg); border-color: transparent; color: #fff; }
.zy-account-links a.active b { background: var(--zy-btn-bg); color: #fff; }
.zy-account-links .is-out { margin-top: .35rem; border-top: 1px dashed var(--zy-border-strong) !important; border-radius: 0 0 13px 13px !important; padding-top: .7rem !important; }
.zy-account-links .is-out .ic { background: var(--zy-danger-bg, #FBEBEC); border-color: transparent; color: var(--zy-danger-text, #B42318); }

/* بطاقة الترحيب */
.zy-acc-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 1.5rem 1.6rem; color: #fff; background: linear-gradient(135deg, #2A1A1C, #4A1C22 55%, #8E1820); box-shadow: 0 18px 44px rgba(36,24,20,.18); margin-bottom: 1rem; }
.zy-acc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("https://images.unsplash.com/photo-1652862729869-2f4e80c1849d?auto=format&fit=crop&w=1000&h=400&q=60") left center / cover; opacity: .18; mix-blend-mode: luminosity; }
.zy-acc-hero::after { content: ""; position: absolute; width: 240px; height: 240px; inset-inline-start: -80px; bottom: -150px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; animation: zyFloatB 8s ease-in-out infinite; }
.zy-acc-hero-in { display: flex; align-items: center; gap: 1rem; }
.zy-avatar.lg { width: 66px; height: 66px; font-size: 1.6rem; background: #fff; color: #8E1820; box-shadow: 0 0 0 4px rgba(255,255,255,.22); flex-shrink: 0; }
.zy-acc-hero .hi { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.8); }
.zy-acc-hero h2 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; margin: .1rem 0 .25rem; }
.zy-acc-hero p { margin: 0; font-size: .86rem; color: rgba(255,255,255,.8); }
.zy-acc-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin-top: 1.25rem; }
.zy-acc-quick a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .75rem .4rem; border-radius: 14px; color: #fff; text-decoration: none; font-size: .84rem; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: background-color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-acc-quick a i { font-size: 1.25rem; }
.zy-acc-quick a:hover { background: #fff; color: #8E1820; transform: translateY(-3px); }
/* الأرقام */
.zy-acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.zy-acc-stat { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-text); text-decoration: none; transition: transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), border-color var(--zy-dur) var(--zy-ease); }
.zy-acc-stat:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 14px 32px rgba(36,24,20,.1); color: var(--zy-text); }
.zy-acc-stat .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; background: var(--zy-primary-soft); color: var(--zy-primary); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-acc-stat:hover .ic { background: var(--zy-btn-bg); color: #fff; }
.zy-acc-stat strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zy-acc-stat small { display: block; font-size: .8rem; color: var(--zy-muted); font-weight: 600; }
.zy-acc-stat .go { margin-inline-start: auto; color: var(--zy-muted); opacity: 0; transform: translateX(6px); transition: opacity var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-acc-stat:hover .go { opacity: 1; transform: none; color: var(--zy-primary); }
/* البطاقات */
.zy-acc-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 22px; padding: 1.25rem 1.3rem; box-shadow: 0 1px 2px rgba(36,24,20,.04); }
.zy-acc-card + .row, .zy-acc-track { margin-bottom: 1rem; }
.zy-acc-card-hd { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.zy-acc-card-hd h2 { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 800; margin: 0; }
.zy-acc-card-hd h2 .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: 1rem; }
.zy-acc-card-hd h2 .cnt { font-size: .74rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; background: var(--zy-surface-2); color: var(--zy-muted); }
.zy-acc-card-hd .zy-link-btn { min-height: 36px; font-size: .82rem; text-decoration: none; }
.zy-acc-track-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-bottom: 1.2rem; font-size: .86rem; color: var(--zy-muted); }
.zy-acc-track-meta strong { color: var(--zy-text); font-size: .95rem; }
.zy-acc-track-meta .tot { margin-inline-start: auto; font-weight: 800; color: var(--zy-text); font-size: 1rem; }
.zy-acc-info { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.zy-acc-info li { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 12px; background: var(--zy-surface-2); font-weight: 700; font-size: .9rem; min-width: 0; }
.zy-acc-info li > i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--zy-surface); color: var(--zy-primary); border: 1px solid var(--zy-border); }
.zy-acc-info li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.zy-acc-info small { display: block; font-size: .72rem; font-weight: 600; color: var(--zy-muted); }
.zy-acc-addr { padding: .9rem 1rem; border-radius: 14px; border: 1px dashed var(--zy-border-strong); }
.zy-acc-addr .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: .45rem; font-size: .84rem; font-weight: 800; }
.zy-acc-addr .hd i { color: var(--zy-primary); }
.zy-acc-addr .hd a { font-weight: 700; text-decoration: none; }
.zy-acc-addr p { margin: 0; font-size: .86rem; color: var(--zy-muted); line-height: 1.8; }
.zy-acc-addr p strong { color: var(--zy-text); }
/* آخر الطلبات */
.zy-acc-orders { display: grid; gap: .55rem; }
.zy-acc-order { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 15px; border: 1px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); text-decoration: none; animation: zyRise .45s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms + .1s); transition: border-color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-acc-order:hover { border-color: var(--zy-primary); transform: translateX(-3px); box-shadow: 0 8px 20px rgba(36,24,20,.07); color: var(--zy-text); }
.zy-acc-order .thumbs { display: flex; flex-shrink: 0; }
.zy-acc-order .thumbs img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; border: 2px solid var(--zy-surface); margin-inline-start: -10px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.zy-acc-order .thumbs img:first-child { margin-inline-start: 0; }
.zy-acc-order .mid { flex: 1; }
.zy-acc-order .mid strong { display: block; font-size: .9rem; }
.zy-acc-order .mid small { display: block; font-size: .76rem; color: var(--zy-muted); }
.zy-acc-order .end { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0; }
.zy-acc-order .end b { font-size: .92rem; }
.zy-acc-empty { text-align: center; padding: 1.5rem .5rem; }
.zy-acc-empty .ic { width: 76px; height: 76px; margin: 0 auto .8rem; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; background: var(--zy-primary-soft); color: var(--zy-primary); animation: zyEcFloat 3.2s ease-in-out infinite; }
.zy-acc-empty h3 { font-size: 1.1rem; font-weight: 800; }
.zy-acc-empty p { color: var(--zy-muted); font-size: .9rem; }
.zy-acc-empty .btn { min-height: 46px; border-radius: 12px; display: inline-flex; align-items: center; gap: .45rem; }
[data-bs-theme="dark"] .zy-acc-hero { background: linear-gradient(135deg, #1B1213, #3A1519 55%, #6E141B); }
@media (max-width: 991.98px) { .zy-account-nav { box-shadow: none; } .zy-account-user { display: none; } }
@media (max-width: 575.98px) {
  .zy-acc-hero { padding: 1.2rem; border-radius: 20px; }
  .zy-avatar.lg { width: 54px; height: 54px; font-size: 1.3rem; }
  .zy-acc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zy-acc-stats { gap: .45rem; }
  .zy-acc-stat { flex-direction: column; text-align: center; gap: .4rem; padding: .85rem .4rem; }
  .zy-acc-stat .ic { width: 40px; height: 40px; font-size: 1.05rem; }
  .zy-acc-stat strong { font-size: 1.3rem; }
  .zy-acc-stat .go { display: none; }
  .zy-acc-card { padding: 1rem; border-radius: 18px; }
  .zy-acc-order .thumbs img:nth-child(n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zy-acc-hero::after, .zy-acc-order, .zy-acc-empty .ic { animation: none; }
  .zy-acc-stat:hover, .zy-acc-quick a:hover, .zy-acc-order:hover { transform: none; }
}

/* ==========================================================================
   رأس صفحات الحساب (Rev.28): أخف وأنظف — بلا صورة، تدرّج ناعم + نقش + علامة مائية بشكل الشعار
   ========================================================================== */
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head {
  --ph-img: none;
  padding: clamp(1.4rem, 3vw, 2rem) 0 clamp(1.5rem, 3.2vw, 2.1rem);
  background: linear-gradient(120deg, var(--zy-surface) 0%, var(--zy-surface-2) 45%, var(--zy-primary-soft) 130%);
}
/* نقش نقاط خفيف يتلاشى نحو النص */
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head::before {
  inset: 0; opacity: 1; filter: none; animation: none;
  background: radial-gradient(rgba(var(--zy-primary-rgb), .16) 1.4px, transparent 1.8px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(to left, transparent 35%, #000 100%); mask-image: linear-gradient(to left, transparent 35%, #000 100%);
}
/* دوائر ضوئية ناعمة بدل طبقة التدرّج فوق الصورة */
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head::after {
  background:
    radial-gradient(260px 160px at 12% 30%, rgba(var(--zy-primary-rgb), .10), transparent 70%),
    radial-gradient(220px 140px at 30% 110%, rgba(232, 163, 61, .10), transparent 70%);
}
/* علامة مائية بشكل شعار الزييود (معيّن بدائرة) تطفو ببطء */
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head > .container::before {
  content: ""; position: absolute; inset-inline-end: 4%; top: 50%; width: 150px; height: 150px; margin-top: -75px; pointer-events: none;
  border-radius: 34px; transform: rotate(45deg);
  border: 2px solid rgba(var(--zy-primary-rgb), .14);
  background: radial-gradient(circle at center, rgba(var(--zy-primary-rgb), .10) 0 26%, transparent 27%), rgba(var(--zy-primary-rgb), .035);
  animation: zyHeadMark 9s ease-in-out infinite;
}
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head > .container::after {
  content: ""; position: absolute; inset-inline-end: calc(4% + 115px); top: 18%; width: 46px; height: 46px; pointer-events: none;
  border-radius: 12px; transform: rotate(45deg); border: 2px solid rgba(var(--zy-primary-rgb), .12);
  animation: zyHeadMark 7s ease-in-out -2s infinite reverse;
}
@keyframes zyHeadMark { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(52deg) translateY(-8px); } }
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head h1 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
:is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head .breadcrumb { background: var(--zy-surface); }
[data-bs-theme="dark"] :is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head { background: linear-gradient(120deg, var(--zy-surface) 0%, var(--zy-surface-2) 50%, var(--zy-primary-soft) 140%); }
@media (max-width: 767.98px) {
  :is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head > .container::before { width: 96px; height: 96px; margin-top: -48px; inset-inline-end: 2%; border-radius: 24px; opacity: .7; }
  :is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head > .container::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head > .container::before,
  :is(body[data-page="account"], body[data-page="my-orders"], body[data-page="addresses"], body[data-page="edit-profile"], body[data-page="order-details"], body[data-page="wishlist"]) .zy-page-head > .container::after { animation: none; }
}

/* ==========================================================================
   رأس كل الصفحات الداخلية (Rev.28b — طلب المالك: للكل): أخف وأنظف — بلا صورة، تدرّج ناعم + نقش + علامة مائية بشكل الشعار
   ========================================================================== */
:root main .zy-page-head {
  --ph-img: none;
  padding: clamp(1.4rem, 3vw, 2rem) 0 clamp(1.5rem, 3.2vw, 2.1rem);
  background: linear-gradient(120deg, var(--zy-surface) 0%, var(--zy-surface-2) 45%, var(--zy-primary-soft) 130%);
}
/* نقش نقاط خفيف يتلاشى نحو النص */
:root main .zy-page-head::before {
  inset: 0; opacity: 1; filter: none; animation: none;
  background: radial-gradient(rgba(var(--zy-primary-rgb), .16) 1.4px, transparent 1.8px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(to left, transparent 35%, #000 100%); mask-image: linear-gradient(to left, transparent 35%, #000 100%);
}
/* دوائر ضوئية ناعمة بدل طبقة التدرّج فوق الصورة */
:root main .zy-page-head::after {
  background:
    radial-gradient(260px 160px at 12% 30%, rgba(var(--zy-primary-rgb), .10), transparent 70%),
    radial-gradient(220px 140px at 30% 110%, rgba(232, 163, 61, .10), transparent 70%);
}
/* علامة مائية بشكل شعار الزييود (معيّن بدائرة) تطفو ببطء */
:root main .zy-page-head > .container::before {
  content: ""; position: absolute; inset-inline-end: 4%; top: 50%; width: 150px; height: 150px; margin-top: -75px; pointer-events: none;
  border-radius: 34px; transform: rotate(45deg);
  border: 2px solid rgba(var(--zy-primary-rgb), .14);
  background: radial-gradient(circle at center, rgba(var(--zy-primary-rgb), .10) 0 26%, transparent 27%), rgba(var(--zy-primary-rgb), .035);
  animation: zyHeadMark 9s ease-in-out infinite;
}
:root main .zy-page-head > .container::after {
  content: ""; position: absolute; inset-inline-end: calc(4% + 115px); top: 18%; width: 46px; height: 46px; pointer-events: none;
  border-radius: 12px; transform: rotate(45deg); border: 2px solid rgba(var(--zy-primary-rgb), .12);
  animation: zyHeadMark 7s ease-in-out -2s infinite reverse;
}
@keyframes zyHeadMark { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(52deg) translateY(-8px); } }
:root main .zy-page-head h1 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
:root main .zy-page-head .breadcrumb { background: var(--zy-surface); }
:root[data-bs-theme="dark"] main .zy-page-head { background: linear-gradient(120deg, var(--zy-surface) 0%, var(--zy-surface-2) 50%, var(--zy-primary-soft) 140%); }
@media (max-width: 767.98px) {
  :root main .zy-page-head > .container::before { width: 96px; height: 96px; margin-top: -48px; inset-inline-end: 2%; border-radius: 24px; opacity: .7; }
  :root main .zy-page-head > .container::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root main .zy-page-head > .container::before,
  :root main .zy-page-head > .container::after { animation: none; }
}
/* العلامة المائية تتناسب مع ارتفاع البانر فلا تُقصّ في البانرات القصيرة */
:root main .zy-page-head > .container::before { height: 62%; width: auto; aspect-ratio: 1; top: 19%; margin-top: 0; max-height: 150px; }
:root main .zy-page-head > .container::after { height: 22%; width: auto; aspect-ratio: 1; max-height: 46px; top: 10%; }
@media (max-width: 767.98px) { :root main .zy-page-head > .container::before { height: 52%; width: auto; top: 24%; margin-top: 0; } }
:root main .zy-page-head > .container::before { border-radius: 24%; min-height: 96px; top: 50%; translate: 0 -50%; }
:root main .zy-page-head > .container::after { border-radius: 26%; min-height: 34px; }

/* ==========================================================================
   طلباتي (Rev.29): تبويبات بأعداد · بحث · بطاقات طلبات بتقدّم وإجراءات
   ========================================================================== */
.zy-mo-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.zy-mo-tabs button { display: flex; align-items: center; gap: .7rem; padding: .85rem .95rem; border-radius: 18px; border: 1.5px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); text-align: start; transition: border-color var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-mo-tabs button:hover { transform: translateY(-2px); border-color: var(--zy-border-strong); box-shadow: 0 10px 24px rgba(36,24,20,.07); }
.zy-mo-tabs .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; font-size: 1.1rem; background: var(--zy-primary-soft); color: var(--zy-primary); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-mo-tabs strong { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.zy-mo-tabs small { display: block; font-size: .78rem; font-weight: 700; color: var(--zy-muted); }
.zy-mo-tabs button.active { border-color: transparent; background: linear-gradient(135deg, #C42A35, #8E1820); color: #fff; box-shadow: 0 12px 28px rgba(var(--zy-primary-rgb), .26); }
.zy-mo-tabs button.active .ic { background: rgba(255,255,255,.18); color: #fff; }
.zy-mo-tabs button.active small { color: rgba(255,255,255,.85); }
.zy-mo-bar { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.zy-mo-search { position: relative; flex: 1; }
.zy-mo-search > i { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); color: var(--zy-muted); pointer-events: none; }
.zy-mo-search input { min-height: 50px; border-radius: 14px; padding-inline-start: 2.7rem; background: var(--zy-surface); border-color: var(--zy-border); }
.zy-mo-search input:focus { border-color: var(--zy-primary); box-shadow: 0 0 0 4px rgba(var(--zy-primary-rgb), .12); }
.zy-mo-count { flex-shrink: 0; font-size: .86rem; font-weight: 700; color: var(--zy-muted); }
/* بطاقة الطلب */
.zy-mo-list { display: grid; gap: .85rem; }
.zy-mo-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 20px; overflow: hidden; animation: zyRise .45s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms); transition: border-color var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease); }
.zy-mo-card:hover { border-color: var(--zy-border-strong); box-shadow: 0 14px 34px rgba(36,24,20,.08); }
.zy-mo-hd { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1.15rem; background: var(--zy-surface-2); border-bottom: 1px solid var(--zy-border); }
.zy-mo-hd .id { font-weight: 800; font-size: 1rem; color: var(--zy-text); text-decoration: none; margin-inline-end: .75rem; }
.zy-mo-hd .id:hover { color: var(--zy-primary); }
.zy-mo-hd .dt { font-size: .8rem; color: var(--zy-muted); white-space: nowrap; }
.zy-mo-bd { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem .6rem; }
.zy-mo-bd .thumbs { display: flex; flex-shrink: 0; align-items: center; }
.zy-mo-bd .thumbs img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 2px solid var(--zy-surface); margin-inline-start: -12px; box-shadow: 0 3px 8px rgba(0,0,0,.1); transition: margin var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-mo-bd .thumbs img:first-child { margin-inline-start: 0; }
.zy-mo-card:hover .thumbs img { margin-inline-start: -4px; }
.zy-mo-card:hover .thumbs img:first-child { margin-inline-start: 0; }
.zy-mo-bd .thumbs .plus { width: 34px; height: 34px; margin-inline-start: -8px; border-radius: 10px; display: grid; place-items: center; font-size: .74rem; font-weight: 800; background: var(--zy-surface-2); border: 1px solid var(--zy-border); color: var(--zy-muted); }
.zy-mo-bd .info { flex: 1; }
.zy-mo-bd .nm { margin: 0 0 .3rem; font-weight: 700; font-size: .95rem; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zy-mo-bd .nm .more { color: var(--zy-muted); font-weight: 600; }
.zy-mo-bd .meta { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .8rem; color: var(--zy-muted); }
.zy-mo-bd .meta i { color: var(--zy-primary); }
.zy-mo-bd .tot { flex-shrink: 0; text-align: end; }
.zy-mo-bd .tot small { display: block; font-size: .74rem; color: var(--zy-muted); font-weight: 600; }
.zy-mo-bd .tot strong { font-size: 1.15rem; font-weight: 800; }
/* التقدّم */
.zy-mo-prog { display: flex; align-items: center; gap: .75rem; padding: .3rem 1.15rem .9rem; }
.zy-mo-prog .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--zy-border); overflow: hidden; }
.zy-mo-prog .bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E04A55, var(--zy-primary)); float: right; animation: zyMoBar .9s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms + .2s); }
@keyframes zyMoBar { from { width: 0 !important; } }
.zy-mo-prog small { flex-shrink: 0; font-size: .76rem; font-weight: 700; color: var(--zy-muted); }
.zy-mo-prog.is-done .bar span { background: var(--zy-success, #2E8B57); }
.zy-mo-prog.is-done small { color: var(--zy-success-text, #1E6B40); }
.zy-mo-prog.is-cancel .bar span { background: var(--zy-border-strong); }
.zy-mo-ft { display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem 1.15rem; border-top: 1px dashed var(--zy-border); }
.zy-mo-ft .btn { min-height: 40px; border-radius: 11px; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; padding-inline: .95rem; }
@media (max-width: 991.98px) { .zy-mo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .zy-mo-tabs { gap: .45rem; }
  .zy-mo-tabs button { padding: .65rem .6rem; gap: .5rem; border-radius: 15px; }
  .zy-mo-tabs .ic { width: 36px; height: 36px; font-size: .95rem; }
  .zy-mo-tabs strong { font-size: 1.15rem; }
  .zy-mo-bar { flex-direction: column; align-items: stretch; gap: .45rem; }
  .zy-mo-hd { padding: .75rem .9rem; flex-wrap: wrap; }
  .zy-mo-hd .dt { display: block; margin-top: .1rem; }
  .zy-mo-bd { flex-wrap: wrap; padding: .85rem .9rem .5rem; gap: .7rem; }
  .zy-mo-bd .info { flex-basis: calc(100% - 140px); }
  .zy-mo-bd .tot { width: 100%; display: flex; justify-content: space-between; align-items: baseline; text-align: start; padding-top: .5rem; border-top: 1px dashed var(--zy-border); }
  .zy-mo-prog { padding-inline: .9rem; }
  .zy-mo-ft { padding: .65rem .9rem; }
  .zy-mo-ft .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .zy-mo-card, .zy-mo-prog .bar span { animation: none; } .zy-mo-tabs button:hover { transform: none; } }
.zy-mo-hd > .min-w-0 { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .9rem; }
.zy-mo-hd .id { margin: 0; }
.zy-mo-hd .dt { display: inline-flex; align-items: center; gap: .3rem; }

/* ==========================================================================
   تفاصيل الطلب (Rev.30): بطاقة ملخص بمراحل · منتجات كبطاقات · معلومات بأيقونات · سجل زمني
   ========================================================================== */
.zy-od-hero { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 24px; padding: 1.35rem 1.4rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(36,24,20,.04), 0 18px 44px rgba(36,24,20,.07); position: relative; overflow: hidden; animation: zyRise .5s var(--zy-ease) both; }
.zy-od-hero::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: linear-gradient(90deg, #E04A55, var(--zy-primary)); }
.zy-od-hero.is-done::before { background: var(--zy-success, #2E8B57); }
.zy-od-hero.is-cancel::before { background: var(--zy-border-strong); }
.zy-od-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.zy-od-hero .lbl { display: block; font-size: .78rem; font-weight: 700; color: var(--zy-muted); margin-bottom: .2rem; }
.zy-od-hero .idrow { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.zy-od-hero .id { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: .01em; }
.zy-od-copy { width: 34px; height: 34px; border: 1px solid var(--zy-border); border-radius: 10px; background: var(--zy-surface-2); color: var(--zy-muted); display: grid; place-items: center; transition: color var(--zy-dur-fast) var(--zy-ease), border-color var(--zy-dur-fast) var(--zy-ease); }
.zy-od-copy:hover { color: var(--zy-primary); border-color: var(--zy-primary); }
.zy-od-hero .meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .6rem; margin-top: .45rem; font-size: .84rem; color: var(--zy-muted); }
.zy-od-hero .acts { display: flex; gap: .5rem; flex-wrap: wrap; }
.zy-od-hero .acts .btn { min-height: 46px; border-radius: 12px; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.zy-od-facts { list-style: none; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px dashed var(--zy-border-strong); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.zy-od-facts li { display: flex; align-items: center; gap: .6rem; padding: .7rem .75rem; border-radius: 14px; background: var(--zy-surface-2); min-width: 0; }
.zy-od-facts .ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-primary); }
.zy-od-facts small { display: block; font-size: .72rem; font-weight: 600; color: var(--zy-muted); }
.zy-od-facts strong { display: block; font-size: .88rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zy-od-steps { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px dashed var(--zy-border-strong); }
.zy-od-steps .zy-progress-top .small { color: var(--zy-muted); font-weight: 700; }
/* البطاقات */
.zy-od-card { background: var(--zy-surface); border: 1px solid var(--zy-border); border-radius: 20px; padding: 1.15rem 1.25rem; animation: zyRise .5s var(--zy-ease) .08s both; }
.zy-od-card-hd { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.zy-od-card-hd h2 { display: flex; align-items: center; gap: .55rem; font-size: 1rem; font-weight: 800; margin: 0; }
.zy-od-card-hd h2 .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); font-size: .95rem; }
.zy-od-card-hd .cnt { font-size: .76rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: var(--zy-surface-2); color: var(--zy-muted); }
.zy-od-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.zy-od-items li { display: flex; align-items: center; gap: .85rem; padding: .65rem; border-radius: 15px; border: 1px solid var(--zy-border); animation: zyRise .45s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms + .15s); transition: border-color var(--zy-dur) var(--zy-ease); }
.zy-od-items li:hover { border-color: var(--zy-border-strong); }
.zy-od-items img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 13px; object-fit: cover; background: var(--zy-surface-2); }
.zy-od-items .nm { flex: 1; }
.zy-od-items .nm a { display: block; font-weight: 800; font-size: .95rem; color: var(--zy-text); text-decoration: none; line-height: 1.5; }
.zy-od-items .nm a:hover { color: var(--zy-primary); }
.zy-od-items .nm small, .zy-od-items .qp small { display: block; font-size: .78rem; color: var(--zy-muted); }
.zy-od-items .qp { flex-shrink: 0; text-align: end; }
.zy-od-items .qp strong { font-size: 1rem; font-weight: 800; }
.zy-od-totals { margin-top: 1rem; margin-inline-start: auto; max-width: 380px; padding: .9rem 1rem; border-radius: 15px; background: var(--zy-surface-2); }
.zy-od-totals .zy-summary-total { margin-top: .4rem; }
.zy-od-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .9rem; }
.zy-od-info .zy-od-card { padding: 1rem 1.05rem; }
.zy-od-info .big { margin: 0 0 .2rem; font-weight: 800; font-size: .93rem; }
.zy-od-info .sub { margin: 0; font-size: .82rem; color: var(--zy-muted); line-height: 1.7; font-weight: 500; }
.zy-od-info .note { margin-top: .4rem; padding-top: .4rem; border-top: 1px dashed var(--zy-border); }
/* السجل الزمني */
.zy-od-tl .zy-timeline li { animation: zyRise .45s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 70ms + .2s); padding-bottom: 1.25rem; }
.zy-od-tl .zy-timeline .dot { width: 28px; height: 28px; font-size: .8rem; }
.zy-od-tl .zy-timeline li { padding-inline-start: 2.5rem; }
.zy-od-tl .zy-timeline li::before { inset-inline-start: 13px; top: 30px; }
.zy-od-tl .zy-timeline li.is-done:not(.current) .dot { background: var(--zy-success, #2E8B57); border-color: transparent; color: #fff; }
.zy-od-tl .zy-timeline li.is-done:not(:last-child)::before { background: var(--zy-success, #2E8B57); }
.zy-od-tl .zy-timeline li.current .dot { box-shadow: 0 0 0 5px rgba(var(--zy-primary-rgb), .15); animation: zyStepPulse 2.4s ease-in-out infinite; }
.zy-od-tl .zy-timeline li.is-pending strong { color: var(--zy-muted); font-weight: 600; }
.zy-od-help { margin-top: .9rem; }
@media (max-width: 1199.98px) { .zy-od-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .zy-od-info { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .zy-od-hero { padding: 1.1rem; border-radius: 20px; }
  .zy-od-hero .acts { width: 100%; }
  .zy-od-hero .acts .btn { flex: 1; justify-content: center; }
  .zy-od-facts { gap: .45rem; }
  .zy-od-facts li { padding: .6rem; }
  .zy-od-card { padding: 1rem; border-radius: 18px; }
  .zy-od-items li { flex-wrap: wrap; }
  .zy-od-items img { width: 54px; height: 54px; }
  .zy-od-items .nm { flex-basis: calc(100% - 70px); }
  .zy-od-items .qp { width: 100%; display: flex; justify-content: space-between; align-items: baseline; text-align: start; padding-top: .45rem; border-top: 1px dashed var(--zy-border); }
  .zy-od-totals { max-width: none; }
}
@media print { .zy-od-hero, .zy-od-card, .zy-od-items li, .zy-od-tl .zy-timeline li { animation: none !important; box-shadow: none !important; } }
@media (prefers-reduced-motion: reduce) { .zy-od-hero, .zy-od-card, .zy-od-items li, .zy-od-tl .zy-timeline li, .zy-od-tl .zy-timeline li.current .dot { animation: none; } }
/* بطاقات المعلومات: صفوف أفقية (العنوان يميناً والمحتوى بجانبه) لقراءة أوضح */
.zy-od-info { grid-template-columns: 1fr; gap: .6rem; }
.zy-od-info .zy-od-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.zy-od-info .zy-od-card-hd { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
.zy-od-info .zy-od-card > p { grid-column: 2; }
.zy-od-info .zy-od-card-hd h2 { font-size: .92rem; }
@media (max-width: 575.98px) { .zy-od-info .zy-od-card { grid-template-columns: 1fr; } .zy-od-info .zy-od-card-hd { grid-row: auto; margin-bottom: .6rem; } .zy-od-info .zy-od-card > p { grid-column: 1; } }
.zy-od-facts strong { white-space: normal; line-height: 1.4; }
@media (max-width: 575.98px) { .zy-od-facts li { align-items: flex-start; } .zy-od-facts .ic { width: 32px; height: 32px; } .zy-od-facts strong { font-size: .82rem; } }
.zy-stepper .lbl .when { display: block; margin-top: .1rem; font-size: .7rem; font-weight: 600; color: var(--zy-muted); }
.zy-od-help { max-width: 420px; }
@media (min-width: 768px) { .zy-od-info { grid-template-columns: repeat(3, minmax(0, 1fr)); } .zy-od-info .zy-od-card { display: block; } .zy-od-info .zy-od-card-hd { margin-bottom: .7rem; } }

/* ==========================================================================
   عناويني (Rev.31): رأس + بطاقات عناوين بأيقونات + بطاقة إضافة + نافذة حديثة
   ========================================================================== */
.zy-ad-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding: 1.1rem 1.25rem; border-radius: 20px; background: var(--zy-surface); border: 1px solid var(--zy-border); }
.zy-ad-head h2 { display: flex; align-items: center; gap: .55rem; font-size: 1.1rem; font-weight: 800; margin: 0 0 .2rem; }
.zy-ad-head h2 .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--zy-primary-soft); color: var(--zy-primary); }
.zy-ad-head .cnt { font-size: .75rem; font-weight: 700; padding: .12rem .6rem; border-radius: 999px; background: var(--zy-surface-2); color: var(--zy-muted); }
.zy-ad-head p { margin: 0; font-size: .84rem; color: var(--zy-muted); }
.zy-ad-head .btn { min-height: 46px; border-radius: 12px; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; box-shadow: 0 8px 20px rgba(var(--zy-primary-rgb), .22); }
.zy-ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.zy-ad-card { position: relative; display: flex; flex-direction: column; padding: 1.15rem 1.2rem 1rem; border-radius: 20px; background: var(--zy-surface); border: 1.5px solid var(--zy-border); animation: zyRise .45s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms); transition: border-color var(--zy-dur) var(--zy-ease), box-shadow var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-ad-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(36,24,20,.09); }
.zy-ad-card.is-default { border-color: var(--zy-primary); background: linear-gradient(160deg, var(--zy-primary-soft), var(--zy-surface) 55%); }
.zy-ad-badge { position: absolute; top: .9rem; inset-inline-end: .9rem; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; background: var(--zy-btn-bg); color: #fff; font-size: .74rem; font-weight: 800; }
.zy-ad-top { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; padding-inline-end: 5.5rem; }
.zy-ad-top .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; background: var(--zy-surface-2); border: 1px solid var(--zy-border); color: var(--zy-primary); transition: background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease); }
.zy-ad-card:hover .zy-ad-top .ic, .zy-ad-card.is-default .zy-ad-top .ic { background: var(--zy-btn-bg); border-color: transparent; color: #fff; }
.zy-ad-card:hover .zy-ad-top .ic { transform: rotate(-6deg); }
.zy-ad-top h3 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.zy-ad-lines { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .45rem; flex: 1; }
.zy-ad-lines li { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--zy-muted); line-height: 1.65; }
.zy-ad-lines li:first-child { color: var(--zy-text); font-weight: 700; }
.zy-ad-lines i { color: var(--zy-primary); margin-top: .15rem; }
.zy-ad-lines span[dir="ltr"] { text-align: right; }
.zy-ad-acts { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .8rem; border-top: 1px dashed var(--zy-border-strong); }
.zy-ad-btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; padding: 0 .8rem; border-radius: 10px; border: 1px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); font-size: .82rem; font-weight: 700; transition: border-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease), background-color var(--zy-dur-fast) var(--zy-ease); }
.zy-ad-btn:hover { border-color: var(--zy-primary); color: var(--zy-primary); }
.zy-ad-btn.is-del { margin-inline-start: auto; color: var(--zy-muted); }
.zy-ad-btn.is-del:hover { border-color: transparent; background: var(--zy-danger-bg, #FBEBEC); color: var(--zy-danger-text, #B42318); }
/* بطاقة الإضافة */
.zy-ad-new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 210px; padding: 1.2rem; border-radius: 20px; border: 2px dashed var(--zy-border-strong); background: var(--zy-surface-2); color: var(--zy-text); animation: zyRise .45s var(--zy-ease) both; animation-delay: calc(var(--i, 0) * 60ms); transition: border-color var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease); }
.zy-ad-new .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; background: var(--zy-surface); border: 1px solid var(--zy-border); color: var(--zy-primary); margin-bottom: .3rem; transition: transform var(--zy-dur) var(--zy-ease), background-color var(--zy-dur) var(--zy-ease), color var(--zy-dur) var(--zy-ease); }
.zy-ad-new strong { font-size: .98rem; font-weight: 800; }
.zy-ad-new small { font-size: .8rem; color: var(--zy-muted); }
.zy-ad-new:hover { border-color: var(--zy-primary); background: var(--zy-primary-soft); }
.zy-ad-new:hover .ic { transform: rotate(90deg); background: var(--zy-btn-bg); color: #fff; border-color: transparent; }
/* النافذة */
#addrModal .modal-content { border-radius: 24px; border: 0; box-shadow: 0 30px 70px rgba(0,0,0,.25); overflow: hidden; }
#addrModal .modal-header { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--zy-border); background: var(--zy-surface-2); }
#addrModal .modal-title { font-weight: 800; }
.zy-ad-form.zy-auth-main { padding: 1.3rem 1.4rem; }
#addrModal .modal-footer { padding: .9rem 1.4rem; border-top: 1px solid var(--zy-border); }
#addrModal .modal-footer .btn { min-height: 46px; border-radius: 12px; padding-inline: 1.2rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.zy-ad-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.zy-ad-chips button { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .8rem; border-radius: 999px; border: 1.5px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text); font-size: .82rem; font-weight: 700; transition: border-color var(--zy-dur-fast) var(--zy-ease), background-color var(--zy-dur-fast) var(--zy-ease), color var(--zy-dur-fast) var(--zy-ease); }
.zy-ad-chips button i { color: var(--zy-primary); }
.zy-ad-chips button:hover { border-color: var(--zy-primary); }
.zy-ad-chips button.on { background: var(--zy-btn-bg); border-color: transparent; color: #fff; }
.zy-ad-chips button.on i { color: #fff; }
.zy-ad-switch { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 14px; background: var(--zy-surface-2); border: 1px solid var(--zy-border); padding-inline-start: 1rem; margin: 0; }
.zy-ad-switch .form-check-input { float: none; margin: 0; width: 2.6em; height: 1.4em; flex-shrink: 0; cursor: pointer; }
.zy-ad-switch .form-check-input:checked { background-color: var(--zy-primary); border-color: var(--zy-primary); }
.zy-ad-switch label strong { display: block; font-size: .9rem; }
.zy-ad-switch label small { display: block; font-size: .78rem; color: var(--zy-muted); }
@media (max-width: 767.98px) { .zy-ad-grid { grid-template-columns: 1fr; } .zy-ad-new { min-height: 150px; } }
@media (max-width: 575.98px) {
  .zy-ad-head { padding: 1rem; }
  .zy-ad-head .btn { width: 100%; justify-content: center; }
  .zy-ad-card { padding: 1rem; border-radius: 18px; }
  .zy-ad-btn .t { display: none; }
  .zy-ad-form.zy-auth-main { padding: 1.1rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .zy-ad-card, .zy-ad-new { animation: none; } .zy-ad-card:hover, .zy-ad-card:hover .zy-ad-top .ic, .zy-ad-new:hover .ic { transform: none; } }
.zy-od-items .nm a { display: flex; align-items: center; min-height: 44px; }
.zy-od-items .nm small { margin-top: -.45rem; }
