/* P · Pearl — "Treasures, made to order"
   Quiet luxury after the Gulf's pearl-diving heritage. Phone-first; desktop from 960px. */

:root {
  --ink: #0c1f2a;
  --navy: #13303d;
  --deep: #081720;
  --pearl: #f5f1ea;
  --white: #fbf9f5;
  --lining: #efe8dc;
  --lining-2: #e8dfd0;
  --gold: #b89b5e;
  --gold-ink: #765c26;          /* gold for text on light: 5.3:1 on pearl */
  --gold-light: #d9c08a;        /* gold for text on night */
  --hair: rgba(184, 155, 94, .55);
  --hair-soft: rgba(184, 155, 94, .3);
  --text: #0c1f2a;
  --muted: #4d5b62;
  --on-dark: #f5f1ea;
  --on-dark-muted: #aebcc2;
  --nacre-pink: #f0d6d8;
  --nacre-mint: #d7eee6;
  --nacre-lav: #dcd8f0;
  --error: #9a2b23;
  --focus: #765c26;
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-text: "Mulish", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.25, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 60px;
  --gutter: 20px;
  --maxw: 1240px;
  --buybar-h: 72px;

  /* "See it in your room" viewer theme */
  --rv-bg: #0c1f2a;
  --rv-surface: #13303d;
  --rv-text: #f5f1ea;
  --rv-muted: #aebcc2;
  --rv-line: rgba(184, 155, 94, .45);
  --rv-accent: #f5f1ea;
  --rv-accent-text: #0c1f2a;
  --rv-radius: 14px;
  --rv-font: var(--f-text);
  --rv-font-display: var(--f-display);
}
:root:lang(ar) {
  --f-display: "Scheherazade New", "Fraunces", serif;
  --f-text: "Beiruti", "Mulish", "Segoe UI", sans-serif;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --hdr-h: 72px; --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); scrollbar-gutter: stable; }
main:focus, [tabindex="-1"]:focus { outline: none; }
[data-ico] { display: inline-grid; place-items: center; flex: none; }
[data-ico] > svg { width: 1.25em; height: 1.25em; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.is-locked { overflow: hidden; }
body {
  margin: 0; min-height: 100svh;
  background: var(--pearl); color: var(--text);
  font: 400 1rem/1.62 var(--f-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  font-optical-sizing: auto;
}
:lang(ar) body { font-size: 1.125rem; line-height: 1.75; }
/* Arabic is a connected script: never track it, never fake-italicize it. */
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after { letter-spacing: 0 !important; }
:lang(ar) em, :lang(ar) i { font-style: normal; }
[lang="en"] { letter-spacing: inherit; }

/* Hide until Arabic text is applied (set by the inline head script). Fails open after 2.5 s. */
html.i18n-wait body { visibility: hidden; animation: i18nOpen 0s 2.5s forwards; }
@keyframes i18nOpen { to { visibility: visible; } }

img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.night { --focus: var(--gold-light); }
::selection { background: var(--nacre-lav); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.dir-ico { display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; flex: none; transition: transform .5s var(--ease); }
.dir-ico > svg { width: 100%; height: 100%; }
.iconbtn .dir-ico { width: 22px; height: 22px; }
.textlink .dir-ico, .crumbs__back .dir-ico { width: 18px; height: 18px; }
[dir="rtl"] .dir-ico { transform: scaleX(-1); }

.skip {
  position: fixed; inset-inline-start: 12px; top: 10px; z-index: 100;
  padding: 12px 18px; min-height: 44px; border-radius: 999px;
  background: var(--pearl); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 700 .8125rem/1.3 var(--f-text); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; flex: none; }
.night .eyebrow, .hero .eyebrow { color: var(--gold-light); }
:lang(ar) .eyebrow { font-size: 1rem; font-weight: 600; }
.title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.012em;
  text-wrap: balance;
}
.title em { font-style: italic; color: var(--gold-ink); }
.night .title em { color: var(--gold-light); }
:lang(ar) .title { font-weight: 500; line-height: 1.4; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }
.lede { color: var(--muted); max-width: 36rem; font-size: 1.0625rem; }
.night .lede { color: var(--on-dark-muted); }
.sec__head { display: grid; gap: 14px; margin-bottom: 32px; }
.sec__head--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec__head--row > div:first-child { display: grid; gap: 14px; }
.price { font-family: var(--f-display); font-weight: 400; font-variant-numeric: lining-nums; white-space: nowrap; }
:lang(ar) .price { font-family: var(--f-text); font-weight: 600; }

/* gold hairline that draws itself in once (decorative only: content never waits for it) */
.rule { display: block; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(184, 155, 94, .15)); transform-origin: left; }
[dir="rtl"] .rule { transform-origin: right; background: linear-gradient(270deg, var(--gold), rgba(184, 155, 94, .15)); }
html.js .rule[data-draw] { transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
html.js .rule[data-draw].is-in { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent; background: none;
  font: 700 .95rem/1.1 var(--f-text); letter-spacing: .03em; text-decoration: none; text-align: center;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), transform .18s var(--ease);
  -webkit-user-select: none; user-select: none;
}
:lang(ar) .btn { font-size: 1.0625rem; font-weight: 600; }
.btn:active { transform: scale(.975); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--pearl { background: var(--pearl); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 12px 34px -14px rgba(215, 238, 230, .55); }
.btn--ink { background: var(--ink); color: var(--pearl); box-shadow: 0 10px 26px -16px rgba(12, 31, 42, .8); }
.btn--ink:hover { background: var(--navy); }
.btn--line { border-color: var(--hair); color: var(--on-dark); }
.btn--line:hover { border-color: var(--gold-light); background: rgba(245, 241, 234, .06); }
.btn--line-ink { border-color: var(--gold); color: var(--ink); background: transparent; }
.btn--line-ink:hover { background: var(--lining); border-color: var(--gold-ink); }
/* a slow nacre sheen passes across pearl and ink buttons on hover */
.btn--pearl::after, .btn--ink::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(240, 214, 216, .65) 42%, rgba(215, 238, 230, .65) 50%, rgba(220, 216, 240, .6) 58%, transparent 72%);
  transform: translateX(-110%); transition: transform 1.2s var(--ease);
}
.btn--ink::after { background: linear-gradient(105deg, transparent 28%, rgba(240, 214, 216, .16) 42%, rgba(215, 238, 230, .18) 50%, rgba(220, 216, 240, .16) 58%, transparent 72%); }
@media (hover: hover) { .btn--pearl:hover::after, .btn--ink:hover::after { transform: translateX(110%); } }
.btn[aria-busy="true"] { pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
.btn--block { width: 100%; }
.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 999px; background: transparent; color: inherit;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.iconbtn svg, .iconbtn [data-ico] { width: 22px; height: 22px; }
.iconbtn:hover { background: rgba(245, 241, 234, .08); }
.iconbtn--light:hover { background: var(--lining); }
.iconbtn--ring { border: 1px solid var(--hair); }
.iconbtn[disabled] { opacity: .35; cursor: default; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--hair);
  text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .3s;
}
.textlink:hover { text-decoration-color: currentColor; }
.night .textlink { color: var(--gold-light); }
.textlink svg, .textlink [data-ico] { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40; height: var(--hdr-h);
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid rgba(184, 155, 94, .3);
  --focus: var(--gold-light);
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; margin-inline-end: auto; padding-inline-end: 6px; }
.brand__mark { width: 24px; height: 30px; flex: none; }
.brand__word { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 1.22rem; letter-spacing: .015em; white-space: nowrap; }
.brand__word i { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hdr__nav { display: none; }
.hdr__nav ul { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.hdr__nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: .9375rem; font-weight: 600; color: var(--on-dark-muted); text-decoration: none; transition: color .3s;
}
.hdr__nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--on-dark); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
:lang(ar) .hdr__nav a { font-size: 1.0625rem; }
.hdr__tools { display: flex; align-items: center; gap: 4px; }
.hdr__search { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; }
.hdr__search svg { width: 22px; height: 22px; flex: none; }
.hdr__search .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hdr__search [data-ico] { width: 22px; height: 22px; }
.hdr__search:hover { background: rgba(245, 241, 234, .08); }
.hdr__cart { position: relative; }
.hdr__count {
  position: absolute; top: 3px; inset-inline-end: 1px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--pearl); color: var(--ink);
  font: 800 .75rem/20px var(--f-text); text-align: center;
}
.hdr__count.is-zero { background: transparent; color: var(--on-dark-muted); box-shadow: inset 0 0 0 1px rgba(174, 188, 194, .5); }
.hdr__cart.is-bump .hdr__count { animation: bump .7s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
.lang { display: inline-flex; align-items: center; border: 1px solid var(--hair-soft); border-radius: 999px; padding: 2px; }
.lang button {
  min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font-size: .875rem; font-weight: 700; color: var(--on-dark-muted); transition: background-color .3s, color .3s;
}
.lang button[lang="ar"] { font-family: "Beiruti", var(--f-text); font-size: 1rem; }
.lang button[aria-pressed="true"] { background: rgba(245, 241, 234, .12); color: var(--on-dark); }
.lang button:hover { color: var(--on-dark); }
.lang--light { border-color: var(--hair); }
.lang--light button { color: var(--muted); }
.lang--light button[aria-pressed="true"] { background: var(--ink); color: var(--pearl); }
.hdr .lang { display: none; }
@media (min-width: 600px) { .hdr .lang { display: inline-flex; margin-inline: 4px; } }
@media (min-width: 1100px) {
  .hdr__nav { display: block; margin-inline-end: auto; }
  .brand { margin-inline-end: 28px; }
  .hdr__menu { display: none; }
  .hdr__search { width: auto; padding: 0 18px 0 14px; border: 1px solid var(--hair-soft); min-width: 210px; justify-content: flex-start; color: var(--on-dark-muted); }
  .hdr__search .lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .9375rem; }
  .hdr__search:hover { border-color: var(--gold); color: var(--on-dark); }
}

