/* Shanesha storefront. Phone first (360 / 390), native scrolling, no framework.
   Colours come from assets/theme.json (site.js writes them onto :root); the values below are the "loom" theme's, so the
   first paint already has the right colours.

   The design: the loom film is the page. Near-black, deep green and antique gold, from the film; warm cream type; rani pink
   only as a rare accent. Nothing wide and opaque ever covers the film:
   - type lies straight on it, kept readable by --on-film (a soft shadow every text inherits) and, where the film can be
     bright behind it, .glow (a blurred dark patch the shape of the text, with no edge);
   - the only surfaces are a field, a button, a notice and the test payment: small, translucent near-black, one hairline;
   - the only opaque things on a page are the saree pictures.
   The old names stay: --paper is now the translucent surface, --ink the cream type on it, --rule the gold hairline. */

@font-face { font-family: "Yrsa"; src: url("/assets/fonts/Yrsa-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
/* Yrsa-Light is the same drawing at wght 300 but has no rupee sign: that one glyph comes from the regular file. */
@font-face { font-family: "Yrsa"; src: url("/assets/fonts/Yrsa-Regular.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Yrsa"; src: url("/assets/fonts/Yrsa-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yrsa"; src: url("/assets/fonts/Yrsa-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/fonts/Mukta-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("/assets/fonts/Mukta-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: rgba(7, 9, 7, 0.64); --paper-2: rgba(7, 9, 7, 0.8); --paper-3: rgba(226, 200, 138, 0.2);
  --ink: #f4ecd8; --ink-2: #dcd2ba;
  --accent: #e2c88a; --accent-2: #e2c88a;
  --gold: #c9a45c; --gold-2: #e2c88a;
  --leaf: #bccb9f; --coral: #dda67f; --rule: rgba(226, 200, 138, 0.36); --hero-ground: #050705;
  --bar-bg: transparent;
  --rani: #e0408f;
  --serif: "Yrsa", Georgia, "Times New Roman", serif;
  --sans: "Mukta", "Segoe UI", system-ui, sans-serif;
  /* the whole type scale */
  --t1: 13px; --t2: 15px; --t3: 17px; --t4: 20px; --t5: 24px; --t6: 32px; --t7: 44px;
  --bar: 56px;
  --buy: 69px;
  --gutter: 14px;
  --max: 1180px;
  --vh: 1vh;
  --on-film: 0 1px 2px rgba(4, 5, 4, 0.95), 0 0 10px rgba(4, 5, 4, 0.8), 0 0 26px rgba(4, 5, 4, 0.55);
}
@supports (height: 1svh) { :root { --vh: 1svh; } }
/* Pages where someone has to read a form or a price: the same shadow, built up until it lies under the whole line as a soft pool
   that follows the letters. The film can bring a pale squirrel's belly or a bright thread behind any line. */
body:not([data-page="home"]) { --on-film: 0 0 1px rgba(4, 5, 4, 0.95), 0 1px 2px rgba(4, 5, 4, 0.95), 0 0 4px rgba(4, 5, 4, 0.95), 0 0 7px rgba(4, 5, 4, 0.95), 0 0 7px rgba(4, 5, 4, 0.9), 0 0 12px rgba(4, 5, 4, 0.9), 0 0 12px rgba(4, 5, 4, 0.8), 0 0 18px rgba(4, 5, 4, 0.75), 0 0 26px rgba(4, 5, 4, 0.55); }
/* A tall phone's film has lost its sides: the only thing at the edge is the squirrels' way up, kept clear of the first letters (animals.js fits them to it). */
@media (max-width: 599px) and (max-aspect-ratio: 1/2) { body:not([data-page="home"]) { --gutter: 18px; } }
/* From 600 px the film's whole width is on screen, with its bright gold threads down both sides (10% and 14.5% of the film's width).
   Reading stays in the dark threads between them: --col is that width, 71% of the film. The film is as wide as the window, or 160% of its height past 8:5. */
@media (min-width: 600px) { :root { --col: min(1144px, 71vw, 113.6vh); --col: min(1144px, 71vw, 113.6lvh); } }
:root { color-scheme: dark; }   /* checkboxes, radios and native lists belong to the dark film */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
/* A column, so the footer sits at the bottom of a short page and the film shows above it. */
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--hero-ground); color: var(--ink); font-family: var(--serif); font-size: var(--t3); line-height: 1.45; -webkit-font-smoothing: antialiased; text-shadow: var(--on-film); }
body > main { flex: 1 0 auto; width: 100%; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
b, strong { font-family: var(--sans); font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0; letter-spacing: 0; }
h1 { font-size: var(--t6); }
h2 { font-size: var(--t5); }
h3 { font-size: var(--t4); }
p { margin: 0 0 12px; }
.sans { font-family: var(--sans); }
.ital { font-style: italic; }
.muted { color: var(--ink-2); }
.small { font-size: var(--t2); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: var(--max); margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-family: var(--sans); font-size: var(--t1); color: var(--ink-2); }
/* Prices: lining figures in the text face. */
.num { font-variant-numeric: lining-nums tabular-nums; }
.sample-note { font-style: italic; font-size: var(--t2); color: var(--ink-2); font-weight: 400; margin-left: 4px; white-space: nowrap; }

/* ---- the backdrop: one fixed still behind every page, and a canvas of the same shape over it (site.js loomFilm), so the two
   line up exactly and the still is what shows until a frame is drawn, or for good with no script, reduced motion or a
   saved-data connection. Not background-attachment, which fails on phones. lvh is the large viewport, so nothing moves or
   shows an edge when a phone's address bar hides (vh first, for browsers without lvh).
   Framing: the film always fills the window, never stretched. A phone-shaped window loses the film's sides. A wider one
   loses top and bottom, and the film pans through them as it plays (site.js sets object-position, 80% to 0%), so the beam
   rises from the middle of the screen to its top and the cloth comes out below it. Past 8:5 the film stops growing, at
   100 x 8/5 of the window's height, since it would only get softer and lose the animals; the sides then fade to the page. */
.backdrop { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: -1; width: 100vw; width: min(100vw, 160vh); width: min(100vw, 160lvh); max-width: none; height: 100vh; height: 100lvh; object-fit: cover; object-position: 50% 80%; pointer-events: none; user-select: none; }
@media (min-aspect-ratio: 1601/1000) { .backdrop { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); } }
html[data-theme]:not([data-theme="loom"]) .backdrop { left: 0; transform: none; width: 100%; object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }   /* ?theme= previews of the wide pictures */

/* ---- .glow: the one way to keep type readable where the film can be bright behind it. A dark patch the shape of the text,
   blurred until it has no edge, behind the element and inside its own stacking context. Never a box. */
.glow, .foot .wrap, .page > h1, .more > h2, .grid .cap, .grid .add, .pd-sum, .qty-row, .details, .reviews, .totals, [data-del], .line-item .remove { position: relative; isolation: isolate; }
.glow::before, .foot .wrap::before, .page > h1::before, .more > h2::before, .grid .cap::before, .grid .add::before, .pd-sum::before, .qty-row::before, .details::before, .reviews::before, .totals::before, [data-del]::before, .line-item .remove::before { content: ""; position: absolute; inset: -6px -10px; z-index: -1; background: rgba(5, 7, 5, 0.56); filter: blur(18px); border-radius: 30px; pointer-events: none; }
.foot .wrap::before { inset: -6px 0; }

/* ---- surfaces, only where truly needed: small, translucent near-black, one hairline; the film shows through and around.
   A form and a bag are not surfaces: their sections (.panel) are parted by hairlines on the film. */
.notice, .fake-pay { background: var(--paper); border: 1px solid var(--rule); }

/* ---- top bar: no background at all, only the logo and four icons on the film. Each icon carries its own soft dark pool, so
   it stays readable over a saree passing under it. Scrolling down sends the bar away, scrolling up brings it back (site.js
   barOnFilm), so the film is clear while someone watches it. The small logo waits on the home page until the large one has
   gone. With no script the bar simply stays. */
.bar { position: sticky; top: 0; z-index: 30; background: var(--bar-bg); color: var(--ink); transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar-away .bar:not(:focus-within) { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
/* Once the page has moved, the bar comes back over whatever is passing: a short fall of shade under it, so type does not run through the logo. */
.bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--bar) + 26px); z-index: -1; background: linear-gradient(rgba(5, 7, 5, 0.95), rgba(5, 7, 5, 0.86) 62%, transparent); opacity: 0; pointer-events: none; }
.page-moved .bar::before { opacity: 1; }
.bar-away .bar:not(:focus-within)::before { opacity: 0; }
/* Near the top of a page with its heading just under the bar, the bar simply scrolls off with the page, so the heading can never run under the logo (site.js barOnFilm). */
.bar-flow .bar { position: relative; }
.bar-flow .bar::before { opacity: 0; }
.bar-snap .bar { transition: none; }
@media (scripting: none) { .bar { position: relative; } }
body[data-page="home"] .bar { position: fixed; left: 0; right: 0; }
body[data-page="home"] .bar .logo > * { visibility: hidden; }
.past-hero body[data-page="home"] .bar .logo > * { visibility: visible; }
@media (scripting: none) { body[data-page="home"] .bar .logo > * { visibility: visible; } }
.bar-in { height: var(--bar); display: flex; align-items: center; gap: 0; padding: 0 4px 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.bar .logo { position: relative; display: flex; align-items: center; gap: 9px; height: var(--bar); margin-right: auto; text-decoration: none; flex-shrink: 0; }
.bar .logo .mark { height: 34px; width: auto; filter: drop-shadow(0 0 5px rgba(4, 5, 4, 0.85)); }
.bar .logo .lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bar .logo .word { height: 13px; width: auto; filter: drop-shadow(0 0 4px rgba(4, 5, 4, 0.95)); }
/* The preview marker is a small line under the wordmark, inside the lockup, so it can overlap nothing. */
.bar .preview-tag { font-family: var(--sans); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); line-height: 1; white-space: nowrap; }
.bar a.nav { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: var(--bar); padding: 0 2px; color: var(--ink); position: relative; text-decoration: none; isolation: isolate; }
.bar a.nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: -1; background: radial-gradient(closest-side, rgba(5, 7, 5, 0.72), rgba(5, 7, 5, 0.5) 58%, transparent); pointer-events: none; }
.bar a.nav:hover { color: var(--gold-2); }
.bar .nav svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bar .nav[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 9px; height: 1px; background: var(--gold-2); }
.bar .count { position: absolute; top: 8px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--gold-2); color: #14130c; font-family: var(--sans); font-size: 10px; font-weight: 500; line-height: 16px; text-align: center; text-shadow: none; }
.bar .count[data-n="0"] { display: none; }
/* A short phone sees the film's whole width, with the gold threads at its edges: type moves in, off them. */
@media (max-width: 719px) and (min-aspect-ratio: 1/2) { :root { --gutter: 28px; } }
@media (min-width: 720px) {
  :root { --bar: 64px; --gutter: 18px; --t7: 56px; }
  .bar .logo .mark { height: 40px; }
  .bar .logo .word { height: 15px; }
  .bar a.nav { min-width: 52px; margin-left: 8px; }
}
/* 24 Nov: below 400px all five icons fit beside the mark at 42px, so Shop need not be hidden (site.js) */
@media (max-width: 399px) { .bar a.nav { min-width: 42px; } }

/* ---- buttons: a translucent near-black rectangle with one gold hairline, sentence case ------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t2); font-weight: 500; text-decoration: none; white-space: nowrap; text-shadow: none; transition: border-color 160ms linear, background-color 160ms linear; }
.btn:hover { background: var(--paper-2); border-color: var(--gold-2); color: var(--ink); }
.btn.primary { background: var(--paper-2); border-color: var(--gold-2); color: var(--ink); }
.btn.primary:hover { background: rgba(7, 9, 7, 0.9); color: var(--gold-2); }
.btn.accent { background: var(--paper-2); border-color: var(--gold-2); color: var(--gold-2); }
.btn.accent:hover { background: rgba(7, 9, 7, 0.9); }
.btn.small { min-height: 44px; padding: 0 14px; }
.btn.wide { width: 100%; }
/* a disabled button stays readable: it loses its hairline's colour, not its contrast */
.btn:disabled, .btn.primary:disabled, .btn.accent:disabled { background: var(--paper); color: var(--ink-2); border-color: var(--rule); cursor: default; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link { background: none; border: 0; padding: 10px 0; min-height: 44px; text-decoration: underline; text-decoration-color: var(--gold-2); text-underline-offset: 4px; color: var(--ink); font-family: var(--sans); font-size: var(--t2); }
.link:hover { color: var(--gold-2); }
.iconbtn { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); }
.iconbtn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(4, 5, 4, 0.9)); }
.iconbtn.on svg { fill: var(--rani); stroke: var(--rani); }

