/* مقام — الألوان كلها هنا: لو اللوجو الرسمي طلع «الأسود على الكريمي» نغيّر السطور دي بس. */
:root {
  --deep: #123B2E;
  --deep-2: #1C5240;
  --gold: #C8A24A;
  --gold-soft: #E9D9AE;
  --cream: #F7F2E7;
  --cream-2: #EFE6D2;
  --ink: #1D1A16;
  --muted: #6A6257;
  --line: #E2D6BC;
  --bad: #A3231B;
  --ok: #1F7A4D;
  --radius: 14px;
  --font: "Cairo", system-ui, sans-serif;
  --display: "Amiri", "Cairo", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.7; overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.25; margin: 0; }
a { color: var(--deep-2); }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* شريط العروض فوق */
.announce { background: var(--ink); color: var(--gold-soft); text-align: center; font-size: 13px; padding: 7px 12px; }

/* الهيدر */
.header { position: sticky; top: 0; z-index: 30; background: rgba(247, 242, 231, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--deep); }
.brand__logo { height: 46px; width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brand__name { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: .5px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--deep-2); }
.cart-btn { position: relative; border: 0; background: var(--deep); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.cart-btn__count { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.15); } }
@media (max-width: 720px) { .nav { display: none; } .cart-btn { margin-inline-start: auto; } }