/* ---------- Layers: menu, search, quick view ---------- */
.layer { position: fixed; inset: 0; z-index: 70; }
.layer[hidden] { display: none; }
.layer__scrim { position: absolute; inset: 0; background: rgba(8, 23, 32, .58); opacity: 0; transition: opacity .5s var(--ease); }
.layer.is-open .layer__scrim { opacity: 1; }

.menu__panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(90% 50% at 85% 0%, rgba(215, 238, 230, .08), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--ink) 60%);
  color: var(--on-dark); --focus: var(--gold-light);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(-14px); transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.layer.is-open .menu__panel { opacity: 1; transform: none; }
.menu__top { height: var(--hdr-h); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(184, 155, 94, .3); flex: none; }
.menu__top .brand { margin-inline-end: auto; }
.menu__lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(184, 155, 94, .2); color: var(--on-dark-muted); }
.menu__nav ol { list-style: none; padding: 0; margin: 8px 0 0; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; min-height: 64px; padding: 14px 0; text-decoration: none;
  border-bottom: 1px solid rgba(184, 155, 94, .16);
  font-family: var(--f-display); font-weight: 300; font-size: 1.85rem; line-height: 1.15;
}
.menu__nav a small { font: italic 400 .95rem/1 "Fraunces", serif; color: var(--gold-light); min-width: 26px; }
.menu__nav a .dir-ico { margin-inline-start: auto; width: 20px; height: 20px; color: var(--gold-light); align-self: center; }
:lang(ar) .menu__nav a { font-size: 1.75rem; font-weight: 500; line-height: 1.5; }
.menu__extra { margin-top: auto; padding-top: 28px; display: grid; gap: 4px; }
.menu__extra a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark-muted); text-decoration: none; }
.menu__extra a:hover { color: var(--on-dark); }

.search__panel {
  position: absolute; inset-inline: 0; top: 0; max-height: 100dvh; display: flex; flex-direction: column;
  background: var(--white); color: var(--text);
  box-shadow: 0 30px 80px -30px rgba(8, 23, 32, .6);
  opacity: 0; transform: translateY(-16px); transition: opacity .4s var(--ease), transform .55s var(--ease-out);
}
.layer.is-open .search__panel { opacity: 1; transform: none; }
.search__bar { display: flex; align-items: center; gap: 6px; min-height: var(--hdr-h); padding: 6px 10px; border-bottom: 1px solid var(--hair-soft); flex: none; }
.search__bar > svg { width: 22px; height: 22px; color: var(--gold-ink); margin-inline: 8px 2px; flex: none; }
.search__input {
  flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; outline: none;
  font-size: 1.125rem; font-family: var(--f-text); color: var(--text);
}
.search__input::placeholder { color: #6b777d; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__wrap:focus-within { box-shadow: none; }
.search__body { overflow-y: auto; overscroll-behavior: contain; padding: 12px 10px calc(16px + env(safe-area-inset-bottom)); }
.search__status { padding: 6px 12px 10px; font-size: .9375rem; color: var(--muted); }
.search__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.srow {
  width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 72px; padding: 8px 12px; border: 0; border-radius: 14px; background: transparent; text-align: start;
  transition: background-color .3s var(--ease);
}
.srow:hover, .srow:focus-visible { background: var(--lining); }
.srow__art { width: 56px; height: 56px; border-radius: 10px; background: var(--lining); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair-soft); }
.srow__name { display: block; font-weight: 700; line-height: 1.3; }
.srow__by { display: block; font-size: .875rem; color: var(--muted); }
.srow .price { font-size: 1.05rem; }
.search__empty { padding: 18px 12px; }
.search__empty p:first-child { font-family: var(--f-display); font-size: 1.4rem; font-weight: 300; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 12px 12px; list-style: none; margin: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--hair); background: var(--white); font-size: .9375rem; font-weight: 600; color: var(--ink);
  transition: background-color .3s, border-color .3s;
}
.chip:hover { background: var(--lining); border-color: var(--gold-ink); }
@media (min-width: 760px) {
  .search__panel { top: 14px; inset-inline: 0; margin-inline: auto; width: min(720px, calc(100% - 48px)); max-height: calc(100dvh - 28px); border-radius: 22px; overflow: hidden; }
  .search__bar { min-height: 68px; padding-inline: 14px 10px; }
}