/* ---- forms --------------------------------------------------------------------------------------------- */
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-family: var(--sans); font-size: var(--t2); color: var(--ink); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--gold); background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; text-shadow: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 1; }
.field select option { background: #0b0d0b; color: var(--ink); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; font-family: var(--serif); font-size: var(--t3); }
.field input:focus, .field select:focus, .field textarea:focus { background-color: var(--paper-2); border-color: var(--gold-2); box-shadow: 0 1px 0 0 var(--gold-2); }
.field .hint { font-family: var(--serif); font-size: var(--t2); color: var(--ink-2); margin: 4px 0 0; font-style: italic; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { font-family: var(--sans); color: #f6e7bf; font-size: var(--t2); min-height: 20px; margin: 4px 0 8px; }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: var(--t2); min-height: 44px; }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--gold); }
.fold { margin: 4px 0 10px; }
.fold summary { cursor: pointer; font-family: var(--sans); font-size: var(--t2); color: var(--ink-2); min-height: 44px; display: flex; align-items: center; }
.fold[open] summary { margin-bottom: 8px; }
.notice { padding: 10px 14px; margin: 0 0 16px; font-size: var(--t2); }
.notice p { margin: 4px 0; }

/* A figure: the cut-out at a given height of its box, centred on its body axis, with one soft shadow pooled under the
   feet (the ellipse is sized from the figure, never from the panel, so it is never a band).
   `--r` is the cut-out's own width/height (site.js, from theme.json `models`), so the box has a definite width
   from its height; max-width shrinks a thrown pallu inside it (object-fit: contain, feet staying on the floor). */
.figure { position: absolute; left: 50%; bottom: 3.5%; height: 72%; aspect-ratio: var(--r, 0.55); max-width: 94%; transform: translateX(-50%); }
.figure img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.figure .ground { position: absolute; left: 50%; bottom: -1%; width: 92%; height: 3.4%; transform: translateX(-50%); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--hero-ground) 34%, transparent) 0%, color-mix(in srgb, var(--hero-ground) 12%, transparent) 42%, transparent 70%); filter: blur(4px); }

/* ---- home, first screen: the logo, one line and "See the sarees" on the dark threads, above the beam. Nothing lower than
   that but a small word at the very bottom, so the beam and the cloth rise through clear film. */
.hero-spread { position: relative; height: calc(var(--vh) * 100); min-height: 520px; }
.hero { display: flex; flex-direction: column; align-items: center; padding: calc(var(--bar) + 4px) var(--gutter) 0; text-align: center; }
.hero-logo img { height: 118px; width: auto; filter: drop-shadow(0 1px 8px rgba(4, 5, 4, 0.85)); }
.hero h1 { font-style: italic; font-weight: 400; font-size: var(--t4); line-height: 1.3; margin: 16px 0 26px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-actions .btn.primary { min-height: 60px; padding: 0 34px; font-family: var(--serif); font-size: var(--t5); font-weight: 400; }
.hero-actions .link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; text-shadow: var(--on-film); }
.hero-actions .link svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(4, 5, 4, 0.9)); }
.hero-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--sans); font-size: var(--t1); color: var(--ink); pointer-events: none; }
.hero-cue i { display: block; width: 1px; height: 26px; background: linear-gradient(var(--gold-2), transparent); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) { .hero-cue i { animation: cue 2.4s cubic-bezier(0.5, 0, 0.2, 1) infinite; } }
@keyframes cue { 0% { transform: scaleY(0); } 55%, 100% { transform: scaleY(1); } }
@media (min-width: 720px) {
  .hero { padding-top: calc(var(--bar) - 6px); }
  .hero-logo img { height: 150px; }
  .hero h1 { font-size: var(--t5); margin: 16px 0 28px; }
  .hero-actions .btn.primary { min-height: 66px; padding: 0 44px; font-size: var(--t6); }
}

