/* LaDiva v5 — "The gift, in four acts". Colour-blocked scenes (orange · cocoa · tone · cream) that the page moves through as it scrolls. */

/* ---------- scene tokens (registered so they interpolate) ---------- */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #ac3c15; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #fff4e6; }
@property --ink-2 { syntax: '<color>'; inherits: true; initial-value: #f4dcc6; }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(255, 244, 230, .28); }
@property --btn { syntax: '<color>'; inherits: true; initial-value: #fff4e6; }
@property --btn-ink { syntax: '<color>'; inherits: true; initial-value: #23140d; }
@property --hi { syntax: '<color>'; inherits: true; initial-value: #ffd9a8; }

:root {
  --orange: #ac3c15; --cocoa: #1a0f0a; --cocoa-2: #5e4636; --cream: #f3e8d8; --surface: #fbf5ec; --gold: #d4a85a; --ember: #c4481a;
  --tone: #8fa3b8;
  --display: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --pad: clamp(88px, 12vw, 180px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bg: #ac3c15; --ink: #fff4e6; --ink-2: #f4dcc6; --line: rgba(255, 244, 230, .28); --btn: #fff4e6; --btn-ink: #23140d; --hi: #ffd9a8;
  color-scheme: light;
  transition: --bg .7s var(--ease), --ink .7s var(--ease), --ink-2 .7s var(--ease), --line .7s var(--ease), --btn .7s var(--ease), --btn-ink .7s var(--ease), --hi .7s var(--ease);
}
:root[data-scene="cocoa"] { --bg: #1a0f0a; --ink: #f3e6d3; --ink-2: #c9b7a1; --line: rgba(243, 230, 211, .16); --btn: #c4481a; --btn-ink: #fff; --hi: #d4a85a; }
:root[data-scene="tone"] { --bg: color-mix(in oklab, var(--tone) 34%, #1a0f0a); --ink: #f6ece0; --ink-2: #d8cbbb; --line: rgba(246, 236, 224, .2); --btn: #f6ece0; --btn-ink: #1a0f0a; --hi: #d4a85a; }
:root[data-scene="cream"] { --bg: #f3e8d8; --ink: #23140d; --ink-2: #5e4636; --line: rgba(35, 20, 13, .16); --btn: #ac3c15; --btn-ink: #fff; --hi: #ac3c15; }
:root.reduce, :root.reduce * { transition-duration: 0s !important; animation-duration: 0s !important; }
@media (prefers-reduced-motion: reduce) { :root, :root * { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 clamp(15px, 1.05vw, 17px)/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
:root[lang="ar"] body { font-family: 'IBM Plex Sans Arabic', var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: -.012em; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3 { font-family: 'Noto Naskh Arabic', serif; line-height: 1.3; letter-spacing: 0; }
em { font-style: italic; }
:root[lang="ar"] em { font-style: normal; color: var(--hi); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--cocoa); }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 16px; background: var(--surface); color: var(--cocoa); border-radius: 999px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }
.cap { text-transform: capitalize; }

.eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
:root[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 46ch; }
.h2 { font-size: clamp(2.6rem, 6.2vw, 6rem); }
.h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--accent { background: var(--btn); color: var(--btn-ink); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--ghost { border-color: currentColor; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-block: 10px; border-bottom: 1.5px solid currentColor; }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
:root[dir="rtl"] .link-arrow::after { content: '←'; }
.link-arrow:hover::after { transform: translateX(4px); }
:root[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.icon-btn svg, .tabbar__i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dot { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--cocoa); font: 700 11px/18px var(--sans); text-align: center; font-style: normal; }
.dot:empty, .dot[hidden] { display: none; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); color: var(--ink); transition: background-color .3s, box-shadow .3s; }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 12px; padding-inline: var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand__word { font: 400 28px/1 var(--display); letter-spacing: -.01em; }
.hdr__nav { display: none; gap: clamp(14px, 1.6vw, 28px); margin-inline: auto; font-size: 14px; font-weight: 500; }
.hdr__nav a { text-decoration: none; padding-block: 8px; position: relative; color: var(--ink-2); transition: color .2s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="true"] { color: var(--ink); }
.hdr__nav a[aria-current="true"]::after { content: ''; position: absolute; inset: auto 0 2px; height: 1.5px; background: currentColor; }
.hdr__act { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.lang-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.lang-btn[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
@media (min-width: 1100px) { .hdr__nav { display: flex; } .hdr__menu { display: none; } .hdr__act { margin-inline-start: 0; } }
@media (max-width: 599px) { .hide-sm { display: none; } .lang-btn { padding: 0 10px; font-size: 13px; } .brand__word { font-size: 24px; } }

/* ---------- chapter rail ---------- */
.acts { position: fixed; z-index: 45; inset-inline-start: 14px; top: 50%; transform: translate(-8px, -50%); display: none; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
:root.in-acts .acts { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.acts a { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; text-decoration: none; color: var(--ink-2); font: 600 11px/1 var(--sans); letter-spacing: .04em; transition: color .3s, background-color .3s; }
.acts a span { position: absolute; inset-inline-start: 42px; white-space: nowrap; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.acts a:hover span, .acts a:focus-visible span { opacity: 1; transform: none; }
.acts a[aria-current="true"] { background: var(--ink); color: var(--bg); }
@media (min-width: 1240px) { .acts { display: flex; } }

/* ---------- hero (orange) ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--hdr) + clamp(16px, 3vw, 40px)); padding-bottom: clamp(64px, 8vw, 110px); overflow: clip; }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: clamp(18px, 2vw, 28px); transform: translateY(var(--hy, 0)); }
.hero__title { font-size: clamp(3.4rem, 8.4vw, 9rem); line-height: .9; letter-spacing: -.025em; }
.hero__title > span { display: block; }
.hero__title em { color: var(--hi); }
:root[lang="ar"] .hero__title { font-size: clamp(2.8rem, 6.6vw, 6.6rem); line-height: 1.15; }
.js .hero__line { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.js .hero.is-in .hero__line { opacity: 1; transform: none; }

.hero__media { position: relative; justify-self: end; width: min(100%, 520px); }
.hero__frame { margin: 0; aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(40, 10, 0, .55); transform: scale(var(--hs, 1)) rotate(var(--hr, 0deg)); transform-origin: 50% 70%; background: #8a2e0e; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; margin: 0; width: 38%; aspect-ratio: 4 / 5; inset-inline-start: -14%; bottom: -8%; border-radius: 20px; overflow: hidden; border: 5px solid var(--cream); box-shadow: 0 24px 50px -20px rgba(40, 10, 0, .6); transform: rotate(-7deg) translateY(var(--cy, 0)); }
:root[dir="rtl"] .hero__chip { transform: rotate(7deg) translateY(var(--cy, 0)); }
.hero__chip img { width: 100%; height: 100%; object-fit: cover; }
.hero__stamp { position: absolute; top: 6%; inset-inline-end: -4%; padding: 12px 18px; border-radius: 999px; background: var(--cocoa); color: var(--cream); font: italic 400 20px/1 var(--display); transform: rotate(6deg); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); max-width: 70%; }
:root[lang="ar"] .hero__stamp { font: 500 15px/1.4 'IBM Plex Sans Arabic', sans-serif; transform: rotate(-6deg); }
.hero__next { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
:root[lang="ar"] .hero__next { letter-spacing: 0; }
.hero__next i { width: 1.5px; height: 34px; background: linear-gradient(var(--ink), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* gift concierge */
.cc { position: relative; max-width: 560px; margin-top: 6px; padding: 22px 24px; border-radius: 22px; background: var(--surface); color: var(--cocoa); box-shadow: 0 30px 60px -32px rgba(40, 10, 0, .7); }
.cc::before { content: ''; position: absolute; top: 18px; inset-inline-start: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); }
.cc__k { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
:root[lang="ar"] .cc__k { letter-spacing: 0; font-size: 13px; }
.cc__sentence { margin-top: 10px; font: 400 clamp(1.45rem, 2.2vw, 1.9rem)/1.45 var(--display); }
:root[lang="ar"] .cc__sentence { font-family: 'Noto Naskh Arabic', serif; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.cc__sel { display: inline-block; position: relative; max-width: 100%; }
.cc__sel select { appearance: none; -webkit-appearance: none; border: 0; border-bottom: 2px solid var(--orange); background: transparent; padding: 0 26px 0 2px; font: italic 400 1em/1.3 var(--display); color: var(--orange); cursor: pointer; border-radius: 0; max-width: 100%; }
:root[lang="ar"] .cc__sel select { font: 600 .9em/1.5 'IBM Plex Sans Arabic', sans-serif; padding: 0 2px 0 26px; }
.cc__sel::after { content: ''; position: absolute; inset-inline-end: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cc__sel select:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.cc__answer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(35, 20, 13, .2); }
.cc__n { grid-column: 1 / -1; font-weight: 600; font-size: 14px; color: var(--cocoa-2); }
.cc__picks { display: flex; gap: 8px; min-width: 0; }
.cc__picks li { flex: 0 0 auto; }
.cc__picks button { display: block; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--cream); transition: transform .25s var(--ease); }
.cc__picks button:hover { transform: translateY(-3px) rotate(-2deg); }
.cc__picks img { width: 100%; height: 100%; object-fit: cover; }
.cc .btn--accent { background: var(--orange); color: #fff; min-height: 46px; padding: 0 20px; }

@media (max-width: 899px) {
  .hero { padding-top: var(--hdr); min-height: 0; }
  .hero__in { grid-template-columns: 1fr; gap: 0; }
  .hero__media { order: -1; justify-self: center; width: min(100%, 460px); }
  .hero__frame { aspect-ratio: auto; height: 58svh; min-height: 340px; border-radius: 28px; }
  .hero__chip { width: 30%; inset-inline-start: auto; inset-inline-end: -2%; bottom: 14%; }
  .hero__stamp { top: auto; bottom: 20%; inset-inline-end: auto; inset-inline-start: 4%; font-size: 17px; }
  .hero__copy { margin-top: -7svh; }
  .hero__copy > .eyebrow { display: inline-block; justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--bg); }
  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  :root[lang="ar"] .hero__title { font-size: clamp(2.4rem, 11vw, 3.8rem); }
  .hero__next { display: none; }
}
@media (max-width: 420px) { .cc { padding: 18px; } .cc__answer { grid-template-columns: 1fr; } .cc .btn--accent { width: 100%; } .cc__picks button { width: 52px; height: 52px; } }

/* ---------- acts ---------- */
.act { position: relative; padding-block: var(--pad); }
.act__head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 88px); }
.act__k { display: flex; align-items: baseline; gap: 14px; color: var(--ink-2); font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.act__k b { font: italic 400 clamp(2.4rem, 4vw, 3.6rem)/.8 var(--display); letter-spacing: 0; color: var(--hi); }
:root[lang="ar"] .act__k { letter-spacing: 0; font-size: 14px; }
.act__lead { font-size: clamp(17px, 1.5vw, 22px); color: var(--ink-2); max-width: 40ch; }

/* Act I — sticky story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); }
.story__media { position: sticky; top: calc(var(--hdr) + 4vh); height: min(78vh, 720px); align-self: start; }
.story__frame { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #2a1a12; }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.story__frame img.is-on { opacity: 1; transform: none; }
.story__count { position: absolute; bottom: 18px; inset-inline-start: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(26, 15, 10, .7); color: var(--cream); font: 600 12px/1 var(--sans); letter-spacing: .1em; backdrop-filter: blur(6px); }
.story__steps { display: grid; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: .3; transition: opacity .5s var(--ease); cursor: default; }
.step.is-on { opacity: 1; }
.step__img { display: none; }
.step__k { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--hi); }
:root[lang="ar"] .step__k { letter-spacing: 0; font-size: 14px; }
.step .h3 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
.step__p { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); max-width: 34ch; }
.step .link-arrow { align-self: flex-start; }
@media (max-width: 899px) {
  .story { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 28px; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 62svh; object-fit: cover; border-radius: 24px; margin-bottom: 8px; }
}

/* Act II — arrangements + trays */
.arr { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.arr__media { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: color-mix(in srgb, var(--tone) 40%, #1a0f0a); }
.arr__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .45s var(--ease), transform .8s var(--ease); }
.arr__media img.is-on { opacity: 1; transform: none; }
.arr__copy { display: grid; gap: 18px; justify-items: start; }
.arr__name { font: 400 clamp(2.4rem, 4.6vw, 4.6rem)/1 var(--display); }
:root[lang="ar"] .arr__name { font-family: 'Noto Naskh Arabic', serif; line-height: 1.3; }
.arr__text { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 38ch; min-height: 3.2em; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 6px 10px; }
.swatch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background-color .25s, border-color .25s, color .25s; }
:root[dir="rtl"] .swatch { padding: 0 8px 0 16px; }
.swatch::before { content: ''; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.swatch[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 899px) { .arr { grid-template-columns: 1fr; } .arr__media { aspect-ratio: 1 / 1; } }

.trays { margin-top: clamp(64px, 9vw, 140px); }
.trays__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 300px); gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2)) 24px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 599px) { .rail { grid-auto-columns: 72%; } }

/* Act III — cakes + doors */
.cakes { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.cakes__hero { margin: 0; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: #e6d6c1; }
.cakes__hero img { width: 100%; height: 100%; object-fit: cover; transition: opacity .28s; }
.cakes__hero img.is-fading { opacity: 0; }
.cakes__body { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.cakes__title { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.cakes__text { color: var(--ink-2); max-width: 40ch; min-height: 3.2em; }
.cakes__list { display: grid; gap: 8px; width: 100%; }
.cake-row { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--surface); color: var(--cocoa); text-align: start; transition: transform .25s var(--ease), box-shadow .25s; }
:root[dir="rtl"] .cake-row { padding: 8px 8px 8px 14px; }
.cake-row:hover { transform: translateX(4px); box-shadow: 0 12px 28px -18px rgba(35, 20, 13, .5); }
:root[dir="rtl"] .cake-row:hover { transform: translateX(-4px); }
.cake-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.cake-row b { font-weight: 600; text-transform: capitalize; }
.cake-row span { font-weight: 600; color: var(--orange); white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 899px) { .cakes { grid-template-columns: 1fr; } .cakes__hero { aspect-ratio: 1 / 1; } }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); margin-top: clamp(64px, 9vw, 140px); }
.door a { position: relative; display: block; aspect-ratio: 5 / 6; border-radius: 30px; overflow: hidden; text-decoration: none; color: #fff8ef; background: #3a2418; }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.door a:hover img { transform: scale(1.05); }
.door a::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20, 10, 5, .82)); }
.door__body { position: absolute; z-index: 1; inset: auto 0 0; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 4px; }
.door__body b { font: 400 clamp(2rem, 3.6vw, 3.4rem)/1 var(--display); text-transform: capitalize; }
:root[lang="ar"] .door__body b { font-family: 'Noto Naskh Arabic', serif; line-height: 1.3; }
.door__body small { font-size: 14px; opacity: .85; }
.door__body i { font-style: normal; font-weight: 600; font-size: 14px; margin-top: 8px; }
.door__body i::after { content: ' →'; }
:root[dir="rtl"] .door__body i::after { content: ' ←'; }
@media (max-width: 599px) { .doors { grid-template-columns: 1fr; } .door a { aspect-ratio: 4 / 3; } }

/* Act IV — composer */
.cp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(24px, 4vw, 64px); align-items: start; }
.cp__steps { display: grid; gap: clamp(36px, 5vw, 64px); min-width: 0; }
.cp__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.cp__step legend, .cp__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 0; margin-bottom: 16px; font: 400 clamp(1.6rem, 2.6vw, 2.4rem)/1.1 var(--display); }
:root[lang="ar"] .cp__step legend, :root[lang="ar"] .cp__legend { font-family: 'Noto Naskh Arabic', serif; line-height: 1.4; }
.cp__step legend b, .cp__legend b { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--hi); color: var(--hi); font: 600 15px/1 var(--sans); }
.cp__step legend small { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
:root[lang="ar"] .cp__step legend small { letter-spacing: 0; font-size: 12px; }
.cp__legend label { cursor: pointer; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.pick { position: relative; display: grid; grid-template-rows: auto 1fr; text-align: start; border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--cocoa); box-shadow: 0 0 0 0 var(--hi); transition: transform .25s var(--ease), box-shadow .25s; }
.pick:hover { transform: translateY(-3px); }
.pick[aria-checked="true"] { box-shadow: 0 0 0 3px var(--hi); }
.pick[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.pick__img { aspect-ratio: 1 / 1; background: var(--cream); overflow: hidden; }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__body { display: grid; gap: 4px; align-content: start; padding: 10px 12px 12px; }
.pick__body b { font-weight: 600; font-size: 14px; line-height: 1.3; text-transform: capitalize; }
.pick__body span { font-size: 13px; font-weight: 600; color: var(--orange); }
.pick__body em { font-style: normal; font-size: 12px; color: var(--cocoa-2); }
.pick__check { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(251, 245, 236, .9); color: var(--cocoa); transform: scale(.6); opacity: 0; transition: transform .3s var(--ease), opacity .3s; }
.pick__check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pick[aria-checked="true"] .pick__check { opacity: 1; transform: none; background: var(--gold); }
.cp__step--note textarea { width: 100%; min-height: 110px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 6%, transparent); resize: vertical; font-size: 16px; }
.cp__step--note textarea::placeholder { color: var(--ink-2); opacity: .7; }
.cp__hint { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

.sum { position: sticky; top: calc(var(--hdr) + 20px); border-radius: 24px; background: var(--surface); color: var(--cocoa); padding: 22px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); }
.sum__bar { display: flex; align-items: center; gap: 12px; }
.sum__head { flex: 1; min-width: 0; }
.sum__title { font: 400 2rem/1 var(--display); }
:root[lang="ar"] .sum__title { font-family: 'Noto Naskh Arabic', serif; font-size: 1.6rem; line-height: 1.3; }
.sum__meta { font-size: 13px; color: var(--cocoa-2); margin-top: 4px; display: inline-block; }
.sum__toggle, .sum__add--bar { display: none; }
.sum__body { display: grid; gap: 14px; margin-top: 16px; }
.sum__list { display: grid; gap: 10px; }
.sum__empty { padding: 18px; border-radius: 16px; border: 1px dashed rgba(35, 20, 13, .25); color: var(--cocoa-2); font-size: 14px; text-align: center; }
.sline { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.sline img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sline__t { min-width: 0; display: grid; gap: 2px; }
.sline__t small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cocoa-2); }
:root[lang="ar"] .sline__t small { letter-spacing: 0; }
.sline__t b { font-size: 14px; font-weight: 600; text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sline__t select { margin-top: 4px; max-width: 100%; min-height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid rgba(35, 20, 13, .2); background: #fff; color: var(--cocoa); font-size: 13px; }
.sline__end { display: grid; justify-items: end; gap: 2px; font-weight: 600; font-size: 14px; }
.sline__end button { font-size: 12px; font-weight: 500; color: var(--cocoa-2); text-decoration: underline; min-height: 32px; }
.sline__note { grid-column: 1 / -1; font-size: 13px; color: var(--cocoa-2); padding: 10px 12px; border-radius: 12px; background: var(--cream); font-style: italic; overflow-wrap: anywhere; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(35, 20, 13, .14); font-weight: 600; }
.sum__total [data-sum-total] { font: 400 1.9rem/1 var(--display); }
.sum .btn--accent { background: var(--orange); color: #fff; }
.sum__reset { justify-self: center; font-size: 13px; color: var(--cocoa-2); text-decoration: underline; min-height: 36px; }
.sum__fine { font-size: 12px; color: var(--cocoa-2); line-height: 1.5; }
.sum.is-bump .sum__meta { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--orange); } }

@media (max-width: 899px) {
  .cp { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .picks::-webkit-scrollbar { display: none; }
  .pick { scroll-snap-align: start; }
  .sum { position: fixed; z-index: 55; inset-inline: 10px; bottom: calc(72px + var(--safe-b)); top: auto; padding: 12px 12px 12px 18px; border-radius: 20px; transform: translateY(calc(100% + 100px)); transition: transform .45s var(--ease); max-height: calc(100svh - var(--hdr) - 100px); overflow: auto; box-shadow: 0 -10px 40px -18px rgba(0, 0, 0, .7); }
  :root[dir="rtl"] .sum { padding: 12px 18px 12px 12px; }
  :root.in-compose .sum { transform: none; }
  .sum__title { font-size: 1.4rem; }
  :root[lang="ar"] .sum__title { font-size: 1.2rem; }
  .sum__toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 600; text-decoration: underline; }
  .sum__add--bar { display: inline-flex; min-height: 44px; padding: 0 16px; }
  .sum__body { display: none; }
  .sum.is-open .sum__body { display: grid; }
  .sum.is-open .sum__add--bar { display: none; }
  .act--compose { padding-bottom: calc(var(--pad) + 60px); }
}
@media (max-width: 380px) { .sum__add--bar { padding: 0 12px; font-size: 14px; } .sum__toggle { padding: 0 4px; } }
@media (min-width: 900px) and (max-width: 1099px) { .picks { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* ---------- words band ---------- */
.words { padding-block: clamp(110px, 16vw, 240px); text-align: center; }
.words__line { font: 400 clamp(2.8rem, 8vw, 8.4rem)/1.02 var(--display); letter-spacing: -.02em; max-width: 14ch; margin-inline: auto; }
:root[lang="ar"] .words__line { font-family: 'Noto Naskh Arabic', serif; line-height: 1.35; font-size: clamp(2.2rem, 6vw, 5.6rem); letter-spacing: 0; }
.words__line .w { display: inline-block; opacity: var(--o, 1); transition: opacity .2s linear; }
.words__line em { color: var(--hi); }
.words__img { display: inline-block; height: .82em; width: auto; vertical-align: -.08em; opacity: var(--o, 1); }
.words__img--bow { height: .9em; }
.words__img--mono { height: .9em; border-radius: 50%; }
.words__sub { margin: 36px auto 0; max-width: 52ch; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }

/* ---------- shop (cream) ---------- */
.shop { padding-block: var(--pad); }
.shop__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 34px; }
.shop__head .h2 { margin-top: 10px; }
.shop__bar { position: sticky; top: var(--hdr); z-index: 20; display: grid; gap: 12px; padding-block: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; text-transform: capitalize; transition: background-color .2s, color .2s; }
.chip small { font-size: 12px; opacity: .65; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.shop__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-inline { flex: 1 1 220px; position: relative; display: flex; align-items: center; }
.search-inline svg { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; fill: none; stroke: var(--cocoa); stroke-width: 1.6; opacity: .6; pointer-events: none; }
.search-inline input, .select select { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--cocoa); padding: 0 16px 0 40px; font-size: 15px; }
:root[dir="rtl"] .search-inline input { padding: 0 40px 0 16px; }
.select select { padding: 0 14px; width: auto; cursor: pointer; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-size: 14px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--orange); }
.shop__count { margin-block: 18px; font-size: 14px; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(160px, 20vw, 250px), 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.shop__more { display: grid; justify-items: center; gap: 16px; margin-top: 40px; }
.empty { text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--ink-2); }
@media (max-width: 599px) { .grid { grid-template-columns: 1fr 1fr; } .search-inline { flex-basis: 100%; } .select { flex: 1 1 0; min-width: 0; } .select select { width: 100%; text-overflow: ellipsis; } }

/* product card */
.card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); color: var(--cocoa); box-shadow: 0 1px 0 rgba(35, 20, 13, .06); transition: transform .35s var(--ease), box-shadow .35s; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(35, 20, 13, .55); }
.card.is-new { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s var(--ease); }
.card__media img + img { opacity: 0; }
@media (hover: hover) { .card:hover .card__media img + img { opacity: 1; } .card:hover .card__media img:first-child { transform: scale(1.04); } }
.card__badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card__badge--out { background: var(--cocoa); }
.card__save { position: absolute; top: 6px; inset-inline-end: 6px; z-index: 1; background: rgba(251, 245, 236, .85); color: var(--cocoa); }
.card__save[aria-pressed="true"] svg { fill: var(--orange); stroke: var(--orange); }
.card__body { flex: 1; display: grid; gap: 4px; align-content: start; padding: 12px 14px 14px; }
.card__type { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cocoa-2); }
.card__title { font: 600 15px/1.3 var(--sans); text-transform: capitalize; letter-spacing: 0; }
:root[lang="ar"] .card__title { font-family: 'IBM Plex Sans Arabic', var(--sans); line-height: 1.4; }
.card__title button, .card__title a { text-align: start; text-decoration: none; }
.card__price { font-weight: 600; color: var(--orange); }
.card__add { margin-top: 8px; min-height: 40px; font-size: 13px; padding: 0 14px; border: 1.5px solid rgba(35, 20, 13, .25); color: var(--cocoa); }
.card__add:hover { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }

/* ---------- visit + footer (cocoa) ---------- */
.visit { padding-block: var(--pad); }
.visit__head { display: grid; gap: 12px; margin-bottom: 44px; }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.branch { border-radius: 26px; overflow: hidden; background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--line); }
.branch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.branch--soon img { object-fit: contain; padding: 18%; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.branch__body { padding: 20px 22px 22px; display: grid; gap: 6px; justify-items: start; }
.branch__body p[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; color: var(--ink-2); }
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(40px, 6vw, 80px); padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--orange); color: #fff4e6; }
.contact .eyebrow { color: #f4dcc6; }
.contact__label { margin-top: 10px; color: #f4dcc6; }
.contact__big { display: inline-block; font: 400 clamp(2rem, 4.6vw, 4.2rem)/1.05 var(--display); text-decoration: none; unicode-bidi: isolate; direction: ltr; }
.contact .btn--accent { background: #fff4e6; color: var(--cocoa); }
.contact .btn--ghost { color: #fff4e6; }
@media (max-width: 899px) { .branches { grid-template-columns: 1fr; } .branch { display: grid; grid-template-columns: 40% 1fr; } .branch img { aspect-ratio: auto; height: 100%; } }
@media (max-width: 420px) { .branch { grid-template-columns: 1fr; } .branch img { aspect-ratio: 16 / 10; height: auto; } }

.ftr { padding-block: 64px calc(40px + var(--safe-b)); border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr__brand { display: grid; gap: 12px; align-content: start; max-width: 36ch; color: var(--ink-2); font-size: 14px; }
.ftr__brand img { width: 52px; height: 52px; border-radius: 50%; }
.ftr__word { font: 400 40px/1 var(--display); color: var(--ink); }
.ftr__col { display: grid; gap: 4px; align-content: start; }
.ftr__col .eyebrow { margin-bottom: 8px; }
.ftr__col > div { display: grid; gap: 4px; }
.ftr__link { display: block; text-align: start; padding-block: 6px; font-size: 14px; text-decoration: none; color: var(--ink-2); text-transform: capitalize; }
.ftr__link:hover { color: var(--ink); }
.ftr__link[aria-pressed="true"] { color: var(--hi); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ftr__base a { text-decoration: none; }
@media (max-width: 899px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } .ftr { padding-bottom: calc(100px + var(--safe-b)); } }

/* ---------- tab bar (phones) ---------- */
.tabbar { position: fixed; z-index: 60; inset: auto 0 0; display: none; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + var(--safe-b)); background: color-mix(in srgb, var(--cocoa) 92%, transparent); color: #c9b7a1; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(243, 230, 211, .1); }
.tabbar__i { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding-top: 6px; font-size: 11px; font-weight: 500; text-decoration: none; border-radius: 14px; transition: color .2s; }
.tabbar__i.is-on { color: #fff4e6; }
.tabbar__i.is-on svg { stroke: var(--gold); }
.tabbar__i .dot { top: 2px; inset-inline-end: calc(50% - 22px); }
@media (max-width: 899px) { .tabbar { display: grid; } }

/* ---------- dialogs ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: var(--cocoa); background: var(--surface); }
dialog::backdrop { background: rgba(26, 15, 10, .55); backdrop-filter: blur(4px); }
.sheet { position: fixed; inset: auto 0 0; width: 100%; max-height: 92svh; margin: 0; border-radius: 26px 26px 0 0; overflow: auto; overscroll-behavior: contain; padding: 18px var(--gutter) calc(24px + var(--safe-b)); }
.sheet[open] { animation: up .45s var(--ease); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-inline-end: 48px; }
.sheet__top .eyebrow { color: var(--cocoa-2); }
.sheet__x { position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; background: rgba(251, 245, 236, .9); }
.sheet .muted { color: var(--cocoa-2); }
.sheet :focus-visible { outline-color: var(--orange); }
@media (min-width: 900px) {
  .sheet--bag, .sheet--menu { inset: 0 0 0 auto; width: min(460px, 100%); height: 100%; max-height: none; border-radius: 0; padding: 24px 32px; }
  :root[dir="rtl"] .sheet--bag, :root[dir="rtl"] .sheet--menu { inset: 0 auto 0 0; }
  .sheet--bag[open], .sheet--menu[open] { animation: side .45s var(--ease); }
  .sheet--product { inset: 0; margin: auto; width: min(1080px, 94vw); height: fit-content; max-height: 90vh; border-radius: 28px; padding: 0; overflow: hidden; }
  .sheet--product[open] { animation: none; }
  .sheet--search, .sheet--info { inset: 10vh 0 auto; margin-inline: auto; width: min(720px, 94vw); max-height: 80vh; border-radius: 26px; padding: 22px 26px; }
  .sheet--search[open], .sheet--info[open] { animation: none; }
}
@keyframes side { from { transform: translateX(40px); opacity: 0; } }
.sheet--info p { margin-bottom: 12px; }
.sheet--info .contact__big { color: var(--orange); font-size: clamp(1.8rem, 4vw, 2.6rem); }

.menu__nav { display: grid; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding-block: 12px; border-bottom: 1px solid rgba(35, 20, 13, .1); text-decoration: none; font: 400 2.2rem/1.1 var(--display); }
:root[lang="ar"] .menu__nav a { font-family: 'Noto Naskh Arabic', serif; font-size: 1.8rem; line-height: 1.4; }
.menu__nav b { font: 600 12px/1 var(--sans); color: var(--orange); min-width: 24px; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.menu__foot .btn--accent { background: var(--orange); color: #fff; }

.search-big { flex: 1; position: relative; display: flex; align-items: center; }
.search-big svg { position: absolute; inset-inline-start: 16px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .6; pointer-events: none; }
.search-big input { width: 100%; min-height: 54px; padding: 0 18px 0 48px; border-radius: 999px; border: 1px solid rgba(35, 20, 13, .2); background: #fff; font-size: 17px; }
:root[dir="rtl"] .search-big input { padding: 0 48px 0 18px; }
.results { display: grid; gap: 6px; }
.results__hint { color: var(--cocoa-2); padding: 8px 4px; }
.results__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.results__chips .chip { border-color: rgba(35, 20, 13, .2); }
.result { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; text-align: start; }
.result:hover, .result:focus-visible { background: var(--cream); }
.result img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.result b { display: block; font-weight: 600; text-transform: capitalize; }
.result small { color: var(--cocoa-2); }
.result span { font-weight: 600; color: var(--orange); white-space: nowrap; }

/* product sheet */
.pd { display: grid; }
.pd__gallery { position: relative; background: var(--cream); min-width: 0; }
.pd__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd__slides::-webkit-scrollbar { display: none; }
.pd__slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; max-height: 56svh; object-fit: cover; scroll-snap-align: start; }
.pd__thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; }
.pd__thumbs button { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; opacity: .55; border: 2px solid transparent; }
.pd__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--orange); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__info { display: grid; gap: 14px; align-content: start; padding: 22px 4px 8px; min-width: 0; }
.pd__info .eyebrow { color: var(--cocoa-2); }
.pd__title { font-size: clamp(2rem, 3.6vw, 3.2rem); text-transform: capitalize; }
.pd__price { font: 400 1.9rem/1 var(--display); color: var(--orange); }
.pd__label { font-size: 13px; font-weight: 600; color: var(--cocoa-2); }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(35, 20, 13, .25); font-size: 14px; }
.variant[aria-checked="true"] { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.variant[aria-disabled="true"] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pd__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pd__buy .btn { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(35, 20, 13, .25); border-radius: 999px; }
.qty button { width: 44px; height: 44px; font-size: 18px; }
.qty output, .qty span { min-width: 28px; text-align: center; font-weight: 600; }
.pd__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.pd__links > * { text-decoration: underline; min-height: 36px; display: inline-flex; align-items: center; }
.pd__links [aria-pressed="true"] { color: var(--orange); }
.pd__note { font-size: 13px; color: var(--cocoa-2); }
.pd__desc { font-size: 15px; color: var(--cocoa-2); white-space: pre-line; }
@media (min-width: 900px) {
  .pd { grid-template-columns: 1.05fr .95fr; height: min(90vh, 760px); }
  .pd__gallery { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
  .pd__slides img { aspect-ratio: auto; height: 100%; max-height: none; }
  .pd__slides { min-height: 0; }
  .pd__info { overflow: auto; padding: 40px 40px 32px; }
}

/* bag */
.bag__items { display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid rgba(35, 20, 13, .1); }
.line img { width: 76px; height: 92px; border-radius: 12px; object-fit: cover; }
.line b { display: block; font-weight: 600; text-transform: capitalize; }
.line small { display: block; font-size: 13px; color: var(--cocoa-2); }
.line .qty { margin-top: 8px; }
.line .qty button { width: 38px; height: 38px; }
.line__end { display: grid; justify-items: end; gap: 6px; font-weight: 600; }
.line__end button { font-size: 13px; font-weight: 500; color: var(--cocoa-2); text-decoration: underline; min-height: 32px; }
.bag__foot { display: grid; gap: 12px; margin-top: 18px; }
.bag__total { display: flex; justify-content: space-between; font-weight: 600; font-size: 17px; }
.bag__note { display: grid; gap: 6px; }
.bag__note label { font-size: 13px; font-weight: 600; color: var(--cocoa-2); }
.bag__note textarea { min-height: 76px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(35, 20, 13, .2); background: #fff; resize: vertical; }
.bag__fine { font-size: 12px; color: var(--cocoa-2); }
.bag__empty { display: grid; justify-items: center; gap: 16px; padding: 40px 0; text-align: center; color: var(--cocoa-2); }
.bag__empty img { width: 96px; height: 96px; border-radius: 50%; }

/* toast + offline */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--cocoa); color: var(--cream); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
:root.in-compose .toast { bottom: calc(170px + var(--safe-b)); }
@media (min-width: 900px) { .toast, :root.in-compose .toast { bottom: 32px; } }
.offline { position: fixed; z-index: 80; inset: var(--hdr) 0 auto; padding: 8px var(--gutter); background: var(--gold); color: var(--cocoa); font-size: 13px; font-weight: 600; text-align: center; }
.offline[hidden] { display: none; }

/* reveals */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
:root.reduce .reveal, :root.reduce .hero__line { opacity: 1 !important; transform: none !important; }
:root.reduce .hero__next i { animation: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .hero__line { opacity: 1 !important; transform: none !important; } .hero__next i { animation: none; } .story__frame img { transform: none; } }
