/*
 * AZ Solutions client sites. One stylesheet for every site: colours, fonts and corner radii come from
 * CSS variables on <html style="...">, the look from data-design (aurora | elegant | bold | classic).
 * Logical properties throughout, so Arabic (dir=rtl) mirrors itself.
 */

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: var(--bg-l); --text: var(--text-l);
  color-scheme: light;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 78px;
  --sec: clamp(4.5rem, 9vw, 8rem);
  --h-weight: 700;
  --h-track: -.025em;
  --h-case: none;
}
:root[data-theme="dark"] { --bg: var(--bg-d); --text: var(--text-d); color-scheme: dark; }
:root {
  --muted: color-mix(in oklab, var(--text) 64%, var(--bg));
  --faint: color-mix(in oklab, var(--text) 42%, var(--bg));
  --line: color-mix(in oklab, var(--text) 10%, var(--bg));
  --line-2: color-mix(in oklab, var(--text) 18%, var(--bg));
  --surface: color-mix(in oklab, var(--text) 3.5%, var(--bg));
  --surface-2: color-mix(in oklab, var(--text) 7%, var(--bg));
  --card: var(--bg);
  --soft: color-mix(in oklab, var(--primary) 9%, var(--bg));
  --soft-2: color-mix(in oklab, var(--primary) 16%, var(--bg));
  --ink: var(--primary);
  --glow: color-mix(in oklab, var(--primary) 40%, transparent);
  --shadow-sm: 0 1px 2px color-mix(in oklab, var(--text) 8%, transparent);
  --shadow: 0 12px 34px -14px color-mix(in oklab, var(--text) 22%, transparent), 0 2px 6px -2px color-mix(in oklab, var(--text) 6%, transparent);
  --shadow-lg: 0 40px 80px -30px color-mix(in oklab, var(--text) 34%, transparent);
  --header-bg: color-mix(in oklab, var(--bg) 76%, transparent);
  --grad: linear-gradient(135deg, var(--primary), color-mix(in oklab, var(--primary) 55%, var(--accent)));
}
:root[data-theme="dark"] {
  --card: color-mix(in oklab, var(--text) 4.5%, var(--bg));
  --surface: color-mix(in oklab, var(--text) 4%, var(--bg));
  --surface-2: color-mix(in oklab, var(--text) 8%, var(--bg));
  --ink: color-mix(in oklab, var(--primary) 72%, #fff);
  --soft: color-mix(in oklab, var(--primary) 16%, var(--bg));
  --soft-2: color-mix(in oklab, var(--primary) 26%, var(--bg));
  --shadow: 0 14px 40px -16px rgba(0, 0, 0, .65);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); scrollbar-width: none; }
/* no grey/blue flash when tapping links and buttons on phones (buttons have their own press effect); no double-tap zoom delay */
/* self-hosted variable fonts: keep the optical-size axis at its default, like the Google Fonts files did */
html { -webkit-tap-highlight-color: transparent; font-optical-sizing: none; }
a, button, label, summary, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* the page still scrolls (wheel, touch, keyboard); only the bar is hidden */
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body { -ms-overflow-style: none; }
/* no sideways panning on phones; clip (unlike hidden) makes no scroll box, so the sticky header keeps working */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
html:not([data-anim="off"]) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
[lang="ar"] body { line-height: 1.85; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: var(--h-weight); line-height: 1.08; letter-spacing: var(--h-track); text-transform: var(--h-case); margin: 0; text-wrap: balance; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; text-transform: none; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in oklab, var(--primary) 30%, transparent); }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; inset-inline-start: 1rem; z-index: 999; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
[dir="rtl"] .flip { transform: scaleX(-1); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.pre { white-space: pre-line; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --b-bg: var(--primary); --b-fg: var(--on-primary);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.55rem;
  border-radius: var(--r-btn); border: 1.5px solid transparent; background: var(--b-bg); background-origin: border-box; color: var(--b-fg); font-weight: 650; font-size: 1rem;
  letter-spacing: .005em; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn .go { display: inline-flex; transition: transform .35s var(--ease); }
[dir="rtl"] .btn .go { transform: scaleX(-1); }
.flip, .go, .chev { display: inline-flex; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
/* hover effects only with a real mouse: phones keep the last tapped button "hovered", and the shine then swept back
   across it (a flash on the other button) when another one was tapped */
@media (hover: hover) {
  .btn:hover .go { transform: translateX(4px); }
  [dir="rtl"] .btn:hover .go { transform: scaleX(-1) translateX(4px); }
  .btn:hover::after { transform: translateX(120%); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--b-bg) 70%, transparent); }
}
@media (hover: none) { .btn::after { display: none; } }
.btn:active { transform: translateY(0) scale(.98); }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--on-accent); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-light { --b-bg: #fff; --b-fg: #0b0b10; }
.btn-glass { --b-bg: rgba(255,255,255,.12); --b-fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.btn-glass:hover { --b-bg: rgba(255,255,255,.2); box-shadow: none; }
.btn-wa { --b-bg: #25d366; --b-fg: #fff; }
.btn-lg { min-height: 58px; padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--ink); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
[dir="rtl"] .link-arrow .ic { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(4px); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--text); cursor: pointer; transition: transform .25s var(--ease), border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line-2); transform: translateY(-1px); }

/* ------------------------------------------------------------------ preview bar + announcement */
.preview-bar { position: relative; z-index: 120; background: #111; color: #fff; text-align: center; font: 600 .82rem/1.4 system-ui, sans-serif; padding: .5rem 1rem; }
.announce { position: relative; z-index: 61; background: var(--text); color: var(--bg); font-size: .88rem; font-weight: 550; text-align: center; padding: .55rem 2.75rem; }
[data-design="aurora"] .announce, [data-design="bold"] .announce { background: var(--grad); color: var(--on-primary); }
.announce button { position: absolute; inset-inline-end: .5rem; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; background: none; color: inherit; opacity: .75; cursor: pointer; display: grid; place-items: center; }
.announce button:hover { opacity: 1; }

/* ------------------------------------------------------------------ header */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-h); font-weight: 750; font-size: 1.22rem; letter-spacing: -.01em; min-width: 0; }
[lang="ar"] .brand { letter-spacing: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.brand .mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: var(--on-primary); font-size: 1.15rem; font-weight: 800; flex-shrink: 0; box-shadow: 0 8px 20px -8px var(--glow); }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nav a { position: relative; padding: .55rem .95rem; border-radius: 999px; font-weight: 550; font-size: .96rem; color: color-mix(in oklab, currentColor 82%, transparent); transition: color .2s, background-color .2s; }
.nav a:hover { color: currentColor; background: color-mix(in oklab, currentColor 7%, transparent); }
.nav a.on { color: currentColor; }
.nav a.on::after { content: ""; position: absolute; inset-inline: 1rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--primary); }
.hdr-act { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.nav + .hdr-act { margin-inline-start: 0; }
.hbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in oklab, currentColor 14%, transparent); background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, transform .25s var(--ease); }
.hbtn:hover { background: color-mix(in oklab, currentColor 8%, transparent); }
.hbtn .ic { width: 20px; height: 20px; }
.lang-btn { display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 .95rem; border-radius: 999px; border: 1px solid color-mix(in oklab, currentColor 14%, transparent); font-weight: 650; font-size: .9rem; }
.lang-btn:hover { background: color-mix(in oklab, currentColor 8%, transparent); }
.lang-btn .ic { width: 18px; height: 18px; }
.theme-btn .sun, .theme-btn .moon { display: grid; place-items: center; transition: transform .5s var(--ease), opacity .3s; position: absolute; }
:root[data-theme="dark"] .theme-btn .moon, :root:not([data-theme="dark"]) .theme-btn .sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.cart-btn .count { position: absolute; top: -3px; inset-inline-end: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); transition: transform .3s var(--ease); }
.cart-btn .count:empty, .cart-btn .count[data-n="0"] { transform: scale(0); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }
.burger { display: none; }
.hdr.scrolled { background: var(--header-bg); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px color-mix(in oklab, var(--text) 40%, transparent); }
[data-header="solid"] .hdr { background: var(--bg); border-bottom-color: var(--line); }
[data-header="minimal"] .hdr.scrolled { background: var(--bg); box-shadow: none; backdrop-filter: none; }
/* home pages with a full hero: the hero slides under the (transparent) header */
.hdr-over main > .hero:first-child { margin-top: calc(-1 * var(--header-h)); }
.hdr-over.hero-dark .hdr:not(.scrolled) { color: #fff; }
.hdr-over.hero-dark:has(.hero--bold) .hdr:not(.scrolled) { color: var(--on-primary); }
.hdr-over.hero-dark .hdr:not(.scrolled) .brand img { background: rgba(255,255,255,.92); padding: 4px; }

/* mobile drawer menu */
/* overflow: hidden keeps the closed panel (parked off-screen) from widening the page on phones */
.mnav { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
/* fit the visible screen (not the area behind the phone's toolbars) and scroll when the menu is taller */
.mnav { bottom: auto; height: 100vh; height: 100dvh; }
.mnav-panel { overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); scrollbar-width: none; }
.mnav-panel::-webkit-scrollbar { display: none; }
.mnav::before { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--text) 40%, transparent); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.mnav-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--bg); padding: 1.25rem 1.5rem 2rem; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .55s var(--ease-out); box-shadow: var(--shadow-lg); }
[dir="rtl"] .mnav-panel { transform: translateX(-105%); }
.mnav.open { pointer-events: auto; }
.mnav.open::before { opacity: 1; }
.mnav.open .mnav-panel { transform: none; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mnav nav { display: grid; gap: .25rem; }
.mnav nav a { display: flex; align-items: center; justify-content: space-between; padding: .9rem .25rem; font-family: var(--font-h); font-size: 1.75rem; font-weight: 650; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mnav nav a.on { color: var(--ink); }
.mnav nav a .ic { width: 22px; height: 22px; color: var(--faint); }
.mnav.open nav a { opacity: 1; transform: none; }
.mnav.open nav a:nth-child(2) { transition-delay: .05s; } .mnav.open nav a:nth-child(3) { transition-delay: .1s; }
.mnav.open nav a:nth-child(4) { transition-delay: .15s; } .mnav.open nav a:nth-child(5) { transition-delay: .2s; }
.mnav.open nav a:nth-child(6) { transition-delay: .25s; } .mnav.open nav a:nth-child(7) { transition-delay: .3s; }
.mnav-foot { margin-top: auto; display: grid; gap: 1rem; padding-top: 2rem; }
.mnav-foot .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.mnav-set { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.mnav-set .seg { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in oklab, var(--text) 6%, transparent); border: 1px solid var(--line); }
.mnav-set .seg a { padding: .5rem .85rem; border-radius: 999px; font-weight: 650; font-size: .92rem; color: var(--muted); transition: background-color .2s, color .2s; }
.mnav-set .seg a.on { background: var(--bg); color: var(--text); box-shadow: 0 2px 8px -3px color-mix(in oklab, var(--text) 35%, transparent); }
.tswitch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in oklab, var(--text) 6%, transparent); color: var(--muted); cursor: pointer; }
.tswitch span { display: grid; place-items: center; width: 38px; height: 34px; border-radius: 999px; transition: background-color .25s, color .25s; }
.tswitch .ic { width: 18px; height: 18px; }
:root:not([data-theme="dark"]) .tswitch .t-sun, :root[data-theme="dark"] .tswitch .t-moon { background: var(--bg); color: var(--text); box-shadow: 0 2px 8px -3px color-mix(in oklab, var(--text) 35%, transparent); }
.mnav-set + .row { padding-top: 1rem; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .hdr-in { gap: .75rem; }
  /* the name takes all the room it can and wraps to a second line rather than being cut */
  .brand { flex: 1 1 auto; }
  .brand span:last-child { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.12; overflow-wrap: break-word; }
  /* language and light/dark move into the menu; cart + menu share one compact pill */
  .hdr-act > .lang-btn, .hdr-act > .theme-btn { display: none; }
  .hdr-act { flex-shrink: 0; margin-inline-start: auto; gap: 0; padding: 3px; border-radius: 999px; border: 1px solid color-mix(in oklab, currentColor 16%, transparent); background: color-mix(in oklab, currentColor 5%, transparent); }
  .hdr-act .hbtn { width: 40px; height: 40px; border: 0; }
  .hdr-act .cart-btn + .burger::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; bottom: 11px; width: 1px; background: color-mix(in oklab, currentColor 18%, transparent); }
}
@media (max-width: 420px) { .brand img, .brand .mono { width: 38px; height: 38px; } .brand { gap: .55rem; font-size: 1.05rem; } .hdr-act .hbtn { width: 38px; height: 38px; } }