/* Quick view: bottom sheet on phones, side drawer from 900px */
.qv__panel {
  position: absolute; inset-inline: 0; bottom: 0; max-height: min(92dvh, 860px);
  display: flex; flex-direction: column; background: var(--white); color: var(--text);
  border-radius: 24px 24px 0 0; box-shadow: 0 -24px 70px -20px rgba(8, 23, 32, .55);
  transform: translateY(102%); transition: transform .6s var(--ease-out);
}
.layer.is-open .qv__panel { transform: none; }
.qv__grab { width: 40px; height: 4px; border-radius: 4px; background: var(--lining-2); margin: 10px auto 0; flex: none; }
.qv__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 12px 0 20px; flex: none; }
.qv__top .eyebrow { font-size: .75rem; }
.qv__scroll { overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; flex: 1; }
.qv__case { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.qv__case svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.qv__by { font-size: .9375rem; color: var(--muted); }
.qv__name { font-family: var(--f-display); font-weight: 300; font-size: 1.85rem; line-height: 1.12; margin: 4px 0 6px; text-wrap: balance; }
:lang(ar) .qv__name { font-weight: 500; line-height: 1.45; }
.qv__price { font-size: 1.5rem; }
.qv__desc { margin-top: 12px; color: var(--muted); }
.qv__facts { margin-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--hair-soft); }
.qv__facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair-soft); }
.qv__facts dt { font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding-top: 3px; }
:lang(ar) .qv__facts dt { font-size: 1rem; font-weight: 700; padding-top: 0; }
.qv__facts dd { font-size: .9375rem; }
.qv__facts dd b { font-weight: 800; margin-inline-end: 6px; }
.qv__colors { margin-top: 18px; }
.qv__buy {
  flex: none; display: flex; gap: 10px; align-items: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair-soft); background: var(--white);
}
.qv__buy .btn { flex: 1; }
.qv__more { display: flex; justify-content: center; margin-top: 10px; }
@media (min-width: 900px) {
  .qv__panel {
    inset-block: 0; inset-inline-start: auto; inset-inline-end: 0; width: min(480px, 100%); max-height: none;
    border-radius: 0; transform: translateX(102%); box-shadow: -30px 0 80px -30px rgba(8, 23, 32, .55);
    border-inline-start: 1px solid var(--hair-soft);
  }
  [dir="rtl"] .qv__panel { transform: translateX(-102%); }
  .layer.is-open .qv__panel { transform: none; }
  .qv__grab { display: none; }
  .qv__top { padding: 14px 16px 6px 28px; }
  .qv__scroll { padding: 8px 28px 28px; }
  .qv__buy { padding: 16px 28px; }
}

/* name preview (Calligraphy Name Plate) */
.np { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--lining); box-shadow: inset 0 0 0 1px var(--hair-soft); }
.np label { display: block; font-weight: 700; margin-bottom: 6px; }
.field {
  width: 100%; min-height: 50px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid #b7ab95; background: var(--white); font-size: 1.0625rem; color: var(--text);
  transition: border-color .3s, box-shadow .3s;
}
.field:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(184, 155, 94, .28); }
.np__plate {
  position: relative; margin-top: 14px; height: 120px; border-radius: 10px 10px 4px 4px; overflow: hidden;
  display: grid; place-items: center; padding: 0 18px;
  background: linear-gradient(180deg, #45484c 0%, #34373a 60%, #2a2c2f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 22px -14px rgba(12, 31, 42, .7);
}
.np__plate::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 12px; background: linear-gradient(180deg, #2a2c2f, #1f2123); }
.np__text {
  font-family: "Scheherazade New", "Fraunces", serif; font-weight: 600; font-size: 2.6rem; line-height: 1.4;
  color: #f0e6d2; text-shadow: 0 1px 0 rgba(0, 0, 0, .4); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0 !important;
}
.np__note { margin-top: 10px; font-size: .875rem; color: var(--muted); }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 999px; height: 52px; flex: none; background: var(--white); }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; display: grid; place-items: center; margin: 0 2px; }
.qty button:hover { background: var(--lining); }
.qty button svg { width: 18px; height: 18px; }
.qty input {
  width: 44px; height: 44px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 1.0625rem;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* toast */
.toast {
  position: fixed; z-index: 90; inset-inline: 0; margin-inline: auto;
  bottom: calc(18px + env(safe-area-inset-bottom) + var(--toast-lift, 0px));
  width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--on-dark); border: 1px solid rgba(184, 155, 94, .55);
  box-shadow: 0 18px 40px -18px rgba(8, 23, 32, .7);
  font-weight: 600; font-size: .9375rem;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }
