/* ==========================================================================
   دار الجسمي — نظام التصميم
   الهوية (تموز 2026): Parchment #F9F3ED (80%) · Greice #604832 (10%) · Sand #B0A99A (10%)
   الخطوط: FATIMAH للعربي · Montserrat للاتيني. العنصر المحوري: الحجر.
   كل عطر يغيّر «معالجة الحجر» فقط — نفس المكوّنات، نفس الأزرار، نفس الخط:
     t-ivory (كيفورا)  سيدة الألماس: حرير عاجي وقوس مضاء وبريق
     t-night (دمار)    غرفة كحلية وقوس حجري مضاء بجمر دافئ
   ========================================================================== */

@font-face { font-family: "Fatimah"; src: url(/assets/fonts/fatimah-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fatimah"; src: url(/assets/fonts/fatimah-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fatimah"; src: url(/assets/fonts/fatimah-bold.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(/assets/fonts/montserrat-medium.woff2) format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF, U+2013-2026; }
/* شَرطة FATIMAH طويلة جداً — نأخذ الشَّرطات فقط من Montserrat */
@font-face { font-family: "AJ Dash"; src: url(/assets/fonts/montserrat-medium.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+2013-2014; }
@font-face { font-family: "Montserrat"; src: url(/assets/fonts/montserrat-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2013-2026; }
@font-face { font-family: "Montserrat"; src: url(/assets/fonts/montserrat-bold.woff2) format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0000-00FF, U+2013-2026; }

:root {
  /* ألوان الهوية */
  --parchment: #F9F3ED;
  --greice: #604832;
  --sand: #B0A99A;
  /* مشتقات (درجات من ألوان الهوية نفسها — للقراءة والتباين) */
  --ink: #4A3726;
  --muted: #76624F;
  --paper: #FFFCF8;
  --line: rgba(96, 72, 50, .18);
  --line-strong: rgba(96, 72, 50, .34);
  --tint: #F2E9DE;
  --night: #1D213C;
  --night-2: #262B4B;
  --ember: #D9A066;
  --ok: #3F6B4A;
  --bad: #9B3B2E;

  --bg: var(--parchment);
  --fg: var(--ink);
  --head: var(--greice);
  --soft: var(--muted);
  --i2: var(--sand);
  --btn-bg: var(--greice);
  --btn-fg: var(--parchment);
  --focus: #3C66C4;

  --font-ar: "AJ Dash", "Fatimah", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-en: "Montserrat", "Fatimah", Arial, sans-serif;
  --wrap: 1120px;
  --gut: clamp(16px, 4.6vw, 32px);
  --r: 12px;
  --shadow: 0 18px 40px -22px rgba(62, 44, 28, .45);
  --facet: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sticky-h: 0px;
}

/* ------------------------------------------------------------------ أساس */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.85 var(--font-ar);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--sticky-h);
  transition: padding-bottom .3s var(--ease);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--head); line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0 0 .9em; }
ul, ol { margin: 0; padding: 0; }
[lang="en"], .en { font-family: var(--font-en); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--greice); color: var(--parchment); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 680px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; vertical-align: -.22em; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: #8A5A1E; color: #fff; text-align: center; font-size: .9rem; padding: 8px 12px; }

/* ------------------------------------------------------------------ أزرار (الحافة المثمّنة من غطاء الزجاجة) */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em; border: 0; background: none; cursor: pointer; text-decoration: none;
  font: 700 1.06rem/1.2 var(--font-ar); letter-spacing: 0; -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--ease), opacity .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: var(--facet); transition: background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-buy { color: var(--btn-fg); }