/* ------------------------------------------------------------------ section scaffolding */
.sec { padding-block: var(--sec); position: relative; }
.sec.alt { background: var(--surface); }
.sec.tight { padding-block: calc(var(--sec) * .6); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.sec-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.sec-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.sec-head p { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
@media (max-width: 720px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].in { opacity: 1; transform: none; }
html[data-anim="off"] [data-reveal], html.no-js [data-reveal], html.no-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
html.no-reveal .hero-showcase .frame { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto !important; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* ------------------------------------------------------------------ hero: shared */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.2rem); }
.hero .lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: var(--muted); max-width: 640px; }
.hero .actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero .eyebrow-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .6rem; border-radius: 999px; background: color-mix(in oklab, var(--card) 70%, transparent); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; backdrop-filter: blur(10px); }
.hero .eyebrow-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 22%, transparent); animation: pulse-dot 2.4s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--primary) 0%, transparent); } }
.title-grad { background: linear-gradient(120deg, var(--text) 10%, color-mix(in oklab, var(--primary) 85%, var(--text)) 55%, color-mix(in oklab, var(--accent) 80%, var(--primary)) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .title-grad { background-image: linear-gradient(120deg, #fff 10%, color-mix(in oklab, var(--primary) 60%, #fff) 55%, color-mix(in oklab, var(--accent) 75%, #fff) 95%); }

/* animated glow blobs */
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; filter: blur(90px) saturate(1.15); opacity: .38; }
:root[data-theme="dark"] .aurora { opacity: .34; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: normal; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; background: var(--primary); top: 0; inset-inline-start: 6%; animation: float-a 18s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; max-width: 600px; max-height: 600px; background: var(--accent); top: 12%; inset-inline-end: 4%; animation: float-b 22s ease-in-out infinite; opacity: .8; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; background: color-mix(in oklab, var(--primary) 50%, #ec4899); top: 40%; inset-inline-start: 38%; animation: float-c 26s ease-in-out infinite; opacity: .55; }
@keyframes float-a { 50% { transform: translate(8%, 10%) scale(1.1); } }
@keyframes float-b { 50% { transform: translate(-10%, 8%) scale(.92); } }
@keyframes float-c { 50% { transform: translate(6%, -12%) scale(1.15); } }
html[data-anim="off"] .aurora i { animation: none; }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); opacity: .7; }

/* ------------------------------------------------------------------ hero: centered */
.hero--centered { padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)); padding-bottom: clamp(3rem, 7vw, 6rem); text-align: center; }
.hero--centered .hero-copy { display: grid; justify-items: center; gap: 1.6rem; max-width: 980px; margin-inline: auto; }
.hero--centered .lead { margin-inline: auto; }
.hero--centered .actions { justify-content: center; }
.hero-showcase { position: relative; margin: clamp(3rem, 7vw, 5rem) auto 0; max-width: 1080px; perspective: 1600px; }
.hero-showcase .frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in oklab, var(--text) 4%, transparent); transform: rotateX(12deg) scale(.97); transform-origin: center top; transition: transform 1.4s var(--ease); }
.hero-showcase.in .frame, html[data-anim="off"] .hero-showcase .frame { transform: none; }
.hero-showcase img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.hero-showcase::before { content: ""; position: absolute; inset: 15% 10% -5%; background: var(--grad); filter: blur(70px); opacity: .35; z-index: -1; border-radius: 50%; }
.hero-chips { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.hero-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 999px; background: color-mix(in oklab, var(--card) 80%, transparent); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.hero-chip b { font-family: var(--font-h); font-size: 1.1rem; color: var(--ink); }
/* phones: the hero numbers as one compact strip (two per row), not a tall stack of pills */
@media (max-width: 600px) {
  .hero-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; width: 100%; }
  .hero-chips > .hero-chip:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }
  .hero-chip { display: grid; justify-items: center; gap: .1rem; padding: .55rem .6rem; border-radius: 14px; font-size: .78rem; line-height: 1.25; text-align: center; }
  .hero-chip b { font-size: 1.15rem; }
}

