/* Shared structure for every theme. Themes set the tokens below and add their own section styles. */
@font-face { font-family: Marcellus; src: url(/fonts/marcellus.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 100 900; src: url(/fonts/fraunces-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; src: url(/fonts/fraunces.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Jost; font-weight: 100 900; src: url(/fonts/jost.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; src: url(/fonts/plex-arabic-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; src: url(/fonts/plex-arabic-600.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Amiri; font-weight: 400; src: url(/fonts/amiri-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Amiri; font-weight: 700; src: url(/fonts/amiri-700.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Markazi Text"; font-weight: 400 700; src: url(/fonts/markazi.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 100 900; src: url(/fonts/noto-kufi.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #0F2730;
  --deep: #0A1C23;
  --copper: #C4814F;
  --ivory: #F3EADA;
  --bg: var(--ivory);
  --fg: var(--ink);
  --muted: #5a6a6c;
  --line: rgba(15, 39, 48, .16);
  --surface: #fff;
  --accent: var(--copper);
  --accent-fg: var(--ink);
  --field-bg: #fff;
  --field-line: rgba(15, 39, 48, .3);
  --error: #b42318;
  --ok: #1f6f3f;
  --radius: 4px;
  --track: .2em;
  --font-body: Jost, "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-display: Marcellus, Amiri, Georgia, serif;
  --font-italic: Fraunces, Georgia, serif;
  --f: var(--copper);
  --f-on: var(--ink);
}
html[lang="ar"] { --track: 0; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang="ar"] body { line-height: 1.85; }
img, svg { max-width: 100%; display: block; }
svg { direction: ltr; }
.sprite { position: absolute; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3) { line-height: 1.4; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 44px); }
.page { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.page.narrow { max-width: 860px; }
.page > h1, .prose h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .6em; }
.it { font-family: var(--font-italic); font-style: italic; }
html[lang="ar"] .it { font-style: normal; }
.eyebrow { font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 500; margin: 0 0 1.2em; }
html[lang="ar"] .eyebrow { font-size: .9rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--ink); color: var(--ivory); padding: 8px 12px; z-index: 20; }
.skip:focus { top: 8px; }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price.big { font-size: 1.6rem; margin: 0; }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.mark { width: auto; height: 100%; }
.wordmark { width: auto; height: 100%; }

/* Design-preview switcher (only in --preview builds) */
.preview-bar { background: #000; color: #fff; font: 500 12px/1.3 system-ui, sans-serif; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding: 6px clamp(12px, 3vw, 24px); }
.preview-links { display: flex; gap: 14px; }
.preview-links a { color: #bbb; text-decoration: none; }
.preview-links a[aria-current] { color: #fff; text-decoration: underline; }
.preview-note { border: 1px dashed currentColor; padding: 8px 12px; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg, var(--bg)); color: var(--header-fg, var(--fg)); border-bottom: 1px solid var(--header-line, var(--line)); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 68px; }
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--logo, inherit); height: 34px; }
.logo .wordmark, .footer-logo .wordmark { height: 46%; }
.main-nav { order: 3; flex-basis: 100%; display: flex; gap: 22px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.main-nav a, .lang-toggle, .cart-link { text-decoration: none; font-size: .8rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 500; white-space: nowrap; padding-block: 6px; }
html[lang="ar"] :is(.main-nav a, .cart-link) { font-size: 1rem; }
.main-nav a[aria-current="page"], .main-nav a:hover { box-shadow: inset 0 -1px currentColor; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.lang-toggle { letter-spacing: 0; text-transform: none; font-size: .9rem; opacity: .8; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 11px; background: var(--accent); color: var(--accent-fg); font-size: .75rem; letter-spacing: 0; }
@media (min-width: 860px) { .main-nav { order: 0; flex-basis: auto; padding-bottom: 0; } }

/* Buttons */
.button, .add { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--accent-fg);
  font-size: .82rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
html[lang="ar"] :is(.button, .add) { font-size: 1rem; font-weight: 600; }
.button:hover { transform: translateY(-2px); }
.button.ghost { background: transparent; color: inherit; border-color: currentColor; }
.button.wide { width: 100%; }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }
.add { min-height: 40px; padding: 8px 16px; background: transparent; color: inherit; border-color: currentColor; font-size: .72rem; }
.add:hover, .add.is-added { background: var(--f); color: var(--f-on); border-color: var(--f); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Section furniture shared by home pages */
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.sec-head .sub { margin: .8em 0 0; max-width: 46ch; opacity: .8; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.perks li { padding: 16px 14px; font-size: .8rem; letter-spacing: var(--track); text-transform: uppercase; text-align: center; }
html[lang="ar"] .perks li { font-size: .98rem; }
@media (min-width: 860px) { .perks { grid-template-columns: repeat(4, 1fr); } }
.pouch, .pouch-set { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .28)); overflow: visible; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } .also .grid { grid-template-columns: repeat(3, 1fr); } .also .card-art { padding-inline: 26%; } }
.card { position: relative; display: flex; flex-direction: column; }
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.card-art { display: block; padding: 8% 16% 4%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-art { transform: translateY(-10px) rotate(-2deg); }
.card h3 { font-size: 1.5rem; }
.card-tag { font-size: .95rem; opacity: .75; }
.card-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; padding: 4px 10px; border: 1px solid currentColor; border-radius: 99px; }
html[lang="ar"] .badge { font-size: .8rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps h3 { font-size: 1.5rem; margin-bottom: .3em; }
.steps p { margin: 0; opacity: .85; }
.step-no { font-size: 3rem; line-height: 1; }
.ritual-grid, .set-grid, .story-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kanaka { width: min(100%, 320px); margin-inline: auto; }
.seal { width: 100%; height: auto; }
.set-text h2, .story-text h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .5em; }
.set-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 1.2em 0 0; }
.save { font-size: .9rem; opacity: .8; }
@media (min-width: 860px) {
  .ritual-grid { grid-template-columns: 1fr 1.5fr; }
  .set-grid { grid-template-columns: 1.15fr 1fr; }
  .story-grid { grid-template-columns: 260px 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.footer-word { display: none; }

/* Product page */
.crumbs { padding-block: 22px 8px; font-size: .85rem; opacity: .75; }
.crumbs a { text-decoration: none; }
.product { display: grid; gap: 28px; padding-bottom: clamp(40px, 6vw, 80px); }
.product-art { width: 100%; max-width: 440px; justify-self: center; padding: 6% 14%; }
.product-art:has(.pouch-set) { padding: 12% 4%; }
.product-no { font-size: 2.4rem; line-height: 1; margin: 0 0 .2em; color: var(--f); }
.product-info h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .3em; }
.product-info h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.specs { list-style: none; padding: 0; margin: 1.4em 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; font-size: .85rem; }
.add-form { display: grid; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.buy-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.qty-row { display: grid; gap: 4px; }
.qty-row label { font-size: .8rem; opacity: .75; }
.qty-row input { width: 92px; }
.status { margin: 0; min-height: 1.5em; color: var(--ok); font-weight: 500; }
.status:empty { display: none; }
.assure { margin: 0; font-size: .88rem; opacity: .8; }
.also { padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  .product { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
  .product-art { position: sticky; top: 100px; max-width: none; }
}

/* Forms */
input, select, textarea { font: inherit; color: var(--field-fg, var(--ink)); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--radius); padding: 10px 12px; min-height: 48px; width: 100%; }
input[type="radio"], input[type="checkbox"] { width: auto; min-height: 0; accent-color: var(--accent); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
[aria-invalid="true"] { border-color: var(--error); }
.field { display: grid; gap: 4px; margin-bottom: 16px; }
.field label { font-weight: 500; }
.hint { margin: 0; font-size: .85rem; opacity: .7; }
.field-error, .form-error { margin: 0; color: var(--error); font-size: .9rem; font-weight: 500; }
.form-error { background: #fdecea; border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 20px 6px; margin: 0 0 18px; min-width: 0; }
fieldset legend { font-family: var(--font-display); font-size: 1.25rem; padding-inline: 8px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; cursor: pointer; }
.pay-option input { margin-top: 6px; }
.pay-option.disabled { opacity: .55; cursor: not-allowed; }
.pill { display: inline-block; border: 1px solid currentColor; border-radius: 99px; font-size: .72rem; padding: 0 8px; margin-inline-start: 6px; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.consent input { margin-top: 6px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Cart, checkout and confirmation */
.checkout { display: grid; gap: 24px; }
.checkout .summary { order: -1; }
.pay-total { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 12px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.4fr 1fr; align-items: start; } .checkout .summary { order: 0; position: sticky; top: 100px; } }
.summary, .cart-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px 20px; }
.summary h2 { font-size: 1.3rem; margin: 14px 0 4px; }
.lines { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line img { width: 64px; }
.line h3 { font-size: 1.15rem; }
.line p { margin: 0; font-size: .9rem; }
.line-total { font-weight: 500; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.stepper button, .link-button { cursor: pointer; }
.stepper button:not(.link-button) { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--field-line); background: transparent; font-size: 1.1rem; }
.stepper output { min-width: 28px; text-align: center; font-weight: 500; }
.link-button { background: none; border: 0; text-decoration: underline; padding: 4px 6px; margin-inline-start: 8px; opacity: .75; }
.totals { margin: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.totals dt { opacity: .75; }
.totals dd { margin: 0; text-align: end; font-weight: 500; }
.totals .grand { font-family: var(--font-display); font-size: 1.35rem; opacity: 1; }
.order { text-align: center; }
.order-seal { width: 130px; margin: 0 auto 24px; color: var(--accent); }
.order-number { font-size: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: inline-block; }
.order .summary { text-align: start; margin-bottom: 24px; }

/* Content pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.prose li { margin-bottom: 6px; }
.prose a { color: inherit; }
.facts { display: grid; gap: 4px 20px; }
.facts dt { font-weight: 600; margin-top: 12px; }
.facts dd { margin: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: 220px 1fr; } .facts dt { margin-top: 0; } }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: start; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Footer */
.site-footer { background: var(--footer-bg, var(--deep)); color: var(--footer-fg, #c9d2d0); font-size: .92rem; padding-top: clamp(36px, 5vw, 64px); }
.site-footer a { color: inherit; }
.site-footer h2 { font-family: var(--font-body); font-size: .76rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 500; margin: 0 0 14px; color: var(--footer-head, var(--copper)); }
html[lang="ar"] .site-footer h2 { font-size: 1rem; }
.site-footer p { margin: 0 0 6px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .footer-logo { margin-bottom: 18px; color: var(--footer-head, var(--copper)); }
.site-footer .copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin: 36px auto 0; padding-block: 18px; font-size: .82rem; opacity: .7; }

/* Scroll reveal and motion: progressive enhancement only */
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
  .steam { animation: steam 3.2s ease-in-out infinite; }
  .steam.s2 { animation-delay: .9s; }
  .steam.s3 { animation-delay: 1.8s; }
}

/* V2 — Quiet Luxury: paper, hairlines, generous white space and a numbered index. */
:root {
  --bg: #F6F0E4;
  --fg: #14201f;
  --muted: #6b716c;
  --line: rgba(20, 32, 31, .2);
  --surface: transparent;
  --accent: #14201f;
  --accent-fg: #F6F0E4;
  --radius: 0;
  --track: .26em;
  --font-display: Fraunces, "Markazi Text", Georgia, serif;
  --footer-bg: #F6F0E4;
  --footer-fg: #4d5551;
  --footer-head: #14201f;
}
html[lang="ar"] { --track: 0; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.01em; }
html[lang="ar"] :is(h1, h2, h3) { font-weight: 400; letter-spacing: 0; line-height: 1.25; }
body { font-weight: 300; }
html[lang="ar"] body { font-weight: 400; }
.eyebrow { color: var(--muted); font-weight: 400; }

/* Header: centred mark, nav beneath */
.site-header { position: static; }
.header-row { justify-content: center; padding-block: 22px 0; gap: 12px 28px; }
.logo { order: 1; flex-basis: 100%; justify-content: center; height: 44px; flex-direction: column; gap: 8px; height: auto; }
.logo .mark { height: 40px; }
.logo .wordmark { height: 15px; }
.main-nav { order: 3; flex-basis: auto; justify-content: center; padding-bottom: 14px; }
.header-actions { order: 3; margin: 0; padding-bottom: 14px; }
.main-nav a, .cart-link { font-weight: 400; font-size: .72rem; }
.cart-count { display: inline; background: none; color: inherit; padding: 0; }
.cart-count::before { content: "("; } .cart-count::after { content: ")"; }
.button, .add { font-weight: 400; }
.button:hover { background: transparent; color: var(--fg); transform: none; }
.button.ghost:hover { background: var(--fg); color: var(--bg); }

/* Hero */
.hero { text-align: center; padding-block: clamp(48px, 9vw, 130px) clamp(24px, 4vw, 56px); }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-style: italic; margin-bottom: .4em; }
html[lang="ar"] .hero h1 { font-style: normal; font-size: clamp(3rem, 8vw, 6rem); }
.hero .lead { max-width: 46ch; margin-inline: auto; color: var(--muted); }
.shelf { list-style: none; margin: clamp(36px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.shelf a { display: grid; justify-items: center; text-decoration: none; }
.shelf .pouch { width: min(80%, 190px); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.shelf a:hover .pouch { transform: translateY(-10px); }
.shelf-no { width: 100%; text-align: center; border-top: 1px solid var(--fg); padding-top: 16px; color: var(--f); font-size: 1.3rem; line-height: 1; }
.shelf-name { font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase; margin-top: 6px; }
html[lang="ar"] .shelf-name { font-size: .95rem; }

/* Index */
.index, .ritual, .set, .story { padding-block: clamp(56px, 8vw, 120px); }
.sec-head { display: grid; gap: 6px; }
.sec-head h2 { font-style: italic; }
html[lang="ar"] .sec-head h2 { font-style: normal; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.row { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); transition: background .3s; }
.row:hover { background: rgba(20, 32, 31, .04); }
.row-link { flex: 1; display: grid; grid-template-columns: 3.2em 44px 1fr auto; align-items: center; gap: clamp(10px, 2.5vw, 32px); padding-block: 16px; text-decoration: none; min-width: 0; }
.row-no { font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--f); line-height: 1; }
.row-art .pouch { filter: none; }
.row-name h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.row-tag { display: block; color: var(--muted); font-size: .92rem; }
.row .add { border: 0; padding-inline: 4px; text-decoration: underline; text-underline-offset: .3em; min-height: 44px; }
.row .add:hover, .row .add.is-added { background: none; color: var(--f); }
@media (max-width: 560px) { .row-link { grid-template-columns: 2.4em 1fr auto; } .row-art { display: none; } .row .add { display: none; } }

/* Ritual, set, story */
.ritual { border-top: 1px solid var(--line); }
.ritual-art { color: var(--fg); }
.kanaka { width: min(100%, 220px); }
.kanaka path { stroke-width: 1; }
.step-no { font-size: 1.4rem; color: var(--muted); }
.step-no::before { content: "N°"; }
.steps li { border-top: 1px solid var(--line); padding-top: 14px; }
.steps h3 { font-style: italic; }
html[lang="ar"] .steps h3 { font-style: normal; }
.set .wrap { border: 1px solid var(--fg); padding-block: clamp(28px, 5vw, 64px); max-width: 1160px; }
.set-text h2, .story-text h2 { font-style: italic; }
html[lang="ar"] :is(.set-text h2, .story-text h2) { font-style: normal; }
.set-art .pouch-set { filter: none; }
.story { text-align: center; }
.story-grid { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
.story-seal { width: 120px; }
.story-text p { max-width: 54ch; margin-inline: auto; }
.perks { border-block: 1px solid var(--line); color: var(--muted); margin-bottom: clamp(40px, 6vw, 80px); }

/* Inner pages */
.product-art .pouch { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .18)); }
.product-no { font-size: clamp(3rem, 7vw, 5rem); }
.product-info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.specs { display: grid; gap: 0; border-top: 1px solid var(--fg); }
.specs li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; letter-spacing: var(--track); text-transform: uppercase; font-size: .72rem; }
html[lang="ar"] .specs li { font-size: .95rem; }
.add-form { padding: 0; border: 0; }
input, select, textarea { background: transparent; border-width: 0 0 1px; padding-inline: 0; }
fieldset { border-width: 1px 0 0; padding-inline: 0; border-color: var(--fg); }
fieldset legend { padding-inline: 0 12px; font-style: italic; }
html[lang="ar"] fieldset legend { font-style: normal; }
.pay-option { border-width: 0 0 1px; padding-inline: 0; }
.summary, .cart-box { border: 1px solid var(--fg); }
.also .grid { display: block; }
.site-footer { border-top: 1px solid var(--fg); }
.site-footer .copyright { border-color: var(--line); }

/* Flavour colours from src/config.js */
.f-plain{--f:#4A2A1C;--f-on:#F3EADA}
.f-orange{--f:#D05A1E;--f-on:#0F2730}
.f-hazelnut{--f:#B98B56;--f-on:#0F2730}
.f-mint{--f:#2F8062;--f-on:#F3EADA}
.f-discovery{--f:#0F2730;--f-on:#F3EADA}