/* الأزرار */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--deep); color: #fff; }
.btn--primary:hover { background: var(--deep-2); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d6b25c; }
.btn--ghost { background: transparent; color: var(--gold-soft); border: 1px solid rgba(233, 217, 174, .5); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* الهيرو */
.hero { background: radial-gradient(120% 90% at 20% 30%, var(--deep-2), var(--deep) 60%, #0B2A20); color: #fff; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; min-height: 460px; padding-top: 40px; padding-bottom: 40px; }
.hero__kicker { color: var(--gold); font-weight: 700; letter-spacing: 1px; margin: 0 0 8px; }
.hero__title { font-size: clamp(44px, 7vw, 76px); color: #fff; }
.hero__title span { color: var(--gold); }
.hero__lead { font-size: 18px; color: #E8E2D2; margin: 16px 0 24px; max-width: 30em; }
.hero__lead b { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__art { display: grid; place-items: center; }
.hero__art svg { width: min(340px, 80%); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.hero__art img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(200, 162, 74, .35); }
@media (max-width: 720px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 28px; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__art { order: -1; }
  .hero__art svg { width: 170px; }
}

/* الأقسام */
.section { padding: 56px 0; }
.section--tint { background: var(--cream-2); }
.section__title { font-size: clamp(28px, 4vw, 38px); color: var(--deep); text-align: center; }
.section__title--start { text-align: start; }
.section__sub { text-align: center; color: var(--muted); margin: 6px 0 0; }

/* العروض */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.ocard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.ocard--main { border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(200, 162, 74, .18); }
.ocard__badge { position: absolute; top: -12px; inset-inline-start: 16px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; padding: 2px 12px; border-radius: 999px; }
.ocard__title { font-family: var(--display); font-size: 24px; color: var(--deep); }
.ocard__price { font-size: 28px; font-weight: 800; }
.ocard__price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.ocard__was { color: var(--muted); font-size: 14px; }
.ocard__was s { color: var(--bad); }
.ocard__ship { color: var(--ok); font-weight: 700; font-size: 14px; }
.ocard .btn { margin-top: auto; }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } }

/* كروت الريحات */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 26px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 28px rgba(18, 59, 46, .12); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; background: linear-gradient(160deg, var(--cream), var(--cream-2)); overflow: hidden; }
.card__media svg { width: 52%; height: auto; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.card__img--alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .card:hover .card__img--alt { opacity: 1; } .card:hover .card__img { transform: scale(1.03); } }
.card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-family: var(--display); font-size: 24px; line-height: 1.7; color: var(--deep); }
.card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.card__chips li { font-size: 12px; background: var(--cream-2); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.card__notes { font-size: 14px; color: var(--muted); margin: 0; }
.card__price { font-weight: 800; font-size: 19px; }
.card__price small { font-weight: 600; color: var(--muted); font-size: 13px; }
.card__size { font-size: 13px; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .card__name { font-size: 19px; } .card__body { padding: 10px; } .card .btn { padding: 10px 12px; font-size: 14px; } }

/* عدّاد */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: transparent; width: 38px; height: 38px; font-size: 20px; cursor: pointer; color: var(--deep); }
.stepper span { min-width: 28px; text-align: center; font-weight: 800; }
.card .stepper { width: 100%; justify-content: space-between; }

/* التستر */
.tester { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
.tester__art { background: var(--deep); border-radius: 20px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.tester__art svg { width: 80%; height: auto; }
.tester__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.ticks { padding: 0; list-style: none; margin: 12px 0; }
.ticks li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.tester__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.price { font-size: 28px; font-weight: 800; }
.price small { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .tester { grid-template-columns: 1fr; } }

/* الثقة */
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust li { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.trust span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }

/* الأسئلة */
.faq { max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-top: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }

/* الفوتر */
.footer { background: var(--deep); color: var(--gold-soft); text-align: center; padding: 32px 0; }
.footer__brand { font-family: var(--display); font-size: 30px; margin: 0; }
.footer__logo img { width: 180px; height: auto; margin: 0 auto 8px; }
.footer a { color: var(--gold-soft); }
.footer__small { font-size: 13px; opacity: .8; }

/* السلة */
.drawer-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(420px, 100%); background: var(--cream); z-index: 50; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
[dir="rtl"] .drawer { inset-inline-start: auto; right: 0; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 26px; color: var(--deep); }
.drawer__close { border: 0; background: transparent; font-size: 20px; cursor: pointer; width: 40px; height: 40px; }
.drawer__body { overflow-y: auto; padding: 16px; flex: 1; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines .line__name { font-weight: 700; }
.lines .line__sub { color: var(--muted); font-size: 13px; }
.lines .line__total { font-weight: 800; text-align: end; }
.lines .stepper { grid-column: 1; justify-self: start; }
.lines .line__remove { border: 0; background: none; color: var(--bad); cursor: pointer; font-size: 13px; justify-self: end; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
.nudge { background: #FFF6DB; border: 1px dashed var(--gold); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 12px 0; }
.nudge button { border: 0; background: var(--deep); color: #fff; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; margin-inline-start: 6px; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 14px 0; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-weight: 700; text-align: end; }
.sum .sum__save { color: var(--ok); }
.sum .sum__total { font-size: 20px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; }

/* فورم الطلب */
.back { border: 0; background: none; color: var(--deep-2); font: inherit; font-weight: 700; cursor: pointer; padding: 0 0 8px; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; border: 0; padding: 0; }
.field > span, .field legend { font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
[data-err] { color: var(--bad); font-size: 13px; }
.hits { display: flex; flex-wrap: wrap; gap: 6px; }
.hits button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.hits button.is-out { color: var(--muted); text-decoration: line-through; }
.pay label { display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 6px; cursor: pointer; }
.pay small { display: block; color: var(--muted); }
.pay input { width: auto; margin-top: 6px; accent-color: var(--deep); }
.done { text-align: center; padding: 20px 0; }
.done h3 { font-size: 28px; color: var(--deep); }
.done pre { white-space: pre-wrap; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-family: var(--font); font-size: 14px; }

/* شريط السلة الثابت على الموبايل */
.sticky-cart { position: fixed; bottom: 0; inset-inline: 0; z-index: 35; background: var(--deep); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 721px) { .sticky-cart { display: none; } }

/* اختيار ريحات التستر */
.pickers { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.picker { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.picker__h { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.picker__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 4px 12px; font: inherit; font-family: var(--display); font-size: 16px; cursor: pointer; }
.chip.is-on { background: var(--deep); color: #fff; border-color: var(--deep); }
.chip[disabled] { opacity: .4; cursor: default; }
.err { color: var(--bad); font-size: 14px; margin: 8px 0 0; }
.err:empty { display: none; }