/* ---- a saree in a list: the whole figure, the name, the price, a heart and a quiet add ------------------------------- */
/* lazy images (data-src, swapped in by site.js when near the screen) stay invisible until they have a source */
img[data-src] { opacity: 0; }
.card { position: relative; display: flex; flex-direction: column; }
.card > .ph { position: relative; display: block; aspect-ratio: 5 / 8; text-decoration: none; }
.card .ph .figure { height: 89%; bottom: 3.5%; max-width: 90%; }
.card .slide > img.photo { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; padding: 8px; }
.card .heart { position: absolute; right: 0; top: 0; z-index: 2; color: var(--ink); }
.card .cap { padding: 0 2px; }
.card h3 { font-size: var(--t3); line-height: 1.2; }
/* The name is a tap target of its own. */
.card h3 a { display: flex; align-items: flex-start; min-height: 48px; padding-top: 4px; text-decoration: none; }
.card .price { font-size: var(--t3); line-height: 1.3; }
.card .sample-note { font-size: var(--t1); }
.stock { font-family: var(--sans); font-size: var(--t1); color: var(--ink-2); }
.stock.few_left { color: var(--accent-2); }
.card .stock { display: block; margin-top: 2px; }
.card .add { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0 2px; width: fit-content; background: none; border: 0; text-align: left; font-family: var(--sans); font-size: var(--t2); color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card .add:hover { color: var(--gold-2); }
.card > .stock-only { padding: 0 2px 12px; }
.empty { padding: calc(var(--vh) * 6) 0; color: var(--ink); }
.empty p { font-size: var(--t4); font-weight: 300; margin-bottom: 22px; }

/* ---- home: the long scroll. The page's length is what paces the film, so these distances are the choreography:
   --rest is a stretch with nothing on it but the film (and the animals, later). The first saree only comes after the beam
   has visibly climbed; the last rest leaves the cloth to finish on its own. Each saree stands alone, with the caption on
   the film under it; from 720 px the figures alternate sides and leave the far side and the page's edges clear. */
:root { --rest: calc(var(--vh) * 70); --rest-first: calc(var(--vh) * 125); --rest-last: calc(var(--vh) * 115); }
.plates { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.plate { background: none; display: grid; isolation: isolate; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ph ph" "cap heart" "add heart"; margin-top: var(--rest); }
.plate:first-child { margin-top: var(--rest-first); }
/* 24 Nov: the home page ran to 24-27 screens, a quarter of them film alone. Shorter rests there: saree No. 01 comes straight after
   the first statement, the lines between the sarees still have room, and "Find a saree" follows the last statement closely. */
body[data-page="home"] { --rest: calc(var(--vh) * 34); --rest-first: calc(var(--vh) * 12); --rest-last: calc(var(--vh) * 14); }
body[data-page="home"] .find { padding-bottom: calc(var(--vh) * 12); }
.plate:nth-child(even) { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ph ph" "heart cap" "heart add"; text-align: right; }
.plate::after { content: ""; grid-area: 2 / 1 / 4 / 3; z-index: -1; margin: 2px 0 -2px; background: rgba(5, 7, 5, 0.56); filter: blur(18px); border-radius: 30px; pointer-events: none; }
.plate > .ph { grid-area: ph; height: calc(var(--vh) * 100 - 176px); min-height: 390px; max-height: 780px; aspect-ratio: auto; overflow: visible; }
.plate .ph .figure { height: 98%; bottom: 1%; max-width: 100%; }
.plate .slide > img.photo { padding: 0; border: 1px solid var(--rule); }   /* a saree without a cut-out yet: the photograph, whole, in a clean frame */
.plate .cap { grid-area: cap; padding: 6px 0 0; }
.plate:nth-child(even) .cap { padding-right: 0; }
.plate h3 { font-size: var(--t6); line-height: 1.08; }
.plate h3 a { display: block; min-height: 0; padding: 0 0 6px; }
.plate .price { font-size: var(--t4); color: var(--gold-2); }
.plate .sample-note { color: var(--ink-2); font-size: var(--t2); }
.plate .heart { grid-area: heart; position: static; align-self: start; margin-top: 2px; }
.plate .add { grid-area: add; justify-self: start; padding: 0; margin: 0; }
.plate:nth-child(even) .add { justify-self: end; }
.plate .stock-only { padding: 6px 0 0; }
/* The figure is uncovered from the bottom up as it arrives, as the beam uncovers the cloth. Only script adds .rise, only to
   a saree still below the screen and only with motion allowed, so nothing can stay hidden without it. */
.card.rise > .ph { clip-path: inset(100% -20% -4% -20%); }
.card.rise .cap, .card.rise .add, .card.rise .heart { opacity: 0; }
.card.rise.in > .ph { clip-path: inset(-4% -20% -4% -20%); transition: clip-path 1250ms cubic-bezier(0.25, 0.7, 0.2, 1); }
.card.rise.in .cap, .card.rise.in .add, .card.rise.in .heart { opacity: 1; transition: opacity 700ms linear 550ms; }
@media (min-width: 720px) {
  :root { --rest: calc(var(--vh) * 62); --rest-first: calc(var(--vh) * 110); --rest-last: calc(var(--vh) * 100); }
  .plates { padding: 0 calc(var(--gutter) + 3vw); }
  .plate, .plate:nth-child(even) { text-align: left; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) auto; grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "ph . ." "ph cap heart" "ph add heart" "ph . ."; column-gap: 16px; }
  .plate:nth-child(even) { text-align: right; grid-template-columns: auto minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: ". . ph" "heart cap ph" "heart add ph" ". . ph"; }
  .plate::after { grid-area: 2 / 2 / 4 / 4; margin: -10px -6px; }
  .plate:nth-child(even)::after { grid-area: 2 / 1 / 4 / 3; }
  .plate > .ph { height: calc(var(--vh) * 86); min-height: 480px; max-height: 860px; }
  .plate h3 { font-size: var(--t7); }
  .plate .price { font-size: var(--t5); }
  .plate .add { font-size: var(--t3); }
}

/* ---- the end of the scroll: the finished cloth, the way to all the sarees high on the screen, the animals left clear under it */
.find { padding: var(--rest-last) var(--gutter) calc(var(--vh) * 30); display: flex; flex-direction: column; align-items: center; text-align: center; }
.find-in { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 620px; }
.find h2 { font-size: var(--t7); }
.find .btn.primary { min-height: 60px; padding: 0 34px; font-family: var(--serif); font-size: var(--t5); font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin-bottom: -10px; }
.swatch { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; color: var(--ink); font-family: var(--sans); font-size: var(--t2); }
.swatch i { display: block; width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); }
.find-search { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: var(--t2); }
@media (min-width: 720px) { .find .btn.primary { min-height: 66px; padding: 0 44px; font-size: var(--t6); } }
@media (max-height: 700px) { .find { padding-bottom: calc(var(--vh) * 12); } .find-in { gap: 8px; } .foot p { font-size: var(--t1); } }

.founders { padding: 0 0 72px; }
.founders img { width: 100%; max-width: 480px; margin: 16px auto; }

/* ---- footer: where to go, and what is honest to say, on the film ---------------------------------------------------- */
.foot { margin-top: 56px; padding: 0 0 calc(18px + env(safe-area-inset-bottom)); font-size: var(--t2); color: var(--ink); }
.foot .wrap { width: fit-content; max-width: min(var(--max), 100%); }
.foot nav { display: flex; flex-wrap: wrap; margin: 0 0 2px -10px; font-family: var(--sans); }
.foot nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; text-decoration: none; color: var(--ink); }
.foot nav a:hover { color: var(--gold-2); }
.foot p { margin: 0 0 3px; max-width: 72ch; line-height: 1.32; font-size: var(--t1); }
@media (min-width: 720px) { .foot p { font-size: var(--t2); } }
body[data-page="home"] .foot { margin-top: 0; }
@media (min-width: 720px) { .foot { text-align: center; } .foot nav { justify-content: center; margin-left: 0; } .foot p { margin-left: auto; margin-right: auto; } }

/* ---- every page but home: a title on the film, the content under it, the film around it. No page has a panel: a form is its
   fields, a bag is its lines and hairlines. Only three things are small surfaces: a field, a notice, the test payment. */
.page { padding-top: calc(var(--vh) * 5); padding-bottom: 16px; }
.page h1 { margin-bottom: 14px; }
@media (min-width: 600px) {
  main.wrap.page, #saree .more.wrap { padding-left: 0; padding-right: 0; width: var(--col); }
  .foot .wrap { max-width: var(--col); padding-left: 0; padding-right: 0; }
}
.page > h1 { width: fit-content; max-width: 100%; margin: 0 0 calc(var(--vh) * 3); padding: 8px 0 6px; }
@media (min-width: 720px) { .page h1 { font-size: var(--t7); } }
body[data-page="account"] main.page, body[data-page="order"] main.page, body[data-page="404"] main.page { max-width: 640px; }
body[data-page="bag"] main.page, body[data-page="checkout"] main.page { max-width: 1040px; }
.lost { padding-top: calc(var(--vh) * 6); }
.lost p { margin-bottom: 24px; }

/* ---- all sarees: search, colours, filters, then the figures themselves on the film. The columns are staggered, so the film
   runs between them, and the page ends on a stretch with nothing on it but the film. */
.controls { margin-bottom: calc(var(--vh) * 6); }
.controls h1 { margin-bottom: 12px; }
.search-row { display: flex; max-width: 560px; margin: 0 0 6px; }
.search-row .field { flex: 1; margin: 0; }
.search-row input { padding-left: 42px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c88a' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 12px 50% / 20px no-repeat; }
.filters { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 0; }
.chip { display: inline-flex; align-items: center; font-family: var(--sans); font-size: var(--t2); min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); text-shadow: var(--on-film); }
.chip.on { color: var(--gold-2); text-decoration: underline; text-decoration-color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.chip.sw { gap: 7px; }
.chip.sw i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px var(--rule); }
.chip .muted { color: inherit; margin-left: 4px; }
.controls-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.result-line { flex: 1 1 auto; display: flex; gap: 14px; align-items: center; font-family: var(--sans); font-size: var(--t2); color: var(--ink-2); min-height: 44px; }
.more-filters { order: 2; }
.more-filters[open] { order: 3; flex: 1 1 100%; }
.more-filters summary { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-height: 44px; font-family: var(--sans); font-size: var(--t2); color: var(--ink); cursor: pointer; list-style: none; }
.more-filters summary::-webkit-details-marker { display: none; }
.more-filters summary::after { content: "+"; }
.more-filters[open] summary::after { content: "\2212"; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; margin: 6px 0 4px; }
.filter-row .field { margin: 0; }
.filter-row .field input, .filter-row .field select { min-height: 44px; font-size: var(--t2); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--vh) * 8) 10px; }
.grid > .card:nth-child(even) { margin-top: calc(var(--vh) * 13); }
body[data-page="sarees"] main.page { padding-bottom: calc(var(--vh) * 16); }   /* 24 Nov: was 110, a bare screen before the footer */
@media (min-width: 720px) {
  .filter-row { grid-template-columns: repeat(4, 1fr); max-width: 860px; }
  .controls .filters { gap: 0 20px; }
}
@media (min-width: 600px) and (max-width: 999px) { .grid { gap: calc(var(--vh) * 6) 24px; } }
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: calc(var(--vh) * 9) 28px; max-width: 1100px; margin: 0 auto; }
  .grid > .card:nth-child(even) { margin-top: 0; }
  .grid > .card:nth-child(3n + 2) { margin-top: calc(var(--vh) * 16); }
  .card:not(.plate) h3 { font-size: var(--t4); }
  .card:not(.plate) h3 a { min-height: 44px; justify-content: center; }
  /* a wide column: the caption stands under the figure, the heart beside it, not out at the column's edges */
  .grid .card { text-align: center; }
  .grid .card .add { margin: 0 auto; }
  .grid .card .heart { right: 8%; }
}

/* ---- saree page: the whole figure on the film, the name and price under it. On a phone the first screen is exactly that, with
   two buttons floating at the bottom and no band behind them; the photographs follow, each whole in a clean frame. */
body[data-page="saree"] main { padding-top: 12px; }
.pd-panel { display: block; }
@media (min-width: 600px) and (max-width: 719px) { #saree > .wrap { padding-left: 0; padding-right: 0; width: var(--col); } }
.pd-first { display: flex; flex-direction: column; height: calc(100svh - var(--bar) - var(--buy) - 12px); min-height: 440px; }
.gallery-wrap { position: relative; flex: 1 1 0; min-height: 0; }
.gallery { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { position: relative; flex: 0 0 100%; height: 100%; margin: 0; padding: 14px 0 0; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.gallery figure > img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 10px; min-height: 10px; border: 1px solid var(--rule); }
.gallery figure.cut { padding: 0; display: block; }
.gallery figure.cut .figure { height: 96%; bottom: 2%; max-width: 100%; }
.gal-count { position: absolute; left: 2px; top: 8px; z-index: 2; font-family: var(--sans); font-size: var(--t1); color: var(--ink); font-variant-numeric: lining-nums; }
.gal-nav { display: none; }
.pd-sum { flex: none; padding: 2px 0 10px; }
.pd-sum .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 -10px -4px 0; }
.pd-sum h1 { font-size: var(--t5); margin: 0; }
.pd-sum .buyline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.pd-sum .price { font-size: var(--t4); line-height: 1.25; color: var(--gold-2); }
.pd-sum .stock { font-size: var(--t2); }
.qty-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: var(--t2); color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; color: var(--ink); }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-family: var(--sans); font-size: var(--t4); text-shadow: var(--on-film); }
.qty button:disabled { color: var(--ink-2); cursor: default; }
.qty output { min-width: 28px; text-align: center; font-family: var(--sans); font-size: var(--t3); }
/* Fixed on a phone, so it stays through the reviews and the other sarees: two small buttons, and the film between and around them. */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; pointer-events: none; }
.buybar .btn { flex: 1; padding: 0 8px; pointer-events: auto; background: rgba(7, 9, 7, 0.9); }
body[data-page="saree"] { padding-bottom: calc(var(--buy) + env(safe-area-inset-bottom)); }
.pd-rest { padding-top: calc(var(--buy) + 6px); }   /* the first screen ends at the buttons: nothing below it shows through them */
.details { border-top: 1px solid var(--rule); }
.details summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-family: var(--sans); font-size: var(--t2); color: var(--ink); cursor: pointer; list-style: none; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; }
.details[open] summary::after { content: "\2212"; }
.details .desc { max-width: 60ch; margin-top: 4px; }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0; font-size: var(--t2); }
.details dt { font-family: var(--sans); color: var(--ink-2); }
.details dd { margin: 0; }
.details .video { margin: 16px 0; max-width: 360px; }
.details .video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #050705; }
.details .video .cap { font-size: var(--t2); font-style: italic; color: var(--ink-2); margin-top: 6px; }
@media (min-width: 720px) {
  body[data-page="saree"] { padding-bottom: 0; }
  body[data-page="saree"] main { padding-top: 16px; }
  /* the figure may stand over the left threads, being a photograph; the words end before the right ones */
  .pd-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 28px; margin-right: max(0px, calc((min(100vw, var(--max)) - var(--col)) / 2 - var(--gutter))); }
  .pd-first { display: contents; }
  .gallery-wrap { grid-column: 1; grid-row: 1 / 3; align-self: start; position: sticky; top: calc(var(--bar) + 8px); height: min(calc(100vh - var(--bar) - 32px), 860px); }
  .gallery figure { padding: 10px 60px; }
  .gallery figure.cut { padding: 0; }
  .gal-count { left: auto; right: 8px; top: 10px; }   /* the far side of the figure: the gallery's left edge can lie on the gold threads */
  .gal-nav { display: block; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; background: none; border: 0; color: var(--ink); padding: 11px; }
  .gal-nav svg { display: block; width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(4, 5, 4, 0.9)); }
  .gal-nav:hover { color: var(--gold-2); }
  .gal-nav.prev { left: 0; }
  .gal-nav.next { right: 0; }
  .pd-sum { grid-column: 2; grid-row: 1; padding: calc(var(--vh) * 14) 0 6px; }
  .pd-sum h1 { font-size: var(--t6); }
  .pd-sum .top { align-items: flex-start; }
  .pd-sum .buyline { margin-top: 14px; }
  .pd-sum .price { font-size: var(--t5); }
  .pd-rest { grid-column: 2; grid-row: 2; padding: 10px 0 36px; }
  .buybar { position: static; padding: 14px 0 22px; }
  .buybar .btn { flex: 1 1 0; }
}
@media (min-width: 1100px) { .pd-sum h1 { font-size: var(--t7); } }
.reviews { margin: calc(var(--vh) * 45) auto 0; max-width: 640px; }
@media (min-width: 600px) { .reviews { max-width: min(640px, var(--col)); } }
.review { border-top: 1px solid var(--rule); padding: 14px 0; }
.reviews > h2 { margin-bottom: 10px; }
.reviews > h2 .muted { font-size: var(--t3); }
.reviews > p { margin: 0 0 6px; }
.review .who { font-family: var(--sans); font-size: var(--t2); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; color: var(--ink-2); }
.review .who b { color: var(--ink); }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: var(--t2); }
.review .reply { margin: 10px 0 0 16px; padding-left: 12px; border-left: 1px solid var(--rule); font-size: var(--t2); }
.review-form { border-top: 1px solid var(--rule); padding: 16px 0 0; margin-top: 16px; }
.review-form h3 { margin-bottom: 6px; }
.rating-pick { display: flex; gap: 4px; margin: 4px 0 12px; }
.rating-pick button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-2); font-size: var(--t5); text-shadow: var(--on-film); }
.rating-pick button.on { color: var(--gold-2); }
.more { padding-top: calc(var(--vh) * 45); padding-bottom: calc(var(--vh) * 70); }
.more > h2 { width: fit-content; margin: 0 0 calc(var(--vh) * 4); padding: 8px 0 6px; }
@media (min-width: 720px) { .more > h2 { font-size: var(--t6); } }