.btn-buy::before { background: var(--btn-bg); }
.btn-buy:hover::before { background: color-mix(in srgb, var(--btn-bg) 88%, #000); }
/* الثانوي: إطار مدوّر بسيط — الحافة المثمّنة محجوزة للزر الأساسي فقط */
.btn-ghost { color: var(--head); border: 1.5px solid var(--line-strong); border-radius: 10px; min-height: 50px; }
.btn-ghost::before { clip-path: none; border-radius: 9px; }
.btn-ghost:hover::before { background: color-mix(in srgb, var(--head) 7%, transparent); }
.btn-link { min-height: 44px; color: var(--head); text-decoration: underline; padding: 0 .5em; }
.btn-sm { min-height: 44px; padding: 0 1.1em; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-ic { width: 1.1em; height: 1.1em; }

/* ------------------------------------------------------------------ الشريط العلوي */
.topbar { position: relative; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; color: var(--greice); direction: ltr; }   /* الرمز يسار النص — حسب دليل الاستخدام */
.logo-h { height: 34px; width: auto; }
.topbar-help, .topbar-back { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 .9em; border-radius: 999px;
  font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--head); background: color-mix(in srgb, var(--head) 7%, transparent); }
.topbar-resume { background: var(--btn-bg); color: var(--btn-fg); }
.topbar-help:hover, .topbar-back:hover { background: color-mix(in srgb, var(--head) 12%, transparent); }

/* ------------------------------------------------------------------ عناوين الأقسام */
section { position: relative; }
.sec-head { max-width: 640px; margin-bottom: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 500; font-size: .95rem; color: var(--soft); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
h2 { font-size: clamp(1.65rem, 5.6vw, 2.5rem); }
.lede { font-size: 1.08rem; color: var(--soft); margin-top: 10px; }
.source-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; font-size: .88rem; color: var(--soft); line-height: 1.7; }
.source-note .ic { margin-top: .25em; color: var(--sand); }
.small { font-size: .9rem; color: var(--soft); }

/* ------------------------------------------------------------------ الواجهة (Hero) */
.hero { padding: 6px 0 26px; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) 40%;
  grid-template-areas: "copy stage" "buy buy" "assure assure";
  column-gap: 14px; row-gap: 16px; align-items: center;
}
.hero-copy { grid-area: copy; min-width: 0; }
.hero-stage { grid-area: stage; position: relative; height: clamp(300px, 52vh, 400px); display: grid; place-items: end center; }
.stage-bg { position: absolute; inset: 0 -6% 0; border-radius: 999px 999px 10px 10px; overflow: hidden; }
.hero-bottle { position: absolute; z-index: 2; left: 50%; bottom: 5%; transform: translateX(-50%); height: 86%; width: auto; max-width: 96%; object-fit: contain; }
.eyebrow { margin: 0 0 6px; font-size: .9rem; font-weight: 500; color: var(--soft); }
.hero-name { display: flex; flex-direction: column; gap: 2px; margin: 0 0 10px; }
.hero-name .en { font: 600 clamp(1.2rem, 5vw, 1.6rem)/1.1 var(--font-en); letter-spacing: .34em; color: var(--head); direction: ltr; text-align: right; margin-inline-end: -.34em; }
.hero-name .ar { font-size: clamp(1.05rem, 4.2vw, 1.25rem); font-weight: 500; color: var(--soft); }
.hero-line { font-size: clamp(1.5rem, 6.4vw, 2.7rem); line-height: 1.3; font-weight: 700; color: var(--head); margin: 0 0 12px; }
.hero-sub { font-size: .98rem; line-height: 1.75; color: var(--soft); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li { font-size: .82rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--head); }
.hero-buy { grid-area: buy; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 16px; }
.price { margin: 0; color: var(--head); white-space: nowrap; }
.price .amt { font: 700 1.75rem/1 var(--font-en); letter-spacing: -.01em; }
.price .cur { font-size: 1rem; font-weight: 500; }
.hero-buy .btn { width: 100%; }
.buy-note { grid-column: 1 / -1; margin: 0; text-align: center; font-size: .88rem; color: var(--soft); }
.soldout { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; margin: 0; color: var(--bad); font-weight: 500; }
.assure { grid-area: assure; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding-top: 14px; border-top: 1px solid var(--line); }
.assure li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .82rem; line-height: 1.45; color: var(--soft); }
.assure .ic { width: 28px; height: 28px; color: var(--head); }
.assure b { display: block; color: var(--head); font-weight: 700; font-size: .9rem; }
.assure-sm { border: 0; padding: 0; margin-top: 18px; }
/* ضمان الاسترجاع والاستبدال: زر يفتح الشروط بنافذة — بنفس شكل العناصر اللي جنبه */
.assure-btn { display: flex; flex-direction: inherit; align-items: inherit; text-align: inherit; gap: inherit; width: 100%; padding: 0; border: 0; border-radius: 6px;
  background: none; font: inherit; line-height: inherit; color: inherit; cursor: pointer; }