/* ------------------------------------------------------------------ hero: cover (full-screen photo) */
.hero--cover { min-height: min(100svh, 980px); display: flex; align-items: center; color: #fff; background: #0c0c10; }
.hero--cover .bgimg { position: absolute; inset: 0; z-index: -2; }
.hero--cover .bgimg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
html[data-anim="off"] .hero--cover .bgimg img { animation: none; }
.hero--cover .bgimg.none { background: radial-gradient(ellipse at 20% 20%, color-mix(in oklab, var(--primary) 70%, #000), #08080b 70%), #08080b; }
.hero--cover .bgimg.none::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 70%, color-mix(in oklab, var(--accent) 45%, transparent), transparent 45%); }
.hero--cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,10,.55) 0%, rgba(5,5,10,.2) 35%, rgba(5,5,10,.35) 65%, rgba(5,5,10,.85) 100%); }
.hero--cover .hero-copy { display: grid; justify-items: center; text-align: center; gap: 1.6rem; padding-block: calc(var(--header-h) + 3rem) 6rem; max-width: 980px; margin-inline: auto; }
.hero--cover h1 { text-shadow: 0 4px 40px rgba(0,0,0,.3); }
.hero--cover .lead { color: rgba(255,255,255,.86); margin-inline: auto; }
.hero--cover .actions { justify-content: center; }
.hero--cover .eyebrow, [data-design] .hero--cover .eyebrow { color: rgba(255,255,255,.88); }
.hero--cover .rule { width: 72px; height: 1.5px; background: var(--accent); border: 0; margin: 0; }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; width: 28px; height: 46px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.55); }
.scroll-cue::after { content: ""; position: absolute; top: 9px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------------ hero: split */
.hero--split { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); background: linear-gradient(180deg, var(--soft) 0%, var(--bg) 85%); }
.hero--split .hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero--split .hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero--split h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); }
.hero-media { position: relative; }
.hero-media .main { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); background: var(--grad); }
.hero-media .main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-media:hover .main img { transform: scale(1.04); }
.hero-media .main.none { display: grid; place-items: center; color: var(--on-primary); font-family: var(--font-h); font-size: clamp(5rem, 14vw, 10rem); font-weight: 800; }
.hero-media .main.none img { width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
.hero-media .blob { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); filter: blur(60px); opacity: .35; inset-inline-end: -15%; top: -10%; }
.hero-media .ring { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed color-mix(in oklab, var(--primary) 45%, transparent); inset-inline-start: -12%; bottom: -10%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-radius: 18px; background: color-mix(in oklab, var(--card) 88%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(14px); animation: bob 6s ease-in-out infinite; }
.float-card .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--soft-2); color: var(--ink); }
.float-card b { display: block; font-family: var(--font-h); font-size: 1.25rem; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: .82rem; }
.float-card.a { inset-inline-start: -8%; bottom: 12%; }
.float-card.b { inset-inline-end: -6%; top: 10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
html[data-anim="off"] .float-card, html[data-anim="off"] .hero-media .ring { animation: none; }
@media (max-width: 900px) {
  .hero--split .hero-in { grid-template-columns: 1fr; }
  .hero--split .hero-copy { justify-items: center; text-align: center; }
  .hero--split .actions { justify-content: center; }
  .hero--split .lead { margin-inline: auto; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .float-card.a { inset-inline-start: 2%; } .float-card.b { inset-inline-end: 2%; }
}

/* ------------------------------------------------------------------ hero: bold */
.hero--bold { background: var(--primary); color: var(--on-primary); padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero--bold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 15%, color-mix(in oklab, var(--accent) 55%, transparent), transparent 40%), radial-gradient(circle at 0% 100%, rgba(0,0,0,.25), transparent 50%); }
.hero--bold .noise { position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: radial-gradient(currentColor 1px, transparent 1px); background-size: 22px 22px; }
.hero--bold .hero-in { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero--bold .hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero--bold h1 { font-size: clamp(2.8rem, 6.6vw, 6.2rem); line-height: .95; font-weight: 800; }
[lang="ar"] .hero--bold h1 { line-height: 1.2; }
.hero--bold .lead { color: color-mix(in oklab, var(--on-primary) 82%, transparent); }
.hero--bold .eyebrow { color: var(--on-primary); }
.sticker { position: relative; transform: rotate(3deg); transition: transform .8s var(--ease); }
.sticker:hover { transform: rotate(0deg) scale(1.02); }
.sticker .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 3px solid var(--on-primary); box-shadow: 14px 14px 0 0 var(--accent); background: color-mix(in oklab, var(--on-primary) 12%, transparent); }
[dir="rtl"] .sticker .ph { box-shadow: -14px 14px 0 0 var(--accent); }
.sticker img { width: 100%; height: 100%; object-fit: cover; }
.sticker .ph.none { display: grid; place-items: center; font-family: var(--font-h); font-size: 9rem; font-weight: 800; }
.sticker .badge-round { position: absolute; top: -26px; inset-inline-start: -26px; width: 112px; height: 112px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .82rem; line-height: 1.15; padding: 1rem; transform: rotate(-12deg); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); animation: wobble 8s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(6deg) scale(1.05); } }
@media (max-width: 900px) { .hero--bold .hero-in { grid-template-columns: 1fr; } .sticker { max-width: 420px; margin-inline: auto; width: 100%; } }

/* scrolling words */
.marquee { overflow: hidden; background: var(--accent); color: var(--on-accent); padding-block: 1.05rem; border-block: 2px solid var(--text); position: relative; z-index: 2; }
.marquee.soft { background: var(--surface); color: var(--text); border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 2.75rem; width: max-content; animation: marquee 32s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 2.75rem; font-family: var(--font-h); font-weight: 750; font-size: clamp(1.1rem, 2.2vw, 1.6rem); text-transform: var(--h-case); white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: .8em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
html[data-anim="off"] .marquee-track { animation: none; }

/* ------------------------------------------------------------------ inner page head */
.phead { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.75rem, 6vw, 4.5rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.phead .aurora { opacity: .28; height: 160%; top: -60%; }
.phead-in { display: grid; gap: 1rem; justify-items: center; text-align: center; max-width: 820px; margin-inline: auto; }
.phead h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.phead p { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 620px; }
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.phead.has-banner { color: #fff; background: #0b0b10; border: 0; padding-top: clamp(5rem, 11vw, 8rem); padding-bottom: clamp(4rem, 9vw, 6.5rem); }
.phead.has-banner .bgimg { position: absolute; inset: 0; z-index: -2; }
.phead.has-banner .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.phead.has-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.65)); }
.phead.has-banner p, .phead.has-banner .crumbs { color: rgba(255,255,255,.82); }

/* ------------------------------------------------------------------ cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
[data-card="elevated"] .card { border-color: transparent; box-shadow: var(--shadow); }
:root[data-theme="dark"][data-card="elevated"] .card { border-color: var(--line); }
[data-card="flat"] .card { background: var(--surface); border-color: transparent; }
.card.hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }

/* feature / highlight */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.25rem; }
.feat { padding: 2rem 1.75rem; display: grid; gap: .85rem; align-content: start; position: relative; overflow: hidden; }
.feat .bubble { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); margin-bottom: .4rem; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.feat .bubble .ic { width: 28px; height: 28px; }
.feat:hover .bubble { transform: rotate(-8deg) scale(1.08); background: var(--primary); color: var(--on-primary); }
.feat h3 { font-size: 1.3rem; line-height: 1.25; }
.feat p { color: var(--muted); font-size: .98rem; }
.feat::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--primary); opacity: 0; filter: blur(50px); transition: opacity .6s var(--ease); pointer-events: none; }
.feat:hover::after { opacity: .12; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1rem; }
.stat { text-align: center; padding: 2rem 1rem; }
.stat b { display: block; font-family: var(--font-h); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .6rem; color: var(--muted); font-weight: 550; }
.stats-band { color: var(--bg); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 0% 0%, color-mix(in oklab, var(--primary) 55%, transparent), transparent 70%), radial-gradient(ellipse 50% 100% at 100% 100%, color-mix(in oklab, var(--accent) 28%, transparent), transparent 70%), var(--text); }
.stats-band::before { content: none; }
.stats-band .stat b { background: linear-gradient(135deg, var(--bg), color-mix(in oklab, var(--bg) 60%, var(--accent))); -webkit-background-clip: text; background-clip: text; }
.stats-band .stat span { color: color-mix(in oklab, var(--bg) 72%, var(--text)); }
/* phones: numbers two per row, compact (one per row made the band several screens tall) */
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; }
  .stats > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat { padding: 1rem .25rem; }
  .stat b { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .stat span { margin-top: .35rem; font-size: .85rem; line-height: 1.3; }
  .stats-band { padding: 1.25rem 1rem; }
}