/* ---- bag, checkout, order, account: no sheets. Lines and fields lie on the film, parted by hairlines ---------------------- */
.lines { border-top: 1px solid var(--rule); }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
/* the whole saree, never a crop */
.line-item img { width: 72px; aspect-ratio: 2 / 3; object-fit: contain; object-position: 50% 100%; }
.line-item h3 { font-size: var(--t3); line-height: 1.2; }
/* a 44 px target that takes no extra room in the line */
.line-item h3 a { display: block; padding: 12px 0; margin: -12px 0; text-decoration: none; }
.line-item > a:first-child { display: block; }
.line-item .meta { font-size: var(--t2); color: var(--ink-2); }
.line-item .meta .sample-note { margin-left: 2px; }
.line-item h3 + .meta { margin-top: 4px; }
.line-item .stock { margin-top: 2px; }
.line-item .qty { margin: 4px 0 0 -14px; }
.line-item .amount { font-size: var(--t3); text-align: right; font-variant-numeric: lining-nums; }
.line-item .remove { display: block; margin-left: auto; padding: 10px 0 10px 10px; }
.totals { margin: 16px 0; font-size: var(--t3); font-variant-numeric: lining-nums; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 10px; font-size: var(--t4); }
.totals .note { font-style: italic; font-size: var(--t2); color: var(--ink-2); display: block; }
/* A section of a page. Its title and a hairline part it from the last one; it has no box. */
.panel { padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--rule); }
.stack > .panel:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
#pay { scroll-margin-top: calc(var(--bar) + 12px); }
/* On a phone the order summary comes before the form, so the buyer sees what they are paying for first. */
.two-col.checkout .side { order: -1; }
.panel h2, .two-col .side h2 { font-size: var(--t4); margin-bottom: 10px; }
.side .totals { margin-top: 0; }
.fake-pay { padding: 16px; margin: 16px 0; }
.fake-pay .tag { display: inline-block; color: var(--accent-2); font-family: var(--sans); font-size: var(--t1); margin-bottom: 8px; }
.fake-pay .btn + .btn { margin-top: 8px; }
.status-line { display: inline-block; font-family: var(--sans); font-size: var(--t2); padding: 3px 0 2px; margin: 0 0 12px; color: var(--gold-2); }
.status-line.paid, .status-line.packed, .status-line.shipped, .status-line.delivered { color: var(--leaf); }
.status-line.cancelled, .status-line.returned { color: var(--ink-2); }
.orders .order { border-top: 1px solid var(--rule); padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; text-decoration: none; }
.orders .order:last-child { border-bottom: 1px solid var(--rule); }
.orders .order .meta { font-size: var(--t2); color: var(--ink-2); }
.addr { font-style: normal; line-height: 1.4; }
.addr-pick { display: grid; gap: 0; margin-bottom: 14px; border-top: 1px solid var(--rule); }
.addr-pick label { display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid var(--rule); padding: 10px 0; font-size: var(--t2); }
.addr-pick input { margin-top: 4px; accent-color: var(--gold); }
.signin-box { max-width: 420px; }
.code-input input { font-family: var(--sans); font-size: var(--t5); letter-spacing: 0.4em; text-align: center; }
.tabs { display: flex; gap: 24px; margin-bottom: 16px; }
.tabs button { min-height: 44px; padding: 0; border: 0; background: none; font-family: var(--sans); font-size: var(--t2); color: var(--ink-2); border-bottom: 1px solid transparent; text-shadow: var(--on-film); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--gold-2); }
.stack > * + * { margin-top: 10px; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 1100px) { .two-col { grid-template-columns: 1fr 340px; align-items: start; gap: 56px; } .two-col .side, .two-col.checkout .side { position: sticky; top: calc(var(--bar) + 12px); order: 0; } }

/* ---- toast --------------------------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; width: max-content; background: rgba(7, 9, 7, 0.9); border: 1px solid var(--rule); color: var(--ink); font-family: var(--sans); font-size: var(--t2); padding: 0 16px; min-height: 44px; max-width: calc(100vw - 32px); display: flex; gap: 14px; align-items: center; }
.toast a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-2); font-weight: 500; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: toast-in 0.18s ease-out; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---- translucent panel behind each saree (8 Nov: "we need a translucent sku background") ---------------- */
:root { --sku-bg: rgba(6, 8, 6, 0.46); --sku-blur: 10px; --sku-edge: rgba(226, 200, 138, 0.22); }
.card, .gallery-wrap { background: var(--sku-bg); border: 1px solid var(--sku-edge); -webkit-backdrop-filter: blur(var(--sku-blur)) saturate(0.9); backdrop-filter: blur(var(--sku-blur)) saturate(0.9); }
.card { padding: 10px 10px 4px; }
.card .heart { right: 6px; top: 6px; }
.plate { padding: 14px 14px 8px; }
.plate::after { display: none; }            /* the panel replaces the soft pool behind the caption */
.plate .slide > img.photo { border: 0; }
.gallery-wrap { padding: 6px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .card, .gallery-wrap { background: rgba(6, 8, 6, 0.7); } }
@media (min-width: 720px) { .plate { padding: 22px 24px; } }

/* ---- premium finish on the saree panels (8 Nov: "premium feel ... dont take attention off the saree") -------
   A jeweller's mount: a lit centre that falls to a darker edge (pulls the eye to the saree), a faint inner
   hairline 6 px in, and fine gold corner ticks. All low contrast; nothing animates. */
:root { --sku-tick: rgba(226, 200, 138, 0.55); --sku-line: rgba(226, 200, 138, 0.10); }
.card, .gallery-wrap {
  background:
    radial-gradient(ellipse 80% 70% at 50% 42%, rgba(18, 20, 15, 0.30), rgba(4, 5, 4, 0.66) 100%),
    linear-gradient(180deg, rgba(226, 200, 138, 0.035), transparent 30%);
  border-color: rgba(226, 200, 138, 0.16);
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7px var(--sku-line), 0 24px 48px -18px rgba(0, 0, 0, 0.55);
}
.card::before, .gallery-wrap::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none; z-index: -1;
  --t: 14px;
  background:
    linear-gradient(var(--sku-tick), var(--sku-tick)) top left / var(--t) 1px no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) top left / 1px var(--t) no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) top right / var(--t) 1px no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) top right / 1px var(--t) no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) bottom left / var(--t) 1px no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) bottom left / 1px var(--t) no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) bottom right / var(--t) 1px no-repeat,
    linear-gradient(var(--sku-tick), var(--sku-tick)) bottom right / 1px var(--t) no-repeat;
}
.card, .gallery-wrap { isolation: isolate; }   /* the ticks sit above the panel, below everything in it */
.card .price { letter-spacing: 0.01em; }
.card h3 { letter-spacing: 0.005em; }
@media (min-width: 720px) { .card::before, .gallery-wrap::before { --t: 22px; inset: 8px; } }

/* ---- uniform saree panels (8 Nov: "uniform size for all cards") ---------------------------------------------------
   Grid and wishlist: no stagger; every card in a row the same width and height, the photo box the same 5:8, a caption of
   fixed least height (a two-line name, the price with its note, a stock line), and "Add to bag" pinned to the bottom.
   Home: every plate the same frame at a given width (the same photo height and caption room); from 720 px the frame is
   only as wide as the figure's column plus the caption's, on the figure's side of the page. The saree page is unchanged. */
.grid { align-items: stretch; }
.grid > .card:nth-child(n) { margin-top: 0; }
.grid > .card .cap { min-height: var(--cap-h); }
.grid > .card { --cap-h: 128px; }
.grid > .card .add { margin-top: auto; }
.grid > .card > .stock-only { padding-bottom: 0; }
@media (min-width: 1000px) { .grid > .card { --cap-h: 132px; } }
.plate { grid-template-rows: auto minmax(var(--pcap), auto) 44px; --pcap: 116px; }
.plate .cap { align-self: start; }
@media (min-width: 720px) {
  .plates { container-type: inline-size; }
  .plate, .plate:nth-child(even) {
    --plate-h: clamp(480px, calc(var(--vh) * 86), 860px);
    --phw: min(calc(var(--plate-h) * 0.62), 54cqw);
    width: min(100%, calc(var(--phw) + 470px));
    grid-template-rows: 1fr minmax(var(--pcap), auto) 44px 1fr; --pcap: 150px;
  }
  .plate { grid-template-columns: var(--phw) minmax(0, 1fr) auto; margin-right: auto; }
  .plate:nth-child(even) { grid-template-columns: auto minmax(0, 1fr) var(--phw); margin-left: auto; }
  .plate > .ph { height: var(--plate-h); min-height: 0; max-height: none; }
}

/* ---- the words (8 Nov: "add descriptions, blurbs etc"; copy from content/copy_draft.json) ---------------------------
   Saree copy comes from the catalogue (blurb on every card; on the saree page the description as lead text, then How to wear
   it, Wear it to and Look closer); site lines from theme.json `copy`. All in the existing scale: the serif for what is said,
   the sans for labels, cream and its quieter second, gold only where it already marks things. */
