/* Hikaya — shared design system (2026 redesign). Used by every page. */
/* =========================================================
   HIKAYA DESIGN TOKENS (shared system — reused on every page)
   ========================================================= */
:root {
  --ivory: #F7F1E8;
  --sand: #EEE4D6;
  --card: #F3EADF;
  --white: #FFFCF7;
  --ink: #261C17;
  --ink-soft: #5E4A3D;
  --brand: #8A5638;
  --brand-dark: #573624;
  --taupe: #D8C5B3;
  --gold: #C7A56C;

  --serif: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-card: 14px;
  --r-btn: 28px;
  --shadow: 0 1px 2px rgba(38,28,23,.05), 0 10px 26px -14px rgba(38,28,23,.22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(44px, 5vw, 68px);
}
[dir="rtl"] {
  --serif: 'Amiri', 'Cormorant Garamond', serif;
  --sans: 'Cairo', 'Manrope', system-ui, sans-serif;
  --hand: 'Amiri', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px)); color-scheme: light; }
:root { padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
main#main:focus { outline: none; }
bdi { unicode-bidi: isolate; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 4vw, 3.9rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 2.7vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.3rem; line-height: 1.2; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
[dir="rtl"] h1 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
p { margin: 0; }
.sub { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 44ch; }
.hand { font-family: var(--hand); color: var(--brand); line-height: 1.05; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: var(--r-btn); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: rgba(255,252,247,.7); color: var(--ink); border-color: var(--taupe); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn .arr { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(3px); }
.text-link { font-weight: 600; font-size: 14px; color: var(--ink-soft); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.text-link:hover { color: var(--brand); }
[dir="rtl"] .text-link .arr { transform: scaleX(-1); display: inline-block; }

/* ---------- Development tags ---------- */
.dev-tag { display: none; position: absolute; z-index: 5; inset-block-start: 8px; inset-inline-start: 8px; font: 600 10px/1 'Manrope', sans-serif; letter-spacing: .02em; color: #fff; background: rgba(38,28,23,.72); padding: 4px 7px; border-radius: 5px; pointer-events: none; }
body.dev .dev-tag { display: inline-block; }
.dev-note { display: none; }
body.dev .dev-note { display: block; }

/* =========================================================
   UTILITY BAR + HEADER
   ========================================================= */
.utility { background: var(--brand-dark); color: #F2E6D6; font-size: 12.5px; position: relative; z-index: 60; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.utility .msg { display: flex; align-items: center; gap: 8px; }
.utility .msg svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; }
.utility .controls { display: flex; align-items: center; gap: 4px; flex: none; }
.util-btn { background: none; border: 0; color: inherit; font-size: 12.5px; padding: 5px 8px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.util-btn:hover, .util-btn[aria-pressed="true"] { color: #fff; }
.util-btn[aria-pressed="true"] { font-weight: 700; }
.util-btn[aria-pressed="false"] { opacity: .72; }
.util-btn .ls { display: none; }
.util-sep { width: 1px; height: 13px; background: rgba(242,230,214,.35); }
.region { position: relative; }
.region-menu { position: absolute; z-index: 60; top: calc(100% + 6px); inset-inline-end: 0; min-width: 230px; background: var(--white); color: var(--ink); border: 1px solid var(--taupe); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(38,28,23,.35); padding: 6px; margin: 0; list-style: none; }
.region-menu[hidden] { display: none; }
.region-menu button { width: 100%; text-align: start; background: none; border: 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.region-menu button:hover, .region-menu button:focus-visible { background: var(--card); }
.region-menu button[aria-checked="true"] { color: var(--brand); font-weight: 700; }
.region-menu .cur { color: var(--ink-soft); font-size: 12.5px; font-weight: 500; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(247,241,232,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(216,197,179,.7); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 74px; }
.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; justify-self: start; }
.wordmark .w1 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 32px; letter-spacing: -.01em; color: var(--ink); }
.wordmark .w2 { font-family: 'Manrope', sans-serif; font-size: 10.5px; color: var(--ink-soft); margin-top: 3px; letter-spacing: .04em; padding-inline-start: 2px; }
.main-nav ul { display: flex; gap: clamp(22px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink); padding: 8px 0; border-bottom: 1.5px solid transparent; }
.main-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--card); color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-badge { display: none; position: absolute; top: 3px; inset-inline-end: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; align-items: center; justify-content: center; }
.header-actions .btn { margin-inline-start: 12px; min-height: 44px; padding: 0 22px; font-size: 14px; }
.menu-btn { display: none; }
.mobile-nav[hidden] { display: none; }

/* =========================================================
   01 HERO — single photo, softly faded into the page
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 68%; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 14%, rgba(0,0,0,.85) 32%, #000 44%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 14%, rgba(0,0,0,.85) 32%, #000 44%); }
[dir="rtl"] .hero-media img { -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.35) 14%, rgba(0,0,0,.85) 32%, #000 44%); mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.35) 14%, rgba(0,0,0,.85) 32%, #000 44%); }
.hero-media::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 70px; background: linear-gradient(to top, var(--ivory), transparent); }
.hero-media .dev-tag { inset-inline-start: auto; inset-inline-end: 14px; inset-block-start: 14px; }
.hero .wrap { position: relative; z-index: 2; min-height: clamp(520px, calc(100vh - 230px), 620px); display: flex; align-items: center; }
.hero-copy { max-width: 620px; padding-block: 44px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lede { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .hand { display: block; font-size: 2.1rem; margin-top: 34px; transform: rotate(-3deg); transform-origin: left; max-width: 12ch; }
[dir="rtl"] .hero-copy .hand { transform: none; }

/* =========================================================
   02 FROM A STORY TO THEIR STORY
   ========================================================= */
.journey { padding-block: var(--sec); }
.journey h2 { margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); padding: 20px 20px 0; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(38,28,23,.04); overflow: hidden; }
.step-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.step .step-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.3; padding-top: 6px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; }
.step-visual { position: relative; margin-top: auto; aspect-ratio: 4 / 3; margin-inline: -20px; overflow: hidden; background: var(--card); }
.step-visual > img { width: 100%; height: 100%; object-fit: cover; }
/* Step 2: tablet showing the real personalisation fields (name, age, photo) */
.tablet { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: 62%; height: 96%; background: #2b2420; border-radius: 16px 16px 0 0; padding: 9px 9px 0; box-shadow: 0 10px 24px -10px rgba(38,28,23,.5); }
.tablet .scr { background: var(--white); border-radius: 9px 9px 0 0; height: 100%; padding: 12px 11px; display: flex; flex-direction: column; gap: 8px; font-size: 10.5px; overflow: hidden; }
.tablet .t-h { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 14px; line-height: 1.1; }
[dir="rtl"] .tablet .t-h { font-family: var(--serif); }
.tablet .lbl { display: block; color: var(--ink-soft); font-weight: 700; font-size: 9px; margin-bottom: 3px; }
.tablet .inp { border: 1px solid var(--taupe); border-radius: 6px; padding: 4px 7px; font-weight: 600; font-size: 11px; }
.tablet .ages { display: flex; gap: 4px; }
.tablet .ages span { flex: 1; text-align: center; border: 1px solid var(--taupe); border-radius: 5px; padding: 3px 0; font-weight: 700; font-size: 9.5px; }
.tablet .ages .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tablet .ph { display: flex; align-items: center; gap: 6px; border: 1px dashed var(--brand); border-radius: 6px; padding: 4px 6px; font-weight: 600; font-size: 10px; }
.tablet .ph img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
/* Step 3: finished book, framed */
.v-book { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--card), var(--sand)); }
.v-book .bk { position: relative; width: 58%; aspect-ratio: 1; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 8px 12px 24px -10px rgba(38,28,23,.55); }
.v-book .bk img { width: 100%; height: 100%; object-fit: cover; }
.v-book .bk::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 9%; background: linear-gradient(to right, rgba(0,0,0,.3), rgba(255,255,255,.14) 55%, rgba(0,0,0,.05)); z-index: 1; }

/* =========================================================
   03/04 STORY SHELVES
   ========================================================= */
.shelf { padding-block: 8px 34px; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shelf-controls { display: flex; align-items: center; gap: 8px; }
.shelf-controls .text-link { margin-inline-end: 8px; }
.arrow-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--taupe); background: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: border-color .2s, color .2s, opacity .2s; }
.arrow-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.arrow-btn:disabled { opacity: .35; cursor: default; }
.arrow-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
[dir="rtl"] .arrow-btn svg { transform: scaleX(-1); }

.track { --cols: 5; --gap: 18px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; margin: 0; padding: 4px 2px 14px; list-style: none; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }

.story-card { scroll-snap-align: start; position: relative; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: 12px; padding: 7px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(38,28,23,.06), 0 18px 32px -16px rgba(38,28,23,.38); }
.story-card .cover { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--sand); }
.story-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.story-card:hover .cover img { transform: scale(1.02); }
.cover .ttl, .story-card .cover .ttl { position: absolute; z-index: 2; inset-inline: 0; top: 0; padding: 10px 12px 40px; text-align: center; color: #FFF8EE; background: linear-gradient(to bottom, rgba(38,28,23,.62), rgba(38,28,23,.3) 60%, transparent); }
.cover .ttl small, .story-card .cover .ttl small { display: block; font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 700; }
.cover .ttl span, .story-card .cover .ttl span { display: block; font-family: var(--serif); font-size: 13.5px; font-weight: 600; line-height: 1.15; }
.cover .ttl .name-slot, .story-card .cover .ttl .name-slot { display: inline; color: inherit; }
.story-card .body { padding: 11px 6px 6px; }
.story-card h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
[dir="rtl"] .story-card h3 { font-family: var(--sans); }
.story-card h3 a { text-decoration: none; }
.story-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: 12px; }
.story-card h3 a:focus-visible { outline: none; }
.story-card:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.story-card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--ink-soft); }
.story-card .meta .theme { color: var(--brand); background: var(--card); border-radius: 4px; padding: 1px 7px; font-size: 11.5px; font-weight: 600; }
.name-slot { color: var(--brand); font-style: italic; border-bottom: 1.5px dashed currentColor; }