.assure-btn .u { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.assure-btn:hover .u { text-decoration-style: solid; }

@media (min-width: 900px) {
  .hero { padding: 20px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "copy stage" "buy stage" "assure stage"; column-gap: 64px; row-gap: 22px; align-items: start; }
  .hero-copy { align-self: end; padding-top: 40px; }
  .hero-stage { height: min(74vh, 640px); min-height: 520px; }
  .hero-buy { grid-template-columns: auto auto; justify-content: start; }
  .hero-buy .btn { width: auto; min-width: 240px; }
  .buy-note { text-align: start; }
  .assure { max-width: 520px; justify-items: start; }
  .assure li { flex-direction: row; text-align: start; gap: 10px; }
  .hero-sub { font-size: 1.1rem; max-width: 520px; }
}

/* ------------------------------------------------------------------ اللحظة */
.moment { padding: 44px 0; }
.moment-in { display: grid; gap: 22px; }
.moment-fig { margin: 0 calc(var(--gut) * -1); aspect-ratio: 4 / 4.2; overflow: hidden; }
.moment-img { width: 100%; height: 100%; object-fit: cover; }
.pull { position: relative; margin: 22px 0 0; padding: 18px 20px 16px; background: var(--paper); border-inline-start: 3px solid var(--sand); border-radius: 0 var(--r) var(--r) 0; }
.pull-ic { position: absolute; top: -14px; inset-inline-end: 16px; width: 30px; height: 30px; color: var(--sand); }
.pull blockquote { margin: 0; font-size: 1.12rem; line-height: 1.7; color: var(--head); font-weight: 500; }
.pull figcaption { margin-top: 8px; font-size: .85rem; color: var(--soft); }
@media (min-width: 900px) {
  .moment { padding: 80px 0; }
  .moment-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .moment-fig { margin: 0; border-radius: 999px 999px var(--r) var(--r); aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------------ رحلة الريحة (الهرم التفاعلي) */
.journey { padding: 52px 0; }
.journey-grid { display: grid; gap: 22px; }
.jv { margin: 0; }
.jv-frame { --fo: 50% 50%; position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; overflow: hidden; background: #fff; clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%); }
.jv-img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--fo); transform: scale(1.55); transition: transform-origin 1.1s var(--ease), transform 1.1s var(--ease); }
.jv-frame.at-base .jv-img, .jv-frame.at-heart .jv-img { transform: scale(1.7); }
.pyr { display: grid; gap: 6px; justify-items: center; }
.tier { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 14%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--head) 8%, transparent); color: var(--head); text-align: center; transition: background .3s, color .3s; }
.tier-top { width: 64%; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.tier-heart { width: 82%; clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); }
.tier-base { width: 100%; clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.tier-l { font-weight: 700; font-size: 1rem; }
.tier-n { font-size: .84rem; opacity: .85; line-height: 1.5; }
.tier[aria-selected="true"] { background: var(--head); color: var(--bg); }
.tier:focus-visible { outline-offset: -4px; }
.jrange { margin: 18px 4px 6px; }
.jrange input { width: 100%; accent-color: var(--head); height: 32px; }
.jticks { display: flex; justify-content: space-between; font-size: .8rem; color: var(--soft); }
.tpanel { margin-top: 12px; }
.tp-lead { font-size: 1.1rem; line-height: 1.75; color: var(--head); font-weight: 500; }
.notes { list-style: none; display: grid; gap: 8px; }
.notes li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 14px; background: var(--paper); border-radius: 10px; border: 1px solid var(--line); }
.nn { font-weight: 700; color: var(--head); }
.ne { font-size: .78rem; color: var(--soft); align-self: center; justify-self: end; letter-spacing: .06em; }
.na { grid-column: 1 / -1; font-size: .9rem; color: var(--soft); line-height: 1.6; }
.house-q { margin: 14px 0 0; font-size: 1rem; color: var(--head); }
.house-q span { display: block; font-size: .8rem; color: var(--soft); }
.js .tpanel[data-stage]:not(.on) { display: none; }
.no-js .tpanel[hidden] { display: block !important; }
@media (min-width: 900px) {
  .journey { padding: 90px 0; }
  .journey-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .jv { position: sticky; top: 30px; }
}

/* ------------------------------------------------------------------ بطاقة العطر */
.facts-sec { padding: 52px 0; background: var(--tint); }
.facts-grid { display: grid; gap: 18px; }
.factsheet { background: var(--paper); border: 1px solid var(--line); padding: 8px 18px 18px; border-radius: var(--r); box-shadow: var(--shadow); }
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--soft); font-size: .92rem; }
.facts dd { margin: 0; color: var(--head); font-weight: 700; line-height: 1.55; }
.facts dd bdi { white-space: nowrap; }   /* «(Eau de Parfum)» تبقى بسطر واحد */
.caveat { display: flex; gap: 8px; margin: 14px 0 0; font-size: .88rem; color: var(--soft); line-height: 1.7; }
.caveat .ic { margin-top: .3em; color: var(--sand); }
.voices { display: grid; gap: 14px; }
.voice { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 60%, transparent); }
.voice h3 { font-size: .92rem; font-weight: 500; color: var(--soft); margin-bottom: 8px; }
.v-house blockquote { margin: 0; font-size: 1.2rem; line-height: 1.6; color: var(--head); font-weight: 700; }
.tag-en { margin: 10px 0 0; font: 500 .82rem/1.4 var(--font-en); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); direction: ltr; text-align: right; }
.tallies { list-style: none; display: grid; gap: 10px; margin-bottom: 10px; }
.tallies li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l n" "b b"; gap: 4px 10px; font-size: .93rem; color: var(--head); }
.tallies .tl { grid-area: l; }
.tallies b { grid-area: n; font-family: var(--font-en); }
.tallies .tb { grid-area: b; height: 6px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.tallies .tb::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: var(--head); border-radius: 99px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 26px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 8px; scrollbar-width: thin; }
.g-item { margin: 0; scroll-snap-align: start; }
.g-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: #fff; }
.g-item figcaption { font-size: .8rem; color: var(--soft); margin-top: 6px; line-height: 1.5; }
@media (min-width: 900px) {
  .facts-sec { padding: 90px 0; }
  .facts-grid { grid-template-columns: 1.1fr .9fr; gap: 28px; }
  .gallery { grid-auto-columns: calc((100% - 36px) / 4); margin-inline: 0; padding-inline: 0; overflow: visible; }
}