.toast svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.toast:empty { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  min-height: calc(100svh - var(--hdr-h));
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(215, 238, 230, .13), transparent 70%),
    linear-gradient(180deg, #16384a 0%, #11303f 30%, #0d2431 62%, #0a1b25 100%);
  --focus: var(--gold-light);
}
@media (min-width: 960px) { .hero { min-height: min(calc(100svh - var(--hdr-h)), 880px); } }
.hero__rays { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero__rays i {
  position: absolute; top: -10%; width: 16%; height: 120%; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(215, 238, 230, .16), rgba(215, 238, 230, .05) 45%, transparent 80%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  animation: sway 15s ease-in-out infinite alternate;
}
.hero__rays i:nth-child(1) { left: 22%; transform: rotate(14deg); opacity: .8; }
.hero__rays i:nth-child(2) { left: 46%; width: 10%; transform: rotate(6deg); animation-duration: 19s; animation-delay: -6s; opacity: .7; }
.hero__rays i:nth-child(3) { left: 66%; width: 20%; transform: rotate(-4deg); animation-duration: 23s; animation-delay: -11s; opacity: .55; }
.hero__rays i:nth-child(4) { left: 84%; width: 9%; transform: rotate(-12deg); animation-duration: 17s; animation-delay: -3s; opacity: .5; }
@keyframes sway { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
.hero__surface { position: absolute; inset: 0 0 auto; height: 22%; z-index: -2; pointer-events: none;
  background: repeating-radial-gradient(120% 60% at 50% -40%, rgba(215, 238, 230, .06) 0 10px, transparent 10px 26px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__stage.is-live canvas { opacity: 1; }
/* Static poster of the pearl egg, in the exact spot the 3D egg takes */
.hero__poster {
  position: absolute; left: 50%; top: 26%; height: 31%; aspect-ratio: .79; translate: -50% -50%;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background:
    radial-gradient(42% 32% at 36% 26%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 45% at 70% 72%, rgba(220, 216, 240, .75), transparent 70%),
    radial-gradient(55% 40% at 25% 70%, rgba(240, 214, 216, .7), transparent 70%),
    radial-gradient(50% 40% at 62% 38%, rgba(215, 238, 230, .65), transparent 70%),
    radial-gradient(100% 100% at 40% 35%, #f7f3ec 0%, #e4ddd2 55%, #9aa6ab 100%);
  box-shadow: 0 0 80px 10px rgba(215, 238, 230, .12), inset -14px -18px 40px rgba(19, 48, 61, .45);
  transition: opacity 1.4s var(--ease);
}
.hero__stage.is-live .hero__poster { opacity: 0; }
.hero__halo { position: absolute; left: 50%; top: 26%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(215, 238, 230, .14), rgba(220, 216, 240, .05) 40%, transparent 68%); }
@media (min-width: 960px) {
  .hero__poster { left: 69%; top: 50%; height: 62%; }
  .hero__halo { left: 69%; top: 50%; width: 46%; }
  [dir="rtl"] .hero__poster, [dir="rtl"] .hero__halo { left: 31%; }
}
.hero__in { position: relative; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 24px 36px; }
.hero__copy { display: grid; gap: 16px; max-width: 34rem; }
.hero__title {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(2.75rem, 1.6rem + 5vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.hero__title span, .hero__title em { display: block; }
.hero__title em { font-style: italic; font-weight: 300; color: var(--gold-light); }
:lang(ar) .hero__title { font-weight: 500; line-height: 1.32; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); }
.hero__lede { color: #c5d0d4; font-size: 1.0625rem; max-width: 30rem; }
:lang(ar) .hero__lede { font-size: 1.1875rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__ctas .btn { flex: 1 1 140px; }
.hero__note { display: none; }
@media (min-width: 600px) { .hero__ctas .btn { flex: 0 0 auto; } }
@media (min-width: 960px) {
  .hero__in { justify-content: center; padding-block: 56px; }
  .hero__copy { gap: 22px; }
  .hero__note { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--on-dark-muted); font-size: .9375rem; }
  .hero__note .rule { width: 60px; }
}
/* first-load choreography: slow, precise rise */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero__copy > * { animation: rise 1.3s var(--ease-out) both; }
  html.js .hero__copy > :nth-child(2) { animation-delay: .12s; }
  html.js .hero__copy > :nth-child(3) { animation-delay: .26s; }
  html.js .hero__copy > :nth-child(4) { animation-delay: .38s; }
  html.js .hero__copy > :nth-child(5) { animation-delay: .5s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: 72px; }
@media (min-width: 960px) { .sec { padding-block: 112px; } }
.sec--white { background: var(--white); }
.sec + .sec--tight { padding-top: 0; }

/* How it works: a diver's rope with stone weights */
.steps { position: relative; display: grid; gap: 28px; counter-reset: s; margin-top: 8px; }
.steps::before {
  content: ""; position: absolute; inset-block: 10px 30px; inset-inline-start: 21px; width: 3px;
  background: repeating-linear-gradient(160deg, var(--gold) 0 2px, rgba(184, 155, 94, .25) 2px 5px);
  border-radius: 2px;
}
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; align-items: start; }
.step__stone {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fffdf8, var(--lining-2) 75%);
  box-shadow: inset 0 0 0 1px var(--hair), 0 6px 14px -8px rgba(12, 31, 42, .45);
  font: italic 400 1.15rem/1 "Fraunces", serif; color: var(--gold-ink);
}
.step__ico > svg { width: 100%; height: 100%; }
.step__ico { display: block; width: 34px; height: 34px; color: var(--gold-ink); margin-bottom: 10px; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin-bottom: 6px; }
:lang(ar) .step h3 { font-weight: 600; line-height: 1.5; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 0; }
  .steps::before { inset-inline: 22px 0; inset-block: 20px auto; width: auto; height: 3px; background: repeating-linear-gradient(70deg, var(--gold) 0 2px, rgba(184, 155, 94, .25) 2px 5px); }
  .step { grid-template-columns: 1fr; row-gap: 22px; }
}

/* Jewel cases: product cards */
.cases { display: grid; gap: 14px; }
.cases--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cases--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.case { position: relative; min-width: 0; }
.case__link {
  position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: var(--white); border-radius: 18px; padding: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(184, 155, 94, .28), 0 18px 40px -30px rgba(12, 31, 42, .55);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.case__lining {
  position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  background:
    radial-gradient(65% 55% at 50% 42%, rgba(255, 255, 255, .9), transparent 72%),
    linear-gradient(180deg, #f3ede3, #e9e0d2);
}
.case__lining::before { /* the gold hairline frame of the case */
  content: ""; position: absolute; inset: 7px; border-radius: 8px; border: 1px solid rgba(184, 155, 94, .5); pointer-events: none; z-index: 2;
}
.case__lining::after { /* nacre light that drifts on hover */
  content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none; opacity: .55;
  background: conic-gradient(from 200deg at 50% 50%, rgba(240, 214, 216, 0), rgba(240, 214, 216, .7), rgba(215, 238, 230, .6), rgba(220, 216, 240, .7), rgba(240, 214, 216, 0) 70%);
  filter: none; transform: rotate(0deg); transition: transform 2.4s var(--ease), opacity 1s var(--ease);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 75%); mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
}
.case__art { position: absolute; inset: 0; z-index: 1; transition: transform .9s var(--ease); }
.case__art svg { width: 100%; height: 100%; }
.case__body { display: grid; gap: 4px; padding: 14px 8px 8px; flex: 1; align-content: start; }
.case__mat { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
:lang(ar) .case__mat { font-size: .8125rem; }
.case__name { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; line-height: 1.22; text-wrap: balance; }
:lang(ar) .case__name { font-weight: 600; line-height: 1.5; font-size: 1.15rem; }
.case__by { font-size: .875rem; color: var(--muted); line-height: 1.4; }
:lang(ar) .case__by { font-size: 1rem; }
.case__desc { display: none; font-size: .9375rem; color: var(--muted); margin-top: 4px; }
.case__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 8px 8px 6px; }
.case__price { font-size: 1.15rem; }
.case__qv {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink);
}
.case__qv svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
:lang(ar) .case__qv { font-size: .9375rem; font-weight: 700; }
@media (hover: hover) {
  .case__link:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(184, 155, 94, .7), 0 30px 50px -30px rgba(12, 31, 42, .6); }
  .case__link:hover .case__lining::after { transform: rotate(80deg); opacity: .9; }
  .case__link:hover .case__art { transform: translateY(-4px) scale(1.025); }
  .case__link:hover .case__qv svg { transform: rotate(90deg); }
}
.case__link:focus-visible { outline-offset: 4px; border-radius: 18px; }
@media (max-width: 599px) {
  .cases--grid .case__qv span { display: none; }
  .cases--grid .case__qv { width: 28px; height: 28px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair); }
}
@media (min-width: 900px) {
  .cases--collection .case__lining { aspect-ratio: 4 / 5; }
  .cases--collection .case__name { font-size: 1.35rem; }
  .cases--collection .case__desc { display: block; }
  .case__body { padding: 18px 12px 8px; }
  .case__foot { padding: 10px 12px 8px; }
}

/* horizontal rows with native scroll-snap */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 270px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 20px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--hair) transparent;
}
.row > * { scroll-snap-align: start; }
@media (min-width: 900px) { .row { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; } }
.row-nav { display: none; gap: 10px; }
@media (min-width: 900px) and (hover: hover) { .row-nav { display: flex; } }
.row-nav .iconbtn { border: 1px solid var(--hair); color: var(--ink); }
.row-nav .iconbtn:hover:not([disabled]) { background: var(--lining); }
@media (min-width: 900px) { .cases--more { grid-template-columns: repeat(4, minmax(0, 1fr)); display: grid; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 24px; grid-auto-flow: row; } }