/* =========================================================
   05 PACKAGING BANNER
   ========================================================= */
.banner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; min-height: 340px; border-radius: 16px; overflow: hidden; background: linear-gradient(90deg, var(--sand), var(--card)); }
.banner-media { position: absolute; inset-block: 0; inset-inline-start: 0; width: 56%; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 40%); mask-image: linear-gradient(to left, transparent 0, #000 40%); }
[dir="rtl"] .banner-media img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.banner-copy { grid-column: 2; position: relative; z-index: 2; padding: 40px clamp(24px, 4vw, 56px) 40px 0; }
[dir="rtl"] .banner-copy { padding: 40px 0 40px clamp(24px, 4vw, 56px); }
.banner-copy h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 10px; }
.banner-copy p { color: var(--ink-soft); margin-bottom: 8px; max-width: 40ch; }
.banner-copy .note { font-size: 13.5px; margin-bottom: 22px; }

/* =========================================================
   06 REVIEWS
   ========================================================= */
.reviews { padding-block: var(--sec) 28px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.25fr; grid-template-rows: auto 1fr; gap: 0 18px; }
.rev-grid > h2 { grid-column: 1 / 4; margin-bottom: 22px; }
.rev-head-note { grid-column: 1 / 4; }
.review { position: relative; grid-row: 2; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 14px; margin: 0; box-shadow: var(--shadow); }
.review .stars { color: #D49A3A; letter-spacing: 2px; font-size: 14px; }
.review blockquote { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.review figcaption b { color: var(--ink); display: block; font-size: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--card); border: 1px solid var(--taupe); color: var(--brand); font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review .dev-tag { inset-block-start: auto; bottom: 10px; inset-inline-start: auto; inset-inline-end: 10px; }
.rev-photo { position: relative; grid-column: 4; grid-row: 1 / 3; border-radius: var(--r-card); overflow: hidden; min-height: 280px; }
.rev-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
[dir="rtl"] .rev-photo img { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 22%); mask-image: linear-gradient(to left, transparent 0, #000 22%); }
.rev-photo .dev-tag { inset-inline-start: auto; inset-inline-end: 10px; }

/* =========================================================
   07 MORE THAN A BOOK (light photo band)
   ========================================================= */
.band { position: relative; overflow: hidden; border-radius: 16px; background: var(--card); min-height: 360px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.band-media { position: absolute; inset-block: 0; width: 58%; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.why .band-media { inset-inline-start: 0; }
.why .band-media img { object-position: 20% 50%; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 34%); mask-image: linear-gradient(to left, transparent 0, #000 34%); }
[dir="rtl"] .why .band-media img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
.why .band-copy { grid-column: 2; position: relative; z-index: 2; padding: 40px clamp(24px, 4vw, 56px) 40px 12px; text-align: center; }
[dir="rtl"] .why .band-copy { padding: 40px 12px 40px clamp(24px, 4vw, 56px); }
.why h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.15; margin-bottom: 14px; }
.why h2 .hand { font-size: 1.25em; margin-inline-end: 4px; }
.why h2 .l2 { display: block; font-style: italic; font-weight: 500; }
[dir="rtl"] .why h2 .l2 { font-style: normal; }
.why p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 24px; }
.section-gap { padding-block: 34px; }

/* =========================================================
   08 FINAL CTA (photo band)
   ========================================================= */
.final .band { min-height: 300px; background: linear-gradient(90deg, var(--card), var(--sand)); }
.final .band-media { inset-inline-end: 0; width: 60%; }
.final .band-media img { object-position: 60% 60%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36%); mask-image: linear-gradient(to right, transparent 0, #000 36%); }
[dir="rtl"] .final .band-media img { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 36%); mask-image: linear-gradient(to left, transparent 0, #000 36%); }
.final .band-copy { position: relative; z-index: 2; padding: 44px clamp(24px, 4vw, 60px); }
.final h2 { font-size: clamp(1.9rem, 2.7vw, 2.6rem); line-height: 1.15; margin-bottom: 24px; }
.final .band-copy { max-width: 640px; }
.final .band-media .dev-tag, .why .band-media .dev-tag { z-index: 5; }
.final .band-media .dev-tag { inset-inline-start: auto; inset-inline-end: 12px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--brand-dark); color: #E6D6C2; font-size: 13.5px; padding-block: 48px 24px; margin-top: var(--sec); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) auto; gap: 28px; align-items: start; }
.site-footer .wordmark .w1 { color: #FFF8EE; }
.site-footer .wordmark .w2 { color: #D2BCA2; }
.site-footer .about { max-width: 30ch; margin-top: 14px; color: #D2BCA2; }
.site-footer h2 { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: #FFF8EE; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #E6D6C2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-mark { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #FFF8EE; justify-self: end; align-self: center; }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(230,214,194,.2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #CDB79D; }
.foot-bottom .dev-note { color: #F2D9B5; }

.sticky-cta { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { --cols: 4; }
  .rev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rev-photo { grid-column: 1 / -1; grid-row: auto; min-height: 260px; margin-top: 18px; order: 9; }
  .rev-photo img { -webkit-mask-image: none; mask-image: none; }
  .foot-grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .foot-mark { display: none; }
}
@media (max-width: 1023px) {
  .main-nav, .header-actions .hide-tab { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { grid-template-columns: 1fr auto; gap: 8px; }
  .mobile-nav { border-top: 1px solid var(--taupe); background: var(--ivory); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
  .mobile-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--taupe); text-decoration: none; font-weight: 600; font-size: 16px; }
  .mobile-nav .btn { width: 100%; margin-top: 18px; }

  .hero-media { position: relative; width: auto; aspect-ratio: 16 / 11; inset: auto; }
  .hero-media img, [dir="rtl"] .hero-media img { -webkit-mask-image: none; mask-image: none; }
  .hero .wrap { min-height: 0; display: block; }
  .hero-copy { max-width: 640px; padding-block: 4px 40px; }
  .hero-copy .hand { margin-top: 24px; font-size: 1.8rem; }

  .track { --cols: 3; }
  .banner, .band, .final .band { grid-template-columns: 1fr; min-height: 0; }
  .banner-media, .band-media, .final .band-media { position: relative; inset: auto; width: auto; aspect-ratio: 16 / 9; }
  .banner-media img, .band-media img, .why .band-media img, .final .band-media img,
  [dir="rtl"] .banner-media img, [dir="rtl"] .why .band-media img, [dir="rtl"] .final .band-media img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%); mask-image: linear-gradient(to top, transparent 0, #000 30%); }
  .banner-copy, .why .band-copy, .final .band-copy, [dir="rtl"] .banner-copy, [dir="rtl"] .why .band-copy { grid-column: 1; padding: 0 24px 32px; text-align: start; }
  .why p { margin-inline: 0; }
  .final .band-media { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --sec: 44px; }
  body { font-size: 15.5px; }
  h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  h2 { font-size: clamp(1.7rem, 7.2vw, 2.1rem); }
  .utility .msg { font-size: 11.5px; }
  .utility .msg svg, .util-btn .globe, .util-btn .lf { display: none; }
  .util-btn .ls { display: inline; }
  .util-btn { padding: 5px 5px; }
  .site-header .wrap { min-height: 62px; }
  .wordmark .w1 { font-size: 28px; }
  .header-actions .btn { display: none; }
  .hero-media { aspect-ratio: 1 / 1.02; }
  .hero-copy { margin-top: -20px; position: relative; }
  .hero-copy h1 { margin-bottom: 14px; }
  .hero-copy .lede { margin-bottom: 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step-visual { aspect-ratio: 16 / 10; }
  .tablet { width: 52%; }
  .shelf-head { align-items: center; }
  .shelf-controls .arrow-btn { display: none; }
  .track { --cols: 1; grid-auto-columns: 62vw; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); --gap: 12px; }
  .rev-grid { grid-template-columns: 1fr; gap: 12px; }
  .rev-grid > h2 { grid-column: 1; margin-bottom: 6px; }
  .review { grid-row: auto; }
  .rev-photo { grid-column: 1; margin-top: 0; aspect-ratio: 16 / 10; min-height: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .sticky-cta { display: flex; position: fixed; z-index: 70; inset-inline: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(247,241,232,.96); border-top: 1px solid var(--taupe); transform: translateY(110%); transition: transform .3s var(--ease); }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta .btn { width: 100%; }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* =========================================================
   SHARED PAGE PATTERNS (collection, age group, story detail…)
   ========================================================= */
.main-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.page-hero { position: relative; overflow: hidden; background: var(--ivory); }
.page-hero .hero-media { width: 60%; }
.page-hero .wrap { min-height: 320px; }
.page-hero h1 { font-size: clamp(2.3rem, 3.6vw, 3.4rem); margin-bottom: 12px; }
.page-hero .hero-copy { max-width: 520px; padding-block: 36px; }
.crumbs { font-size: 13px; color: var(--ink-soft); padding-block: 18px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--taupe); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 22px 18px; border-bottom: 1px solid rgba(216,197,179,.6); margin-bottom: 24px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--taupe); border-radius: 22px; padding: 10px 38px 10px 16px; min-height: 42px; cursor: pointer; }
[dir="rtl"] .select select { padding: 10px 16px 10px 38px; }
.select::after { content: ""; position: absolute; inset-inline-end: 15px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select:hover { border-color: var(--brand); }
.filters .count { margin-inline-start: auto; font-size: 13.5px; color: var(--ink-soft); }
.filters .reset { background: none; border: 0; font-weight: 600; font-size: 13.5px; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; list-style: none; margin: 0; padding: 0; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--ink-soft); }
.empty-state h2 { font-size: 1.6rem; margin-bottom: 8px; }

/* Pills (age chips) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 24px; background: var(--white); border: 1px solid var(--taupe); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill[aria-current="page"], .pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Help band ("Not sure where to start?") */
.help .band { background: linear-gradient(90deg, var(--card), var(--sand)); min-height: 320px; }
.help .band-media { inset-inline-end: 0; width: 55%; }
.help .band-media img { object-position: 30% 40%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36%); mask-image: linear-gradient(to right, transparent 0, #000 36%); }
[dir="rtl"] .help .band-media img { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 36%); mask-image: linear-gradient(to left, transparent 0, #000 36%); }
.help .band-copy { position: relative; z-index: 2; padding: 40px clamp(24px, 4vw, 56px); }
.help h2 { margin-bottom: 8px; }
.help p { color: var(--ink-soft); margin-bottom: 22px; }

/* Theme tiles (age page) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px 12px; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .2s, transform .2s var(--ease); }
.tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.ico { width: 52px; height: 52px; border-radius: 50%; background: var(--card); display: inline-flex; align-items: center; justify-content: center; color: var(--brand); flex: none; }
.ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.tile small { font-weight: 500; color: var(--ink-soft); font-size: 12.5px; }

/* Quote band (age page) */
.quote .band { min-height: 380px; background: var(--card); }
.quote .band-media { inset-inline-start: 0; width: 56%; }
.quote .band-media img { object-position: 40% 40%; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 34%); mask-image: linear-gradient(to left, transparent 0, #000 34%); }
[dir="rtl"] .quote .band-media img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
.quote .band-copy { grid-column: 2; position: relative; z-index: 2; padding: 40px clamp(24px, 4vw, 56px) 40px 0; }
[dir="rtl"] .quote .band-copy { padding: 40px 0 40px clamp(24px, 4vw, 56px); }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.35; font-weight: 500; position: relative; padding-inline-start: 34px; }
.quote blockquote::before { content: "“"; position: absolute; inset-inline-start: 0; top: -14px; font-size: 3.4rem; color: var(--brand); line-height: 1; }

/* Section heads */
.sec { padding-block: var(--sec) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec h2.small { font-size: clamp(1.5rem, 2.1vw, 1.95rem); }

/* Story detail */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 60px); padding-block: 22px 8px; align-items: start; }
.gallery .main { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; background: var(--sand); }
.gallery .main .cover { aspect-ratio: 1; border-radius: 0; }
.gallery .main .cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .cover .ttl { padding: 22px 24px 70px; }
.gallery .main .cover .ttl small { font-size: 24px; }
.gallery .main .cover .ttl span { font-size: 28px; }
.gallery .main .cover::before { width: 5%; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.thumbs button { all: unset; cursor: pointer; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; background: var(--sand); }
.thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.thumbs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(2rem, 3vw, 2.9rem); margin-bottom: 8px; }
.buy .ages { font-weight: 700; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; list-style: none; padding: 0; }
.chips li { background: var(--card); color: var(--brand); border-radius: 6px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.buy .premise { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 22px; max-width: 48ch; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 15px; direction: ltr; unicode-bidi: isolate; justify-content: flex-start; }
[dir="rtl"] .pdp-price { justify-content: flex-end; }
.pdp-price .now { font-family: var(--sans); font-weight: 700; font-size: 1.7rem; color: var(--ink); }
.pdp-price .was { text-decoration: line-through; color: var(--ink-soft); opacity: .7; }
.buy .incl { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 20px; }
.buy .btn { width: 100%; max-width: 420px; }
.buy .ship { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
.buy .ship svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 1.5; flex: none; }
.buy .bundle { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--card); font-size: 13.5px; max-width: 420px; }

.learn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.learn li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 10px; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); font-weight: 600; font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.plist li .ico { width: 38px; height: 38px; }
.plist li .ico svg { width: 18px; height: 18px; }
.plist li b { display: block; font-weight: 700; }
.plist li span { color: var(--ink-soft); font-size: 13.5px; }
.inside { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--sand); }
.inside .pv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
.inside .pv-grid button { all: unset; cursor: zoom-in; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); }
.inside .pv-grid img { width: 100%; height: 100%; object-fit: contain; }
.inside > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.inside .note { font-size: 12.5px; color: var(--ink-soft); padding: 10px 14px; background: var(--white); }
.included { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.included li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.3; }
.prose { color: var(--ink-soft); max-width: 70ch; font-size: 1.02rem; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20,14,10,.92); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox .x { top: 16px; inset-inline-end: 16px; }

@media (max-width: 1199px) {
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .included { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 1023px) {
  .page-hero .hero-media { width: auto; }
  .page-hero .wrap { min-height: 0; }
  .help .band-media, .quote .band-media { position: relative; inset: auto; width: auto; aspect-ratio: 16 / 9; }
  .help .band-media img, .quote .band-media img, [dir="rtl"] .help .band-media img, [dir="rtl"] .quote .band-media img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%); mask-image: linear-gradient(to top, transparent 0, #000 30%); }
  .help .band-media { order: -1; }
  .help .band-copy, .quote .band-copy, [dir="rtl"] .quote .band-copy { grid-column: 1; padding: 0 24px 32px; }
  .tiles, .learn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp, .two-col { grid-template-columns: 1fr; }
  .buy .btn { max-width: none; }
}
@media (max-width: 767px) {
  .page-hero .hero-media { aspect-ratio: 16 / 11; }
  .page-hero .hero-copy { margin-top: -16px; padding-block: 0 24px; }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .story-card h3 { font-size: 13.5px; }
  .filters { gap: 8px; }
  .select select { padding: 8px 32px 8px 12px; font-size: 13px; min-height: 40px; }
  .filters .count { width: 100%; margin: 0; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote blockquote { font-size: 1.25rem; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

[hidden] { display: none !important; }
.gallery .main .cover { position: relative; overflow: hidden; }
.gallery .main .cover::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; z-index: 1; background: linear-gradient(to right, rgba(0,0,0,.22), rgba(255,255,255,.1) 60%, transparent); }

/* =========================================================
   PURCHASE-FLOW SKIN (personalise, cart, checkout)
   Re-themes the existing, working pages without touching their logic.
   ========================================================= */
body[data-flow] {
  --coral: #8A5638; --coral-deep: #573624; --line: #D8C5B3; --line-soft: #EEE4D6;
  --bg: #F7F1E8; --bg-soft: #F3EADF; --cream: #F7F1E8; --radius: 14px; --radius-lg: 18px;
  font-family: var(--sans); background: var(--ivory); color: var(--ink);
}
body[data-flow] h1, body[data-flow] h2, body[data-flow] h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
body[data-flow] .page-head { text-align: start; padding: 26px var(--gutter) 4px; max-width: var(--wrap); margin-inline: auto; }
body[data-flow] .page-head h1 { font-size: clamp(2rem, 3vw, 2.7rem); }
body[data-flow] .page-head p { font-weight: 500; color: var(--ink-soft); }
body[data-flow] .btn-primary { box-shadow: none; font-family: var(--sans); font-weight: 700; border-radius: var(--r-btn); background: var(--brand); color: #fff; min-height: 48px; }
body[data-flow] .btn-primary:hover { background: var(--brand-dark); filter: none; }
body[data-flow] .btn-primary:disabled { background: #E7DED2; color: var(--ink-soft); }
body[data-flow] .btn-secondary { border-radius: var(--r-btn); }
body[data-flow] input[type="text"], body[data-flow] input[type="email"], body[data-flow] input[type="tel"], body[data-flow] input[type="number"],
body[data-flow] input[type="password"], body[data-flow] select, body[data-flow] textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--taupe); border-radius: 10px; padding: 12px 14px; box-shadow: none;
}
body[data-flow] input:focus, body[data-flow] select:focus, body[data-flow] textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(138,86,56,.15); }
body[data-flow] .field-label { font-weight: 600; font-size: 13.5px; color: var(--ink); }
body[data-flow] .req-mark { color: var(--brand); }

/* Steppers (personalise + checkout) — circles joined by a line, like the mockup */
body[data-flow] .wizard-progress, body[data-flow] .checkout-progress { justify-content: center; gap: 0; padding: 26px 0 6px; }
body[data-flow] .wizard-progress .w-step, body[data-flow] .progress-step { flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); min-width: 74px; text-align: center; }
body[data-flow] .wizard-progress .w-step .w-dot, body[data-flow] .progress-step .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--taupe); color: var(--ink-soft); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
body[data-flow] .wizard-progress .w-step.active .w-dot, body[data-flow] .wizard-progress .w-step.done .w-dot,
body[data-flow] .progress-step.active .dot, body[data-flow] .progress-step.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
body[data-flow] .wizard-progress .w-step.active, body[data-flow] .progress-step.active { color: var(--ink); }
body[data-flow] .wizard-progress .w-line, body[data-flow] .progress-line { flex: 0 1 70px; height: 1.5px; background: var(--taupe); margin-top: 15px; align-self: flex-start; }
@media (max-width: 700px) { body[data-flow] .wizard-progress .w-step span:last-child { display: inline !important; font-size: 12px; } body[data-flow] .wizard-progress .w-step { min-width: 50px; } body[data-flow] .wizard-progress .w-line { flex-basis: 14px; } }

/* Cards */
body[data-flow] .order-summary, body[data-flow] .cart-item, body[data-flow] .details-card, body[data-flow] .form-block, body[data-flow] .signin-box, body[data-flow] .empty-cart {
  background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); box-shadow: 0 1px 2px rgba(38,28,23,.04);
}
body[data-flow] .summary-box, body[data-flow] .summary-card { background: var(--card); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); box-shadow: none; }
body[data-flow] .summary-box h3, body[data-flow] .summary-card h3, body[data-flow] .order-summary h3 { font-size: 1.35rem; }
body[data-flow] .summary-row, body[data-flow] .price-row { border-color: rgba(216,197,179,.7); }
body[data-flow] .summary-row.total span:last-child, body[data-flow] .price-row.total span:last-child { color: var(--ink); }

/* Personalise */
body[data-flow] .order-layout { max-width: var(--wrap); padding-inline: var(--gutter); }
@media (min-width: 901px) { body[data-flow] .order-layout { grid-template-columns: minmax(300px, 400px) 1fr; gap: clamp(24px, 4vw, 56px); } }
body[data-flow] .summary-cover { border-radius: 10px; }
body[data-flow] .summary-cover.courage, body[data-flow] .story-pick .cover.courage, body[data-flow] .cart-item .cover.courage { background: linear-gradient(165deg, #C9976F, #8A5638); }
body[data-flow] .summary-cover.adventure, body[data-flow] .story-pick .cover.adventure, body[data-flow] .cart-item .cover.adventure { background: linear-gradient(165deg, #D9B98A, #A87A4A); }
body[data-flow] .summary-cover.lullaby, body[data-flow] .story-pick .cover.lullaby, body[data-flow] .cart-item .cover.lullaby { background: linear-gradient(165deg, #6E6487, #3E3A57); }
body[data-flow] .order-form-col h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
body[data-flow] .story-pick { background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: 12px; box-shadow: var(--shadow); }
body[data-flow] .story-pick.selected { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
body[data-flow] .story-pick .cover { border-radius: 8px; }
body[data-flow] .story-pick h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 700; }
body[data-flow] .gender-btn, body[data-flow] .extra-char-btn { background: var(--white); border: 1px solid var(--taupe); border-radius: 12px; font-weight: 600; }
body[data-flow] .gender-btn.selected, body[data-flow] .extra-char-btn.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
body[data-flow] .gender-btn.selected svg { stroke: #fff; }
body[data-flow] .photo-upload { background: var(--white); border: 1.5px dashed var(--brand); border-radius: 12px; }
body[data-flow] .trust-note { background: var(--card); border-radius: 10px; }
body[data-flow] .wizard-nav .btn-back { font-weight: 600; color: var(--ink-soft); }
body[data-flow] .wizard-nav .btn-next { min-width: 180px; justify-content: center; }

/* Cart */
@media (min-width: 861px) { body[data-flow] .cart-layout { grid-template-columns: 1fr 380px; gap: clamp(24px, 3vw, 40px); } }
body[data-flow] .cart-item { padding: 16px; align-items: flex-start; }
body[data-flow] .cart-item .cover { width: 92px; height: 92px; border-radius: 8px; }
body[data-flow] .cart-item .info h3 { font-size: 1.2rem; }
body[data-flow] .upsell-banner { background: var(--card); color: var(--brand-dark); border: 1px solid rgba(216,197,179,.6); }
body[data-flow] .empty-cart { padding: 64px 20px; }
body[data-flow] .empty-cart svg { stroke: var(--brand); }
body[data-flow] .empty-cart h2 { font-size: 1.9rem; }

/* Checkout */
body[data-flow] .mini-banner { display: none; }
body[data-flow] .preview-banner { background: var(--card); color: var(--brand-dark); border: 1px solid rgba(216,197,179,.6); border-radius: 10px; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 16px auto 0; font-size: 13px; }
body[data-flow] .checkout-col h2 { font-size: 1.5rem; }
body[data-flow] .checkout-col h2 .step-num { background: var(--brand); color: #fff; }
body[data-flow] .pay-method-btn { border-radius: 12px; border-color: var(--taupe); background: var(--white); }
body[data-flow] .pay-method-btn.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
body[data-flow] .trust-bar { background: transparent; }
body[data-flow] .trust-line svg { stroke: var(--brand); }

/* Order confirmation (shown on success) */
.order-done { text-align: center; padding-bottom: 20px; }
.order-done .od-media { position: relative; height: clamp(220px, 32vw, 360px); overflow: hidden; margin-bottom: 30px; }
.order-done .od-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%); mask-image: linear-gradient(to top, transparent 0, #000 30%); }
.order-done h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 8px; }
.order-done .lede { margin: 0 auto 26px; }
.od-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; margin: 0 auto 26px; }
.od-facts div { background: var(--card); border-radius: 12px; padding: 14px 18px; text-align: start; }
.od-facts small { display: block; font-size: 12.5px; color: var(--ink-soft); }
.od-facts b { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.od-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

body[data-flow] .site-footer h2 { font-family: var(--sans); color: #FFF8EE; font-size: 13.5px; }
body[data-flow] .site-footer .wordmark .w1 { color: #FFF8EE; }
.od-ctas .btn { width: auto !important; margin-top: 0 !important; min-width: 200px; }
.sibling { margin-top: 26px; }
.sibling h2 { font-size: 1.5rem; margin-bottom: 12px; }
.sib-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.sib-list a { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: 12px; padding: 8px; text-decoration: none; transition: border-color .2s; }
.sib-list a:hover { border-color: var(--brand); }
.sib-list .cover { width: 64px; height: 64px; flex: none; border-radius: 8px; overflow: hidden; position: relative; }
.sib-list .cover img { width: 100%; height: 100%; object-fit: cover; }
.sib-list .cover .ttl, .sib-list .cover .dev-tag { display: none; }
.sib-list b { display: block; font-size: 13.5px; line-height: 1.3; }
.sib-list small { color: var(--ink-soft); font-size: 12px; }
@media (max-width: 767px) { .sib-list { grid-template-columns: 1fr; } }

/* =========================================================
   ABOUT · OUR WORLD · FAQ · CONTACT
   ========================================================= */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 24px 0 0; padding: 0; }
.values li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-weight: 700; font-size: 14px; }
.values small { font-weight: 500; color: var(--ink-soft); font-size: 12.5px; line-height: 1.4; }
.about-why .band { min-height: 420px; }
.about-why .band-media { inset-inline-end: 0; inset-inline-start: auto; width: 52%; }
.about-why .band-media img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
[dir="rtl"] .about-why .band-media img { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 34%); mask-image: linear-gradient(to left, transparent 0, #000 34%); }
.about-why .band-copy { position: relative; z-index: 2; padding: 44px clamp(24px, 4vw, 56px); }
.about-why p { color: var(--ink-soft); max-width: 52ch; margin-top: 10px; }
.world-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.world-grid a { position: relative; display: block; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.world-grid a:hover { transform: translateY(-3px); }
.world-grid .img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.world-grid .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.world-grid a:hover .img img { transform: scale(1.02); }
.world-grid .txt { padding: 14px 16px 18px; background: linear-gradient(180deg, var(--card), var(--white)); }
.world-grid h2 { font-size: 1.45rem; margin-bottom: 4px; }
.world-grid p { color: var(--ink-soft); font-size: 13.5px; }
.faq-hero { position: relative; height: clamp(220px, 28vw, 340px); overflow: hidden; }
.faq-hero img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 35%); mask-image: linear-gradient(to top, transparent 0, #000 35%); }
.faq-wrap { max-width: 880px; margin: -40px auto 0; position: relative; z-index: 2; padding-inline: var(--gutter); }
.faq-wrap h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); margin-bottom: 8px; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.faq-group { padding-top: 28px; }
.faq-group h2 { font-size: 1.55rem; margin-bottom: 10px; }
.faq-group details { background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: 12px; margin-bottom: 10px; }
.faq-group summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; font-size: 15px; position: relative; }
[dir="rtl"] .faq-group summary { padding: 16px 18px 16px 48px; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--brand); }
.faq-group details[open] summary::after { content: "–"; }
.faq-group details p { padding: 0 18px 18px; color: var(--ink-soft); }
.faq-group summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 12px; }
.faq-more { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: var(--card); border-radius: 14px; padding: 20px 22px; }
.faq-more p { flex: 1 1 260px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); padding-block: 28px 8px; align-items: start; }
.contact-grid h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.cform { display: grid; gap: 14px; margin-top: 22px; }
.cform label { display: grid; gap: 6px; font-weight: 600; font-size: 13.5px; }
.cform input, .cform textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--taupe); border-radius: 10px; padding: 12px 14px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(138,86,56,.15); }
.cform .btn { justify-self: start; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-msg.error { color: #A23B2A; }
.form-msg.success { color: #3D5A26; }
.reach { background: var(--card); border-radius: var(--r-card); padding: 24px; }
.reach h2 { font-size: 1.45rem; margin-bottom: 14px; }
.reach dl { margin: 0; display: grid; gap: 14px; }
.reach dt { font-size: 12.5px; color: var(--ink-soft); }
.reach dd { margin: 2px 0 0; font-weight: 700; }
.reach a { color: var(--brand); }
.reach .note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 1023px) {
  .about-why .band-media { position: relative; inset: auto; width: auto; aspect-ratio: 16 / 9; order: -1; }
  .about-why .band-media img, [dir="rtl"] .about-why .band-media img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 30%); mask-image: linear-gradient(to top, transparent 0, #000 30%); }
  .about-why .band-copy { padding: 0 24px 32px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .world-grid { grid-template-columns: 1fr; } }

/* Account · track order · login · legal (skin) */
body[data-flow] .carousel { display: none; }
body[data-flow] .page-hero { overflow: visible; background: transparent; }
body[data-flow] .page-hero .wrap { min-height: 0; display: block; padding-block: 28px 6px; }
body[data-flow] .page-hero h1 { font-size: clamp(2rem, 3vw, 2.7rem); }
body[data-flow] .eyebrow { color: var(--brand); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; }
body[data-flow] .account-layout { gap: clamp(20px, 3vw, 40px); }
body[data-flow] .account-nav { background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); padding: 8px; }
body[data-flow] .account-nav a { border-radius: 10px; font-weight: 600; }
body[data-flow] .account-nav a.active { background: var(--card); color: var(--brand); }
body[data-flow] .panel h2 { font-size: 1.7rem; }
body[data-flow] .order-card, body[data-flow] .address-card { background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); box-shadow: 0 1px 2px rgba(38,28,23,.04); }
body[data-flow] .stage-badge { border-radius: 20px; background: var(--card); color: var(--brand-dark); font-weight: 700; }
body[data-flow] .empty-state { background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); }
body[data-flow] .empty-state .mark { color: var(--gold); }
body[data-flow="legal"] main, body[data-flow="legal"] .legal, body[data-flow="legal"] article { max-width: 820px; }
body[data-flow="legal"] h2 { font-size: 1.5rem; margin-top: 1.4em; }

/* Search page */
.search-box { display: flex; gap: 10px; max-width: 640px; margin-top: 18px; }
.search-box input { flex: 1; font: inherit; font-size: 16px; background: var(--white); border: 1px solid var(--taupe); border-radius: 26px; padding: 12px 20px; color: var(--ink); }
.search-box input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(138,86,56,.15); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-row button { font: inherit; font-size: 13px; font-weight: 600; background: var(--card); border: 0; border-radius: 16px; padding: 6px 12px; cursor: pointer; color: var(--brand-dark); }
.chip-row button:hover { background: var(--sand); }
.page-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 640px; }
.page-results a { display: flex; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: 12px; padding: 14px 16px; text-decoration: none; font-weight: 600; }
.page-results a:hover { border-color: var(--brand); }
.page-results small { color: var(--ink-soft); font-weight: 500; }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 6vw, 80px); }
.nf .img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.nf .img img { width: 100%; height: 100%; object-fit: cover; }
.nf h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin-bottom: 12px; }
.nf .code { font-family: var(--hand); color: var(--brand); font-size: 2rem; display: block; margin-bottom: 6px; }
.nf .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .nf { grid-template-columns: 1fr; } .nf .img { order: -1; } }
body[data-flow] .lang-pill, body[data-flow] .zone-pill { display: none !important; }

/* Photo pack (Oct 2026): keep subjects, books and gift boxes fully visible — text sits in its own ivory panel */
.why .band, .quote .band { background: var(--card); }
.why .band-media img, [dir="rtl"] .why .band-media img,
.quote .band-media img, [dir="rtl"] .quote .band-media img { -webkit-mask-image: none; mask-image: none; }
.why .band-media { width: 56%; }
.why .band-media img { object-position: 72% 50%; }
.why .band-copy { grid-column: 2; }
.why .band { grid-template-columns: 56% 1fr; min-height: 420px; }
.quote .band { grid-template-columns: 52% 1fr; min-height: 400px; }
.quote .band-media { width: 52%; }
.quote .band-media img { object-position: 50% 50%; }
.quote .band-copy { padding-inline-start: clamp(24px, 3vw, 44px); }
.step-visual.v-photo3 > img { object-position: 50% 60%; }
@media (max-width: 1023px) {
  .why .band, .quote .band { grid-template-columns: 1fr; min-height: 0; }
  .why .band-media, .quote .band-media { width: auto; }
  .why .band-media img, .quote .band-media img { -webkit-mask-image: none !important; mask-image: none !important; }
  .why .band-copy, .quote .band-copy { padding-top: 24px; grid-column: 1; }
}

/* Taller inner-page heroes so the photo pack's books stay in frame; softer, shorter fade */
@media (min-width: 1024px) {
  .page-hero .wrap { min-height: clamp(440px, 36vw, 540px); }
  .page-hero .hero-media { width: 62%; }
  .page-hero .hero-media img { -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%); }
  [dir="rtl"] .page-hero .hero-media img { -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%); mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%); }
  body[data-page="stories"] .page-hero .hero-media img { object-position: 60% 70%; }
  body[data-page="ages"] .page-hero .hero-media img { object-position: 55% 45%; }
}
@media (min-width: 1024px) {
  body[data-page="about"] .page-hero .hero-copy { max-width: min(470px, 36vw); }
  body[data-page="about"] .page-hero .hero-media img { object-position: 60% 40%; }
}

/* QA (mobile): tap targets >= 40px and text >= 12px */
.text-link { padding-block: 10px; }
.chip-row button { min-height: 40px; padding: 8px 14px; }
body[data-flow] .remove-btn { min-height: 40px; padding: 8px 10px; margin-inline-start: -10px; }
body[data-flow] .continue-shopping, body[data-flow] .back-link { display: inline-flex; align-items: center; min-height: 44px; }
.story-card .meta .theme { font-size: 12px; }
@media (max-width: 767px) {
  .utility .wrap { min-height: 44px; }
  .utility .msg { font-size: 12.5px; }
  .util-btn { min-height: 40px; min-width: 40px; justify-content: center; font-size: 13px; }
  .wordmark .w2 { font-size: 12px; }
}
body[data-flow] .story-pick .theme { font-size: 12px; letter-spacing: .02em; }
/* Safety net: never allow sideways page scrolling on phones (carousels scroll inside their own track) */
html, body { overflow-x: clip; }
@media (max-width: 900px) { body[data-flow] .order-layout > .order-summary { order: 2; } }
@media (max-width: 640px) { body[data-flow] .story-grid { grid-template-columns: 1fr 1fr; gap: 10px; } body[data-flow] .story-pick h3 { font-size: 13px; } }

/* ===== QA fixes (Oct 2026) ===== */
.search-box input { min-width: 0; }
@media (max-width: 420px) { .search-box .btn { padding: 0 18px; } }
.pdp-price .was { opacity: 1; color: var(--ink-soft); }
.wordmark .w2 { font-size: 11.5px; }
.foot-bottom a { display: inline-block; padding: 10px 4px; margin: -10px 0; }
@media (max-width: 767px) { .foot-bottom a { padding: 12px 6px; } .reach dd a { display: inline-block; padding: 8px 0; } .site-footer ul a { display: inline-block; padding: 6px 0; } }
body[data-flow] .map-hint, body[data-flow] .note, body[data-flow] small { font-size: 12.5px; }
@media (max-width: 1023px) {
  .util-btn { min-height: 40px; padding-inline: 8px; }
  .utility .wrap { min-height: 42px; }
}
body[data-flow] .icon-btn { width: 42px; height: 42px; flex: none; }
body[data-flow] .trust-logos span, body[data-flow] .summary-book .remove-item, body[data-flow] .price-row .note { font-size: 12.5px; }
body[data-flow] .summary-book .remove-item { padding: 8px 0; }
body[data-flow] [data-i18n^="common.theme_"], body[data-flow] .story-pick .theme { color: var(--brand); }
.arrow-btn { width: 44px; height: 44px; }
@media (max-width: 1023px) { .reach dd a { display: inline-block; padding: 8px 0; } }
body[data-flow] [data-i18n^="common.theme_"] { color: var(--brand) !important; }

/* About page — original Maison Jaber copy */
.eyebrow-line { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin-bottom: 10px; }
.beliefs { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.beliefs li { display: flex; gap: 12px; align-items: flex-start; }
.beliefs .ico { width: 40px; height: 40px; }
.beliefs .ico svg { width: 19px; height: 19px; }
.beliefs b { display: block; font-size: 14.5px; }
.beliefs span { display: block; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.golden { text-align: center; padding-block: 18px 6px; max-width: 760px; }
.golden .gold-line { display: block; width: 56px; height: 1.5px; background: var(--gold); margin: 0 auto 18px; }
.golden p { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; color: var(--ink); }
[dir="rtl"] .golden p { font-style: normal; }
@media (max-width: 600px) { .beliefs { grid-template-columns: 1fr; } }
/* Our Story page */
.story-col { max-width: 720px; margin-inline: auto; padding-block: 34px 6px; }
.story-col p { font-size: 1.08rem; line-height: 1.75; color: var(--ink); margin-bottom: 18px; }
[dir="rtl"] .story-col p { font-size: 1.12rem; line-height: 1.9; }
.story-col .pull { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.3; color: var(--brand-dark); margin: 28px 0; padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); }
.story-col .pull.small { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.story-col .pull strong { font-weight: 600; }
.about-why .band-copy p { margin-top: 12px; }
.story-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 30px 0; }
.scard { background: var(--card); border-radius: 16px; padding: clamp(22px, 3vw, 36px); }
.scard h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.scard p { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.7; }
.story-end { padding-top: 26px; }
@media (max-width: 860px) { .story-cards { grid-template-columns: 1fr; } }

/* Official Hikaya logo (stacked lockup) */
.wordmark.logo { display: inline-flex; align-items: center; line-height: 0; padding-block: 6px; }
.site-header .wordmark.logo img { height: 66px; width: auto; }
.site-header .wrap { min-height: 84px; }
.site-footer .wordmark.logo img { height: 112px; width: auto; }
@media (max-width: 767px) {
  .site-header .wordmark.logo img { height: 52px; }
  .site-header .wrap { min-height: 68px; }
  .site-footer .wordmark.logo img { height: 96px; }
}
html { scroll-padding-top: calc(110px + env(safe-area-inset-top, 0px)); }
body[data-flow] .summary-change { background: none; border: 0; padding: 6px 0 2px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body[data-flow] .review-dedication { margin-top: 18px; }
body[data-flow] .review-dedication textarea { width: 100%; min-height: 90px; }
/* Our World: every tile the same size */
.world-grid { grid-auto-rows: 1fr; }
.world-grid li { display: flex; }
.world-grid a { display: flex; flex-direction: column; width: 100%; }
.world-grid .img { flex: none; aspect-ratio: 16 / 11; }
.world-grid .txt { flex: 1; min-height: 104px; }
/* Age Groups: six theme tiles */
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.tile { height: 100%; }
@media (max-width: 767px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body[data-flow] .summary-change { min-height: 44px; padding: 10px 0; display: inline-flex; align-items: center; }
.foot-bottom .powered { color: #E6D6C2; }
/* Ziina */
body[data-flow] .ziina-box h4 { font-size: 15px; }
body[data-flow] .ziina-conv { margin-top: 6px; font-weight: 700; color: var(--ink); }
.ziina-return { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 18px auto 0; padding: 14px 18px; border-radius: 12px; background: var(--card); border: 1px solid rgba(216,197,179,.7); font-weight: 600; text-align: center; }
.ziina-return.warn { background: #FBEDE6; border-color: #E8C3AE; color: #7A3B22; }

/* Development-only content (never shown on the live site) */
.dev-only { display: none; }
body.dev .dev-only { display: block; }

/* Hikaya books are square (21 x 21 cm): every story cover and page is shown 1:1 */
body[data-flow] .summary-cover { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
body[data-flow] .story-pick .cover { aspect-ratio: 1 / 1; height: auto; background-size: cover; background-position: center; }
body[data-flow] .story-pick .cover img { width: 100%; height: 100%; object-fit: cover; }
body[data-flow] .summary-book .cover-mini { width: 84px; height: 84px; aspect-ratio: 1 / 1; align-self: flex-start; background-size: cover; background-position: center; }
.inside .pv-grid button { aspect-ratio: 1 / 1; }
.inside .pv-grid img { object-fit: cover; }

/* Homepage journey: each step card opens the Stories page */
.step-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.step { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.step:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 2px 4px rgba(38,28,23,.06), 0 18px 32px -16px rgba(38,28,23,.35); }
.step:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.step-link:focus-visible { outline: none; }
.step-link .step-visual { margin-top: auto; }
/* Content written separately per language (legal pages): show only the active language. */
html[lang="ar"] [data-lang-only="en"], html:not([lang="ar"]) [data-lang-only="ar"] { display: none !important; }

/* =========================================================
   LAUNCH QA PASS (Oct 2026) — conversion, trust and mobile.
   Uses only existing tokens; no new colours or styles.
   ========================================================= */
/* Story cards: one-liner, price and actions */
.story-card { display: flex; flex-direction: column; }
.story-card .body { display: flex; flex-direction: column; flex: 1; }
.story-card .line { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-card .card-price { margin: 10px 0 0; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.story-card .card-ctas { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: relative; z-index: 5; }
.btn.btn-sm { min-height: 44px; padding: 0 16px; font-size: 13.5px; }
.story-card .card-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.story-card .card-link:hover { color: var(--brand-dark); }
/* Loading skeletons (stories, shelves, personalisation) */
.story-card.is-skeleton { pointer-events: none; box-shadow: none; }
.story-card.is-skeleton .cover, .is-skeleton .sk, .story-pick-sk { background: linear-gradient(90deg, var(--sand) 0%, var(--card) 50%, var(--sand) 100%); background-size: 200% 100%; animation: hk-sk 1.4s ease-in-out infinite; }
.is-skeleton .sk { display: block; height: 11px; border-radius: 6px; margin-top: 10px; }
.is-skeleton .sk-t { width: 80%; height: 13px; } .is-skeleton .sk-m { width: 45%; } .is-skeleton .sk-l { width: 65%; }
.story-pick-sk { aspect-ratio: 1 / 1.2; border-radius: 12px; }
@keyframes hk-sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .story-card.is-skeleton .cover, .is-skeleton .sk, .story-pick-sk { animation: none; } }
.catalog-note { grid-column: 1 / -1; list-style: none; text-align: center; padding: 40px 16px; color: var(--ink-soft); }
/* Hero reassurance + quiet trust */
.hero-assure { margin: 18px 0 0; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink-soft); }
.step-eta { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.trust-quiet { padding-block: 6px 26px; }
.trust-list { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; border-block: 1px solid rgba(216,197,179,.6); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.trust-list li { padding-inline: 16px; }
.trust-list li + li { border-inline-start: 1px solid var(--taupe); }
.trust-list a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 767px) { .trust-list { justify-content: flex-start; flex-direction: column; gap: 10px; } .trust-list li { padding-inline: 0; } .trust-list li + li { border: 0; } }
/* Story page buy box */
.buy-facts { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.buy-facts li { padding-inline-start: 18px; position: relative; }
.buy-facts li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.buy-trust { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }
.buy-trust a { color: inherit; text-underline-offset: 3px; }
.pdp .incl { display: none; }
#inside { scroll-margin-top: 110px; }
/* Photo privacy dialog */
.pv-dialog { border: 0; padding: 0; border-radius: var(--r-card); max-width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(38,28,23,.45); }
.pv-dialog::backdrop { background: rgba(38,28,23,.45); }
.pv-dialog-inner { padding: clamp(22px, 4vw, 34px); position: relative; }
.pv-dialog h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 40px 8px 0; line-height: 1.15; }
[dir="rtl"] .pv-dialog h2 { margin: 0 0 8px 40px; }
.pv-dialog .pv-lede { margin: 0 0 16px; color: var(--ink-soft); }
.pv-dialog dl { margin: 0; display: grid; gap: 14px; }
.pv-dialog dt { font-weight: 700; font-size: 14.5px; }
.pv-dialog dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.pv-dialog .pv-contact { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(216,197,179,.7); font-size: 14px; }
.pv-dialog .pv-more { margin: 8px 0 0; font-size: 14px; }
.pv-dialog a { color: var(--brand); }
.pv-x { position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--ink-soft); cursor: pointer; border-radius: 50%; }
.pv-x:hover { background: var(--card); }
html.pv-open { overflow: hidden; }
/* FAQ answers that hold links */
.faq-group .faq-a p { padding: 0 18px 18px; margin: 0; color: var(--ink-soft); }
.faq-group .faq-a a { color: var(--brand); }
/* Personalise flow */
.wizard-count { text-align: center; margin: 2px 0 0; font-size: 13.5px; font-weight: 700; color: var(--brand); }
body[data-flow] .photo-upload { position: relative; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px 18px; }
body[data-flow] .photo-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
body[data-flow] .photo-upload:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
body[data-flow] .photo-upload .up-ico { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.5; }
body[data-flow] .photo-upload .hint-main { font-weight: 700; font-size: 15.5px; color: var(--ink); }
body[data-flow] .photo-upload .hint-sub { font-size: 13px; color: var(--ink-soft); }
body[data-flow] .photo-thumb { width: 84px; height: 84px; }
body[data-flow] .photo-thumb button.remove-photo { width: 30px; height: 30px; font-size: 16px; top: 3px; inset-inline-end: 3px; right: auto; }
body[data-flow] .photo-thumb .status-badge { font-size: 11px; padding: 4px 0; }
.next-box { margin: 18px 0 4px; padding: 18px 20px; background: var(--card); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); }
.next-box h3 { font-size: 1.25rem; margin: 0 0 8px; }
.next-box ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink); }
.next-box .check-note { margin: 12px 0 0; font-size: 13.5px; color: var(--brand-dark); font-weight: 600; }
.book-lang { margin-top: 14px; max-width: 320px; }
.upload-status { margin-top: 14px; }
.upload-status .up-bar { height: 6px; border-radius: 4px; background: var(--sand); overflow: hidden; }
.upload-status .up-bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.upload-status p { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.upload-status.failed p { color: #9b2c1f; }
.upload-status.failed .up-bar { display: none; }
.summary-incl { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }
.summary-bar { display: none; }
@media (max-width: 900px) {
  body[data-flow] .order-layout > .order-summary { order: 0; position: sticky; top: 0; z-index: 30; padding: 0; overflow: hidden; }
  .summary-bar { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 10px 16px; border: 0; background: transparent; font: inherit; font-size: 14px; text-align: start; cursor: pointer; color: var(--ink); }
  .summary-bar .sb-story { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .summary-bar .sb-name { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30%; }
  .summary-bar .sb-name:not(:empty)::before { content: "· "; }
  .summary-bar .sb-price { margin-inline-start: auto; font-weight: 700; white-space: nowrap; }
  .summary-bar .sb-chev { width: 9px; height: 9px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(45deg); margin: -4px 4px 0; transition: transform .2s; flex: none; }
  .summary-bar[aria-expanded="true"] .sb-chev { transform: rotate(-135deg); margin-top: 4px; }
  .summary-body { display: none; padding: 0 16px 16px; }
  .summary-bar[aria-expanded="true"] + .summary-body { display: block; }
  body[data-flow] .summary-cover { max-width: 160px; }
}
/* Checkout + confirmation */
.summary-eta { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); }
.summary-trust { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(216,197,179,.7); display: grid; gap: 4px; font-size: 13px; color: var(--ink-soft); }
.summary-trust a { color: inherit; text-underline-offset: 3px; }
.od-next { list-style: none; counter-reset: od; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; max-width: 640px; }
.od-next li { counter-increment: od; position: relative; padding-inline-start: 44px; display: grid; gap: 2px; }
.od-next li::before { content: counter(od); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.od-next b { font-size: 15px; }
.od-next span { font-size: 14px; color: var(--ink-soft); }
/* Footer contact */
.site-footer .foot-contact { margin-top: 12px; }
.site-footer .foot-contact a { color: #FFF8EE; text-underline-offset: 3px; }
/* Mobile: carousels peek the next card, filters never squeeze, 16px form text (no iOS zoom) */
@media (max-width: 767px) {
  .track { grid-auto-columns: 86%; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters .select { min-width: 0; }
  .filters .select:nth-of-type(3) { grid-column: 1 / -1; }
  .filters .select select { width: 100%; min-height: 46px; font-size: 16px; }
  .filters .reset { justify-self: start; min-height: 44px; }
  .filters .count { grid-column: 1 / -1; }
  input, select, textarea, body[data-flow] input[type="text"], body[data-flow] input[type="email"], body[data-flow] input[type="tel"], body[data-flow] input[type="number"], body[data-flow] select, body[data-flow] textarea { font-size: 16px !important; }
}
@media (max-width: 380px) { .filters { grid-template-columns: 1fr; } .filters .select:nth-of-type(3) { grid-column: auto; } }
.lookup-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--card); font-size: 14px; color: var(--brand-dark); }
.field-err { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #9b2c1f; }
.cform [aria-invalid="true"] { border-color: #9b2c1f !important; }
body[data-flow] .cart-layout > div, body[data-flow] .checkout-layout > div, body[data-flow] .order-layout > div { min-width: 0; }
@media (max-width: 600px) { .sib-list { grid-template-columns: 1fr; } .sibling h2 { font-size: 1.3rem; } }
.story-card .btn.btn-sm { white-space: normal; text-align: center; line-height: 1.25; padding: 8px 12px; }
@media (max-width: 480px) { .sgrid .story-card .btn.btn-sm { font-size: 12.5px; padding: 8px 8px; } .sgrid .story-card .line { font-size: 12.5px; } }

/* Was / now book price (e.g. AED 199 struck, AED 149) */
.hk-was { text-decoration: line-through; color: var(--ink-soft); font-weight: 500; opacity: .75; margin-inline-end: 2px; }
.hk-now { font-weight: 700; }
.btn .hk-was, .btn-primary .hk-was { color: inherit; opacity: .7; }
/* Open book photo (2-page spread) on the story page */
.inside .ob-spread { all: unset; display: block; cursor: zoom-in; background: var(--white); }
.inside .ob-spread img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.inside .ob-spread + .pv-grid { padding-top: 8px; }

/* ===== Oct 2026: photo → illustration reveal ===== */
.reveal { padding-block: var(--sec) 0; }
.rvl-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rvl-copy .kicker { font-family: var(--hand); font-size: 1.5rem; color: var(--brand); margin-bottom: 4px; }
.rvl-copy h2 { margin-bottom: 14px; }
.rvl-copy .lede { margin-bottom: 20px; }
.rvl-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.rvl-points li { position: relative; padding-inline-start: 26px; }
.rvl-points li::before { content: ''; position: absolute; inset-inline-start: 0; top: .3em; width: 15px; height: 15px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.2 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.2 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat; }
.rvl-points a { color: inherit; text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 3px; }
.rvl-stage { --pos: 50%; position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.rvl-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rvl-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.rvl-stage::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 10px rgba(38,28,23,.25); pointer-events: none; }
.rvl-handle { position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--white); color: var(--brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(38,28,23,.25); pointer-events: none; }
.rvl-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rvl-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; -webkit-appearance: none; appearance: none; background: transparent; }
.rvl-range:focus-visible ~ .rvl-handle, .rvl-stage:has(.rvl-range:focus-visible) .rvl-handle { outline: 3px solid var(--gold); outline-offset: 2px; }
.rvl-tag { position: absolute; z-index: 2; top: 14px; padding: 6px 12px; border-radius: 20px; background: rgba(255,252,247,.92); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ink); pointer-events: none; transition: opacity .2s; }
.rvl-tag-a { left: 14px; } .rvl-tag-b { right: 14px; }
.rvl-stage figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; text-align: center; font-size: 11.5px; color: #fff; background: linear-gradient(transparent, rgba(38,28,23,.55)); pointer-events: none; }
.rvl-stage.touched .rvl-hint { display: none; }

/* ===== Shop by occasion ===== */
.occasions { padding-block: 8px 34px; }
.occ-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.occ-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; text-align: center; padding: 22px 12px 20px; background: var(--white); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.occ-tile:hover, .occ-tile:focus-visible { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.occ-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.occ-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.occ-t { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; line-height: 1.15; }
.occ-tile small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.occ-banner { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 18px 20px; background: var(--card); border: 1px solid rgba(216,197,179,.6); border-radius: var(--r-card); }
.occ-banner .occ-ico { flex: none; margin: 0; background: var(--white); }
.occ-banner h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 4px; }
.occ-banner p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ===== WhatsApp help ===== */
.hk-wa { position: fixed; z-index: 75; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 25px; background: #25D366; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 20px -6px rgba(38,28,23,.45); transition: transform .2s var(--ease), bottom .3s var(--ease); }
.hk-wa:hover { transform: translateY(-2px); }
.hk-wa.is-docked { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; } /* QA-01 */
.hk-wa:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hk-wa svg { width: 24px; height: 24px; flex: none; }
.reach [data-hk-whatsapp] small { color: var(--ink-soft); font-size: 12.5px; }
@media (max-width: 1199px) { .occ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .rvl-grid { grid-template-columns: 1fr; } .rvl-stage { max-width: 520px; width: 100%; margin-inline: auto; order: -1; } }
@media (max-width: 767px) {
  .occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .occ-tile { padding: 18px 10px 16px; }
  .hk-wa { width: 52px; height: 52px; padding: 0; justify-content: center; inset-inline-end: 14px; }
  .hk-wa .hk-wa-txt { display: none; }
  body:has(.sticky-cta.show) .hk-wa { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* Footer newsletter sign-up */
.foot-news { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 20px 0; border-top: 1px solid rgba(230,214,194,.22); }
.foot-news .fn-copy { max-width: 46ch; }
.foot-news h2 { margin-bottom: 4px; }
.foot-news p { color: #D2BCA2; font-size: 13px; margin: 0; }
.foot-news .fn-row { display: flex; gap: 8px; flex: 1 1 320px; max-width: 440px; }
.foot-news input { flex: 1; min-width: 0; min-height: 46px; border-radius: 23px; border: 1px solid rgba(230,214,194,.4); background: rgba(255,248,238,.08); color: #FFF8EE; padding: 0 18px; font: inherit; font-size: 14px; }
.foot-news input::placeholder { color: #B8A08A; }
.foot-news .btn { min-height: 46px; padding: 0 22px; font-size: 14px; background: #FFF8EE; color: var(--brand-dark); }
.foot-news .btn:hover { background: #fff; }
.foot-news .fn-msg { flex-basis: 100%; min-height: 1em; font-size: 13px; }
.foot-news .fn-msg.ok { color: #E6D6C2; } .foot-news .fn-msg.bad { color: #F3B8A0; }

/* Personal message for the first page (personalise, review step) */
.msg-card { margin-top: 18px; background: var(--card); border: 1px solid var(--taupe); border-radius: var(--r-card); padding: 18px 18px 16px; }
.msg-card.open { background: var(--white); border-color: var(--brand); }
.msg-head { display: flex; gap: 14px; align-items: flex-start; }
.msg-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.msg-card.open .msg-ico { background: var(--card); }
.msg-ico svg { width: 21px; height: 21px; stroke: var(--brand); }
.msg-head h3 { font-size: 1.2rem; line-height: 1.25; }
.msg-head p { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.msg-toggle { margin-top: 14px; min-height: 44px; padding: 0 20px; font-size: 14px; }
.msg-body { margin-top: 14px; }
.msg-body textarea { width: 100%; min-height: 104px; border: 1px solid var(--taupe); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; line-height: 1.55; background: #fff; resize: vertical; }
.msg-body textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.msg-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.msg-count { font-size: 12px; color: var(--ink-soft); font-weight: 600; } .msg-count.over { color: #A4442A; }
.msg-inspire, .msg-cancel { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--brand); cursor: pointer; }
.msg-inspire:hover, .msg-cancel:hover { text-decoration: underline; text-underline-offset: 3px; }
.msg-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.msg-cancel { margin-top: 6px; color: var(--ink-soft); font-weight: 600; }
/* Story page: "Write your own message" */
.st-msg-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; background: var(--card); border-radius: var(--r-card); }
.st-msg-cta p { flex: 1 1 220px; font-size: 14px; color: var(--ink-soft); }
.st-msg-cta .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* =========================================================
   LOOK INSIDE — full-screen page-turning book preview (flipbook.js + vendor/page-flip)
   Front cover → up to 6 pages → back cover. Spreads on wide screens, single pages on phones.
   ========================================================= */
.lx-open { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; }
.lx-open svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery .main { position: relative; }
.lx-badge { position: absolute; inset-inline-end: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,252,247,.94); color: var(--brand-dark); font: 700 14px/1 var(--sans); box-shadow: 0 6px 18px -6px rgba(38,28,23,.45); }
.lx-badge:hover { background: var(--white); }
.lx-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.lx-lock, html.lx-lock body { overflow: hidden; }
html.lx-lock #hikaya-consent-banner { display: none !important; } /* back as soon as the book closes */
.lx-viewer { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 56px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 20px) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(246, 239, 228, .96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.lx-viewer.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.lx-close { all: unset; position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); inset-inline-end: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--white); border: 1px solid var(--taupe); color: var(--ink); }
.lx-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lx-close:focus-visible, .lx-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.lx-head { text-align: center; }
.lx-title { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.lx-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.lx-shelf { width: 100%; max-width: 960px; display: flex; justify-content: center; }
.lx-mover { transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.lx-book { margin: 0 auto; filter: drop-shadow(0 22px 28px rgba(38, 28, 23, .32)); }
.lx-page { background: #FBF6EE; overflow: hidden; }
.lx-page img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-select: none; }
/* Soft shading toward the spine so inside pages read as a bound book. */
.lx-page.is-soft::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lx-page.--left.is-soft::after { background: linear-gradient(to left, rgba(38, 28, 23, .2), transparent 9%); }
.lx-page.--right.is-soft::after { background: linear-gradient(to right, rgba(38, 28, 23, .2), transparent 9%); }
.lx-ctrl { display: flex; align-items: center; gap: 16px; }
.lx-btn { all: unset; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--taupe); color: var(--brand-dark); transition: opacity .2s, border-color .2s; }
.lx-btn:hover:not(:disabled) { border-color: var(--brand); }
.lx-btn:disabled { opacity: .35; cursor: default; }
.lx-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lx-count { min-width: 140px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.lx-end[hidden] { display: none; }
.lx-hint { margin: 0; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
@media (prefers-reduced-motion: reduce) { .lx-mover, .lx-viewer { transition: none !important; } }
.two-col.one-col { grid-template-columns: 1fr; }

/* QA-05: readable text of the "Look inside" sample pages */
.lx-viewer { overflow-y: auto; }
.lx-text-wrap { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lx-text-btn { all: unset; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; }
.lx-text-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.lx-text { width: 100%; max-height: 24vh; overflow-y: auto; background: var(--white); border: 1px solid var(--taupe); border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.lx-text p { margin: 0 0 8px; } .lx-text p:last-child { margin-bottom: 0; }
.lx-text-none { color: var(--ink-soft); font-style: italic; }

/* QA-10: the hero shows an illustrative book that is not in the catalogue, so it is labelled. */
.hero-note { position: absolute; z-index: 2; inset-inline-end: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(251, 246, 238, .88); color: var(--ink-soft); font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
@media (max-width: 767px) { .hero-note { bottom: auto; top: 10px; font-size: 11px; } }
/* Footer sign-up row: keep the Sign up button on screen on phones (it was pushed past the edge). */
@media (max-width: 767px) { .foot-news .fn-row { flex: 1 1 100%; width: 100%; max-width: 100%; min-width: 0; } .foot-news .fn-row .btn { flex: none; padding-inline: 18px; } }

/* ===== QA 19 Oct 2026 — narrow-screen delivery bar =====
   The delivery message and the region/language controls share one row only while both fit.
   When they don't (e.g. "Delivery to Saudi Arabia: SAR 30" at 320px), the controls wrap onto
   their own full row instead of squeezing the message into a tall narrow column or pushing
   the Arabic button past the screen edge. Logical properties keep RTL correct. */
.utility .wrap { flex-wrap: wrap; row-gap: 0; column-gap: 12px; }
.utility .msg { flex: 1 1 auto; min-width: 0; margin: 0; padding-block: 6px; overflow-wrap: anywhere; }
.utility .controls { flex: 0 1 auto; margin-inline-start: auto; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; }
.util-btn { white-space: nowrap; }
.region .util-btn #region-label { white-space: nowrap; }
@media (max-width: 479px) {
  .utility .wrap { column-gap: 8px; padding-block: 2px; }
  .utility .msg { flex-basis: 100%; justify-content: center; text-align: center; padding-block: 6px 0; }
  .utility .controls { flex-basis: 100%; justify-content: center; margin-inline-start: 0; }
  .utility .util-btn { padding-inline: 6px; }
  .region-menu { inset-inline-end: auto; inset-inline-start: 50%; transform: translateX(-50%); max-width: calc(100vw - 24px); }
  [dir="rtl"] .region-menu { transform: translateX(50%); }
}
.faq-soft { margin-top: 8px; color: var(--ink-soft); font-size: .95em; }
.pay-aed { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-weight: 700; }
.pay-aed-note { margin-top: 6px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.45; }
/* Story page: reserve the title line while the story loads (no blank/jumping h1) */
#pdp-root[aria-busy="true"] #st-title:empty::before { content: ""; display: block; height: 1.1em; width: min(70%, 420px); border-radius: 8px; background: linear-gradient(90deg, var(--sand) 0%, var(--card) 50%, var(--sand) 100%); background-size: 200% 100%; animation: hk-sk 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { #pdp-root[aria-busy="true"] #st-title:empty::before { animation: none; } }

/* =========================================================
   PHONE FIRST SCREEN (22 Oct 2026, from the mobile review)
   Phones only (≤767px) unless noted. Desktop and tablet layouts are unchanged.
   ========================================================= */
/* Crossed-out "was" price: full strength so it passes contrast (all sizes). */
.hk-was { opacity: 1; }
.btn .hk-was, .btn-primary .hk-was { opacity: .8; }

/* Hero trust line: phones only. */
.hero-trust { display: none; }

/* Delivery bar: short message on phones so it shares one row with country + language. */
.dl-short { display: none; }

@media (max-width: 767px) {
  /* Homepage hero, option B: headline on the photo, then price, buttons and trust line in the first screen. */
  .hero-media { aspect-ratio: 1 / 1.06; }
  .hero-media img { object-position: 50% 30%; }
  .hero .hero-media::after { height: 60%; background: linear-gradient(to bottom, rgba(30, 18, 10, 0), rgba(30, 18, 10, .8)); }
  .hero .hero-copy { margin-top: 0; padding-block: 14px 30px; display: flex; flex-direction: column; }
  .hero .hero-copy h1 { position: absolute; inset-inline: 0; bottom: 100%; margin: 0; padding-bottom: 16px; color: #fff; font-size: clamp(2.05rem, 9.4vw, 2.6rem); line-height: 1.03; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
  .hero .hero-copy .lede, .hero .hero-copy .hand { display: none; }
  .hero .hero-copy h1 { order: 0; }
  .hero .hero-assure { order: 1; margin: 0 0 12px; font-size: 14px; }
  .hero .hero-ctas { order: 2; gap: 10px; }
  .hero .hero-trust { order: 3; display: block; margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-soft); }
  .hero .hero-trust a { color: inherit; }

  /* Arabic on phones: an Arabic book cover on a sand band, headline below it (no text over the cover's own title). */

  /* Delivery bar: one row when it fits (UAE); a longer GCC message still wraps onto its own row. */
  .dl-full { display: none; }
  .dl-short { display: inline; }
  .utility .msg { flex-basis: auto; justify-content: flex-start; text-align: start; padding-block: 6px; }
  .utility .controls { flex-basis: auto; justify-content: flex-end; margin-inline-start: auto; }
  .utility .msg svg { display: none; }
  .utility .util-btn { padding-inline: 4px; min-width: 34px; }
  .utility .wrap { column-gap: 6px; }

  /* Stories page: short title, no big photo, filters as one scrollable row of pills. */
  body[data-page="stories"] .page-hero .hero-media { display: none; }
  body[data-page="stories"] .page-hero .hero-copy { margin-top: 0; padding-block: 16px 0; }
  body[data-page="stories"] .page-hero h1 { font-size: 1.9rem; margin-bottom: 4px; }
  body[data-page="stories"] .page-hero .lede { font-size: 14px; margin: 0; }
  .filters { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-block: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); margin-bottom: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .select { flex: none; min-width: 0; }
  .filters .select select { width: auto; min-height: 42px; font-size: 16px; padding-block: 8px; }
  .filters .reset { flex: none; }
  .filters .count { flex: none; width: auto; align-self: center; white-space: nowrap; }
}

/* Reserve the space of the header that chrome.js draws in, so the page doesn't jump when it appears. */
#hk-top { display: block; min-height: 113px; }
@media (min-width: 768px) { #hk-top { min-height: 127px; } }
@media (min-width: 1024px) { #hk-top { min-height: 121px; } }

/* Footer social links (Instagram, TikTok) */
.site-footer .foot-social { margin-top: 20px; }
.site-footer .foot-social .fs-t { font-family: var(--serif, inherit); font-style: italic; font-size: 14px; color: #FFF8EE; margin: 0 0 10px; }
.site-footer .foot-social .fs-links { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .foot-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px 8px 10px; border: 1px solid rgba(199,165,108,.45); border-radius: 999px; color: #E6D6C2; font-size: 13px; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.site-footer .foot-social a svg { flex: none; color: var(--gold, #C7A56C); transition: color .2s; }
.site-footer .foot-social a:hover, .site-footer .foot-social a:focus-visible { background: rgba(199,165,108,.12); border-color: var(--gold, #C7A56C); color: #fff; text-decoration: none; }
.site-footer .foot-social a:hover svg { color: #fff; }
[dir="rtl"] .site-footer .foot-social a { padding: 8px 10px 8px 14px; }
[dir="rtl"] .site-footer .foot-social .fs-t { font-style: normal; }

/* Tabby promo snippets (product + cart). Tabby renders its own content inside. */
.tabby-promo { margin: 10px 0 14px; max-width: 100%; overflow: hidden; }
.tabby-promo[hidden] { display: none; }
