/* ===== عَبَق — نظام التصميم ===== */
:root {
  --bg: #ffffff;
  --surface: #f7f5f2;
  --surface-2: #efebe5;
  --ink: #141414;
  --muted: #6b6660;
  --line: #e6e1da;
  --gold: #a8844e;
  --gold-soft: #f3ece1;
  --sale: #9e2236;
  --ok: #2f6b45;
  --ok-soft: #eaf3ec;
  --dark: #111111;
  --f-head: 'Amiri', 'Cormorant Garamond', serif;
  --f-latin: 'Cormorant Garamond', serif;
  --f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --wrap: 1320px;
  --pad: clamp(16px, 4vw, 40px);
  --r: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea { font: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.latin { font-family: var(--f-latin); letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== صور + Placeholder ===== */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media.is-missing img { display: none; }
.media.is-missing::after {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 12px; text-align: center; font-size: 12px; color: var(--muted); direction: ltr;
  font-family: ui-monospace, monospace; letter-spacing: .02em;
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(168,132,78,.07) 14px 15px);
}

/* ===== أزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: #2a2a2a; }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--gold-soft); }
.btn--block { width: 100%; }
.link-u { position: relative; font-weight: 600; }
.link-u::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: right; transition: transform .3s var(--ease); }
.link-u:hover::after { transform: scaleX(1); }

/* ===== شريط علوي ===== */
.topbar { background: var(--dark); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar-msgs { display: flex; gap: 28px; }
.topbar-msgs span { display: inline-flex; gap: 8px; align-items: center; }
.topbar-msgs span::before { content: '✦'; color: var(--gold); font-size: 10px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: var(--gold); }

/* ===== الهيدر ===== */
/* من غير backdrop-filter: كان بيحبس قائمة الموبايل (position: fixed) جوه الهيدر */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; gap: 16px; }
.logo { text-align: center; line-height: 1; }
.logo b { display: block; font-family: var(--f-head); font-size: 38px; font-weight: 700; line-height: 1.7; }
.logo small { font-family: var(--f-latin); font-size: 12px; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; }
.header-start { display: flex; align-items: center; gap: 8px; }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 22px; height: 22px; }
.count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.count:empty, .count[data-n="0"] { display: none; }
.account { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 999px; font-size: 13px; line-height: 1.3; }
.account:hover { background: var(--surface); }
.account b { display: block; font-size: 14px; }
.account span { color: var(--gold); }
.menu-btn { display: none; }

.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.nav a { display: inline-block; padding: 13px 0; font-size: 15px; font-weight: 500; position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 8px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-deal { color: var(--sale); }

/* بحث */
.search { position: relative; padding-block: 12px; }
.search-field { display: flex; align-items: center; background: var(--surface); border-radius: 999px; padding-inline: 20px 6px; border: 1px solid transparent; transition: border .2s; }
.search-field:focus-within { border-color: var(--gold); background: #fff; }
.search-field input { flex: 1; border: 0; background: none; height: 46px; outline: none; font-size: 15px; }
.search-field button { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.search-results { position: absolute; inset-inline: 0; top: calc(100% - 4px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 40px rgba(0,0,0,.08); max-height: 420px; overflow: auto; display: none; z-index: 60; }
.search-results.open { display: block; }
.sr-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.sr-item:hover { background: var(--surface); }
.sr-item .media { width: 56px; aspect-ratio: 4/5; border-radius: 6px; }
.sr-item small { color: var(--muted); display: block; }
.sr-empty { padding: 20px; color: var(--muted); text-align: center; }

/* ===== الهيرو ===== */
.hero { position: relative; }
.hero-track { position: relative; height: clamp(460px, 72vh, 720px); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide .media { position: absolute; inset: 0; background: linear-gradient(120deg, #3a2f25 0%, #1b1612 70%); }
.slide .media.is-missing::after { place-items: start end; padding: 24px 32px; color: rgba(255,255,255,.45); background-image: none; }
.decant-band .media { background: linear-gradient(135deg, #2b241d, #15110d); }
.decant-band .media.is-missing::after { color: rgba(255,255,255,.45); }
.slide .media img { transform: scale(1.04); transition: transform 7s linear; }
.slide.is-active .media img { transform: scale(1); }
.slide::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(10,8,6,.62) 0%, rgba(10,8,6,.25) 50%, transparent 75%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; max-width: 620px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.slide h1, .slide h2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.15; margin: 14px 0 12px; }
.slide p { font-size: 18px; opacity: .9; margin: 0 0 28px; max-width: 480px; }
.slide .eyebrow { color: #e9d3ad; }
.hero-ui { position: absolute; z-index: 3; bottom: 28px; inset-inline: 0; }
.hero-ui .wrap { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.dots { display: flex; gap: 22px; }
.dots button { font-family: var(--f-latin); font-size: 18px; opacity: .5; position: relative; padding-bottom: 6px; min-width: 32px; min-height: 32px; }
.dots button::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: right; }
.dots button.is-active { opacity: 1; }
.dots button.is-active::after { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-pay { font-size: 14px; opacity: .85; }

/* ===== عناوين الأقسام ===== */
.section { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: 120px; }
.section--surface { background: var(--surface); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.sec-head .eyebrow { color: var(--gold); }
.sec-head h2 { font-family: var(--f-head); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.2; margin: 8px 0 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }
.arrows { display: flex; gap: 10px; flex-shrink: 0; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.arrow:hover { background: var(--ink); color: #fff; }
.arrow:active { transform: scale(.94); }
.arrow:disabled { opacity: .3; pointer-events: none; }
.arrow svg { width: 18px; height: 18px; }

/* ===== التصنيفات ===== */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 28px); }
.cat { text-align: center; }
.cat .media { aspect-ratio: 1; border-radius: 50%; margin-bottom: 14px; transition: transform .3s var(--ease); }
.cat:hover .media { transform: translateY(-4px); }
.cat:hover .media img { transform: scale(1.05); }
.cat b { font-weight: 600; font-size: 16px; }
.cat small { display: block; color: var(--muted); font-size: 13px; }

/* ===== البراندات ===== */
.houses { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.houses::-webkit-scrollbar { display: none; }
.house { flex: 0 0 calc((100% - 5 * 16px) / 6); min-width: 170px; scroll-snap-align: start; height: 110px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-family: var(--f-latin); font-size: 22px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 10px; line-height: 1.1; transition: border-color .2s, transform .2s; direction: ltr; }
.house:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ===== فلاتر ===== */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== كروت المنتجات ===== */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-2px); }
.card-top { position: relative; }
.card-media { display: block; aspect-ratio: 4/5; border-radius: var(--r); background: var(--surface); }
.card:hover .card-media img { transform: scale(1.03); }
.badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; background: var(--gold-soft); color: #6d5226; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--gift { background: var(--ink); color: #fff; }
.card-actions { position: absolute; top: 12px; inset-inline-end: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.card-actions .icon-btn { background: #fff; width: 40px; height: 40px; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.card-actions .icon-btn svg { width: 18px; height: 18px; }
.card-actions .icon-btn.is-on { color: var(--sale); }
.card-actions .icon-btn.is-on svg { fill: currentColor; }
.quick-add { position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2; min-height: 44px; border-radius: 999px; background: rgba(255,255,255,.95); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--ink); color: #fff; }
.card-body { padding-top: 14px; }
.card-house { font-family: var(--f-latin); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); unicode-bidi: isolate; display: block; }
.card-name { display: block; font-weight: 600; font-size: 17px; margin: 2px 0 4px; }
.card-name:hover { color: var(--gold); }
.card-meta { font-size: 13px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.price b { font-size: 17px; font-weight: 700; }
.price s { color: var(--muted); font-size: 14px; }
.price .off { color: var(--sale); font-size: 13px; font-weight: 600; }
.from { font-size: 12px; color: var(--ok); font-weight: 600; margin-top: 4px; display: block; }

/* ===== Decants ===== */
.decant-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; background: var(--dark); color: #fff; margin-bottom: 40px; }
.decant-band .media { min-height: 420px; }
.decant-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.decant-copy h2 { font-family: var(--f-head); font-size: clamp(32px, 4vw, 52px); line-height: 1.2; margin: 10px 0 14px; }
.decant-copy p { color: #cfc9c0; margin: 0 0 24px; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.steps i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--f-latin); font-size: 18px; }

/* ===== العطر المميز ===== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.feature .media { aspect-ratio: 4/5; border-radius: 16px; }
.feature:hover .media img { transform: scale(1.02); }
.feature h2 { font-family: var(--f-head); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.15; margin: 10px 0 6px; }
.feature .sub { font-family: var(--f-latin); font-size: 22px; color: var(--gold); margin: 0 0 18px; unicode-bidi: isolate; }
.feature p { color: var(--muted); font-size: 17px; }

/* الهرم العطري */
.pyramid { display: grid; gap: 10px; margin: 26px 0 30px; }
.tier { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r); background: var(--surface); }
.tier:nth-child(1) { margin-inline: 14%; }
.tier:nth-child(2) { margin-inline: 7%; }
.tier-label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.tier-label svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.tier-notes { display: flex; flex-wrap: wrap; gap: 6px; }
.tier-notes span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 14px; }

/* ===== العروض ===== */
.deal-head-extra { display: flex; align-items: center; gap: 18px; }
.countdown { display: flex; gap: 8px; direction: ltr; }
.countdown div { background: var(--ink); color: #fff; border-radius: 8px; min-width: 58px; padding: 6px 8px; text-align: center; line-height: 1.1; }
.countdown b { display: block; font-family: var(--f-latin); font-size: 24px; }
.countdown small { font-size: 11px; opacity: .7; }

/* ===== مزايا ===== */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.perk { background: #fff; padding: 28px 24px; display: flex; gap: 16px; align-items: flex-start; }
.perk svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.perk b { display: block; font-size: 16px; }
.perk span { color: var(--muted); font-size: 14px; }

/* ===== آراء ===== */
.reviews-top { display: flex; align-items: center; gap: 16px; }
.big-rate { font-family: var(--f-latin); font-size: 56px; font-weight: 600; line-height: 1; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { background: #fff; border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.review p { margin: 0; font-size: 16px; flex: 1; }
.review footer { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.review footer b { color: var(--ink); display: block; font-size: 14px; }
.verified { color: var(--ok); font-size: 12px; font-weight: 600; }

/* ===== النشرة ===== */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-family: var(--f-head); font-size: clamp(30px, 3.4vw, 44px); margin: 8px 0 6px; line-height: 1.2; }
.newsletter p { color: var(--muted); margin: 0; }
.nl-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.nl-row { display: flex; gap: 10px; }
.nl-row input { flex: 1; height: 52px; border-radius: 999px; border: 1px solid var(--line); padding-inline: 22px; background: #fff; outline: none; }
.nl-row input:focus { border-color: var(--gold); }
.nl-msg { font-size: 14px; margin-top: 10px; min-height: 22px; }

/* ===== الفوتر ===== */
.footer { background: var(--dark); color: #d9d4cc; padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer .logo { text-align: start; }
.footer .logo b { color: #fff; }
.footer p { color: #a9a299; max-width: 320px; }
.footer h3 { color: #fff; font-size: 15px; margin: 0 0 16px; letter-spacing: .04em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3a3a; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8d877f; }
.pay { display: flex; gap: 8px; }
.pay span { border: 1px solid #3a3a3a; border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: #d9d4cc; direction: ltr; }

/* ===== السلة (Drawer) ===== */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: #fff; z-index: 100; transform: translateX(-100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
[dir="ltr"] .drawer { transform: translateX(100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--f-head); font-size: 26px; margin: 0; }
.ship-bar { padding: 16px 24px; background: var(--surface); font-size: 14px; }
.ship-bar b { color: var(--ink); }
.bar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #c9a56b); border-radius: 3px; transition: width .5s var(--ease); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .media { aspect-ratio: 4/5; border-radius: 8px; }
.line b { display: block; font-size: 15px; }
.line small { color: var(--muted); display: block; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 34px; height: 34px; font-size: 18px; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.line-end { text-align: end; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.remove { font-size: 13px; color: var(--muted); text-decoration: underline; min-height: 32px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.sum.total { font-size: 18px; font-weight: 700; margin: 10px 0 16px; }
.sum .neg { color: var(--ok); }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty b { display: block; font-family: var(--f-head); font-size: 24px; color: var(--ink); }

/* ===== عجلة الحظ ===== */
.wheel-fab { position: fixed; z-index: 40; bottom: 24px; inset-inline-start: 24px; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.wheel-fab:hover { transform: rotate(25deg) scale(1.05); }
.wheel-fab svg { width: 30px; height: 30px; color: var(--gold); }
/* visibility: hidden بتقفل كل اللي جوه المودال (حتى الخلفية) وهو مقفول — من غيرها الخلفية كانت بتغطي الصفحة كلها */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s; }
.modal:not(.open) * { pointer-events: none !important; }
/* السلة والفلاتر المقفولة كمان ميتداسش عليها */
.drawer:not(.open) { visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.drawer.open { visibility: visible; }
.modal-box { background: #fff; border-radius: 20px; padding: 36px 32px 30px; width: min(460px, 100%); text-align: center; position: relative; max-height: 94vh; overflow: auto; }
.modal-box h2 { font-family: var(--f-head); font-size: 32px; margin: 0 0 4px; }
.modal-box > p { color: var(--muted); margin: 0 0 22px; }
.modal-close { position: absolute; top: 12px; inset-inline-end: 12px; }
/* الخلفية جوه المودال لازم تبقى تحت الصندوق — كانت فوقه، فأي ضغطة جوه الصندوق كانت بتقفله */
.modal > .overlay { z-index: 0; }
.modal-box { z-index: 1; }
.wheel span b { unicode-bidi: plaintext; font-weight: 700; }
.wheel span.on-dark { color: var(--gold); }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 200; pointer-events: none; }
.wheel-wrap { position: relative; width: min(320px, 78vw); aspect-ratio: 1; margin: 0 auto 22px; }
.wheel-pin { position: absolute; top: -6px; left: 50%; translate: -50% 0; z-index: 2; width: 0; height: 0; border-inline: 14px solid transparent; border-top: 24px solid var(--sale); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.wheel { width: 100%; height: 100%; border-radius: 50%; border: 8px solid var(--ink); position: relative; transition: transform 5s cubic-bezier(.12,.75,.12,1); box-shadow: 0 0 0 2px var(--gold) inset; }
.wheel span { position: absolute; left: 50%; top: 50%; width: 46%; height: 1.6em; margin-top: -.8em; line-height: 1.6em; transform-origin: 0 50%; text-align: center; font-size: 13px; font-weight: 700; padding-left: 20%; direction: ltr; white-space: nowrap; z-index: 1; }
.wheel::after { content: ''; position: absolute; inset: 40%; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--gold); }
.wheel-result { font-size: 18px; font-weight: 700; min-height: 30px; margin-bottom: 14px; }
.wheel-result code { display: inline-block; background: var(--gold-soft); color: #6d5226; padding: 2px 12px; border-radius: 6px; font-family: ui-monospace, monospace; }

/* ===== شريط الموبايل ===== */
.mobile-bar { display: none; }

/* ===== صفحة المنتج ===== */
.crumbs { font-size: 14px; color: var(--muted); padding-block: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding-bottom: 72px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 140px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { border-radius: 8px; overflow: hidden; border: 1.5px solid transparent; }
.thumbs button.is-active { border-color: var(--ink); }
.thumbs button { display: block; width: 100%; }
.thumbs .media, .sr-item .media { display: block; aspect-ratio: 4/5; }
.main-img { aspect-ratio: 4/5; border-radius: 16px; }
.main-img:hover img { transform: scale(1.03); }
.pdp-house { font-family: var(--f-latin); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); unicode-bidi: isolate; display: block; }
.pdp h1 { font-family: var(--f-head); font-size: clamp(34px, 4vw, 50px); line-height: 1.15; margin: 4px 0 2px; }
.pdp .latin-name { font-family: var(--f-latin); font-size: 20px; color: var(--muted); unicode-bidi: isolate; margin: 0 0 10px; }
.pdp-rate { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pdp-rate a { text-decoration: underline; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 14px; flex-wrap: wrap; }
.pdp-price b { font-size: 30px; font-weight: 700; }
.pdp-price s { color: var(--muted); font-size: 18px; }
.pdp-price .off { background: var(--sale); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 4px; }
.note-box { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); font-size: 14px; margin-bottom: 12px; }
.note-box svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.note-box--ok { background: var(--ok-soft); color: #1f4a30; }
.note-box--pay { border: 1px solid var(--line); justify-content: space-between; align-items: center; }
.note-box--pay strong { color: var(--ink); }
.pay-tag { background: var(--ink); color: #fff; font-family: var(--f-latin); font-weight: 700; padding: 2px 12px; border-radius: 6px; font-size: 16px; direction: ltr; }
.opt-label { font-weight: 700; font-size: 15px; margin: 22px 0 10px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--muted); font-weight: 400; font-size: 14px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; transition: border-color .2s, background .2s, transform .2s; line-height: 1.4; }
.size:hover { border-color: var(--muted); transform: translateY(-2px); }
.size.is-active { border-color: var(--ink); background: var(--surface); }
.size b { display: block; font-size: 17px; }
.size small { display: block; color: var(--muted); font-size: 12px; }
.size em { display: block; font-style: normal; font-weight: 700; font-size: 14px; margin-top: 4px; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sale); margin: 18px 0 12px; }
.stock i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.buy-row .qty { margin: 0; }
.buy-row .qty button { width: 44px; height: 50px; }
.buy-row .btn { flex: 1; min-height: 52px; }
.buy-row .icon-btn { width: 52px; height: 52px; border: 1px solid var(--line); }
.buy-row .icon-btn.is-on { color: var(--sale); }
.buy-row .icon-btn.is-on svg { fill: currentColor; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-size: 14px; }
.facts li { display: flex; gap: 12px; align-items: center; }
.facts svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.pdp .ship-bar { border-radius: var(--r); margin-top: 18px; }
.tabs { border-top: 1px solid var(--line); margin-top: 28px; }
.tab-btns { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.tab-btns button { padding: 16px 0; font-weight: 600; position: relative; color: var(--muted); }
.tab-btns button[aria-selected="true"] { color: var(--ink); }
.tab-btns button[aria-selected="true"]::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--ink); }
.tab-panel { padding: 22px 0; color: #3b3834; }
.tab-panel[hidden] { display: none; }
.tab-panel ul { padding-inline-start: 20px; }
.spec { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 15px; margin-top: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .cats { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .reviews, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .account div { display: none; }
}
@media (max-width: 860px) {
  .topbar-msgs span:not(:first-child) { display: none; }
  .nav { display: none; }
  .nav.open { display: block; position: fixed; inset: 0; top: 0; background: #fff; z-index: 80; padding: 90px 24px 24px; overflow: auto; }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open a { display: block; padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-grid; position: relative; z-index: 85; }
  .account { display: none; }
  .logo b { font-size: 30px; }
  .feature, .decant-band, .newsletter, .pdp { grid-template-columns: 1fr; }
  .decant-band .media { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 72px; order: 2; overflow-x: auto; }
  .mobile-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; inset-inline: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.05); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; font-size: 11px; font-weight: 600; position: relative; min-height: 56px; justify-content: center; }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .count { top: 4px; inset-inline-end: calc(50% - 22px); }
  body { padding-bottom: 64px; }
  .wheel-fab { bottom: 80px; width: 56px; height: 56px; inset-inline-start: auto; inset-inline-end: 16px; }
  .header-end .hide-m { display: none; }
}
@media (max-width: 560px) {
  .rail { grid-auto-columns: 72%; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .reviews, .grid-4, .perks { grid-template-columns: 1fr; }
  .sec-head { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; }
  .tier:nth-child(1), .tier:nth-child(2) { margin-inline: 0; }
  .tier { grid-template-columns: 1fr; gap: 8px; }
  .hero-pay { display: none; }
  .topbar-links a:not(:last-child) { display: none; }
  .slide p { font-size: 16px; }
  .countdown div { min-width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* موبايل: صفحة المنتج */
.buy-row .btn { white-space: nowrap; padding: 0 18px; }
@media (max-width: 860px) {
  .pdp-page .wheel-fab, .track-page .wheel-fab { display: none; }
}

/* ===== صفحة كل العطور ===== */
.shop-hero { background: var(--surface); padding-bottom: 36px; }
.shop-hero h1 { font-family: var(--f-head); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.15; margin: 8px 0 8px; }
.shop-hero p { color: var(--muted); max-width: 640px; margin: 0 0 22px; }
.quick-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-cats .chip { background: #fff; }
.quick-cats .chip.is-active { background: var(--ink); }
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; padding-top: 36px; padding-bottom: 96px; }
.filters { position: sticky; top: 200px; max-height: calc(100vh - 220px); overflow: auto; padding-inline-end: 6px; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filters-head h2 { font-family: var(--f-head); font-size: 26px; margin: 0; }
.filters-close, .filters-foot, .filters-open { display: none; }
.f-group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0; }
.f-group legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 10px; display: block; }
.f-input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding-inline: 14px; background: #fff; outline: none; }
.f-input:focus { border-color: var(--gold); }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; margin: 0; }
.check span { flex: 1; }
.check em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 0 8px; }
.check:hover span { color: var(--gold); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range label { font-size: 13px; color: var(--muted); }
.price-range span { display: block; margin-bottom: 4px; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.price-presets .chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.result-count { margin: 0; color: var(--muted); }
.result-count b { color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { height: 44px; border: 1px solid var(--line); border-radius: 999px; padding-inline: 16px 36px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
.active-filters:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--gold-soft); color: #5c4520; font-size: 14px; font-weight: 500; transition: background .2s; }
.tag span { font-size: 18px; line-height: 1; }
.tag:hover { background: #ead9bd; }
.tag--clear { background: none; text-decoration: underline; color: var(--muted); }
.grid-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 20px; padding-top: 24px; }
.empty-shop { text-align: center; padding: 80px 20px; }
.empty-shop b { display: block; font-family: var(--f-head); font-size: 28px; }
.empty-shop p { color: var(--muted); margin: 6px 0 20px; }

@media (max-width: 1100px) {
  .grid-shop { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 240px 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; top: 0; max-height: none; z-index: 120; background: #fff; padding: 20px 20px 0; display: none; flex-direction: column; }
  .filters.open { display: flex; }
  .filters form { flex: 1; overflow: auto; }
  .filters-close, .filters-open { display: inline-flex; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
  .filters-open { min-height: 44px; padding: 0 18px; }
  .f-count { background: var(--gold); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
  .f-count:empty { display: none; }
  .toolbar { flex-wrap: wrap; }
  .result-count { order: 3; width: 100%; }
  .sort > span { display: none; }
}
@media (max-width: 560px) {
  .grid-shop { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .grid-shop .card-name { font-size: 15px; }
  .grid-shop .quick-add { opacity: 1; transform: none; min-height: 38px; font-size: 13px; inset-inline: 8px; bottom: 8px; }
  .grid-shop .from { display: none; }
  .sort select { max-width: 190px; }
}

/* ===== English (LTR) ===== */
html[lang="en"] { --f-head: 'Cormorant Garamond', serif; --f-body: 'IBM Plex Sans', system-ui, sans-serif; }
html[lang="en"] body { line-height: 1.65; }
html[lang="en"] .logo b { font-size: 34px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
html[lang="en"] .slide h1, html[lang="en"] .slide h2,
html[lang="en"] .sec-head h2, html[lang="en"] .feature h2, html[lang="en"] .decant-copy h2,
html[lang="en"] .shop-hero h1, html[lang="en"] .pdp h1, html[lang="en"] .newsletter h2 { font-weight: 600; letter-spacing: -.005em; line-height: 1.08; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
[dir="ltr"] .slide::before { background: linear-gradient(to right, rgba(10,8,6,.62) 0%, rgba(10,8,6,.25) 50%, transparent 75%); }
[dir="ltr"] .link-u::after, [dir="ltr"] .dots button::after { transform-origin: left; }
[dir="ltr"] .slide .media.is-missing::after { place-items: start end; }
html[lang="en"] [lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
html[lang="en"] .sub [lang="ar"], html[lang="en"] .latin-name [lang="ar"] { font-family: 'Amiri', serif; }
.lang-btn { font-weight: 700; font-size: 14px; font-family: var(--f-body); }
html[lang="en"] .lang-btn { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 17px; }
.share-btn { display: inline-flex; gap: 10px; align-items: center; }
.share-btn svg { width: 20px; height: 20px; color: var(--gold); }
.install-note { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
/* الصور مصمّمة للعربي (المساحة الفاضية يمين) — في الإنجليزي بنعكسها */
[dir="ltr"] .slide .media { transform: scaleX(-1); }
[dir="ltr"] .slide .media.is-missing::after { transform: scaleX(-1); }
html[lang="en"] .slide-content { max-width: 760px; }

/* ===== صفحة الدفع ===== */
.co-page { background: var(--surface); }
.co-header { background: #fff; border-bottom: 1px solid var(--line); }
.co-header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding-block: 10px; }
.co-back { font-size: 14px; font-weight: 600; color: var(--muted); }
.co-back:hover { color: var(--ink); }
.co-header-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); }
.co-secure svg { width: 18px; height: 18px; }
.co { padding-block: 28px 96px; }
.co-steps { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0 0 28px; font-size: 14px; color: var(--muted); counter-reset: s; }
.co-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; }
.co-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; background: #fff; }
.co-steps li:not(:last-child)::after { content: ''; width: 40px; height: 1px; background: var(--line); margin-inline-start: 8px; }
.co-steps li.done::before { content: '✓'; background: var(--ok); border-color: var(--ok); color: #fff; }
.co-steps li.is-current { color: var(--ink); font-weight: 600; }
.co-steps li.is-current::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-grid { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.co-grid[hidden] { display: none; }
.co-form h1 { font-family: var(--f-head); font-size: clamp(32px, 3.6vw, 44px); margin: 0 0 18px; line-height: 1.15; }
.co-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 0 0 16px; }
.co-box legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 12px; }
[dir="rtl"] .co-box legend { float: right; }
.co-box legend + * { clear: both; }
.co-box legend i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; outline: none; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,132,78,.15); }
.field [aria-invalid="true"] { border-color: var(--sale); }
.err { display: block; color: var(--sale); font-size: 13px; margin-top: 4px; min-height: 0; }
.err:empty { display: none; }
.opts { display: grid; gap: 10px; }
.opt-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt-card:hover { border-color: var(--muted); }
.opt-card:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.opt-card input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex-shrink: 0; }
.opt-card.is-off { opacity: .45; cursor: not-allowed; }
.opt-body { flex: 1; line-height: 1.4; }
.opt-body b { display: block; font-size: 15px; }
.opt-body small { color: var(--muted); font-size: 13px; }
.opt-card em { font-style: normal; font-weight: 700; font-size: 14px; white-space: nowrap; }
.pay-logos { display: flex; gap: 4px; }
.pay-logos span { border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 11px; font-weight: 700; direction: ltr; }
.co-box .check em { background: none; font-weight: 600; color: var(--ink); }
.co-submit { min-height: 58px; font-size: 17px; margin-top: 6px; }
.co-submit:disabled { opacity: .7; }
.co-terms { font-size: 13px; color: var(--muted); text-align: center; }
.co-summary { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: sticky; top: 20px; }
.co-summary h2 { font-family: var(--f-head); font-size: 26px; margin: 0 0 12px; }
.co-lines { max-height: 320px; overflow: auto; margin-bottom: 16px; }
.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-line .media { display: block; aspect-ratio: 4/5; border-radius: 8px; overflow: visible; position: relative; }
.co-line .media img { border-radius: 8px; }
.co-line .media i { position: absolute; top: -8px; inset-inline-end: -8px; z-index: 2; min-width: 22px; height: 22px; border-radius: 11px; background: var(--muted); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.co-line small { display: block; color: var(--muted); font-size: 12px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; padding-inline: 16px; outline: none; text-transform: uppercase; }
.coupon input:focus { border-color: var(--gold); }
.coupon .btn { min-height: 46px; padding: 0 20px; }
.coupon-msg { display: block; font-size: 13px; margin: 6px 0 0; min-height: 18px; }
.coupon-msg.is-ok { color: var(--ok); }
.coupon-msg.is-bad { color: var(--sale); }
.co-totals { padding-top: 12px; }
.co-totals .sum { font-size: 15px; margin-bottom: 8px; }
.co-totals .is-neg span:last-child { color: var(--ok); }
.co-totals .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; font-size: 20px; font-weight: 700; }
.rm-coupon { font-size: 12px; color: var(--muted); margin-inline-start: 6px; }
.co-points { background: var(--gold-soft); color: #5c4520; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 12px 0 0; }
.co-trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.co-trust li { display: flex; align-items: center; gap: 10px; }
.co-trust svg { width: 20px; height: 20px; color: var(--gold); }
.co-done, .co-empty { max-width: 640px; margin: 20px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 32px; text-align: center; outline: none; }
.done-mark { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.done-mark svg { width: 38px; height: 38px; }
.co-done h1 { font-family: var(--f-head); font-size: clamp(30px, 3.6vw, 42px); margin: 0 0 6px; }
.co-done > p { color: var(--muted); }
.done-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 22px 0; text-align: start; }
.done-facts div { background: #fff; padding: 14px 16px; }
.done-facts dt { font-size: 12px; color: var(--muted); }
.done-facts dd { margin: 2px 0 0; font-weight: 700; }
.done-note { background: var(--surface); border-radius: 10px; padding: 12px 16px; color: var(--ink) !important; }
.done-addr { font-size: 14px; }
.done-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.co-empty b { display: block; font-family: var(--f-head); font-size: 30px; }
.co-empty p { color: var(--muted); }
@media (max-width: 980px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .co-box { padding: 18px 16px; }
  .co-back { font-size: 0; }
  .co-back::before { content: '←'; font-size: 22px; }
  [dir="rtl"] .co-back::before { content: '→'; }
  .co-secure { font-size: 0; }
  .co-steps li:not(:last-child)::after { width: 14px; }
  .co-steps { font-size: 12px; }
  .done-facts { grid-template-columns: 1fr; }
  .opt-card { padding: 12px; gap: 10px; }
  .pay-logos { display: none; }
}

/* ===== صفحة تتبّع الطلب ===== */
.tr-hero { background: var(--surface); padding-bottom: 48px; }
.tr-hero h1 { font-family: var(--f-head); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.15; margin: 8px 0; }
.tr-hero > .wrap > p { color: var(--muted); margin: 0 0 24px; max-width: 560px; }
.tr-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: start; max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.tr-form .field { margin: 0; }
.tr-form .btn { margin-top: 28px; min-height: 48px; }
.tr-nf { color: var(--sale); background: #fbeef0; border-radius: 10px; padding: 12px 16px; max-width: 820px; margin: 14px 0 0; }
.tr-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.tr-recent:empty { display: none; }
.tr-recent .chip { background: #fff; direction: ltr; }
.tr-sample { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.tr-sample button { color: var(--ink); direction: ltr; }
.tr-result { padding-block: 40px 24px; scroll-margin-top: 140px; }
.tr-result[hidden] { display: none; }
.tr-head { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: end; background: var(--dark); color: #fff; border-radius: 18px; padding: 28px 30px; }
.tr-head h2 { font-family: var(--f-latin); font-size: clamp(30px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing: .02em; }
.tr-head .eyebrow { color: #e9d3ad; }
.tr-pill { display: inline-block; background: var(--gold); color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 4px 14px; }
.tr-pill.is-done { background: var(--ok); }
.is-cancelled .tr-pill { background: var(--sale); }
.tr-eta { text-align: end; }
.tr-eta small { display: block; color: #bdb6ad; font-size: 13px; }
.tr-eta b { font-size: clamp(20px, 2.4vw, 28px); }
.tr-bar { grid-column: 1 / -1; background: #333; height: 6px; margin: 0; }
.is-cancelled .tr-bar i { background: var(--sale); }
.tr-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; margin-top: 28px; align-items: start; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-bottom: 26px; }
.tl li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl li.tl-done:not(:last-child)::before { background: var(--ok); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; z-index: 1; }
.tl-done .tl-dot { background: var(--ok); border-color: var(--ok); }
.tl-done .tl-dot::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 700; }
.tl-now .tl-dot { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(168,132,78,.18); }
.tl-now .tl-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
.tl-cancel .tl-dot { background: var(--sale); border-color: var(--sale); }
.tl-cancel .tl-dot::after { content: '×'; color: #fff; font-weight: 700; }
.tl b { display: block; font-size: 16px; padding-top: 2px; }
.tl-next b { color: var(--muted); font-weight: 500; }
.tl small { color: var(--muted); font-size: 13px; }
.tl p { margin: 6px 0 0; background: var(--surface); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.courier { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--gold); background: var(--gold-soft); border-radius: 14px; padding: 18px 20px; }
.courier > svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.courier small { color: #6d5226; font-size: 12px; }
.courier b { display: block; font-size: 17px; }
.courier p { margin: 4px 0 0; font-size: 14px; }
.tr-side { display: grid; gap: 16px; }
.tr-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.tr-card h3 { margin: 0 0 8px; font-size: 16px; }
.tr-card .co-line:hover b { color: var(--gold); }
.tr-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 14px; }
.tr-info p { margin: 0; line-height: 1.7; }
.tr-info small { color: var(--muted); }
.tr-actions { display: grid; gap: 10px; }
.tr-cancel { color: var(--sale); border-color: var(--line); }
.tr-cancel:hover { background: var(--sale); border-color: var(--sale); color: #fff; }
.tr-help { display: inline-flex; gap: 8px; align-items: center; justify-self: center; font-size: 14px; margin-top: 4px; }
.tr-help svg { width: 18px; height: 18px; color: var(--ok); }
.tr-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tr-faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: #fff; }
.tr-faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; }
.tr-faq summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .2s; }
.tr-faq details[open] summary::after { transform: rotate(45deg); }
.tr-faq details p { margin: 0 0 16px; color: var(--muted); }
@media (max-width: 980px) { .tr-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .tr-form { grid-template-columns: 1fr; }
  .tr-form .btn { margin-top: 0; width: 100%; }
  .tr-head { grid-template-columns: 1fr; padding: 22px 20px; }
  .tr-eta { text-align: start; }
  .tr-faq, .tr-info { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .header, .footer, .mobile-bar, .wheel-fab, .tr-hero, .tr-actions, .section, .drawer, .overlay { display: none !important; }
  .tr-head { background: #fff; color: #000; border: 1px solid #000; }
  body { padding: 0; }
}
.slide-content { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.slide-content .btn { text-shadow: none; }
/* الهيرو في الموبايل: الزجاجة تبان والكلام تحت على خلفية أغمق */
@media (max-width: 560px) {
  .slide .media img { object-position: 22% center; }
  [dir] .slide::before { background: linear-gradient(to top, rgba(10,8,6,.88) 0%, rgba(10,8,6,.55) 45%, rgba(10,8,6,.05) 80%); }
  .slide-content { justify-content: flex-end; padding-bottom: 84px; }
}
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.co-server-err { background: #fbeef0; color: var(--sale); border-radius: 10px; padding: 12px 16px; font-weight: 600; font-size: 14px; }
/* عناصر الـ grid متتمددش أعرض من الشاشة بسبب محتواها */
.co-grid > *, .pdp > *, .tr-grid > *, .shop > *, .feature > *, .newsletter > *, .decant-band > *, .footer-grid > *, .tr-form > * { min-width: 0; }
/* الشاشات الصغيرة: مفيش حاجة تطلع برّه الشاشة */
.coupon input, .nl-row input, .search-field input, .f-input { min-width: 0; }
.pay { flex-wrap: wrap; }
.topbar-msgs { min-width: 0; }
@media (max-width: 420px) {
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1 1 100%; order: 3; }
  .buy-row .qty { flex: 1; justify-content: space-between; }
  .co-steps { gap: 4px; font-size: 11px; }
  .co-steps li { gap: 4px; }
  .co-steps li::before { width: 22px; height: 22px; font-size: 11px; }
  .co-steps li:not(:last-child)::after { width: 8px; margin-inline-start: 2px; }
  .co-steps li:not(.is-current) { font-size: 0; gap: 0; }
  .co-steps li:not(.is-current)::before { font-size: 11px; }
  .topbar-links { display: none; }
  .topbar .wrap { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* قائمة الموبايل مفتوحة: الصفحة ورا متتحرّكش */
body.menu-open { overflow: hidden; }

/* ===== حسابي ===== */
.acc-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; align-items: start; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-width: 0; }
.acc-card h2 { font-family: var(--f-head); font-size: 28px; margin: 0 0 4px; }
.acc-card h3 { margin: 0 0 12px; font-size: 17px; }
.acc-sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.acc-tabs { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 999px; margin-bottom: 22px; }
.acc-tabs button { flex: 1; min-height: 42px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.acc-tabs button:hover { color: var(--ink); }
.acc-tabs [aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.acc-card .tr-nf { margin: 0 0 14px; }
.acc-switch { text-align: center; font-size: 14px; margin: 16px 0 0; }
.acc-switch .link-u { font-weight: 600; }
.acc-demo { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.acc-perks { padding: 8px 0; }
.acc-perks h2 { font-family: var(--f-head); font-size: 26px; margin: 0 0 16px; }
.acc-perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acc-perks li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.acc-perks svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acc-head h2 { font-family: var(--f-head); font-size: 30px; margin: 0; }
.acc-head small { color: var(--muted); }
.acc-dash { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 16px; align-items: start; margin-top: 16px; }
.acc-pts { background: var(--dark); color: #fff; border: 0; }
.acc-pts small { color: #bdb6ad; display: block; }
.acc-pts b { display: block; font-size: 48px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.acc-pts > span { color: #e9d3ad; font-size: 14px; }
.acc-bar { height: 6px; background: #333; border-radius: 99px; margin: 16px 0 10px; overflow: hidden; }
.acc-bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.acc-pts p { margin: 0; font-size: 13px; color: #bdb6ad; }
.acc-pts p b { display: inline; font-size: inherit; color: #fff; }
.acc-orders { list-style: none; margin: 0; padding: 0; }
.acc-orders li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.acc-orders li:last-child { border-bottom: 0; }
.acc-no { font-family: ui-monospace, monospace; font-weight: 700; text-align: start; }
.acc-orders small { color: var(--muted); }
.acc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acc-steps li { background: var(--surface); border-radius: 16px; padding: 24px; }
.acc-steps li > b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; }
.acc-steps h3 { margin: 14px 0 6px; font-size: 18px; }
.acc-steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .acc-grid, .acc-dash { grid-template-columns: minmax(0, 1fr); }
  .acc-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .acc-card { padding: 18px; }
  .acc-orders li { grid-template-columns: 1fr auto; }
}

/* استبدال النقاط في صفحة الدفع */
.co-redeem:empty { display: none; }
.co-redeem { margin-top: 12px; }
.co-redeem > p { background: var(--surface); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0; color: var(--muted); }
.co-redeem-opt { display: flex; gap: 12px; align-items: center; border: 1px solid var(--gold); background: var(--gold-soft); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.co-redeem-opt input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.co-redeem-opt span { display: block; font-size: 14px; }
.co-redeem-opt small { display: block; color: #6d5226; font-size: 12px; margin-top: 2px; }

/* نسيت كلمة السر */
.acc-forgot { margin: -4px 0 14px; font-size: 14px; text-align: end; }
.acc-back { font-size: 14px; margin-bottom: 14px; display: inline-block; }
.acc-sent { margin: 0 0 18px; line-height: 1.7; }
#code { font-size: 22px; letter-spacing: .3em; text-align: center; }

/* ===== صفحات المساعدة (مين إحنا، الشحن، الاسترجاع، الأسئلة، الخصوصية، الشروط) ===== */
.info-hero { padding-bottom: 40px; }
.info-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-block: 48px 96px; align-items: start; }
.info-nav { position: sticky; top: 24px; }
.info-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.info-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: background .2s, color .2s; }
.info-nav a:hover { background: var(--surface); color: var(--ink); }
.info-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.info-body { max-width: 760px; min-width: 0; font-size: 16px; line-height: 1.85; }
.info-body h2 { font-family: var(--f-head); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; margin: 36px 0 12px; }
.info-body > h2:first-child, .info-updated + h2, .info-figure + h2 { margin-top: 0; }
.info-body p { margin: 0 0 14px; }
.info-list, .info-steps { margin: 0 0 16px; padding-inline-start: 22px; display: grid; gap: 8px; }
.info-list li::marker { color: var(--gold); }
.info-steps li { padding-inline-start: 4px; }
.info-steps li::marker { color: var(--gold); font-weight: 700; }
.info-updated { color: var(--muted); font-size: 14px; margin-bottom: 24px !important; }
.info-figure { margin: 0 0 32px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface); }
.info-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.info-table th { background: var(--surface); text-align: start; font-size: 13px; color: var(--muted); font-weight: 600; padding: 12px 16px; }
.info-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.info-faq { grid-template-columns: 1fr; margin-bottom: 8px; }
.info-faq p { line-height: 1.8; }
.info-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px !important; }
.info-cta span { color: var(--muted); }
@media (max-width: 900px) {
  .info-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 72px; }
  .info-nav { position: static; }
  .info-nav ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .info-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
}

/* ===== كروت الهدايا ===== */
.gc-card { --rib-1: #e7cd8f; --rib-2: #b38a45; container-type: inline-size; position: relative; display: block; aspect-ratio: 1.586; border-radius: 18px; overflow: hidden; color: #f3e6c8; isolation: isolate;
  background: radial-gradient(120% 90% at 15% 0%, #3a3128 0%, #16130f 55%, #0c0b0a 100%); box-shadow: 0 30px 60px -24px rgba(20,14,6,.55), inset 0 0 0 1px rgba(231,205,143,.25); }
.gc-card[data-design="rose"] { --rib-1: #f6e7d0; --rib-2: #d2b07a; color: #fff3ec; background: radial-gradient(120% 90% at 15% 0%, #b5485b 0%, #7d2a3a 55%, #561b27 100%); box-shadow: 0 30px 60px -24px rgba(86,27,39,.55), inset 0 0 0 1px rgba(255,240,230,.2); }
.gc-card[data-design="ivory"] { --rib-1: #3a3128; --rib-2: #141414; color: #1d1915; background: radial-gradient(120% 90% at 15% 0%, #fffaf1 0%, #f1e7d4 60%, #e4d5b8 100%); box-shadow: 0 30px 60px -24px rgba(90,70,40,.4), inset 0 0 0 1px rgba(168,132,78,.35); }
/* نقشة خطوط رفيعة في الخلفية */
.gc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .12; background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 14px); mask: linear-gradient(90deg, transparent, #000 70%); }
[dir="rtl"] .gc-card::before { mask: linear-gradient(-90deg, transparent, #000 70%); }
/* الشريطة: خط طولي والفيونكة فوقه */
.gc-band { position: absolute; top: 0; bottom: 0; inset-inline-end: 17%; width: 7%; background: linear-gradient(90deg, var(--rib-2), var(--rib-1) 45%, var(--rib-2)); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.gc-bow { position: absolute; top: -2%; inset-inline-end: calc(17% + 3.5%); width: 30%; translate: 50% 0; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
[dir="rtl"] .gc-bow { translate: -50% 0; }
.gc-top { position: absolute; top: 10%; inset-inline-start: 7%; display: flex; flex-direction: column; line-height: 1; }
.gc-logo { font-family: var(--f-head); font-size: 9cqi; font-weight: 700; }
.gc-top small { font-family: var(--f-latin); letter-spacing: .32em; font-size: 2.3cqi; opacity: .75; margin-top: 1.2cqi; }
.gc-label { position: absolute; top: 39%; inset-inline-start: 7%; font-size: 3.2cqi; letter-spacing: .14em; opacity: .8; }
.gc-amount { position: absolute; top: 46%; inset-inline-start: 7%; font-family: var(--f-latin); line-height: 1; }
.gc-amount b { font-size: 12cqi; font-weight: 700; }
.gc-amount small { font-size: 3.8cqi; font-family: var(--f-body); opacity: .85; }
.gc-msg { position: absolute; top: 69%; inset-inline: 7% 32%; font-size: 3.2cqi; opacity: .85; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-style: italic; }
.gc-names { position: absolute; bottom: 8%; inset-inline: 7% 32%; display: flex; gap: 4cqi; font-size: 3.4cqi; flex-wrap: wrap; }
.gc-names span { opacity: .8; } .gc-names b { opacity: 1; font-weight: 700; }
.gc-card--mini { width: 100%; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.gc-card--mini::after { content: ''; position: absolute; top: 0; bottom: 0; inset-inline-end: 17%; width: 9%; background: linear-gradient(90deg, var(--rib-2), var(--rib-1), var(--rib-2)); }

.gc-hero { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); padding-bottom: 72px; }
.gc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gc-stage { position: sticky; top: 170px; padding: clamp(8px, 2vw, 24px) clamp(12px, 3vw, 40px); }
.gc-card--big { transition: background .4s, color .4s, transform .5s var(--ease); animation: gc-in .9s var(--ease) both; }
.gc-card--big:hover { transform: rotate(-1.2deg) translateY(-4px); }
@keyframes gc-in { from { opacity: 0; transform: translateY(24px) rotate(2deg); } }
.gc-form h1 { font-family: var(--f-head); font-size: clamp(32px, 4vw, 46px); line-height: 1.2; margin: 10px 0 12px; }
.gc-lead { color: var(--muted); font-size: 17px; line-height: 1.8; margin: 0 0 26px; }
.gc-set { border: 0; padding: 0; margin: 0 0 18px; }
.gc-set legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.gc-amounts { margin-bottom: 12px; }
.gc-amounts .chip { font-family: var(--f-latin); font-size: 17px; font-weight: 700; min-width: 84px; }
.gc-custom { max-width: 260px; }
.gc-designs { display: flex; gap: 12px; }
.gc-sw { flex: 1; max-width: 140px; display: grid; gap: 6px; padding: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s; font-size: 13px; color: var(--muted); }
.gc-sw:hover { transform: translateY(-2px); }
.gc-sw[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.gc-form .hint { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.gc-count { text-align: end; }
.gc-add { min-height: 54px; font-size: 16px; margin-top: 6px; }
.gc-note { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 12px 0 0; }

.gc-how { padding: 72px 0; }
.gc-how h2, .gc-balance h2, .gc-faq h2 { font-family: var(--f-head); font-size: clamp(28px, 3vw, 36px); margin: 0 0 24px; }
.gc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gc-steps li { border-top: 1px solid var(--ink); padding-top: 18px; }
.gc-step-n { font-family: var(--f-latin); font-size: 44px; color: var(--gold); line-height: 1; }
.gc-steps h3 { font-size: 19px; margin: 8px 0 6px; }
.gc-steps p { color: var(--muted); margin: 0; line-height: 1.7; }

.gc-balance { background: var(--dark); color: #fff; padding: 64px 0; scroll-margin-top: 150px; }
.gc-balance-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px 48px; align-items: center; }
.gc-balance h2 { margin-bottom: 6px; }
.gc-balance p { color: #bdb6ac; margin: 0; }
.gc-bal-form { display: flex; gap: 10px; }
.gc-bal-form input { flex: 1; min-height: 54px; border-radius: 10px; border: 1px solid #3a3631; background: #1c1a18; color: #fff; padding: 0 16px; font: 600 17px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; outline: none; }
.gc-bal-form input:focus { border-color: var(--gold); }
.gc-bal-form .btn { background: var(--gold); border-color: var(--gold); color: #111; min-height: 54px; }
.gc-bal-out { grid-column: 2; min-height: 0; }
.gc-bal-res { display: flex; gap: 18px; align-items: center; background: #1c1a18; border: 1px solid #3a3631; border-radius: 14px; padding: 14px; animation: gc-in .5s var(--ease) both; }
.gc-bal-res .gc-card { width: 132px; flex-shrink: 0; }
.gc-bal-res b { display: block; font-size: 26px; font-family: var(--f-latin); color: var(--gold); }
.gc-bal-res small { color: #bdb6ac; display: block; }
.gc-bal-err { color: #f3a6b3; margin: 0; }

.gc-faq { padding: 72px 0; }
.gc-faq .wrap { max-width: 860px; }
.gc-faq details { border-bottom: 1px solid var(--line); }
.gc-faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 17px; }
.gc-faq summary::-webkit-details-marker { display: none; }
.gc-faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.gc-faq details[open] summary::after { transform: rotate(45deg); }
.gc-faq details p { margin: 0 0 18px; color: var(--muted); line-height: 1.8; }

/* الكارت في السلة وصفحة الدفع والتتبّع */
.media.gc-thumb { background: none; display: grid; place-items: center; }
.media.gc-thumb .gc-card { width: 100%; }
.co-gc-note { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .gc-grid { grid-template-columns: 1fr; }
  .gc-stage { position: static; padding: 8px 4px 0; max-width: 520px; margin-inline: auto; width: 100%; }
  .gc-steps { grid-template-columns: 1fr; }
  .gc-balance-in { grid-template-columns: 1fr; }
  .gc-bal-out { grid-column: auto; }
}
@media (max-width: 520px) {
  .gc-bal-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .gc-card--big, .gc-bal-res { animation: none; } }

/* أي حاجة مستخبية في صفحة الدفع (العنوان والشحن للكروت بس) */
.co [hidden] { display: none !important; }
.gc-redeem { margin-top: 10px; }