/* ------------------------------------------------------------------ الآراء */
.reviews { padding: 52px 0; background: var(--tint); }
.rv-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 16px; padding: 2px var(--gut) 6px; scrollbar-width: none; }
.chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; font-weight: 500; font-size: .9rem; color: var(--head); white-space: nowrap; }
.chip b { font-family: var(--font-en); margin-inline-start: 4px; }
.chip.on { background: var(--head); color: var(--bg); border-color: var(--head); }
.rv-list { list-style: none; display: grid; gap: 12px; }
.rv { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 12px; }
.rv blockquote { margin: 0 0 8px; font-size: 1.04rem; line-height: 1.75; color: var(--ink); }
.rv blockquote::before { content: "«"; color: var(--sand); margin-inline-end: 2px; }
.rv blockquote::after { content: "»"; color: var(--sand); margin-inline-start: 2px; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: .8rem; color: var(--soft); }
.stars { display: inline-flex; color: #B07A2A; }
.stars .ic { width: 14px; height: 14px; }
.js .rv-list:not(.all) .rv-more { display: none; }
.rv.filtered-out { display: none !important; }
.rv-all { margin-top: 14px; width: 100%; }
@media (min-width: 900px) {
  .reviews { padding: 90px 0; }
  .rv-list { grid-template-columns: 1fr 1fr; }
  .rv-chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .rv-all { width: auto; }
}

/* ------------------------------------------------------------------ الضمان: العطر تجربة مو اختيار */
.guarantee { padding: 56px 0; background: var(--greice); color: var(--parchment); --head: var(--parchment); --soft: #E6DACB; --gold: #D2B78E; }
.guarantee .sec-head { margin-bottom: 30px; }
.guarantee .lede { color: #E6DACB; }
.g-steps { list-style: none; display: grid; gap: 22px; margin: 0 0 28px; padding: 0; }
.g-steps li { padding-top: 14px; border-top: 1px solid rgba(249, 243, 237, .22); }
.g-n { display: block; margin-bottom: 10px; font: 600 .9rem/1 var(--font-en); color: var(--gold); }
.g-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.g-steps p { margin: 0; color: #E6DACB; line-height: 1.75; font-size: .96rem; }
.g-boxes { display: grid; gap: 14px; }
.g-box { padding: 18px 20px; border-radius: var(--r); background: rgba(249, 243, 237, .08); }
.g-box h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.05rem; }
.g-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; cursor: pointer; }
.g-details summary::-webkit-details-marker { display: none; }
.g-ic { width: 18px; height: 18px; color: var(--gold); }
.g-details[open] .g-ic-shut, .g-details:not([open]) .g-ic-open { display: none; }
.g-details ul { display: grid; gap: 6px; margin: 12px 0 0; padding-inline-start: 1.2em; line-height: 1.75; font-size: .95rem; color: #E6DACB; }
.g-deliv h3 { margin-bottom: 12px; }
.g-deliv h3 .ic { width: 26px; height: 26px; color: var(--gold); }
.g-deliv dl { display: grid; gap: 8px; margin: 0; }
.g-deliv dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.g-deliv dt { color: #E6DACB; }
.g-deliv dd { margin: 0; font-weight: 700; text-align: end; }
.g-sign { margin: 30px 0 0; font-size: clamp(1.25rem, 4.6vw, 1.6rem); font-weight: 700; color: var(--gold); }
@media (min-width: 900px) {
  .guarantee { padding: 90px 0; }
  .g-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .g-boxes { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 22px; }
}
.pol-sign { margin-top: 14px; font-weight: 700; color: var(--head); }
.th-pol { margin: 12px 0 0; }
.th-pol a { font-weight: 700; color: var(--head); }


/* ------------------------------------------------------------------ الأسئلة */
.faq { padding: 52px 0; background: var(--tint); }
.faq-list { display: grid; gap: 8px; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; cursor: pointer; font-weight: 700; color: var(--head); line-height: 1.55; min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ic { transition: transform .25s var(--ease); color: var(--soft); }
.qa[open] .qa-ic { transform: rotate(180deg); }
.qa-a { padding: 0 18px 16px; color: var(--ink); line-height: 1.8; }
.qa-a a { font-weight: 700; color: var(--head); }
.faq-more { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.faq-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--head); }
@media (min-width: 900px) { .faq { padding: 90px 0; } .faq-in { max-width: 820px; } }

/* ------------------------------------------------------------------ الخاتمة */
.closing { padding: 56px 0; overflow: hidden; }
.closing-in { display: grid; gap: 22px; }
.closing-fig { position: relative; max-width: 420px; margin-inline: auto; width: 88%; aspect-ratio: 1; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: #fff; }
.closing-fig img { width: 100%; height: 100%; object-fit: cover; }
.closing-copy { text-align: center; }
.closing-copy .kicker { justify-content: center; letter-spacing: .3em; font-family: var(--font-en); }
.closing-copy .kicker::before { display: none; }
.closing h2 { font-size: clamp(1.9rem, 7vw, 3rem); }
.closing .price { margin: 14px 0; }
.closing .btn { width: 100%; max-width: 360px; }
.closing .assure-sm { grid-template-columns: repeat(3, auto); justify-content: center; gap: 10px 18px; }
@media (min-width: 900px) {
  .closing { padding: 100px 0; }
  .closing-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .closing-copy { text-align: start; }
  .closing-copy .kicker { justify-content: flex-start; }
  .closing .assure-sm { justify-content: start; }
}

/* ------------------------------------------------------------------ التذييل */
.foot { background: var(--greice); color: var(--parchment); padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); --head: var(--parchment); --i2: rgba(249, 243, 237, .45); }
.foot-in { display: grid; gap: 22px; font-size: .95rem; }
.foot-logo { width: 110px; height: auto; color: var(--parchment); margin-bottom: 10px; }
.foot-brand p { color: #E6DACB; margin: 0; }
.foot-links, .foot-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--parchment); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.foot a:hover { text-decoration: underline; }
.foot-legal { margin: 0; font-size: .82rem; color: #D9CBBB; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } .foot-legal { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ الشريط الثابت (موبايل) */
.sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--parchment) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .35s var(--ease); --head: var(--greice); --btn-bg: var(--greice); --btn-fg: var(--parchment); color: var(--ink); }
.sticky.show { transform: none; }
.sticky-in { display: flex; align-items: center; gap: 10px; }
.sticky img { width: 40px; height: auto; max-height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.sticky-name { flex: 1; min-width: 0; line-height: 1.35; }
.sticky-name b { display: block; color: var(--greice); }
.sticky-name span { font-size: .82rem; color: var(--muted); }
.sold-tag { font-size: .9rem; color: var(--bad); font-weight: 700; }
@media (min-width: 900px) { .sticky-in { max-width: 760px; } .sticky .btn { min-width: 220px; } }

/* ------------------------------------------------------------------ نظرة سريعة (المقارنة) */
.qv { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: var(--parchment); color: var(--ink); box-shadow: 0 -20px 60px rgba(0, 0, 0, .25); --head: var(--greice); --soft: var(--muted); --btn-bg: var(--greice); --btn-fg: var(--parchment); }
.qv::backdrop { background: rgba(29, 33, 60, .55); }
.qv[open] { animation: sheet .35s var(--ease); }
.qv-x { position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: rgba(96, 72, 50, .08); border-radius: 50%; cursor: pointer; color: var(--greice); }
.qv h2 { margin: 0; font-size: 1.35rem; line-height: 1.35; }
@media (min-width: 700px) { .qv { max-width: 560px; margin: auto; border-radius: 18px; } }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------ السياسات بنافذة (نفس الصفحة) */
.sheet { overflow: auto; overscroll-behavior: contain; }
.sheet-in { position: relative; padding: 24px 18px calc(26px + env(safe-area-inset-bottom)); }
.sheet .pol-sec { padding: 0; border: 0; }
.sheet h2 { font-size: 1.35rem; }
@media (min-width: 700px) { .sheet-in { padding: 30px 32px; } }
.pol-call { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.pol-call a { font-weight: 700; color: var(--head); }

/* ------------------------------------------------------------------ ظهور هادئ عند التمرير */
/* نحرّك المحتوى فقط — خلفية القسم تبقى مرسومة (حتى ما يطلع شريط فاتح بين قسمين داكنين) */
.js .reveal > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in > * { opacity: 1; transform: none; }

/* ==================================================================== كيفورا — سيدة الألماس: حرير عاجي وبريق */
.t-ivory .hero { background: linear-gradient(180deg, var(--parchment), #F4ECE2 70%, var(--parchment)); }
.t-ivory .stage-bg { background: #FBF7F1 url(/assets/img/brand/silk-diamond-560.webp) center / cover; box-shadow: inset 0 -30px 60px -30px rgba(96, 72, 50, .22); }
@media (min-width: 900px) { .t-ivory .stage-bg { background-image: url(/assets/img/brand/silk-diamond-900.webp); } }
/* نور صافي خلف الزجاجة حتى ما يمرّ الحرير من خلالها (الصورة بخلفية بيضاء ومدموجة بالضرب) */
.t-ivory .stage-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 44% at 50% 56%, rgba(255, 255, 255, .96) 30%, rgba(255, 255, 255, 0) 78%); }
.t-ivory .stage-bg::after { content: ""; position: absolute; inset: -12% -10% 35%; background: radial-gradient(closest-side, rgba(255, 253, 248, .95), rgba(255, 250, 240, 0) 72%); animation: breathe 7s ease-in-out infinite alternate; }
.t-ivory .hero-stage::after { content: ""; position: absolute; inset: 0 -6%; z-index: 3; border-radius: 999px 999px 10px 10px; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%) no-repeat; background-size: 250% 100%; background-position: 130% 0; animation: sweep 2.6s .5s var(--ease) 1 both; mix-blend-mode: soft-light; }
.t-ivory .hero-bottle, .t-ivory .jv-img, .t-ivory .closing-fig img { mix-blend-mode: multiply; }
.t-ivory .closing { background: linear-gradient(rgba(249, 243, 237, .5), rgba(249, 243, 237, .5)), #F3ECE3 url(/assets/img/brand/silk-diamond-900.webp) center / cover; }
.t-ivory .closing-fig { background: #FFFDF9; box-shadow: 0 30px 60px -30px rgba(96, 72, 50, .5); }
.t-ivory .jv-frame { background: #FFFDF9; }
@keyframes breathe { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
/* بريق ألماس على حواف القوس — بعيد عن الزجاجة */
.glints { position: absolute; inset: 0 -6%; z-index: 3; pointer-events: none; overflow: hidden; border-radius: 999px 999px 10px 10px; }
.glints i { position: absolute; width: 16px; height: 16px; opacity: 0; animation: glint 5.4s ease-in-out infinite;
  background: radial-gradient(circle, #fff 0 16%, #F3DFB4 38%, rgba(222, 190, 136, 0) 70%);
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%); }
.glints i:nth-child(1) { top: 14%; left: 20%; } .glints i:nth-child(2) { top: 26%; left: 82%; animation-delay: 1.1s; width: 12px; height: 12px; }
.glints i:nth-child(3) { top: 44%; left: 9%; animation-delay: 2.3s; } .glints i:nth-child(4) { top: 62%; left: 88%; animation-delay: 3.2s; width: 20px; height: 20px; }
.glints i:nth-child(5) { top: 78%; left: 14%; animation-delay: .6s; width: 11px; height: 11px; } .glints i:nth-child(6) { top: 9%; left: 64%; animation-delay: 4.1s; width: 12px; height: 12px; }
.glints i:nth-child(7) { top: 86%; left: 80%; animation-delay: 1.8s; } .glints i:nth-child(8) { top: 36%; left: 92%; animation-delay: 4.8s; width: 10px; height: 10px; }
.glints i:nth-child(9) { top: 55%; left: 5%; animation-delay: 2.9s; width: 12px; height: 12px; }
@keyframes glint { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 10% { opacity: 1; transform: scale(1) rotate(30deg); } 22% { opacity: 0; transform: scale(.3) rotate(60deg); } }
/* القصة */
.story p { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.95; color: var(--ink); }
.story p:nth-child(2) { font-size: 1.2rem; font-weight: 700; color: var(--head); }
.t-ivory .moment-fig { background: #2B211A; }
@keyframes sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }

/* ==================================================================== دمار — غرفة كحلية وجمر */
.t-night { --tint: #EFE8E0; }
.t-night .hero, .t-night .journey, .t-night .closing {
  --bg: var(--night); --fg: #E9E3DA; --head: var(--parchment); --soft: #C4BDB3; --line: rgba(249, 243, 237, .16); --line-strong: rgba(249, 243, 237, .32);
  --btn-bg: var(--parchment); --btn-fg: var(--night); --i2: rgba(249, 243, 237, .4); --paper: rgba(249, 243, 237, .06); --focus: #9EB6FF;
  background: var(--bg); color: var(--fg);
}
.t-night .hero { background: radial-gradient(120% 70% at 30% 110%, #3A2A2A 0%, rgba(58, 42, 42, 0) 60%), linear-gradient(180deg, #161A31, var(--night) 60%); }
.t-night .topbar { background: #161A31; --head: var(--parchment); --btn-bg: var(--parchment); --btn-fg: var(--night); }
.t-night .topbar .logo { color: var(--parchment); }
.t-night.pg-order .topbar, .t-night.pg-thanks .topbar { background: none; --head: var(--greice); }
.t-night.pg-order .topbar .logo { color: var(--greice); }
.t-night .stage-bg { background: radial-gradient(90% 65% at 50% 40%, #FBF6EF 0%, #EDE2D3 55%, #D9B994 100%); box-shadow: 0 0 80px -10px rgba(217, 160, 102, .45), inset 0 -40px 60px -30px rgba(120, 60, 20, .35); }
.t-night .stage-bg::after { content: ""; position: absolute; inset: 0; background: url(/assets/img/brand/stone-fine-960.webp) center / cover; mix-blend-mode: multiply; opacity: .6;
  -webkit-mask-image: radial-gradient(70% 58% at 50% 50%, transparent 42%, #000 90%); mask-image: radial-gradient(70% 58% at 50% 50%, transparent 42%, #000 90%); }
.t-night .hero-bottle { mix-blend-mode: multiply; }
.t-night .chips li { border-color: rgba(249, 243, 237, .3); }
.t-night .assure { border-top-color: rgba(249, 243, 237, .16); }
.t-night .assure .ic { color: var(--ember); }
.t-night .eyebrow { color: var(--ember); }
.embers { position: absolute; inset: -4% -10% 0; z-index: 3; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -6px; width: 3px; height: 3px; border-radius: 50%; background: #F2B872; box-shadow: 0 0 6px 2px rgba(242, 160, 80, .6); opacity: 0; animation: rise 7s linear infinite; }
.embers i:nth-child(1) { left: 8%; animation-delay: .2s; } .embers i:nth-child(2) { left: 16%; animation-delay: 2.1s; animation-duration: 8s; }
.embers i:nth-child(3) { left: 24%; animation-delay: 4s; } .embers i:nth-child(4) { left: 33%; animation-delay: 1.2s; animation-duration: 9s; }
.embers i:nth-child(5) { left: 41%; animation-delay: 5.2s; } .embers i:nth-child(6) { left: 50%; animation-delay: 3.1s; animation-duration: 6.5s; }
.embers i:nth-child(7) { left: 58%; animation-delay: .9s; } .embers i:nth-child(8) { left: 66%; animation-delay: 4.6s; animation-duration: 8.5s; }
.embers i:nth-child(9) { left: 74%; animation-delay: 2.7s; } .embers i:nth-child(10) { left: 82%; animation-delay: 6s; animation-duration: 7.5s; }
.embers i:nth-child(11) { left: 90%; animation-delay: 1.6s; } .embers i:nth-child(12) { left: 12%; animation-delay: 6.6s; width: 2px; height: 2px; }
.embers i:nth-child(13) { left: 46%; animation-delay: 3.8s; width: 2px; height: 2px; } .embers i:nth-child(14) { left: 78%; animation-delay: 5.6s; width: 2px; height: 2px; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 70% { opacity: .5; } 100% { transform: translate(18px, -420px); opacity: 0; } }
.t-night .jv-frame { background: #F4EEE6; box-shadow: 0 0 90px -20px rgba(217, 160, 102, .5); }
.t-night .jv-img { mix-blend-mode: multiply; }
.t-night .tier[aria-selected="true"] { background: var(--ember); color: var(--night); }
.t-night .tier { background: rgba(249, 243, 237, .08); }
.t-night .jrange input { accent-color: var(--ember); }
.t-night .notes li { background: rgba(249, 243, 237, .05); }
.t-night .journey .source-note .ic { color: var(--ember); }
.t-night .moment-fig { background: #fff; }
.t-night .closing { background: radial-gradient(90% 60% at 50% 100%, #3A2A2A 0%, rgba(58, 42, 42, 0) 70%), var(--night); }
.t-night .closing-fig { background: linear-gradient(180deg, #F2EBE1, #E2CFB8); box-shadow: 0 0 100px -20px rgba(217, 160, 102, .55); }
.t-night .closing-fig img { mix-blend-mode: multiply; }
.t-night .closing .assure .ic { color: var(--ember); }
.t-night .pull { border-inline-start-color: var(--night); }

/* ------------------------------------------------------------------ حركة مخفّضة */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .embers, .glints { display: none; }
  .js .reveal > * { opacity: 1; transform: none; }
  .jv-img { transform: scale(1.5); }
}

/* ==================================================================== صفحة الطلب */
.order { position: relative; padding-top: 6px; padding-bottom: 40px; }
.o-head { margin: 4px 0 16px; }
.o-head h1 { font-size: 1.8rem; }
.o-head p { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: var(--soft); }
.o-form { display: grid; gap: 14px; }
.o-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.o-card h2 { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; margin-bottom: 12px; }
.o-card h2 .ic { color: var(--soft); }
.o-lines { list-style: none; display: grid; gap: 10px; }
.o-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.o-line img { width: 56px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; mix-blend-mode: multiply; }
.o-line .ol-name { font-weight: 700; color: var(--head); line-height: 1.4; }
.o-line .ol-sub { display: block; font-size: .82rem; color: var(--soft); }
.o-line .ol-tag { display: inline-block; font-size: .72rem; padding: 1px 8px; border-radius: 99px; background: var(--tint); color: var(--head); margin-inline-start: 6px; font-weight: 500; }
.o-line .ol-price { font: 700 1rem/1.2 var(--font-en); color: var(--head); text-align: end; white-space: nowrap; }
.ol-ctl { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; }
.qty button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--head); }
.qty button[disabled] { opacity: .35; cursor: default; }
.qty output { min-width: 28px; text-align: center; font: 700 1rem/1 var(--font-en); }
.ol-rm { border: 0; background: none; color: var(--soft); text-decoration: underline; cursor: pointer; font-size: .86rem; min-height: 40px; padding: 0 4px; }
.o-loading { color: var(--soft); }
.o-empty { text-align: center; padding: 10px 0; }
.o-empty-links { display: flex; gap: 8px; justify-content: center; }
.o-notice { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #FBEDE7; color: var(--bad); font-size: .92rem; }

/* لحظة الإضافة */
.pair { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--paper), var(--tint)); }
.pair-in { padding: 16px; }
.pair-k { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--soft); margin: 0 0 4px; }
.pair h2 { font-size: 1.25rem; margin-bottom: 6px; }
.pair-text { font-size: .96rem; line-height: 1.75; color: var(--ink); margin-bottom: 12px; }
.pair-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(96, 72, 50, .08); margin-bottom: 12px; }
.pair-tabs button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: none; cursor: pointer; font-weight: 700; color: var(--muted); }
.pair-tabs button[aria-pressed="true"] { background: var(--paper); color: var(--greice); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.pair-card { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: start; }
.pair-card img { width: 88px; height: 132px; object-fit: contain; background: #fff; border-radius: 10px; mix-blend-mode: multiply; }
.pair-name { font-weight: 700; color: var(--greice); font-size: 1.1rem; margin: 0; }
.pair-name span { font: 600 .78rem/1 var(--font-en); letter-spacing: .18em; color: var(--muted); margin-inline-start: 6px; }
.pair-label { font-size: .84rem; color: var(--muted); margin: 2px 0 8px; }
.pair-list { list-style: none; display: grid; gap: 5px; font-size: .92rem; line-height: 1.6; margin-bottom: 8px; }
.pair-list li { display: flex; gap: 6px; }
.pair-list .ic { margin-top: .3em; width: 16px; height: 16px; color: var(--ok); }
.pair-quote { font-size: .86rem; color: var(--muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pair-price { font: 700 1.2rem/1 var(--font-en); color: var(--greice); margin: 0 0 12px; }
.pair-price small { font: 500 .8rem var(--font-ar); color: var(--muted); }
.pair-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pair-done { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-size: .95rem; }
.pair-done .ic { color: var(--ok); }
.pair-done button { border: 0; background: none; color: var(--greice); text-decoration: underline; cursor: pointer; font-weight: 700; min-height: 40px; }
.pair-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.is-step .o-fields, .is-step .o-pay, .is-step .o-sum-sec { display: none; }

/* الحقول */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; color: var(--head); margin-bottom: 6px; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--soft); font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 1.05rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23604832' d='M5.5 8.3L12 14.8l6.5-6.5 1.5 1.5-8 8-8-8z'/%3E%3C/svg%3E") no-repeat left 12px center / 18px; padding-left: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--greice); box-shadow: 0 0 0 3px rgba(96, 72, 50, .15); }
.field input[dir="ltr"] { text-align: left; font-family: var(--font-en); letter-spacing: .04em; }
.field input[dir="ltr"]::placeholder { text-align: left; }
.field .bad { border-color: var(--bad) !important; }
.f-hint { margin: 5px 0 0; font-size: .84rem; color: var(--soft); }
.f-err { margin: 5px 0 0; font-size: .88rem; color: var(--bad); font-weight: 500; }
.f-err:empty { display: none; }
/* فخ البوتات — بلا إزاحة يسار (بالعربي الإزاحة لليسار توسّع الصفحة) */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.o-deliv { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--tint); font-size: .93rem; line-height: 1.6; }
.o-deliv b { display: block; color: var(--head); }
.o-deliv .ic { width: 26px; height: 26px; color: var(--head); margin-top: 2px; }
.pay-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--greice); border-radius: 10px; cursor: default; }
.pay-row input { margin-top: 6px; accent-color: var(--greice); width: 18px; height: 18px; }
.pay-row b { display: block; color: var(--head); }
.pay-row span { font-size: .92rem; color: var(--soft); line-height: 1.6; }
.sum { margin: 0 0 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.sum dt { color: var(--soft); }
.sum dd { margin: 0; font-weight: 700; color: var(--head); font-family: var(--font-en); }
.sum .free { color: var(--ok); font-family: var(--font-ar); }
.sum .total { border: 0; padding-top: 12px; font-size: 1.2rem; }
.o-error { margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; background: #FBEDE7; color: var(--bad); line-height: 1.7; }
.o-error a { font-weight: 700; color: inherit; }
.o-after { margin: 10px 0 0; font-size: .88rem; text-align: center; color: var(--soft); }
.o-policy { display: flex; gap: 8px; margin: 10px 0 0; font-size: .86rem; color: var(--soft); line-height: 1.6; }
.o-policy a { color: var(--head); font-weight: 700; }
.spin { width: 18px; height: 18px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .o-card { padding: 22px; } }

/* ==================================================================== الشكر والسياسة والرئيسية */
.thanks { padding-bottom: 40px; display: grid; gap: 14px; }
.th-hero { text-align: center; padding: 18px 0 6px; }
.th-mark { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--greice); color: var(--parchment); clip-path: var(--facet); }
.th-mark .ic { width: 32px; height: 32px; }
.th-hero h1 { font-size: 2rem; }
.th-id { font-family: var(--font-en); letter-spacing: .06em; color: var(--greice); }
.th-sub { color: var(--soft); }
.th-steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.th-steps li { counter-increment: s; position: relative; padding-inline-start: 44px; line-height: 1.7; }
.th-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 2px; width: 30px; height: 30px; display: grid; place-items: center; font: 700 .9rem/1 var(--font-en); background: var(--tint); color: var(--greice); border-radius: 50%; }
.th-steps b { display: block; color: var(--head); }
.th-actions { display: grid; gap: 8px; justify-items: center; }
.th-empty { text-align: center; padding: 30px 0; }
.policy { padding-bottom: 50px; }
.policy h1 { font-size: 2rem; margin: 10px 0 14px; }
.pol-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pol-nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: .92rem; color: var(--head); }
.pol-sec { padding: 20px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.pol-sec h2 { font-size: 1.5rem; margin-bottom: 10px; }
.pol-sec h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.pol-sec ul, .pol-sec ol { padding-inline-start: 1.3em; display: grid; gap: 6px; }
.pol-src { font-size: .85rem; color: var(--soft); margin-top: 14px; }
.home { padding: 20px 0 60px; }
.home-grid { display: grid; gap: 14px; }
.home-card { display: grid; grid-template-columns: 34% 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); text-decoration: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.home-card.t-night { background: var(--night); color: #E9E3DA; --head: var(--parchment); --soft: #C4BDB3; }
.hc-fig { display: block; border-radius: 999px 999px 10px 10px; background: #fff; padding: 14px 6px 4px; }
.hc-fig img { mix-blend-mode: multiply; max-height: 200px; width: auto; margin-inline: auto; }
.home-card.t-night .hc-fig { background: linear-gradient(180deg, #EEE6DA, #D9B994); }
.hc-copy { display: grid; gap: 6px; font-size: .94rem; line-height: 1.7; }
.hc-copy .en { font-weight: 600; letter-spacing: .3em; color: var(--head); }
.hc-copy b { color: var(--head); font-size: 1.1rem; }
.hc-price { display: inline-flex; align-items: center; gap: 6px; font: 700 1.05rem var(--font-en); color: var(--head); }
.nf { padding: 40px 0 70px; }
@media (min-width: 900px) { .home-grid { grid-template-columns: 1fr 1fr; } }

@media print { .sticky, .topbar-help, .foot, .qv { display: none !important; } }