/* cards: one italic line or two under the name, never more, so every card in a row keeps its size */
.card .blurb { margin: 0 0 4px; font-style: italic; font-size: var(--t2); line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; height: calc(2 * 1.3em); overflow-wrap: anywhere; }
.card h3 a { min-height: 0; padding-bottom: 2px; }
.grid > .card h3 a { min-height: calc(2 * 1.2em + 6px); }   /* a two-line name's room, as before */
.grid > .card { --cap-h: 156px; }   /* measured 8 Nov: a long two-line name, two blurb lines, price and note, stock: 153 px at 360-390 */
@media (min-width: 720px) { .grid > .card { --cap-h: 138px; } }
@media (min-width: 1000px) { .grid > .card { --cap-h: 144px; } }
.plate .blurb { font-size: var(--t3); line-height: 1.32; height: calc(2 * 1.32em); margin: 0 0 6px; max-width: 34ch; }
.plate:nth-child(even) .blurb { margin-left: auto; }
/* A plate's height follows its caption row, so the row is fixed at the tallest caption (measured 8 Nov with the five sarees:
   a two-line name, two blurb lines, the price, a stock line). A longer name than any now would make that plate taller. */
.plate { --pcap: 176px; }
@media (min-width: 720px) {
  .plate, .plate:nth-child(even) { --pcap: 240px; }
  .plate .blurb { font-size: var(--t4); }
}
@media (min-width: 720px) and (max-width: 1099px) {   /* the caption column is narrow here: the name one step smaller */
  .plate, .plate:nth-child(even) { --pcap: 252px; }
  .plate h3 { font-size: var(--t6); }
  .plate .blurb { font-size: var(--t3); }
}

/* home: the line under the byline; the lines on the film between the sarees; the line under "Find a saree" */
.hero h1 { margin-bottom: 10px; }
.hero-intro { text-wrap: balance; max-width: 30ch; margin: 0 0 24px; font-size: var(--t3); line-height: 1.4; color: var(--ink); }
@media (min-width: 720px) { .hero h1 { margin-bottom: 12px; } .hero-intro { max-width: 40ch; font-size: var(--t4); margin-bottom: 28px; } }
section[aria-labelledby="five"] { position: relative; }
.between-lines { position: absolute; inset: 0; pointer-events: none; }
.between { position: absolute; left: var(--gutter); right: var(--gutter); margin: 0; transform: translateY(-50%); text-align: center; }
.between span { text-wrap: balance; position: relative; isolation: isolate; display: inline-block; max-width: 22ch; font-style: italic; font-size: var(--t5); line-height: 1.25; color: var(--ink); text-shadow: var(--on-film), 0 0 18px rgba(226, 200, 138, 0.22); }
.between span::before { content: ""; position: absolute; inset: -8px -16px; z-index: -1; background: rgba(5, 7, 5, 0.5); filter: blur(20px); border-radius: 40px; }
@media (min-width: 720px) { .between span { font-size: var(--t6); max-width: 26ch; } }
.between-lines.fades .between { opacity: 0; transform: translateY(calc(-50% + 10px)); transition: opacity 1100ms linear, transform 1400ms cubic-bezier(0.25, 0.7, 0.2, 1); }
.between-lines.fades .between.in { opacity: 1; transform: translateY(-50%); }
@media (prefers-reduced-motion: reduce) { .between-lines .between { opacity: 1 !important; transform: translateY(-50%) !important; transition: none !important; } }
.find-blurb { text-wrap: balance; max-width: 34ch; margin: -4px 0 4px; font-style: italic; font-size: var(--t3); color: var(--ink); }

/* all sarees: the line under the heading, and what a chosen colour or group means */
.controls h1 { margin-bottom: 6px; }
.controls .intro { text-wrap: pretty; position: relative; isolation: isolate; width: fit-content; max-width: 100%; margin: 0 0 14px; font-style: italic; font-size: var(--t3); color: var(--ink); }
.filter-note { position: relative; isolation: isolate; width: fit-content; max-width: 100%; margin: 4px 0 0; font-style: italic; font-size: var(--t2); color: var(--ink-2); }
.controls .intro::before, .filter-note::before { content: ""; position: absolute; inset: -6px -10px; z-index: -1; background: rgba(5, 7, 5, 0.56); filter: blur(18px); border-radius: 30px; pointer-events: none; }