/* Categories: numbered list with drawn icons */
.cats { display: grid; border-top: 1px solid var(--hair-soft); }
@media (min-width: 900px) { .cats { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.cat {
  width: 100%; display: grid; grid-template-columns: 2.4rem 44px 1fr 24px; align-items: center; gap: 14px;
  min-height: 76px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--hair-soft); background: none; text-align: start;
  transition: background-color .5s var(--ease), padding .5s var(--ease);
}
.cat__n { font: italic 400 1.05rem/1 "Fraunces", serif; color: var(--gold-ink); }
.cat__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft); color: var(--gold-ink); }
.cat__ico svg { width: 26px; height: 26px; }
.cat__name { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
:lang(ar) .cat__name { font-weight: 600; line-height: 1.5; }
.cat .dir-ico { width: 20px; height: 20px; color: var(--gold-ink); transition: transform .5s var(--ease); }
@media (hover: hover) {
  .cat:hover { background: linear-gradient(90deg, rgba(239, 232, 220, .9), rgba(239, 232, 220, 0)); padding-inline-start: 12px; }
  [dir="rtl"] .cat:hover { background: linear-gradient(270deg, rgba(239, 232, 220, .9), rgba(239, 232, 220, 0)); }
  .cat:hover .dir-ico { transform: translateX(4px); }
  [dir="rtl"] .cat:hover .dir-ico { transform: scaleX(-1) translateX(4px); }
}

/* Seller band: night sea with a slowly turning pearl */
.band {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(215, 238, 230, .10), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--ink) 70%, var(--deep));
}
.band__in { display: grid; gap: 36px; padding-block: 72px; align-items: center; }
@media (min-width: 900px) { .band__in { grid-template-columns: 1.05fr .95fr; gap: 64px; padding-block: 120px; } .band__art { order: 2; } }
.band__copy { display: grid; gap: 18px; max-width: 34rem; }
.band__text { color: #c5d0d4; font-size: 1.125rem; }
.band__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 4px; }
.band__art { position: relative; display: grid; place-items: center; min-height: 280px; }
.band__ripples { position: absolute; inset: 50% auto auto 50%; width: min(120%, 560px); aspect-ratio: 1; translate: -50% -50%; color: var(--gold); opacity: .4; }
.band__shell { position: absolute; width: min(78%, 360px); bottom: 2%; left: 50%; translate: -50% 0; color: var(--gold); opacity: .75; }
.pearl {
  position: relative; width: min(46vw, 230px); aspect-ratio: 1; border-radius: 50%; margin-bottom: 38px;
  background: radial-gradient(circle at 36% 32%, #fffdf9 0 5%, #f6f1e8 16%, #e7dfd3 42%, #c4c1bb 72%, #7c8a91 100%);
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, .75), inset -20px -26px 56px rgba(19, 48, 61, .42), 0 0 110px rgba(215, 238, 230, .14);
  overflow: hidden;
}
.pearl::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%; mix-blend-mode: soft-light; opacity: .95;
  background: conic-gradient(from 0deg, rgba(240, 214, 216, .9), rgba(215, 238, 230, .9), rgba(220, 216, 240, .95), rgba(240, 214, 216, .85), rgba(215, 238, 230, .9), rgba(220, 216, 240, .9), rgba(240, 214, 216, .9));
  animation: spin 48s linear infinite;
}
.pearl::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .95) 0 3.5%, rgba(255, 255, 255, 0) 13%),
    radial-gradient(70% 40% at 50% 100%, rgba(215, 238, 230, .35), transparent 70%),
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 46%, transparent 60%);
  background-size: 100% 100%, 100% 100%, 260% 100%;
  animation: turn 14s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes turn { 0% { background-position: 0 0, 0 0, 120% 0; } 100% { background-position: 0 0, 0 0, -60% 0; } }

