/* ============ زوارة للعطور — Zawarah Perfumes ============ */

:root {
  /* ليل بنفسجي دافئ + ذهب وردي + شمبانيا */
  --bg: #100a12;
  --bg-2: #180f1b;
  --panel: #1e1322;
  --line: rgba(236, 196, 140, .16);
  --line-strong: rgba(236, 196, 140, .38);
  --gold: #ecc48c;
  --gold-2: #fbe6c2;
  --gold-3: #c08a52;
  --rose: #ee9fb7;
  --rose-2: #f7c9d6;
  --wine: #8e2650;
  --wine-2: #b8366a;
  --cream: #faf3ea;
  --cream-2: #f3e6d6;
  --ink: #2b1a24;
  --ink-muted: #7d6570;
  --text: #fbf2ea;
  --muted: #c4afb2;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f-ar: "Tajawal", system-ui, sans-serif;
  --f-display: "Reem Kufi", "Tajawal", sans-serif;
  --f-latin: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-ar);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip; /* clip وليس hidden حتى يعمل position: sticky */
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.15; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.muted { color: var(--muted); }
.center { text-align: center; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 45%, var(--gold) 60%, var(--gold-3));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

/* ---------- أزرار ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: var(--h); padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn-sm { --h: 40px; padding: 0 1.1rem; font-size: .88rem; }
.btn-lg { --h: 58px; padding: 0 2.2rem; font-size: 1.05rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  color: #1a1209;
  box-shadow: 0 8px 30px -8px rgba(217, 181, 108, .55), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(-120%); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(217, 181, 108, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-wine { background: linear-gradient(135deg, var(--wine-2), var(--wine)); color: #fff; box-shadow: 0 10px 30px -10px rgba(142,38,80,.7); }
.btn-wine:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(142,38,80,.8); }
.btn-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.02); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

/* ---------- الهيدر ---------- */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border: 1px solid transparent;
}
.nav.is-solid { background: rgba(14, 11, 8, .72); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex: none;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: 0 4px 18px -4px rgba(217,181,108,.5);
}
.brand-name { font-family: var(--f-latin); letter-spacing: .35em; font-size: .9rem; font-weight: 600; color: var(--gold-2); }
.nav-links { display: flex; gap: 1.8rem; font-size: .92rem; }
.nav-links a { color: var(--muted); position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 -4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- الواجهة ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 120px clamp(16px, 6vw, 96px) 80px;
  background:
    radial-gradient(60% 50% at 20% 85%, rgba(238,159,183,.22), transparent 70%),
    radial-gradient(50% 45% at 85% 15%, rgba(142,38,80,.35), transparent 70%),
    radial-gradient(120% 80% at 30% 100%, #3a1a33 0%, var(--bg) 62%);
}
.hero-smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(90% 70% at 50% 45%, transparent 40%, rgba(11,9,7,.85) 100%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero-copy { position: relative; z-index: 3; }
.kicker { font-family: var(--f-latin); letter-spacing: .4em; font-size: .78rem; color: var(--gold); margin-bottom: 1.2rem; direction: ltr; text-align: right; }
.hero-title { font-size: clamp(5.5rem, 17vw, 15rem); line-height: .95; letter-spacing: -.01em; }
.hero-title-text {
  display: inline-block;
  background: linear-gradient(170deg, #fff8ee 0%, var(--gold-2) 28%, var(--gold) 52%, var(--rose) 82%, var(--wine-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(238,159,183,.28));
  animation: rise 1.4s var(--ease) both .2s;
}
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text); opacity: .85; margin-top: 1rem; animation: rise 1.2s var(--ease) both .55s; }
.kicker { animation: rise 1.2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.hero-stage { position: relative; z-index: 2; height: min(78vh, 680px); display: grid; place-items: end center; }
.hero-rays {
  position: absolute; inset: -10% -20% 10%;
  background: conic-gradient(from 180deg at 50% 70%, transparent 0deg, rgba(243,220,163,.10) 20deg, transparent 40deg, rgba(243,220,163,.07) 70deg, transparent 95deg, rgba(243,220,163,.09) 130deg, transparent 160deg, transparent 200deg, rgba(243,220,163,.08) 230deg, transparent 260deg, rgba(243,220,163,.1) 300deg, transparent 330deg);
  -webkit-mask: radial-gradient(closest-side at 50% 70%, #000 0%, transparent 100%); mask: radial-gradient(closest-side at 50% 70%, #000 0%, transparent 100%);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-fan {
  position: relative; width: min(680px, 100%); height: min(70vh, 560px); margin-bottom: 40px;
  animation: rise 1.6s var(--ease) both .4s; will-change: transform;
}
.fan-card {
  position: absolute; left: 50%; bottom: 0; width: min(280px, 44%); aspect-ratio: 1; object-fit: cover;
  border-radius: 22px; border: 1px solid rgba(243,220,163,.45);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.85), 0 0 60px -10px rgba(217,181,108,.35);
  transform-origin: 50% 120%;
}
.fan-1 { left: 82%; translate: -50% 0; rotate: 12deg; filter: brightness(.75); animation: sway 9s ease-in-out infinite .6s; }
.fan-3 { left: 18%; translate: -50% 0; rotate: -12deg; filter: brightness(.75); animation: sway 9s ease-in-out infinite 1.4s; }
.fan-2 { bottom: 50px; width: min(330px, 52%); translate: -50% 0; z-index: 2; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 50% { transform: translateY(-10px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero-plinth {
  position: absolute; bottom: 20px; width: min(420px, 85%); height: 64px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243,220,163,.35), rgba(217,181,108,.08) 60%, transparent);
  filter: blur(4px);
}
.hero-down {
  position: absolute; z-index: 3; bottom: 28px; left: 50%; translate: -50% 0;
  display: grid; justify-items: center; gap: 4px; font-size: .78rem; color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- شريط الماركات ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: linear-gradient(90deg, var(--bg), var(--bg-2), var(--bg)); direction: ltr; }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-latin); font-size: 1.5rem; letter-spacing: .3em; color: var(--muted); white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: var(--gold-2); }
.marquee-track i { color: var(--gold); font-style: normal; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- أقسام ---------- */
.section { padding: clamp(80px, 12vw, 150px) clamp(16px, 6vw, 96px); position: relative; }
.section-head { max-width: 640px; margin: 0 auto 3.5rem; }
.num { font-size: .85rem; color: var(--gold); margin-bottom: 1rem; letter-spacing: .02em; }
.num b { font-family: var(--f-latin); font-size: 1rem; }
.section h2 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: 1rem; }
.hint { color: var(--muted); font-size: .88rem; margin-top: 2rem; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.divider { color: var(--line-strong); padding: 0 clamp(16px, 6vw, 96px); }
.divider svg { width: 100%; height: 40px; }

/* ---------- الكاروسيل ---------- */
.featured { overflow: clip; }
.carousel { position: relative; height: 560px; perspective: 1400px; outline: none; touch-action: pan-y; user-select: none; }
.car-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  position: absolute; top: 0; left: 50%; width: min(320px, 78vw); height: 540px; margin-left: calc(min(320px, 78vw) / -2);
  border-radius: 28px; padding: 16px 16px 18px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--panel);
  border: 1px solid var(--line);
  transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s var(--ease), border-color .5s, box-shadow .5s;
  cursor: pointer;
}
.card.is-active { border-color: var(--line-strong); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(217,181,108,.15), 0 0 80px -20px rgba(217,181,108,.35); cursor: default; }
.card-art {
  position: relative; width: 100%; aspect-ratio: 1; padding: 0; border: 0; margin: 0 0 14px;
  border-radius: 18px; overflow: hidden; background: #000; cursor: zoom-in; flex: none;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); user-select: none; -webkit-user-drag: none; }
.card.is-active .card-art img { transform: scale(1.03); }
.card-art::after { content: "⤢"; position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: var(--gold-2); font-size: .9rem; opacity: 0; transition: opacity .4s; }
.card.is-active .card-art:hover::after { opacity: 1; }
.card-brand { font-family: var(--f-latin); letter-spacing: .25em; font-size: .75rem; color: var(--gold); direction: ltr; }
.card h3 { font-size: 1.25rem; margin: 4px 0 4px; line-height: 1.35; }
.card-meta { font-size: .82rem; color: var(--muted); }
.card-note { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.card-foot { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { color: var(--gold-2); font-size: .9rem; white-space: nowrap; }
.price b { font-family: var(--f-latin); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.card .btn { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s; pointer-events: none; }
.card.is-active .btn { opacity: 1; transform: none; pointer-events: auto; }

.car-arrow {
  position: absolute; top: 50%; z-index: 20; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(14,11,8,.8); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.car-arrow:hover { background: var(--gold); color: var(--bg); transform: scale(1.08); }
.car-prev { right: calc(50% - 260px); }
.car-next { left: calc(50% - 260px); }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: var(--line-strong); padding: 0; transition: width .5s var(--ease), background .4s; }
.car-dots button.is-active { width: 28px; background: var(--gold); }

/* ---------- المجموعة (قسم فاتح بلون الشمبانيا) ---------- */
.menu {
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(238,159,183,.25), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(236,196,140,.3), transparent 70%),
    linear-gradient(180deg, var(--cream), var(--cream-2));
  color: var(--ink);
  border-radius: 48px 48px 0 0;
  margin-top: 40px;
}
.menu .muted { color: var(--ink-muted); }
.menu .num { color: var(--wine); }
.menu h2 { color: var(--ink); }
.menu-tools { display: grid; gap: 16px; margin-bottom: 14px; }
.search {
  display: flex; align-items: center; gap: 10px; max-width: 560px; height: 54px; padding: 0 18px;
  border-radius: 999px; background: #fff; border: 1px solid rgba(43,26,36,.1); color: var(--ink-muted);
  box-shadow: 0 10px 30px -18px rgba(43,26,36,.4); transition: box-shadow .3s, border-color .3s;
}
.search:focus-within { border-color: var(--wine-2); box-shadow: 0 0 0 4px rgba(184,54,106,.12); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); min-width: 0; }
.search input::placeholder { color: #a8939b; }
.result-count { font-size: .85rem; color: var(--ink-muted); margin: 6px 0 20px; min-height: 1.4em; }
.menu .chip { border-color: rgba(43,26,36,.14); color: var(--ink-muted); background: rgba(255,255,255,.6); }
.menu .chip:hover { color: var(--ink); border-color: rgba(43,26,36,.3); }
.menu .chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 22px !important; }
.pcard {
  background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(43,26,36,.05), 0 18px 40px -26px rgba(43,26,36,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(142,38,80,.45); }
.pcard.is-hidden { display: none; }
.pcard.is-entering { animation: itemIn .6s var(--ease) both; }
.pcard-art { position: relative; padding: 0; border: 0; background: #f4f1ee; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.pcard-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard-art img { transform: scale(1.06); }
.pcard-tag {
  position: absolute; top: 12px; right: 12px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: rgba(43,26,36,.82); color: var(--gold-2); backdrop-filter: blur(6px);
}
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pcard-brand { font-family: var(--f-latin); letter-spacing: .18em; font-size: .72rem; color: var(--wine); direction: ltr; text-align: right; }
.pcard h3 { font-family: var(--f-ar); font-weight: 800; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.pcard-meta { font-size: .8rem; color: var(--ink-muted); }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-price { color: var(--ink); font-size: .85rem; white-space: nowrap; }
.pcard-price b { font-family: var(--f-latin); font-size: 1.7rem; font-weight: 600; color: var(--wine); line-height: 1; }
.pcard-order {
  height: 38px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 700; font-size: .85rem;
  background: linear-gradient(135deg, var(--wine-2), var(--wine)); color: #fff; transition: transform .3s var(--ease), box-shadow .3s;
}
.pcard-order:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(142,38,80,.8); }
.more-wrap { display: flex; justify-content: center; margin-top: 34px; }
.more-wrap .btn[hidden] { display: none; }
.price-note { text-align: center; font-size: .8rem; color: var(--ink-muted); margin: 22px auto 0; max-width: 620px; }

.card-tag { align-self: flex-start; margin: -40px 0 18px 10px; position: relative; z-index: 2; padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(16,10,18,.82); color: var(--gold-2); border: 1px solid var(--line-strong); }

/* ---------- المجموعة (القائمة القديمة) ---------- */
.menu-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.menu-head .muted { max-width: 460px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.chip { height: 42px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .9rem; transition: all .35s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 700; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 0 3rem; }
.item {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 1rem;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  transition: background .4s, padding .4s var(--ease), opacity .4s, transform .4s var(--ease);
}
.item:hover { background: linear-gradient(90deg, transparent, rgba(217,181,108,.06)); padding-inline: 12px; }
.item.is-hidden { display: none; }
.item.is-entering { animation: itemIn .6s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(14px); } }
.item-art { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; cursor: zoom-in; }
.item-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.item:hover .item-art img { transform: scale(1.12); }
.item-end { display: grid; justify-items: center; gap: 6px; }
.item-name { font-weight: 700; font-size: 1rem; line-height: 1.4; }
.item-sub { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.item-sub .lat { font-family: var(--f-latin); direction: ltr; unicode-bidi: isolate; letter-spacing: .03em; }
.item-order {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .8rem; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px;
  transition: all .3s var(--ease); white-space: nowrap;
}
.item-order:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.item-price { font-size: .78rem; color: var(--gold-2); white-space: nowrap; }
.item-price b { font-family: var(--f-latin); font-size: 1.35rem; font-weight: 600; }

/* ---------- رشّة ---------- */
.spray-box {
  position: relative; max-width: 760px; height: 380px; margin: 0 auto;
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 70% 100%, rgba(217,181,108,.12), transparent 70%), linear-gradient(180deg, #15100b, #0d0a07);
  box-shadow: inset 0 0 60px rgba(0,0,0,.6);
}
.spray-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spray-bottle { position: absolute; bottom: 44px; left: 8%; width: 230px; aspect-ratio: 1; transition: transform .15s; }
.spray-bottle img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; user-select: none;
  -webkit-mask: radial-gradient(closest-side, #000 72%, transparent 100%); mask: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.spray-bottle.is-pressing { transform: translateY(3px) scale(.99); }
.spray-meter { position: absolute; inset: auto 24px 18px 24px; display: flex; align-items: center; gap: 14px; font-size: .8rem; color: var(--muted); }
.spray-bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.spray-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); box-shadow: 0 0 20px var(--gold); }
.spray-pct b { font-family: var(--f-latin); font-size: 1.2rem; color: var(--gold-2); }
.spray-actions { display: grid; justify-items: center; gap: 14px; margin-top: 2rem; }
.spray-btn { user-select: none; -webkit-user-select: none; touch-action: none; -webkit-touch-callout: none; min-width: 180px; }
.spray-btn.is-pressing { transform: scale(.96); box-shadow: 0 0 0 10px rgba(217,181,108,.12), 0 0 60px rgba(217,181,108,.6); }
.spray-status { font-weight: 700; font-size: 1.2rem; min-height: 2em; text-align: center; transition: color .4s; }
.spray-status.is-ready { color: var(--gold-2); }
.spray-done { opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .6s var(--ease); }
.spray-done.is-shown { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- المزاد ---------- */
.auction-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px;
  background: linear-gradient(135deg, #1d0f13 0%, #140d09 60%); border: 1px solid rgba(122,31,53,.6);
}
.auction-glow { position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(176,48,78,.35), transparent); filter: blur(20px); pointer-events: none; }
.auction-copy, .auction-timer { position: relative; }
.auction-copy .muted { margin-bottom: 1.8rem; max-width: 480px; }
.auction-copy b { color: var(--text); }
.auction-timer { text-align: center; padding: 28px; border-radius: 24px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.timer-label { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.timer { display: flex; justify-content: center; align-items: flex-start; gap: 10px; direction: ltr; }
.timer div { display: grid; gap: 4px; min-width: 76px; }
.timer b { font-family: var(--f-latin); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.timer span { font-size: .75rem; color: var(--muted); }
.timer i { font-style: normal; font-size: 2.4rem; color: var(--gold-3); line-height: 1.1; }
.timer-note { font-size: .75rem; color: var(--muted); margin-top: 12px; }
.auction-card.is-live { border-color: var(--gold); }

/* ---------- الفرع ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.visit-copy .muted { margin-bottom: 2rem; max-width: 420px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); }
.steps b { font-family: var(--f-latin); color: var(--gold); font-size: 1.1rem; }
.store-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 2.2rem; }
.store-photos figure { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.store-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.store-photos figure:hover img { transform: scale(1.05); }
.store-side { margin-top: 40px !important; }
.branch { border: 1px solid var(--line); border-radius: 28px; padding: 24px; background: var(--panel); }
.branch-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 18px; }
.branch h3 { font-size: 1.6rem; margin-bottom: 4px; }
.branch .small { font-size: .85rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; background: rgba(217,181,108,.1); color: var(--gold-2); border: 1px solid var(--line-strong); white-space: nowrap; }
.branch-map { border-radius: 18px; overflow: hidden; height: 300px; border: 1px solid var(--line); }
.branch-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9) sepia(.25); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- أسئلة ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 24px 0; font-size: 1.1rem; font-weight: 700; transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-2); }
.plus { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .5s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--gold); translate: -50% -50%; transition: transform .5s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(180deg); background: rgba(217,181,108,.12); }
details[open] .plus::after { transform: rotate(0); }
.faq-list details p { color: var(--muted); padding: 0 0 24px; max-width: 620px; animation: itemIn .5s var(--ease); }

/* ---------- الختام ---------- */
.finale { position: relative; min-height: 90vh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 100px 16px; background: radial-gradient(70% 60% at 50% 100%, #4a1d3c 0%, var(--bg) 70%); }
.finale-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.finale-copy { position: relative; z-index: 2; }
.finale h2 { font-size: clamp(3rem, 9vw, 7rem); margin-bottom: 1rem; background: linear-gradient(170deg, #fff8ee, var(--gold-2) 35%, var(--gold) 60%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.finale-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 2rem; }

/* ---------- الفوتر ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px clamp(16px, 6vw, 96px) 100px; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand b { display: block; font-family: var(--f-display); font-size: 1.2rem; }
.footer-brand span { font-size: .85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; font-family: var(--f-latin); letter-spacing: .15em; font-size: .95rem; }
.footer-links a { color: var(--muted); transition: color .3s; }
.footer-links a:hover { color: var(--gold-2); }
.footer small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; opacity: .7; }

/* ---------- نافذة الصورة ---------- */
.lightbox {
  border: 1px solid var(--line-strong); border-radius: 24px; padding: 0; overflow: hidden;
  width: min(560px, 92vw); max-height: 92vh; background: var(--panel); color: var(--text);
}
.lightbox::backdrop { background: rgba(5,4,3,.82); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: #000; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lb-bar b { display: block; font-size: 1.05rem; }
.lb-bar span { font-size: .82rem; color: var(--muted); }
.lb-close { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,.6); font-size: 1rem; }
.lb-close:hover { background: var(--gold); color: var(--bg); }

/* ---------- واتساب العائم ---------- */
.wa-float {
  position: fixed; z-index: 60; bottom: 22px; left: 22px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  transition: transform .4s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ping 2.2s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
@keyframes ping { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }

/* ---------- الجوال ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 110px; align-content: start; }
  .kicker { text-align: center; }
  .hero-stage { height: 52vh; margin-top: -10px; }
  .menu-head, .visit, .faq { grid-template-columns: 1fr; }
  .auction-card { grid-template-columns: 1fr; }
  .car-prev { right: 8px; }
  .car-next { left: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .nav { inset: 10px 10px auto; padding: 8px 8px 8px 12px; }
  .brand-name { font-size: .78rem; letter-spacing: .25em; }
  .carousel { height: 520px; }
  .card { height: 500px; }
  .card-art { height: 210px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .menu { border-radius: 32px 32px 0 0; }
  .pcard { border-radius: 18px; }
  .pcard-body { padding: 10px 11px 12px; }
  .pcard h3 { font-size: .9rem; }
  .pcard-price b { font-size: 1.35rem; }
  .pcard-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .pcard-order { justify-content: center; height: 36px; }
  .pcard-tag { font-size: .62rem; padding: 3px 8px; top: 8px; right: 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .item { grid-template-columns: 60px 1fr auto; gap: .8rem; }
  .item-art { width: 60px; height: 60px; }
  .spray-box { height: 320px; }
  .spray-bottle { width: 170px; left: 4%; }
  .hero-fan { height: 46vh; }
  .fan-1 { left: 74%; }
  .fan-3 { left: 26%; }
  .fan-card { width: 40%; }
  .fan-2 { width: 56%; bottom: 30px; }
  .card-art { width: 82%; margin-inline: auto; }
  .timer div { min-width: 60px; }
  .branch-actions .btn { flex: 1 1 auto; }
  .footer { grid-template-columns: 1fr; }
  .wa-float { bottom: 16px; left: 16px; width: 52px; height: 52px; }
}

/* ---------- تصميم الجوال: شريط سفلي + إحساس تطبيق ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
  .nav { inset: calc(8px + env(safe-area-inset-top)) 10px auto; }
  .nav .btn-sm { display: none; }
  .nav { justify-content: center; }
  .wa-float { display: none; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    height: 64px; padding: 0 6px; border-radius: 22px;
    background: rgba(24, 14, 26, .82); border: 1px solid var(--line);
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding-bottom: 9px; color: var(--muted); font-size: .68rem; font-weight: 700; transition: color .3s; }
  .tabbar svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
  .tabbar a.is-active { color: var(--gold-2); }
  .tabbar a.is-active svg { transform: translateY(-2px); }
  .tabbar .tab-order { color: #fff; }
  .tabbar .tab-order svg {
    width: 52px; height: 52px; padding: 13px; margin-top: -26px; border-radius: 50%;
    background: linear-gradient(135deg, #2fe07a, #1fae5b); box-shadow: 0 10px 24px -6px rgba(37,211,102,.7), 0 0 0 5px var(--bg);
  }

  .section { padding: 64px 16px; }
  .section h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero { min-height: 100svh; padding: 96px 16px 70px; }
  .hero-title { font-size: clamp(5rem, 30vw, 8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-down { bottom: 14px; }

  /* أدوات المجموعة تبقى ظاهرة أثناء التمرير */
  .menu-tools {
    position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 30;
    margin-inline: -16px; padding: 10px 16px 12px;
    background: linear-gradient(180deg, rgba(250,243,234,.97), rgba(250,243,234,.9));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(43,26,36,.06);
  }
  .search { height: 46px; max-width: none; }
  .search input { font-size: 16px; } /* يمنع تكبير iOS التلقائي */
  .chip { height: 38px; padding: 0 1rem; font-size: .85rem; }

  /* نافذة الصورة تصير "ورقة" من الأسفل */
  .lightbox { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .lightbox[open] { animation: sheetUp .45s var(--ease); }
  .lightbox img { max-height: 68dvh; }
  .lb-bar { padding: 14px 16px 18px; }
  .lb-bar .btn { height: 48px; padding: 0 1.4rem; }

  .auction-card { padding: 24px 18px; border-radius: 26px; gap: 1.5rem; }
  .timer b { font-size: 2.6rem; }
  .branch { padding: 16px; border-radius: 22px; }
  .branch-map { height: 230px; }
  .branch-actions .btn { flex: 1 1 calc(50% - 10px); }
  .finale { min-height: 70vh; }
  .footer { padding-bottom: 30px; text-align: center; justify-items: center; }
  .footer-brand { justify-content: center; }
}
@keyframes sheetUp { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