/* saree page: the description first, as reading text, then three short parts parted by the same hairline as Details */
.pd-lead, .pd-sec { position: relative; isolation: isolate; }
.pd-lead::before, .pd-sec::before { content: ""; position: absolute; inset: -6px -10px; z-index: -1; background: rgba(5, 7, 5, 0.56); filter: blur(18px); border-radius: 30px; pointer-events: none; }
.pd-lead { text-wrap: pretty; max-width: 60ch; margin: 0 0 14px; font-size: var(--t3); line-height: 1.5; color: var(--ink); }
.pd-sec { border-top: 1px solid var(--rule); padding: 10px 0 14px; }
.pd-sec h2 { margin: 0 0 8px; font-family: var(--sans); font-size: var(--t2); font-weight: 400; line-height: 1.3; color: var(--ink); min-height: 24px; display: flex; align-items: center; }
.pd-sec ul { list-style: none; margin: 0; padding: 0; }
.pd-tips li { max-width: 60ch; margin: 0 0 6px; font-size: var(--t2); line-height: 1.45; color: var(--ink); }
.pd-tips b { font-family: var(--sans); font-weight: 500; font-size: var(--t1); color: var(--gold-2); margin-right: 4px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-chips li { padding: 3px 11px 2px; border: 1px solid var(--rule); border-radius: 999px; background: rgba(7, 9, 7, 0.5); font-style: italic; font-size: var(--t2); line-height: 1.35; color: var(--ink); }
.pd-look li { border-top: 1px solid rgba(226, 200, 138, 0.14); }
.pd-look li:first-child { border-top: 0; }
.pd-look button, .pd-look li > .t { display: flex; gap: 10px; align-items: baseline; width: 100%; min-height: 44px; padding: 9px 0; border: 0; background: none; text-align: left; font-size: var(--t2); line-height: 1.4; color: var(--ink); text-shadow: var(--on-film); }
.pd-look li > .t { display: block; }
.pd-look .n { flex: none; min-width: 58px; font-family: var(--sans); font-size: var(--t1); color: var(--gold-2); font-variant-numeric: lining-nums; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.pd-look button:hover .n { text-decoration-color: var(--gold-2); }
.pd-look button:hover .t { color: var(--gold-2); }
.pd-pending { margin: 2px 0 0; font-style: italic; font-size: var(--t2); color: var(--ink-2); }
.pd-sum .stock.sold_out { color: var(--ink); }
@media (min-width: 720px) {
  .pd-lead { font-size: var(--t4); line-height: 1.45; margin-bottom: 4px; }
  .pd-tips li, .pd-look button, .pd-look li > .t { font-size: var(--t3); }
}

/* ---- swipe galleries on the saree cards (8 Nov: "use all the images of the sarees"; the owner chose swipe on cards) ------
   Home plates, All sarees, the wishlist and Other sarees. The picture box keeps its size; inside it a strip of slides: the
   cut-out first, exactly as before, then each photo whole in a fine frame. The strip reaches 6 px below the box (inside its
   own padding) so the figure's ground shadow is not cut. touch-action leaves both pans to the browser: a sideways swipe moves
   the strip, an upright one the page (pan-y alone would stop the strip). Dots under the photo, arrows only for a mouse. */
.ph-link { position: absolute; inset: 0; display: block; text-decoration: none; color: inherit; }
.ph .strip { position: absolute; left: 0; right: 0; top: 0; bottom: -6px; padding-bottom: 6px; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.ph .strip::-webkit-scrollbar { display: none; }
.ph .slide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.ph .slide.pic { display: flex; align-items: center; justify-content: center; padding: 7% 3px 10px; }
.ph .slide.pic img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 10px; min-height: 10px; border: 1px solid var(--rule); background: rgba(4, 5, 4, 0.35); }
.ph .slide.pic img:not([src]) { visibility: hidden; }
.plate .ph .slide.pic { padding: 3% 4px 10px; }
.card > .cap { position: relative; z-index: 1; }   /* above the strip's 6 px reach below the box */
.plates .card.plate .heart { position: relative; inset: auto; z-index: 1; }
.ph .dots { position: absolute; left: 0; right: 0; bottom: -8px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.card:not(.plate) .ph .dots { bottom: 1px; gap: 5px; }   /* in a grid card the name starts right under the box: the dots stay inside it, under the feet */
.ph .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); opacity: 0.5; transition: background-color 0.25s, opacity 0.25s, transform 0.25s; }
.ph .dots i.on { background: #d9a493; opacity: 1; transform: scale(1.3); }
.gal-arrow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ph .gal-arrow { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 1px solid rgba(226, 200, 138, 0.38); border-radius: 50%; background: rgba(5, 7, 5, 0.62); color: var(--ink); opacity: 0; transition: opacity 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; }
  .ph .gal-arrow svg { display: block; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .ph .gal-arrow.prev { left: 2px; }
  .ph .gal-arrow.next { right: 2px; }
  .ph:hover .gal-arrow, .ph:focus-within .gal-arrow { opacity: 1; }
  .ph .gal-arrow:hover, .ph .gal-arrow:focus-visible { color: var(--gold-2); border-color: var(--gold-2); }
  .ph .gal-arrow:disabled { opacity: 0 !important; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .ph .strip { scroll-behavior: auto; } .ph .dots i, .ph .gal-arrow { transition: none; } }

/* ---- 8 Nov design pass ---------------------------------------------------------------------------------------------------
   1. The heart leaves the photo: it sits in the caption beside the price (.price-row, site.js card()), on the home plates, the
      grid and the wishlist, so it never covers a corner of a swiped photo. Still a 44 px button with its pressed state.
   2. The photos after the cut-out fill the picture box: no inset, drawn as large as the box allows and never cropped (site.js
      sets sizes to the slide's longer side, so the natural size is never the limit); a hairline frame stays on the photo.
   3. Blurbs: three lines before the ellipsis (was two); the caption room grows by one line so every card keeps its size.
   7. Saving a saree: a short gold fill on the heart (~300 ms); none with reduced motion. */
.card .price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.card .price-row .price { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.4em; }   /* a narrow card: "sample price" wraps flush, no stray space */
.card .price-row .sample-note { margin-left: 0; }   /* the gap above does its spacing */
.card .price-row .heart, .plates .card.plate .price-row .heart { position: static; inset: auto; margin-right: -10px; color: var(--ink); }   /* the glyph lines up with the caption's edge */
.plate .price-row { justify-content: flex-start; gap: 6px; }
.plate .price-row .heart { margin-right: 0; }
.plate:nth-child(even) .price-row { flex-direction: row-reverse; }   /* right-aligned plate: the heart on the price's inner side */
@media (min-width: 1000px) { .grid .card .price-row { justify-content: center; } .grid .card .price-row .heart { margin-right: 0; } }
/* the plates lose their heart column */
.plate, .plate:nth-child(even) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ph" "cap" "add"; }
@media (min-width: 720px) {
  .plate { grid-template-columns: var(--phw) minmax(0, 1fr); grid-template-areas: "ph ." "ph cap" "ph add" "ph ."; }
  .plate:nth-child(even) { grid-template-columns: minmax(0, 1fr) var(--phw); grid-template-areas: ". ph" "cap ph" "add ph" ". ph"; }
}
/* 2 */
.ph .slide.pic { padding: 0 0 12px; }   /* grid cards: room for the dots under the photo only */
.plate .ph .slide.pic { padding: 0; }   /* plates: the dots sit under the box */
/* phones (8 Nov check): the plate box was a screen tall (320x674 at 390) and the 2:3 photos filled only 71% of its height, with
   dark bands above and below. Below 720 px the box takes the photos' own 2:3 shape (never taller than before), so a portrait
   photo fills it whole, uncropped; the cut-out on the first slide scales down with it. Landscape detail photos still sit
   whole inside it. */
@media (max-width: 719px) {
  .plate > .ph { height: auto; aspect-ratio: 2 / 3; min-height: 0; max-height: calc(var(--vh) * 100 - 176px); }
}
/* 3 */
.card .blurb { -webkit-line-clamp: 3; line-clamp: 3; height: calc(3 * 1.3em); }
.plate .blurb { height: calc(3 * 1.32em); }
/* the caption room, re-measured 8 Nov with the price row (44 px) and three blurb lines: the tallest caption now (Teal: a
   two-line name, three lines, price and note, stock line) is 174 px in the grid at 360-768 and 181 px from 1000; on the plates
   217 px at 360 (its name takes three lines there), 196 px at 390, 217 px at 768 and 281 px at 1440 */
.grid > .card { --cap-h: 176px; }
@media (min-width: 720px) { .grid > .card { --cap-h: 176px; } }
@media (min-width: 1000px) { .grid > .card { --cap-h: 184px; } }
/* phones (re-checked 8 Nov): a grid card's blurb column is only 119-134 px, and two blurbs (Yellow; at 360 also Purple) take
   four lines there, so below 720 px a grid card keeps four lines of room and shows every blurb whole. The copy lives in the
   catalogue (backend seed), so it is not shortened here. The caption grows by that one line (19.5 px) on every card alike. */
@media (max-width: 719px) {
  .grid > .card .blurb { -webkit-line-clamp: 4; line-clamp: 4; height: calc(4 * 1.3em); }
  .grid > .card { --cap-h: 196px; }
}
.plate { --pcap: 198px; }
@media (max-width: 374px) { .plate { --pcap: 218px; } }
@media (min-width: 720px) { .plate, .plate:nth-child(even) { --pcap: 284px; } }
@media (min-width: 720px) and (max-width: 1099px) { .plate, .plate:nth-child(even) { --pcap: 252px; } }
/* 7 */
@media (prefers-reduced-motion: no-preference) {
  .iconbtn.pop svg { animation: heart-fill 300ms ease-out; transform-box: fill-box; transform-origin: 50% 50%; }
}
@keyframes heart-fill {
  0% { fill: var(--gold-2); stroke: var(--gold-2); transform: scale(0.9); }
  45% { fill: var(--gold-2); stroke: var(--gold-2); transform: scale(1.12); }
  100% { transform: scale(1); }
}
/* round 2 fixes (8 Nov verifier):
   a. Phone plates: the gallery dots hang 3-9 px under the photo box and the name started 6 px under it, so the dots touched
      the tall letters. Below 720 px the caption starts 18 px under the box (the dots keep their place); the caption row grows
      by the same 12 px so every plate keeps one size.
   b. A saved heart stays the gold of its fill, not rani pink.
   c. The heart beside the price: the -10 px edge pull (.plates .card.plate .price-row .heart above) also applied on the plates
      and, on a right-aligned plate, pulled the tap area into the price. Plates: no pull, a 10 px gap.
   d. The saree page's buy bar on a phone: a solid ground under both buttons and the gap between them, so no text shows
      through (it was clear, the buttons 90%). From 720 px the bar is in the page (static) and keeps no ground. */
@media (max-width: 719px) {
  .plate .cap { padding-top: 18px; }
  .plate { --pcap: 210px; }
}
@media (max-width: 374px) { .plate { --pcap: 230px; } }
.iconbtn.on svg { fill: var(--gold-2); stroke: var(--gold-2); }
.plate .price-row { gap: 10px; }
.plates .card.plate .price-row .heart { margin: 0; }
@media (max-width: 719px) {
  .buybar { background: #060806; border-top: 1px solid var(--rule); }
  .buybar .btn, .buybar .btn:disabled, .buybar .btn:hover { background: #070907; }
}

/* ==== SKU BORDERS: generated by tools/build_sku_borders.py, edit there ==== */
/* The saree panels' border and pattern (8 Nov; the owner picked B, A and C removed). <body data-border="b|none"
   data-pattern="1|0">, set by site.js from ?border= / ?pattern= (remembered), else theme.json sku_border / sku_pattern. */

/* -- shared: the pattern layer. A faint repeat on ::after, under the ornament, fading out toward the centre so the saree
      and its words stay clear. Each option names its tile in --sku-pat. */
.card::after, .gallery-wrap::after { content: none; }
[data-pattern="1"] .card::after, [data-pattern="1"] .gallery-wrap::after {
  content: ""; display: block; position: absolute; inset: 0; z-index: -2; pointer-events: none; filter: none; border-radius: 0; margin: 0;
  background: var(--sku-pat) 0 0 / var(--sku-pat-size, auto) repeat; opacity: var(--sku-pat-o, 0.07);
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 44%, transparent 38%, #000 96%);
  mask-image: radial-gradient(ellipse 72% 66% at 50% 44%, transparent 38%, #000 96%);
}

/* -- none: the plain mount (the "premium finish" block above); pattern: a fine twill, the loom's weave */
[data-border="none"] { --sku-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 8L8 0M-2 2L2 -2M6 10L10 6' stroke='%23e2c88a' stroke-width='.5'/%3E%3C/svg%3E"); --sku-pat-o: 0.09; }

/* -- B  VINE CORNERS: creeper corners, heavier top-left and bottom-right, linked by a double rule; pattern: a jaal --- */
[data-border="b"] { --sku-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='52' viewBox='0 0 36 52'%3E%3Cg stroke='%23e2c88a' stroke-width='.7' fill='none'%3E%3Cpath d='M0 0C0 13 18 13 18 26C18 39 36 39 36 52'/%3E%3Cpath d='M36 0C36 13 18 13 18 26C18 39 0 39 0 52'/%3E%3C/g%3E%3Cg transform='translate(18 0)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(8)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(80)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(152)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(224)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(296)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(18 52)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(8)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(80)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(152)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(224)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(296)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(0 26)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(8)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(80)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(152)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(224)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(296)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(36 26)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(8)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(80)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(152)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(224)'/%3E%3Cpath d='M0 0C1.04 -.66 .85 -1.9 0 -1.99C-.85 -1.9 -1.04 -.66 0 0Z' transform='rotate(296)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3C/svg%3E"); --sku-pat-o: 0.075; --vb: 76px; --vs: 38px; }
[data-border="b"] .plate, [data-border="b"] .gallery-wrap { --vb: 124px; --vs: 56px; }
[data-border="b"] .card, [data-border="b"] .gallery-wrap { border-color: rgba(226, 200, 138, 0.3); box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.55); }
[data-border="b"] .card::before, [data-border="b"] .gallery-wrap::before {
  inset: 2px; outline: 1px solid rgba(217, 164, 147, 0.32); outline-offset: -4px;      /* the second rule, 5 px in, rose-gold */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg stroke='%23e2c88a' stroke-width='1.15' fill='none' stroke-linecap='round' opacity='.85'%3E%3Cpath d='M27 13.5C38 6.5 47 12.5 58 9.2C70 5.6 79 10.4 90 7.4C99 5 107 6.6 116 5.2'/%3E%3Cpath d='M13.5 27C6.8 38 12.2 47.5 9 58.5C5.8 69.5 9.8 78 7.6 88C6 95 6.6 101 5.6 108'/%3E%3Cpath d='M58 9.2C61 14 62 18.5 66.4 22.6'/%3E%3Cpath d='M9 58.5C13.5 61 16.5 65.5 21 66.6'/%3E%3Cpath d='M90 7.4C93 10.6 96.5 11.5 99.5 10C101.8 8.8 101.4 6 99.4 6.2'/%3E%3Cpath d='M7.6 88C10 91 10.6 94.5 9.2 97.2C8.2 99 6.4 98.4 6.8 96.8'/%3E%3C/g%3E%3Cg transform='translate(18.5 18.5) rotate(-73)'%3E%3Cpath d='M-3.2 9.6C-10.6 9 -12.6 .4 -8.4 -5.2C-4.6 -10.2 3.6 -11.4 8.8 -16.4C9.6 -9.8 8.6 -3.8 6 1C3.8 5.4 1.2 9.8 -3.2 9.6Z' fill='%23c9a45c' fill-opacity='.18' stroke='%23e2c88a' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M-3 5.8C-7.4 5.4 -8.4 .2 -5.6 -3.2C-3 -6.2 1.6 -7.4 4.6 -10.4C4.8 -6 4 -2.4 2.4 .6C1 3.4 -.4 5.8 -3 5.8Z' stroke='%23d9a493' stroke-width='.7' fill='none' opacity='.85'/%3E%3Ccircle cx='-2.4' cy='1' r='1.6' fill='%23d9a493' opacity='.9'/%3E%3Cpath d='M8.8 -16.4C10.4 -19.4 13.6 -19.6 14.4 -17.2C15 -15.4 13.4 -14.2 12.2 -15.2' stroke='%23e2c88a' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(66.4 22.6) rotate(-14)'%3E%3Cpath d='M0 0C5.2 2.4 6.2 8.6 1.2 13.6C-4 9.6 -4.6 3 0 0Z' fill='%23d9a493' fill-opacity='.35' stroke='%23d9a493' stroke-width='.8'/%3E%3Cpath d='M0 0C2.2 3.6 2.2 9 1.2 13.6' stroke='%23e2c88a' stroke-width='.6' fill='none'/%3E%3Cpath d='M0 0C-2.6 .4 -4.2 2.4 -4.8 4.6M0 0C2.8 -.2 5 1.2 6.2 3.4' stroke='%23e2c88a' stroke-width='.7' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(38.5 9.4) rotate(-150) scale(1)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(47 11.6) rotate(25) scale(.9)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(74 8.6) rotate(-160) scale(.95)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(82 9.4) rotate(20) scale(.8)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(104 6) rotate(-165) scale(.7)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(9.4 38.5) rotate(120) scale(1)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(11.6 48) rotate(-65) scale(.9)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(8.4 72) rotate(110) scale(.9)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(9 80) rotate(-70) scale(.8)' fill='%23e2c88a' opacity='.8'/%3E%3Cg transform='translate(23.5 68)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(10)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(82)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(154)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(226)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(298)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(49.5 10.6) rotate(28) scale(.9)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3Cg transform='translate(53.5 10.2) rotate(-10) scale(.8)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3Cg transform='translate(10.6 103) rotate(-30) scale(.7)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3C/svg%3E") top left / var(--vb) var(--vb) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg transform='rotate(180 60 60)'%3E%3Cg stroke='%23e2c88a' stroke-width='1.15' fill='none' stroke-linecap='round' opacity='.85'%3E%3Cpath d='M27 13.5C38 6.5 47 12.5 58 9.2C70 5.6 79 10.4 90 7.4C99 5 107 6.6 116 5.2'/%3E%3Cpath d='M13.5 27C6.8 38 12.2 47.5 9 58.5C5.8 69.5 9.8 78 7.6 88C6 95 6.6 101 5.6 108'/%3E%3Cpath d='M58 9.2C61 14 62 18.5 66.4 22.6'/%3E%3Cpath d='M9 58.5C13.5 61 16.5 65.5 21 66.6'/%3E%3Cpath d='M90 7.4C93 10.6 96.5 11.5 99.5 10C101.8 8.8 101.4 6 99.4 6.2'/%3E%3Cpath d='M7.6 88C10 91 10.6 94.5 9.2 97.2C8.2 99 6.4 98.4 6.8 96.8'/%3E%3C/g%3E%3Cg transform='translate(18.5 18.5) rotate(-73)'%3E%3Cpath d='M-3.2 9.6C-10.6 9 -12.6 .4 -8.4 -5.2C-4.6 -10.2 3.6 -11.4 8.8 -16.4C9.6 -9.8 8.6 -3.8 6 1C3.8 5.4 1.2 9.8 -3.2 9.6Z' fill='%23c9a45c' fill-opacity='.18' stroke='%23e2c88a' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M-3 5.8C-7.4 5.4 -8.4 .2 -5.6 -3.2C-3 -6.2 1.6 -7.4 4.6 -10.4C4.8 -6 4 -2.4 2.4 .6C1 3.4 -.4 5.8 -3 5.8Z' stroke='%23d9a493' stroke-width='.7' fill='none' opacity='.85'/%3E%3Ccircle cx='-2.4' cy='1' r='1.6' fill='%23d9a493' opacity='.9'/%3E%3Cpath d='M8.8 -16.4C10.4 -19.4 13.6 -19.6 14.4 -17.2C15 -15.4 13.4 -14.2 12.2 -15.2' stroke='%23e2c88a' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(66.4 22.6) rotate(-14)'%3E%3Cpath d='M0 0C5.2 2.4 6.2 8.6 1.2 13.6C-4 9.6 -4.6 3 0 0Z' fill='%23d9a493' fill-opacity='.35' stroke='%23d9a493' stroke-width='.8'/%3E%3Cpath d='M0 0C2.2 3.6 2.2 9 1.2 13.6' stroke='%23e2c88a' stroke-width='.6' fill='none'/%3E%3Cpath d='M0 0C-2.6 .4 -4.2 2.4 -4.8 4.6M0 0C2.8 -.2 5 1.2 6.2 3.4' stroke='%23e2c88a' stroke-width='.7' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(38.5 9.4) rotate(-150) scale(1)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(47 11.6) rotate(25) scale(.9)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(74 8.6) rotate(-160) scale(.95)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(82 9.4) rotate(20) scale(.8)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(104 6) rotate(-165) scale(.7)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(9.4 38.5) rotate(120) scale(1)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(11.6 48) rotate(-65) scale(.9)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(8.4 72) rotate(110) scale(.9)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(9 80) rotate(-70) scale(.8)' fill='%23e2c88a' opacity='.8'/%3E%3Cg transform='translate(23.5 68)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(10)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(82)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(154)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(226)'/%3E%3Cpath d='M0 0C1.87 -1.19 1.53 -3.4 0 -3.57C-1.53 -3.4 -1.87 -1.19 0 0Z' transform='rotate(298)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(49.5 10.6) rotate(28) scale(.9)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3Cg transform='translate(53.5 10.2) rotate(-10) scale(.8)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3Cg transform='translate(10.6 103) rotate(-30) scale(.7)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") bottom right / var(--vb) var(--vb) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg stroke='%23e2c88a' stroke-width='1.1' fill='none' stroke-linecap='round' opacity='.8'%3E%3Cpath d='M58.4 26C60 17 56 10.5 46.5 7.6C38 5 28 6.8 20 5.6'/%3E%3Cpath d='M46.5 7.6C43.6 10.4 43.4 14 45.8 15.6C47.6 16.8 49.6 15.4 48.6 13.8'/%3E%3Cpath d='M58.4 26C58.6 32 57.6 38 58.2 44'/%3E%3C/g%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(34 6.4) rotate(-168) scale(.85)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(56.6 17) rotate(110) scale(.85)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(58.2 34) rotate(75) scale(.7)' fill='%23e2c88a' opacity='.8'/%3E%3Cg transform='translate(52 9)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(20)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(92)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(164)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(236)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(308)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(26 6.4) rotate(165) scale(.6)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3C/svg%3E") top right / var(--vs) var(--vs) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg transform='rotate(180 32 32)'%3E%3Cg stroke='%23e2c88a' stroke-width='1.1' fill='none' stroke-linecap='round' opacity='.8'%3E%3Cpath d='M58.4 26C60 17 56 10.5 46.5 7.6C38 5 28 6.8 20 5.6'/%3E%3Cpath d='M46.5 7.6C43.6 10.4 43.4 14 45.8 15.6C47.6 16.8 49.6 15.4 48.6 13.8'/%3E%3Cpath d='M58.4 26C58.6 32 57.6 38 58.2 44'/%3E%3C/g%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(34 6.4) rotate(-168) scale(.85)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(56.6 17) rotate(110) scale(.85)' fill='%23e2c88a' opacity='.8'/%3E%3Cpath d='M0 0C2.2 -2.6 5.6 -3.4 9 -2.6C6.6 .3 3.4 1 0 0Z' transform='translate(58.2 34) rotate(75) scale(.7)' fill='%23e2c88a' opacity='.8'/%3E%3Cg transform='translate(52 9)'%3E%3Cg fill='%23d9a493' opacity='.85'%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(20)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(92)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(164)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(236)'/%3E%3Cpath d='M0 0C1.54 -.98 1.26 -2.8 0 -2.94C-1.26 -2.8 -1.54 -.98 0 0Z' transform='rotate(308)'/%3E%3C/g%3E%3Ccircle r='.8' fill='%23e2c88a'/%3E%3C/g%3E%3Cg transform='translate(26 6.4) rotate(165) scale(.6)'%3E%3Cpath d='M0 0V3' stroke='%23e2c88a' stroke-width='.6'/%3E%3Cpath d='M0 3C1.2 4.6 1.2 7 0 8.4C-1.2 7 -1.2 4.6 0 3Z' fill='%23d9a493' opacity='.85'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") bottom left / var(--vs) var(--vs) no-repeat;
}
[data-border="b"] .card { padding: 14px 16px calc(var(--vb) * 0.3); }
[data-border="b"] .card .heart { right: 14px; top: 14px; }
[data-border="b"] .plate { padding: 20px 20px calc(var(--vb) * 0.42); }
[data-border="b"] .gallery-wrap { --vb: 104px; padding: 12px 12px calc(var(--vb) * 0.3); }
[data-border="b"] .gal-count { left: auto; right: calc(var(--vs) + 4px); top: 12px; }
@media (min-width: 720px) {
  [data-border="b"] .grid .card { --vb: 96px; --vs: 46px; }
  [data-border="b"] .plate, [data-border="b"] .gallery-wrap { --vb: 150px; --vs: 64px; }
  [data-border="b"] .plate { padding: 34px 40px calc(var(--vb) * 0.36); }
  [data-border="b"] .gallery-wrap { --vb: 140px; }
  [data-border="b"] .gal-count { top: 14px; }
}

/* ==== SKU BORDERS end ==== */

/* ==== 8 Nov services pass ==== */
/* Gift wrap and the card note at checkout, the gift on the order page, "Pay now" and the Razorpay step, the footer's help
   links, the collection chips on All sarees, and on the saree page the collection tags, the Concierge block and "Tell me when
   it is back". Built from the existing pieces (.panel, .field, .check, .btn, .chip, .pd-sec, .fake-pay, .totals); only the
   spacing and a few quiet marks are new. */

/* footer: the help links as a second row, a step smaller */
.foot nav.foot-help { margin-top: -6px; }
.foot nav.foot-help a { min-height: 40px; font-size: var(--t1); color: var(--ink-2); }
.foot nav.foot-help a:hover, .foot nav.foot-help a[aria-current="page"] { color: var(--gold-2); }

/* All sarees: the collections row under the colours */
.filters.colls { align-items: center; }
.colls-label { font-family: var(--sans); font-size: var(--t1); color: var(--ink-2); text-shadow: var(--on-film); margin-right: 2px; }

/* saree page: the collections it is in, under its name */
.pd-colls { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 2px 0 0; font-family: var(--sans); font-size: var(--t1); }
.pd-colls a { display: inline-flex; align-items: center; min-height: 32px; color: var(--gold-2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.pd-colls a:hover { text-decoration-color: var(--gold-2); }

/* saree page: Concierge, near Add to bag */
.pd-concierge p { margin: 0 0 10px; font-size: var(--t2); color: var(--ink); }
.concierge-links { display: flex; flex-wrap: wrap; gap: 8px; }
.concierge-links .btn { flex: 1 1 auto; }

/* saree page: "Tell me when it is back" (sold out) */
.notify-form { margin: 14px 0 6px; padding: 14px 16px 6px; background: var(--paper); border: 1px solid var(--rule); }
.notify-form h2 { margin: 0 0 4px; font-family: var(--sans); font-size: var(--t3); font-weight: 500; }
.notify-form > p.small { margin: 0 0 12px; color: var(--ink); }
.notify-form .check { margin: -2px 0 2px; }
.notify-form .btn { margin-bottom: 10px; }
.notify-done { margin: 0 0 8px; font-size: var(--t3); color: var(--gold-2); outline: none; }

/* checkout: gift wrap and the card note, above the totals */
.gift-box { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); }
.gift-box h3 { margin: 0 0 4px; font-family: var(--sans); font-size: var(--t3); font-weight: 500; }
.gift-box .check .muted { font-size: var(--t1); }
.gift-box .gift-note { margin: 8px 0 0; }
.gift-box .gift-note textarea { min-height: 84px; }
.gift-box .hint { display: flex; justify-content: space-between; gap: 10px; }
.gift-count { flex: none; font-style: normal; font-family: var(--sans); font-size: var(--t1); color: var(--ink-2); }

/* order page: the gift, and "Pay now" */
.order-gift p { margin: 0 0 4px; }
.gift-quote { margin: 4px 0 0; padding: 8px 14px; border-left: 2px solid var(--gold); font-style: italic; font-size: var(--t3); white-space: pre-line; overflow-wrap: anywhere; }
.pay-again #pay > .btn { margin-top: 4px; }

/* the Razorpay step */
.rz-pay h2 { margin: 0 0 8px; }
.test-mode { display: inline-block; margin: 0 0 10px; font-family: var(--sans); font-size: var(--t1); color: var(--accent-2); }
.pay-msg { min-height: 20px; margin: 10px 0 0; font-family: var(--sans); font-size: var(--t2); color: var(--ink); }
.pay-msg a { color: var(--gold-2); }

/* Look 2 (zari and jali): the same gold thread as the other panels and rules */
body[data-look="2"] :is(.gift-box, .notify-form) { border-image: var(--l2-thread) 1; }
body[data-look="2"] .notify-form { background: rgba(8, 12, 8, 0.72); }
body[data-look="2"] .gift-quote { border-left-color: var(--gold-2); }
.gift-box + .totals { border-top: 1px solid var(--rule); padding-top: 8px; }
body[data-look="2"] .gift-box + .totals { border-image: var(--l2-thread) 1; }
/* the help row fits one line on a 360 px phone, so no lozenge starts a wrapped line */
@media (max-width: 479px) { .foot nav.foot-help a { padding: 0 6px; min-width: 40px; } .foot nav.foot-help { margin-left: -6px; } }

/* ==== Bright pass (11 Nov: "brighten up the background and reduce shadows") ==============================================
   The ground turns light and airy: the loom film is lifted to a pale warm linen in which the threads still show faintly, the
   panels become ivory paper, the type turns deep green-black, gold darkens to an antique gold that reads on ivory (AA), and the
   dark pools and heavy shadows go. The theme writes its colours inline on :root (site.js), so the new ones need !important.
   The home page's first screen (the black-and-gold arch, hero_b) keeps its own colours: see the "arch" rules below.
   Contrast on the paper ground #f6efe0 (measured, see the bright pass report): ink #1c2a20 14.0:1, ink-2 #4a4636 8.3:1,
   gold-2 #7a5716 5.6:1, deep green #1f3a2a button with #f6ecd2 type 10.3:1. */
:root {
  --paper: rgba(255, 251, 242, 0.82) !important; --paper-2: rgba(255, 252, 245, 0.95) !important; --paper-3: rgba(154, 115, 48, 0.14) !important;
  --ink: #1c2a20 !important; --ink-2: #4a4636 !important;
  --accent: #7a5716 !important; --accent-2: #7a5716 !important;
  --gold: #a07a35 !important; --gold-2: #7a5716 !important;
  --leaf: #355a2b !important; --coral: #8f4220 !important;
  --rule: rgba(122, 87, 22, 0.3) !important;
  --hero-ground: #f6efe0 !important;
  --b-green: #1f3a2a; --b-cream: #f6ecd2; --b-ivory: #fffaf0; --b-line: rgba(122, 87, 22, 0.26);
  --b-soft: 0 10px 28px -20px rgba(74, 56, 22, 0.28);
  --on-film: none !important;
  --sku-bg: rgba(255, 251, 242, 0.84); --sku-tick: rgba(122, 87, 22, 0.5); --sku-line: rgba(122, 87, 22, 0.1); --sku-edge: rgba(122, 87, 22, 0.22);
  color-scheme: light;
}
body:not([data-page="home"]) { --on-film: none !important; }
body { text-shadow: none; }
/* the film: pulled up into a pale warm linen; the threads stay as a faint texture */
.backdrop { filter: contrast(0.2) brightness(1.98) sepia(0.32) saturate(1.25); }
/* the soft pools under type: a faint light haze now, never a dark patch */
.glow::before, .foot .wrap::before, .page > h1::before, .more > h2::before, .grid .cap::before, .grid .add::before, .pd-sum::before, .qty-row::before, .details::before, .reviews::before, .totals::before, [data-del]::before, .line-item .remove::before,
.between span::before, .controls .intro::before, .filter-note::before, .pd-lead::before, .pd-sec::before { background: rgba(255, 250, 238, 0.5); filter: blur(16px); }
.between span { text-shadow: none; }
/* 24 Nov: on the home film the lines between the sarees are ivory with the statements' halo (motion.css), not dark ink on a cream smudge */
body[data-page="home"] .between span { color: #fbf3df; text-shadow: 0 1px 2px rgba(6, 10, 7, 0.7), 0 0 24px rgba(6, 10, 7, 0.55) !important; }   /* !important: services.css clears every text-shadow */
body[data-page="home"] .between span::before { background: rgba(5, 7, 5, 0.45); filter: blur(22px); }
/* the bar: no dark pools; a pale veil once the page moves */
.bar::before { background: linear-gradient(rgba(250, 245, 233, 0.97), rgba(250, 245, 233, 0.9) 62%, transparent); }
.bar a.nav::before { background: none; }
.bar .logo .mark, .bar .logo .word { filter: brightness(0.62) saturate(1.45) contrast(1.2); }
.bar .count { background: var(--b-green); color: var(--b-cream); }
.iconbtn svg, .hero-actions .link svg, .gal-nav svg { filter: none; }
/* buttons: ivory with a gold hairline; the main one deep green */
.btn { background: var(--b-ivory); color: var(--ink); }
.btn:hover { background: #fff; color: var(--gold-2); }
.btn.primary, .btn.accent { background: var(--b-green); color: var(--b-cream); border-color: var(--b-green); }
.btn.primary:hover, .btn.accent:hover { background: #2a4a37; color: #fff6dd; }
.btn:disabled, .btn.primary:disabled, .btn.accent:disabled { background: #efe8d8; color: #5e5847; border-color: var(--rule); }
.buybar .btn { background: var(--b-ivory); }
.buybar .btn.primary, .buybar .btn.accent { background: var(--b-green); }
/* fields */
.field select option { background: #fffaf0; color: var(--ink); }
.form-error { color: #8f2a1c; }
.notice, .fake-pay { background: rgba(255, 251, 242, 0.92); }
.toast { background: rgba(255, 251, 242, 0.97); box-shadow: var(--b-soft); }
.ph .slide.pic img { background: rgba(255, 250, 240, 0.6); }
.details .video video { background: #efe7d6; }
.pd-chips li { background: rgba(255, 251, 242, 0.85); }
.pd-look button, .rating-pick button, .tabs button, .qty button, .chip, .hero-actions .link { text-shadow: none; }
/* the saree panels: ivory paper, a hairline, one very soft shadow */
.card, .gallery-wrap {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(250, 244, 230, 0.92));
  border-color: var(--b-line);
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7px var(--sku-line), var(--b-soft);
}
.figure .ground { background: radial-gradient(ellipse at center, rgba(74, 56, 22, 0.16) 0%, rgba(74, 56, 22, 0.06) 42%, transparent 70%); }
.ph .dots i.on { background: #a0523d; }

/* the arch (home, first screen) keeps its black and gold: light icons and type over it until the page has gone past it */
html:not(.past-hero) body[data-page="home"] .bar { --ink: #f4ecd8; }
/* the arch ends about 85% of a screen down (hero_b.js handover): where the browser can tie it to the scroll, the icons turn dark
   there; elsewhere they follow .past-hero (site.js) */
@supports (animation-timeline: scroll()) {
  body[data-page="home"] .bar { animation: b-bar-ink linear both; animation-timeline: scroll(root block); animation-range: 0 170vh; }
}
@keyframes b-bar-ink { from { --ink: #f4ecd8; } to { --ink: #1c2a20; } }
html:not(.past-hero) body[data-page="home"] .bar .logo .mark, html:not(.past-hero) body[data-page="home"] .bar .logo .word { filter: none; }
body[data-page="home"] .hero-actions .btn.primary { background: rgba(7, 9, 7, 0.8); color: #f4ecd8; }
body[data-page="home"] .hero-actions .btn.primary:hover { background: rgba(7, 9, 7, 0.9); color: #e2c88a; }
body[data-page="home"] .hero-actions .link { color: #f4ecd8; }
@media (max-width: 719px) {
  .buybar { background: rgba(250, 245, 233, 0.96); border-top: 1px solid var(--rule); }
  .buybar .btn, .buybar .btn:disabled, .buybar .btn:hover { background: var(--b-ivory); }
  .buybar .btn.primary, .buybar .btn.accent { background: var(--b-green); }
}

/* ==== Film visible (11 Nov: "the background is not visible, the background needs to be visible") =========================
   The loom film shows again, only lightly lifted, and stays bright where people read: every block of words that sat straight
   on the film now sits on frosted ivory paper (the film blurs softly behind it). Panels and cards keep the bright pass. */
:root { --fv-paper: rgba(253, 249, 240, 0.84); --fv-line: rgba(122, 87, 22, 0.26); }
.backdrop { filter: brightness(1.32) contrast(0.78) saturate(1.08) sepia(0.06); }
/* the words sit on one frosted ivory sheet (the content column); the loom shows around it and through it, blurred */
body:not([data-page="home"]) > main {
  box-sizing: border-box; width: min(calc(var(--max) + 2 * var(--gutter)), calc(100% - 2 * clamp(10px, 3.4vw, 56px)));
  max-width: none; flex: 1 0 auto; align-self: center; padding-left: clamp(16px, 3vw, 40px) !important; padding-right: clamp(16px, 3vw, 40px) !important; padding-bottom: clamp(20px, 3vw, 40px); margin: clamp(10px, 2.4vw, 32px) auto clamp(24px, 5vw, 64px);
  background: var(--fv-paper); border: 1px solid var(--fv-line); border-radius: 2px;
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
}
.foot .wrap { background: var(--fv-paper); border: 1px solid var(--fv-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.foot .wrap::before { display: none; }
/* the bar: a pale frosted strip from the start, so the icons read over the film */
body:not([data-page="home"]) .bar::before { opacity: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: linear-gradient(rgba(250, 245, 233, 0.94), rgba(250, 245, 233, 0.86) 70%, rgba(250, 245, 233, 0)); }
/* home: "Find a saree" sits on its own frosted sheet over the film, in place of the haze */
body[data-page="home"] .find-in { background: var(--fv-paper); border: 1px solid var(--fv-line); border-radius: 2px; padding: clamp(22px, 4vw, 44px) clamp(18px, 4vw, 48px);
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1); }
body[data-page="home"] .find-in.glow::before { display: none; }

/* 25 Nov browse-only launch: the bag and checkout pages while orders are on WhatsApp; "Price on request" on cards */
.wa-only { max-width: 620px; margin: 24px auto; }
.wa-only p { line-height: 1.55; }
.wa-only .btn { margin: 6px 8px 0 0; }
.sh-ask { font-style: italic; }

/* 25 Nov ("contrast of the lines on widescreens, the white makes it look washed out"): past 8:5 the loom film stops
   widening and its sides fade to the page. On the home page the film stays dark, so the cream ground there read as two
   washed-out bands and the cream statement lines ran off the film onto them: the home page's ground goes dark instead. */
@media (min-aspect-ratio: 1601/1000) {
  body[data-page="home"] { background: #1c1f17; }
}