/* Trust points: engraved small caps */
.trust { background: var(--pearl); border-block: 1px solid var(--hair-soft); }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; }
.trust__item {
  display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center;
  min-height: 132px; padding: 22px 12px;
  font-variant-caps: all-small-caps; font-weight: 800; font-size: 1.125rem; letter-spacing: .14em; line-height: 1.3;
  color: var(--gold-ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(118, 92, 38, .14);
}
.trust__item:nth-child(odd) { border-inline-end: 1px solid var(--hair-soft); }
.trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--hair-soft); }
.trust__item [data-ico] { width: 30px; height: 30px; }
.trust__item svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)); }
:lang(ar) .trust__item { font-weight: 700; font-size: 1.125rem; font-variant-caps: normal; line-height: 1.5; }
@media (min-width: 900px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__item { min-height: 150px; border-bottom: 0 !important; border-inline-end: 1px solid var(--hair-soft); }
  .trust__item:last-child { border-inline-end: 0; }
}

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: var(--on-dark); padding: 56px 0 24px; --focus: var(--gold-light); }
.foot__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; } }
.foot__brand { display: grid; gap: 12px; align-content: start; }
.foot__brand p { color: var(--on-dark-muted); }
.foot__domain { font: italic 400 1.05rem/1 "Fraunces", serif; color: var(--gold-light) !important; }
.foot h2 { font: 800 .8125rem/1.3 var(--f-text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
:lang(ar) .foot h2 { font-size: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: flex; align-items: center; min-height: 44px; color: #c9d3d7; text-decoration: none; transition: color .3s; }
.foot li a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.foot__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(184, 155, 94, .25); color: var(--on-dark-muted); font-size: .9375rem;
}
.foot__lang { display: flex; align-items: center; gap: 12px; }

/* ---------- Product page ---------- */
.crumbs { padding-block: 8px 4px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; margin: 0; font-size: .9375rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-inline: 6px; color: var(--gold); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.crumbs .crumbs__back { display: none; }
@media (max-width: 759px) {
  .crumbs ol { display: none; }
  .crumbs .crumbs__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
  .crumbs__back svg { width: 18px; height: 18px; color: var(--gold-ink); }
}
.pdp { display: grid; gap: 24px; padding-bottom: 56px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: start; padding-bottom: 96px; } }
.viewer {
  position: relative; aspect-ratio: 6 / 5; overflow: hidden; color: var(--on-dark); --focus: var(--gold-light);
  margin-inline: calc(-1 * var(--gutter));
  background:
    radial-gradient(60% 55% at 50% 40%, #1b3a4a 0%, #11293a 45%, #0a1b25 100%);
}
@media (min-width: 760px) { .viewer { margin-inline: 0; border-radius: 22px; aspect-ratio: 5 / 4; } }
@media (min-width: 960px) { .viewer { aspect-ratio: 1 / 1; } }
@media (min-width: 960px) { .viewer { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100svh - var(--hdr-h) - 40px); } }
.viewer::after { content: ""; position: absolute; inset: 10px; border-radius: 16px; border: 1px solid rgba(184, 155, 94, .28); pointer-events: none; }
@media (max-width: 759px) { .viewer::after { border-radius: 4px; } }
.viewer__canvas { position: absolute; inset: 0; }
.viewer__canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1.2s var(--ease); }
.viewer__canvas canvas:active { cursor: grabbing; }
.viewer.is-live .viewer__canvas canvas { opacity: 1; }
.viewer__poster { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 1s var(--ease); }
.viewer__poster svg { height: 88%; width: auto; }
.viewer.is-live .viewer__poster { opacity: 0; }
.viewer__tools { position: absolute; top: 18px; inset-inline-end: 18px; display: grid; gap: 8px; z-index: 2; }
.viewer__tools .iconbtn, .viewer__light {
  background: rgba(12, 31, 42, .55); border: 1px solid rgba(184, 155, 94, .45); color: var(--on-dark);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.viewer__tools .iconbtn:hover, .viewer__light:hover { background: rgba(19, 48, 61, .85); }
.viewer__light {
  position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  font-weight: 700; font-size: .9375rem;
}
.viewer__light svg { width: 20px; height: 20px; }
.viewer__light[aria-pressed="true"] { background: rgba(245, 241, 234, .92); color: var(--ink); border-color: transparent; }
.viewer__hint { position: absolute; z-index: 2; bottom: 18px; inset-inline: 18px; text-align: center; font-size: .8125rem; color: #c3ced2; pointer-events: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
:lang(ar) .viewer__hint { font-size: .9375rem; }
.viewer__fail { position: absolute; bottom: 44px; inset-inline: 18px; text-align: center; font-size: .875rem; color: #c3ced2; }

.bb { display: grid; gap: 18px; align-content: start; }
.bb__kicker { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--muted); }
.bb__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.25rem, 1.8rem + 2vw, 3.4rem); line-height: 1.04; letter-spacing: -.015em; }
:lang(ar) .bb__title { font-weight: 500; line-height: 1.38; }
.bb__by { color: var(--muted); margin-top: 6px; }
.bb__price { font-size: 1.9rem; }
.bb__head { display: grid; gap: 8px; }
.bb__priceRow { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bb__pod { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.bb__pod svg { width: 18px; height: 18px; color: var(--gold-ink); flex: none; }
.swatches { border: 0; padding: 0; margin: 0; min-width: 0; }
.swatches legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.swatches legend #colorName, .swatches legend > span:last-child { font-weight: 400; color: var(--muted); }
.swatches__list { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--hair-soft); transition: box-shadow .4s var(--ease);
}
.swatch label i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .18), inset 0 4px 8px rgba(255, 255, 255, .35), 0 0 0 1px rgba(12, 31, 42, .15); transition: transform .4s var(--ease); }
.swatch input:checked + label { box-shadow: inset 0 0 0 2px var(--gold-ink); }
.swatch input:checked + label i { transform: scale(.88); }
.swatch input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.swatch label:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.bb__buy { display: flex; gap: 10px; align-items: center; }
.bb__buy .btn { flex: 1; }
.bb__room { display: grid; gap: 6px; }
.bb__room .btn { width: 100%; }
.bb__note { color: var(--muted); text-align: center; }
.bb__card { border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft); padding: 4px 18px; }
.bb__card > div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
.bb__card > div:last-child { border-bottom: 0; }
.bb__card dt { font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding-top: 3px; }
:lang(ar) .bb__card dt { font-size: 1rem; font-weight: 700; padding-top: 0; }
.bb__card dd small { display: block; color: var(--muted); font-size: .9375rem; }
.bb__desc h2, .bb__specs h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
:lang(ar) .bb__desc h2, :lang(ar) .bb__specs h2 { font-weight: 600; }
.bb__desc p { color: var(--muted); max-width: 36rem; }