/* ------------------------------------------------------------------ product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard .media { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.pcard .pic { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.pcard .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.pcard .pic img.alt { opacity: 0; }
@media (hover: hover) { .pcard:hover .pic img.alt { opacity: 1; } .pcard:hover .pic img { transform: scale(1.06); } }
.pcard .pic .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-h); font-size: 4rem; font-weight: 800; color: color-mix(in oklab, var(--primary) 45%, var(--bg)); background: linear-gradient(145deg, var(--soft), var(--surface-2)); }
.badges { position: absolute; top: .85rem; inset-inline-start: .85rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; padding: .28rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }
[lang="ar"] .badge { letter-spacing: 0; font-size: .8rem; }
.badge.sale { background: #e11d48; color: #fff; }
.badge.hot { background: var(--accent); color: var(--on-accent); }
.badge.out { background: var(--text); color: var(--bg); }
/* add to cart: a compact white button in the photo's corner; with a mouse it appears on hover and opens into "+ Add to cart" */
.pcard .quick { position: absolute; inset-inline-end: .75rem; bottom: .75rem; z-index: 2; }
.pcard .quick .btn.btn-light { height: 44px; min-height: 0; padding: 0 12px; gap: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.96); color: #111; font-size: .88rem; font-weight: 700;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.5); transition: background-color .25s, color .25s, box-shadow .3s, transform .3s var(--ease); }
.pcard .quick .btn.btn-light .ic { width: 20px; height: 20px; flex-shrink: 0; transition: transform .35s var(--ease); }
.pcard .quick .btn.btn-light span { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .45s var(--ease), opacity .25s, margin .45s var(--ease); }
.pcard .quick .btn.btn-light:active { transform: scale(.94); box-shadow: 0 4px 12px -6px rgba(0,0,0,.5); }
.pcard .quick .btn.btn-light:active .ic { transform: rotate(90deg) scale(.9); }
.pcard .quick .btn.btn-light.added { background: var(--primary); color: var(--on-primary); }
@media (hover: hover) {
  .pcard .quick { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .45s var(--ease); }
  .pcard:hover .quick, .pcard:focus-within .quick { opacity: 1; transform: none; }
  .pcard .quick .btn.btn-light:hover, .pcard .quick .btn.btn-light:focus-visible { background: var(--primary); color: var(--on-primary); transform: none; box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--primary) 70%, transparent); }
  .pcard .quick .btn.btn-light:hover span, .pcard .quick .btn.btn-light:focus-visible span { max-width: 140px; opacity: 1; margin-inline-start: .45rem; }
}
.pcard .info { padding: 1rem .25rem 0; display: grid; gap: .3rem; }
.pcard .cat { font-size: .78rem; font-weight: 650; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
[lang="ar"] .pcard .cat { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.pcard h3 { font-family: var(--font-b); font-size: 1.05rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; text-transform: none; }
.pcard h3 a:hover { color: var(--ink); }
.price-row { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price { font-weight: 750; color: var(--text); font-size: 1.05rem; white-space: nowrap; }
.price.now { color: #e11d48; }
.was { color: var(--faint); text-decoration: line-through; font-size: .92rem; white-space: nowrap; }
.pcard.out .pic img { filter: grayscale(.6); opacity: .7; }
/* phones: two products per row, with slightly smaller text */
@media (max-width: 600px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .75rem; }
  .pcard .info { padding-top: .7rem; gap: .2rem; }
  .pcard .cat { font-size: .68rem; }
  .pcard h3 { font-size: .95rem; line-height: 1.3; }
  [data-design="elegant"] .pcard h3 { font-size: 1.08rem; }
  .pcard .price { font-size: .98rem; }
  .pcard .was { font-size: .85rem; }
  .pcard .badges { top: .55rem; inset-inline-start: .55rem; }
  .pcard .badge { padding: .2rem .55rem; font-size: .62rem; }
  [lang="ar"] .pcard .badge { font-size: .7rem; }
}
@media (max-width: 600px) { .pcard .quick { inset-inline-end: .55rem; bottom: .55rem; } .pcard .quick .btn.btn-light { height: 40px; padding: 0 10px; } }

/* carousel row */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 1.5rem) / 4)); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; overscroll-behavior-x: contain; }
.rail-track::-webkit-scrollbar { display: none; }
/* a sideways strip must never scroll up and down: a vertical swipe on it scrolls the page */
.rail-track, .chips, .days { overflow-y: hidden; }
/* cards in a strip don't slide in one by one (those off to the side would wait, pushed down, and jump as they arrive) */
.rail-track > [data-reveal] { opacity: 1; transform: none; transition: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: .5rem; }
.rail-nav button { width: 48px; height: 48px; }
.rail-nav button:disabled { opacity: .35; cursor: default; transform: none; }
@media (max-width: 1000px) { .rail-track { grid-auto-columns: minmax(230px, 42%); } }
@media (max-width: 600px) { .rail-track { grid-auto-columns: 74%; gap: 1rem; } }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.25rem; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; background: var(--grad); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72)); }
@media (hover: hover) { .tile:hover img { transform: scale(1.08); } }
.tile .t-in { padding: 1.5rem; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.tile h3 { font-size: 1.55rem; }
.tile small { opacity: .8; font-weight: 550; }
.tile .go { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; transform: translateX(-10px); opacity: 0; transition: all .5s var(--ease); flex-shrink: 0; }
[dir="rtl"] .tile .go { transform: translateX(10px) scaleX(-1); }
@media (hover: hover) {
  .tile:hover .go { transform: none; opacity: 1; }
  [dir="rtl"] .tile:hover .go { transform: scaleX(-1); }
}
@media (hover: none) { .tile .go { opacity: 1; transform: none; } [dir="rtl"] .tile .go { transform: scaleX(-1); } }
.tiles > .tile:first-child:nth-last-child(n+4) { grid-row: span 2; min-height: 620px; }
@media (max-width: 700px) { .tiles > .tile:first-child:nth-last-child(n+4) { grid-row: auto; min-height: 300px; } }

/* ------------------------------------------------------------------ about teaser + story */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 5.6; background: var(--grad); box-shadow: var(--shadow-lg); }
.split-media .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.split-media:hover .ph img { transform: scale(1.04); }
.split-media .stamp { position: absolute; bottom: -1.5rem; inset-inline-end: -1rem; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.35rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .9rem; }
.split-media .stamp b { font-family: var(--font-h); font-size: 2.1rem; line-height: 1; color: var(--ink); }
.split-media .stamp span { font-size: .88rem; color: var(--muted); max-width: 9rem; line-height: 1.35; }
.split-media .deco { position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1.5px solid color-mix(in oklab, var(--primary) 40%, transparent); border-radius: var(--r-lg); z-index: -1; }
[dir="rtl"] .split-media .deco { inset: 1.25rem 1.25rem -1.25rem -1.25rem; }
.split-copy { display: grid; gap: 1.4rem; justify-items: start; }
.split-copy h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.split-copy .body { color: var(--muted); font-size: 1.1rem; display: grid; gap: 1rem; }
.split-copy .body p { white-space: pre-line; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .split-media { max-width: 560px; } }

.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.25rem; }
.mv .card { padding: clamp(1.75rem, 3.5vw, 2.5rem); display: grid; gap: .9rem; position: relative; overflow: hidden; }
.mv .card .ic { width: 34px; height: 34px; color: var(--ink); }
.mv .card h3 { font-size: 1.6rem; }
.mv .card p { color: var(--muted); white-space: pre-line; }
.mv .card .num { position: absolute; top: .5rem; inset-inline-end: 1.25rem; font-family: var(--font-h); font-size: 5rem; font-weight: 800; color: var(--surface-2); line-height: 1; z-index: 0; pointer-events: none; }
.mv .card > * { position: relative; }

