/* Snow & Sand — shared styles. Arabic-first (RTL), English via the language toggle. */
:root {
  --ink: #16212b; --muted: #5f6b73; --line: #e6dfd2; --bg: #faf7f1; --card: #ffffff;
  --sand: #b8874f; --sand-d: #8f6435; --sand-soft: #f3e8d8; --night: #13273a; --snow: #eef4f8;
  --wa: #1f9d55; --radius: 16px;
  --ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --en: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 var(--ar); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; unicode-bidi: isolate; direction: ltr; display: inline-block; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(250 247 241 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font: 600 24px var(--en); letter-spacing: 3px; color: var(--night); }
.brand small { font-size: 11px; letter-spacing: 1px; color: var(--sand-d); }
nav.menu { display: flex; gap: 18px; align-items: center; }
nav.menu a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
nav.menu a:hover, nav.menu a[aria-current] { color: var(--ink); }
.lang { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 12px; font: 600 13px var(--ar); cursor: pointer; color: var(--ink); }
.burger { display: none; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--ink); }
@media (max-width: 760px) {
  .burger { display: block; }
  nav.menu { position: absolute; top: 64px; inset-inline: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 12px 16px; border-top: 1px solid var(--line); }
  nav.menu .lang { margin: 10px 16px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 700 16px var(--ar); text-decoration: none; border: 0; cursor: pointer; }
.btn.gold { background: var(--sand); color: #fff; }
.btn.gold:hover { background: var(--sand-d); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* hero */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero .wrap { position: relative; padding: 80px 16px 72px; }
.hero h1 { font-size: clamp(30px, 5.5vw, 52px); line-height: 1.2; margin: 0 0 12px; max-width: 16ch; }
.hero p { font-size: 18px; max-width: 46ch; opacity: .92; margin: 0 0 22px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .en-mark { font: 500 18px var(--en); letter-spacing: 4px; color: var(--sand-soft); margin-bottom: 8px; }

/* sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--card); border-block: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.6vw, 34px); margin: 0 0 8px; line-height: 1.3; }
.lead { color: var(--muted); margin: 0 0 26px; max-width: 60ch; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .pic { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sand-d); background: var(--sand-soft); border-radius: 999px; padding: 2px 10px; align-self: flex-start; }
.soon { opacity: .75; }

/* product cards */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font: 500 14px var(--ar); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.prod .model { font: 600 13px/1 "Inter", sans-serif; letter-spacing: .5px; color: var(--muted); direction: ltr; text-align: start; }
.prod ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.prod ul li::before { content: "• "; color: var(--sand); }
.price { font-size: 24px; font-weight: 700; margin-top: auto; padding-top: 8px; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.prod .actions { padding: 0 16px 16px; }
.prod .actions .btn { width: 100%; }

/* sanaa */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding: 4px 0; }
.ticks li::before { content: "✓ "; color: var(--sand-d); font-weight: 700; }
.pages { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.pages img { width: 210px; flex: none; border-radius: 10px; border: 1px solid var(--line); scroll-snap-align: start; background: #fff; }
.offer { background: var(--night); color: #fff; border-radius: 22px; padding: 28px; max-width: 560px; margin-inline: auto; text-align: center; }
.offer .big { font-size: 44px; font-weight: 700; }
.offer .ticks { text-align: start; display: inline-block; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }

/* text pages */
.doc { max-width: 760px; }
.doc h2 { margin-top: 28px; font-size: 22px; }
table.info { border-collapse: collapse; width: 100%; background: var(--card); }
table.info td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
table.info td:first-child { font-weight: 700; width: 38%; }

/* footer */
footer { background: var(--night); color: #d9e2ea; padding: 40px 0 90px; font-size: 14px; }
footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer a { color: #fff; text-decoration: none; display: block; padding: 2px 0; }
footer .brand b { color: #fff; }
footer .legal { margin-top: 24px; border-top: 1px solid rgb(255 255 255 / .15); padding-top: 14px; opacity: .8; }

/* floating WhatsApp */
.wa-float { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 6px 18px rgb(0 0 0 / .25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

[dir="ltr"] body, [lang="en"] body { font-family: "Inter", "Segoe UI", sans-serif; }

/* ===== v2 premium layer (20.11) ===== */
:root { --wa: #15803d; }
h1, h2 { font-weight: 700; letter-spacing: 0; }
h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--sand); margin-bottom: 12px; }
[style*="text-align:center"] h2::before, .center h2::before { margin-inline: auto; }
section.block { padding: 52px 0; }
.btn { min-height: 48px; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--sand-d); }
.btn.gold:hover { background: #7a5329; }
.btn.ghost.light { color: #fff; border-color: rgb(255 255 255 / .8); }
.lang, .chip { min-height: 44px; padding: 0 16px; }
.burger { width: 44px; height: 44px; display: none; place-items: center; }
.burger svg { width: 24px; height: 24px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; border-radius: 8px; }
.hero img.bg { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(19 39 58 / .55), rgb(19 39 58 / .92)); }
.hero .wrap { z-index: 1; padding: 64px 16px 56px; }
.hero h1 { text-wrap: balance; }
.hero .en-mark { color: var(--sand); font-size: 14px; letter-spacing: 6px; }
.card { box-shadow: 0 1px 2px rgb(19 39 58 / .06), 0 8px 24px -12px rgb(19 39 58 / .18); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(19 39 58 / .08), 0 16px 32px -14px rgb(19 39 58 / .25); }
.card .pic { background: linear-gradient(#fff, var(--sand-soft)); }
.prod h3.model { font: 700 18px/1.2 "Inter", sans-serif; direction: ltr; text-align: start; color: var(--night); letter-spacing: .3px; }
.prod .ptype { font-weight: 700; color: var(--sand-d); font-size: 14px; }
.soon { opacity: 1; }
.soon p { color: #8a9399; }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.offer { background: radial-gradient(120% 80% at 50% 0, #1d3a55, var(--night)); border: 1px solid rgb(184 135 79 / .45); box-shadow: 0 20px 50px -20px rgb(19 39 58 / .6); }
.offer .big { color: var(--sand-soft); font-size: 52px; line-height: 1.1; }
footer { border-top: 3px solid var(--sand); }
footer b { display: block; color: var(--sand); font-size: 13px; letter-spacing: .5px; margin-bottom: 8px; }
footer a { padding: 8px 0; }
.filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; }
.wa-bar { display: none; }
@media (max-width: 760px) {
  .burger { display: grid; }
  .top .wrap { height: 56px; }
  nav.menu { top: 56px; }
  main { padding-bottom: 72px; }
  .wa-bar { display: flex; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 31; min-height: 52px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
  body:has(.wa-bar) .wa-float { display: none; }
}
@media (max-width: 560px) {
  #products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod .body { padding: 10px; gap: 4px; }
  .prod h3.model { font-size: 14px; }
  .prod .ptype { font-size: 12.5px; }
  .prod ul li + li, .prod .tag { display: none; }
  .prod ul { font-size: 12px; }
  .price { font-size: 18px; }
  .price small { display: block; font-size: 11px; }
  .prod .actions { padding: 0 10px 10px; }
  .prod .actions .btn { font-size: 13px; padding: 8px; min-height: 44px; }
  .hero .wrap { padding: 44px 16px 40px; }
  .hero p { font-size: 16px; }
}