.buybar {
  position: fixed; z-index: 45; inset-inline: 0; bottom: 0;
  background: rgba(251, 249, 245, .97); border-top: 1px solid var(--hair);
  box-shadow: 0 -16px 36px -24px rgba(12, 31, 42, .45);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.buybar.is-on { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
.buybar__in { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; gap: 10px; }
.buybar__info { flex: 1; min-width: 0; display: grid; }
.buybar__name { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:lang(ar) .buybar__name { font-weight: 600; }
.buybar__meta { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.buybar__meta i { width: 12px; height: 12px; border-radius: 50%; background: var(--c, #d6bd94); box-shadow: 0 0 0 1px rgba(12, 31, 42, .2); }
.buybar .price { color: var(--ink); font-size: 1rem; }
.buybar .iconbtn { border: 1px solid var(--gold); width: 48px; height: 48px; color: var(--ink); }
.buybar .btn { min-height: 48px; padding-inline: 22px; }
.page-product .foot { padding-bottom: calc(24px + var(--buybar-h) + env(safe-area-inset-bottom)); }
.page-product { --toast-lift: 0px; }
html.has-buybar .page-product, .page-product.has-buybar { --toast-lift: var(--buybar-h); }

/* ---------- Sell page ---------- */
.shero {
  position: relative; overflow: hidden; color: var(--on-dark); isolation: isolate;
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(220, 216, 240, .10), transparent 70%),
    linear-gradient(180deg, #14364a, var(--ink) 78%);
}
.shero__in { display: grid; gap: 28px; padding-block: 48px 56px; }
@media (min-width: 960px) { .shero__in { grid-template-columns: 1.2fr .8fr; align-items: center; padding-block: 96px; gap: 64px; } }
.shero__copy { display: grid; gap: 18px; max-width: 40rem; }
.shero__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem); line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
.shero__title em { font-style: italic; color: var(--gold-light); }
:lang(ar) .shero__title { font-weight: 500; line-height: 1.35; }
.shero__lede { color: #c5d0d4; font-size: 1.0625rem; max-width: 34rem; }
.shero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.shero__ctas .btn { flex: 1 1 auto; white-space: nowrap; }
@media (min-width: 600px) { .shero__ctas .btn { flex: 0 0 auto; } }
.pitch { display: grid; gap: 0; border-top: 1px solid rgba(184, 155, 94, .3); }
.pitch li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(184, 155, 94, .2); }
.pitch svg { width: 28px; height: 28px; color: var(--gold-light); }
.pitch b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
:lang(ar) .pitch b { font-weight: 600; }
.pitch span { color: var(--on-dark-muted); font-size: .9375rem; }

.ssteps { display: grid; gap: 14px; counter-reset: st; }
@media (min-width: 700px) { .ssteps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ssteps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.sstep { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft); }
.sstep__n { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf8, var(--lining-2) 80%); box-shadow: inset 0 0 0 1px var(--hair); font: italic 400 1.35rem/1 "Fraunces", serif; color: var(--gold-ink); }
.sstep h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; margin-bottom: 4px; }
:lang(ar) .sstep h3 { font-weight: 600; line-height: 1.5; }
.sstep p { color: var(--muted); }
:lang(ar) .sstep p { font-size: 1.0625rem; }

.calc { display: grid; gap: 22px; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; } }
.calc__in { position: relative; display: grid; gap: 22px; }
.panel { border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft), 0 24px 50px -40px rgba(12, 31, 42, .5); padding: 20px; }
@media (min-width: 760px) { .panel { padding: 28px; } }
.panel h3, .fs legend { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.25; }
:lang(ar) .panel h3, :lang(ar) .fs legend { font-weight: 600; line-height: 1.5; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.fs legend { padding: 0; margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font: 800 .75rem/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--hair); white-space: nowrap; }
:lang(ar) .badge { font-size: .875rem; font-weight: 700; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--gold); background: var(--lining); color: var(--muted); font-size: .9375rem; }
.drop svg { width: 28px; height: 28px; color: var(--gold-ink); flex: none; }
.drop b { display: block; color: var(--ink); }
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1100px) { .samples { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sample { position: relative; }
.sample input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sample label {
  display: grid; gap: 6px; height: 100%; padding: 10px; border-radius: 14px; cursor: pointer; text-align: center;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft); transition: box-shadow .4s var(--ease), background-color .4s;
}
.sample__art { display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: linear-gradient(180deg, #f3ede3, #e9e0d2); }
.sample__art svg { width: 100%; height: 100%; }
.sample__name { font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.sample__file { font-size: .8125rem; color: var(--muted); line-height: 1.3; overflow-wrap: anywhere; }
.sample input:checked + label { box-shadow: inset 0 0 0 2px var(--gold-ink); background: #fffdf8; }
.sample input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.sample label:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.est { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--lining); }
.est svg { width: 20px; height: 20px; color: var(--gold-ink); flex: none; margin-top: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: grid; gap: 2px; padding: 12px 14px; min-height: 64px; border-radius: 14px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--hair-soft); background: var(--white); transition: box-shadow .4s var(--ease); }
.seg label b { font-size: 1.05rem; letter-spacing: .06em; }
.seg label small { font-size: .875rem; color: var(--muted); line-height: 1.35; }
.seg input:checked + label { box-shadow: inset 0 0 0 2px var(--gold-ink); background: #fffdf8; }
.seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg > span { position: relative; }
.pricefield { display: grid; gap: 8px; }
.pricefield label { font-weight: 700; }
.pricebox { display: flex; align-items: center; border-radius: 14px; border: 1px solid #b7ab95; background: var(--white); transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.pricebox:focus-within { border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(184, 155, 94, .28); }
.pricebox span { padding-inline: 16px 4px; font-weight: 800; color: var(--gold-ink); }
.pricebox input { flex: 1; min-width: 0; min-height: 54px; border: 0; background: transparent; outline: none; font-size: 1.25rem; font-weight: 700; padding-inline: 8px 16px; }
.pricebox.is-bad { border-color: var(--error); box-shadow: 0 0 0 3px rgba(154, 43, 35, .16); }
.hint { color: var(--muted); }
.err { display: flex; gap: 8px; align-items: flex-start; color: var(--error); font-weight: 700; }
.err:empty { display: none; }
.err svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.err[hidden] { display: none; }
.calc__sum {
  position: sticky; bottom: 0; z-index: 5; margin-inline: calc(-1 * var(--gutter));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--gold);
  box-shadow: 0 -14px 30px -20px rgba(12, 31, 42, .6);
}
.calc__sum div { display: grid; line-height: 1.25; }
.calc__sum small { font-size: .8125rem; color: var(--on-dark-muted); }
:lang(ar) .calc__sum small { font-size: .9375rem; }
.calc__sum b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
:lang(ar) .calc__sum b { font-family: var(--f-text); font-weight: 700; }
.calc__sum .is-bad b { color: #f3b8a8; }
.calc__sum div:last-child { text-align: end; }
@media (min-width: 960px) { .calc__sum { display: none; } }
.calc__out { display: grid; gap: 18px; }
@media (min-width: 960px) { .calc__out { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.result { background: var(--ink); color: var(--on-dark); --focus: var(--gold-light); }
.result h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.result .badge { color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(184, 155, 94, .55); }
.result__list { display: grid; margin-top: 14px; }
.result__list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(184, 155, 94, .22); }
.result__list dt { color: var(--on-dark-muted); }
.result__list dd { font-family: var(--f-display); font-size: 1.35rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
:lang(ar) .result__list dd { font-family: var(--f-text); font-weight: 700; }
.result__list .is-key dd { font-size: 2rem; color: var(--gold-light); }
.result__list .is-key dt { color: var(--on-dark); font-weight: 700; }
.result__list > div:last-child { border-bottom: 0; }
.result.is-bad .is-earn dd { color: #f3b8a8; }
.breakdown summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-weight: 700; color: var(--gold-light); list-style: none; }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.breakdown[open] summary svg { transform: rotate(180deg); }
.breakdown dl { display: grid; gap: 0; font-size: .9375rem; }
.breakdown dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(184, 155, 94, .2); color: var(--on-dark-muted); }
.breakdown dl > div small { display: block; font-size: .8125rem; }
.breakdown dd { white-space: nowrap; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.breakdown .total { border-bottom: 0; color: var(--on-dark); font-weight: 800; }
.howest { background: var(--lining); box-shadow: inset 0 0 0 1px var(--hair-soft); }
.howest p { color: var(--muted); margin-top: 8px; }
.howest h3 { display: flex; align-items: center; gap: 10px; }
.howest h3 svg { width: 24px; height: 24px; color: var(--gold-ink); flex: none; }

.guide { margin-top: 8px; border-radius: 20px; overflow: clip; background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft); }
.guide__row { display: grid; grid-template-columns: 1fr 1fr; }
.guide__row > * { padding: 14px 16px; border-bottom: 1px solid var(--hair-soft); }
.guide__row > [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; border-bottom: 0; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
:lang(ar) .guide__row > [role="rowheader"] { font-size: 1rem; font-weight: 700; }
.guide__row > [role="cell"] { font-size: .9375rem; }
:lang(ar) .guide__row > [role="cell"] { font-size: 1.0625rem; }
.guide__row > [role="cell"]:nth-child(2) { border-inline-end: 1px solid var(--hair-soft); }
.guide__head { position: sticky; top: var(--hdr-h); z-index: 3; background: var(--ink); color: var(--on-dark); }
.guide__head > * { border-bottom: 0; padding-block: 14px; }
.guide__head > [role="columnheader"]:first-child { display: none; }
.guide__mat { display: flex; align-items: center; gap: 10px; }
.guide__mat svg { width: 30px; height: 30px; flex: none; }
.guide__mat b { font-size: 1.15rem; letter-spacing: .08em; display: block; }
.guide__mat small { display: block; font-size: .8125rem; color: var(--on-dark-muted); line-height: 1.3; }
:lang(ar) .guide__mat small { font-size: .9375rem; }
@media (min-width: 900px) {
  .guide__row { grid-template-columns: 13rem 1fr 1fr; }
  .guide__row > [role="rowheader"] { grid-column: auto; padding: 18px 22px; border-bottom: 1px solid var(--hair-soft); background: var(--lining); }
  .guide__row > [role="cell"] { padding: 18px 22px; font-size: 1rem; }
  .guide__row > [role="cell"]:nth-child(2) { border-inline-end: 1px solid var(--hair-soft); }
  .guide__head > [role="columnheader"]:first-child { display: block; }
  .guide__head > * { padding: 18px 22px; }
}
.guide__notes { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .guide__notes { grid-template-columns: 1fr 1fr; } }
.note { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 18px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--hair-soft); }
.note svg { width: 26px; height: 26px; color: var(--gold-ink); }
.note b { display: block; margin-bottom: 2px; }
.note p { color: var(--muted); }
.rules { display: grid; gap: 18px; }
@media (min-width: 900px) { .rules { grid-template-columns: 1fr 1fr; gap: 24px; } }
.rules ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }
.rules li { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.rules li svg { width: 22px; height: 22px; color: var(--error); flex: none; }
.rules p:not(.eyebrow) { color: var(--muted); margin-top: 12px; max-width: 34rem; }
.rules .title { margin-top: 14px; }
.scta { text-align: center; }
.scta .wrap { display: grid; justify-items: center; gap: 18px; padding-block: 80px; }
.scta p { color: #c5d0d4; max-width: 34rem; }
.scta small { color: var(--on-dark-muted); font-size: .875rem; }

/* ---------- Reduced motion: a well-composed still state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .rule[data-draw] { transform: none; }
  .hero__rays i { animation: none; }
}

.pearl--sm { width: 84px; margin: 0 0 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7), inset -8px -10px 22px rgba(19, 48, 61, .42), 0 0 60px rgba(215, 238, 230, .14); }
.btn .done { display: inline-grid; place-items: center; }
.btn .done svg { width: 18px; height: 18px; }
.viewer__tools { visibility: hidden; }
.viewer.is-live .viewer__tools { visibility: visible; }
.viewer__light [data-ico] > svg, .bb__pod [data-ico] > svg { width: 20px; height: 20px; }
.pitch [data-ico] > svg { width: 28px; height: 28px; }
.drop [data-ico] > svg { width: 28px; height: 28px; }
.note [data-ico] > svg { width: 26px; height: 26px; }
.rules li [data-ico] > svg { width: 22px; height: 22px; color: var(--error); }
.howest h3 [data-ico] > svg { width: 24px; height: 24px; }
.est [data-ico] > svg { width: 20px; height: 20px; }
.breakdown summary [data-ico] > svg { width: 18px; height: 18px; }
.breakdown[open] summary [data-ico] { transform: rotate(180deg); }
.breakdown summary [data-ico] { transition: transform .4s var(--ease); }
.btn [data-ico] > svg { width: 20px; height: 20px; }
.trust__item [data-ico] > svg { width: 30px; height: 30px; }
.qty [data-ico] > svg { width: 18px; height: 18px; }

@media (max-width: 599px) {
  .hero .eyebrow { letter-spacing: .13em; font-size: .78rem; }
  .hero .eyebrow::before { display: none; }
}

html:has(.qv.is-open) .toast { --toast-lift: 76px; }

/* ?rm=1 previews the reduced-motion still state (same rules as the media query above) */
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.js.rm .rule[data-draw] { transform: none; }
html.rm .hero__rays i { animation: none; }
.qv__colors.swatches { margin-top: 20px; }