/* services list */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; }
.svc { padding: 2rem; display: grid; gap: 1rem; align-content: start; position: relative; overflow: hidden; }
.svc .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.svc .bubble { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); }
.svc .bubble .ic { width: 26px; height: 26px; }
.svc .idx { font-family: var(--font-h); font-weight: 750; color: var(--faint); font-size: .95rem; }
.svc h3 { font-size: 1.35rem; line-height: 1.25; }
.svc p { color: var(--muted); white-space: pre-line; }
.svc .svc-price { font-weight: 750; color: var(--ink); }
.svc .svc-img { margin: -2rem -2rem 0; aspect-ratio: 16 / 9; overflow: hidden; }
.svc .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) { .svc:hover .svc-img img { transform: scale(1.05); } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; }
.quote { margin: 0; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.quote .stars { display: flex; gap: .15rem; color: #f5b301; }
.quote .stars .ic { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { margin: 0; font-size: 1.1rem; line-height: 1.65; flex: 1; }
.quote .qmark { position: absolute; top: 1.2rem; inset-inline-end: 1.5rem; width: 42px; height: 42px; color: var(--soft-2); }
.quote footer { display: flex; align-items: center; gap: .85rem; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-primary); font-weight: 800; flex-shrink: 0; }
.quote footer b { display: block; font-weight: 700; }
.quote footer small { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: .85rem; max-width: 880px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: color-mix(in oklab, var(--primary) 40%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; font-weight: 650; font-size: 1.08rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); flex-shrink: 0; transition: transform .4s var(--ease), background-color .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { transform: rotate(180deg); background: var(--primary); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--on-primary); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 1.5rem 1.4rem; color: var(--muted); white-space: pre-line; }

/* call-to-action band */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--r-lg) + 6px); padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); background: var(--primary); color: var(--on-primary); text-align: center; display: grid; justify-items: center; gap: 1.4rem; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 15% 20%, color-mix(in oklab, var(--accent) 60%, transparent), transparent 45%), radial-gradient(circle at 90% 90%, rgba(0,0,0,.28), transparent 55%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .1; background-image: radial-gradient(currentColor 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 820px; }
.cta p { font-size: 1.15rem; max-width: 600px; color: color-mix(in oklab, var(--on-primary) 84%, transparent); }
.cta .actions { display: flex; gap: .85rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
.cta .btn-ghost { --b-fg: var(--on-primary); border-color: color-mix(in oklab, var(--on-primary) 40%, transparent); }

/* contact cards */
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.ccard { padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; }
.ccard .bubble { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); flex-shrink: 0; transition: transform .4s var(--ease); }
.ccard .bubble .ic { width: 24px; height: 24px; }
.ccard.wa .bubble { background: color-mix(in oklab, #25d366 18%, var(--bg)); color: #1da851; }
a.ccard:hover .bubble { transform: scale(1.1) rotate(-6deg); }
.ccard small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .2rem; }
[lang="ar"] .ccard small { letter-spacing: 0; font-size: .88rem; }
.ccard b { font-weight: 650; overflow-wrap: anywhere; white-space: pre-line; display: block; }

/* gallery */
.masonry { columns: 3 280px; column-gap: 1.1rem; }
.masonry figure { margin: 0 0 1.1rem; break-inside: avoid; position: relative; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem .9rem; color: #fff; font-size: .92rem; font-weight: 550; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.strip figure { margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.strip figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; background: rgba(6,6,10,.92); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-width: min(1200px, 92vw); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .45s var(--ease); }
.lb.open img { transform: none; }
.lb p { color: #fff; text-align: center; margin-top: 1rem; opacity: .85; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.18); }
.lb .x { top: 1.25rem; inset-inline-end: 1.25rem; }
.lb .pv { inset-inline-start: 1.25rem; top: 50%; translate: 0 -50%; }
.lb .nx { inset-inline-end: 1.25rem; top: 50%; translate: 0 -50%; }

/* ------------------------------------------------------------------ shop page */
.toolbar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-block: .9rem; margin-bottom: 2rem; }
.toolbar-in { display: flex; gap: .85rem; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search .ic { position: absolute; inset-inline-start: 1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 48px; padding-inline: 2.8rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 16%, transparent); }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .15rem; flex: 1 1 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 42px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: .4rem; }
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip small { opacity: .6; font-weight: 700; }
.sort { position: relative; }
.sort select { appearance: none; height: 48px; padding-inline: 1.1rem 2.6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.sort .ic { position: absolute; inset-inline-end: 1rem; top: 50%; translate: 0 -50%; width: 16px; height: 16px; pointer-events: none; color: var(--faint); }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 1.25rem; }
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); display: grid; justify-items: center; gap: 1rem; }
.empty .ic { width: 48px; height: 48px; color: var(--faint); }

/* ------------------------------------------------------------------ product page */
.pd { padding-block: clamp(1.5rem, 4vw, 3rem) var(--sec); }
.pd .crumbs { justify-content: flex-start; margin-bottom: 1.75rem; }
.pd-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: .85rem; }
.pd-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.pd-main:hover img { transform: scale(1.03); }
.pd-main .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-h); font-size: 8rem; font-weight: 800; color: color-mix(in oklab, var(--primary) 40%, var(--bg)); background: linear-gradient(145deg, var(--soft), var(--surface-2)); }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .65rem; }
.pd-thumbs button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--surface-2); opacity: .65; transition: all .25s var(--ease); }
.pd-thumbs button.on, .pd-thumbs button:hover { border-color: var(--primary); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: grid; gap: 1.4rem; align-content: start; }
.pd-info .cat { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
[lang="ar"] .pd-info .cat { letter-spacing: 0; font-size: .92rem; }
.pd-info h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.pd-price { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.pd-price .price { font-size: 1.85rem; font-family: var(--font-h); }
.pd-price .was { font-size: 1.15rem; }
.pd-price .save { padding: .3rem .75rem; border-radius: 999px; background: color-mix(in oklab, #e11d48 12%, var(--bg)); color: #e11d48; font-weight: 750; font-size: .85rem; }
.pd-desc { color: var(--muted); font-size: 1.07rem; white-space: pre-line; }
.pd-buy { display: grid; grid-template-columns: auto 1fr; gap: .85rem; }
.pd-buy .btn-wa, .pd-buy .wide { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-btn); height: 52px; background: var(--card); }
.qty button { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.25rem; color: var(--text); display: grid; place-items: center; }
.qty button:hover { color: var(--ink); }
.qty input, .qty span { width: 44px; text-align: center; border: 0; background: none; font: inherit; font-weight: 750; color: var(--text); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; } .qty.sm button { width: 34px; font-size: 1.05rem; } .qty.sm span { width: 28px; font-size: .92rem; }
.stock { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; color: #16a34a; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in oklab, currentColor 20%, transparent); }
.stock.out { color: #e11d48; }
/* product options: size pills, colour swatches */
.pd-opts { display: grid; gap: 1.1rem; }
.opt { display: grid; gap: .55rem; }
.opt-h { display: flex; gap: .45rem; align-items: baseline; font-weight: 650; font-size: .95rem; }
.opt-h b { font-weight: 550; color: var(--muted); }
.opt-h b:not(:empty)::before { content: "· "; }
.opt-vals { display: flex; flex-wrap: wrap; gap: .5rem; }
.ov { position: relative; min-width: 48px; min-height: 44px; padding: .5rem .95rem; border-radius: calc(var(--r) * .8); border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s, color .15s; }
@media (hover: hover) { .ov:hover { border-color: color-mix(in oklab, var(--text) 45%, var(--line)); } }
.ov.on { border-color: var(--text); background: var(--text); color: var(--bg); }
.ov.na { color: var(--faint); text-decoration: line-through; }
.ov.na.on { color: var(--bg); opacity: .6; }
.ov:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* colours: a round swatch, the name in the row title */
.ov.sw { width: 44px; min-width: 0; padding: 0; border-radius: 50%; background: var(--sw); border-color: color-mix(in oklab, var(--text) 18%, transparent); box-shadow: inset 0 0 0 3px var(--card); }
.ov.sw span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ov.sw.on { border-color: var(--text); box-shadow: inset 0 0 0 3px var(--card), 0 0 0 1px var(--text); background: var(--sw); }
.ov.sw.na::after { content: ""; position: absolute; inset: 50% 4px auto; height: 2px; background: var(--card); transform: rotate(-45deg); box-shadow: 0 0 0 1px color-mix(in oklab, var(--text) 25%, transparent); }
.opt.need .opt-h { color: #e11d48; }
.opt.need .ov:not(.on) { border-color: color-mix(in oklab, #e11d48 55%, var(--line)); }
.opt-msg { margin: -.3rem 0 0; color: #e11d48; font-weight: 600; font-size: .9rem; }
.pd-buy .btn:disabled { opacity: .5; cursor: not-allowed; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; gap: .75rem; padding: 1.1rem 0; font-weight: 650; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 20px; height: 20px; color: var(--ink); }
.acc summary .chev { margin-inline-start: auto; transition: transform .35s var(--ease); color: var(--faint); }
.acc details[open] .chev { transform: rotate(180deg); }
.acc .acc-body { padding: 0 0 1.25rem; color: var(--muted); white-space: pre-line; }
.share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.share .icon-btn { width: 40px; height: 40px; }
.share .icon-btn .ic { width: 18px; height: 18px; }
.meta-line { color: var(--faint); font-size: .88rem; }
.pd-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: none; align-items: center; gap: .85rem; padding: .75rem var(--gutter); background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.pd-sticky.show { transform: none; }
.pd-sticky .t { flex: 1; min-width: 0; }
.pd-sticky .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
@media (max-width: 900px) { .pd-in { grid-template-columns: 1fr; } .pd-gallery { position: static; } .pd-sticky { display: flex; } }

/* ------------------------------------------------------------------ menu page */
.menu-nav { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-block: .75rem; margin-bottom: 2.5rem; }
.menu-cat { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 80px); }
.menu-cat > h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.5rem; display: flex; align-items: baseline; gap: 1rem; }
.menu-cat > h2 small { font-family: var(--font-b); font-size: .95rem; font-weight: 600; color: var(--faint); letter-spacing: 0; }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: .25rem 3rem; }
.dish { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px dashed var(--line-2); }
.dish .thumb { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.dish .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .thumb img { transform: scale(1.08); }
.dish:not(.has-pic) { grid-template-columns: 1fr auto; }
.dish h3 { font-family: var(--font-b); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; text-transform: none; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.dish p { color: var(--muted); font-size: .94rem; margin-top: .2rem; }
.dish .end { display: grid; justify-items: end; gap: .45rem; }
.dish .add { display: none; }
.can-order .dish .add { display: inline-flex; }
.dish.out h3 { opacity: .55; text-decoration: line-through; }
.table-banner { display: none; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--soft); color: var(--ink); font-weight: 650; margin-bottom: 2rem; }
.table-banner .ic { width: 22px; height: 22px; }
.at-table .table-banner { display: flex; }

/* bookings page */
.bsvc { padding: 1.4rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; }
.bsvc .thumb { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--ink); font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; }
.bsvc .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bsvc h3 { font-family: var(--font-b); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.bsvc .meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-top: .25rem; }
.bsvc .meta span { display: inline-flex; align-items: center; gap: .35rem; }
.bsvc .meta .ic { width: 16px; height: 16px; }
.bsvc p { color: var(--muted); font-size: .94rem; margin-top: .35rem; }
@media (max-width: 560px) { .bsvc { grid-template-columns: auto 1fr; } .bsvc .btn { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-side { display: grid; gap: 1rem; }
.hours { padding: 1.6rem; }
.hours h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.hours h3 .ic { color: var(--ink); }
.hours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--line); color: var(--muted); }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.form-card { padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: 1.25rem; }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.fields { display: grid; gap: 1rem; }
.fields .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 15%, transparent); }
.field.bad input, .field.bad textarea { border-color: #e11d48; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .fields .two { grid-template-columns: 1fr; } }

.msg { padding: .9rem 1.1rem; border-radius: var(--r); font-size: .95rem; font-weight: 550; }
.msg.err { background: color-mix(in oklab, #e11d48 12%, var(--bg)); color: #e11d48; }
.msg.ok { background: color-mix(in oklab, #16a34a 14%, var(--bg)); color: #15803d; }
:root[data-theme="dark"] .msg.ok { color: #4ade80; }
.hp { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------------------ footer */
.ftr { position: relative; overflow: hidden; isolation: isolate; background: var(--text); color: var(--bg); padding-top: clamp(4rem, 8vw, 6rem); }
:root[data-theme="dark"] .ftr { background: color-mix(in oklab, var(--text) 5%, var(--bg)); color: var(--text); border-top: 1px solid var(--line); }
.ftr::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: var(--primary); filter: blur(140px); opacity: .18; top: -40%; inset-inline-end: -20%; z-index: -1; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3.5rem; }
.ftr .brand { margin-bottom: 1.1rem; }
.ftr .brand img { background: #fff; padding: 4px; }
.ftr p.about { color: color-mix(in oklab, currentColor 66%, transparent); max-width: 340px; }
.ftr h4 { font-family: var(--font-b); font-size: .8rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; color: color-mix(in oklab, currentColor 55%, transparent); }
[lang="ar"] .ftr h4 { letter-spacing: 0; font-size: .95rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ftr ul a, .ftr ul span { color: color-mix(in oklab, currentColor 80%, transparent); transition: color .2s; display: inline-flex; gap: .6rem; align-items: flex-start; }
.ftr ul a:hover { color: currentColor; }
.ftr ul .ic { width: 18px; height: 18px; margin-top: .25em; opacity: .7; }
.socials { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in oklab, currentColor 20%, transparent); transition: all .3s var(--ease); }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: translateY(-3px); }
.socials .ic { width: 19px; height: 19px; }
.ftr-big { font-family: var(--font-h); font-weight: 800; font-size: clamp(3rem, 14vw, 12rem); line-height: .9; letter-spacing: -.04em; text-align: center; white-space: nowrap; overflow: hidden; user-select: none; padding-bottom: .12em; margin-top: -1rem;
  background: linear-gradient(180deg, color-mix(in oklab, currentColor 22%, transparent) 10%, color-mix(in oklab, currentColor 3%, transparent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[lang="ar"] .ftr-big { letter-spacing: 0; line-height: 1.2; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent); font-size: .88rem; color: color-mix(in oklab, currentColor 60%, transparent); }
.ftr-bottom a:hover { color: currentColor; }
/* the credit, with the manager's login button under it */
.ftr-links { display: inline-flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.az-credit { display: inline-flex; align-items: center; gap: .5rem; }
.az-credit img { width: auto; height: 16px; }
@media (max-width: 720px) { .ftr-links { align-items: flex-start; } }
.owner-login { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid color-mix(in oklab, currentColor 18%, transparent); transition: color .2s, border-color .2s, background-color .2s; }
.owner-login .ic { width: 14px; height: 14px; }
.owner-login:hover { border-color: color-mix(in oklab, currentColor 45%, transparent); background: color-mix(in oklab, currentColor 6%, transparent); }
/* small, but the same colour as the rest of the row (readable) and a 24px tap target */
.report-abuse { font-size: .8rem; text-decoration: underline; text-underline-offset: 2px; padding-block: .25rem; }
/* on phones the floating buttons sit over the last footer row: leave room for them */
@media (min-width: 721px) { .ftr-bottom { padding-inline-end: 96px; } }
@media (max-width: 720px) { .ftr-bottom { padding-bottom: calc(1.5rem + 136px); } }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ floating buttons */
.fab-stack { position: fixed; bottom: max(1.25rem, env(safe-area-inset-bottom)); inset-inline-end: 1.25rem; z-index: 70; display: grid; gap: .75rem; justify-items: end; transition: transform .45s var(--ease); }
.has-sticky .fab-stack { transform: translateY(-76px); }
.wa-float { position: relative; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .65); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float .ic { width: 32px; height: 32px; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.8s var(--ease) infinite; z-index: -1; }
.wa-float::after { animation-delay: 1.4s; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
html[data-anim="off"] .wa-float::before, html[data-anim="off"] .wa-float::after { animation: none; display: none; }
.totop { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .4s var(--ease); }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop .ic { width: 20px; height: 20px; }

/* toast */
.toast { position: fixed; top: calc(var(--header-h) + .75rem); left: 50%; z-index: 150; translate: -50% 0; display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem .7rem 1rem; border-radius: 16px; background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-weight: 600; font-size: .95rem; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: all .45s var(--ease); max-width: calc(100vw - 2rem); }
/* left: 50% alone leaves it only half the screen to grow into, so it squeezed to a word per line on phones */
.toast { width: max-content; max-width: calc(100vw - 2rem); }
/* at the bottom of the screen (the header slides away on scroll, which left it floating over the content) */
.toast { top: auto; bottom: max(1.25rem, env(safe-area-inset-bottom)); transform: translateY(16px); }
.has-sticky .toast { bottom: calc(76px + 1rem); }
@media (max-width: 720px) {
  /* phones: a full-width bar; the WhatsApp and to-top buttons step up while it shows */
  .toast { left: 1rem; right: 1rem; translate: none; width: auto; max-width: none; }
  .toast > span { flex: 1; }
  .toasting .fab-stack { transform: translateY(-84px); }
  .has-sticky.toasting .fab-stack { transform: translateY(-160px); }
}
.toast > span { min-width: 0; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.toast .ok { width: 26px; height: 26px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.toast .ok .ic { width: 15px; height: 15px; }
.toast button { background: none; border: 0; color: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: .3rem .4rem; white-space: nowrap; }

/* ------------------------------------------------------------------ drawer (cart, booking) */
.drawer { position: fixed; inset: 0; z-index: 130; pointer-events: none; overflow: hidden; }
/* the visible screen, so the checkout button is never under the phone's toolbar */
.drawer { bottom: auto; height: 100vh; height: 100dvh; }
.drawer::before { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, #000 45%, transparent); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(460px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .55s var(--ease-out); box-shadow: var(--shadow-lg); }
[dir="rtl"] .drawer-panel { transform: translateX(-105%); }
.drawer.open { pointer-events: auto; }
.drawer.open::before { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--line); }
.dr-head h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; font-family: var(--font-b); letter-spacing: 0; text-transform: none; font-weight: 750; }
.dr-head h2 small { font-size: .85rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.dr-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.4rem; display: grid; gap: 1.1rem; align-content: start; overscroll-behavior: contain; }
/* minmax(0, 1fr): the column fits the drawer instead of growing to the promo box's built-in width (it ran past the right edge) */
.dr-foot { padding: 1.1rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; background: var(--surface); }
.dr-body { grid-template-columns: minmax(0, 1fr); scrollbar-width: none; }
.dr-body::-webkit-scrollbar { display: none; }
[data-lines] { display: grid; gap: 1.1rem; }
.cline { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: center; animation: in-up .4s var(--ease) both; }
@keyframes in-up { from { opacity: 0; transform: translateY(8px); } }
.cline .thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-weight: 800; color: var(--faint); }
.cline .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cline .nm { font-weight: 650; line-height: 1.3; display: block; margin-bottom: .45rem; }
.cline .nm:hover { color: var(--ink); }
.cline .nm:has(+ .vr) { margin-bottom: .1rem; }
.cline .vr { display: block; margin-bottom: .45rem; font-size: .82rem; color: var(--muted); font-weight: 550; }
.cline .lp { font-weight: 750; white-space: nowrap; text-align: end; display: grid; gap: .3rem; justify-items: end; }
.cline .rm { background: none; border: 0; color: var(--faint); font-size: .8rem; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.cline .rm:hover { color: #e11d48; }
.sums { display: grid; gap: .45rem; }
.sum { display: flex; justify-content: space-between; color: var(--muted); font-size: .95rem; }
.sum.disc { color: #16a34a; }
.sum.total { color: var(--text); font-size: 1.2rem; font-weight: 800; padding-top: .5rem; border-top: 1px dashed var(--line-2); margin-top: .2rem; }
.promo { display: flex; gap: .5rem; }
.promo input { flex: 1; width: 0; min-width: 0; height: 46px; padding: 0 1rem; border-radius: var(--r); border: 1px dashed var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.promo input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.promo input:focus { outline: none; border-color: var(--primary); border-style: solid; }
.promo-ok { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .9rem; border-radius: var(--r); background: color-mix(in oklab, #16a34a 12%, var(--bg)); color: #15803d; font-weight: 650; font-size: .92rem; }
:root[data-theme="dark"] .promo-ok { color: #4ade80; }
.promo-ok button { background: none; border: 0; color: inherit; cursor: pointer; text-decoration: underline; font-size: .85rem; }
.promo-msg { font-size: .85rem; color: #e11d48; }
.empty-cart { text-align: center; padding: 3rem 1rem; display: grid; justify-items: center; gap: 1rem; color: var(--muted); }
.empty-cart .circle { width: 96px; height: 96px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; }
.empty-cart .circle .ic { width: 40px; height: 40px; }
.done { text-align: center; padding: 2.5rem 1rem; display: grid; justify-items: center; gap: 1rem; }
.done .check { width: 88px; height: 88px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease) both; box-shadow: 0 0 0 12px color-mix(in oklab, #22c55e 18%, transparent); }
.done .check .ic { width: 44px; height: 44px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 1.6rem; }
.done p { color: var(--muted); }
.step-title { font-weight: 750; font-size: .95rem; margin-bottom: .5rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.slots button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-weight: 650; cursor: pointer; transition: all .2s var(--ease); }
.slots button:hover { border-color: var(--primary); }
.slots button.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.days { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
.days::-webkit-scrollbar { display: none; }
.days button { flex-shrink: 0; width: 64px; padding: .6rem 0; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); cursor: pointer; display: grid; justify-items: center; gap: .1rem; transition: all .2s var(--ease); }
.days button small { font-size: .72rem; font-weight: 700; color: var(--faint); text-transform: uppercase; }
.days button b { font-size: 1.25rem; font-family: var(--font-h); }
.days button.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.days button.on small { color: inherit; opacity: .8; }

/* ------------------------------------------------------------------ 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--sec); position: relative; overflow: hidden; isolation: isolate; }
.nf .big { font-family: var(--font-h); font-size: clamp(7rem, 24vw, 16rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 1rem 0 .75rem; }
.nf p { color: var(--muted); margin-bottom: 2rem; }

/* =================================================================== DESIGNS */

/* ---- Aurora: luminous, glassy, gradients */
[data-design="aurora"] { --h-weight: 700; --h-track: -.035em; }
/* border-box: the gradient also fills the 1.5px transparent border (padding-box repeats it there as a seam of the opposite colour) */
[data-design="aurora"] .btn:not(.btn-ghost):not(.btn-light):not(.btn-glass):not(.btn-wa):not(.btn-accent) { background: var(--grad) border-box; }
[data-design="aurora"] .feat, [data-design="aurora"] .quote, [data-design="aurora"] .svc { background: color-mix(in oklab, var(--card) 72%, transparent); backdrop-filter: blur(12px); }
[data-design="aurora"] .sec-head h2 { background: linear-gradient(180deg, var(--text) 30%, color-mix(in oklab, var(--text) 65%, var(--primary))); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-design="aurora"] .feat { border: 1px solid var(--line); }
[data-design="aurora"] .feat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, color-mix(in oklab, var(--primary) 60%, transparent), transparent 40%, transparent 60%, color-mix(in oklab, var(--accent) 50%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; pointer-events: none; }
[data-design="aurora"] .feat:hover::before { opacity: 1; }
[data-design="aurora"] .sec.alt { background: linear-gradient(180deg, var(--bg), var(--soft) 50%, var(--bg)); }

/* ---- Elegant: editorial, serif, fine lines */
[data-design="elegant"] { --h-weight: 500; --h-track: -.01em; --sec: clamp(5rem, 10vw, 9rem); }
[data-design="elegant"] .eyebrow { font-weight: 600; letter-spacing: .3em; font-size: .72rem; color: var(--muted); }
[data-design="elegant"] .eyebrow::before, [data-design="elegant"] .center .eyebrow::after { width: 40px; height: 1px; background: var(--accent); }
[data-design="elegant"] .btn { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; min-height: 54px; padding-inline: 2rem; }
[lang="ar"][data-design="elegant"] .btn { letter-spacing: 0; text-transform: none; font-size: .98rem; }
[data-design="elegant"] .btn::after { display: none; }
[data-design="elegant"] .btn:hover { box-shadow: none; }
[data-design="elegant"] .hero h1, [data-design="elegant"] .sec-head h2 { font-weight: 500; }
[data-design="elegant"] .hero--cover h1 { font-size: clamp(3.2rem, 8.5vw, 7.4rem); font-style: italic; }
[lang="ar"][data-design="elegant"] .hero--cover h1 { font-style: normal; }
[data-design="elegant"] .card { border-radius: calc(var(--r) * .6); }
[data-design="elegant"] .pcard .pic, [data-design="elegant"] .tile, [data-design="elegant"] .split-media .ph { border-radius: calc(var(--r) * .5); }
[data-design="elegant"] .feat { text-align: center; justify-items: center; border: 0; background: transparent; box-shadow: none; padding-inline: 1rem; }
[data-design="elegant"] .feat .bubble { background: transparent; border: 1px solid var(--line-2); border-radius: 50%; width: 72px; height: 72px; }
[data-design="elegant"] .feat:hover .bubble { background: var(--text); color: var(--bg); transform: none; }
[data-design="elegant"] .features { gap: 0; }
[data-design="elegant"] .features .feat + .feat { border-inline-start: 1px solid var(--line); }
[data-design="elegant"] .stat b { background: none; color: var(--text); font-weight: 500; -webkit-text-fill-color: currentColor; }
[data-design="elegant"] .stats-band .stat b { color: var(--bg); }
[data-design="elegant"] .cta { background: var(--text); color: var(--bg); border-radius: 0; }
[data-design="elegant"] .cta::before { background: radial-gradient(circle at 50% 120%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 60%); }
[data-design="elegant"] .cta p { color: color-mix(in oklab, var(--bg) 75%, var(--text)); }
[data-design="elegant"] .cta .btn-ghost { --b-fg: var(--bg); }
[data-design="elegant"] .ftr { background: #0d0c0b; color: #f3efe8; }
[data-design="elegant"] .pcard h3, [data-design="elegant"] .dish h3 { font-family: var(--font-h); font-weight: 500; font-size: 1.25rem; }
[data-design="elegant"] .nav a { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
[lang="ar"][data-design="elegant"] .nav a { letter-spacing: 0; text-transform: none; font-size: .98rem; }
[data-design="elegant"] .brand { font-weight: 500; letter-spacing: .04em; font-size: 1.35rem; }
[data-design="elegant"] .brand .mono { border-radius: 50%; background: transparent; border: 1px solid currentColor; color: inherit; box-shadow: none; font-weight: 500; }
[data-design="elegant"] .menu-cat > h2 { justify-content: center; text-align: center; }
[data-design="elegant"] .dish { border-bottom-style: dotted; }
@media (max-width: 760px) { [data-design="elegant"] .features .feat + .feat { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* ---- Bold: loud type, hard shadows, colour blocks */
[data-design="bold"] { --h-weight: 800; --h-track: -.04em; --h-case: uppercase; }
[data-design="bold"] .btn { border: 2px solid var(--text); box-shadow: 4px 4px 0 0 var(--text); font-weight: 800; }
[dir="rtl"][data-design="bold"] .btn { box-shadow: -4px 4px 0 0 var(--text); }
@media (hover: hover) {
  [data-design="bold"] .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--text); }
  [dir="rtl"][data-design="bold"] .btn:hover { transform: translate(2px, -2px); box-shadow: -6px 6px 0 0 var(--text); }
}
[data-design="bold"] .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--text); }
[data-design="bold"] .btn::after { display: none; }
[data-design="bold"] .hero--bold .btn { border-color: #0b0b10; box-shadow: 4px 4px 0 0 #0b0b10; }
[data-design="bold"] .hero--bold .btn-ghost { --b-fg: var(--on-primary); border-color: var(--on-primary); box-shadow: none; }
[data-design="bold"] .card { border: 2px solid var(--text); box-shadow: none; }
[data-design="bold"] .card.hover:hover { box-shadow: 8px 8px 0 0 var(--primary); transform: translate(-3px, -3px); border-color: var(--text); }
[dir="rtl"][data-design="bold"] .card.hover:hover { box-shadow: -8px 8px 0 0 var(--primary); transform: translate(3px, -3px); }
[data-design="bold"] .pcard .pic { border: 2px solid var(--text); }
[data-design="bold"] .tile { border: 2px solid var(--text); }
[data-design="bold"] .feat .bubble { border: 2px solid var(--text); background: var(--accent); color: var(--on-accent); border-radius: 50%; }
[data-design="bold"] .eyebrow { background: var(--text); color: var(--bg); padding: .35rem .8rem; border-radius: 4px; }
[data-design="bold"] .eyebrow::before, [data-design="bold"] .center .eyebrow::after { display: none; }
[data-design="bold"] .hero--bold .eyebrow { background: var(--on-primary); color: var(--primary); }
[data-design="bold"] .sec-head h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: .98; }
[data-design="bold"] .cta { border: 2px solid var(--text); box-shadow: 10px 10px 0 0 var(--text); border-radius: var(--r-lg); }
[dir="rtl"][data-design="bold"] .cta { box-shadow: -10px 10px 0 0 var(--text); }
[data-design="bold"] .faq details { border: 2px solid var(--text); }
[data-design="bold"] .stat b { -webkit-text-stroke: 0; }
[data-design="bold"] .chip.on { background: var(--accent); color: var(--on-accent); border-color: var(--text); }
[data-design="bold"] .pcard h3, [data-design="bold"] .dish h3 { font-weight: 800; }
[data-design="bold"] .nav a { font-weight: 750; text-transform: uppercase; font-size: .88rem; letter-spacing: .02em; }
[lang="ar"][data-design="bold"] .nav a { text-transform: none; font-size: .98rem; }

/* ---- Classic: calm, crisp, trustworthy */
[data-design="classic"] { --h-weight: 750; --h-track: -.03em; }
[data-design="classic"] .sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
[data-design="classic"] .hero--split h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
[data-design="classic"] .feat .bubble { border-radius: 14px; }
[data-design="classic"] .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; }
[data-design="classic"] .center .eyebrow::after { display: none; }
[data-design="classic"] .stats-band { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
[data-design="classic"] .stats-band::before { opacity: .1; }
[data-design="classic"] .stats-band .stat b { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
[data-design="classic"] .stats-band .stat span { color: var(--muted); }

/* print */
@media print { .hdr, .fab-stack, .ftr, .drawer, .announce, .preview-bar, .pd-sticky { display: none !important; } [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------------------------------------------------------------- studio: frame around the part a setting changes */
.az-edit { --z: 1; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; overflow: hidden; }
.az-edit-frame { position: absolute; top: 0; left: 0; border: calc(2px * var(--z)) solid #4f46e5; border-radius: calc(6px * var(--z)); background: rgba(79, 70, 229, .07); box-shadow: 0 0 0 calc(1px * var(--z)) rgba(255, 255, 255, .85), 0 0 0 calc(6px * var(--z)) rgba(79, 70, 229, .2); animation: az-edit-in .35s ease-out; }
.az-edit-frame.all { border-width: calc(3px * var(--z)); border-radius: 0; background: none; box-shadow: inset 0 0 0 calc(1px * var(--z)) rgba(255, 255, 255, .7); }
.az-edit-frame > span { position: absolute; inset-inline-start: calc(-2px * var(--z)); margin-top: calc(-2px * var(--z)); padding: calc(.3rem * var(--z)) calc(.65rem * var(--z)); border-radius: 0 0 calc(6px * var(--z)) 0; background: #4f46e5; color: #fff; font: 700 calc(12px * var(--z))/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
[dir='rtl'] .az-edit-frame > span { border-radius: 0 0 0 calc(6px * var(--z)); }
.az-edit-frame > span.out { margin-top: 0; border-radius: calc(6px * var(--z)); }
.az-edit-note { position: absolute; left: 50%; bottom: calc(18px * var(--z)); translate: -50% 0; max-width: calc(100% - 32px); padding: calc(.6rem * var(--z)) calc(1.1rem * var(--z)); border-radius: 999px; background: #1e1b4b; color: #fff; font: 600 calc(13px * var(--z))/1.35 system-ui, -apple-system, 'Segoe UI', sans-serif; text-align: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); animation: az-edit-in .3s ease-out; }
@keyframes az-edit-in { from { opacity: 0; } }
