/* ==========================================================================
   Design system — porcelain memorial portraits
   Tokens first; components reference tokens only.
   ========================================================================== */
:root {
  color-scheme: light;
  /* Neutrals */
  --ink: #1b1c1a;
  --ink-2: #353733;
  --muted: #5b5f58;          /* 6.4:1 on white */
  --line: #e4e1d9;
  --line-strong: #cbc6bb;
  --bg: #f4f1ea;             /* page background: warm off-white */
  --paper: #faf8f3;          /* raised surfaces (cards, inputs) */
  --paper-2: #f0ece3;
  --paper-3: #e6e1d6;
  --off-black: #141613;      /* header, dark bands */
  /* Brand — the deep green of the hero is the one green used site-wide */
  --green: #2b2a27;          /* the product page's forest green — buttons and all accents (~10:1 on --paper) */
  --green-hover: #1c1b19;
  --green-tint: #ebe8e2;
  --gold: #b18e3e;           /* decorative only */
  --gold-ink: #7a5e1f;       /* 5.6:1 on white, for text */
  --gold-tint: #f6efdc;
  /* Feedback */
  --error: #b42318; --error-tint: #fdeceb; --error-line: #f1b4ad;
  --success: #1d6b40; --success-tint: #e5f2e9;
  --warning: #7d4f00; --warning-tint: #fcf1dc;
  --info: #1e4a72; --info-tint: #e8f0f8;
  /* Type */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* One typeface site-wide: the former serif accents use Manrope too. */
  --font-serif: var(--font-sans);
  --fs-xs: .8125rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.375rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  /* Space (4pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 20px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(27, 28, 26, .06), 0 1px 1px rgba(27, 28, 26, .04);
  --shadow: 0 6px 24px -8px rgba(27, 28, 26, .18), 0 2px 6px rgba(27, 28, 26, .05);
  --shadow-lg: 0 20px 50px -18px rgba(27, 28, 26, .35);
  --container: 1240px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --dur-fast: 140ms; --dur: 220ms; --dur-slow: 420ms;
  --z-header: 40; --z-drawer: 60; --z-chat: 50; --z-toast: 80;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* No italic type anywhere on the site. */
em, i, cite, address, dfn, var { font-style: normal; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
/* Manrope ships stylised Bulgarian-locale glyphs (т drawn like m, etc.). Use the standard Cyrillic
   forms in the UI sans for legibility; the serif accent font keeps its own forms. */
:lang(bg) *, :lang(bg) *::before, :lang(bg) *::after { font-feature-settings: "locl" 0 !important; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s3); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 var(--s4); }
/* One font style: accent words inside headings look exactly like the rest of the heading. */
.serif, h1 em, h2 em, h3 em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-tint); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: clip; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--ink); color: #f5f2ec; padding: var(--s2) var(--s4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s2); color: #f5f2ec; }
.icon { display: inline-block; vertical-align: -4px; width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 768px) { .container { padding-inline: var(--s5); } }
@media (min-width: 1024px) { .container { padding-inline: var(--s6); } }
.section { padding-block: var(--s7); }
@media (min-width: 1024px) { .section { padding-block: var(--s8); } }
.section-tight { padding-block: var(--s6); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s5); }
.section-head h2 { margin: 0; }
.section-head p { margin: var(--s2) 0 0; color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-ink); font-weight: 700; margin-bottom: var(--s2); }
.lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s6); font-size: var(--fs-lg); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: var(--s2); }

.stack > * + * { margin-top: var(--s4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); }   }

/* ---------- Buttons ---------- */
.btn { --bg: var(--paper); --fg: var(--ink); --bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 10px 20px;
  border-radius: var(--radius-pill); border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 600 var(--fs-sm)/1.2 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  touch-action: manipulation; }
.btn:hover { --bg: var(--paper-2); color: var(--fg); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { --bg: var(--green); --fg: #f5f2ec; --bd: var(--green); }
.btn-primary:hover { --bg: var(--green-hover); --bd: var(--green-hover); color: #f5f2ec; }
.btn-dark { --bg: var(--ink); --fg: #f5f2ec; --bd: var(--ink); }
.btn-dark:hover { --bg: #000; color: #f5f2ec; }
.btn-light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn-light:hover { --bg: var(--paper-2); }
.btn-ghost { --bg: transparent; --bd: transparent; }
.btn-ghost:hover { --bg: var(--paper-3); }
.btn-outline-light { --bg: transparent; --fg: #f5f2ec; --bd: rgba(255,255,255,.6); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.12); color: #f5f2ec; }
.btn-danger { --bg: var(--paper); --fg: var(--error); --bd: var(--error-line); }
.btn-danger:hover { --bg: var(--error-tint); color: var(--error); }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: var(--fs-base); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: var(--fs-xs); }
.btn-icon { width: 44px; padding: 0; }
.btn .spinner { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spinner { display: inline-block; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--green); }
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Tags & badges ---------- */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.tag-gold { background: var(--gold-tint); border-color: #e7d7ae; color: var(--gold-ink); }
.tag-green { background: var(--green-tint); border-color: #d6d2ca; color: var(--green); }

.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--green); color: #f5f2ec; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.badge-count[data-count='0'] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; margin-right: auto; min-width: 0; }
.logo-mark { width: 30px; height: 37px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.logo-text strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; font-style: normal; white-space: nowrap; overflow: clip; text-overflow: ellipsis; }
.logo-text small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

@media (min-width: 1024px) { .logo { flex-shrink: 0; } .logo-text strong { overflow: visible; } }
.size-chip .dim { white-space: nowrap; }

.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: none; border: 0; cursor: pointer; text-decoration: none; transition: background-color var(--dur-fast); }
.icon-btn:hover { background: var(--paper-3); color: var(--ink); }
.lang-select { position: relative; }
.lang-select select { appearance: none; height: 36px; padding: 0 28px 0 32px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b1c1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; font: 500 var(--fs-sm) var(--font-sans); color: var(--ink); cursor: pointer; }
.lang-select .icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; color: var(--muted); }

/* Off-black header. When the page scrolls, the bar and branding fade away and the
   navigation remains as floating dark pills (.is-scrolled is set by app.js). */
.site-header { background: var(--off-black); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: none; transition: background-color 380ms var(--ease-out), border-color 380ms var(--ease-out); }
.site-header .logo { color: #f3efe6; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.site-header .logo-text small { color: #a9a597; }

.site-header .icon-btn { color: #ece8de; }
.site-header .icon-btn:hover { background: rgba(255,255,255,.1); color: #f5f2ec; }
.site-header .lang-select select { background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #ece8de; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ece8de' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.site-header .lang-select select option { color: var(--ink); background: var(--paper); }
.site-header .lang-select .icon { color: #a9a597; }
.site-header .badge-count { background: #c9a75a; color: var(--off-black); }

.site-header.is-scrolled { background: transparent; border-color: transparent; }
.site-header.is-scrolled .logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }

@media (prefers-reduced-motion: reduce) { .site-header, .site-header .logo { transition: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer.is-open { visibility: visible; }

/* ---------- Notices / alerts ---------- */
.dev-banner { background: var(--warning-tint); color: var(--warning); font-size: var(--fs-xs); text-align: center; padding: 6px var(--s4); border-bottom: 1px solid #efd7a4; }
.alert { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); font-size: var(--fs-sm); }
.alert > .icon { margin-top: 2px; }
.alert p { margin: 0; }
.alert p + p, .alert ul { margin-top: var(--s2); }
.alert ul { margin-bottom: 0; padding-left: 1.1em; }
.alert-error { background: var(--error-tint); border-color: var(--error-line); color: #7a1a12; }
.alert-error > .icon { color: var(--error); }
.alert-error a { color: #7a1a12; font-weight: 600; }
.alert-success { background: var(--success-tint); border-color: #b9dcc5; color: #164d2f; }
.alert-warning { background: var(--warning-tint); border-color: #efd7a4; color: #5c3a00; }
.alert-info { background: var(--info-tint); border-color: #c4d6ea; color: #173a5a; }
.alert-title { font-weight: 700; margin-bottom: 2px !important; }

/* Toasts (non-critical confirmations only) */
.toast-region { position: fixed; z-index: var(--z-toast); left: 50%; bottom: var(--s5); transform: translateX(-50%); display: grid; gap: var(--s2); width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border-radius: var(--radius); background: var(--ink); color: #f5f2ec; box-shadow: var(--shadow-lg); font-size: var(--fs-sm); animation: toast-in var(--dur) var(--ease-out); }
.toast a { color: #f5f2ec; font-weight: 700; }
.toast.is-leaving { animation: toast-out 160ms var(--ease-in) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: var(--s4); }
.form-grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.form-grid .field + .field { margin-top: 0; }
label, .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.req { color: var(--error); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; }
.hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: 400 var(--fs-base) var(--font-sans); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b1c1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.input:hover, .select:hover, .textarea:hover { border-color: #a9a397; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(50, 48, 45, .16); }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'], .is-invalid { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field-error { display: none; align-items: flex-start; gap: 6px; color: var(--error); font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.field-error.is-visible, .field-error:not(:empty) { display: flex; }
.field-error .icon { width: 16px; height: 16px; margin-top: 2px; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: var(--fs-md); margin-bottom: var(--s3); }
.counter { font-size: var(--fs-xs); color: var(--muted); text-align: right; }

/* Option cards (radio) */
.options { display: grid; gap: var(--s3); }

.option { position: relative; display: flex; gap: var(--s3); align-items: flex-start; padding: 14px var(--s4); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast); }
.option:hover { border-color: #a9a397; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .radio-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; margin-top: 2px; display: grid; place-items: center; transition: border-color var(--dur-fast); }
.option .radio-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform var(--dur-fast) var(--ease-out); }
.option:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: var(--green-tint); }
.option:has(input:checked) .radio-dot { border-color: var(--green); }
.option:has(input:checked) .radio-dot::after { transform: scale(1); }
.option:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.option:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.option-body { flex: 1; min-width: 0; }
.option-title { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: space-between; font-weight: 600; }
.option-desc { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.option-price { font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); overflow: clip; background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--paper-3); }
.qty input { width: 56px; height: 44px; border: 0; text-align: center; font: 600 var(--fs-base) var(--font-sans); -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Custom listbox (shape dropdown with icons) */
.listbox { position: relative; }
.listbox-button { width: 100%; display: flex; align-items: center; gap: var(--s3); min-height: 48px; padding: 8px 40px 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b1c1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font: 500 var(--fs-base) var(--font-sans); color: var(--ink); text-align: left; cursor: pointer; }
.listbox-button:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(50, 48, 45, .16); }
.listbox-button .shape-ico, .listbox-option .shape-ico { color: var(--gold-ink); }
.listbox-popup { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out); max-height: 320px; overflow-y: auto; }
.listbox.is-open .listbox-popup { opacity: 1; transform: none; pointer-events: auto; }
.listbox-option { display: flex; align-items: center; gap: var(--s3); padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; }
.listbox-option[aria-selected='true'] { background: var(--green-tint); font-weight: 600; }
.listbox-option.is-active { background: var(--paper-3); }
.listbox-option .meta { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); }

/* Size chips (dropdown alternative shown inside configurator only) */
.size-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--s2); }
.size-chip { position: relative; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; text-align: left; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.size-chip:hover { border-color: #a9a397; }
.size-chip input { position: absolute; opacity: 0; pointer-events: none; }
.size-chip .dim { font-weight: 700; font-variant-numeric: tabular-nums; }
.size-chip .price { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.size-chip .pop { font-size: 11px; color: var(--gold-ink); font-weight: 700; letter-spacing: .02em; }
.size-chip:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: var(--green-tint); }
.size-chip:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.size-chip.is-placeholder .dim::after { content: ' *'; color: var(--warning); }

/* ---------- Footer ---------- */
.site-footer { background: #171816; color: #d9d7d0; margin-top: var(--s8); }
.site-footer a { color: #e9e6dd; text-decoration: none; }
.site-footer a:hover { color: #f5f2ec; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); padding-block: var(--s7); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; } }
.footer-brand .logo { color: #f5f2ec; }
.footer-brand .logo-text small { color: #a5a39b; }
.footer-brand p { color: #b4b2aa; font-size: var(--fs-sm); max-width: 36ch; margin-top: var(--s4); }
.footer-col h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: #a5a39b; margin-bottom: var(--s4); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--gold); }
.footer-bottom { border-top: 1px solid #2c2d2a; padding-block: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; font-size: var(--fs-xs); color: #a5a39b; }
.footer-bottom .lang-select select { background-color: #232421; border-color: #3a3b37; color: #f5f2ec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.placeholder-text { color: #a5a39b; font-style: normal; }

/* ---------- Hero ---------- */
/* Full-bleed hero: spans the whole viewport width, text left-aligned. */
.hero.container { max-width: none; padding-inline: 0; }
.hero { padding-top: 0; }
.hero-frame { position: relative; border-radius: 0; justify-content: flex-start; text-align: left; overflow: clip; min-height: 520px; display: flex; align-items: flex-end; background: var(--ink); isolation: isolate; }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-frame::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 15, 14, .86) 0%, rgba(16, 15, 14, .66) 40%, rgba(16, 15, 14, .1) 75%), linear-gradient(0deg, rgba(16, 15, 14, .55), transparent 45%); }
.hero-content { padding: var(--s6) var(--s4); color: #f5f2ec; max-width: 720px; margin-right: auto; }
.hero-content h1 { color: #f5f2ec; font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem); font-weight: 600; margin-bottom: var(--s4); }
.hero-content h1 em { color: #f2deaa; }
.hero-content p { color: rgba(255, 255, 255, .86); font-size: var(--fs-md); max-width: 52ch; }
.hero-content .eyebrow { color: #e7cf8f; }

@media (min-width: 768px) { .hero-content { padding: var(--s8) var(--s6); } .hero-frame { min-height: 580px; align-items: center; } }

/* Hero v2: text left with more breathing room, monument visual right, cursor spotlight. */
.hero-frame { display: grid; grid-template-columns: 1fr; align-items: center; gap: var(--s5); padding-bottom: var(--s6); }
.hero-frame > .img-placeholder { background: radial-gradient(circle at 70% 40%, #3a3834, var(--green) 35%, #121211 80%); color: transparent; }
.hero-frame > .img-placeholder svg { display: none; }
.hero-content { padding-left: clamp(var(--s5), 6vw, 112px); position: relative; z-index: 1; }

.hero-monument { display: block; width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero-frame { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding-bottom: 0; }
  
}

/* Page hero (inner pages) */
.page-hero { padding-block: var(--s7) var(--s5); }
.page-hero .lead { margin-top: var(--s3); }
.breadcrumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s4); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Category & product cards ---------- */

.product-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper); transition: transform var(--dur) var(--ease-out); }
.product-card-media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: clip; background: linear-gradient(160deg, #f3f1ec, #e4e0d7); display: grid; place-items: center; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-card:hover .product-card-media img { transform: scale(1.03); }
.product-card-media .tags { position: absolute; top: var(--s3); left: var(--s3); display: flex; flex-wrap: wrap; gap: 6px; }
.product-card-body { padding: var(--s4) var(--s1) 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: var(--fs-md); margin: 0; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: var(--fs-xs); color: var(--muted); }
.product-card .meta span { display: inline-flex; align-items: center; gap: 4px; }
.product-card .card-summary { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: auto; padding-top: var(--s3); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; color: var(--muted); font-size: var(--fs-xs); margin-right: 4px; }
.product-card-foot .btn { position: relative; z-index: 1; }
.shape-icons { display: inline-flex; gap: 4px; color: var(--gold-ink); }
.shape-icons svg { width: 14px; height: 14px; }

/* Catalog toolbar */

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; background: var(--paper); transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current='true'] { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }

.empty-state { text-align: center; padding: var(--s8) var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-2); }
.empty-state .icon { margin: 0 auto var(--s3); width: 36px; height: 36px; color: var(--muted); }
.empty-state h2, .empty-state h3 { margin-bottom: var(--s2); }
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ---------- Feature list / process ---------- */

.feature .icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-tint); color: var(--gold-ink); display: grid; place-items: center; margin-bottom: var(--s3); }
.feature h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.feature p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.steps { counter-reset: step; display: grid; gap: var(--s4); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding: var(--s5); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-style: normal; font-size: 1.8rem; color: var(--gold-ink); line-height: 1; margin-bottom: var(--s3); }
.steps h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.steps p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Split section */
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); }  }
.split-media { border-radius: var(--radius-lg); overflow: clip; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.checklist .icon { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); background: var(--green); color: #ece8e1; padding: var(--s7) var(--s5); display: grid; gap: var(--s5); align-items: center; position: relative; overflow: clip; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 340px; border-radius: 50%; border: 2px solid rgba(231, 207, 143, .35); box-shadow: inset 0 0 0 14px rgba(231,207,143,.08); pointer-events: none; }
.cta-band h2 { color: #f5f2ec; }
.cta-band p { color: #d3cfc7; margin: 0; max-width: 58ch; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.5fr auto; padding: var(--s7); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0; cursor: pointer; font-weight: 600; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--dur) var(--ease-out); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 var(--s4); color: var(--ink-2); max-width: 75ch; }

/* ---------- Before / after slider ---------- */
.compare { position: relative; overflow: clip; border-radius: var(--radius-lg); background: var(--paper-3); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; }
.compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #f5f2ec; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.compare .handle { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); pointer-events: none; }
.compare .label { position: absolute; top: var(--s3); padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(22, 21, 19, .7); color: #f5f2ec; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; pointer-events: none; }
.compare .label-before { left: var(--s3); }
.compare .label-after { right: var(--s3); }
.compare input[type='range'] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.compare:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.compare-caption { margin-top: var(--s3); }
.compare-caption h3 { margin-bottom: 4px; font-size: var(--fs-base); }
.compare-caption p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ---------- Configurator ---------- */
.configurator { display: grid; gap: var(--s6); align-items: start; padding-top: var(--s4); }
@media (min-width: 1024px) { .configurator { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s7); } }

.config-title h1 { font-size: var(--fs-xl); margin-bottom: var(--s2); }
.config-title p { color: var(--muted); margin: 0; }
.preview-card { border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); overflow: clip; margin-top: var(--s5); }
.preview-tabs { display: flex; gap: 4px; padding: var(--s2); border-bottom: 1px solid var(--line); background: var(--paper); }
.preview-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: var(--radius-pill); background: none; font: 600 var(--fs-sm) var(--font-sans); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.preview-tabs button[aria-selected='true'] { background: var(--green); color: #f5f2ec; }
.preview-stage { position: relative; }
.monument { position: relative; width: 100%; max-width: min(560px, 50vh); margin-inline: auto; aspect-ratio: var(--mon-ar, 1200 / 1500); container-type: inline-size; }
.monument > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-anchor { position: absolute; left: var(--ax, 50%); top: var(--ay, 31%); width: 0; height: 0; }
.portrait-piece { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); transform-origin: center; will-change: transform; }
.portrait-piece.is-entering { animation: piece-in 520ms var(--ease-out); }
.portrait-piece.is-leaving { animation: piece-out 320ms var(--ease-in) forwards; pointer-events: none; }
@keyframes piece-in { from { opacity: 0; } }
@keyframes piece-out { to { opacity: 0; } }
.closeup { display: grid; place-items: center; padding: var(--s6) var(--s4); min-height: 420px; background: radial-gradient(circle at 50% 40%, var(--paper), var(--paper-3)); }
.closeup .portrait-piece { position: relative; transform: none; left: auto; top: auto; }
.closeup.can-drag .portrait-piece { cursor: grab; touch-action: none; }
.closeup.can-drag .portrait-piece:active { cursor: grabbing; }
.size-label { position: absolute; left: 50%; bottom: var(--s3); transform: translateX(-50%); padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(22, 21, 19, .72); color: #f5f2ec; font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.framing { padding: var(--s3) var(--s4); background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
@media (min-width: 640px) { .framing { grid-template-columns: repeat(3, 1fr) auto; align-items: end; } }
.framing label { font-size: var(--fs-xs); }
.framing input[type='range'] { width: 100%; accent-color: var(--green); height: 28px; }
.config-step { padding-block: var(--s5); border-top: 1px solid var(--line); }
.config-step:first-of-type { margin-top: var(--s5); }
.config-step-head { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); }
.config-step-head .num { font-family: var(--font-serif); font-style: normal; color: var(--gold-ink); font-size: 1.3rem; }
.config-step-head h2 { font-size: var(--fs-md); margin: 0; }
.config-step-head .opt { font-size: var(--fs-sm); }
.config-step.has-error { }
.config-row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .config-row { grid-template-columns: 1fr 1fr; } }
.coming-soon { padding: var(--s4); border-radius: var(--radius); background: var(--paper-2); border: 1px dashed var(--line-strong); font-size: var(--fs-sm); color: var(--ink-2); }

/* Dropzone */
.dropzone { position: relative; display: grid; place-items: center; gap: var(--s2); text-align: center; padding: var(--s6) var(--s4); border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-2); cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--green); background: var(--green-tint); }
.dropzone.is-invalid { border-color: var(--error); background: var(--error-tint); }
.dropzone .icon { width: 32px; height: 32px; color: var(--green); }
.dropzone strong { font-size: var(--fs-base); }
.dropzone input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.upload-card { display: flex; gap: var(--s4); align-items: center; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.upload-card img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-3); }
.upload-card .info { flex: 1; min-width: 0; }
.upload-card .name { font-weight: 600; overflow-wrap: anywhere; font-size: var(--fs-sm); }
.upload-card .actions { display: flex; gap: 4px; flex-wrap: wrap; }
.progress { height: 6px; border-radius: 3px; background: var(--paper-3); overflow: clip; margin-top: 6px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--green); transition: width var(--dur-fast) linear; }
.prep-default { margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--radius); background: var(--green-tint); font-size: var(--fs-sm); color: #2b2a27; }
.prep-default strong { display: block; margin-bottom: 2px; }

/* Summary (sticky) */
.summary { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: var(--s5); box-shadow: var(--shadow-sm); }

.summary h2 { font-size: var(--fs-md); }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px var(--s4); margin: 0 0 var(--s4); font-size: var(--fs-sm); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.breakdown { border-top: 1px solid var(--line); padding-top: var(--s3); margin-bottom: var(--s4); font-size: var(--fs-sm); }
.breakdown .row { display: flex; justify-content: space-between; gap: var(--s3); padding: 4px 0; font-variant-numeric: tabular-nums; }
.breakdown .row.discount { color: var(--success); }
.breakdown .row.total { border-top: 1px solid var(--line); margin-top: var(--s2); padding-top: var(--s3); font-size: var(--fs-md); font-weight: 700; }
.breakdown .row .muted { font-weight: 400; }

.summary .actions { display: grid; gap: var(--s2); }
.summary .trust { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: 8px; font-size: var(--fs-xs); color: var(--muted); }
.summary .trust li { display: flex; gap: 8px; align-items: center; }
.summary .trust .icon { width: 16px; height: 16px; color: var(--green); }
.mobile-buybar { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.25); margin-inline: calc(var(--s4) * -1); padding-bottom: max(var(--s3), env(safe-area-inset-bottom)); }
.mobile-buybar .price { font-size: var(--fs-md); }
@media (min-width: 1024px) { .mobile-buybar { display: none; } }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 88px 1fr; gap: var(--s4); padding-block: var(--s5); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .cart-item { grid-template-columns: 120px 1fr auto; } }
.cart-thumb { width: 88px; height: 104px; border-radius: var(--radius); background: var(--paper-3); overflow: clip; display: grid; place-items: center; }
@media (min-width: 640px) { .cart-thumb { width: 120px; height: 140px; } }
.cart-thumb svg { width: 80%; height: 80%; }
.cart-item h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.cart-item .specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s2); }
.cart-item .instructions { font-size: var(--fs-sm); background: var(--paper-2); border-radius: var(--radius-sm); padding: var(--s2) var(--s3); margin: 0 0 var(--s3); white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-item .line-actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.cart-item .line-price { grid-column: 2; text-align: left; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .cart-item .line-price { grid-column: 3; text-align: right; } }
.line-price .unit { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s7); } }
.checkout-section { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.checkout-section + .checkout-section { margin-top: var(--s4); }
.checkout-section h2 { font-size: var(--fs-md); display: flex; gap: var(--s3); align-items: baseline; }
.checkout-section h2 .num { font-family: var(--font-serif); font-style: normal; color: var(--gold-ink); }
.error-summary { margin-bottom: var(--s5); }
.error-summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.mini-items { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.mini-item { display: grid; grid-template-columns: 52px 1fr auto; gap: var(--s3); align-items: center; font-size: var(--fs-sm); }
.mini-item .thumb { width: 52px; height: 60px; border-radius: var(--radius-sm); background: var(--paper-3); position: relative; display: grid; place-items: center; }
.mini-item .thumb svg { width: 80%; height: 80%; }
.mini-item .qty-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #f5f2ec; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.mini-item .specs { color: var(--muted); font-size: var(--fs-xs); }
.reveal { display: none; }
.reveal.is-shown { display: block; animation: reveal var(--dur) var(--ease-out); }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Order status timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; gap: var(--s3); align-items: flex-start; padding-bottom: var(--s4); font-size: var(--fs-sm); color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--paper); flex: none; display: grid; place-items: center; position: relative; z-index: 1; }
.timeline .done { color: var(--ink); }
.timeline .done .dot { background: var(--green); border-color: var(--green); color: #f5f2ec; }
.timeline .done::before { background: var(--green); }
.timeline .current { color: var(--ink); font-weight: 700; }
.timeline .current .dot { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.timeline .dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; background: var(--paper-3); color: var(--ink-2); white-space: nowrap; }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
.status-pill.ok { background: var(--success-tint); color: var(--success); }
.status-pill.warn { background: var(--warning-tint); color: var(--warning); }
.status-pill.bad { background: var(--error-tint); color: var(--error); }
.status-pill.info { background: var(--info-tint); color: var(--info); }

/* ---------- Account ---------- */
.auth-card { max-width: 460px; margin: var(--s7) auto; padding: var(--s6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: var(--fs-xl); }
.account-layout { display: grid; gap: var(--s6); align-items: start; padding-top: var(--s5); }
@media (min-width: 900px) { .account-layout { grid-template-columns: 240px 1fr; } }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s2); overflow-x: auto; }
@media (min-width: 900px) { .account-nav ul { flex-direction: column; } }
.account-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.account-nav a:hover { background: var(--paper-3); }
.account-nav a[aria-current='page'] { background: var(--ink); color: #f5f2ec; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); background: var(--paper); }
.card + .card { margin-top: var(--s4); }
.card h2 { font-size: var(--fs-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table th { text-align: left; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) {
  .data-table.responsive thead { display: none; }
  .data-table.responsive tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s3); padding: var(--s2) var(--s3); }
  .data-table.responsive td { display: flex; justify-content: space-between; gap: var(--s3); border: 0; padding: 6px 0; text-align: right; }
  .data-table.responsive td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
}

/* ---------- Support chat ---------- */
.chat-launcher { position: fixed; right: var(--s4); bottom: var(--s4); z-index: var(--z-chat); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: var(--radius-pill); border: 0; background: var(--green); color: #f5f2ec; font: 600 var(--fs-sm) var(--font-sans); box-shadow: var(--shadow-lg); cursor: pointer; transition: transform var(--dur-fast); }
.chat-launcher:hover { transform: translateY(-1px); }
.chat-launcher .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: none; }
.chat-launcher.has-unread .dot { display: block; }
@media (max-width: 1023px) { body:has(.mobile-buybar) .chat-launcher { bottom: calc(76px + env(safe-area-inset-bottom)); } body:has(.mobile-buybar) .toast-region { bottom: calc(140px + env(safe-area-inset-bottom)); } }
@media (max-width: 479px) { .logo-text small { display: none; } .logo-text strong { font-size: 1.15rem; } }
@media (max-width: 640px) { .chat-launcher .chat-launcher-text { display: none; } .chat-launcher { padding: 0; width: 52px; height: 52px; justify-content: center; } }
.chat-panel { position: fixed; right: var(--s4); bottom: calc(var(--s4) + 60px); z-index: var(--z-chat); width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px) scale(.98); transform-origin: bottom right; pointer-events: none; visibility: hidden; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.chat-panel.is-page { position: static; width: 100%; height: 600px; opacity: 1; transform: none; pointer-events: auto; visibility: visible; box-shadow: none; }
.chat-head { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.chat-head h2 { font-size: var(--fs-base); margin: 0; }
.chat-head p { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.chat-head .actions { margin-left: auto; display: flex; }
.chat-log { flex: 1; overflow-y: auto; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); background: var(--paper-2); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg time, .msg .who { display: block; font-size: 11px; opacity: .75; margin-top: 4px; }
.msg-customer { align-self: flex-end; background: var(--green); color: #f5f2ec; border-bottom-right-radius: 4px; }
.msg-staff { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-system { align-self: center; max-width: 95%; background: var(--paper-3); color: var(--ink-2); font-size: var(--fs-xs); border-radius: var(--radius); text-align: center; }
.msg.is-failed { background: var(--error-tint); color: var(--error); border: 1px solid var(--error-line); }
.msg .status { font-size: 11px; display: inline-flex; gap: 4px; align-items: center; }
.chat-form { padding: var(--s3); border-top: 1px solid var(--line); display: grid; gap: var(--s2); }
.chat-form .row { display: flex; gap: var(--s2); align-items: flex-end; }
.chat-form textarea { min-height: 44px; max-height: 140px; resize: none; }
.chat-intro { display: grid; gap: var(--s2); }
.chat-intro .input { min-height: 40px; padding: 8px 12px; font-size: var(--fs-sm); }
body.no-chat .chat-launcher, body.no-chat .chat-panel:not(.is-page) { display: none; }

/* ---------- Misc ---------- */
.img-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; background: radial-gradient(circle at 35% 30%, #faf8f3, #e6e1d6 70%); color: #c9b78a; }
.img-placeholder svg { width: min(28%, 120px); height: auto; opacity: .8; }
.hero-frame > .img-placeholder { position: absolute; inset: 0; z-index: -2; place-items: center end; padding-right: 12%; background: radial-gradient(circle at 70% 40%, #3a3834, #1c1b19 70%); color: #8f7a45; }
.split-media > .img-placeholder { aspect-ratio: 4 / 3; }
.product-card-media > .img-placeholder { position: absolute; inset: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.contact-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.contact-list .icon-wrap { width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex: none; }
.error-page { padding-block: var(--s9); text-align: center; max-width: 640px; }
.error-page .lead { margin-inline: auto; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-top: var(--s5); }
.error-links { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.error-links ul { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s4); }
.error-links a { display: inline-block; padding: 10px 4px; font-weight: 600; }
.notice-sample { font-size: var(--fs-xs); color: var(--warning); display: inline-flex; gap: 4px; align-items: center; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: var(--s5) 0; }

/* ==========================================================================
   Configurator v2 — options left, sticky live preview right
   ========================================================================== */
.configurator { display: grid; gap: var(--s5); align-items: start; padding: var(--s3) 0 var(--s7); grid-template-columns: minmax(0, 1fr); }
.config-title { grid-column: 1 / -1; }
.config-title h1 { font-size: var(--fs-xl); margin-bottom: 4px; }
.config-title p { color: var(--muted); margin: 0; }
.config-visual { display: grid; gap: var(--s3); min-width: 0; }
.config-controls { min-width: 0; }
@media (min-width: 1024px) {
  .configurator { grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); column-gap: var(--s7); }
  /* Preview on the left (sticky), title + options on the right. */
  .configurator { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); }
  .config-title { grid-column: 2; grid-row: 1; }
  .config-controls { grid-column: 2; grid-row: 2; }
  .config-visual { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + var(--s4)); }
  .configurator { row-gap: var(--s4); }
  /* Preview + price + button must fit in one screen height. */
  .monument { max-width: min(100%, calc((100dvh - var(--header-h) - 360px) * 0.8)); }
  .config-visual:has(.framing:not([hidden])) .monument { max-width: min(100%, calc((100dvh - var(--header-h) - 420px) * 0.8)); }
  .closeup { min-height: 0; height: calc(100dvh - var(--header-h) - 390px); padding: var(--s4); }
  
  
  .config-controls .config-row { grid-template-columns: 1fr; }
}
.preview-card { margin-top: 0; border-radius: var(--radius-lg); background: var(--paper-2); }
.preview-stage { position: relative; }
.preview-panel { will-change: opacity, transform; }
.preview-tabs { position: relative; isolation: isolate; }
.preview-tabs button { position: relative; z-index: 1; transition: color var(--dur) var(--ease-out); }
.preview-tabs button[aria-selected='true'] { background: transparent; color: #f5f2ec; }
.preview-tab-indicator { position: absolute; z-index: 0; top: var(--s2); left: 0; height: 40px; border-radius: var(--radius-pill); background: var(--green); transition: transform var(--dur-slow) var(--ease-out), width var(--dur-slow) var(--ease-out); }
.size-label { bottom: var(--s3); transition: opacity var(--dur); }
.portrait-piece { transition: opacity var(--dur) var(--ease-out); }
.framing { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); padding: var(--s2) var(--s4); }
.framing label { display: grid; gap: 0; flex: 1 1 120px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.framing input[type='range'] { height: 22px; }

@keyframes pill-in { from { opacity: 0; transform: scale(.92); } }

.breakdown-toggle summary, .about-toggle summary, .instructions-toggle summary { list-style: none; display: flex; align-items: center; gap: var(--s2); cursor: pointer; padding: var(--s3) 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.breakdown-toggle summary::-webkit-details-marker, .about-toggle summary::-webkit-details-marker, .instructions-toggle summary::-webkit-details-marker { display: none; }
.breakdown-toggle summary .icon, .about-toggle summary .icon, .instructions-toggle summary .icon { margin-left: auto; transition: transform var(--dur) var(--ease-out); }
details[open] > summary .icon { transform: rotate(180deg); }
details[open] > .breakdown, details[open] > .instructions-body, details[open] > .prose { animation: reveal var(--dur) var(--ease-out); }

.config-controls .config-step { padding: var(--s5) 0; border-top: 1px solid var(--line); margin: 0; }
.config-controls .config-step:first-of-type { border-top: 0; padding-top: 0; }
.config-step-head { margin-bottom: var(--s3); align-items: center; }
.config-step-head .num, .instructions-toggle summary .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-3); color: var(--ink); font: 700 var(--fs-xs)/1 var(--font-sans); flex: none; transition: background var(--dur), color var(--dur); }
.config-step.is-done .config-step-head .num { background: var(--green); color: #f5f2ec; }
.config-step-head h2, .h2-like { font-size: var(--fs-base); font-weight: 700; margin: 0; }
.config-step .hint { margin-top: var(--s2); }
.size-field { margin-top: var(--s4); }
.size-field legend { margin-bottom: var(--s2); font-size: var(--fs-sm); }
.size-list { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.size-chip { transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.size-chip:active { transform: scale(.97); }
.size-chip:has(input:checked) { background: var(--green-tint); }
.size-chip:has(input:checked) .dim { color: var(--green); }
.size-chip:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.dropzone { padding: var(--s5) var(--s4); }
.upload-card { animation: reveal var(--dur) var(--ease-out); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.segment { position: relative; display: flex; align-items: center; gap: var(--s3); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast), transform var(--dur-fast); }
.segment:hover { border-color: #a9a397; }
.segment:active { transform: scale(.98); }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: var(--green-tint); }
.segment:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.segment:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.segment-swatch { width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch-bw { background: linear-gradient(135deg, #f2f2f2 0 50%, #2a2a2a 50% 100%); }
.swatch-color { background: conic-gradient(#d9534f, #f0ad4e, #5cb85c, #5bc0de, #6f5bd9, #d9534f); }
.segment-text { display: grid; line-height: 1.25; }
.segment-text strong { font-size: var(--fs-sm); }
.segment-text small { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.instructions-toggle summary { padding: 0; font-size: var(--fs-base); font-weight: 700; color: var(--ink); }
.instructions-body { margin-top: var(--s3); }
.prep-default { margin: var(--s2) 0 0; padding: var(--s2) var(--s3); font-size: var(--fs-xs); }

[data-config-errors]:not([hidden]) { margin-bottom: var(--s4); animation: shake 320ms var(--ease-out); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* Big add-to-cart button at the bottom of the options column. */
.add-cta-wrap { display: grid; gap: var(--s2); justify-items: center; padding-top: var(--s4); border-top: 1px solid var(--line); }
.add-cta { width: 100%; min-height: 60px; font-size: var(--fs-md); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: var(--radius); box-shadow: 0 10px 24px -12px rgba(50, 48, 45, .65); transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.add-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(50, 48, 45, .75); }
.add-cta:active { transform: translateY(0) scale(.99); }
.add-cta .icon { width: 22px; height: 22px; }
.add-cta-price { font-variant-numeric: tabular-nums; letter-spacing: .02em; opacity: .9; }

/* Compact options column so it fits a laptop screen without scrolling. */
@media (min-width: 1024px) {
  .configurator { grid-template-columns: minmax(0, 1fr) minmax(400px, 480px); padding-top: var(--s2); padding-bottom: var(--s5); }
  .config-title h1 { font-size: 1.6rem; }
  .config-title p { font-size: var(--fs-sm); }
  .config-controls .config-step { padding: var(--s3) 0; }
  .config-step-head { margin-bottom: var(--s2); }
  .config-controls .config-row { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .config-controls [data-finish-desc] { display: none; }
  .listbox-button, .config-controls .select { min-height: 42px; padding-top: 6px; padding-bottom: 6px; font-size: var(--fs-sm); }
  .size-field { margin-top: var(--s3); }
  .size-list { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .size-chip { padding: 6px 8px; }
  .size-chip .dim { font-size: var(--fs-sm); }
  .size-chip .pop { font-size: 10px; }
  .dropzone { grid-auto-flow: column; justify-content: start; text-align: left; gap: var(--s3); padding: var(--s3) var(--s4); }
  .dropzone .icon { width: 24px; height: 24px; }
  .dropzone strong { font-size: var(--fs-sm); }
  .dropzone .small { display: block; font-size: 11px; }
  .dropzone > strong, .dropzone > .small { grid-column: 2; }
  .dropzone > .icon { grid-row: 1 / span 2; }
  .upload-card { padding: var(--s2); }
  .upload-card img { width: 44px; height: 44px; }
  .config-controls .hint { font-size: 11px; margin-top: 4px; }
  .segment { padding: 8px 12px; }
  .segment-swatch { width: 22px; height: 22px; }
  
  .qty button, .qty input { height: 38px; }
  .add-cta-wrap { padding-top: var(--s3); }
  
  .size-field legend { margin-bottom: 4px; }
  body:has(.configurator) .breadcrumbs { margin-top: var(--s3) !important; margin-bottom: var(--s2); }
  .config-controls .config-step { padding: 10px 0; }
  .config-step-head { margin-bottom: 6px; }
  .config-step-head .num { width: 22px; height: 22px; }
  .size-field { margin-top: var(--s2); }
  .dropzone { padding: 10px var(--s4); gap: 2px var(--s3); }
  .config-controls .hint { line-height: 1.35; }
  .segmented { gap: 6px; }
  .add-cta-wrap { padding-top: var(--s3); }
  .add-cta { min-height: 58px; }
}

/* Entrance: steps rise in one after another once the configurator is ready. */
.configurator .config-step, .configurator .config-visual { animation: rise-in 460ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Homepage product carousel
   ========================================================================== */

.carousel { position: relative; }

  
  

.pcard-sample { color: var(--warning); margin-left: 2px; }

/* ==========================================================================
   Landing product windows (4 per row on desktop)
   ========================================================================== */
.pw-grid { display: grid; gap: var(--s5) var(--s4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .pw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pw-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s6) var(--s5); } }
.pw { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: clip; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); animation: rise-in 520ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.pw:not(.pw-placeholder):hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(22, 21, 19, .45); }

/* Engraving section (replaces "How it works") */
.engraving { background: var(--paper-2); }
.engrave-figure { margin: 0; display: grid; gap: var(--s2); width: 100%; max-width: 440px; justify-self: center; }

/* Checkout: the brand green on its main interactive elements */
.checkout-section h2 .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #f5f2ec; font: 700 var(--fs-xs)/1 var(--font-sans); }
.checkout-section { background: var(--paper); }
.checkout-layout .check input, .checkout-layout .option input { accent-color: var(--green); }
.checkout-layout a:not(.btn) { color: var(--green); }
.checkout-layout .summary { border-top: 3px solid var(--green); }

/* Size selector: dimensions centred in the box; the price shows below the selector. */
.size-chip { display: grid; place-items: center; text-align: center; min-height: 52px; }
.size-chip .pop { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 0 6px; border-radius: var(--radius-pill); background: var(--gold-tint); border: 1px solid #e7d7ae; white-space: nowrap; line-height: 16px; }
.size-list { padding-top: 8px; row-gap: 14px; }
.size-price { display: flex; align-items: baseline; gap: var(--s2); margin: var(--s2) 0 0; min-height: 1.5em; font-size: var(--fs-sm); color: var(--muted); }
.size-price strong { color: var(--ink); font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.size-price .notice-sample { font-size: 11px; }
/* Shape and Finish controls sit at exactly the same height. */
.config-row { align-items: start; }
.config-row > .field + .field { margin-top: 0; }
.config-row > .field { align-content: start; gap: 6px; }
.config-row > .field > .label, .config-row > .field > label { line-height: 1.4; min-height: 1.4em; display: block; }
.config-row .listbox-button, .config-row .select { height: 44px; min-height: 44px; }

/* ==========================================================================
   Refinements: subtle cursor light, transparent monument cut off by the hero edge
   ========================================================================== */
.hero-frame { padding-bottom: 0 !important; }

/* The monument is a transparent cutout: no frame, shadow or background; the hero's clip cuts its base. */
/* Negative bottom margin (not a transform) so the base is clipped by the hero and the pause
   button stays positioned against the hero frame. */

.hero-monument { filter: brightness(.92) contrast(1.02); }
/* Contact page: the product page split, inverted — rich green information panel on the left (cursor light),
   creamy gradient on the right with the message form centred. One screen tall on desktop. */
.contact-split { --chrome: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr); }
body:has(.dev-banner) .contact-split { --chrome: calc(var(--header-h) + 35px); }
body:has(.contact-split) .site-footer { margin-top: 0; }
.contact-info { position: relative; overflow: clip; color: #f6f1e4; padding: var(--s6) var(--s4) var(--s7);
  background: radial-gradient(120% 70% at 15% 0%, #3a3834 0%, rgba(70, 67, 62, 0) 55%), linear-gradient(165deg, #2b2a27 0%, #232220 55%, #1c1b19 100%); }
.contact-info-inner { position: relative; z-index: 1; display: grid; gap: var(--s4); max-width: 560px; margin-inline: auto; }
.contact-info .breadcrumbs, .contact-info .breadcrumbs a { color: rgba(246, 241, 228, .74); }
.contact-info h1 { color: #f6f1e4; font-weight: 800; font-size: clamp(2.3rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.028em; margin: 0; }
.contact-info .lead { color: rgba(246, 241, 228, .82); margin: 0; }
.contact-info .contact-list { margin: var(--s3) 0 0; }
.contact-info .contact-list strong { color: #f6f1e4; }
.contact-info .contact-list a { color: #f6f1e4; }
.contact-info .contact-list .muted { color: rgba(246, 241, 228, .62); }
.contact-info .icon-wrap { background: rgba(246, 241, 228, .1); color: #e7cf8f; }

[data-spotlight].is-pointing .cfg-spotlight { opacity: 1; }
.contact-form-panel { display: grid; place-items: center; padding: var(--s6) var(--s4) var(--s7);
  background: radial-gradient(110% 80% at 82% 8%, #fffbf2 0%, #f8f0de 42%, #efe1c2 100%); }
.contact-card { width: 100%; max-width: 560px; margin: 0; background: rgba(252, 249, 242, .92); border-color: rgba(27, 28, 26, .08); box-shadow: 0 30px 60px -36px rgba(60, 45, 20, .45); }
/* Entrance, like the product page: the title rises in, the rest of the green panel follows one item at a time,
   the form card rises in with its fields staggered. Reduced motion: shown at once (global rule). */
.contact-info h1 { animation: title-in 800ms var(--ease-out) backwards 80ms; }
.contact-info-inner > .breadcrumbs { animation: rise-in 460ms var(--ease-out) both 40ms; }
.contact-info-inner > .lead { animation: rise-in 460ms var(--ease-out) both 160ms; }
.contact-info .contact-list li { animation: rise-in 460ms var(--ease-out) both; animation-delay: calc(230ms + var(--n, 0) * 70ms); }
.contact-info .contact-list li:nth-child(2) { --n: 1; }
.contact-info .contact-list li:nth-child(3) { --n: 2; }
.contact-info .contact-list li:nth-child(4) { --n: 3; }

.contact-card { animation: card-in 700ms var(--ease-out) both 140ms; }
@keyframes card-in { from { opacity: 0; translate: 0 24px; scale: .985; } }
.contact-card .form-grid > * { animation: rise-in 420ms var(--ease-out) both; animation-delay: calc(320ms + var(--n, 0) * 60ms); }
.contact-card .form-grid > :nth-child(2) { --n: 1; }
.contact-card .form-grid > :nth-child(3) { --n: 2; }
.contact-card .form-grid > :nth-child(4) { --n: 3; }
.contact-card .form-grid > :nth-child(5) { --n: 4; }
.contact-card .btn-primary { animation: rise-in 420ms var(--ease-out) both 640ms; }
@media (min-width: 1024px) {
  .contact-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: calc(100dvh - var(--chrome)); }
  .contact-info { display: grid; align-items: center; padding: var(--s7) clamp(var(--s5), 5vw, 88px); }
  .contact-form-panel { padding: var(--s7) clamp(var(--s5), 5vw, 88px); }
}

/* Products section: full-width creamy gradient band (same as the product page's left panel), with a soft
   shadow along the inside of its bottom edge — mirroring the hero's shadow at the top. */
.showcase-band { background: radial-gradient(110% 80% at 18% 8%, #fffbf2 0%, #f8f0de 42%, #efe1c2 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), inset 0 -14px 22px -14px rgba(0, 0, 0, .28), inset 0 -40px 50px -36px rgba(0, 0, 0, .3); }
 /* forest green heading */

.showcase-band + .engraving-band { margin-top: 0 !important; }

/* Engraving: near-black band (#0b0b0b, no green tint) and the example etching photo on the left. */

/* Hero → products: the hero casts a soft, layered shadow down onto the section below for a clean separation. */
.hero { position: relative; z-index: 2; }
.hero-frame { box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 10px 18px -8px rgba(0, 0, 0, .45), 0 28px 48px -22px rgba(0, 0, 0, .55); }
/* Full-screen hero on desktop: fills the screen below the header; the products start just below the fold. */
@media (min-width: 1024px) {
  .hero-frame { --chrome: var(--header-h); min-height: calc(100vh - var(--chrome)); min-height: calc(100dvh - var(--chrome)); }
  body:has(.dev-banner) .hero-frame { --chrome: calc(var(--header-h) + 35px); }
}

/* Wide shapes (papyrus 30 cm, book 20 cm) are capped so they sit inside the stone face. */

/* Product section: wider, bigger cards, search in the upper-right corner. */

.pw-search { position: relative; display: flex; align-items: center; width: min(100%, 300px); }
.pw-search > .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }

@media (max-width: 639px) {  .pw-search { width: 100%; }  }
@media (min-width: 1024px) { .pw-grid { gap: var(--s6) var(--s5); }   }

/* Engraving: off-black band in the same family as the header and the dark CTA bands. */
.engraving { background: var(--off-black); color: #d9d5ca; border-radius: var(--radius-lg); padding: var(--s7) var(--s5); align-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
@media (min-width: 900px) { .engraving { padding: var(--s8) var(--s7); } }
.engraving h2 { color: #f3efe6; }
.engraving .eyebrow { color: #e7cf8f; }
.engraving .lead { color: #c9c5ba; }
.engraving .checklist li { color: #d9d5ca; }
.engraving .checklist .icon { color: #c9a75a; }
.engraving .engrave-figure figcaption { color: #a9a597; }

/* Shape dropdown: the open list always appears above the following steps. */
.config-step:has(.listbox.is-open) { position: relative; z-index: 30; }
.listbox-popup { z-index: 31; }

/* ==========================================================================
   Scroll-linked text fades: text fades in as it enters the viewport and fades
   out as it scrolls away under the header. Elements get the .st class from app.js.
   ========================================================================== */
@keyframes st-fade {
  entry 0%   { opacity: 0; transform: translateY(18px); }
  entry 100% { opacity: 1; transform: none; }
  exit 0%    { opacity: 1; transform: none; }
  exit 100%  { opacity: 0; transform: translateY(-12px); }
}
html.st-timeline .st { animation: st-fade linear both; animation-timeline: view(block calc(var(--header-h) + 8px) 0px); }
/* Fallback for browsers without scroll-driven animations: toggled by IntersectionObserver. */
html.st-observer .st { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
html.st-observer .st.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.st-timeline .st, html.st-observer .st { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Landing refinements II: card blend + hover vignette, larger monument, bolder
   product heading, full-width engraving band, pinned restoration comparison
   ========================================================================== */
/* Product cards: the media area melts into the card's off-white body (no seam). */

/* Hover vignette: soft darkening at the edges only; the portrait sits above it and stays clear.
   The bottom is masked out so the vignette never breaks the blend into the card body. */

/* Landscape shapes (papyrus) need a wider window than the upright ovals. */
/* Category-style product cards (reference screenshot): soft stone card, uppercase title, finish · price line,
   arrow; the plaque sits large in the bottom-right corner and is cut off by the card's edge. Whole card = link. */

.pwc-name { margin: 0; font-size: clamp(1rem, .85rem + .45vw, 1.3rem); font-weight: 800; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
/* Card names stay on one line ("Classic white rectangle", Bulgarian…): app.js shrinks a long one to fit its card. */

.pw-grid > .pw { min-width: 0; } /* a long name never widens its grid column */

 /* papyrus (30 × 16): larger so it fills the card like the others */

/* One column on phones: shorter cards, plaque on the right half so the card isn't mostly empty. */
@media (max-width: 559px) {
  
   /* the plaque sits low on the right, so the one-line name can use the full width */
  
  
  
  
}

/* Hero monument: larger, grown around the same anchor (bottom-centre, still cut off by the hero edge). */

@media (min-width: 900px) {
  /* +120px wider; the right margin shrinks by half of that so the centre line stays where it was. */
  
}

/* Product section heading: larger and bold. */

/* Engraving: the off-black background runs edge to edge; content stays in the normal container. */
.engraving-band { background: #0b0b0b; padding-block: var(--s7); margin-block: var(--s6) 0; } /* near-black, no green tint */
@media (min-width: 900px) { .engraving-band { padding-block: var(--s8); } }
.engraving-band .engraving { background: none; border-radius: 0; box-shadow: none; padding-block: 0; padding-inline: var(--s4); }

/* Photo restoration: continues the dark band in a deeper green-black, so it reads as its own section
   with no visible seam. Pinned while scrolling drives the divider (JS adds .is-pinned). */
/* -1px overlap hides the sub-pixel seam browsers can paint between the two dark bands. */
.resto-pin { --resto-bg: #1b1a18; position: relative; margin-top: -1px; background: linear-gradient(#0b0b0b, var(--resto-bg) 240px); color: #d9d5ca; }
.resto-sticky { position: relative; padding-block: var(--s7); }

/* Larger copy next to the photograph. */

/* A faint warm light follows the cursor across the section, as in the hero (pointer devices only). */

/* A thin light sheen on the photo glaze, drifting with the cursor. */

/* Entrance: copy rises in line by line, the frame settles in, when the section first comes into view. */

/* Before/After labels dim once their side is almost fully covered; the handle breathes softly. */

@keyframes resto-breathe { 0%, 100% { box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .5), 0 0 0 4px rgba(250, 248, 243, .22); } 50% { box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .5), 0 0 0 9px rgba(250, 248, 243, .08); } }

/* Pinned mode: the track is taller than the screen; the sticky stage holds still while the scroll
   distance drives the divider, then the page continues normally. */
.resto-pin.is-pinned .resto-track { height: 260vh; }
.resto-pin.is-pinned .resto-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); display: grid; align-items: center; padding-block: var(--s5); box-sizing: border-box; overflow: clip; }

/* The stage is a size container: the frame takes the largest size that fits both its width and height. */

@media (max-width: 899px) {
  .resto-pin.is-pinned .resto-track { height: 200vh; }
  /* Small screens: compact copy above the frame so both fit in the pinned stage. */
  
  
  
  
}
/* Phones and other short screens: drop the description inside the pinned stage so the photo stays large
   (it is shown in full on the restoration page the button links to). */

/* ==========================================================================
   Configurator v3 — quieter and more refined: serif title, gold numerals,
   hairlines, fold-away notes, one-screen fit, hand-made micro-interactions
   ========================================================================== */
.config-title h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.1vw, 2.45rem); line-height: 1.05; letter-spacing: -.005em; margin-bottom: 6px; }
.config-title p { font-size: var(--fs-sm); color: var(--muted); }

/* Steps: thin gold numeral rings, small uppercase labels, hairline dividers. */
.config-controls .config-step, .add-cta-wrap { border-top: 1px solid rgba(27, 28, 26, .08); }
.config-step-head { position: relative; }
.config-step-head .num, .instructions-toggle summary .num { position: relative; width: 24px; height: 24px; background: none; color: var(--gold-ink); border: 1px solid rgba(160, 128, 60, .38); font: 500 .95rem/1 var(--font-serif); transition: background-color 320ms var(--ease-out), border-color 320ms var(--ease-out), color 200ms; }
.config-step.is-done .config-step-head .num, .config-step.is-done .instructions-toggle .num { background: var(--green); border-color: var(--green); color: transparent; }
.num-check { position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; fill: none; stroke: #f5f2ec; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 460ms var(--ease-out) 120ms; }
.is-done .num-check { stroke-dashoffset: 0; }
.config-step-head h2, .instructions-toggle summary > span:not(.num) { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.instructions-toggle summary .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.config-row > .field > .label, .config-row > .field > label, .size-field legend { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* Inputs: hairline borders, softer radius. */
.listbox-button, .config-controls .select { border-color: rgba(27, 28, 26, .16); border-radius: 12px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.listbox-button:hover, .config-controls .select:hover { border-color: rgba(27, 28, 26, .34); }
.listbox-popup { border-radius: 14px; transform-origin: top center; transform: translateY(-4px) scale(.98); transition: opacity 180ms var(--ease-out), transform 260ms cubic-bezier(.3, 1.3, .5, 1); }
.listbox.is-open .listbox-popup { transform: none; }
.listbox-option { transition: background-color 140ms; }

/* Size chips: transparent outlines; one green glider slides to the chosen size. */
.size-list-wrap { position: relative; }
.size-glider { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; border-radius: 12px; background: var(--green); box-shadow: 0 10px 20px -12px rgba(50, 48, 45, .9); opacity: 0; pointer-events: none;
  transition: transform 460ms cubic-bezier(.3, 1.25, .4, 1), width 460ms cubic-bezier(.3, 1.25, .4, 1), height 300ms var(--ease-out), opacity 220ms; }
.size-glider.is-on { opacity: 1; }
.size-glider.no-anim { transition: none; }
.size-list { position: relative; z-index: 1; }
.size-chip { border-radius: 12px; border-color: rgba(27, 28, 26, .14); background: transparent; min-height: 46px; transition: border-color 200ms, transform 200ms var(--ease-out); }
.size-chip:hover { border-color: rgba(27, 28, 26, .34); transform: translateY(-1px); }
.size-chip:active { transform: scale(.97); }
.size-chip:has(input:checked) { background: transparent; border-color: transparent; box-shadow: none; }
.size-chip .dim { transition: color 260ms 60ms; }
.size-chip:has(input:checked) .dim { color: #f5f2ec; }
.size-chip .pop { background: var(--paper); border-color: rgba(160, 128, 60, .38); color: var(--gold-ink); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.size-price strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1; }
/* The chosen size's price sits on the "Size" label line (right-aligned) instead of taking its own row. */
.size-field { position: relative; }
.size-field > .size-price { position: absolute; bottom: 100%; right: 0; margin: 0 0 3px; min-height: 0; line-height: 1; gap: 6px; }
.size-field > .size-price > span:first-child { display: none; } /* the chosen dimensions are already highlighted in the chips */
.size-field > .size-price .notice-sample { margin-left: -4px; font-size: var(--fs-sm); text-decoration: none; color: var(--gold-ink); cursor: help; }

/* Upload: a quiet hairline row; the arrow lifts on hover. */
.dropzone { border: 1px dashed rgba(27, 28, 26, .24); border-radius: 14px; background: transparent; transition: border-color 220ms, background-color 220ms, transform 220ms var(--ease-out); }
.dropzone:hover { border-style: solid; border-color: var(--green); background: rgba(50, 48, 45, .035); }
.dropzone.is-dragover { border-style: solid; border-color: var(--green); background: var(--green-tint); transform: scale(1.01); }
.dropzone .icon { transition: transform 420ms cubic-bezier(.3, 1.5, .5, 1); }
.dropzone:hover .icon, .dropzone.is-dragover .icon { transform: translateY(-3px); }
.upload-card { border-color: rgba(27, 28, 26, .12); border-radius: 14px; }

/* Colour choice: a single outline slides between the two options; the colour swatch turns as it is chosen. */
.segmented { position: relative; gap: 6px; }
.segmented::before { content: ''; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(50% - 3px); border-radius: 12px; background: var(--green-tint); box-shadow: inset 0 0 0 1.5px var(--green); opacity: 0;
  transition: transform 460ms cubic-bezier(.3, 1.25, .4, 1), opacity 220ms; }
.segmented:has(input:checked)::before { opacity: 1; }
.segmented:has(.segment:nth-child(2) input:checked)::before { transform: translateX(calc(100% + 6px)); }
.segment { z-index: 1; background: transparent; border-color: rgba(27, 28, 26, .14); border-radius: 12px; }
.segment:has(input:checked) { background: transparent; border-color: transparent; box-shadow: none; }
.segment-swatch { transition: transform 700ms cubic-bezier(.3, 1.2, .4, 1); }
.segment:has(input:checked) .segment-swatch { transform: rotate(180deg); }

/* Small disclosures: one-line triggers; the text opens in a dark floating panel. */
.tip { position: relative; }
.tip > summary { list-style: none; cursor: pointer; }
.tip > summary::-webkit-details-marker { display: none; }
.tip-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); transition: color var(--dur-fast); }
.tip-trigger:hover, .tip[open] > .tip-trigger { color: var(--ink); }
.tip-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.tip-trigger .icon { width: 15px; height: 15px; flex: none; }
.tip[open] > summary .icon { transform: none; }

.tip-panel { position: absolute; z-index: 40; left: 0; top: calc(100% + 8px); width: min(380px, 84vw); padding: 14px 16px; border-radius: 14px; background: var(--off-black); color: #e3dfd4; font-size: var(--fs-xs); line-height: 1.6; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .5); transform-origin: top left; animation: tip-in 240ms cubic-bezier(.3, 1.2, .5, 1); }
.tip-panel p { margin: 0; }
@keyframes tip-in { from { opacity: 0; transform: translateY(-4px) scale(.97); } }

.step-tip { position: static; margin-left: 2px; }
.step-tip > .tip-trigger { padding: 2px; }
.step-tip .tip-panel { left: 0; right: 0; width: auto; }
.preview-tip { padding-inline: 4px; }
.preview-tip .tip-panel { top: auto; bottom: calc(100% + 8px); transform-origin: bottom left; }

/* Preview: soft stone stage, centred pill tabs; the monument leans toward the cursor with a faint light. */
.preview-card { border: 0; border-radius: 22px; background: linear-gradient(180deg, #efebe2, #e5e0d4); box-shadow: inset 0 0 0 1px rgba(27, 28, 26, .06); }
.preview-tabs { justify-content: center; background: transparent; border-bottom: 0; padding: 10px; }
.preview-tabs button { flex: 0 0 auto; min-height: 36px; padding: 0 18px; font-size: var(--fs-xs); letter-spacing: .04em; }
.preview-tab-indicator { top: 10px; height: 36px; }
.preview-stage { perspective: 1400px; }
.preview-stage .monument { transform: rotateY(calc(var(--px, 0) * 4deg)) rotateX(calc(var(--py, 0) * -3deg)); transition: transform 1000ms var(--ease-out); }
.preview-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 800ms var(--ease-out); mix-blend-mode: soft-light;
  background: radial-gradient(420px circle at calc(50% + var(--px, 0) * 100%) calc(50% + var(--py, 0) * 100%), rgba(255, 250, 235, .35), transparent 70%); }
.preview-stage.is-pointing::after { opacity: 1; }
.size-label { background: rgba(22, 21, 19, .78); backdrop-filter: blur(6px); font-weight: 600; letter-spacing: .04em; }

/* Quantity + add-to-cart on one line. The button: a light sheen sweeps across on hover; the bag turns into a check when added. */
.add-cta-wrap { justify-items: stretch; }
.buy-line { display: flex; align-items: flex-end; gap: var(--s3); }
.qty-field { flex: none; display: grid; gap: 4px; }
.qty-label { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.qty { border-color: rgba(27, 28, 26, .16); border-radius: 14px; }
.qty button { width: 40px; transition: background-color 160ms, transform 160ms var(--ease-out); }
.qty button:active { transform: scale(.88); }
.qty input { width: 40px; }
.config-controls .qty button, .config-controls .qty input { height: 56px; }
.add-cta { flex: 1; min-width: 0; min-height: 58px; border-radius: 14px; position: relative; overflow: hidden; isolation: isolate; font-size: var(--fs-sm); letter-spacing: .14em; white-space: nowrap; background-image: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)); }
.add-cta > :not(.spinner) { position: relative; z-index: 1; }
.add-cta::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%); transform: translateX(-120%); }
.add-cta:hover::after { transform: translateX(120%); transition: transform 1000ms var(--ease-out); }
.add-cta-icon { display: inline-grid; width: 22px; height: 22px; }
.add-cta-icon .icon { grid-area: 1 / 1; transition: transform 420ms cubic-bezier(.3, 1.5, .5, 1), opacity 200ms; }
.add-cta-icon .icon:last-child { opacity: 0; transform: scale(.4) rotate(-30deg); }
.add-cta.is-added .add-cta-icon .icon:first-child { opacity: 0; transform: scale(.4); }
.add-cta.is-added .add-cta-icon .icon:last-child { opacity: 1; transform: none; }
.add-cta.is-added { animation: cta-ring 900ms var(--ease-out); }
@keyframes cta-ring { from { box-shadow: 0 0 0 0 rgba(50, 48, 45, .45); } to { box-shadow: 0 0 0 16px rgba(50, 48, 45, 0); } }
.add-cta-price { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0; text-transform: none; }

/* Desktop: everything fits one screen. */
@media (min-width: 1024px) {
  .configurator { column-gap: clamp(var(--s6), 4vw, var(--s8)); padding-bottom: var(--s4); }
  .config-controls .config-step { padding: 11px 0; }
  .config-controls .config-step:first-of-type { padding-top: 4px; }
  .config-controls .field-error:empty, .config-controls .hint:empty { display: none; }
  .config-title h1 { font-size: clamp(1.8rem, 1.3rem + 1vw, 2.3rem); }
  .config-step-head { margin-bottom: 8px; }
  .monument { max-width: min(100%, calc((100dvh - var(--header-h) - 250px) * 0.8)); }
}
/* "About this product" sits at the end of the subtitle line on desktop. */
@media (min-width: 1024px) {
  .config-title { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--s3); }
  .config-title h1 { flex-basis: 100%; }
  
}
/* Shorter laptop screens (≤ 920px tall): tighter rhythm so the whole configurator still fits. */
@media (min-width: 1024px) and (max-height: 920px) {
  body:has(.configurator) .breadcrumbs { margin-top: var(--s2) !important; margin-bottom: 4px; }
  .config-title h1 { font-size: 1.85rem; margin-bottom: 2px; }
  .config-controls .config-step { padding: 8px 0; }
  .config-step-head { margin-bottom: 6px; }
  .config-row > .field { gap: 3px; }
  .size-field { margin-top: 6px; }
  /* The format hint stays available to screen readers (it is part of the upload label). */
  .dropzone > .small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dropzone { padding: 10px var(--s4); }
  .segment { padding: 6px 12px; }
  .add-cta-wrap { padding-top: 10px; }
  .config-controls .qty button, .config-controls .qty input { height: 50px; }
  .add-cta { min-height: 52px; }
  .monument { max-width: min(100%, calc((100dvh - var(--header-h) - 210px) * 0.8)); }
}
.mobile-buybar { background: rgba(250, 248, 243, .96); backdrop-filter: blur(8px); border-top-color: rgba(27, 28, 26, .08); }
.mobile-buybar .price { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; }
@media (max-width: 479px) {
  .add-cta { letter-spacing: .08em; padding-inline: 12px; }
  .add-cta-price { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .preview-stage .monument { transform: none !important; }
}

/* ==========================================================================
   Configurator v4 — split layout: creamy gradient panel (title + tombstone cut off
   at the bottom edge) on the left, rich dark-green options panel on the right
   ========================================================================== */
.cfg-split { --forest: #2b2a27; --forest-deep: #1c1b19; --on-forest: #f6f1e4; --on-forest-2: rgba(246, 241, 228, .74); --on-forest-line: rgba(246, 241, 228, .2); --bright: #f8f3e6;
  --chrome: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
body:has(.dev-banner) .cfg-split { --chrome: calc(var(--header-h) + 35px); }

/* Left: cream gradient, title on top, tombstone filling the rest and cut by the bottom edge. */
.cfg-split .config-visual { position: relative; z-index: 0; display: flex; flex-direction: column; gap: 0; min-width: 0; overflow: clip; min-height: 600px; padding: var(--s4) var(--s4) 0;
  background: radial-gradient(110% 80% at 18% 8%, #fffbf2 0%, #f8f0de 42%, #efe1c2 100%); }
.cfg-visual-head { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.cfg-visual-head > * { grid-column: 1 !important; grid-row: auto !important; }
.cfg-split { align-items: stretch !important; }
.cfg-visual-head .breadcrumbs { margin: 0; }
.cfg-visual-head .alert { margin: 0; }
.cfg-split .config-title h1 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(2.3rem, 1.3rem + 2.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.028em; color: var(--forest); max-width: 13ch; margin-bottom: var(--s2);
  animation: title-in 800ms var(--ease-out) backwards 80ms; }
.cfg-split .config-title p { color: #5c5a4f; font-size: var(--fs-base); }
@keyframes title-in { from { opacity: 0; translate: 0 14px; } }
.cfg-split .preview-tabs { justify-content: flex-start; padding: 0; margin-top: 2px; }
/* One-line heading ("Porcelain portrait") with the view tabs tucked right under it, leaving room for the stone. */
.cfg-split .config-title h1 { max-width: none; margin-bottom: 0; }
.cfg-split .cfg-visual-head { gap: var(--s2); }
.cfg-split .preview-tab-indicator { top: 0; height: 36px; background: var(--forest); }
.cfg-split .preview-tabs button { color: #5c5a4f; }
.cfg-split .preview-tabs button[aria-selected='true'] { color: var(--on-forest); }

.cfg-split .preview-card { position: relative; flex: 1; min-height: 340px; margin: 0 calc(var(--s4) * -1); border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.cfg-split .preview-stage { position: absolute; inset: 0; perspective: 1400px; }
.cfg-split .preview-stage::after { mix-blend-mode: soft-light; }
.cfg-split #panel-monument, .cfg-split #panel-closeup { position: absolute; inset: 0; }
/* Big tombstone: as wide as the space allows (never taller than ~1.2× the area), base cut by the panel edge. */
/* --mw is set in px by configurator.js from the panel size (container height units resolve to 0 inside this flex layout). */
.cfg-split .monument { --mw: 94%; position: absolute; left: 0; right: 0; bottom: calc(var(--mw) * -0.13); width: var(--mw); max-width: none; margin-inline: auto;
  animation: mon-rise 1100ms var(--ease-out) backwards 120ms; }
.cfg-split .monument > img { object-fit: contain; filter: drop-shadow(0 30px 40px rgba(60, 45, 20, .18)); }
@keyframes mon-rise { from { opacity: 0; translate: 0 36px; } }
.cfg-split .closeup { position: absolute; inset: var(--s5) var(--s4) var(--s7); height: auto; min-height: 0; padding: 0; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.cfg-split .size-label { left: auto; right: var(--s4); bottom: var(--s4); transform: none; z-index: 2; }
@media (min-width: 1024px) { .cfg-split .size-label { right: clamp(var(--s5), 4vw, 72px); } }
.cfg-split .preview-tip { position: absolute; z-index: 3; left: var(--s4); bottom: var(--s3); padding: 0; }
.cfg-split .preview-tip > .tip-trigger { padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(255, 251, 242, .7); backdrop-filter: blur(6px); color: #4d4b42; }

/* Right: rich dark green, light text, bright selected states. */
.cfg-split .config-controls { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: var(--s6) var(--s4) var(--s7); color: var(--on-forest);
  background: radial-gradient(120% 70% at 85% 0%, #3a3834 0%, rgba(70, 67, 62, 0) 55%), linear-gradient(165deg, var(--forest) 0%, #232220 55%, var(--forest-deep) 100%); }
.cfg-split .config-controls form { position: relative; z-index: 1; width: 100%; max-width: 520px; margin-inline: auto; }
/* Cursor light on the green panel — the same soft gold glow as the hero (mouse/pen only). */
.cfg-spotlight { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 800ms var(--ease-out);
  background: radial-gradient(360px circle at var(--mx, 70%) var(--my, 40%), rgba(231, 207, 143, .09), rgba(231, 207, 143, .03) 45%, transparent 70%); }
.config-controls.is-pointing .cfg-spotlight { opacity: 1; }
.cfg-split .config-controls .config-step, .cfg-split .add-cta-wrap { border-top-color: var(--on-forest-line); }
.cfg-split .config-step-head h2, .cfg-split .instructions-toggle summary > span:not(.num), .cfg-split .qty-label { color: var(--on-forest); }
.cfg-split .instructions-toggle summary, .cfg-split .instructions-toggle summary .icon { color: var(--on-forest); }
.cfg-split .instructions-toggle summary .opt, .cfg-split .config-row > .field > .label, .cfg-split .config-row > .field > label, .cfg-split .size-field legend, .cfg-split .size-field legend .opt { color: var(--on-forest-2); }
.cfg-split .config-step-head .num, .cfg-split .instructions-toggle summary .num { color: #e7cf8f; border-color: rgba(231, 207, 143, .5); }
.cfg-split .config-step.is-done .config-step-head .num, .cfg-split .config-step.is-done .instructions-toggle .num { background: var(--bright); border-color: var(--bright); }
.cfg-split .num-check { stroke: var(--forest); }
.cfg-split .hint, .cfg-split .counter, .cfg-split .small.muted, .cfg-split .muted { color: var(--on-forest-2); }
.cfg-split .field-error { color: #ffc1b5; }
.cfg-split .config-controls .tip-trigger { color: var(--on-forest-2); }

.cfg-split .config-controls .tip-trigger:hover, .cfg-split .config-controls .tip[open] > .tip-trigger { color: var(--on-forest); }
.cfg-split .config-controls .tip-panel { background: var(--bright); color: #2a2c27; }
.cfg-split a:not(.btn) { color: var(--on-forest); }
.cfg-split .config-visual a:not(.btn) { color: inherit; }

/* Inputs on green: translucent fields with light text and light chevrons. */
.cfg-split .listbox-button, .cfg-split .config-controls .select, .cfg-split .textarea { background-color: rgba(246, 241, 228, .07); border-color: rgba(246, 241, 228, .28); color: var(--on-forest); }
.cfg-split .listbox-button, .cfg-split .config-controls .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f6f1e4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.cfg-split .listbox-button:hover, .cfg-split .config-controls .select:hover, .cfg-split .textarea:hover { border-color: rgba(246, 241, 228, .55); }
.cfg-split .listbox-button .shape-ico { color: #e7cf8f; }
.cfg-split .config-controls .select option { color: #1b1c1a; background: #faf8f3; }
/* One-finish shapes (heart, papyrus): the finish is shown but greyed out. */
.cfg-split .field.is-locked .select { opacity: .45; cursor: not-allowed; border-style: dashed; }
.cfg-split .field.is-locked > label { opacity: .6; }
.cfg-split .listbox-popup { color: var(--ink); }
.cfg-split .textarea::placeholder { color: rgba(246, 241, 228, .5); }
.cfg-split .prep-default { background: rgba(246, 241, 228, .08); color: var(--on-forest); }
.cfg-split .coming-soon { background: rgba(246, 241, 228, .06); border-color: rgba(246, 241, 228, .3); color: var(--on-forest); }

/* Size chips: light outlines; the glider is bright and the chosen size turns dark green. */
.cfg-split .size-chip { border-color: rgba(246, 241, 228, .3); color: var(--on-forest); }
.cfg-split .size-chip:hover { border-color: rgba(246, 241, 228, .65); }
.cfg-split .size-chip:has(input:checked) .dim { color: var(--forest); }
.cfg-split .size-glider { background: var(--bright); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.cfg-split .size-chip .pop { background: var(--forest-deep); border-color: rgba(231, 207, 143, .55); color: #e7cf8f; }
.cfg-split .size-price, .cfg-split .size-price strong { color: var(--on-forest); }
.cfg-split .size-field > .size-price .notice-sample { color: #e7cf8f; }

/* Upload row. */
.cfg-split .dropzone { border-color: rgba(246, 241, 228, .34); color: var(--on-forest); }
.cfg-split .dropzone .icon { color: var(--on-forest); }
.cfg-split .dropzone:hover, .cfg-split .dropzone.is-dragover { border-color: var(--bright); background: rgba(246, 241, 228, .07); }
.cfg-split .dropzone .small { color: var(--on-forest-2); }
.cfg-split .upload-card { background: rgba(246, 241, 228, .07); border-color: rgba(246, 241, 228, .2); color: var(--on-forest); }

/* Colour choice: bright sliding pill, dark-green text on the chosen option. */
.cfg-split .segment { border-color: rgba(246, 241, 228, .3); color: var(--on-forest); }
.cfg-split .segment:hover { border-color: rgba(246, 241, 228, .6); }
.cfg-split .segment-text small { color: var(--on-forest-2); }
.cfg-split .segmented::before { background: var(--bright); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.cfg-split .segment:has(input:checked) .segment-text strong, .cfg-split .segment:has(input:checked) .segment-text small { color: var(--forest); transition: color 260ms 80ms; }

/* Quantity + bright add-to-cart. */
.cfg-split .qty { background: transparent; border-color: rgba(246, 241, 228, .32); }
.cfg-split .qty button, .cfg-split .qty input { color: var(--on-forest); }
.cfg-split .qty button:hover { background: rgba(246, 241, 228, .1); }
.cfg-split .add-cta { --bg: var(--bright); --fg: var(--forest); --bd: transparent; background-color: var(--bright); color: var(--forest); background-image: linear-gradient(180deg, #fffbf2, #efe6d2); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.cfg-split .add-cta:hover { --bg: #fffbf2; color: var(--forest); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .7); }
.cfg-split .add-cta::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); }
.cfg-split .add-cta.is-added { animation: cta-ring-light 900ms var(--ease-out); }
@keyframes cta-ring-light { from { box-shadow: 0 0 0 0 rgba(248, 243, 230, .5); } to { box-shadow: 0 0 0 16px rgba(248, 243, 230, 0); } }
.cfg-split .config-controls [data-config-errors] { color: var(--ink); }
.cfg-split .config-controls [data-config-errors] a { color: var(--error, #9b2c1f); text-decoration: underline; }
.cfg-split .dropzone.is-invalid { border-color: #ffb4a8; background: rgba(255, 140, 120, .12); }

/* Tombstone pinned by its top (just under the tabs, set by JS as --mt); the base runs past the bottom edge. */
.cfg-split .monument { top: var(--mt, 0px); bottom: auto; }

/* The chosen size's price is shown only inside ADD TO CART (still announced to screen readers here). */
.cfg-split .size-field > .size-price { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Price in the button uses the same face as the page title. */
.cfg-split .add-cta-price { font-family: var(--font-sans); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }

/* Larger icons in the options panel. */
.cfg-split .config-step-head .num, .cfg-split .instructions-toggle summary .num { width: 30px; height: 30px; font-size: 1.1rem; }
.cfg-split .num-check { width: 17px; height: 17px; }
.cfg-split .listbox-button .shape-ico, .cfg-split .listbox-button svg { width: 22px; height: 22px; }
.cfg-split .dropzone .icon { width: 28px; height: 28px; }
.cfg-split .segment-swatch { width: 28px; height: 28px; }
.cfg-split .step-tip .tip-trigger .icon { width: 18px; height: 18px; }
.cfg-split .instructions-toggle summary .icon { width: 20px; height: 20px; }
.cfg-split .qty button .icon { width: 20px; height: 20px; }
.cfg-split .add-cta-icon, .cfg-split .add-cta .icon { width: 24px; height: 24px; }
.cfg-split .upload-card .btn .icon { width: 20px; height: 20px; }
/* Wide screens: the options column grows a little so it doesn't look lost in the green. */
@media (min-width: 1600px) { .cfg-split .config-controls form { max-width: 600px; } }

/* Both colours run down to the footer (no strip of page background in between). */
body:has(.cfg-split) .site-footer { margin-top: 0; }

/* Extra photographs (up to three per portrait): compact rows under the main photo + an "add another" button. */
.extra-photos { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.extra-photos .upload-card { gap: var(--s2); min-width: 0; }
.extra-photos .info { min-width: 0; }
.extra-photos .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.extra-photos:empty { display: none; }
.upload-card-sm { padding: 6px 8px; animation: reveal var(--dur) var(--ease-out); }
.upload-card-sm img, .upload-card-sm .thumb-ph { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; background: rgba(246, 241, 228, .12); }
.upload-card-sm .name { font-size: var(--fs-sm); }
.upload-card-sm.is-pending { opacity: .8; }

/* Larger options text: step titles, labels, chips, choices and the upload row. */
.cfg-split .config-step-head h2, .cfg-split .instructions-toggle summary > span:not(.num), .cfg-split .qty-label { font-size: .95rem; letter-spacing: .1em; }
.cfg-split .config-row > .field > .label, .cfg-split .config-row > .field > label, .cfg-split .size-field legend { font-size: var(--fs-sm); }
.cfg-split .listbox-button, .cfg-split .config-controls .select { font-size: var(--fs-base); }
.cfg-split .size-chip .dim { font-size: var(--fs-base); }
.cfg-split .segment-text strong { font-size: var(--fs-base); }
.cfg-split .segment-text small { font-size: var(--fs-sm); }
.cfg-split .dropzone strong { font-size: var(--fs-base); }
.cfg-split .dropzone .small, .cfg-split .config-controls .hint { font-size: var(--fs-xs); }
.cfg-split .instructions-toggle summary .opt { font-size: var(--fs-sm); }
.cfg-split .add-cta { font-size: var(--fs-base); }

/* Desktop: the two panels fill exactly one screen below the header. */
@media (min-width: 1024px) {
  .cfg-split { grid-template-columns: minmax(0, 1.12fr) minmax(460px, 1fr); min-height: calc(100dvh - var(--chrome)); }
  .cfg-split .config-visual { position: relative; top: auto; grid-column: 1; grid-row: 1; min-height: 0; padding: var(--s5) clamp(var(--s5), 4vw, 72px) 0; }
  /* The tombstone is cut off by the bottom edge anyway, so its area may shrink: the left panel never makes
     the page taller than one screen (the stone's own size comes from configurator.js). */
  .cfg-split .preview-card { margin: 0 calc(clamp(var(--s5), 4vw, 72px) * -1); min-height: 200px; }
  .cfg-split .config-controls { grid-column: 2; grid-row: 1; padding: var(--s5) clamp(var(--s5), 4vw, 72px); }
  .cfg-split .config-title { display: block; }
  .cfg-split .preview-tip { left: clamp(var(--s5), 4vw, 72px); bottom: var(--s4); }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .cfg-split .config-title h1 { font-size: clamp(2.1rem, 1.2rem + 2vw, 3rem); }
  .cfg-split .config-visual { padding-top: var(--s4); }
  .cfg-split .config-controls { padding-block: var(--s3); }
}
/* Phones and tablets: cream panel first (title + tombstone), green options below. */
@media (max-width: 1023px) {
  .cfg-split .config-visual { min-height: 0; }
  .cfg-split .preview-card { flex: none; height: clamp(300px, 88vw, 520px); min-height: 0; }
  .cfg-split .size-label { top: var(--s2); bottom: auto; }
  .cfg-split .config-controls { padding-bottom: calc(var(--s7) + 64px); }
  .cfg-split ~ .mobile-buybar, .mobile-buybar { margin-inline: 0; }
}

/* ── Landing engraving: round-topped polished granite headstone, engraved on scroll ──
   The stone is the portrait's 720 × 964 box with a true semicircular top (vertical radius = half the width,
   i.e. 37.3% of the height). The polished bevel is a slightly larger lighter-granite rim around the face. */
.etch-stone { --ar: 720 / 964; position: relative; width: 100%; padding: 7px; border-radius: 50% 50% 10px 10px / 37.6% 37.6% 10px 10px;
  background: linear-gradient(150deg, #5b5b58 0%, #232322 22%, #0f0f0f 50%, #2c2c2a 78%, #555551 100%);
  box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .05); }

/* Polish: an inner edge highlight on top and a darker lip at the bottom, above the picture. */

.engraving-band .engrave-figure { max-width: 400px; }
/* Pinned (wide screens with JS): the section sticks for ~3 screens of scrolling: the big centred stone is
   engraved, glides left into place, then the text rises in (all set per frame by app.js). */
.etch-pin.is-pinned { padding-block: 0; }
.etch-pin.is-pinned .etch-track { height: 380vh; }
.etch-pin.is-pinned .etch-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); display: grid; align-items: center; overflow: clip; }
.etch-pin.is-pinned .engrave-figure { position: relative; z-index: 2; width: min(100%, 400px, calc((100dvh - var(--header-h) - 120px) * 0.747)); will-change: transform; }
.etch-pin.is-pinned .engraving > :not(figure) > * { opacity: 0; will-change: opacity, transform; } /* until app.js sets them */
/* Narrow screens (not pinned): the text fades in, line by line, once the engraving is finished. */
.etch-pin.is-etching:not(.is-pinned) .engraving > :not(figure) > * { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.etch-pin.is-copy-in:not(.is-pinned) .engraving > :not(figure) > * { opacity: 1; transform: none; }
.etch-pin.is-copy-in:not(.is-pinned) .engraving > :not(figure) > :nth-child(2) { transition-delay: 90ms; }
.etch-pin.is-copy-in:not(.is-pinned) .engraving > :not(figure) > :nth-child(3) { transition-delay: 180ms; }
.etch-pin.is-copy-in:not(.is-pinned) .engraving > :not(figure) > :nth-child(4) { transition-delay: 270ms; }
.etch-pin.is-copy-in:not(.is-pinned) .engraving > :not(figure) > :nth-child(5) { transition-delay: 360ms; }

/* ── Hero: the granite headstone behind the grey stone, to its left, partly covered by it ──
   Smaller (set further back), slightly dimmed, base cut off by the hero's bottom edge like the grey stone.
   Wide screens only. Lives inside the parallax layer so both stones move together. */

@media (min-width: 900px) {
  /* ~90% of the grey stone's height; its right part tucked behind the grey stone's left edge. */
  
  
  
  
  
}

/* ── Customizer, granite side: a big polished black granite stone replaces the grey tombstone ──
   As tall as the preview area with its base cut off by the panel's bottom edge (like the grey stone), a lighter
   polished rim (bevel) and a soft shadow. Oval / rectangle only changes the edges (.is-oval, set by JS). */
.cfg-etch { display: none; }
.is-granite .cfg-etch { display: block; position: absolute; z-index: 1; left: 50%; bottom: -7%; height: 100%; aspect-ratio: 734 / 978; transform: translateX(-50%);
  animation: mon-rise 900ms var(--ease-out) backwards; }
.etch-plate { --ar: 734 / 978; position: relative; height: 100%; aspect-ratio: var(--ar); padding: 7px; border-radius: 22px;
  background: linear-gradient(150deg, #5b5b58 0%, #232322 22%, #0f0f0f 50%, #2c2c2a 78%, #555551 100%);
  box-shadow: 0 40px 60px -30px rgba(60, 45, 20, .5), 0 0 0 1px rgba(0, 0, 0, .05); transition: border-radius 500ms var(--ease-out); }
/* Oval: an arched top (a half-oval as wide as the stone) on straight sides with a square-ish bottom. */
.etch-plate.is-oval { border-radius: 50% 50% 22px 22px / 37% 37% 22px 22px; }
.etch-plate canvas { display: block; width: 100%; height: 100%; border-radius: 16px; background: #0e0e0e; opacity: 0; transition: opacity 300ms, border-radius 500ms var(--ease-out); }
.etch-plate.is-oval canvas { border-radius: 50% 50% 16px 16px / 37% 37% 16px 16px; }
.etch-plate::after { content: ''; position: absolute; inset: 7px; border-radius: 16px; pointer-events: none; transition: border-radius 500ms var(--ease-out);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 -3px 6px rgba(0, 0, 0, .6);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 38%); }
.etch-plate.is-oval::after { border-radius: 50% 50% 16px 16px / 37% 37% 16px 16px; }
.cfg-etch.is-ready canvas { opacity: 1; }
.is-granite [data-panel], .is-granite .preview-tabs { display: none !important; }

/* ── Cart: the customizer's look — creamy gradient items panel, rich dark-green summary panel ── */
.cart-split, .cart-empty-panel { --forest: #2b2a27; --forest-deep: #1c1b19; --on-forest: #f6f1e4; --on-forest-2: rgba(246, 241, 228, .74); --on-forest-line: rgba(246, 241, 228, .2);
  --cream: radial-gradient(110% 80% at 18% 8%, #fffbf2 0%, #f8f0de 42%, #efe1c2 100%); --chrome: var(--header-h); }
body:has(.dev-banner) .cart-split, body:has(.dev-banner) .cart-empty-panel { --chrome: calc(var(--header-h) + 35px); }
body:has(.cart-split) .site-footer, body:has(.cart-empty-panel:not([hidden])) .site-footer { margin-top: 0; } /* panels run down to the footer */
.cart-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.cart-main { background: var(--cream); padding: var(--s5) var(--s4) var(--s6); }
.cart-main-inner { display: grid; gap: var(--s4); max-width: 820px; margin-inline: auto; }
.cart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); }
.cart-head h1 { margin: 0; font-weight: 800; font-size: clamp(2.3rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.028em; color: var(--forest); animation: title-in 800ms var(--ease-out) backwards 80ms; }
.cart-continue { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: #5c5a4f; text-decoration: none; }
.cart-continue:hover { color: var(--forest); }
.cart-continue .icon { transition: transform 300ms var(--ease-out); }
.cart-continue:hover .icon { transform: translateX(-3px); }
.cart-main .alert { margin: 0; }

.cart-split .cart-list { list-style: none; margin: 0; padding: 0; border: 0; display: grid; gap: var(--s3); }
.cart-split .cart-item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s4); padding: var(--s4); border: 0; border-radius: 18px;
  background: rgba(255, 252, 245, .72); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -30px rgba(60, 45, 20, .55);
  animation: rise-in 460ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); transition: box-shadow 300ms var(--ease-out); }
.cart-split .cart-item:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 46px -30px rgba(60, 45, 20, .7); }
.cart-split .cart-thumb { width: 132px; height: 160px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fffdf8, #efe6d2); display: grid; place-items: center; overflow: clip; }
.cart-split .cart-thumb svg { width: 76%; height: 76%; filter: drop-shadow(0 10px 12px rgba(60, 45, 20, .22)); transition: transform 500ms var(--ease-out); }
.cart-split .cart-item:hover .cart-thumb svg { transform: scale(1.04); }
.cart-info { display: grid; gap: 10px; align-content: start; min-width: 0; }
.cart-info-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); }
.cart-name { margin: 0; font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); line-height: 1.3; }
.cart-split .line-price { text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.cart-split .line-price .price { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.cart-split .line-price .unit { font-size: var(--fs-xs); color: var(--muted); }
.cart-split .line-price .is-discount { color: var(--success); }
.spec-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spec-chips li { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid rgba(60, 58, 54, .22); background: rgba(60, 58, 54, .05); color: var(--forest); font-size: var(--fs-xs); font-weight: 700; }
.cart-photo { display: flex; align-items: center; gap: 6px; margin: 0; font-size: var(--fs-sm); color: #5c5a4f; min-width: 0; }
.cart-photo span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-split .instructions { margin: 0; padding: 8px 12px; border-radius: 10px; background: rgba(60, 58, 54, .05); font-size: var(--fs-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-split .notice-sample { margin: 0; }
.cart-split .line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: 2px; }
.cart-split .qty { border-radius: var(--radius-pill); border-color: rgba(27, 28, 26, .16); background: rgba(255, 255, 255, .6); }
.cart-split .qty button:hover { background: rgba(60, 58, 54, .08); }
.cart-action { display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px; border: 0; background: none; font: 600 var(--fs-sm) var(--font-sans); color: #5c5a4f; text-decoration: none; cursor: pointer; }
.cart-action:hover { color: var(--forest); }
.cart-action[data-remove]:hover { color: var(--danger, #b3261e); }

.cart-side { position: relative; overflow: clip; color: var(--on-forest); padding: var(--s6) var(--s4) var(--s7);
  background: radial-gradient(120% 70% at 85% 0%, #3a3834 0%, rgba(70, 67, 62, 0) 55%), linear-gradient(165deg, var(--forest) 0%, #232220 55%, var(--forest-deep) 100%); }
.cart-side-inner { position: relative; z-index: 1; display: grid; gap: var(--s4); max-width: 420px; margin-inline: auto; animation: rise-in 520ms var(--ease-out) both 160ms; }
.cart-side-title { margin: 0; font-size: .95rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-forest); }
.cart-side .breakdown { display: grid; gap: 10px; }
.cart-side .breakdown .row { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs-sm); color: var(--on-forest-2); font-variant-numeric: tabular-nums; }
.cart-side .breakdown .row > span:last-child { color: var(--on-forest); font-weight: 600; }
.cart-side .breakdown .row .muted { color: var(--on-forest-2) !important; font-weight: 400 !important; }
.cart-side .breakdown .row.total { margin-top: 6px; padding-top: var(--s3); border-top: 1px solid var(--on-forest-line); font-size: var(--fs-base); color: var(--on-forest); }
.cart-side .breakdown .row.total > span:last-child { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.cart-side .breakdown .row.discount > span:last-child { color: #a9e3c3; }
.cart-checkout { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 0; border-radius: var(--radius-pill); color: var(--forest); font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, #fffbf2, #efe6d2); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); transition: box-shadow 300ms var(--ease-out), transform 200ms var(--ease-out); }
.cart-checkout:hover { color: var(--forest); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .7); transform: translateY(-1px); }
.cart-checkout:active { transform: scale(.98); }
.cart-checkout > .icon:last-child { transition: transform 300ms var(--ease-out); }
.cart-checkout:hover > .icon:last-child { transform: translateX(4px); }
.cart-checkout.is-disabled { opacity: .5; pointer-events: none; }
.cart-side .trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-xs); color: var(--on-forest-2); }
.cart-side .trust li { display: flex; gap: 8px; align-items: center; }
.cart-side .trust .icon { width: 16px; height: 16px; color: #e7cf8f; flex: none; }

.cart-empty-panel { display: grid; place-items: center; min-height: calc(100dvh - var(--chrome) - 120px); padding: var(--s7) var(--s4); background: var(--cream); text-align: center; }
.cart-empty-inner { display: grid; justify-items: center; gap: var(--s3); max-width: 46ch; animation: rise-in 520ms var(--ease-out) both 80ms; }
.cart-empty-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(60, 58, 54, .08); color: var(--forest); }
.cart-empty-icon .icon { width: 32px; height: 32px; }
.cart-empty-inner h1 { margin: 0; font-weight: 800; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); letter-spacing: -.028em; color: var(--forest); }
.cart-empty-inner p { margin: 0; color: #5c5a4f; }

@media (min-width: 900px) {
  .cart-split { grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); min-height: calc(100dvh - var(--chrome)); }
  .cart-main { padding: var(--s6) clamp(var(--s5), 4vw, 72px) var(--s7); }
  .cart-side { padding: var(--s6) clamp(var(--s5), 4vw, 72px); }
  .cart-side-inner { position: sticky; top: calc(var(--header-h) + var(--s6)); }
  .cart-split .cart-item { grid-template-columns: 160px minmax(0, 1fr); padding: var(--s5); }
  .cart-split .cart-thumb { width: 160px; height: 192px; }
}
@media (max-width: 520px) {
  .cart-split .cart-item { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); padding: var(--s3); }
  .cart-split .cart-thumb { width: 96px; height: 116px; }
  .cart-info-top { flex-direction: column; gap: 4px; }
  .cart-split .line-price { text-align: left; }
}

/* ── Checkout: the same split as the cart (form on cream, order summary + "Place order" on dark green) ── */
.checkout-split .checkout-main { max-width: 760px; gap: var(--s3); }
.checkout-head { display: grid; gap: 6px; }
.checkout-head .breadcrumbs { margin: 0; animation: rise-in 460ms var(--ease-out) both 40ms; }
.checkout-guest { margin: 0; color: #5c5a4f; font-size: var(--fs-sm); }
.checkout-split .error-summary { margin: 0; }
.checkout-split .checkout-section { padding: var(--s5); border: 0; border-radius: 18px; background: rgba(255, 252, 245, .72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -30px rgba(60, 45, 20, .55); animation: rise-in 460ms var(--ease-out) both; }
.checkout-split .checkout-section + .checkout-section { margin-top: 0; }
.checkout-split .checkout-section:nth-of-type(2) { animation-delay: 70ms; }
.checkout-split .checkout-section:nth-of-type(3) { animation-delay: 140ms; }
.checkout-split .checkout-section:nth-of-type(4) { animation-delay: 210ms; }
.checkout-split .checkout-section:nth-of-type(5) { animation-delay: 280ms; }
/* Step headings like the customizer's: numbered ring + bold uppercase label. */
.checkout-split .checkout-section h2 { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); font-size: .95rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.checkout-split .checkout-section h2 .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(60, 58, 54, .45); background: none; color: var(--forest); font: 800 .8rem/1 var(--font-sans); letter-spacing: 0; flex: none; }
.checkout-split .checkout-section h3 { font-size: .85rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.checkout-split .input, .checkout-split .select, .checkout-split .textarea { border-radius: 12px; border-color: rgba(27, 28, 26, .16); background: rgba(255, 255, 255, .85); transition: border-color 200ms, box-shadow 200ms; }
.checkout-split .input:focus, .checkout-split .select:focus, .checkout-split .textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(60, 58, 54, .14); }
.checkout-split .option { border-radius: 14px; border-color: rgba(27, 28, 26, .14); background: rgba(255, 255, 255, .7); }
.checkout-split .option:hover { border-color: rgba(60, 58, 54, .45); }
.checkout-split .option:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); background: rgba(60, 58, 54, .06); }
.checkout-split .option:has(input:checked) .radio-dot { border-color: var(--forest); }
.checkout-split .option .radio-dot::after { background: var(--forest); }
.checkout-split .check input { accent-color: var(--forest); }

/* Order summary on the green panel. */
.checkout-side .mini-items { margin: 0; gap: var(--s3); }
.checkout-side .mini-item { grid-template-columns: 64px minmax(0, 1fr) auto; color: var(--on-forest); }
.checkout-side .mini-item strong { color: var(--on-forest); }
.checkout-side .mini-item .thumb { width: 64px; height: 76px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #fffdf8, #efe6d2); }
.checkout-side .mini-item .qty-badge { background: #e7cf8f; color: var(--forest); }
.checkout-side .mini-item .specs { color: var(--on-forest-2); }
.checkout-side .mini-item .price { font-weight: 700; font-variant-numeric: tabular-nums; }
.checkout-edit-cart { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: var(--fs-sm); font-weight: 600; color: var(--on-forest-2); text-decoration: none; }
.checkout-edit-cart:hover { color: var(--on-forest); }
.checkout-invoice-status { display: flex; align-items: center; gap: 6px; margin: 0; font-size: var(--fs-xs); color: var(--on-forest-2); }
.checkout-side-hint { margin: 0; font-size: var(--fs-xs); color: var(--on-forest-2); }
.checkout-side .notice-sample.checkout-sample { margin: 0; color: #e7cf8f; }
.checkout-side .cart-checkout .spinner { border-color: rgba(60, 58, 54, .25); border-top-color: var(--forest); }
.checkout-side .cart-checkout:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Account pages: the same cream + green look ──
   Signed out (sign in, register, password): split like Contact — green panel left, cream form panel right.
   Signed in: cream gradient page, green side menu, cream cards, green buttons. */
.auth-split, body:has(.account-layout) main { --forest: #2b2a27; --forest-deep: #1c1b19; --on-forest: #f6f1e4; --on-forest-2: rgba(246, 241, 228, .74);
  --cream: radial-gradient(110% 80% at 18% 8%, #fffbf2 0%, #f8f0de 42%, #efe1c2 100%); --chrome: var(--header-h); }
body:has(.dev-banner) .auth-split { --chrome: calc(var(--header-h) + 35px); }
body:has(.auth-split) .site-footer, body:has(.account-layout) .site-footer { margin-top: 0; }
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.auth-aside { position: relative; overflow: clip; color: var(--on-forest); padding: var(--s6) var(--s4);
  background: radial-gradient(120% 70% at 15% 0%, #3a3834 0%, rgba(70, 67, 62, 0) 55%), linear-gradient(165deg, var(--forest) 0%, #232220 55%, var(--forest-deep) 100%); }
.auth-aside-inner { position: relative; z-index: 1; display: grid; gap: var(--s4); max-width: 480px; margin-inline: auto; }
.auth-aside .eyebrow { margin: 0; color: #e7cf8f; animation: rise-in 460ms var(--ease-out) both 40ms; }
.auth-aside-title { margin: 0; font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.028em; color: var(--on-forest); animation: title-in 800ms var(--ease-out) backwards 80ms; }
.auth-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-benefits li { display: flex; gap: 12px; align-items: center; font-size: var(--fs-base); color: var(--on-forest); animation: rise-in 460ms var(--ease-out) both; }
.auth-benefits li:nth-child(1) { animation-delay: 200ms; } .auth-benefits li:nth-child(2) { animation-delay: 270ms; }
.auth-benefits li:nth-child(3) { animation-delay: 340ms; } .auth-benefits li:nth-child(4) { animation-delay: 410ms; }
.auth-benefits .icon { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(246, 241, 228, .1); color: #e7cf8f; }
.auth-aside-note { display: flex; gap: 8px; align-items: center; margin: 0; font-size: var(--fs-sm); color: var(--on-forest-2); }
.auth-aside-note .icon { color: #e7cf8f; flex: none; }
.auth-main { display: grid; place-items: center; padding: var(--s6) var(--s4) var(--s7); background: var(--cream); }
.auth-split .auth-card { width: 100%; margin: 0; padding: var(--s6) var(--s5); border: 0; border-radius: 22px; background: rgba(255, 252, 245, .78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -40px rgba(60, 45, 20, .6); animation: rise-in 520ms var(--ease-out) both 120ms; }
.auth-split .auth-card h1 { font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -.028em; color: var(--forest); }
.auth-split .auth-card a:not(.btn) { color: var(--forest); font-weight: 600; }
.auth-split .input { border-radius: 12px; border-color: rgba(27, 28, 26, .16); background: rgba(255, 255, 255, .85); transition: border-color 200ms, box-shadow 200ms; }
.auth-split .input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(60, 58, 54, .14); }
.auth-split .check input { accent-color: var(--forest); }
.auth-split .btn-primary { min-height: 52px; border-radius: var(--radius-pill); font-weight: 800; letter-spacing: .04em; }
.auth-split .btn:not(.btn-primary) { border-color: var(--forest); color: var(--forest); background: transparent; }
@media (min-width: 900px) {
  .auth-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: calc(100dvh - var(--chrome)); }
  .auth-aside { display: grid; align-items: center; padding: var(--s7) clamp(var(--s5), 5vw, 88px); }
  .auth-main { padding: var(--s7) clamp(var(--s5), 5vw, 88px); }
}

body:has(.account-layout) main { background: var(--cream); }
.account-layout { padding-block: var(--s6) var(--s8); }
.account-layout > div > h1 { font-weight: 800; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); letter-spacing: -.028em; color: var(--forest); animation: title-in 800ms var(--ease-out) backwards 80ms; }
.account-nav { position: relative; overflow: clip; padding: var(--s4); border-radius: 20px; color: var(--on-forest);
  background: radial-gradient(120% 70% at 85% 0%, #3a3834 0%, rgba(70, 67, 62, 0) 55%), linear-gradient(165deg, var(--forest) 0%, #232220 55%, var(--forest-deep) 100%);
  box-shadow: 0 24px 50px -34px rgba(30, 29, 27, .9); animation: rise-in 460ms var(--ease-out) both; }
.account-nav > :not(.cfg-spotlight) { position: relative; z-index: 1; }
/* Long labels (Bulgarian "Поддръжка на клиенти", Greek, Italian…) wrap instead of making the list scroll sideways. */
.account-nav ul { overflow: visible; flex-wrap: wrap; }
.account-nav a { white-space: normal; line-height: 1.25; overflow-wrap: anywhere; }
.account-nav a .icon { flex: none; }
.account-who { margin: 0 0 var(--s3); font-size: var(--fs-xs); color: var(--on-forest-2); }
.account-who strong { color: var(--on-forest); overflow-wrap: anywhere; font-size: var(--fs-sm); }
.account-nav a { color: var(--on-forest-2); border-radius: 12px; transition: background-color 200ms, color 200ms; }
.account-nav a:hover { background: rgba(246, 241, 228, .08); color: var(--on-forest); }
.account-nav a[aria-current='page'] { background: linear-gradient(180deg, #fffbf2, #efe6d2); color: var(--forest); font-weight: 700; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6); }
.account-nav .btn { color: var(--on-forest-2); }
.account-nav .btn:hover { color: var(--on-forest); background: rgba(246, 241, 228, .08); }
.account-layout .card { border: 0; border-radius: 18px; background: rgba(255, 252, 245, .78); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -30px rgba(60, 45, 20, .55);
  animation: rise-in 460ms var(--ease-out) both 120ms; transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out); }
.account-layout .grid > .card + .card { margin-top: 0; } /* side-by-side cards line up */
.account-layout a.card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 46px -30px rgba(60, 45, 20, .7); }
.account-layout .card h2 { font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); display: flex; align-items: center; gap: 8px; }
.account-layout .card h2 .icon { color: var(--forest); }
.account-layout .link-arrow { color: var(--forest); font-weight: 700; }
.account-layout .btn:not(.btn-primary):not(.btn-ghost):not(.btn-danger) { border-color: var(--forest); color: var(--forest); background: transparent; }
.account-layout .btn:not(.btn-primary):not(.btn-ghost):not(.btn-danger):hover { background: rgba(60, 58, 54, .08); }
.account-layout .btn-primary { border-radius: var(--radius-pill); }
.account-layout .input, .account-layout .select, .account-layout .textarea { border-radius: 12px; border-color: rgba(27, 28, 26, .16); background: rgba(255, 255, 255, .85); }
.account-layout .input:focus, .account-layout .select:focus, .account-layout .textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(60, 58, 54, .14); }
.account-layout .data-table th { color: var(--forest); }
.account-layout .empty-state { border-color: rgba(60, 58, 54, .25); background: rgba(255, 255, 255, .4); }
.account-layout .empty-state .icon { color: var(--forest); }

/* ── TRIAL: single product cards in the reference's style (light card, product photo centred, text below) ──
   Used by PHOTO_TRIALS in home.ejs (non-standard oval, standard rectangle); switch them off there to revert. */

 /* book: wider than tall */

/* The other cards' text block (same fonts), at the bottom of the card. */

/* ── Hero: straightforward copy, centred in the middle (no tombstones) ── */
.hero-frame:has(.hero-centered) { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding-bottom: 0; }
.hero-frame:has(.hero-centered)::before { background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(16, 15, 14, .74) 0%, rgba(16, 15, 14, .58) 55%, rgba(16, 15, 14, .4) 100%); }
.hero-content.hero-centered { max-width: 1120px; margin: 0 auto; padding: var(--s8) var(--s4); text-align: center; display: grid; justify-items: center; }
.hero-centered .eyebrow { animation: rise-in 520ms var(--ease-out) both 60ms; }
.hero-centered h1 { max-width: none; text-wrap: balance; font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 3.1vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; animation: title-in 900ms var(--ease-out) backwards 120ms; }
.hero-centered h1 em { display: block; font-style: normal; }
.hero-centered > p:not(.eyebrow) { max-width: 54ch; margin-inline: auto; animation: rise-in 600ms var(--ease-out) both 260ms; }
.hero-ctas { justify-content: center; margin-top: var(--s5); animation: rise-in 600ms var(--ease-out) both 380ms; }

/* Hero still life: text in the upper part, the three real pieces standing in a row along the bottom under a soft
   warm light. Only transform/opacity animate (smooth on every device); reduced motion shows them still. */
.hero-frame:has(.hero-still) { grid-template-rows: auto auto; align-content: center; gap: 0; }
.hero-frame:has(.hero-still) .hero-content.hero-centered { padding-bottom: var(--s5); }
.hero-frame:has(.hero-still)::before { background:
  radial-gradient(ellipse 46% 38% at 50% 78%, rgba(231, 207, 143, .16), rgba(231, 207, 143, 0) 70%),
  radial-gradient(ellipse 80% 70% at 50% 40%, rgba(16, 15, 14, .55), rgba(16, 15, 14, .82) 100%); }
.hero-still { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2.5vw, 40px);
  width: min(100%, 980px); margin: 0 auto; padding: 0 var(--s4) clamp(var(--s5), 5vh, var(--s7)); transition: transform 600ms cubic-bezier(.2, .8, .2, 1); }

@keyframes hs-rise { from { opacity: 0; transform: translateY(40px); } }
/* A faint reflective floor line under the pieces. */

@media (max-width: 640px) {
    
  .hero-still { gap: 6px; }
}

/* ── Porcelain ↔ granite engraving switch (customizer, left panel) ──
   A two-option pill: the forest-green glider slides under the chosen side (transform only, so it stays
   smooth on low-end phones). Touch targets are 44px tall. */
.mode-switch { position: relative; isolation: isolate; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-self: start; width: min(100%, 440px); padding: 4px; border-radius: var(--radius-pill); background: rgba(60, 45, 20, .08); box-shadow: inset 0 1px 2px rgba(60, 45, 20, .1); }
.mode-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: none; font: 700 var(--fs-sm) var(--font-sans); letter-spacing: .01em; color: #5c5a4f; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: color 320ms var(--ease-out); }
.mode-switch button:hover { color: var(--ink); }
.mode-switch button[aria-checked='true'] { color: #f6f1e4; }
.mode-switch button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mode-switch button:active { transform: scale(.98); }
.mode-switch .icon { width: 18px; height: 18px; flex: none; }
.mode-switch-glider { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: var(--radius-pill); background: var(--forest, var(--green)); box-shadow: 0 8px 18px -10px rgba(30, 29, 27, .9); transition: transform 460ms cubic-bezier(.3, 1.25, .45, 1), width 460ms cubic-bezier(.3, 1.25, .45, 1); will-change: transform; }
.mode-switch-glider.no-anim { transition: none; }
@media (max-width: 420px) { .mode-switch button { padding: 0 10px; font-size: var(--fs-xs); gap: 6px; } }
@media (min-width: 1024px) and (pointer: fine) { .mode-switch button { min-height: 38px; } } /* mouse: a little slimmer; touch keeps 44px */

/* Desktop: slimmer size chips, six per row, so even the longest list (11 sizes) takes two rows and the whole
   configurator still fits one screen. */
@media (min-width: 1024px) {
  .cfg-split [data-size-list] { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; row-gap: 12px; }
  .cfg-split [data-size-list] .size-chip { min-height: 48px; padding: 6px 2px; }
  .cfg-split [data-size-list] .size-chip .dim { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
  .cfg-split [data-size-list] .size-chip .dim .unit { font-size: .66em; font-weight: 600; letter-spacing: 0; opacity: .8; }
  .cfg-split [data-size-list] .size-chip .pop { font-size: 8.5px; padding: 0 4px; letter-spacing: .04em; }
}

/* Short laptop screens (≤ 780px tall, e.g. 1920×1080 at 125% zoom): tighter spacing only, nothing hidden,
   so both the porcelain and the granite side still fit one screen without scrolling. */
@media (min-width: 1024px) and (max-height: 780px) {
  .cfg-split .config-controls { padding-block: 6px; }
  .cfg-split .config-controls .config-step { padding: 6px 0; }
  .cfg-split .config-step-head { margin-bottom: 4px; }
  .cfg-split .size-chip { min-height: 40px; padding-block: 6px; }
  .cfg-split .size-field { margin-top: 2px; }
  .cfg-split .gsize-row { gap: 6px; }
  .cfg-split .details-row .input { min-height: 40px; height: 40px; }
  .cfg-split .add-cta-wrap { padding-top: 8px; gap: 6px; }
  .cfg-split .add-cta { min-height: 46px; }
  .cfg-split .config-controls .qty button, .cfg-split .config-controls .qty input { height: 46px; }
  .cfg-split .config-row .listbox-button, .cfg-split .config-row .select { height: 40px; min-height: 40px; }
  .cfg-split .config-title h1 { font-size: clamp(1.9rem, 1rem + 2vw, 2.6rem); }
  .cfg-split [data-size-list] { row-gap: 10px; padding-top: 6px; }
  .cfg-split [data-size-list] .size-chip { min-height: 42px; padding-block: 4px; }
  .cfg-split .config-controls .config-step { padding-block: 5px; }
  .cfg-split .config-step-head { margin-bottom: 2px; }
  .cfg-split #photo-help { line-height: 1.3; margin-top: 4px; font-size: .72rem; }
  .cfg-split .dropzone { padding-block: 6px; }
  .cfg-split .segment { padding-block: 4px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .cfg-split .config-controls .config-step { padding: 4px 0; }
  .cfg-split .dropzone { padding-block: 6px; }
  .cfg-split .size-list { padding-top: 6px; row-gap: 8px; }
  .cfg-split .size-chip { min-height: 36px; padding-block: 4px; }
  .cfg-split .add-cta-wrap { padding-top: 6px; }
}

/* Granite side: one photograph (extras and the "up to 3" hint hide), thumbnails turn black & white. */
.only-granite { display: none; }
.is-granite .only-granite { display: inline; }
.is-granite .only-porcelain, .is-granite .extra-photos, .is-granite .add-photo { display: none !important; }
/* Papyrus photo-window choice: label in the same light colour as the other option labels on the green panel. */
.cfg-split .window-field > legend { color: var(--on-forest-2); font-size: var(--fs-sm); }
.configurator .upload-card img { transition: filter 500ms var(--ease-out); }
.is-granite .upload-card img { filter: grayscale(1) contrast(1.05); }
.is-granite [data-prep-default] { display: none !important; } /* the "left empty → we restore" note is porcelain-only */
/* Granite options are laid out compactly so the side fits one screen like porcelain:
   shape beside size, and name / email / phone on one line. */
.gsize-row { display: grid; gap: var(--s3); }
.gsize-row > .field { margin: 0; min-width: 0; }
.gshape-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }

.gshape-chip .dim { display: inline-flex; align-items: center; gap: 8px; }
.gshape-chip .shape-ico { display: inline-flex; }
.config-controls .details-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.details-row label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .config-controls .details-row { grid-template-columns: minmax(0, 1fr); } }
.quote-hint { margin: 0; text-align: center; }
.cfg-split .gsize-row legend, .cfg-split .gsize-row legend .opt, .cfg-split .details-row label .opt { color: var(--on-forest-2); font-size: var(--fs-sm); }
.cfg-split [data-step="details"] .input { background: var(--bright); }

/* ==========================================================================
   Landing — premium pass: one heading pattern (gold hairline eyebrow + large bold h2),
   the wholesale band and the FAQ.
   ========================================================================== */
.page-home :where(.showcase-title, .engraving, .resto-copy, .cta-band, .home-faq) .eyebrow { display: flex; align-items: center; gap: 12px; letter-spacing: .16em; }
.page-home :where(.showcase-title, .engraving, .resto-copy, .cta-band, .home-faq) .eyebrow::before { content: ''; width: 32px; height: 1px; flex: none; background: currentColor; opacity: .7; }
.page-home :where(.showcase-head, .engraving, .cta-band, .home-faq) h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
.showcase-title { display: grid; padding-left: clamp(4px, 1.5vw, 24px); }
.showcase-title h2 { padding-left: 0; }

/* Wholesale: deep forest band with a gold hairline frame and a soft light from the upper left. */
.page-home .cta-band { background: radial-gradient(120% 140% at 0% 0%, #3a3834 0%, var(--green) 45%, #1c1b19 100%); color: #ece8e1; padding: var(--s7) var(--s5);
  box-shadow: 0 30px 60px -36px rgba(30, 29, 27, .7); }
.page-home .cta-band::before { content: ''; position: absolute; inset: 10px; border-radius: calc(var(--radius-lg) - 6px); border: 1px solid rgba(231, 207, 143, .28); pointer-events: none; }
.page-home .cta-band::after { right: -60px; top: -90px; width: 300px; height: 380px; border: 1px solid rgba(231, 207, 143, .4); box-shadow: inset 0 0 0 16px rgba(231, 207, 143, .05), 0 0 0 16px rgba(231, 207, 143, .04); }
.page-home .cta-band > * { position: relative; z-index: 1; }
.page-home .cta-band .eyebrow { color: #e7cf8f; }
.page-home .cta-band h2 { color: #f6f1e4; margin-bottom: var(--s3); }
.page-home .cta-band p:not(.eyebrow) { color: #d3cfc7; font-size: var(--fs-md); }
@media (min-width: 900px) { .page-home .cta-band { padding: var(--s8) var(--s8); } }

/* FAQ: each question is a soft card; the plus sits in a gold ring and turns into a cross when open. */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Hero scroll parallax (JS adds .has-layers and --hp, 0 → 1 as the hero scrolls away). The photo is 20% taller
   than the frame, extending upwards, so sinking it never opens a gap at the top. Side pieces drift outwards. */
.hero-frame.has-layers > img, .hero-frame.has-layers > picture, .hero-frame.has-layers > .img-placeholder { inset: -20% 0 auto; top: -20%; height: 120%; will-change: transform; }
.hero-frame.has-layers > picture img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame.has-layers .hero-content, .hero-frame.has-layers .hero-still { will-change: transform; }

/* ==========================================================================
   DARK THEME (owner, 2026-10-14): the whole site in warm charcoal greys, grey-only accents.
   Everything is in this block: the tokens are redefined here, and the hard-coded light surfaces of the
   earlier sections are overridden below. To go back to the light site, delete this block (a full backup of
   the light site is in ../photoceramic-store-backup-2026-10-14-before-dark).
   Product photo cards stay light grey ("porcelain on display") with their own dark text.
   ========================================================================== */
:root {
  color-scheme: dark;
  --ink: #ece8e1; --ink-2: #cdc8bf; --muted: #a29d93;
  --line: #3a3834; --line-strong: #55524c;
  --bg: #1e1d1b; --paper: #272623; --paper-2: #2f2d2a; --paper-3: #383633; --off-black: #151413;
  /* "green" is now the grey accent: mid grey surfaces under light text. */
  --green: #5f5a53; --green-hover: #736d65; --green-tint: #33312d;
  --gold: #b18e3e; --gold-ink: #d6b56c; --gold-tint: #3a3224;
  --error: #f19a8f; --error-tint: #3b2220; --error-line: #7a3a33;
  --success: #8fd0a6; --success-tint: #1f3326;
  --warning: #e6c06e; --warning-tint: #3a311d;
  --info: #9cc3ea; --info-tint: #1f2c3a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 6px 24px -8px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 20px 50px -18px rgba(0, 0, 0, .7);
  /* Shared panel tones for the two-tone pages (customizer, cart, checkout, account, contact). */
  --dk-panel: radial-gradient(110% 80% at 18% 8%, #34322e 0%, #2a2825 45%, #222120 100%);
  --dk-deep: radial-gradient(120% 70% at 85% 0%, #2c2a27 0%, rgba(44, 42, 39, 0) 55%), linear-gradient(165deg, #1c1b19 0%, #171614 55%, #121110 100%);
  --dk-card: rgba(255, 250, 240, .045);
  --dk-input: rgba(255, 250, 240, .06);
  --dk-light-btn: linear-gradient(180deg, #e9e5dd, #cfc9be);
}
::selection { background: #4a463f; color: var(--ink); }

/* Inverse surfaces that used the (now light) ink colour as a background. */
.hero-frame, .cat-card, .cta-dark { background: var(--off-black); }
.chip[aria-current='true'], .toast, .skip-link, .mini-item .qty-badge, .btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark { --bg: var(--ink); --fg: var(--bg); --bd: var(--ink); }
.btn-dark:hover { --bg: #f5f2ec; color: var(--bg); }
.btn-light { --bg: var(--paper-3); --fg: var(--ink); --bd: var(--paper-3); }
.btn-light:hover { --bg: #47443f; }
.btn-primary:hover, .pw-btn:hover, .pcard-btn:hover { color: #f5f2ec; }
a { color: var(--ink); }
a:hover { color: #f5f2ec; }
.tag-gold { border-color: #5a4a2a; } .tag-green { border-color: var(--line-strong); color: var(--ink); } 

/* Header and dropdowns. */
.site-header .lang-select select option { color: var(--ink); background: var(--paper); }
.lang-select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ece8e1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.mobile-buybar { background: rgba(30, 29, 27, .96); border-top-color: var(--line); }

/* Generic light media boxes → charcoal. */
.img-placeholder { background: radial-gradient(circle at 35% 30%, #34322e, #232220 70%); color: #6f6758; }
.product-card-media, .pcard-media, .pcard-media > img, .pcard-media > .img-placeholder { background: linear-gradient(160deg, #34322e, #262523); }

.preview-card { background: linear-gradient(180deg, #2c2a27, #232220); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }

/* Landing: products band, product cards (kept light), wholesale band. */
.showcase-band { background: var(--dk-panel); }

.page-home .cta-band { background: radial-gradient(120% 140% at 0% 0%, #3d3a35 0%, #2a2825 45%, #1c1b19 100%); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); }
.page-home .cta-band::before { border-color: rgba(231, 207, 143, .22); }
.page-home .cta-band p:not(.eyebrow) { color: var(--ink-2); }
.cta-band { background: var(--paper-3); }
.cta-band p { color: var(--ink-2); }

/* Contact. */

.contact-card { background: var(--dk-card); border-color: rgba(255, 255, 255, .06); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); }

/* Customizer: left preview panel charcoal, right options panel deep charcoal. --forest is used as the
   accent TEXT colour on the left panel, so it becomes light; the right panel's background is set directly. */
.cfg-split { --forest: #ece8e1; --forest-deep: #121110; --on-forest: #ece8e1; --on-forest-2: rgba(236, 232, 225, .72); --on-forest-line: rgba(236, 232, 225, .16); --bright: #e2ddd4; }
.cfg-split .config-visual { background: var(--dk-panel); }
.cfg-split .config-title p, .cfg-split .preview-tabs button { color: var(--muted); }
.cfg-split .preview-tab-indicator { background: var(--ink); }
.cfg-split .preview-tabs button[aria-selected='true'] { color: var(--bg); }
.cfg-split .monument > img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.cfg-split .closeup { background: radial-gradient(closest-side, rgba(255, 250, 240, .08), rgba(255, 250, 240, 0)); }
.cfg-split .preview-tip > .tip-trigger { background: rgba(30, 29, 27, .75); color: var(--ink-2); }
.cfg-split .config-controls { background: var(--dk-deep) !important; }
.cfg-split .config-controls .select option { color: var(--ink); background: var(--paper); }
.cfg-split .add-cta { --bg: var(--bright); --fg: var(--bg); background-color: var(--bright); color: #1e1d1b; background-image: var(--dk-light-btn); }
.cfg-split .add-cta::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); }
.cfg-split .size-glider { background: var(--bright); }

/* Cart, checkout, account, sign-in: the same two tones. */
.cart-split, .cart-empty-panel, .auth-split, body:has(.account-layout) main {
  --forest: #ece8e1; --forest-deep: #121110; --on-forest: #ece8e1; --on-forest-2: rgba(236, 232, 225, .72); --on-forest-line: rgba(236, 232, 225, .16);
  --cream: radial-gradient(110% 80% at 18% 8%, #34322e 0%, #2a2825 45%, #222120 100%); }
.cart-side, .auth-aside, .account-nav { background: var(--dk-deep); }
.account-nav { box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .9); }
.cart-split .cart-item, .checkout-split .checkout-section, .auth-split .auth-card, .account-layout .card { background: var(--dk-card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 40px -30px rgba(0, 0, 0, .8); }
.cart-split .cart-item:hover, .account-layout a.card:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 46px -30px rgba(0, 0, 0, .9); }
.cart-split .cart-thumb, .checkout-side .mini-item .thumb { background: radial-gradient(circle at 50% 40%, #ece8e1, #cfc9be); }
.cart-split .cart-thumb svg { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .3)); }
.cart-continue, .cart-photo, .cart-action, .cart-empty-inner p, .checkout-guest { color: var(--muted); }
.spec-chips li { border-color: rgba(236, 232, 225, .2); background: rgba(236, 232, 225, .05); color: var(--ink-2); }
.cart-split .instructions { background: rgba(236, 232, 225, .05); }
.cart-split .qty { border-color: var(--line-strong); background: var(--dk-input); }
.cart-split .qty button:hover, .account-layout .btn:not(.btn-primary):not(.btn-ghost):not(.btn-danger):hover { background: rgba(236, 232, 225, .08); }
.cart-empty-icon { background: rgba(236, 232, 225, .08); }
.cart-checkout { color: #1e1d1b; background: var(--dk-light-btn); }
.cart-checkout:hover { color: #1e1d1b; }
.checkout-side .cart-checkout .spinner { border-color: rgba(30, 29, 27, .25); border-top-color: #1e1d1b; }
.checkout-side .mini-item .qty-badge { color: #1e1d1b; }
.checkout-split .checkout-section h2 .num { border-color: rgba(236, 232, 225, .4); }
.checkout-split .input, .checkout-split .select, .checkout-split .textarea, .auth-split .input,
.account-layout .input, .account-layout .select, .account-layout .textarea { border-color: var(--line-strong); background: var(--dk-input); color: var(--ink); }
.checkout-split .input:focus, .checkout-split .select:focus, .checkout-split .textarea:focus, .auth-split .input:focus,
.account-layout .input:focus, .account-layout .select:focus, .account-layout .textarea:focus { border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(236, 232, 225, .12); }
.checkout-split .option { border-color: var(--line-strong); background: var(--dk-input); }
.checkout-split .option:hover { border-color: var(--muted); }
.checkout-split .option:has(input:checked) { border-color: var(--ink-2); box-shadow: 0 0 0 1px var(--ink-2); background: rgba(236, 232, 225, .06); }
.checkout-split .option .radio-dot::after { background: var(--ink); }
.checkout-split .check input, .auth-split .check input, .check input, .framing input[type='range'] { accent-color: #cfc9be; }
.account-nav a[aria-current='page'] { background: var(--dk-light-btn); color: #1e1d1b; }
.account-layout .empty-state { border-color: var(--line-strong); background: rgba(236, 232, 225, .03); }

/* Forms everywhere: dark fields. */
select option { background: var(--paper); color: var(--ink); }

/* Text on the light selected states (they used the forest colour, now light). */
.cfg-split .num-check { stroke: #1e1d1b; }
.cfg-split .size-chip:has(input:checked) .dim,
.cfg-split .segment:has(input:checked) .segment-text strong, .cfg-split .segment:has(input:checked) .segment-text small { color: #1e1d1b; }
.cfg-split .add-cta:hover { --bg: #f0ece5; color: #1e1d1b; }

/* Contact: deep charcoal info panel, charcoal form panel. */
.contact-info { background: var(--dk-deep); }
.contact-form-panel { background: var(--dk-panel); }

/* The grey accent as TEXT / outline colour is too dim on charcoal: use the light greys instead. */
.link-arrow:hover, .checkout-layout a:not(.btn) { color: #f5f2ec; }
.checklist .icon, .dropzone .icon, .summary .trust .icon, .contact-list .icon-wrap, .spec-pills li, .size-chip:has(input:checked) .dim { color: var(--ink); }

.input:focus, .select:focus, .textarea:focus, .listbox-button:focus-visible, .pw-search-input:focus { border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(236, 232, 225, .12); }
.option:has(input:checked) { border-color: var(--ink-2); box-shadow: 0 0 0 1px var(--ink-2); }
.option:has(input:checked) .radio-dot, .timeline .current .dot { border-color: var(--ink-2); }
.option .radio-dot::after { background: var(--ink); }
.dropzone:hover, .dropzone.is-dragover, .add-photo:hover { border-color: var(--ink-2); }

/* Porcelain / granite switch on the customizer: light glider, dark text on the selected side. */
.mode-switch { background: rgba(255, 250, 240, .06); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.mode-switch button { color: var(--muted); }
.mode-switch button[aria-checked='true'] { color: #1e1d1b; }
.mode-switch-glider { background: var(--ink); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .9); }

/* Alerts and notes: light text on the dark tints. */
.alert-success { border-color: #2f5a3d; color: var(--success); }
.alert-warning { border-color: #5c4a22; color: var(--warning); }
.alert-info { border-color: #34506e; color: var(--info); }
.prep-default { color: var(--ink-2); }

/* Granite "your details" fields: dark like the other inputs. */
.cfg-split [data-step="details"] .input { background: var(--dk-input); border-color: rgba(236, 232, 225, .28); color: var(--ink); }

/* ── Dark theme, round 2 (owner, 2026-10-14) ──
   Products section: soft porcelain white with white cards (dark text, scoped tokens).
   Every other grey: a radial gradient, brighter towards the middle. */
:root {
  --dk-panel: radial-gradient(ellipse 75% 70% at 50% 50%, #3a3834 0%, #2a2825 50%, #1f1e1c 100%);
  --dk-deep: radial-gradient(ellipse 75% 70% at 50% 50%, #2b2927 0%, #1a1917 55%, #121110 100%);
}
body { background-color: var(--bg); background-image: radial-gradient(ellipse 80% 75% at 50% 50%, #33312d 0%, #262522 45%, #1a1918 100%); background-attachment: fixed; }
.site-footer { background: radial-gradient(ellipse 70% 90% at 50% 50%, #2a2826 0%, #181716 60%, #121110 100%); }
/* Engraving + restoration: dark at the edges (so the two bands still meet seamlessly), lighter in the middle of the screen. */
.engraving-band, .resto-pin { background: #0d0c0b; }
.engraving-band .etch-sticky, .engraving-band:not(.is-pinned) { background: radial-gradient(ellipse closest-side at 50% 50%, #2a2826 0%, #171615 60%, #0d0c0b 100%); }
.resto-sticky { background: radial-gradient(ellipse closest-side at 50% 50%, #2c2a27 0%, #181716 60%, #0d0c0b 100%); }

/* Products section: porcelain white. */
.showcase-band { background: #f6f4f0;
  --ink: #1b1c1a; --ink-2: #353733; --muted: #5b5f58; --gold-ink: #7a5e1f; --line: #e4e1d9; --line-strong: #cbc6bb; --paper: #fcfbf9; --paper-2: #f3f1ec; --paper-3: #ebe8e2;
  color: var(--ink); }
.showcase-band a:not(.pwc-link):not(.pwc-ref-link) { color: var(--ink); }

/* Softer section edges: the near-black engraving/restoration bands fade in from, and back out to, the page grey. */
.engraving-band { position: relative; margin-top: 0; padding-top: 140px !important; }
.engraving-band::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, #262522 0%, rgba(13, 12, 11, .6) 55%, #0d0c0b 100%); }
.resto-pin { padding-bottom: 140px; }
.resto-pin::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(to bottom, #0d0c0b 0%, rgba(13, 12, 11, .6) 45%, #262522 100%); }

/* Product cards reveal: a simple staggered fade-in, once (app.js adds .pw-reveal to the grid and .is-in per card). */
.pw-reveal > .pw { opacity: 0; animation: none; transition: opacity 800ms var(--ease-out) var(--rd, 0ms), box-shadow 400ms var(--ease-out); } /* no rise: fade only */
.pw-reveal > .pw.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pw-reveal > .pw { opacity: 1; } }

/* Customizer cursor glow: it lives in the preview area only, so on the dark panel its top edge showed as a hard
   line. Fade it out towards that edge, and soften it for the dark theme. */
.cfg-split .preview-stage::after { background: radial-gradient(420px circle at calc(50% + var(--px, 0) * 100%) calc(50% + var(--py, 0) * 100%), rgba(255, 250, 235, .2), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 180px); mask-image: linear-gradient(to bottom, transparent 0, #000 180px); }

/* Landing product cards: hard, square corners. */

/* ── Landing engraving, reference layout (owner, 2026-10-14): stone big on the left running down to the bottom
   of the section, big white headline with a gold second line on the right, a quote line, a light pill button
   and a round outline icon button; a giant faded word behind. ── */

.etch-sticky { position: relative; overflow: clip; } /* the giant word never widens the page */
.engraving-band .engraving { position: relative; z-index: 1; }

@media (min-width: 900px) {
  .engraving-band .engraving.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--s6), 5vw, var(--s9)); }
}
/* Not pinned (no JS / reduced motion / phones): the word is simply shown. */

/* Pinned: the section fills the screen; at rest the stone sits bottom-left, big, its base running off the bottom. */

.etch-pin.is-pinned .engraving.split { height: 100%; align-items: center; }
.etch-pin.is-pinned .engrave-figure { align-self: end; justify-self: center; max-width: none;
  width: min(100%, calc((100dvh - var(--header-h)) * .97 * .747)); margin-bottom: calc(-1 * clamp(24px, 6vh, 64px)); }
/* The illustration note sits under the text column instead of under the stone. */
.etch-pin.is-pinned .engrave-figure figcaption { position: absolute; left: calc(100% + clamp(var(--s6), 5vw, var(--s9))); bottom: calc(clamp(24px, 6vh, 64px) + var(--s5)); width: 36ch; }

/* Played once: the pinned section becomes a normal one-screen block with the finished layout. */
.etch-pin.is-pinned.is-done .etch-track { height: auto; }
.etch-pin.is-pinned.is-done .etch-sticky { position: relative; top: auto; }

/* Engraving section, bigger (owner, 2026-10-14): larger stone, headline, text and buttons. */

@media (min-width: 900px) {
  .engraving-band .engraving.split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .etch-pin.is-pinned .engrave-figure { width: min(100%, calc((100dvh - var(--header-h)) * 1.06 * .747)); margin-bottom: calc(-1 * clamp(40px, 10vh, 110px)); }
}
.engraving-band .engraving.container { max-width: 1480px; } /* room for the bigger stone */

/* ── Products shelf (owner, 2026-10-15; after a fashion-store reference) ──
   Slim header row, then an edge-to-edge row of tall cards with 2px gaps: 4 visible on desktop, 2 on tablets,
   ~1.3 on phones; the square arrows slide one screen of cards. Square corners everywhere. */
.shelf-band { box-shadow: none; padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px); }

.shelf-arrow:focus-visible, .shelf-shop:focus-visible, .shelf-link:focus-visible { outline: 2px solid #1b1c1a; outline-offset: 2px; }

.shelf-track { list-style: none; margin: 0; padding: 0 2px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6px) / 4); gap: 2px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.shelf-track::-webkit-scrollbar { display: none; }
@media (max-width: 1023px) { .shelf-track { grid-auto-columns: calc((100% - 2px) / 2); } }
@media (max-width: 599px) { .shelf-track { grid-auto-columns: 78%; }   }
.pw.shelf-item { display: block; min-width: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; animation: none; scroll-snap-align: start; }
.shelf-link { display: block; color: inherit; text-decoration: none; }
.shelf-media { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 7; overflow: hidden; background: #efede9; }
.shelf-media img { width: 80%; height: auto; mix-blend-mode: multiply; transition: transform 800ms var(--ease-out); }
.shelf-media img.is-landscape { width: 94%; }
.shelf-art { width: 62%; filter: drop-shadow(0 18px 22px rgba(40, 30, 15, .2)); }
.shelf-art svg { width: 100%; height: 100%; }
@media (hover: hover) { .shelf-link:hover .shelf-media img { transform: scale(1.03); } }
.shelf-label { position: absolute; z-index: 1; top: 8px; left: 8px; font-size: .6875rem; font-weight: 500; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; color: #1b1c1a; }
.shelf-name { display: block; padding: 12px 10px 0; font-size: .8125rem; font-weight: 700; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.shelf-price { display: block; padding: 2px 10px 0; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .shelf-link:hover .shelf-name { text-decoration: underline; text-underline-offset: 3px; } }
@media (prefers-reduced-motion: reduce) { .shelf-track { scroll-behavior: auto; } .shelf-link:hover .shelf-media img { transform: none; } }
/* A card with a second photo (owner, 2026-10-27: the papyrus shows its rectangular window on hover): both photos sit in
   the same spot and cross-fade on hover or keyboard focus. */
.shelf-media:has(> .shelf-hover) > img { grid-area: 1 / 1; transition: transform 800ms var(--ease-out), opacity 380ms var(--ease-out); }
.shelf-media > img.shelf-hover { opacity: 0; transform: scale(var(--hs, 1)); }
/* The front view keeps its smaller size (--hs, set per card in home.ejs) and only shares the card's slight hover zoom. */
/* Phones and tablets have no hover (owner, 2026-11-06): a tap just opens the shop, so the second photo is switched off and not downloaded. */
@media (hover: hover) {
  .shelf-link:hover .shelf-media > img.shelf-hover { transform: scale(calc(var(--hs, 1) * 1.03)); }
  .shelf-link:is(:hover, :focus-visible) .shelf-media:has(> .shelf-hover) > img:not(.shelf-hover) { opacity: 0; }
  .shelf-link:is(:hover, :focus-visible) .shelf-media > img.shelf-hover { opacity: 1; }
}
@media (hover: none) { .shelf-media > img.shelf-hover { display: none; } }

/* Shelf, round 2 (owner, 2026-10-15): no arrows; two rows of four, cards a little smaller, text a little bigger. */

.shelf-track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 6px;
  overflow: visible; scroll-snap-type: none; padding: 0 clamp(12px, 3vw, 48px); }
@media (max-width: 1023px) { .shelf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .shelf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; }  }
.shelf-media { aspect-ratio: 5 / 6.4; }

.shelf-label { font-size: .75rem; }
.shelf-name { font-size: .95rem; padding-top: 12px; }
.shelf-price { font-size: .9375rem; }

@media (max-width: 599px) { .shelf-name { font-size: .8125rem; } .shelf-price { font-size: .8125rem; } .shelf-label { font-size: .6875rem; } }
.shelf-track { row-gap: clamp(20px, 2.5vw, 36px); }

/* ==========================================================================
   Header (owner, 2026-10-15; port of a React "header-2" component)
   Top of page: transparent, full-width bar. Scrolled: the bar floats — centred, as wide as its content,
   blurred translucent charcoal, hairline border, rounded corners, soft shadow. The outer header keeps
   --header-h so everything that is positioned under it stays where it was.
   ========================================================================== */
.site-header.hdr { position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); background: transparent; border: 0; backdrop-filter: none; box-shadow: none;
  display: flex; justify-content: center; align-items: flex-start; pointer-events: none; transition: none; }
.site-header.hdr.is-scrolled { background: transparent; border-color: transparent; }
.hdr-bar { pointer-events: auto; position: relative; display: flex; align-items: center; gap: var(--s4); width: 100%; max-width: 100%; height: var(--header-h);
  margin-top: 0; padding: 0 clamp(var(--s4), 3vw, var(--s6)); border: 1px solid transparent; border-radius: 0; background: transparent;
  transition: max-width 450ms var(--ease-out), height 450ms var(--ease-out), margin-top 450ms var(--ease-out), padding 450ms var(--ease-out),
    border-radius 450ms var(--ease-out), background-color 450ms var(--ease-out), border-color 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.site-header.hdr.is-scrolled:not(.is-menu-open) .hdr-bar { max-width: min(1360px, calc(100% - 32px)); width: max-content; height: 56px; margin-top: 10px; padding: 0 8px 0 14px;
  border-color: rgba(236, 232, 225, .12); border-radius: 14px; background: rgba(30, 29, 27, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
.site-header.hdr.is-menu-open .hdr-bar { background: rgba(30, 29, 27, .92); }
/* Logo stays visible when scrolled (the old header hid it); the tagline folds away in the floating bar. */
.site-header.hdr .logo, .site-header.hdr.is-scrolled .logo { opacity: 1; transform: none; pointer-events: auto; margin-right: auto; color: #f3efe6; }
.site-header.hdr.is-scrolled .logo-text small { display: none; }
.site-header.hdr.is-scrolled .logo-text strong { font-size: 1.1rem; }
.site-header.hdr.is-scrolled .logo-mark { width: 24px; height: 30px; }
.hdr-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.hdr-link { display: block; padding: 8px 11px; border-radius: 8px; color: #d9d5ca; font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 200ms, color 200ms; }
.hdr-link:hover { background: rgba(236, 232, 225, .08); color: #f5f2ec; }
.hdr-link[aria-current='page'] { background: rgba(236, 232, 225, .12); color: #f5f2ec; }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: var(--s2); }
.hdr-lang select { height: 36px; }
.site-header.hdr .icon-btn { color: #ece8de; }
.site-header.hdr .icon-btn:hover { background: rgba(236, 232, 225, .1); }
.hdr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 16px; border-radius: 8px; font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms, border-color 200ms, color 200ms; }
.hdr-btn-outline { border: 1px solid rgba(236, 232, 225, .3); color: #ece8e1; background: transparent; }
.hdr-btn-outline:hover { background: rgba(236, 232, 225, .08); border-color: rgba(236, 232, 225, .5); color: #f5f2ec; }
.hdr-btn-fill { border: 1px solid #e2ddd4; background: #e2ddd4; color: #1e1d1b; }
.hdr-btn-fill:hover { background: #f0ece5; border-color: #f0ece5; color: #1e1d1b; }
.hdr-desktop { display: none; }
/* Menu icon: three lines → X. */
.hdr-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(236, 232, 225, .3); border-radius: 8px; background: transparent; color: #ece8e1; cursor: pointer; }
.hdr-toggle:hover { background: rgba(236, 232, 225, .08); }
.hdr-toggle-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; overflow: visible; }
.hdr-toggle-icon path { transform-origin: 12px 12px; transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out); }
.is-menu-open .hdr-toggle-icon .l1 { transform: translateY(5px) rotate(45deg); }
.is-menu-open .hdr-toggle-icon .l2 { opacity: 0; transform: scaleX(.2); }
.is-menu-open .hdr-toggle-icon .l3 { transform: translateY(-5px) rotate(-45deg); }
/* Full-screen menu under the bar. */
.hdr-menu.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-drawer); display: none; pointer-events: auto; visibility: visible;
  background: rgba(30, 29, 27, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(236, 232, 225, .1); }
.hdr-menu.drawer.is-open { display: block; }
.hdr-menu-inner { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); height: 100%; overflow-y: auto; padding: var(--s4); animation: hdr-menu-in 260ms var(--ease-out); }
@keyframes hdr-menu-in { from { opacity: 0; transform: scale(.95); } }
.hdr-menu-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hdr-menu-links a { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border-radius: 8px; color: #ece8e1; font-size: 1.05rem; font-weight: 500; text-decoration: none; }
.hdr-menu-links a:hover, .hdr-menu-links a[aria-current='page'] { background: rgba(236, 232, 225, .08); color: #f5f2ec; }
.hdr-menu-foot { display: grid; gap: var(--s2); }
.hdr-menu-foot .hdr-btn { min-height: 46px; width: 100%; }
.hdr-menu-foot .lang-select select { width: 100%; }
@media (min-width: 1280px) {
  .hdr-links { display: flex; }
  .hdr-desktop { display: inline-flex; }
  .hdr-toggle { display: none; }
  .hdr-menu.drawer { display: none !important; }
}
/* Room is tight between 1280 and 1500: the shop button waits for wider screens. */
@media (min-width: 1280px) and (max-width: 1499px) { .hdr-shop { display: none; } }
@media (max-width: 639px) { .hdr-lang { display: none; } .site-header.hdr .logo-text small { display: none; } }
@media (prefers-reduced-motion: reduce) { .hdr-bar, .hdr-toggle-icon path { transition: none; } .hdr-menu-inner { animation: none; } }
/* Floating bar: compact (logo mark only) and solid enough to read over the white products section. */
.site-header.hdr.is-scrolled:not(.is-menu-open) .hdr-bar { background: rgba(30, 29, 27, .86); max-width: calc(100% - 32px); gap: var(--s3); }
.site-header.hdr.is-scrolled .logo-text { display: none; }
.site-header.hdr.is-scrolled .logo { margin-right: var(--s2); }
.site-header.hdr.is-scrolled .hdr-links { margin-right: auto; }
/* Header fit (set by app.js when the bar's contents overflow in a long language): mark-only logo, then the menu. */
.site-header.hdr.is-compact .logo-text { display: none; }
@media (min-width: 1280px) {
  .site-header.hdr.is-collapsed .hdr-links, .site-header.hdr.is-collapsed .hdr-desktop { display: none; }
  .site-header.hdr.is-collapsed .hdr-toggle { display: grid; }
  .site-header.hdr.is-collapsed .hdr-menu.drawer.is-open { display: block !important; }
  .site-header.hdr.is-collapsed .logo { margin-right: auto; }
}

/* Floating header: no language picker (owner, 2026-10-15); it stays in the full-width bar and in the menu. */
.site-header.hdr.is-scrolled:not(.is-menu-open) .hdr-lang { display: none; }

/* Engraving: the whole stone is visible, standing on the bottom edge of the section (owner, 2026-10-15). */
@media (min-width: 900px) {
  .etch-pin.is-pinned .engrave-figure { width: min(100%, calc((100dvh - var(--header-h) - 48px) * .747)); margin-bottom: 0; }
}

/* ── Customizer photo mode (TRIAL, owner, 2026-10-15): opened from the Classic white oval card. The whole left
   panel is light so the product photo's white background melts into it (multiply), the text is black, and the
   monument, view tabs, scale note and framing sliders are hidden. Granite keeps its own stone. To revert, set
   photoMode to false in src/routes/public.js. ── */
.cfg-photo-mode:not(.is-granite) .config-visual { background: #fcfbf9; }
.cfg-photo-mode:not(.is-granite) .config-title h1, .cfg-photo-mode:not(.is-granite) .breadcrumbs,
.cfg-photo-mode:not(.is-granite) .breadcrumbs a { color: #1b1c1a; }
.cfg-photo-mode:not(.is-granite) .preview-tabs, .cfg-photo-mode:not(.is-granite) .preview-tip,
.cfg-photo-mode:not(.is-granite) .framing { display: none !important; }
.cfg-photo-mode:not(.is-granite) .preview-stage { visibility: hidden; }
.cfg-photo-mode:not(.is-granite) .preview-stage::after { display: none; }
.cfg-photo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cfg-photo img { width: auto; height: 92%; max-width: 88%; object-fit: contain; mix-blend-mode: multiply; animation: mon-rise 1100ms var(--ease-out) backwards 120ms; }
.cfg-photo-mode.is-granite .cfg-photo, .configurator:not(.cfg-photo-mode) .cfg-photo { display: none; }
/* Porcelain / granite switch on the light panel: dark glider, light text on the selected side. */
.cfg-photo-mode:not(.is-granite) .mode-switch { background: rgba(27, 28, 26, .06); box-shadow: inset 0 1px 2px rgba(27, 28, 26, .1); }
.cfg-photo-mode:not(.is-granite) .mode-switch button { color: #5b5f58; }
.cfg-photo-mode:not(.is-granite) .mode-switch button:hover { color: #1b1c1a; }
.cfg-photo-mode:not(.is-granite) .mode-switch button[aria-checked='true'] { color: #f5f2ec; }
.cfg-photo-mode:not(.is-granite) .mode-switch-glider { background: #1b1c1a; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
/* Photo mode: the oval fits inside the visible panel (the preview card itself runs below the screen edge). */
.cfg-photo { align-items: start; padding-top: var(--s3); }
.cfg-photo img { height: auto; max-height: calc(100dvh - var(--chrome, var(--header-h)) - 210px); max-width: 82%; }
/* Photo mode, TRIAL: the photo follows the chosen size (app sets --sx / --sy) and glides between sizes,
   standing on its base. Revert: delete these two rules (and renderPhotoSize in configurator.js). */
.cfg-photo { align-items: end; padding: 0 0 clamp(var(--s5), 5vh, var(--s7)); }
.cfg-photo img { transform: scale(var(--sx, 1), var(--sy, 1)); transform-origin: 50% 100%; transition: transform 550ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .cfg-photo img { transition: none; } }
/* (Photo changes fade out → in from configurator.js.) */
.cfg-photo img { transition: transform 550ms var(--ease-out); }

/* Bold text inside already-bold labels asked for weight 900, which Manrope isn't loaded in (the browser faked it).
   Use the heaviest real weight instead. */
.configurator strong, .configurator b { font-weight: 800; }
/* Photo mode: smaller sizes scale towards the middle (app sets --oy, 35% for the smallest → 100% for the largest). */
.cfg-photo img { transform-origin: 50% var(--oy, 100%); transition: transform 550ms var(--ease-out), transform-origin 550ms var(--ease-out); }

/* ── Customizer: options as a floating window (owner, 2026-10-15) ──
   Desktop: the right column narrows to ~460px; the light background (dark on the granite side) runs under it and
   the dark options panel floats over it — inset by a margin, rounded, with a soft shadow. The product gets the rest. */
@media (min-width: 1024px) {
  .cfg-split { grid-template-columns: minmax(0, 1fr) clamp(420px, 32vw, 480px); background: #1f1e1c; }
  .cfg-split.cfg-photo-mode:not(.is-granite) { background: #fcfbf9; }
  .cfg-split .config-controls { margin: var(--s4) var(--s4) var(--s4) 0; border-radius: 22px; overflow: clip;
    padding: var(--s4) clamp(var(--s4), 1.8vw, var(--s5)); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05); }
  .cfg-split.cfg-photo-mode:not(.is-granite) .config-controls { box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45), 0 0 0 1px rgba(27, 28, 26, .06); }
  .cfg-split .config-controls form { max-width: none; }
  /* Narrower window: five size chips per row so the sizes still read clearly. */
  .cfg-split [data-size-list] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-height: 860px) { .cfg-split .config-controls { margin-block: var(--s3); padding-block: var(--s3); } }
@media (min-width: 1024px) and (max-height: 780px) { .cfg-split .config-controls { margin-block: 8px; padding-block: 6px; } }
/* Floating window: a little tighter so everything still fits one screen in the narrower panel. */
@media (min-width: 1024px) {
  .cfg-split .config-controls { margin: 12px 12px 12px 0; padding-block: 12px; }
  .cfg-split [data-size-list] .size-chip { min-height: 42px; }
  .cfg-split [data-size-list] { row-gap: 8px; }
  .cfg-split #photo-help { font-size: .75rem; line-height: 1.35; margin-top: 4px; }
  .cfg-split .instructions-toggle summary > span:not(.num) { font-size: .82rem; }
}
/* Short laptop screens (≤ 860px tall): the window is a little wider with six size chips per row, so long
   languages (Greek, Bulgarian) still fit one screen. */
@media (min-width: 1024px) and (max-height: 860px) {
  .cfg-split { grid-template-columns: minmax(0, 1fr) clamp(500px, 38vw, 580px); }
  .cfg-split [data-size-list] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cfg-split #photo-help { font-size: .7rem; line-height: 1.3; }
}

/* ── Customizer, round 3 (owner, 2026-10-15) ── */
/* The options window ~15% wider. */
@media (min-width: 1024px) { .cfg-split { grid-template-columns: minmax(0, 1fr) clamp(480px, 37vw, 550px); } }
@media (min-width: 1024px) and (max-height: 860px) { .cfg-split { grid-template-columns: minmax(0, 1fr) clamp(550px, 42vw, 640px); } }
/* Step headings in the same type as the "Porcelain portrait" heading: bold, tight, normal capitalisation. */
.cfg-split .config-step-head h2, .cfg-split .instructions-toggle summary > span:not(.num), .cfg-split .qty-label {
  font-family: var(--font-sans); font-weight: 800; text-transform: none; letter-spacing: -.02em; font-size: 1.1rem; line-height: 1.15; }
.cfg-split .instructions-toggle summary .opt { font-size: .8rem; font-weight: 500; letter-spacing: 0; }
/* Two picture slots under the product (empty for now): short black lines that rise into boxes when the cursor is near. */

/* Picture boxes are buttons now: empty ones are inert; ones with a picture show it (black frame, light inside),
   can be clicked, and the chosen one has a gold ring. Keyboard focus opens them too. */

/* Picture arrows on both sides of the product (same look as the catalogue's square arrows). */
.cfg-view-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid #1b1c1a; border-radius: 0; background: transparent; color: #1b1c1a; cursor: pointer; transition: background-color 200ms, color 200ms, opacity 200ms; }
.cfg-view-arrow.is-prev { left: clamp(var(--s4), 3vw, var(--s7)); }
.cfg-view-arrow.is-next { right: clamp(var(--s4), 3vw, var(--s7)); }
.cfg-view-arrow:hover:not(:disabled) { background: #1b1c1a; color: #f5f2ec; }
.cfg-view-arrow:disabled { opacity: .3; cursor: default; }
.cfg-view-arrow:focus-visible { outline: 2px solid #1b1c1a; outline-offset: 2px; }
.is-granite .cfg-view-arrow { display: none; }

/* Granite side of the customizer on the same light background as porcelain (owner, 2026-10-15); the stone stays black. */
@media (min-width: 1024px) { .cfg-split.cfg-photo-mode.is-granite { background: #fcfbf9; } }
.cfg-photo-mode.is-granite .config-visual { background: #fcfbf9; }
.cfg-photo-mode.is-granite .config-title h1, .cfg-photo-mode.is-granite .breadcrumbs, .cfg-photo-mode.is-granite .breadcrumbs a { color: #1b1c1a; }
.cfg-photo-mode.is-granite .mode-switch { background: rgba(27, 28, 26, .06); box-shadow: inset 0 1px 2px rgba(27, 28, 26, .1); }
.cfg-photo-mode.is-granite .mode-switch button { color: #5b5f58; }
.cfg-photo-mode.is-granite .mode-switch button:hover { color: #1b1c1a; }
.cfg-photo-mode.is-granite .mode-switch button[aria-checked='true'] { color: #f5f2ec; }
.cfg-photo-mode.is-granite .mode-switch-glider { background: #1b1c1a; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
@media (min-width: 1024px) { .cfg-split.cfg-photo-mode.is-granite .config-controls { box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45), 0 0 0 1px rgba(27, 28, 26, .06); } }
.cfg-photo-mode.is-granite .preview-stage::after { display: none; } /* no cursor glow on the light panel */

/* ==========================================================================
   LIGHT PAGES (owner, 2026-10-15): every page except the landing page takes the customizer's colours —
   light porcelain background, black text, and the dark panels as dark (floating) windows. The header and
   footer stay dark. The light palette is applied inside <main> only; dark windows get the dark palette back.
   To revert: delete this block (and the page-light class in partials/top.ejs).
   ========================================================================== */
body.page-light { background: #fcfbf9; background-image: none; }
.page-light main {
  color-scheme: light;
  --ink: #1b1c1a; --ink-2: #353733; --muted: #5b5f58; --line: #e4e1d9; --line-strong: #cbc6bb;
  --bg: #fcfbf9; --paper: #f5f3ef; --paper-2: #efece6; --paper-3: #e7e3dc;
  --green: #1b1c1a; --green-hover: #33312d; --green-tint: #ebe8e2;
  --gold-ink: #7a5e1f; --gold-tint: #f6efdc;
  --error: #b42318; --error-tint: #fdeceb; --error-line: #f1b4ad;
  --success: #1d6b40; --success-tint: #e5f2e9; --warning: #7d4f00; --warning-tint: #fcf1dc; --info: #1e4a72; --info-tint: #e8f0f8;
  --shadow-sm: 0 1px 2px rgba(27, 28, 26, .06); --shadow: 0 6px 24px -8px rgba(27, 28, 26, .18), 0 2px 6px rgba(27, 28, 26, .05); --shadow-lg: 0 20px 50px -18px rgba(27, 28, 26, .35);
  --dk-panel: #fcfbf9; --dk-card: #f5f3ef; --dk-input: #fdfcfa; --cream: #fcfbf9;
  --forest: #1b1c1a; --on-forest-dark: #ece8e1;
  color: var(--ink); background: #fcfbf9; }
/* The dark windows keep the dark palette. */
.page-light main :is(.config-controls, .contact-info, .cart-side, .auth-aside, .account-nav) {
  color-scheme: dark;
  --ink: #ece8e1; --ink-2: #cdc8bf; --muted: #a29d93; --line: #3a3834; --line-strong: #55524c;
  --bg: #1e1d1b; --paper: #272623; --paper-2: #2f2d2a; --paper-3: #383633;
  --green: #5f5a53; --green-hover: #736d65; --green-tint: #33312d; --gold-ink: #d6b56c; --gold-tint: #3a3224;
  --error: #f19a8f; --error-tint: #3b2220; --error-line: #7a3a33; --success: #8fd0a6; --success-tint: #1f3326;
  --warning: #e6c06e; --warning-tint: #3a311d; --info: #9cc3ea; --info-tint: #1f2c3a;
  --dk-card: rgba(255, 250, 240, .045); --dk-input: rgba(255, 250, 240, .06); --forest: #ece8e1; }
.page-light main a:not(.btn):not(.cart-checkout):not(.shelf-shop) { color: var(--ink); }
.page-light main .btn-primary:hover, .page-light main .pw-btn:hover, .page-light main .pcard-btn:hover { color: #f5f2ec; }
.page-light main .btn-light { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.page-light main .btn-outline-light { --fg: var(--ink); --bd: var(--line-strong); }
.page-light main .btn-outline-light:hover { --bg: var(--paper-2); color: var(--ink); }
.page-light main select option { background: #fdfcfa; color: #1b1c1a; }
.page-light .img-placeholder { background: radial-gradient(circle at 35% 30%, #f5f3ef, #e7e3dc 70%); color: #b9a77a; }
.page-light main .alert-success { border-color: #b9dcc5; color: #164d2f; } .page-light main .alert-warning { border-color: #efd7a4; color: #5c3a00; } .page-light main .alert-info { border-color: #c4d6ea; color: #173a5a; }
.page-light main .cta-band { background: #1e1d1b; color: #e8e4dc; } .page-light main .cta-band h2 { color: #f2efe9; } .page-light main .cta-band p { color: #cdc8bf; }
.page-light main .lang-select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b1c1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
/* Header: dark bar at the top of light pages too (it is transparent there otherwise). */
.page-light:not(.hdr-over) .site-header.hdr:not(.is-scrolled) .hdr-bar { background: #2a2928; } /* the landing page's lighter charcoal behind its header (owner, 2026-10-31; was #1e1d1b) */

/* Two-panel pages: light side + dark side as a floating window (like the customizer). */
@media (min-width: 900px) {
  .page-light .cart-split, .page-light .auth-split, .page-light .contact-split { background: #fcfbf9; }
  .page-light .cart-side, .page-light .auth-aside, .page-light .contact-info { margin: 12px; border-radius: 22px; overflow: clip;
    box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45), 0 0 0 1px rgba(27, 28, 26, .06); }
  .page-light .cart-side { margin-left: 0; } .page-light .auth-aside, .page-light .contact-info { margin-right: 0; }
}
.page-light .cart-main, .page-light .auth-main, .page-light .contact-form-panel, .page-light .cart-empty-panel { background: #fcfbf9; }
.page-light .account-layout .card, .page-light .cart-split .cart-item, .page-light .checkout-split .checkout-section, .page-light .auth-split .auth-card, .page-light .contact-card {
  background: #f5f3ef; box-shadow: 0 0 0 1px rgba(27, 28, 26, .06), 0 18px 40px -30px rgba(60, 45, 20, .35); border-color: transparent; }
.page-light .spec-chips li { border-color: rgba(27, 28, 26, .18); background: rgba(27, 28, 26, .04); color: #353733; }
.page-light .cart-split .instructions { background: rgba(27, 28, 26, .04); }
.page-light .cart-empty-icon { background: rgba(27, 28, 26, .06); color: #1b1c1a; }
.page-light .cart-continue, .page-light .cart-photo, .page-light .cart-action, .page-light .cart-empty-inner p, .page-light .checkout-guest { color: #5b5f58; }
.page-light .checkout-split .checkout-section h2 .num { border-color: rgba(27, 28, 26, .4); }
.page-light .checkout-split .option:has(input:checked) { border-color: #1b1c1a; box-shadow: 0 0 0 1px #1b1c1a; background: rgba(27, 28, 26, .03); }
.page-light .checkout-split .option .radio-dot::after, .page-light main .option .radio-dot::after { background: #1b1c1a; }
.page-light main .check input, .page-light .checkout-split .check input, .page-light .auth-split .check input { accent-color: #1b1c1a; }
.page-light main .input:focus, .page-light main .select:focus, .page-light main .textarea:focus { border-color: #1b1c1a; box-shadow: 0 0 0 3px rgba(27, 28, 26, .1); }
.page-light .account-layout .empty-state { border-color: var(--line-strong); background: rgba(27, 28, 26, .02); }
.page-light .account-nav a[aria-current='page'] { color: #1e1d1b; }
/* These containers set their own colour variables (dark theme); on light pages their light parts need the light ones. */
.page-light :is(.cart-split, .cart-empty-panel, .auth-split, .contact-split), body.page-light:has(.account-layout) main {
  --forest: #1b1c1a; --cream: #fcfbf9; --on-forest: #ece8e1; --on-forest-2: rgba(236, 232, 225, .72); --on-forest-line: rgba(236, 232, 225, .16); }
body.page-light:has(.account-layout) main { background: #fcfbf9; }

/* ── Customizer window as smoked glass (owner, 2026-10-15) ──
   Two soft glows (warm gold, warm grey) drift slowly behind the options window; the window is a ~90% dark tint
   with a frosted blur, a light edge highlight and a faint inner glow, so the glows show through blurred.
   Desktop only (on phones the window stacks below the product). To revert: delete this block. */
@media (min-width: 1024px) {
  .cfg-split { position: relative; overflow: clip; isolation: isolate; }
  .cfg-split::before, .cfg-split::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(8px); }
  .cfg-split::before { width: 340px; height: 340px; right: clamp(120px, 14vw, 260px); top: 6%;
    background: radial-gradient(circle, rgba(214, 181, 108, .75), rgba(214, 181, 108, 0) 68%); animation: glass-drift-a 16s ease-in-out infinite alternate; }
  .cfg-split::after { width: 420px; height: 420px; right: -60px; bottom: -40px;
    background: radial-gradient(circle, rgba(126, 116, 100, .7), rgba(126, 116, 100, 0) 68%); animation: glass-drift-b 20s ease-in-out infinite alternate; }
  .cfg-split .config-visual { z-index: 1; }
  .cfg-split .config-controls { z-index: 2; background: rgba(20, 19, 18, .9) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5) !important; }
  /* A soft sheen across the top of the glass. */
  .cfg-split .config-controls::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none; z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); border-radius: inherit; }
}
@keyframes glass-drift-a { to { transform: translate(-70px, 60px) scale(1.12); } }
@keyframes glass-drift-b { to { transform: translate(-90px, -80px) scale(.92); } }
@media (prefers-reduced-motion: reduce) { .cfg-split::before, .cfg-split::after { animation: none; } }

/* Porcelain / granite switch in the same smoked glass as the options window (owner, 2026-10-15): dark ~90% tint,
   frosted blur, light edge highlight; the selected side is a lighter pane of glass sliding inside it. */
.cfg-photo-mode .mode-switch, .cfg-photo-mode:not(.is-granite) .mode-switch, .cfg-photo-mode.is-granite .mode-switch {
  background: rgba(20, 19, 18, .9); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 30px rgba(255, 255, 255, .03), 0 14px 30px -18px rgba(40, 30, 15, .55); }
.cfg-photo-mode .mode-switch button, .cfg-photo-mode:not(.is-granite) .mode-switch button, .cfg-photo-mode.is-granite .mode-switch button { color: #f5f2ec; } /* unselected: bright, the glass pane marks the chosen one */
.cfg-photo-mode .mode-switch button:hover, .cfg-photo-mode:not(.is-granite) .mode-switch button:hover, .cfg-photo-mode.is-granite .mode-switch button:hover { color: #ece8e1; }
.cfg-photo-mode .mode-switch button[aria-checked='true'], .cfg-photo-mode:not(.is-granite) .mode-switch button[aria-checked='true'], .cfg-photo-mode.is-granite .mode-switch button[aria-checked='true'] { color: #f5f2ec; }
.cfg-photo-mode .mode-switch-glider, .cfg-photo-mode:not(.is-granite) .mode-switch-glider, .cfg-photo-mode.is-granite .mode-switch-glider {
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 14px -8px rgba(0, 0, 0, .7); }
/* Switch, revised (owner, 2026-10-16): the unselected part is bright frosted glass, almost white; only the selected
   side is the dark smoked glass (the glider), with light text. Unselected label dark on the light glass. */
.cfg-photo-mode .mode-switch, .cfg-photo-mode:not(.is-granite) .mode-switch, .cfg-photo-mode.is-granite .mode-switch {
  background: rgba(250, 248, 244, .88); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(27, 28, 26, .05), 0 10px 26px -16px rgba(40, 30, 15, .4), 0 0 0 1px rgba(27, 28, 26, .06); }
.cfg-photo-mode .mode-switch button, .cfg-photo-mode:not(.is-granite) .mode-switch button, .cfg-photo-mode.is-granite .mode-switch button { color: #353733; }
.cfg-photo-mode .mode-switch button:hover, .cfg-photo-mode:not(.is-granite) .mode-switch button:hover, .cfg-photo-mode.is-granite .mode-switch button:hover { color: #1b1c1a; }
.cfg-photo-mode .mode-switch button[aria-checked='true'], .cfg-photo-mode:not(.is-granite) .mode-switch button[aria-checked='true'], .cfg-photo-mode.is-granite .mode-switch button[aria-checked='true'] { color: #f5f2ec; }
.cfg-photo-mode .mode-switch-glider, .cfg-photo-mode:not(.is-granite) .mode-switch-glider, .cfg-photo-mode.is-granite .mode-switch-glider {
  background: rgba(20, 19, 18, .9); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 18px -10px rgba(0, 0, 0, .6); }

/* Shape list: icon | name | size count on one even line in every language (owner, 2026-10-16) — the list may grow
   wider than its button for long names (Bulgarian "Правоъгълник"), counts stay right-aligned in their own column. */
.listbox-popup { right: auto; min-width: 100%; width: max-content; max-width: min(92vw, 420px); }
.listbox-option { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: var(--s3); align-items: center; white-space: nowrap; }
.listbox-option > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.listbox-option .meta { margin-left: var(--s4); text-align: right; font-variant-numeric: tabular-nums; }
/* Switch: a clearly visible edge on the light page (owner, 2026-10-16). */
.cfg-photo-mode .mode-switch, .cfg-photo-mode:not(.is-granite) .mode-switch, .cfg-photo-mode.is-granite .mode-switch {
  border-color: rgba(27, 28, 26, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 1px 2px rgba(27, 28, 26, .12), 0 6px 14px -6px rgba(27, 28, 26, .28), 0 18px 34px -18px rgba(40, 30, 15, .45); }

/* Options window: more air and an even rhythm (owner, 2026-10-16). Every section gets the same padding, headings and
   labels get a little room below them, help text sits quieter. Short screens (≤ 860px tall) keep the tighter
   spacing so everything still fits one screen; tall screens get a bit more. Nothing is removed. */
@media (min-width: 1024px) and (min-height: 861px) {
  .cfg-split .config-controls .config-step, .cfg-split .config-controls .config-step[data-step] { padding-block: 12px; }
  .cfg-split .add-cta-wrap { padding-top: 14px; }
  .cfg-split .config-step-head { margin-bottom: 10px; }
  .cfg-split .config-row { row-gap: 12px; }
  .cfg-split .config-row > .field > .label, .cfg-split .config-row > .field > label, .cfg-split .size-field legend { margin-bottom: 6px; }
  .cfg-split .size-field { margin-top: 10px; }
  .cfg-split [data-size-list] { row-gap: 8px; }
  .cfg-split #photo-help { margin-top: 8px; color: var(--on-forest-2); }
  .cfg-split .segment-group, .cfg-split [data-color-list] { gap: 10px; }
}
@media (min-width: 1024px) and (min-height: 980px) {
  .cfg-split .config-controls .config-step, .cfg-split .config-controls .config-step[data-step] { padding-block: 16px; }
  .cfg-split .config-step-head { margin-bottom: 12px; }
}
@media (min-width: 1024px) and (min-height: 861px) and (max-height: 979px) {
  .cfg-split .config-controls .config-step, .cfg-split .config-controls .config-step[data-step] { padding-block: 10px; }
  .cfg-split .config-step-head { margin-bottom: 8px; }
  .cfg-split .size-field { margin-top: 8px; }
}
/* Mid-height screens (861–979px, e.g. 1440×900): the wider window and six size buttons per row too, so long languages
   (Greek, Bulgarian) fit one screen with the roomier spacing. */
@media (min-width: 1024px) and (min-height: 861px) and (max-height: 979px) {
  .cfg-split { grid-template-columns: minmax(0, 1fr) clamp(550px, 42vw, 640px); }
  .cfg-split [data-size-list] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cfg-split #photo-help { font-size: .72rem; line-height: 1.35; }
}

/* ==========================================================================
   GLASS BUTTONS (owner, 2026-10-16): every button in glass, matching the options window and the switch.
   Dark buttons → smoked glass; light buttons → bright frosted glass; outline buttons on dark → clear glass
   (on the light pages they turn into bright frosted glass with dark text). To revert: delete this block.
   ========================================================================== */
:root { --glass-blur: blur(16px) saturate(150%); }
/* Smoked glass (dark buttons). */
body .btn.btn-primary, body .btn.btn-dark, body .pw-btn, body .pcard-btn, body .showcase-band a.shelf-shop.shelf-shop, body .page-light main .btn.btn-primary {
  --bg: rgba(22, 21, 19, .82); --fg: #f5f2ec; --bd: rgba(255, 255, 255, .14);
  background: rgba(22, 21, 19, .82); color: #f5f2ec; border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 20px -12px rgba(0, 0, 0, .55); }
body .btn.btn-primary:hover, body .btn.btn-dark:hover, body .pw-btn:hover, body .pcard-btn:hover, body .showcase-band a.shelf-shop.shelf-shop:hover, body .page-light main .btn.btn-primary:hover {
  --bg: rgba(44, 42, 39, .9); background: rgba(44, 42, 39, .9); color: #f5f2ec; }
/* Bright frosted glass (light buttons). */
body .btn.btn-light, body .hdr-btn.hdr-btn-fill, body .cfg-split .add-cta, body .cart-checkout, body .btn.engrave-cta {
  --bg: rgba(250, 248, 244, .8); --fg: #1b1c1a; --bd: rgba(255, 255, 255, .75);
  background: rgba(250, 248, 244, .8); background-image: none; color: #1b1c1a; border: 1px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(27, 28, 26, .06), 0 10px 24px -14px rgba(0, 0, 0, .45); }
body .btn.btn-light:hover, body .hdr-btn.hdr-btn-fill:hover, body .cfg-split .add-cta:hover, body .cart-checkout:hover, body .btn.engrave-cta:hover {
  --bg: rgba(255, 253, 249, .92); background: rgba(255, 253, 249, .92); background-image: none; color: #1b1c1a; }
/* Clear glass (outline buttons on dark backgrounds). */
body .btn.btn-outline-light, body .hdr-btn.hdr-btn-outline, body .btn.engrave-round, body .hdr-toggle {
  --bg: rgba(255, 255, 255, .08); --fg: #f2efe9; --bd: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08); color: #f2efe9; border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -14px rgba(0, 0, 0, .5); }
body .btn.btn-outline-light:hover, body .hdr-btn.hdr-btn-outline:hover, body .btn.engrave-round:hover, body .hdr-toggle:hover {
  --bg: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .16); color: #f5f2ec; }
/* Light pages: secondary/outline buttons as bright frosted glass with dark text (not inside the dark windows). */
body .page-light main .btn:not(.btn-primary):not(.btn-dark):not(.btn-ghost):not(.btn-danger):not(:is(.config-controls, .cart-side, .auth-aside, .account-nav, .contact-info) *),
body .page-light main .btn.btn-outline-light:not(:is(.config-controls, .cart-side, .auth-aside, .account-nav, .contact-info) *) {
  --bg: rgba(255, 253, 249, .7); --fg: #1b1c1a; --bd: rgba(27, 28, 26, .16);
  background: rgba(255, 253, 249, .7); color: #1b1c1a; border: 1px solid rgba(27, 28, 26, .16);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 20px -14px rgba(40, 30, 15, .35); }
body .page-light main .btn:not(.btn-primary):not(.btn-dark):not(.btn-ghost):not(.btn-danger):not(:is(.config-controls, .cart-side, .auth-aside, .account-nav, .contact-info) *):hover {
  --bg: rgba(255, 255, 255, .9); background: rgba(255, 253, 249, .95); color: #1b1c1a; }
/* Customizer picture arrows: bright frosted glass on the light panel. */
body .cfg-view-arrow { background: rgba(255, 253, 249, .75); color: #1b1c1a; border: 1px solid rgba(27, 28, 26, .18);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 6px 16px -10px rgba(40, 30, 15, .4); }
body .cfg-view-arrow:hover:not(:disabled) { background: rgba(22, 21, 19, .85); color: #f5f2ec; }

/* Landing restoration, three steps (owner, 2026-10-16): square frame, no oval. The restored and colour photos sit
   on top of the raw scan and are revealed right-to-left by their own wipe (--p1, --p2, set by app.js). */

/* Divider and handle only while a wipe is running. */

/* Step indicator: 1-2-3 dots joined by a line, then the current step as a large title (cross-fades). */

.resto-step-dots { display: flex; align-items: center; gap: 0; margin: 0 0 var(--s3); padding: 0; list-style: none; }
.resto-step-dots li { display: flex; align-items: center; }
.resto-step-dots li + li::before { content: ''; width: 44px; height: 1px; background: rgba(243, 239, 230, .22); transition: background 400ms var(--ease-out); }
.resto-step-dots li.is-on + li.is-on::before { background: #e7cf8f; }
/* Each number is a button (slides the photo to that step); the hit area extends past the 34px circle. */
.resto-step-dots button { position: relative; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid rgba(243, 239, 230, .3);
  background: transparent; color: rgba(243, 239, 230, .6); font: inherit; font-size: var(--fs-xs); font-weight: 700; cursor: pointer;
  transition: background 400ms var(--ease-out), color 400ms var(--ease-out), border-color 400ms var(--ease-out), transform 200ms var(--ease-out); }
.resto-step-dots button::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
.resto-step-dots button:hover { border-color: #e7cf8f; color: #f3efe6; transform: scale(1.06); }
.resto-step-dots button:focus-visible { outline: 2px solid #e7cf8f; outline-offset: 3px; }
.resto-step-dots li.is-on button { border-color: #e7cf8f; color: #e7cf8f; }
.resto-step-dots li.is-current button { background: #e7cf8f; color: #1b1a18; }
/* Released (colour reached or a step clicked): same one-screen layout, but no tall track and no sticking. */
.resto-pin.is-pinned.is-done .resto-track { height: auto; }
.resto-pin.is-pinned.is-done .resto-sticky { position: relative; top: auto; }
.resto-step-title { display: grid; margin: 0; color: #f3efe6; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.resto-step-title span { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.resto-step-title span.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .resto-step-title span { transition: none; transform: none; } }

/* Close (X) on warnings: the summary box and each message under an option (owner, 2026-10-16). */
.alert-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -6px -8px -6px auto; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; opacity: .7; cursor: pointer; transition: opacity 160ms var(--ease-out), background 160ms var(--ease-out); }
.alert-close:hover { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
.alert-close:focus-visible { opacity: 1; outline: 2px solid currentColor; outline-offset: 1px; }
.alert-close .icon { width: 16px; height: 16px; margin: 0; }
.field-error .alert-close { width: 24px; height: 24px; margin: -3px 0 -3px 2px; }
.field-error .alert-close .icon { width: 14px; height: 14px; margin: 0; }

/* Granite "Other size" (owner, 2026-10-17): a 5th chip spanning the rest of the row, then width × height fields. */

.gsize-other { margin-top: var(--s3); }
.gsize-other[hidden] { display: none; }
.gsize-other-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: var(--s2); }
.gsize-other-fields .field { margin: 0; min-width: 0; }
.gsize-other-fields input { width: 100%; }
.gsize-other-x { padding-bottom: 12px; opacity: .6; }
.gsize-other .hint { margin: 6px 0 0; }
.granite-intro { margin: -4px 0 var(--s3); }

/* Granite "Other size" fields: identical to the contact fields below (dark glass box, soft label), with "cm" inside
   the box and no number spinners. */
.cfg-split .gsize-other .input { background: rgba(255, 250, 240, .06); border-color: rgba(236, 232, 225, .28); padding-right: 44px; -moz-appearance: textfield; appearance: textfield; }
.cfg-split .gsize-other .input::-webkit-outer-spin-button, .cfg-split .gsize-other .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cfg-split .gsize-other .input::placeholder { color: rgba(236, 232, 225, .3); }
.cfg-split .gsize-other label { display: block; margin-bottom: 6px; color: rgba(236, 232, 225, .72); font-size: var(--fs-sm); font-weight: 600; }
.input-unit { position: relative; }
.input-unit > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgba(236, 232, 225, .5); font-size: var(--fs-sm); font-weight: 600; }
.cfg-split .gsize-other-x { padding-bottom: 13px; color: rgba(236, 232, 225, .5); }
@media (min-width: 1024px) and (max-height: 780px) { .cfg-split .gsize-other .input { min-height: 40px; height: 40px; } .cfg-split .gsize-other-x { padding-bottom: 10px; } }

/* Granite side, one screen with "Other size" open (owner, 2026-10-17): the Oval / Rectangle toggle sits beside the
   step heading, and the four sizes plus "Other size" share one row. */
.cfg-split .gstep-head { display: flex; align-items: center; gap: var(--s3); }
.cfg-split .gstep-head .gshape-field { margin: 0 0 0 auto; padding: 0; border: 0; min-width: 0; flex: none; }
.cfg-split .gstep-head .gshape-list { padding-top: 0; grid-template-columns: repeat(2, auto); gap: 6px; }
.cfg-split .gstep-head .gshape-chip { min-height: 34px; padding: 4px 14px; }

.cfg-split .gsize-other { margin-top: var(--s2); }
.cfg-split .granite-intro { margin: 0 0 var(--s2); }

@media (min-width: 1024px) and (max-height: 780px) {
  .cfg-split .gsize-other label { margin-bottom: 3px; }
  .cfg-split .gsize-other .hint { margin-top: 3px; }
  .cfg-split .granite-intro { margin-bottom: 4px; }
  .cfg-split .gsize-other { margin-top: 6px; }
}

/* "Illustration to scale — about this preview": same pill as the "Select a size" label (owner, 2026-10-17: the
   light-page text colour made it dark on dark). */
body .configurator .preview-tip > .tip-trigger { background: rgba(22, 21, 19, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #f5f2ec; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
body .configurator .preview-tip > .tip-trigger .icon { color: #f5f2ec; }
body .configurator .preview-tip > .tip-trigger:hover, body .configurator .preview-tip[open] > .tip-trigger { background: rgba(22, 21, 19, .9); color: #f5f2ec; }

/* Preview note as a slim bar along the bottom row (owner, 2026-10-17): it opens to the right of the pill, on the
   same line as the pills (where the stone is already cut off), so it never covers the portrait. The "Select a size"
   pill steps aside while it is open. Desktop layout only; narrower screens keep the small box above the pill. */
@media (min-width: 1024px) {
  .cfg-split .config-visual { container-type: inline-size; }
  .cfg-split .preview-tip .tip-panel { top: auto; bottom: 0; left: calc(100% + 8px); width: auto; max-width: calc(100cqw - 100% - 8px);
    padding: 6px 14px; border-radius: 14px; background: rgba(22, 21, 19, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: #f5f2ec; font-size: 13px; line-height: 1.4; box-shadow: none; transform-origin: left center; white-space: normal; }
  .cfg-split .preview-tip .tip-panel p { width: max-content; max-width: 100%; }
  .cfg-split [data-size-label] { transition: opacity 200ms var(--ease-out); }
  .cfg-split .config-visual:has(.preview-tip[open]) [data-size-label] { opacity: 0; }
}
@media (min-width: 1024px) {
  /* While open the pill shrinks to its icon (still the toggle), so the note gets the whole row: two short lines. */
  .cfg-split .preview-tip[open] > .tip-trigger > span { display: none; }
  .cfg-split .preview-tip[open] > .tip-trigger { padding-inline: 8px; }
}

/* Cart and checkout summary as the customizer's options window (owner, 2026-10-17): the same smoked glass (~90% dark
   tint, frosted blur, light edge, inner glow, top sheen) over the same two slowly drifting warm glows, and the
   summary centred in the window both ways ("safe": a long checkout summary starts at the top instead of being cut).
   Desktop only, like the customizer. To revert: delete this block. */
@media (min-width: 1024px) {
  .page-light .cart-split { position: relative; overflow: clip; isolation: isolate; }
  .page-light .cart-split::before, .page-light .cart-split::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(8px); }
  .page-light .cart-split::before { width: 340px; height: 340px; right: clamp(120px, 14vw, 260px); top: 6%;
    background: radial-gradient(circle, rgba(214, 181, 108, .75), rgba(214, 181, 108, 0) 68%); animation: glass-drift-a 16s ease-in-out infinite alternate; }
  .page-light .cart-split::after { width: 420px; height: 420px; right: -60px; bottom: -40px;
    background: radial-gradient(circle, rgba(126, 116, 100, .7), rgba(126, 116, 100, 0) 68%); animation: glass-drift-b 20s ease-in-out infinite alternate; }
  .page-light .cart-split > .cart-main { position: relative; z-index: 1; }
  .page-light .cart-split .cart-side { z-index: 2; display: flex; align-items: safe center; justify-content: center;
    background: rgba(20, 19, 18, .9); background-image: none;
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5); }
  .page-light .cart-split .cart-side::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none; z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); border-radius: inherit; }
  .page-light .cart-split .cart-side-inner { width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .page-light .cart-split::before, .page-light .cart-split::after { animation: none; } }
@media (min-width: 1024px) {
  /* One screen tall and kept in view while a long checkout form scrolls (like the customizer window), so the
     centred summary is always visible; a summary taller than the window scrolls inside it. */
  .page-light .cart-split .cart-side { position: sticky; top: calc(var(--header-h) + 12px); align-self: start;
    height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(236, 232, 225, .2) transparent; }
  .page-light .cart-split .cart-side-inner { position: relative; top: auto; }
}

/* Cart and checkout as a fixed one-screen layout (owner, 2026-10-17): the dark summary window never moves and is
   always fully visible; only the left side scrolls (inside its own area). No site footer on these two pages; the
   header stays. Desktop only. To revert: delete this block. */
@media (min-width: 1024px) {
  body:has(main > .cart-split:not([hidden])) { height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
  body:has(main > .cart-split:not([hidden])) > main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  body:has(main > .cart-split:not([hidden])) > .site-footer { display: none; }
  .page-light main > .cart-split { flex: 1 1 auto; min-height: 0; height: auto; }
  .page-light main > .cart-split > .cart-main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 24px; }
  .page-light main > .cart-split .cart-side { position: relative; top: auto; align-self: stretch; height: auto; }
}
@media (min-width: 1024px) { .page-light main > .cart-split .cart-side { padding-block: var(--s6); } }
@media (min-width: 1024px) and (max-height: 820px) {
  /* Short laptop screens: a little less air so the whole checkout summary fits the window without scrolling. */
  .page-light main > .cart-split .cart-side { padding-block: var(--s4); }
  .page-light main > .cart-split .cart-side-inner { gap: 10px; }
}

/* ── Customizer, minimal pass (owner, 2026-10-17: "the summary's minimal premium feel") ──
   Same language as the cart/checkout summary, on both the porcelain and the granite side: no gold, small spaced
   UPPERCASE step headings with quiet grey numerals, hairlines between the steps, and quiet chips/fields where only
   the selected option is bright. To revert: delete this block. */
body .cfg-split .config-controls { --mc-line: rgba(236, 232, 225, .14); --mc-quiet: rgba(236, 232, 225, .62); --mc-faint: rgba(236, 232, 225, .16); }
/* Headings like "SUMMARY"; numerals small and grey (the hand-drawn check still appears when a step is done). */
body .cfg-split .config-controls .config-step-head h2 { font-size: .95rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-forest); }
body .cfg-split .config-controls .config-step-head .num { width: 24px; height: 24px; font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  color: var(--mc-quiet); border-color: var(--mc-faint); background: transparent; }
body .cfg-split .config-controls .config-step.is-done .config-step-head .num { background: #e2ddd4; border-color: #e2ddd4; color: transparent; }
/* Hairlines between steps, as between the summary rows. */
body .cfg-split .config-controls .config-step:not([hidden]) ~ .config-step:not([hidden]),
body .cfg-split .config-controls .config-step:not([hidden]) ~ .add-cta-wrap:not([hidden]) { border-top: 1px solid var(--mc-line); }
/* No gold: "Most popular", the cursor light, focus rings. */
body .cfg-split .config-controls .size-chip .pop { background: #121110; border-color: rgba(236, 232, 225, .28); color: rgba(236, 232, 225, .82); }
body .cfg-split .config-controls .cfg-spotlight { background: radial-gradient(360px circle at 70% 40%, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 45%, transparent 70%); }
body .cfg-split .config-controls :focus-visible { outline-color: rgba(236, 232, 225, .85); }
/* Quiet options: faint borders and grey text until chosen; the chosen one keeps its bright slider. */
body .cfg-split .config-controls :is(.size-chip, .segment, .dropzone, .listbox-button, .select, .input, .qty) { border-color: var(--mc-faint); }
body .cfg-split .config-controls .size-chip:not(:has(input:checked)) :is(.dim, .dim *) { color: var(--mc-quiet); font-weight: 600; }
body .cfg-split .config-controls .size-chip:not(:has(input:checked)):hover :is(.dim, .dim *) { color: var(--on-forest); }
body .cfg-split .config-controls .segment:not(:has(input:checked)) .segment-text strong { color: var(--mc-quiet); }
body .cfg-split .config-controls :is(.listbox-button, .select) { background-color: rgba(255, 250, 240, .03); }
body .cfg-split .config-controls .size-chip:not(:has(input:checked)):hover, body .cfg-split .config-controls .segment:not(:has(input:checked)):hover { border-color: rgba(236, 232, 225, .34); }
body .cfg-split .listbox-button .shape-ico, body .cfg-split .listbox-option .shape-ico { color: currentColor; }
body .cfg-split .config-controls .listbox-button .shape-ico { color: var(--on-forest); }

/* Engraving → photo restoration: a clear separation (owner, 2026-10-17), like hero → products. The engraving band
   casts a soft layered shadow onto the restoration section below, with a faint light hairline at the seam, and the
   restoration section sits on a slightly lighter warm charcoal so the edge reads. To revert: delete this block. */
.engraving-band { position: relative; z-index: 2; border-bottom: 1px solid rgba(236, 232, 225, .1);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 12px 22px -8px rgba(0, 0, 0, .6), 0 34px 56px -24px rgba(0, 0, 0, .75); }
.resto-pin { z-index: 1; margin-top: 0; background: #1b1a18; }
.resto-sticky { background: radial-gradient(ellipse closest-side at 50% 50%, #302e2a 0%, #222120 60%, #1b1a18 100%); }
.resto-pin::after { background: linear-gradient(to bottom, #1b1a18 0%, rgba(27, 26, 24, .6) 45%, #262522 100%); }

/* ── Landing engraving, 2026-10-17 (owner): no giant word; the stone sits further left and the text further right;
   below them a dark two-row shelf of four (placeholders until the real engraving products exist). ── */

@media (min-width: 900px) {
  .engraving-band .engraving.split > .engrave-figure, .etch-pin.is-pinned .engrave-figure { justify-self: start; }
  
}
/* Shelf: same layout as the porcelain one (shared .shelf-* classes), dark cards with light text. */
.etch-shelf { position: relative; z-index: 1; padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); background: #0d0c0b; }

.etch-shelf .shelf-media { background: radial-gradient(ellipse 80% 75% at 50% 45%, #2a2826 0%, #1a1917 60%, #131211 100%); }
.etch-shelf .shelf-label { color: rgba(236, 232, 225, .6); }
.etch-shelf .shelf-name { color: #ece8e1; }
.etch-shelf .shelf-price { color: rgba(236, 232, 225, .6); }
/* The drawn engraved stone: the example portrait in polished black granite, a different stone shape per card. */

/* Colour step with three options (owner, 2026-10-17): Black and white · Colour · Colorized. The bright slider is a
   third wide and steps across all three. Colorized swatch: half grey, half colour. */
.segmented:has(> .segment:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segmented:has(> .segment:nth-child(3))::before { width: calc((100% - 12px) / 3); }
.segmented:has(> .segment:nth-child(3) input:checked)::before { transform: translateX(calc(200% + 12px)); }

.segmented:has(> .segment:nth-child(3)) .segment { min-width: 0; }
.segmented:has(> .segment:nth-child(3)) .segment-text { min-width: 0; }
.segmented:has(> .segment:nth-child(3)) .segment-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segmented:has(> .segment:nth-child(3)) .segment { gap: 8px; padding-inline: 10px; }
.segmented:has(> .segment:nth-child(3)) .segment-swatch { width: 22px; height: 22px; flex: none; }
.segmented:has(> .segment:nth-child(3)) .segment-text strong { font-size: .9375rem; }
.segmented:has(> .segment:nth-child(3)) .segment-swatch { width: 20px; height: 20px; }
.segmented:has(> .segment:nth-child(3)) .segment { padding-inline: 9px; }

/* ── Landing engraving, minimal (owner, 2026-10-17, after a reference): eyebrow + one large light title on the left,
   then the 2 × 4 cards. No stone animation, no paragraph, no buttons, no gold. ── */
.engraving-min .etch-shelf { padding-top: 0; background: transparent; }
.etch-head { padding: 0 clamp(12px, 3vw, 48px) clamp(24px, 3.2vw, 44px); }
.etch-eyebrow { margin: 0 0 clamp(10px, 1.2vw, 16px); font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: rgba(236, 232, 225, .62); }
.etch-title { margin: 0; max-width: 20ch; font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.6rem); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; color: #f2efe9; }

/* ── "What we offer" like the rest of the site (owner, 2026-10-17) ──
   Real product photos on the shop cards' light panel, a neutral eyebrow (no gold), the minimal light title style of
   the landing headings, and the jump chips wrapping instead of running off the page. */
main:has(.svc-jump) .page-hero .eyebrow { color: rgba(27, 28, 26, .55); font-size: .75rem; font-weight: 600; letter-spacing: .16em; }
main:has(.svc-jump) .page-hero .eyebrow::before { display: none; }
main:has(.svc-jump) .page-hero h1 { font-weight: 400; letter-spacing: -.025em; line-height: 1.04; font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.4rem); }
main:has(.svc-jump) .page-hero h1 em { color: inherit; }

.svc-label { position: absolute; z-index: 1; top: 10px; left: 10px; font-size: .75rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: rgba(236, 232, 225, .6); }

/* Engraving band: one solid near-black base with a single wide, soft glow (owner, 2026-10-17: the old ellipse had no
   base colour, so the page's grey gradient showed through at the top with a hard edge where the ellipse began). */
.engraving-band.engraving-min { background: radial-gradient(ellipse 85% 65% at 50% 38%, #1c1b19 0%, #141312 55%, #0d0c0b 100%) #0d0c0b; }
/* The same heading on the light porcelain section: dark text. */
.etch-head.is-light .etch-eyebrow { color: rgba(27, 28, 26, .55); }
.etch-head.is-light .etch-title { color: #1b1c1a; }
/* No grey fade strip at the top any more: the section above is the light product shelf now. */
.engraving-band.engraving-min::before { display: none; }
.engraving-band.engraving-min { padding-top: clamp(64px, 7vw, 120px) !important; }
/* Size the photos against the box itself (a percentage height inside the grid resolved against the row instead). */

/* Section headings smaller (owner, 2026-10-17), closer to the reference's proportions: ~46px at 1920 wide, ~42px at
   1440, ~30px on phones. Both the porcelain and the engraving heading. */
.etch-title { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; }

/* Restoration page (owner, 2026-10-17): the landing's three-step section is the top of /restoration. Its title is the
   page's h1 (same look as the landing h2); no fade strip into the light page below. */

/* ── Landing "In bulk" (owner, 2026-10-17): light band below the engraving; heading left, one line + button right. ── */
.bulk-band { background: #f6f4f0; padding-block: clamp(56px, 7vw, 112px); }
.bulk-band-inner { display: grid; gap: var(--s5); align-items: end; padding-inline: clamp(12px, 3vw, 48px); }
.bulk-band .etch-head { padding: 0; }
.bulk-band-copy p { margin: 0 0 var(--s4); max-width: 46ch; color: #5b5f58; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.6; }
@media (min-width: 900px) { .bulk-band-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s7); } }

/* ── Customizer "In bulk" side ── */
.bulk-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bulk-pick .field, .bulk-add .field { margin: 0; min-width: 0; }
/* No Finish field (heart, papyrus, book) and no window choice: shape and size share the row (owner, 2026-10-27). */
@media (min-width: 521px) { .bulk-pick:has(> [data-bulk-finish-field][hidden]):has(> [data-bulk-window-field][hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bulk-pick label, .bulk-add label, .bulk-notes label { display: block; margin-bottom: 6px; color: var(--on-forest-2); font-size: var(--fs-sm); font-weight: 600; }
.bulk-pick .select { width: 100%; }
.bulk-add { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 10px; }
.bulk-add .input { width: 100%; }
.bulk-price { margin: 0 0 10px; font-size: var(--fs-sm); color: var(--on-forest-2); line-height: 1.35; }
.bulk-price strong { color: var(--on-forest); font-size: 1rem; }
.bulk-tiers { display: block; font-size: var(--fs-xs); }
.bulk-add-btn { min-height: 46px; white-space: nowrap; }
.bulk-list { list-style: none; margin: 0; padding: 0; max-height: 196px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(236, 232, 225, .2) transparent; }
.bulk-line { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(72px, auto) 32px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--on-forest-line); }
.bulk-line:last-child { border-bottom: 0; }
.bulk-line-name { font-size: var(--fs-sm); color: var(--on-forest); min-width: 0; overflow-wrap: anywhere; }
.bulk-line-qty { height: 36px; min-height: 36px; padding-inline: 10px; text-align: right; }
.bulk-line-price { font-size: var(--fs-sm); font-weight: 700; color: var(--on-forest); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bulk-line-price small { font-weight: 500; color: var(--on-forest-2); }
.bulk-empty { margin: 0; }
.bulk-notes { margin-top: 10px; }
.bulk-notes .textarea { min-height: 0; }
.cfg-split .config-controls :is(.bulk-pick .select, .bulk-add .input, .bulk-line-qty, [data-step="bulkdetails"] .input, .bulk-notes .textarea) { background-color: rgba(255, 250, 240, .06); border-color: rgba(236, 232, 225, .16); }
@media (max-width: 520px) {
  .bulk-pick { grid-template-columns: minmax(0, 1fr); }
  .bulk-add { grid-template-columns: 96px minmax(0, 1fr); }
  .bulk-add-btn { grid-column: 1 / -1; }
}
/* Bulk side: a long list or an error message must never hide the button, so this window scrolls inside if needed. */
@media (min-width: 1024px) {
  .cfg-split.is-bulk .config-controls { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(236, 232, 225, .2) transparent; }
}
.bulk-notes .textarea { height: 44px; min-height: 44px; resize: vertical; }

/* Pop-ups ("Added to your cart", "Quote request sent", …) in the options window's dark glass (owner, 2026-10-17):
   near-black frosted glass, thin light edge, soft top sheen, off-white text; "View cart" is a small light pill. */
body .toast { position: relative; overflow: hidden; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px;
  background: rgba(20, 19, 18, .92); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12); color: #ece8e1; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 48px -20px rgba(0, 0, 0, .6); }
body .toast::before { content: ''; position: absolute; inset: 0 0 auto; height: 60%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)); }
body .toast > * { position: relative; }
body .toast > span { flex: 1; }
body .toast .icon { flex: none; width: 20px; height: 20px; color: #ece8e1; }
body .toast-success .icon { color: #8fd0a6; } /* green kept for success only (owner, 2026-10-16) */
body .toast-error .icon { color: #f19a8f; }
body .toast a { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 6px 14px; border-radius: 999px;
  background: #e2ddd4; color: #1e1d1b; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; text-decoration: none; transition: background-color 200ms; }
body .toast a:hover { background: #f0ece5; color: #1e1d1b; }

/* Cart: "Your cart" in black on the light side. */
.page-light .cart-head h1 { color: #1b1c1a; }

/* Bulk list: no horizontal scrollbar — the name column shrinks and wraps instead. */
.bulk-list { overflow-x: hidden; }
.bulk-line > * { min-width: 0; }
.bulk-line-qty { width: 100%; }
.bulk-line-price { white-space: normal; }
.bulk-line .bulk-line-remove { margin: 0; justify-self: end; }

/* Porcelain / granite / bulk switch: as wide as its labels in every language (owner, 2026-10-18: Bulgarian ran past
   the pill with the third option). Each button takes its own width; on narrow phones the icons hide and a long
   label may wrap to two lines instead of overflowing. */
.mode-switch { width: max-content; max-width: 100%; grid-auto-columns: auto; }
.mode-switch button { min-width: 0; }
@media (max-width: 640px) {
  .mode-switch { width: 100%; grid-auto-columns: minmax(0, 1fr); }
  .mode-switch button { white-space: normal; text-align: center; line-height: 1.15; padding: 4px 8px; }
  .mode-switch .icon { display: none; }
}

/* Landing engraving cards: the engraved-stone photo fills the card (owner, 2026-10-18); "Illustration" label kept. */
.etch-shelf .shelf-media { background: #2e2e2e; }

.etch-card .shelf-label { color: rgba(236, 232, 225, .75); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* ── "What we offer" (owner, 2026-10-18): black-and-white bands, minimal and premium, one font, no extra colours ── */
.svc-wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.svc-hero { background: #fcfbf9; padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.svc-hero .breadcrumbs { margin-bottom: clamp(24px, 3vw, 40px); }
.svc-hero .etch-eyebrow, .svc-band.is-light .etch-eyebrow { color: rgba(27, 28, 26, .55); }
.svc-title { margin: 0; max-width: 18ch; font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.4rem); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; color: #1b1c1a; }
.svc-intro { margin: clamp(16px, 2vw, 24px) 0 0; max-width: 52ch; color: #5b5f58; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.6; }
/* Jump links: plain text, underlined on hover / keyboard focus. */

/* Bands */

.svc-row { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 112px); }
  
}

/* Photos: porcelain pieces on the shop cards' light panel; the stone and the restored photo fill their panel. */

/* Buttons: dark on the white bands (site default), light pill on the black bands. */

/* "In bulk" now sits between the porcelain shelf and the engraving (owner, 2026-10-18): a hairline separates it
   from the shelf above (same light background); a little less top space since the shelf already ends with space. */
.shelf-band + .bulk-band { border-top: 1px solid rgba(27, 28, 26, .1); padding-top: clamp(44px, 5.5vw, 88px); }
 /* the whole engraved-stone photo, uncropped */

/* FAQ band on "What we offer" (SEO): question list with hairlines, + turning into ×. */

/* Wholesale bands */

/* Quote form on the wholesale page: off-white fields and near-black text (no pure white / pure black). */
.svc-form :is(.input, .select, .textarea, input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea) { background-color: #f5f2ec; color: #1b1c1a; border-color: rgba(27, 28, 26, .18); }
 /* wholesale: same shelf cards as the landing, inside the band's width */

/* Landing: the engraving band also casts a soft shadow up onto the light "In bulk" band above it (owner, 2026-10-18),
   mirroring the shadow it casts downward. */
.engraving-band.engraving-min { position: relative; z-index: 2;
  box-shadow: 0 -2px 0 rgba(0, 0, 0, .12), 0 -12px 22px -10px rgba(0, 0, 0, .28), 0 -34px 56px -26px rgba(0, 0, 0, .32),
    0 2px 0 rgba(0, 0, 0, .35), 0 12px 22px -8px rgba(0, 0, 0, .6), 0 34px 56px -24px rgba(0, 0, 0, .75); }
.bulk-band { position: relative; z-index: 1; }

/* ── "What we offer", customizer layout (owner, 2026-10-18) ──
   Light page; product photos blend in (white photo background × page colour); text in the customizer's black glass
   window with the same two slowly drifting warm glows behind it; photo and window swap sides each section. */
.svc-sec { position: relative; isolation: isolate; overflow: clip; background: #fcfbf9; padding-block: clamp(32px, 4.5vw, 72px); scroll-margin-top: var(--header-h); }
.svc-row { position: relative; display: grid; gap: clamp(24px, 3vw, 40px); align-items: center; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); }
  .svc-row.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .svc-row.is-flipped .svc-visual { order: 2; }
}
/* The glows sit behind the window (as on the customizer). */
.svc-row::before, .svc-row::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.svc-row::before { width: 300px; height: 300px; right: 12%; top: -6%; background: radial-gradient(circle, rgba(214, 181, 108, .6), rgba(214, 181, 108, 0) 68%); animation: glass-drift-a 16s ease-in-out infinite alternate; }
.svc-row::after { width: 380px; height: 380px; right: -6%; bottom: -14%; background: radial-gradient(circle, rgba(126, 116, 100, .6), rgba(126, 116, 100, 0) 68%); animation: glass-drift-b 20s ease-in-out infinite alternate; }
.svc-row.is-flipped::before { right: auto; left: 12%; }
/* What we offer: no yellow glow behind the boxes (owner, 2026-10-31); its four sections by their ids. */
:is(#porcelain, #bulk, #basalt, #editing) > .svc-row::before { content: none; }
.svc-row.is-flipped::after { right: auto; left: -6%; }
@media (prefers-reduced-motion: reduce) { .svc-row::before, .svc-row::after { animation: none; } }

/* Photos */
.svc-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 32px); min-height: clamp(300px, 36vw, 520px); }
.svc-visual.is-piece img { width: auto; height: clamp(280px, 34vw, 500px); max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 800ms var(--ease-out); }
.svc-visual.is-pair img { height: clamp(220px, 27vw, 420px); max-width: 48%; }
.svc-visual.is-piece img.is-landscape { width: 100%; height: auto; max-height: clamp(260px, 30vw, 440px); }
.svc-visual:is(.is-illustration, .is-photo) img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45); }
.svc-visual.is-photo img { max-width: 520px; }
/* What we offer → porcelain: the headstone photos as a slideshow, same size and shadow as a single photo (owner, 2026-11-01). */
.ab-slides.svc-photo-slides { max-width: 520px; aspect-ratio: 1100 / 1375; box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45); background: #fcfbf9; }
/* Porcelain slideshow without a visible box, like the In bulk pieces (owner, 2026-11-05): the photos' white background
   multiplies onto the page colour; isolation off so the blend reaches the page. */
#porcelain .ab-slides.svc-photo-slides { background: transparent; box-shadow: none; border-radius: 0; isolation: auto; }
#porcelain .svc-photo-slides .ab-slides-track img { mix-blend-mode: multiply; }
/* Arrows further out, clear of the piece (owner, 2026-11-05: "space out the arrows more"); narrower screens keep them
   inside, where there is no room beside the slideshow. */
@media (min-width: 1240px) {
  #porcelain .ab-slides.svc-photo-slides { overflow: visible; }
  #porcelain .svc-photo-slides .ab-slides-arrow.is-prev { left: -48px; }
  #porcelain .svc-photo-slides .ab-slides-arrow.is-next { right: -48px; }
}
/* In bulk (owner, 2026-11-15): a slideshow of pairs of blanks, no visible box — the blanks multiply onto the page like
   the single pair did; each slide holds two pieces side by side and crossfades as a whole. */
.ab-slides.svc-pair-slides { max-width: 640px; aspect-ratio: 4 / 3; background: transparent; box-shadow: none; border-radius: 0; isolation: auto; }
.svc-pair-slides .svc-pair-slide { position: absolute; inset: 0 0 40px; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 32px);
  opacity: 0; transform: scale(1.03); transition: opacity 900ms var(--ease-out), transform 5200ms linear; mix-blend-mode: multiply; }
.svc-pair-slides .svc-pair-slide.is-active { opacity: 1; transform: scale(1); }
.svc-pair-slides .svc-pair-slide img { position: static; opacity: 1; transform: none; transition: none; width: auto; height: 96%; max-width: 48%; object-fit: contain; }
.svc-pair-slides .svc-pair-slide img.is-landscape { height: auto; width: 48%; max-height: 80%; }
@media (min-width: 1240px) {
  .ab-slides.svc-pair-slides { overflow: visible; }
  .svc-pair-slides .ab-slides-arrow.is-prev { left: -48px; }
  .svc-pair-slides .ab-slides-arrow.is-next { right: -48px; }
}
@media (max-width: 899px) { .svc-pair-slides .ab-slides-track { background: none; box-shadow: none; border-radius: 0; overflow: visible; } .svc-pair-slides .svc-pair-slide { inset: 0; } }
@media (prefers-reduced-motion: reduce) { .svc-pair-slides .svc-pair-slide { transition: opacity 200ms; transform: none; } }
/* A slide whose photo is still to come (owner, 2026-11-05): a plain light card with a faint icon and a small label,
   crossfading like the photos. */
.ab-slides-track .svc-slide-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: #f1eee8; color: rgba(27, 28, 26, .45); font-size: .85rem; letter-spacing: .02em; opacity: 0; transition: opacity 900ms var(--ease-out); }
.ab-slides-track .svc-slide-ph .icon { width: 34px; height: 34px; opacity: .55; }
.ab-slides-track .svc-slide-ph.is-active { opacity: 1; }
/* What we offer: the last section (Photo editing) runs straight into the footer, no light strip between (owner, 2026-11-01). */
body:has(main > section#editing:last-of-type) .site-footer { margin-top: 0; }
/* What we offer → granite: headstone engraving quote in the black box (owner, 2026-11-01). Keeps the box's own height
   (not the tall Wholesale one); the photo is a button with a small thumbnail once uploaded. */
@media (min-width: 900px) { .tq-box.ws-box.svc-window.is-summary { min-height: 0; } }
.tq-form .tq-intro { margin: 0 0 14px; }
.tq-photo { margin: 18px 0 12px; }
body.page-light main .ws-form .svc-sum-note a:not(.btn) { color: inherit; } /* the privacy link stays readable on the black box */
.tq-photo-label { display: block; margin-bottom: 6px; color: rgba(236, 232, 225, .82); font-size: .85rem; }
.tq-photo-row { display: flex; align-items: center; gap: 12px; min-height: 48px; }
body.page-light main .tq-box .tq-photo-btn.svc-btn { width: auto; min-height: 44px; padding-inline: 18px; font-size: .78rem; gap: 8px; margin: 0; cursor: pointer; }
.tq-photo-btn:focus-within { outline: 2px solid #ece8e1; outline-offset: 2px; }
.tq-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(236, 232, 225, .22); }
.tq-photo-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(236, 232, 225, .62); font-size: .82rem; }
.tq-form .tq-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 640px) { .tq-form .tq-details { grid-template-columns: minmax(0, 1fr); } }
.tq-done .alert { margin-top: 6px; }
.svc-visual .svc-label { top: 14px; left: 16px; }
.svc-sec:hover .svc-visual.is-piece img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .svc-sec:hover .svc-visual.is-piece img { transform: none; } }

/* The black glass window (same finish as the customizer's options window). */
.svc-window { position: relative; z-index: 1; overflow: hidden; padding: clamp(28px, 3.5vw, 52px); border-radius: 22px; color: #ece8e1;
  background: rgba(20, 19, 18, .9); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5); }
.svc-window::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); }
.svc-window > * { position: relative; }
.svc-window .etch-eyebrow { color: rgba(236, 232, 225, .6); }

.svc-window > p:not(.etch-eyebrow) { margin: 0 0 var(--s4); max-width: 52ch; color: rgba(236, 232, 225, .74); font-size: clamp(.98rem, .94rem + .2vw, 1.08rem); line-height: 1.65; }

/* The window's button: the customizer's light pill. */
body.page-light main .svc-window .btn.svc-btn { background: #e2ddd4 !important; border-color: #e2ddd4 !important; color: #1e1d1b !important; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); }
body.page-light main .svc-window .btn.svc-btn:hover { background: #f0ece5 !important; border-color: #f0ece5 !important; }

/* FAQ inside the window */

/* Jump links as buttons, on one row (wrapping only on narrow screens). */

.svc-visual { z-index: auto; } /* no own layer, so the photos' multiply blends with the page colour (no white box) */
/* Fade the outer edges of the porcelain photos so no rectangle edge shows against the page (the pieces sit well inside). */
.svc-visual.is-piece img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect; }

/* ── "What we offer": dark full-width top like the landing hero, centred; wider sections, each its own band ── */
.svc-hero.is-dark-hero { background: radial-gradient(ellipse 80% 90% at 50% 40%, #33312d 0%, #262522 48%, #1a1918 100%) #1a1918; color: #ece8e1;
  padding-block: clamp(48px, 7vw, 112px) clamp(48px, 6vw, 96px); text-align: center; }
.svc-hero.is-dark-hero .svc-wrap { display: flex; flex-direction: column; align-items: center; }
.svc-hero.is-dark-hero .breadcrumbs ol { justify-content: center; }
.page-light main .svc-hero.is-dark-hero .breadcrumbs, .page-light main .svc-hero.is-dark-hero .breadcrumbs a { color: rgba(236, 232, 225, .7); }
.svc-hero.is-dark-hero .etch-eyebrow { color: rgba(236, 232, 225, .62); }
.svc-hero.is-dark-hero .svc-title { color: #f2efe9; max-width: 20ch; margin-inline: auto; }
.svc-hero.is-dark-hero .svc-intro { color: rgba(236, 232, 225, .74); margin-inline: auto; max-width: 60ch; }

/* Buttons on the dark top: outline pills that fill light on hover (like the hero's light buttons). */

/* Sections: nearly full width, each its own band — alternating light tones with a hairline between them. */
.svc-sec .svc-wrap { max-width: 1720px; padding-inline: clamp(16px, 3vw, 56px); }
.svc-sec { padding-block: clamp(48px, 6vw, 104px); border-top: 1px solid rgba(27, 28, 26, .09); }
.svc-sec:nth-of-type(even) { background: #f4f2ee; }
.svc-hero + .svc-sec { border-top: 0; }
@media (min-width: 900px) {
  .svc-sec .svc-row { gap: clamp(40px, 5vw, 120px); }
  .svc-visual { min-height: clamp(340px, 38vw, 600px); }
  .svc-visual.is-piece img { height: clamp(300px, 36vw, 560px); }
  .svc-visual.is-pair img { height: clamp(240px, 30vw, 480px); }
}

/* ===== What we offer: four sections, warranty line, centred buttons (owner, 2026-10-18) ===== */

body.page-light main .svc-window .btn.svc-btn.is-secondary { background: transparent !important; border-color: rgba(236, 232, 225, .4) !important; color: #ece8e1 !important; box-shadow: none; }
body.page-light main .svc-window .btn.svc-btn.is-secondary:hover { background: rgba(255, 255, 255, .08) !important; border-color: rgba(236, 232, 225, .7) !important; }
.svc-visual.is-pair img.is-landscape { width: auto; height: clamp(220px, 27vw, 420px); max-width: 48%; max-height: none; }

/* Configurator: lifetime warranty line under the add-to-cart / quote button (owner, 2026-10-18). */
.cfg-warranty { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; color: var(--muted, #5f5b55); font-size: .88rem; line-height: 1.5; }
.cfg-warranty .icon { flex: none; margin-top: 2px; }

/* ===== What we offer: windows in the checkout summary's minimal look (owner, 2026-10-18) =====
   Same dark glass box; inside, a narrow centred column like the cart summary. */
.svc-window.is-summary { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 4.5vw, 72px) clamp(22px, 4vw, 64px); min-height: clamp(360px, 34vw, 520px); }
.svc-sum { width: 100%; max-width: 440px; }
.svc-sum-label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(236, 232, 225, .14);
  font-size: .95rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ece8e1; }
.svc-sum-label span:last-child { font-weight: 600; letter-spacing: .06em; color: rgba(236, 232, 225, .5); font-variant-numeric: tabular-nums; }
.svc-window .svc-sum-title { margin: 0 0 8px; color: #f2efe9; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.svc-window .svc-sum-text { margin: 0; max-width: none; color: rgba(236, 232, 225, .7); font-size: .95rem; line-height: 1.6; }
.svc-sum-rows { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid rgba(236, 232, 225, .14); }
.svc-sum-rows li { padding: 10px 0; border-bottom: 1px solid rgba(236, 232, 225, .08); color: rgba(236, 232, 225, .78); font-size: .9rem; line-height: 1.45; }
.svc-sum-rows li:last-child { border-bottom: 0; }
.svc-sum-btns { display: grid; gap: 10px; margin-top: 24px; }
body.page-light main .svc-window .svc-sum-btns .btn.svc-btn { width: 100%; margin: 0; justify-content: center; min-height: 54px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .92rem; }
.svc-sum-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: rgba(236, 232, 225, .62); font-size: var(--fs-xs, .8rem); line-height: 1.45; }
.svc-sum-note .icon { width: 16px; height: 16px; flex: none; color: #e7cf8f; }
.cfg-warranty { align-items: center; font-size: var(--fs-xs, .8rem); }
.cfg-warranty .icon { width: 16px; height: 16px; margin-top: 0; color: var(--gold-ink, #d6b56c); }
/* Primary pill = the checkout button's finish. */
body.page-light main .svc-window .svc-sum-btns .btn.svc-btn:not(.is-secondary) { background: linear-gradient(180deg, #e9e5dd, #cfc9be) !important; border: 0 !important; color: #1e1d1b !important; }
body.page-light main .svc-window .svc-sum-btns .btn.svc-btn:not(.is-secondary):hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .7); }
/* About us: the closing contact box, centred and narrower (owner, 2026-10-18). */
.svc-window.ab-contact { max-width: 720px; margin-inline: auto; min-height: 0; }

/* ===== Contact: the checkout summary's black box and minimal look (owner, 2026-10-18) =====
   Info panel = the same smoked-glass window over the two drifting glows; inside, a narrow centred column with
   uppercase labels over hairlines and divided rows. The form card on the light side uses the same structure. */
.contact-info-inner { max-width: 440px; gap: 18px; }
.contact-info h1 { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.8rem); }
.ct-group { margin-top: 10px; }
.ct-group .svc-sum-label { margin-bottom: 0; }
.ct-rows { list-style: none; margin: 0; padding: 0; }
.ct-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(236, 232, 225, .08);
  font-size: .9rem; line-height: 1.45; color: #ece8e1; font-weight: 600; text-align: right; }
.ct-rows li:last-child { border-bottom: 0; }
.ct-rows li > span:first-child { display: inline-flex; align-items: center; gap: 8px; flex: none; color: rgba(236, 232, 225, .7); font-weight: 400; text-align: left; }
.ct-rows li > span:first-child .icon { width: 16px; height: 16px; color: #e7cf8f; }
.contact-info .ct-rows a { color: #ece8e1; overflow-wrap: anywhere; }
.contact-info .ct-rows .muted { color: rgba(236, 232, 225, .5); font-weight: 400; }
.ct-multi { white-space: pre-line; }
.ct-links li { padding: 0; }
.contact-info .ct-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 11px 0; color: rgba(236, 232, 225, .82); font-weight: 400; text-align: left; text-decoration: none; }
.ct-links a .icon { width: 16px; height: 16px; flex: none; color: #e7cf8f; transition: transform 300ms var(--ease-out); }
.contact-info .ct-links a:hover { color: #ece8e1; }
.ct-links a:hover .icon { transform: translateX(4px); }
.ct-group { animation: rise-in 460ms var(--ease-out) both 260ms; }
.ct-group + .ct-group { animation-delay: 380ms; }
@media (prefers-reduced-motion: reduce) { .ct-group { animation: none; } }

@media (min-width: 900px) {
  .page-light .contact-split { position: relative; overflow: clip; isolation: isolate; }
  .page-light .contact-split::before, .page-light .contact-split::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(8px); }
  .page-light .contact-split::before { width: 340px; height: 340px; left: clamp(120px, 14vw, 260px); top: 6%;
    background: radial-gradient(circle, rgba(214, 181, 108, .75), rgba(214, 181, 108, 0) 68%); animation: glass-drift-a 16s ease-in-out infinite alternate; }
  .page-light .contact-split::after { width: 420px; height: 420px; left: -60px; bottom: -40px;
    background: radial-gradient(circle, rgba(126, 116, 100, .7), rgba(126, 116, 100, 0) 68%); animation: glass-drift-b 20s ease-in-out infinite alternate; }
  .page-light .contact-split > .contact-form-panel { position: relative; z-index: 1; }
  .page-light .contact-split .contact-info { z-index: 2; background: rgba(20, 19, 18, .9); background-image: none;
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5); }
  .page-light .contact-split .contact-info::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none; z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); border-radius: inherit; }
  .page-light .contact-split .contact-info .cfg-spotlight { display: none; }
}
@media (prefers-reduced-motion: reduce) { .page-light .contact-split::before, .page-light .contact-split::after { animation: none; } }

/* The form card: same label + hairline, full-width pill button, small note. */
.page-light .contact-card { max-width: 520px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; }
.page-light .contact-card .svc-sum-label { margin: 0 0 18px; color: #1b1c1a; border-bottom-color: rgba(27, 28, 26, .12); }
body.page-light main .contact-card .btn.ct-send { width: 100%; justify-content: center; min-height: 54px; margin-top: var(--s5); border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .92rem; }
.page-light .contact-card .ct-note { color: #5b5f58; }
/* Contact form photos (owner, 2026-11-05): a slim drop box, then the chosen pictures as small rows with a remove ×. */
.ct-photos-title { display: block; margin-bottom: 6px; font-weight: 600; font-size: var(--fs-sm); color: #1b1c1a; }
.ct-photos-title .opt { font-weight: 400; color: #6f736b; }
.ct-drop.dropzone { padding: var(--s4) var(--s4); gap: 4px; }
.ct-drop.dropzone .icon { width: 26px; height: 26px; }
.ct-drop.dropzone strong { font-size: var(--fs-sm); }
.ct-drop.is-full { opacity: .55; pointer-events: none; }
.ct-thumbs { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.ct-thumbs:empty { display: none; }
.ct-thumbs li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 6px 6px 6px; border: 1px solid rgba(27, 28, 26, .12); border-radius: 12px; background: #fcfbf9;
  animation: rise-in 320ms var(--ease-out) both; }
.ct-thumbs img, .ct-thumb-ph { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #efede9; }
.ct-thumb-ph { display: grid; place-items: center; color: #8b877f; }
.ct-thumbs li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); color: #1b1c1a; }
.ct-thumbs li > span em { font-style: normal; color: #6f736b; }
.ct-thumbs li.is-uploading { grid-template-columns: 48px minmax(0, 1fr); }
.ct-thumb-remove { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #5b5f58; cursor: pointer; transition: background-color 180ms, color 180ms; }
.ct-thumb-remove:hover { background: #efede9; color: #1b1c1a; }
@media (prefers-reduced-motion: reduce) { .ct-thumbs li { animation: none; } }

/* Contact page as one still screen (owner, 2026-11-05: "no scroller… nothing moves… make it fit without having to
   scroll"). On screens big enough for it the page is exactly the window: no page scrollbar, no footer, so the header
   never turns into the floating bar; the form is tightened (order number and subject side by side, shorter message,
   slim drop box, photos as a row of small tiles). Smaller screens scroll as before. */
@media (min-width: 1024px) and (min-height: 680px) {
  html:has(body.page-contact), body.page-contact { height: 100%; overflow: hidden; }
  body.page-contact .site-footer, body.page-contact .to-top { display: none; }
  body.page-contact .contact-split { height: calc(100dvh - var(--chrome)); min-height: 0; }
  body.page-contact.page-light .contact-split .contact-info { position: relative; top: auto; align-self: stretch; }
  body.page-contact .contact-info { padding-block: var(--s5); }
  body.page-contact .contact-form-panel { padding-block: 12px; align-content: center; overflow: hidden; }
  body.page-contact.page-light .contact-card { padding: 22px 34px 18px; }
  body.page-contact.page-light .contact-card .svc-sum-label { margin-bottom: 10px; }
  body.page-contact .contact-card form > .hint { margin-bottom: 8px !important; }
  body.page-contact .contact-card .form-grid { gap: 8px 14px; }
  body.page-contact .contact-card .field label, body.page-contact .ct-photos-title { margin-bottom: 4px; }
  body.page-contact .contact-card :is([data-field='order_number'], [data-field='subject']) { grid-column: auto; }
  body.page-contact .contact-card textarea.textarea { height: clamp(72px, 13vh, 130px); min-height: 0; }
  body.page-contact .ct-drop.dropzone { grid-auto-flow: column; justify-content: center; align-items: center; gap: 10px; padding: 10px 14px; }
  body.page-contact .ct-drop.dropzone .small { display: none; }
  body.page-contact .ct-thumbs { grid-auto-flow: column; grid-auto-columns: 54px; justify-content: start; gap: 8px; margin-top: 8px; }
  body.page-contact .ct-thumbs li { position: relative; display: block; padding: 0; border: 0; background: none; }
  body.page-contact .ct-thumbs li > span:not(.ct-thumb-ph) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.page-contact .ct-thumbs img, body.page-contact .ct-thumb-ph { width: 54px; height: 54px; }
  body.page-contact .ct-thumb-remove { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; background: #1b1c1a; color: #fcfbf9; }
  body.page-contact .ct-thumb-remove .icon { width: 12px; height: 12px; }
  body.page-contact .ct-thumb-remove:hover { background: #3a3a37; color: #fcfbf9; }
  body.page-light.page-contact main .contact-card .btn.ct-send { min-height: 48px; margin-top: 12px; }
  body.page-contact .contact-card .ct-note { margin-top: 8px; }
}
/* Short screens (720–800 px tall): a little tighter still, so the longer languages (Greek, Romanian, Italian) fit. */
@media (min-width: 1024px) and (min-height: 680px) and (max-height: 800px) {
  body.page-contact .contact-form-panel { padding-block: 6px; }
  body.page-contact.page-light .contact-card { padding: 16px 30px 12px; }
  body.page-contact.page-light .contact-card .svc-sum-label { margin-bottom: 6px; }
  body.page-contact .contact-card textarea.textarea { height: 64px; }
  body.page-contact .contact-card .input, body.page-contact .contact-card .select { min-height: 42px; padding-block: 8px; }
  body.page-light.page-contact main .contact-card .btn.ct-send { min-height: 44px; margin-top: 10px; }
  body.page-contact .contact-card .ct-note { margin-top: 6px; font-size: .78rem; }
}
.page-light .contact-card .ct-note .icon { color: #1b1c1a; }
.contact-info .ct-group .svc-sum-label { color: #ece8e1; font-size: .95rem; font-weight: 800; letter-spacing: .1em; }
.svc-sum-label span:only-child { color: inherit; font-weight: inherit; letter-spacing: inherit; } /* a lone label is not the counter */
/* Contact: the previous icon list, compact, in two columns on desktop, so the black box fits one screen (owner, 2026-10-18). */
.contact-info .ct-list { margin: 14px 0 0; gap: 14px; }
.contact-info .ct-list li { gap: 12px; align-items: center; font-size: .9rem; line-height: 1.4; }
.contact-info .ct-list .icon-wrap { width: 38px; height: 38px; border-radius: 11px; }
.contact-info .ct-list strong { font-size: .9rem; }
@media (min-width: 900px) {
  .contact-info .ct-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .contact-info .contact-info-inner { gap: 14px; }
  .contact-info .ct-links a { padding-block: 9px; }
}
/* Contact: the black box is one screen tall and stays put (like the cart summary); the form side scrolls. */
@media (min-width: 900px) {
  .page-light .contact-split .contact-info { position: sticky; top: calc(var(--header-h) + 12px); align-self: start;
    height: calc(100dvh - var(--chrome) - 24px); padding-block: clamp(20px, 3.5vh, 48px); align-items: safe center; overflow-y: auto; scrollbar-width: none; }
  .page-light .contact-split .contact-info h1 { font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.6rem); }
  .contact-info .ct-group { margin-top: clamp(0px, 1vh, 10px); }
  .contact-info .ct-list { gap: clamp(8px, 1.4vh, 14px) 18px; margin-top: 12px; }
  .contact-info .ct-links a { padding-block: clamp(6px, 1vh, 10px); }
}

/* ===== Account pages: the checkout summary's black box and minimal look, like Contact (owner, 2026-10-18) =====
   Same layouts; the dark panels become the smoked-glass window over the two drifting glows, with uppercase labels
   over hairlines and divided rows; the light cards and forms get the same labels and full-width uppercase pills. */

/* Signed out: sign in, register, password pages */
.auth-aside-inner { max-width: 440px; gap: 16px; }
.auth-aside .svc-sum-label { margin: 0; color: #ece8e1; animation: rise-in 460ms var(--ease-out) both 40ms; }
.auth-aside-title { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.8rem); }
.auth-benefits { gap: 0; border-top: 1px solid rgba(236, 232, 225, .14); }
.auth-benefits li { gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(236, 232, 225, .08); font-size: .92rem; color: rgba(236, 232, 225, .82); }
.auth-benefits li:last-child { border-bottom: 0; }
.auth-benefits .icon { width: 16px; height: 16px; padding: 0; background: none; border-radius: 0; }
.auth-aside-note { font-size: var(--fs-xs, .8rem); color: rgba(236, 232, 225, .62); }
.auth-aside-note .icon { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .page-light .auth-split { position: relative; overflow: clip; isolation: isolate; }
  .page-light .auth-split::before, .page-light .auth-split::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(8px); }
  .page-light .auth-split::before { width: 340px; height: 340px; left: clamp(120px, 14vw, 260px); top: 6%;
    background: radial-gradient(circle, rgba(214, 181, 108, .75), rgba(214, 181, 108, 0) 68%); animation: glass-drift-a 16s ease-in-out infinite alternate; }
  .page-light .auth-split::after { width: 420px; height: 420px; left: -60px; bottom: -40px;
    background: radial-gradient(circle, rgba(126, 116, 100, .7), rgba(126, 116, 100, 0) 68%); animation: glass-drift-b 20s ease-in-out infinite alternate; }
  .page-light .auth-split > .auth-main { position: relative; z-index: 1; }
  .page-light .auth-split .auth-aside { z-index: 2; position: sticky; top: calc(var(--header-h) + 12px); align-self: start;
    height: calc(100dvh - var(--chrome) - 24px); padding-block: clamp(20px, 3.5vh, 48px); align-items: safe center; overflow-y: auto; scrollbar-width: none;
    background: rgba(20, 19, 18, .9); background-image: none;
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5); }
  .page-light .auth-split .auth-aside::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none; z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); border-radius: inherit; }
  .page-light .auth-split .auth-aside .cfg-spotlight { display: none; }
}
@media (prefers-reduced-motion: reduce) { .page-light .auth-split::before, .page-light .auth-split::after { animation: none; } }
.page-light .auth-split .auth-card h1 { color: #1b1c1a; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(27, 28, 26, .12); }
body.page-light .auth-split .auth-card .btn-primary { min-height: 54px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .92rem; }

/* Signed in: the side menu as the black glass window, sticky */
@media (min-width: 900px) {
  .page-light .account-layout { position: relative; isolation: isolate; }
  .page-light .account-layout::before { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; left: -60px; top: 0; border-radius: 50%; pointer-events: none; filter: blur(8px);
    background: radial-gradient(circle, rgba(214, 181, 108, .6), rgba(214, 181, 108, 0) 68%); animation: glass-drift-a 16s ease-in-out infinite alternate; }
  .page-light .account-nav { position: sticky; top: calc(var(--header-h) + 16px); }
}
@media (prefers-reduced-motion: reduce) { .page-light .account-layout::before { animation: none; } }
.page-light .account-nav { padding: 22px 18px; border-radius: 22px; background: rgba(20, 19, 18, .9); background-image: none;
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5); }
.page-light .account-nav .cfg-spotlight { display: none; }
.page-light .account-who { margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(236, 232, 225, .14); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ece8e1; }
.page-light .account-who strong { display: inline-block; margin-top: 4px; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(236, 232, 225, .7); }
@media (min-width: 900px) {
  .page-light .account-nav ul { gap: 0; }
  .page-light .account-nav li { border-bottom: 1px solid rgba(236, 232, 225, .08); }
  .page-light .account-nav li:last-child { border-bottom: 0; }
  .page-light .account-nav a { padding: 11px 10px; margin-block: 3px; font-size: .92rem; }
}
.page-light .account-nav a .icon { color: #e7cf8f; }
.page-light .account-nav a[aria-current='page'] .icon { color: #1e1d1b; }
.page-light .account-nav form { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid rgba(236, 232, 225, .14); }

/* Signed in: the light cards — uppercase label over a hairline, pill buttons */
.page-light .account-layout > div > h1 { color: #1b1c1a; }
.page-light .account-layout .card { border-radius: 22px; padding: clamp(20px, 2.6vw, 32px); }
.page-light .account-layout .card > h2, .page-light .account-layout .card > .cluster:first-child { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(27, 28, 26, .12); }
.page-light .account-layout .card h2 { color: #1b1c1a; letter-spacing: .1em; }
.page-light .account-layout a.card h2 { padding-bottom: 12px; margin-bottom: 10px; }
body.page-light .account-layout .btn-primary:not(.btn-sm), body.page-light .account-layout form > .btn:not(.btn-sm) { min-height: 50px; padding-inline: 28px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .88rem; }
.page-light .account-layout .breakdown .row.total { border-top: 1px solid rgba(27, 28, 26, .12); }
body.page-light main .account-nav a[aria-current='page'] { color: #1e1d1b !important; font-weight: 700; } /* beats the generic light-page link colour */
/* What we offer: section headings like the landing page, alternating left / right (owner, 2026-10-18). */
.svc-sec .svc-wrap.svc-sec-head { padding-inline: clamp(16px, 3vw, 56px); padding-top: 0; padding-bottom: clamp(20px, 2.6vw, 36px); }
.svc-sec .svc-sec-head.is-right { text-align: right; }
.svc-sec .svc-sec-head.is-right .etch-title { margin-left: auto; }
.svc-sec .svc-sec-head .etch-title { max-width: 16ch; }
.svc-sec { padding-top: clamp(40px, 5.5vw, 88px); }

/* Landing hero: the text in What we offer's style (owner, 2026-10-18) — light thin title in one colour, small grey
   uppercase eyebrow with wide spacing, softer paragraph. Photo, pieces and buttons unchanged. */
.hero .hero-content .eyebrow { font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: rgba(236, 232, 225, .62); }
.hero .hero-content #hero-title { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.4rem); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; color: #f2efe9; }
.hero .hero-content #hero-title em { font-style: normal; font-weight: inherit; color: inherit; }
.hero .hero-content > p:not(.eyebrow) { color: rgba(236, 232, 225, .74); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.6; }
/* Landing hero = What we offer's dark gradient band, full first screen as before (owner, 2026-10-18). */
.hero-frame.is-gradient { background: radial-gradient(ellipse 80% 90% at 50% 40%, #33312d 0%, #262522 48%, #1a1918 100%) #1a1918; }
.hero-frame.is-gradient::before { content: none; }
.hero-frame.is-gradient .hero-content.hero-centered { padding: clamp(48px, 7vw, 112px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 96px); }
.hero-frame.is-gradient { --chrome: var(--header-h); min-height: calc(100vh - var(--chrome)); min-height: calc(100dvh - var(--chrome)); }
body:has(.dev-banner) .hero-frame.is-gradient { --chrome: calc(var(--header-h) + 35px); }

/* Landing FAQ: the hero's gradient and What we offer's text style, no gold (owner, 2026-10-18). */

.page-home main { overflow-x: clip; } /* the FAQ's full-width gradient is 100vw; clip the scrollbar's width so the page never scrolls sideways */

/* ==========================================================================
   Thin headings everywhere (owner, 2026-10-18): the big page titles that were still heavy bold now use the same
   light weight and spacing as "Memorial portraits fired in porcelain". Small labels and buttons keep their weight.
   ========================================================================== */
body main h1:not(.sr-only),
body main h2.st,
body .auth-aside-title,
body .page-home :where(.showcase-head, .engraving, .cta-band) h2,
body main .cta-band h2,
body main .resto-step-title { font-weight: 400 !important; letter-spacing: -.025em !important; line-height: 1.06; } /* !important: older page rules set 600-800 with higher specificity */
body main h1 em, body main h2.st em, body .cta-band h2 em { font-style: normal; font-weight: inherit; color: inherit; }

/* ==========================================================================
   Micro-interactions (owner, 2026-10-18). Short, transform/opacity only, all off for reduced motion.
   ========================================================================== */
:root { --mi-fast: 160ms; --mi: 260ms; --mi-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Buttons and links: press-in, soft lift on pills, the trailing arrow nudges forward. */
.btn, .cart-checkout, .add-cta, .svc-btn, .hdr-btn, .icon-btn, .shelf-shop, .pw-btn, .pcard-btn {
  transition: transform var(--mi) var(--ease-out), box-shadow var(--mi) var(--ease-out), background-color var(--mi) var(--ease-out), border-color var(--mi) var(--ease-out), color var(--mi) var(--ease-out); }
.btn:hover:not(:disabled), .svc-btn:hover, .shelf-shop:hover, .hdr-btn:hover { transform: translateY(-1px); }
.btn:active:not(:disabled), .cart-checkout:active, .add-cta:active, .svc-btn:active, .hdr-btn:active, .icon-btn:active, .shelf-shop:active { transform: translateY(0) scale(.97); transition-duration: var(--mi-fast); }
:is(.btn, .svc-btn, .cart-checkout, .shelf-shop) > .icon:last-child { transition: transform var(--mi) var(--ease-out); }
:is(.btn, .svc-btn, .cart-checkout, .shelf-shop):hover > .icon:last-child:not(:first-child) { transform: translateX(4px); }
/* Text links: an underline that draws in from the left. */
.link-arrow, .site-footer a:not(.btn), .ct-links a, .breadcrumbs a {
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
  text-decoration: none; transition: background-size 320ms var(--ease-out), color var(--mi) var(--ease-out); }
.link-arrow:hover, .site-footer a:not(.btn):hover, .breadcrumbs a:hover { background-size: 100% 1px; }
.ct-links a { background-size: 0 0; }
/* Header icons (cart, menu) give a small lift. */
.icon-btn:hover { transform: translateY(-1px); }

/* Cards and images: lift with a soft shadow, the photo zooms a touch. */
.shelf-card, .etch-card, .svc-visual:is(.is-illustration, .is-photo), .feature, .account-layout a.card, .resto-example, .cart-item {
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.shelf-card:hover, .etch-card:hover, .feature:hover { transform: translateY(-4px); }
.shelf-card .shelf-media img, .svc-visual:is(.is-illustration, .is-photo) img { transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out); }
.shelf-card:hover .shelf-media img { transform: scale(1.035); }
.svc-visual:is(.is-illustration, .is-photo):hover img { transform: scale(1.02); box-shadow: 0 40px 70px -32px rgba(40, 30, 15, .55); }
.svc-window { transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.svc-sec:hover .svc-window { transform: translateY(-3px); }
.svc-sum-rows li, .ct-rows li, .auth-benefits li { transition: padding-left var(--mi) var(--ease-out), color var(--mi) var(--ease-out); }
.svc-sum-rows li:hover, .auth-benefits li:hover { padding-left: 4px; color: #f2efe9; }
.ct-links a .icon, .svc-sum-note .icon { transition: transform var(--mi) var(--ease-out); }
/* Configurator choices: a small springy pop when picked. */
@keyframes mi-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
:is(.size-chip, .segment, .option, .swatch, .shape-option, .finish-option):has(input:checked) { animation: mi-pop 340ms var(--mi-spring); }
/* FAQ: the plus turns into an x, the answer slides in. */
:is(.faq, .svc-faq-list) summary .icon { transition: transform 300ms var(--mi-spring), background-color var(--mi) var(--ease-out); }
:is(.faq, .svc-faq-list) details[open] summary .icon { transform: rotate(45deg); }
@keyframes mi-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
:is(.faq, .svc-faq-list) details[open] > :not(summary) { animation: mi-drop 320ms var(--ease-out); }

/* Forms: soft glow on focus, checkboxes pop, the cart badge bumps when something is added. */
.input, .select, .textarea { transition: border-color var(--mi) var(--ease-out), box-shadow var(--mi) var(--ease-out), background-color var(--mi) var(--ease-out); }
.input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 4px rgba(214, 181, 108, .16), 0 6px 18px -10px rgba(27, 28, 26, .35); }
.check input[type='checkbox']:checked, .check input[type='radio']:checked { animation: mi-pop 300ms var(--mi-spring); }
@keyframes mi-bump { 0% { transform: scale(1); } 35% { transform: scale(1.22) rotate(-6deg); } 70% { transform: scale(.94) rotate(3deg); } 100% { transform: scale(1); } }
[data-cart-link].is-bumped { animation: mi-bump 560ms var(--mi-spring); }
[data-cart-link].is-bumped .badge-count { animation: mi-pop 420ms var(--mi-spring) 120ms; }
.toast { animation: mi-drop 320ms var(--ease-out); }

/* Scroll reveals for blocks (cards, photos, boxes): rise in once, staggered within a row. Classes from app.js. */
html.mi-reveal .rv { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--rv-i, 0) * 70ms); }
html.mi-reveal .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn, .svc-btn, .shelf-card, .etch-card, .feature, .svc-window, .icon-btn, .hdr-btn, .shelf-shop { transition: none !important; transform: none !important; }
  .shelf-card:hover .shelf-media img, .svc-visual:hover img { transform: none !important; }
  :is(.size-chip, .segment, .option, .swatch):has(input:checked), .check input:checked, [data-cart-link].is-bumped, [data-cart-link].is-bumped .badge-count,
  :is(.faq, .svc-faq-list) details[open] > :not(summary), .toast { animation: none !important; }
  html.mi-reveal .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* What we offer: heading + photos are one column, so the black box sits level with them (owner, 2026-10-18). */
.svc-side { position: relative; z-index: auto; display: grid; gap: clamp(8px, 1.5vw, 20px); min-width: 0; }
@media (min-width: 900px) { .svc-row.is-flipped .svc-side { order: 2; } }
.svc-sec .svc-side .svc-sec-head { padding: 0; }
.svc-side .svc-visual { min-height: clamp(260px, 30vw, 460px); }

/* Wholesale in the What we offer look (owner, 2026-10-18). */

.ws-form .svc-sum-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Wholesale: the black box swaps between the overview and a compact quote form (owner, 2026-10-18). */
.ws-box .ws-view[hidden] { display: none; }
@keyframes ws-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ws-box .ws-view.is-entering { animation: ws-in 360ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .ws-box .ws-view.is-entering { animation: none; } }
.ws-box.is-form .svc-sum { max-width: 480px; }
.ws-box .svc-sum-label { align-items: center; }
.ws-back { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(236, 232, 225, .22); border-radius: 999px; background: none; cursor: pointer;
  color: rgba(236, 232, 225, .75); font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color 200ms, border-color 200ms, transform 200ms; }
.ws-back:hover { color: #ece8e1; border-color: rgba(236, 232, 225, .5); }
.ws-back:hover .icon { transform: translateX(-3px); }
.ws-back .icon { transition: transform 200ms var(--ease-out); }
.ws-box .alert { margin: 14px 0; }
/* Dark fields inside the box */
.ws-form { margin-top: 16px; }
.ws-form .form-grid { gap: 12px; }
.ws-form label { color: rgba(236, 232, 225, .82); font-size: .85rem; }
.ws-form label .opt, .ws-form .hint { color: rgba(236, 232, 225, .5); }
.ws-form .req { color: #e7cf8f; }
.page-light main .ws-form :is(.input, .textarea) { background: rgba(255, 250, 240, .06); border: 1px solid rgba(236, 232, 225, .18); color: #ece8e1; border-radius: 12px; }
.page-light main .ws-form :is(.input, .textarea):focus { border-color: rgba(236, 232, 225, .55); box-shadow: 0 0 0 4px rgba(214, 181, 108, .14); }
.ws-form .field-error { color: #f19a8f; }
.ws-form .svc-sum-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.page-light main .ws-form .input::placeholder { color: rgba(236, 232, 225, .38); }

/* Wholesale quote form: contacts on one row and the configurator's size picker with a stacked list (owner, 2026-10-18). */
.ws-box.is-form .svc-sum { max-width: 100%; }
.ws-form .ws-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ws-pick { margin: 14px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(236, 232, 225, .14); min-width: 0; }
.ws-pick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ws-pick-row.is-add { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; margin-top: 10px; }
.ws-pick-row.is-add > [hidden] { display: none; }
.ws-pick-row.is-add:has([data-ws-window-field][hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
.ws-pick .field { margin: 0; min-width: 0; }
.ws-pick label { color: rgba(236, 232, 225, .82); font-size: .85rem; }
.page-light main .ws-pick .select { background-color: rgba(255, 250, 240, .06); border: 1px solid rgba(236, 232, 225, .18); color: #ece8e1; border-radius: 12px; }
.page-light main .ws-pick .select option { color: #1b1c1a; }
body.page-light main .ws-box .ws-add.svc-btn { width: auto; min-height: 46px; padding-inline: 18px; font-size: .78rem; gap: 6px; }
.ws-lines { list-style: none; margin: 10px 0 0; padding: 0; max-height: 132px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-top: 1px solid rgba(236, 232, 225, .14); }
.ws-line { display: grid; grid-template-columns: minmax(0, 1fr) 84px 32px; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(236, 232, 225, .08); animation: mi-drop 260ms var(--ease-out); }
.ws-line-name { color: #ece8e1; font-size: .86rem; line-height: 1.35; overflow-wrap: anywhere; }
.page-light main .ws-line .ws-line-qty { min-height: 34px; padding: 4px 8px; text-align: right; background: rgba(255, 250, 240, .06); border: 1px solid rgba(236, 232, 225, .18); color: #ece8e1; border-radius: 10px; }
.ws-line-remove { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(236, 232, 225, .6); cursor: pointer; transition: background-color 200ms, color 200ms; }
.ws-line-remove:hover { background: rgba(236, 232, 225, .1); color: #ece8e1; }
.ws-line-remove .icon { width: 16px; height: 16px; }
.ws-lines-empty { margin: 10px 0 0; color: rgba(236, 232, 225, .5); font-size: .85rem; }
.ws-lines-empty[hidden], .ws-lines[hidden] { display: none; }
.ws-form > .form-grid:last-of-type { margin-top: 12px; }
@media (max-width: 640px) { .ws-form .ws-contact, .ws-pick-row { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ws-line { animation: none; } }
/* Picker in one row; fixed list area (owner, 2026-10-18). */
.ws-pick-title { margin: 0 0 6px; color: rgba(236, 232, 225, .82); font-size: .85rem; font-weight: 600; }
.ws-pick-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr) 76px 46px; gap: 8px; align-items: center; }
.ws-window { margin-top: 8px !important; }
.ws-window[hidden] { display: none; }
.ws-add { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(236, 232, 225, .4); background: linear-gradient(180deg, #e9e5dd, #cfc9be); color: #1e1d1b; cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.ws-add:hover { transform: translateY(-1px) rotate(90deg); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .7); }
.ws-add:active { transform: scale(.94); }
.ws-add .icon { width: 18px; height: 18px; }
.page-light main .ws-pick .ws-qty .input { text-align: center; padding-inline: 6px; }
.ws-lines-area { position: relative; height: 92px; margin-top: 10px; border-top: 1px solid rgba(236, 232, 225, .14); }
.ws-lines-area .ws-lines { margin: 0; max-height: 100%; height: 100%; border-top: 0; }
.ws-lines-area .ws-lines-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; text-align: center; padding: 0 12px; }
.ws-lines-area .ws-lines-empty[hidden] { display: none; }
.page-light main .ws-form textarea.textarea { min-height: 46px; resize: vertical; }
@media (max-width: 640px) { .ws-pick-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ws-pick-row .ws-qty { grid-column: 1; } }
.page-light main .ws-pick .select { padding: 0 24px 0 10px; font-size: .86rem; background-position: right 8px center; text-overflow: ellipsis; }
.ws-pick-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.05fr) 64px 44px; }
.ws-add { width: 44px; height: 44px; }
.page-light main .ws-pick .select { padding: 0 20px 0 8px; background-position: right 6px center; }
.ws-pick-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr) minmax(0, .8fr) 60px 44px; gap: 6px; }
.ws-pick-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .92fr) 60px 44px; }
@media (max-width: 1400px) { .page-light main .ws-pick .select { font-size: .8rem; padding-left: 6px; } }
/* Phones: the picker on two rows — shape | finish, then size | quantity | + */
@media (max-width: 640px) {
  .ws-pick-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "shape finish finish" "size qty add"; }
  .ws-pick-row > :nth-child(1) { grid-area: shape; } .ws-pick-row > :nth-child(2) { grid-area: finish; }
  .ws-pick-row > :nth-child(3) { grid-area: size; } .ws-pick-row > :nth-child(4) { grid-area: qty; } .ws-pick-row > :nth-child(5) { grid-area: add; }
  .page-light main .ws-pick .select { font-size: .9rem; }
}

/* What we offer: side slider (owner, 2026-10-18) — dark-glass pill at the right edge, one dot per section; the
   active dot stretches into a bar; names appear on hover. Desktop only. */
.svc-rail { display: none; }
@media (min-width: 1024px) and (hover: hover) {
  .svc-rail { position: fixed; z-index: 40; right: 18px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 8px; border-radius: 999px;
    background: rgba(20, 19, 18, .82); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 30px -16px rgba(0, 0, 0, .6);
    opacity: 0; transform: translate(12px, -50%); pointer-events: none; transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
  .svc-rail.is-shown { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
  .svc-rail a { position: relative; display: block; width: 6px; height: 6px; border-radius: 999px; background: rgba(236, 232, 225, .38);
    transition: height 380ms var(--mi-spring, cubic-bezier(.34, 1.56, .64, 1)), background-color 300ms var(--ease-out), transform 200ms var(--ease-out); }
  .svc-rail a::before { content: ''; position: absolute; inset: -8px -10px; } /* bigger hit area */
  .svc-rail a:hover { background: rgba(236, 232, 225, .75); transform: scale(1.25); }
  .svc-rail a.is-active { height: 22px; background: #ece8e1; transform: none; }
  .svc-rail a:focus-visible { outline: 2px solid #ece8e1; outline-offset: 4px; }
  .svc-rail-name { position: absolute; right: calc(100% + 18px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; pointer-events: none;
    padding: 6px 12px; border-radius: 999px; background: rgba(20, 19, 18, .9); border: 1px solid rgba(255, 255, 255, .12); color: #ece8e1;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
  .svc-rail a:hover .svc-rail-name, .svc-rail a:focus-visible .svc-rail-name { opacity: 1; transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) { .svc-rail, .svc-rail a, .svc-rail-name { transition: none; } }
/* Side slider everywhere (owner, 2026-10-18): long labels (FAQ questions, legal headings) end in an ellipsis. */
.svc-rail-name { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
/* Side slider: sit in the middle of the right margin, not against the content (owner, 2026-10-18). */
@media (min-width: 1024px) and (hover: hover) { .svc-rail { right: clamp(8px, .8vw, 14px); } }
@media (min-width: 1024px) and (hover: hover) { .svc-rail { right: max(6px, calc(1.5vw - 12px)); } } /* centred in the 3vw page margin (pill is 24px wide) */

/* Landing page: its side margin stops growing at 48px, so centre the slider in that (owner, 2026-10-18). */
@media (min-width: 1024px) and (hover: hover) { body.page-home .svc-rail { right: max(6px, calc(min(3vw, 48px) / 2 - 12px)); } }

/* About us, rebuilt from the owner's text (2026-10-19): key-number band and long-text chapters. */
.ab-stats { background: #fcfbf9; padding-block: clamp(36px, 5vw, 72px); border-bottom: 1px solid rgba(27, 28, 26, .09); }
.ab-stats .svc-wrap { max-width: 1720px; padding-inline: clamp(16px, 3vw, 56px); }
.ab-stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin: 0; }
.ab-stat { margin: 0; padding-top: 14px; border-top: 1px solid rgba(27, 28, 26, .14); }
.ab-stat dt { margin: 0; font-size: clamp(2rem, 1.3rem + 2vw, 3.4rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; color: #1b1c1a; font-variant-numeric: tabular-nums; }
.ab-stat dd { margin: 10px 0 0; max-width: 22ch; color: #5b5f58; font-size: .9rem; line-height: 1.45; }
@media (max-width: 1100px) { .ab-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .ab-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Long text in the black box: a wider column and comfortable reading size. */
.ab-chapter .svc-window.is-summary .svc-sum { max-width: 600px; }
.ab-chapter .svc-window .ab-para { font-size: .98rem; line-height: 1.75; color: rgba(236, 232, 225, .8); }
.ab-chapter .svc-window .ab-para + .ab-para { margin-top: 14px; }
.ab-chapter .svc-sum-label { margin-bottom: 18px; }

/* Back to top (owner, 2026-10-19): round dark glass like the side slider, bottom right, near the end of long pages. */
.to-top { position: fixed; z-index: 45; right: max(16px, calc(1.5vw - 12px)); bottom: max(16px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(20, 19, 18, .86); color: #ece8e1; cursor: pointer;
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 30px -14px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), background-color 200ms var(--ease-out); }
.to-top[hidden] { display: none; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); transition: transform 260ms var(--ease-out); }
.to-top:hover { background: rgba(38, 37, 34, .92); }
.to-top:hover .icon { transform: rotate(-90deg) translateX(3px); }
.to-top:active { transform: scale(.94); }
.to-top:focus-visible { outline: 2px solid #ece8e1; outline-offset: 3px; }
@media (min-width: 1024px) and (hover: hover) { .to-top { right: max(6px, calc(1.5vw - 12px - 12px)); } } /* lines up under the side slider */
@media (max-width: 1023px) { body:has(.mobile-buybar) .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top .icon { transition: none; } }
@media (min-width: 1024px) and (hover: hover) { body.page-home .to-top { right: max(6px, calc(min(3vw, 48px) / 2 - 24px)); } }
@media (min-width: 1024px) and (hover: hover) {
  .to-top { width: 40px; height: 40px; right: max(6px, calc(1.5vw - 20px)); }
  body.page-home .to-top { right: max(6px, calc(min(3vw, 48px) / 2 - 20px)); }
  .to-top .icon { width: 18px; height: 18px; }
}
/* Configurator buy row on phones (2026-10-19): never wider than the screen (long labels like Bulgarian
   "ДОБАВИ В КОЛИЧКАТА" pushed it to 393px on a 375px phone). */
.buy-line { min-width: 0; max-width: 100%; }
@media (max-width: 480px) { .buy-line .add-cta { letter-spacing: .06em; padding-inline: 12px; } .buy-line .add-cta [data-add-label] { overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 480px) { .buy-line .add-cta { white-space: normal; line-height: 1.2; text-align: center; } .buy-line .add-cta [data-add-label] { overflow: visible; text-overflow: clip; } }

/* About us: full-screen closing band (owner, 2026-10-19) — the hero's dark gradient, edge to edge, one screen tall,
   content centred. */
.ab-closing { --chrome: var(--header-h); position: relative; display: grid; place-items: center; min-height: calc(100vh - var(--chrome)); min-height: calc(100dvh - var(--chrome));
  background: radial-gradient(ellipse 80% 90% at 50% 45%, #33312d 0%, #262522 48%, #1a1918 100%) #1a1918; color: #ece8e1; text-align: center; }
.ab-closing .ab-closing-inner { width: 100%; padding: clamp(56px, 8vw, 120px) clamp(16px, 4vw, 48px); background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
.ab-closing .ab-closing-inner::before { content: none; }
.ab-closing .svc-sum { max-width: 640px; margin-inline: auto; }
.ab-closing .etch-eyebrow { color: rgba(236, 232, 225, .62); }
.ab-closing .svc-title { color: #f2efe9; margin-inline: auto; max-width: 16ch; }
.ab-closing .svc-intro { color: rgba(236, 232, 225, .74); margin-inline: auto; }
.ab-closing .svc-sum-btns { max-width: 440px; margin: clamp(28px, 3vw, 40px) auto 0; }

/* About us: soft, still film grain over the whole page (owner, 2026-10-19). Purely visual: no clicks blocked. */
body.page-about::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; }
body.page-about::after { opacity: .16; mix-blend-mode: overlay; } /* overlay: equally soft on the light and the dark parts */
/* About us closing band, smaller and running straight into the footer (owner, 2026-10-19). */
body:has(.ab-closing) .site-footer { margin-top: 0; }
.ab-closing { min-height: clamp(400px, 64vh, 620px); }
.ab-closing .ab-closing-inner { padding-block: clamp(48px, 6vw, 88px); }
.ab-closing .svc-title { font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); }
.ab-closing .svc-intro { font-size: .98rem; }
.ab-closing .svc-sum-btns { max-width: 380px; margin-top: clamp(22px, 2.4vw, 32px); }
body.page-light main .ab-closing .svc-sum-btns .btn.svc-btn { min-height: 48px; font-size: .84rem; }
body.page-about::after { opacity: .26; } /* grain a bit stronger (owner, 2026-10-19) */
/* About us boxes = the Wholesale box (owner, 2026-10-19): same 440px text column, and on desktop the same height
   (Wholesale's box measures ~704px at 1280px wide → ~732px at 1900px), text centred vertically. */
.ab-chapter .svc-window.is-summary .svc-sum { max-width: 440px; }
.ab-chapter .svc-window .ab-para { font-size: .95rem; line-height: 1.65; }
@media (min-width: 900px) { .ab-chapter .svc-window.is-summary { min-height: calc(660px + 3.8vw); } }
/* Wholesale box keeps the About boxes' height now that its list is gone (owner, 2026-10-19): the boxes stay the
   same size, and opening the quote form inside it doesn't make the page grow. */
@media (min-width: 900px) { .ws-box.svc-window.is-summary { min-height: calc(660px + 3.8vw); } }
/* About us black boxes: the checkout box's cursor light (owner, 2026-10-19). */
.svc-window > .cfg-spotlight { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.svc-window[data-spotlight] > .svc-sum { position: relative; z-index: 1; }

/* Landing hero: text centred again (owner, 2026-10-21); the "text on the left for now" block was removed. */

/* Side slider + back-to-top on every page (owner, 2026-10-19). Where the dark panel sits on the right (configurator,
   cart, checkout) they move to the left edge so they never cover it; the slider's names then open to the right. */
@media (min-width: 1024px) and (hover: hover) {
  body.rail-left .svc-rail { right: auto; left: 12px; transform: translate(-12px, -50%); }
  body.rail-left .svc-rail.is-shown { transform: translate(0, -50%); }
  body.rail-left .svc-rail-name { right: auto; left: calc(100% + 18px); transform: translate(-6px, -50%); }
  body.rail-left .svc-rail a:hover .svc-rail-name, body.rail-left .svc-rail a:focus-visible .svc-rail-name { transform: translate(0, -50%); }
  body.rail-left .to-top { right: auto; left: 4px; }
}
.svc-rail a[hidden] { display: none; }

/* About us, Technology for partners: the two example machines (placeholder, owner 2026-10-19) blended into the page
   like the product photos (white background multiplied, soft edge fade); the printer wider than the laminator,
   their bases roughly level; dark "Example equipment" label on the light page. */
.svc-visual.is-equipment { align-items: flex-end; gap: clamp(4px, 1vw, 16px); }
.svc-visual.is-equipment img { width: auto; height: auto; object-fit: contain; }
.svc-visual.is-equipment img:first-of-type { max-width: 60%; max-height: clamp(220px, 26vw, 420px); }
.svc-visual.is-equipment img:last-of-type { max-width: 38%; max-height: clamp(190px, 22vw, 360px); }
.svc-visual.is-equipment .svc-label { color: rgba(27, 28, 26, .55); }

/* About us, Our story: slideshow of the workshop's photos (owner, 2026-10-19) — one rounded photo in the place of the
   two pieces, crossfading; small dark-glass arrows at the sides and dots at the bottom, like the side slider. */
.ab-slides { position: relative; width: 100%; max-width: 760px; margin-inline: auto; aspect-ratio: 974 / 650; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: #e9e5dd; box-shadow: 0 30px 60px -30px rgba(40, 30, 15, .45); }
.ab-slides-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 900ms var(--ease-out), transform 5200ms linear; }
.ab-slides-track img.is-active { opacity: 1; transform: scale(1); }
.ab-slides-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; margin-top: -20px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(20, 19, 18, .62); color: #ece8e1; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity 260ms var(--ease-out), background-color 200ms, transform 200ms var(--ease-out); }
.ab-slides-arrow.is-prev { left: 14px; } .ab-slides-arrow.is-next { right: 14px; }
.ab-slides:hover .ab-slides-arrow, .ab-slides:focus-within .ab-slides-arrow { opacity: 1; }
.ab-slides-arrow:hover { background: rgba(20, 19, 18, .82); }
.ab-slides-arrow:active { transform: scale(.94); }
.ab-slides-dots { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(20, 19, 18, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ab-slides-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(236, 232, 225, .45); cursor: pointer;
  transition: width 360ms var(--mi-spring, cubic-bezier(.34, 1.56, .64, 1)), background-color 260ms; }
.ab-slides-dots button[aria-current='true'] { width: 22px; background: #ece8e1; }
.ab-slides :focus-visible { outline: 2px solid #ece8e1; outline-offset: 2px; }
@media (hover: none) { .ab-slides-arrow { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ab-slides-track img { transition: opacity 200ms; transform: none; } }
/* Wholesale: same room below the black box as above it (owner, 2026-10-19) — no extra gap before the footer, and
   the section's bottom padding equal to its top. */
body:has([data-ws-box]) .site-footer { margin-top: 0; }
body:has([data-ws-box]) #supply.svc-sec { padding-bottom: clamp(40px, 5.5vw, 88px); }

/* What we offer, Photo editing: before/after slideshow (owner, 2026-10-19). Same controls as the About slideshow;
   each picture sits on its white background, blended into the page (multiply), with Before / After tags on its
   two halves (--split = where the result starts). */
.ab-slides.is-compare { max-width: 820px; aspect-ratio: 1380 / 760; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
.ab-slides.is-compare .ab-compare { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transition: opacity 900ms var(--ease-out); }
.ab-slides.is-compare .ab-compare.is-active { opacity: 1; }
.ab-compare-pic { position: relative; display: block; max-width: 100%; max-height: 100%; width: 100%; }
.ab-compare-pic img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ab-compare-tag { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 19, 18, .72); color: #ece8e1;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ab-compare-tag.is-before { left: 10px; }
.ab-compare-tag.is-after { left: calc(var(--split) + 10px); }
.ab-slides.is-compare .ab-slides-dots { bottom: -40px; background: rgba(20, 19, 18, .72); }
.ab-slides.is-compare .ab-slides-arrow.is-prev { left: -8px; } .ab-slides.is-compare .ab-slides-arrow.is-next { right: -8px; }
.svc-side:has(.ab-slides.is-compare) { padding-bottom: 44px; }
@media (prefers-reduced-motion: reduce) { .ab-slides.is-compare .ab-compare { transition: opacity 200ms; } }
.ab-slides.is-compare { isolation: auto; } /* let the white backgrounds multiply onto the page, not onto a box */
.ab-slides.is-compare .ab-slides-track img { position: static; inset: auto; width: 100%; height: 100%; opacity: 1; transform: none; transition: none; } /* the slide (figure) fades, not the image */

/* Photo restoration page in the Wholesale style (owner, 2026-10-19): numbered steps as rows in the black box. */

/* Photo restoration, one section (owner, 2026-10-19): equal room above and below the box, no extra gap before the footer. */
body:has(#what.svc-sec) .site-footer { margin-top: 0; }
body:has(#what.svc-sec) #what.svc-sec { padding-bottom: clamp(40px, 5.5vw, 88px); }

/* Landing FAQ = the About closing band (owner, 2026-10-19), with the five questions as a narrow centred list. */
.home-faq-band .svc-title em { font-style: normal; font-weight: inherit; color: inherit; }
.home-faq-band .ab-closing-inner .svc-sum { max-width: 680px; }
.home-faq-band .hf-list { display: grid; gap: 0; margin: clamp(24px, 3vw, 36px) auto 0; max-width: 640px; text-align: left; border-top: 1px solid rgba(236, 232, 225, .14); }
.home-faq-band .hf-list details { border: 0; border-bottom: 1px solid rgba(236, 232, 225, .14); border-radius: 0; background: none; }
.home-faq-band .hf-list summary { padding: 16px 4px; color: #ece8e1; font-weight: 600; font-size: .98rem; }
.home-faq-band .hf-list summary .icon { flex: none; color: #ece8e1; width: 28px; height: 28px; padding: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .3); }
.home-faq-band .hf-list details[open] summary .icon { background: rgba(236, 232, 225, .1); }
.home-faq-band .hf-list .answer { padding: 0 4px 16px; }
.home-faq-band .hf-list .answer p { margin: 0; color: rgba(236, 232, 225, .72); font-size: .94rem; line-height: 1.6; }
/* The pill buttons on the landing page's band (its body is not .page-light, so the shared rule misses it). */
body.page-home .home-faq-band .svc-sum-btns .btn.svc-btn { width: 100%; margin: 0; justify-content: center; min-height: 48px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .84rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.page-home .home-faq-band .svc-sum-btns .btn.svc-btn:not(.is-secondary) { background: linear-gradient(180deg, #e9e5dd, #cfc9be) !important; border: 0 !important; color: #1e1d1b !important; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); }
body.page-home .home-faq-band .svc-sum-btns .btn.svc-btn.is-secondary { background: transparent !important; border: 1px solid rgba(236, 232, 225, .4) !important; color: #ece8e1 !important; box-shadow: none; }
body.page-home .home-faq-band .svc-sum-btns .btn.svc-btn.is-secondary:hover { background: rgba(255, 255, 255, .08) !important; border-color: rgba(236, 232, 225, .7) !important; }

/* About us, Service chapter: gold seal for the 10-year durability guarantee (owner, 2026-10-20), sitting over the
   heart's lower right, slightly tilted, in the site's gold accents on a dark centre; turns a little on hover. */
.ab-seal { position: absolute; z-index: 2; right: clamp(4%, 8%, 14%); bottom: 8%; width: clamp(104px, 10vw, 148px); aspect-ratio: 1; transform: rotate(-12deg);
  filter: drop-shadow(0 14px 22px rgba(40, 30, 15, .35)); transition: transform 700ms var(--mi-spring, cubic-bezier(.34, 1.56, .64, 1)); }
.ab-seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ab-seal-outer { fill: #1d1c1a; stroke: #d6b56c; stroke-width: 2; }
.ab-seal-inner { fill: none; stroke: rgba(214, 181, 108, .55); stroke-width: 1; }
.ab-seal-ring { fill: #e7cf8f; font-size: 8.6px; font-weight: 700; letter-spacing: .14em; }
.ab-seal-num { fill: #e7cf8f; font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.ab-seal-years { fill: #d6b56c; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.svc-sec:hover .ab-seal { transform: rotate(-4deg) scale(1.04); }
@media (prefers-reduced-motion: reduce) { .ab-seal { transition: none; } .svc-sec:hover .ab-seal { transform: rotate(-12deg); } }

/* Photo restoration (owner, 2026-10-20): one person, five edits — a square picture slideshow (like Our story) and the
   edits as numbered rows in the black box; the row for the picture on screen is lit and opens its description. */
.ab-slides.rs-edits { max-width: 560px; aspect-ratio: 1; }
.rs-placeholder { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 19, 18, .72); color: #ece8e1;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rs-edit-rows { list-style: none; counter-reset: none; }
.rs-edit-rows li { padding: 0; }
.rs-edit-rows button { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; width: 100%; padding: 12px 6px; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; border-radius: 10px; transition: background-color 240ms var(--ease-out); }
.rs-edit-rows button:hover { background: rgba(255, 255, 255, .04); }
.rs-edit-rows button:focus-visible { outline: 2px solid #ece8e1; outline-offset: 2px; }
.rs-edit-n { color: rgba(236, 232, 225, .4); font-size: .8rem; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; padding-top: 2px; transition: color 300ms; }
.rs-edit-body strong { display: block; color: rgba(236, 232, 225, .7); font-weight: 600; font-size: .98rem; transition: color 300ms; }
.rs-edit-text { display: grid; grid-template-rows: 0fr; overflow: hidden; color: rgba(236, 232, 225, .7); font-size: .9rem; line-height: 1.55; opacity: 0;
  transition: grid-template-rows 420ms var(--ease-out), opacity 300ms var(--ease-out), margin 420ms var(--ease-out); }
.rs-edit-rows li.is-active .rs-edit-text { grid-template-rows: 1fr; opacity: 1; margin-top: 4px; }
.rs-edit-rows li.is-active .rs-edit-n { color: #e7cf8f; }
.rs-edit-rows li.is-active strong { color: #f2efe9; }
@media (prefers-reduced-motion: reduce) { .rs-edit-text { transition: none; } }
.rs-edit-text > span { min-height: 0; }

/* Photo restoration laid out exactly like Wholesale (owner, 2026-10-20): heading top-left, picture under it, the
   black box the same height as the Wholesale box with its content centred, same spacing. Picture stays 560px max. */
@media (min-width: 900px) {
  #what .svc-window.is-summary { min-height: calc(660px + 3.8vw); }
}

/* Photo restoration (owner, 2026-10-21): the owner's own pictures; the "Placeholder" tag shows only while a picture
   that is still a placeholder (combining two photos) is on screen. */
.rs-edits .rs-placeholder { opacity: 0; transition: opacity 300ms var(--ease-out); }
.rs-edits:has(img.is-active[data-placeholder]) .rs-placeholder { opacity: 1; }

/* Photo restoration (owner, 2026-10-21): the whole section fits one screen under the header, and nothing moves when
   a step changes — the black box has a fixed height (the Wholesale box's, or less on short screens) with its button
   pinned to the bottom, so the box and the left side stay put; the picture shrinks only on short screens. */
@media (min-width: 900px) {
  #what.svc-sec { --rs-pad: clamp(16px, 3vh, 40px); --rs-fit: calc(100dvh - var(--header-h) - 2 * var(--rs-pad)); padding-block: var(--rs-pad); }
  #what .svc-row { align-items: center; }
  #what .svc-window.is-summary { height: min(calc(660px + 3.8vw), var(--rs-fit)); min-height: 0; padding-block: clamp(20px, 3.6vh, 56px); }
  #what .svc-window.is-summary > .svc-sum { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
  #what .svc-sum > * { flex: none; }
  #what .svc-sum-btns { margin-top: auto; padding-top: clamp(10px, 2vh, 24px); }
  #what .svc-window .svc-sum-label { margin-bottom: clamp(8px, 1.4vh, 14px); padding-bottom: clamp(8px, 1.4vh, 14px); }
  #what .svc-window .svc-sum-text { margin-bottom: clamp(6px, 1.2vh, 14px); }
  #what .rs-edit-rows button { padding-block: clamp(5px, 1vh, 12px); }
  #what .svc-sum-note { margin-top: clamp(8px, 1.4vh, 14px); }
  #what .svc-side { gap: clamp(10px, 1.8vh, 20px); }
  #what .ab-slides.rs-edits { width: min(560px, calc(var(--rs-fit) - 150px)); max-width: 100%; }
}
@media (min-width: 900px) {
  /* The page's general "#what" bottom padding is larger; keep the section even so it fits the screen. */
  body:has(#what.svc-sec) #what.svc-sec { padding-block: var(--rs-pad); }
}
/* Short screens (e.g. 1366 × 768 laptops): tighter type and spacing so the box content still fits its height. */
@media (min-width: 900px) and (max-height: 760px) {
  #what .svc-window.is-summary { padding-block: 18px; }
  #what .svc-window .svc-sum-text { font-size: .84rem; line-height: 1.45; }
  #what .rs-edit-rows button { padding-block: 3px; }
  #what .rs-edit-rows strong { font-size: .88rem; }
  #what .rs-edit-text > span { font-size: .8rem; line-height: 1.4; }
  #what .svc-sum-btns { padding-top: 8px; }
  #what .svc-sum-btns .btn.svc-btn { min-height: 44px; }
  #what .svc-sum-note { font-size: .74rem; margin-top: 6px; }
}

/* What we offer → Photo editing (owner, 2026-10-21): the restoration page's edits slideshow and steps. Same locking as
   there: the box has a fixed height (the Wholesale box's, or less on short screens) with the buttons pinned to the
   bottom, so nothing moves when a step opens; the picture shrinks only on short screens. */
@media (min-width: 900px) {
  #editing { --sv-fit: calc(100dvh - var(--header-h) - 2 * clamp(16px, 3vh, 40px)); }
  #editing .svc-row { align-items: center; }
  #editing .sv-edit-box.svc-window.is-summary { height: min(calc(660px + 3.8vw), var(--sv-fit)); min-height: 0; padding-block: clamp(20px, 3.6vh, 56px); }
  /* The text, steps and buttons sit together in the middle of the box, not pinned to its top and bottom (owner, 2026-11-08). */
  #editing .sv-edit-box > .svc-sum { height: 100%; display: flex; flex-direction: column; justify-content: center; }
  #editing .sv-edit-box .svc-sum > * { flex: none; }
  #editing .sv-edit-box .svc-sum-btns { margin-top: 0; padding-top: clamp(14px, 2.6vh, 28px); }
  #editing .sv-edit-box .svc-sum-label { margin-bottom: clamp(8px, 1.4vh, 14px); padding-bottom: clamp(8px, 1.4vh, 14px); }
  #editing .sv-edit-box .svc-sum-text { margin-bottom: clamp(6px, 1.2vh, 14px); }
  #editing .sv-edit-box .rs-edit-rows { min-height: var(--rows-h, 0); }
  #editing .sv-edit-box .rs-edit-rows button { padding-block: clamp(4px, .9vh, 11px); }
  #editing .sv-edit-box .svc-sum-note { margin-top: clamp(8px, 1.4vh, 14px); }
  #editing .svc-side { gap: clamp(10px, 1.8vh, 20px); }
  #editing .ab-slides.rs-edits { width: min(560px, calc(var(--sv-fit) - 150px)); max-width: 100%; }
}
@media (min-width: 900px) and (max-height: 760px) {
  #editing .sv-edit-box.svc-window.is-summary { padding-block: 18px; }
  #editing .sv-edit-box .svc-sum-text { font-size: .84rem; line-height: 1.45; }
  #editing .sv-edit-box .rs-edit-rows button { padding-block: 3px; }
  #editing .sv-edit-box .rs-edit-rows strong { font-size: .88rem; }
  #editing .sv-edit-box .rs-edit-text > span { font-size: .8rem; line-height: 1.4; }
  #editing .sv-edit-box .svc-sum-btns { padding-top: 8px; gap: 8px; }
  #editing .sv-edit-box .svc-sum-btns .btn.svc-btn { min-height: 42px; }
  #editing .sv-edit-box .svc-sum-note { font-size: .74rem; margin-top: 6px; }
}
@media (min-width: 900px) {
  /* Two buttons here (one on the restoration page): a little more height so the steps never press against them. */
  #editing .sv-edit-box.svc-window.is-summary { height: min(calc(720px + 3.8vw), var(--sv-fit)); }
}

/* FAQ page (owner, 2026-10-22): like Wholesale — heading on the left, the questions as a light-on-dark accordion in
   the black box (the landing FAQ's look), one answer open at a time. The box keeps one height (the Wholesale box's,
   or less on short screens) with the button pinned to the bottom, so opening an answer moves nothing outside it. */
.faq-side-text { max-width: 36ch; margin: 0; color: var(--muted, #6b675f); font-size: 1.02rem; line-height: 1.6; }
.faq-box .faq-box-list { display: grid; gap: 0; margin: 0; text-align: left; border-top: 1px solid rgba(236, 232, 225, .14); }
.faq-box .faq-box-list details { border: 0; border-bottom: 1px solid rgba(236, 232, 225, .14); border-radius: 0; background: none; }
.faq-box .faq-box-list summary { padding: clamp(10px, 1.6vh, 15px) 2px; color: #ece8e1; font-weight: 600; font-size: .95rem; gap: 12px; }
.faq-box .faq-box-list summary .icon { flex: none; color: #ece8e1; width: 26px; height: 26px; padding: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .3); }
.faq-box .faq-box-list details[open] summary .icon { background: rgba(236, 232, 225, .1); }
.faq-box .faq-box-list .answer { padding: 0 2px clamp(10px, 1.6vh, 15px); }
.faq-box .faq-box-list .answer p { margin: 0; color: rgba(236, 232, 225, .72); font-size: .9rem; line-height: 1.55; }
body:has(#faq-list) .site-footer { margin-top: 0; }
#faq-list.svc-sec { padding-bottom: clamp(40px, 5.5vw, 88px); }
@media (min-width: 900px) {
  #faq-list { --fq-fit: calc(100dvh - var(--header-h) - 2 * clamp(16px, 3vh, 40px)); }
  #faq-list .svc-row { align-items: center; }
  #faq-list .faq-box.svc-window.is-summary { height: min(calc(660px + 3.8vw), var(--fq-fit)); min-height: 0; padding-block: clamp(20px, 3.6vh, 56px); }
  #faq-list .faq-box > .svc-sum { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
  #faq-list .faq-box .svc-sum > * { flex: none; }
  #faq-list .faq-box .svc-sum-btns { margin-top: auto; padding-top: clamp(10px, 2vh, 24px); }
}
@media (min-width: 900px) {
  body:has(#faq-list) #faq-list.svc-sec { padding-block: clamp(16px, 3vh, 40px); }
  #faq-list .faq-box .faq-box-list summary { padding-block: clamp(7px, 1.15vh, 13px); font-size: .92rem; line-height: 1.35; }
  #faq-list .faq-box .faq-box-list .answer { padding-bottom: clamp(8px, 1.2vh, 13px); }
  #faq-list .faq-box .svc-sum-label { margin-bottom: clamp(8px, 1.4vh, 14px); padding-bottom: clamp(8px, 1.4vh, 14px); }
  #faq-list .faq-box .svc-sum-note { margin-top: clamp(8px, 1.4vh, 14px); }
}
@media (min-width: 900px) and (max-height: 760px) {
  #faq-list .faq-box.svc-window.is-summary { padding-block: 18px; }
  #faq-list .faq-box .faq-box-list summary { padding-block: 5px; font-size: .86rem; }
  #faq-list .faq-box .faq-box-list summary .icon { width: 22px; height: 22px; padding: 5px; }
  #faq-list .faq-box .faq-box-list .answer p { font-size: .82rem; line-height: 1.45; }
  #faq-list .faq-box .faq-box-list .answer { padding-bottom: 6px; }
  #faq-list .faq-box .svc-sum-btns { padding-top: 8px; }
  #faq-list .faq-box .svc-sum-btns .btn.svc-btn { min-height: 44px; }
  #faq-list .faq-box .svc-sum-note { font-size: .74rem; margin-top: 6px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  /* Very short screens (1366 × 768 laptops): the small note repeats the Contact button, so it steps aside. */
  #faq-list .faq-box .svc-sum-note { display: none; }
  #faq-list .faq-box .svc-sum-label { margin-bottom: 6px; padding-bottom: 6px; }
  #faq-list .faq-box .faq-box-list .answer p { font-size: .8rem; line-height: 1.4; }
}
@media (min-width: 900px) {
  /* A slightly wider column in this box: the questions wrap less, so every answer fits without moving anything. */
  #faq-list .faq-box .svc-sum { width: 100%; max-width: 520px; }
}
@media (min-width: 900px) and (max-height: 700px) { #faq-list .faq-box.svc-window.is-summary { padding-block: 12px; } }

/* FAQ box (owner, 2026-10-22): content centred in the box (was top-aligned, looked too high). The box keeps its fixed
   height, so opening an answer only moves things inside the box, never the page. */
@media (min-width: 900px) {
  #faq-list .faq-box > .svc-sum { justify-content: center; }
  #faq-list .faq-box .svc-sum-btns { margin-top: 0; padding-top: 0; }
  #faq-list .faq-box .faq-box-list { margin-bottom: clamp(14px, 2.4vh, 26px); }
}

/* About → Partners (owner, 2026-10-22): a clean map of Europe (the countries we work in, in the boxes' dark tone) with
   a small caption listing them; the partner logo(s) at the bottom of the black box on small light chips. */
.ab-map { margin: 0; display: grid; gap: clamp(10px, 1.6vw, 18px); justify-items: center; }
.ab-map img { display: block; width: min(100%, 560px); height: auto; mix-blend-mode: multiply; }
.ab-map figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; color: var(--muted, #6b675f); font-size: .86rem; }
.ab-map-title { font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #1b1c1a; }
.ab-map-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.ab-map-list li { display: inline-flex; align-items: center; gap: 7px; }
.ab-map-list li::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: #2b2a27; }
.ab-partners { margin-top: clamp(14px, 2vh, 22px); padding-top: clamp(12px, 1.8vh, 18px); border-top: 1px solid rgba(236, 232, 225, .14); }
.ab-partners-label { margin: 0 0 10px; color: rgba(236, 232, 225, .6); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ab-partners-logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ab-partners-logos li { padding: 8px 12px; border-radius: 12px; background: #f5f2ec; transition: transform 200ms var(--ease-out); }
.ab-partners-logos li:hover { transform: translateY(-2px); }
.ab-partners-logos img { display: block; height: 34px; width: auto; }
/* The map's cut edges fade into the page, so it reads as a soft vignette rather than a rectangle. */
.ab-map img { -webkit-mask-image: radial-gradient(ellipse 70% 68% at 50% 52%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 70% 68% at 50% 52%, #000 58%, transparent 100%); }
/* Map (owner, 2026-10-22): the countries we work in are in the accent gold; the caption's markers match. */
.ab-map-list li::before { background: var(--gold, #b18e3e); }

/* Photo restoration: Photo editing | Designs pill (owner, 2026-10-22), top left of the section — the configurator's
   switch look on the light page: bright frosted glass, the chosen side a dark pane with light text. */
.rs-switch-wrap { padding-bottom: clamp(14px, 2.4vh, 28px); }
.rs-switch.mode-switch { background: rgba(250, 248, 244, .88); border: 1px solid rgba(27, 28, 26, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 1px 2px rgba(27, 28, 26, .12), 0 6px 14px -6px rgba(27, 28, 26, .28), 0 18px 34px -18px rgba(40, 30, 15, .45); }
.rs-switch.mode-switch button { color: #353733; }
.rs-switch.mode-switch button:hover { color: #1b1c1a; }
.rs-switch.mode-switch button[aria-selected='true'] { color: #f5f2ec; }
.rs-switch.mode-switch button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rs-switch .mode-switch-glider { background: rgba(20, 19, 18, .92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 18px -10px rgba(0, 0, 0, .6); }
.rs-panel[hidden] { display: none; }
.rs-panel.is-entering { animation: ws-in 360ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .rs-panel.is-entering { animation: none; } }
/* The pill takes a line above the section: the one-screen fit leaves room for it. */
@media (min-width: 900px) { #what.svc-sec { --rs-fit: calc(100dvh - var(--header-h) - 2 * var(--rs-pad) - 66px); } }

/* Designs: cards like the landing page's product shelf (photo on a light tile, small label, uppercase name). */
.rs-designs { display: block; }
.rs-designs-text { max-width: 60ch; margin: 0 0 clamp(18px, 2.6vw, 32px); color: var(--muted, #5b5f58); font-size: 1rem; line-height: 1.6; }
.rs-design-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 1023px) { .rs-design-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .rs-design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rs-design-card { width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: zoom-in; }
.rs-design-card .shelf-media { padding: 9%; transition: background-color 260ms var(--ease-out); }
.rs-design-card .shelf-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 500ms var(--ease-out); }
.rs-design-card:hover .shelf-media img, .rs-design-card:focus-visible .shelf-media img { transform: scale(1.04); }
.rs-design-card:hover .shelf-name { text-decoration: underline; text-underline-offset: 3px; }
.rs-design-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* Large view: a light panel over a dimmed page; picture left, name and button right (stacked on phones). */
.rs-design-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(18px, 3vw, 36px); border: 0; border-radius: 22px; background: #fcfbf9; color: #1b1c1a;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); overflow: auto; }
.rs-design-dialog[open] { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; animation: ws-in 320ms var(--ease-out); }
.rs-design-dialog::backdrop { background: rgba(20, 19, 18, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rs-design-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 120px); object-fit: contain; mix-blend-mode: multiply; }
.rs-design-shape { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink, #7a5e1f); }
.rs-design-info h3 { margin: 0 0 clamp(16px, 2.4vw, 26px); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.rs-design-info .btn.svc-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: #1b1c1a; color: #f5f2ec; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.rs-design-info .btn.svc-btn:hover .icon { transform: translateX(3px); }
.rs-design-info .btn.svc-btn .icon { transition: transform 200ms var(--ease-out); }
.rs-design-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(27, 28, 26, .14); border-radius: 50%; background: #fcfbf9; color: #1b1c1a; cursor: pointer; transition: background-color 200ms; }
.rs-design-close:hover { background: #efede9; }
@media (max-width: 699px) { .rs-design-dialog[open] { grid-template-columns: minmax(0, 1fr); } .rs-design-dialog img { max-height: 58dvh; } }
@media (prefers-reduced-motion: reduce) { .rs-design-dialog[open] { animation: none; } .rs-design-card .shelf-media img { transition: none; } }
.rs-designs .etch-head.svc-sec-head { padding: 0 0 clamp(10px, 1.4vw, 16px); }
@media (min-width: 900px) { #what.svc-sec { --rs-fit: calc(100dvh - var(--header-h) - 2 * var(--rs-pad) - 74px); } }
#what .rs-designs .etch-head.svc-sec-head { padding-inline: 0; }
/* Design cards (owner, 2026-10-22): every picture fits inside its tile, whatever its shape — the picture is placed in
   a fixed inner area (below the small label), scaled down to fit, never cropped. */
.rs-design-card .shelf-media { padding: 0; }
.rs-design-card .shelf-media img { position: absolute; top: 12%; left: 8%; width: 84%; height: 80%; object-fit: contain; }

/* Product photos on the light sections (owner, 2026-10-25): the white photo background flashed for a moment while the
   picture faded in on scroll — during the fade the browser blends the photo only within its own fading layer, not with
   the page. Blending the whole picture block with the page instead keeps the white invisible during the fade too. */
.svc-visual.is-piece { mix-blend-mode: multiply; }

/* Configurator, simplified (owner, 2026-10-25): shape, finish and size side by side on one row (stacked on narrow
   screens); the size is a drop-down with its price. The selected size's price line sits under the row. */
.cfg-split .config-row.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 559px) { .cfg-split .config-row.is-three { grid-template-columns: minmax(0, 1fr); } }
/* One-finish shapes (heart, papyrus, book) have no Finish field: shape and size share the row (owner, 2026-10-27). */
@media (min-width: 560px) { .cfg-split .config-row.is-three:has(> [data-finish-field][hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.config-row.is-three .select, .config-row.is-three .listbox-button { width: 100%; min-width: 0; text-overflow: ellipsis; }
/* The chosen shape stays on one line beside its icon (owner, 2026-10-27: "Правоъгълник" wrapped under the icon). */
/* All three buttons stay inside their column (they used to push past it in Bulgarian) and get a little tighter so the
   longest names fit; anything longer still ends in "…". */
.config-row.is-three > .field > * { min-width: 0; }
/* Each column takes what its content needs (e.g. the Romanian price "36,00 EUR*"), sharing any spare room evenly. */
@media (min-width: 560px) { .cfg-split .config-row.is-three { grid-template-columns: repeat(3, minmax(0, auto)); } }
.cfg-split .config-row.is-three { gap: 8px; }
.config-row.is-three .listbox-button { padding: 8px 28px 8px 10px; background-position: right 10px center; font-size: .9375rem; }
.config-row.is-three .pretty-select .listbox-button { gap: 6px; }
.config-row.is-three [data-listbox-current] { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.config-row.is-three [data-listbox-current] .shape-ico { flex: none; margin-right: 6px !important; }
.config-row.is-three .pretty-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.config-row.is-three .listbox-button { padding-left: 8px; padding-right: 25px; background-position: right 9px center; }
/* In the chosen size, the size itself never shortens; the price (and the "Most popular" tag) give way first. */
.config-row.is-three .pretty-current { display: flex; align-items: center; gap: 6px; }
.config-row.is-three .pretty-current > .pretty-label { flex: none; }
.config-row.is-three .pretty-current > :is(.meta, .pretty-badge) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-split .config-row.is-three [data-shape-listbox] .listbox-button :is(.shape-ico, svg) { width: 19px; height: 19px; }
.config-row.is-three [data-listbox-current] .lb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.config-row.is-three .size-field { margin: 0; }
.config-step[data-step="size"] > .size-price { margin: 8px 0 0; }
.config-step[data-step="size"] > .size-price:empty { display: none; }
.gsize-row .size-field .select { width: 100%; max-width: 320px; }

/* Styled drop-downs for finish and size (owner, 2026-10-25): same rounded list as the shape picker — one option per
   row, the price right-aligned, a small gold "Most popular" tag, unavailable sizes greyed out, a soft entrance. */
.pretty-select .listbox-button { padding-right: 34px; gap: 8px; overflow: hidden; }
.pretty-current { display: flex; align-items: center; gap: 8px; min-width: 0; width: 100%; white-space: nowrap; }
.pretty-current .pretty-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pretty-current .pretty-badge { display: none; }
.pretty-current .meta { margin-left: auto; padding-left: 6px; font-size: .86em; opacity: .72; font-variant-numeric: tabular-nums; }
.pretty-placeholder { opacity: .62; overflow: hidden; text-overflow: ellipsis; }
.pretty-select.is-locked .listbox-button { opacity: .45; cursor: not-allowed; border-style: dashed; }
.pretty-select .listbox-popup { padding: 6px; border: 1px solid rgba(27, 28, 26, .1); box-shadow: 0 24px 48px -20px rgba(20, 19, 18, .55), 0 2px 6px rgba(20, 19, 18, .08); }
.pretty-select .listbox-option { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; white-space: nowrap; font-size: .92rem; }
.pretty-select .listbox-option .meta { margin-left: 8px; font-size: .86rem; color: var(--muted, #5b5f58); font-variant-numeric: tabular-nums; }
.pretty-select .listbox-option[aria-selected='true'] { background: #1b1c1a; color: #f5f2ec; font-weight: 600; }
.pretty-select .listbox-option[aria-selected='true'] .meta { color: rgba(245, 242, 236, .75); }
.pretty-select .listbox-option.is-active:not([aria-selected='true']) { background: #efede9; }
.pretty-select .listbox-option.is-disabled { opacity: .42; cursor: not-allowed; }
.pretty-badge { padding: 2px 8px; border-radius: 999px; background: var(--gold-tint, #f6efdc); color: var(--gold-ink, #7a5e1f); font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.listbox-option[aria-selected='true'] .pretty-badge { background: rgba(214, 181, 108, .22); color: #e7cf8f; }
/* The last drop-down in the row opens towards the left, so its list never runs past the panel. */
.config-row.is-three > .field:last-child .listbox-popup { left: auto; right: 0; }
@media (prefers-reduced-motion: reduce) { .pretty-select .listbox-popup { transition: none; } }
/* Match the shape list exactly: the list takes the panel's own colours (dark on the configurator), so the chosen and
   highlighted rows use the same theme colours as the shape picker instead of fixed light/dark ones. */
.pretty-select .listbox-popup { border-color: var(--line, rgba(27, 28, 26, .1)); }
.pretty-select .listbox-option .meta { color: var(--muted, #5b5f58); }
.pretty-select .listbox-option[aria-selected='true'] { background: var(--green-tint); color: inherit; }
.pretty-select .listbox-option[aria-selected='true'] .meta { color: var(--muted, #5b5f58); }
.pretty-select .listbox-option.is-active:not([aria-selected='true']) { background: var(--paper-3); }
.pretty-select .listbox-option.is-active[aria-selected='true'] { background: var(--paper-3); }
.listbox-option[aria-selected='true'] .pretty-badge { background: var(--gold-tint, #f6efdc); color: var(--gold-ink, #7a5e1f); }

/* Design option in the photograph step (owner, 2026-10-25): small cards — "Photo only" first, then the designs that
   fit the chosen portrait — in a row that wraps; the chosen one gets a gold ring. */
.design-field { margin-top: 14px; padding-top: 12px; border: 0; border-top: 1px solid var(--line, rgba(236, 232, 225, .14)); min-width: 0; }
.design-field[hidden] { display: none; }
.design-field legend { padding: 0; margin-bottom: 8px; }

.design-field .hint a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.instructions-toggle summary .req { margin-left: 2px; color: #e7cf8f; font-weight: 700; }

/* Configurator fixes (owner, 2026-10-25):
   1. When the options panel is taller than the screen (photo window + design + errors), the picture side no longer
      stretches with it: it stays one screen tall and stays in view (sticky) while the options scroll.
   2. Shape / finish / size line up in every language: the three fields share rows, so a label that wraps to two
      lines (e.g. Bulgarian "Размер (ширина × височина)") pushes all three drop-downs down together. */
@media (min-width: 1024px) {
  .cfg-split .config-visual { position: sticky; top: var(--header-h); align-self: start; height: calc(100dvh - var(--chrome)); }
}
@supports (grid-template-rows: subgrid) {
  .cfg-split .config-row.is-three { grid-template-rows: repeat(4, auto); row-gap: 6px; }
  .cfg-split .config-row.is-three > .field { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 6px; gap: 6px; margin: 0; }
  .cfg-split .config-row.is-three > .field > :is(label, .label) { align-self: end; margin-bottom: 0; }
  .cfg-split .config-row.is-three > .field > :is(.hint, .field-error) { margin: 0; }
  .cfg-split .config-row.is-three > .field > .field-error:empty { display: none; }
}
@media (max-width: 559px) { .cfg-split .config-row.is-three { grid-template-rows: none; } .cfg-split .config-row.is-three > .field { grid-row: auto; grid-template-rows: none; } }

/* Design as a drop-down (owner, 2026-10-25): closed, one line with the chosen design (small picture + name); the
   designs show only when it is opened — one row each with a picture. */
.design-field { display: grid; gap: 6px; }
.design-field > label { font-size: var(--fs-xs); font-weight: 600; color: var(--on-forest-2, var(--muted)); letter-spacing: .02em; }
.pretty-design-select .listbox-option { grid-template-columns: 56px minmax(0, 1fr); padding: 6px 10px; white-space: normal; }
.pretty-design-select .listbox-popup { width: 100%; max-width: none; max-height: 360px; }
.pretty-thumb { display: grid; place-items: center; flex: none; width: 56px; height: 44px; border-radius: 8px; background: #f5f2ec; overflow: hidden; }
.pretty-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pretty-thumb.is-none { background: rgba(236, 232, 225, .1); }
.pretty-thumb.is-none .icon { width: 20px; height: 20px; opacity: .7; }
.pretty-current .pretty-thumb { width: 34px; height: 26px; border-radius: 6px; }
.pretty-current .pretty-thumb.is-none .icon { width: 15px; height: 15px; }
.pretty-design-select .listbox-button { min-height: 44px; }

/* Design picker (owner, 2026-10-25): the step shows one line with the choice; clicking it opens an almost full-screen
   light window with the fitting designs as large cards (like the Designs page). The chosen card gets a gold ring. */
.design-field > .design-open { width: 100%; min-height: 48px; padding-right: 34px; }
/* Design and Background side by side (owner, 2026-10-27); one alone fills the row; stacked on phones. */
.design-bg-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
.design-bg-row > .field { margin-bottom: 0; min-width: 0; }
.design-bg-row .design-open { min-width: 0; overflow: hidden; }
@media (max-width: 559px) { .design-bg-row { grid-auto-flow: row; } }
/* A background card shows the whole background, edge to edge. */
.design-pick-media img.is-bg { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.rs-design-card.is-bg .shelf-media img { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.design-picker { width: min(1240px, calc(100vw - 32px)); height: min(920px, calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; padding: 0;
  border: 0; border-radius: 24px; background: #fcfbf9; color: #1b1c1a; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.design-picker[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: ws-in 320ms var(--ease-out); }
.design-picker::backdrop { background: rgba(20, 19, 18, .66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.design-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 40px) 12px; }
.design-picker-head h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; color: #1b1c1a; }
.design-picker-head p { margin: 0; max-width: 62ch; color: #5b5f58; font-size: .95rem; line-height: 1.5; }
.design-picker-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(27, 28, 26, .14); border-radius: 50%; background: #fcfbf9; color: #1b1c1a; cursor: pointer; transition: background-color 200ms; }
.design-picker-close:hover { background: #efede9; }
.design-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-content: start; gap: clamp(14px, 1.6vw, 22px); margin: 0; padding: 12px clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px); list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.design-pick { display: grid; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: #1b1c1a; font: inherit; text-align: left; cursor: pointer; }
.design-pick-media { position: relative; display: block; aspect-ratio: 5 / 5.6; border-radius: 14px; background: #efede9; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 200ms, background-color 200ms; }
.design-pick-media img { position: absolute; top: 12%; left: 8%; width: 84%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform 500ms var(--ease-out); }
.design-pick:hover .design-pick-media img, .design-pick:focus-visible .design-pick-media img { transform: scale(1.04); }
.design-pick-label { position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #1b1c1a; }
.design-pick-none { position: absolute; inset: 0; display: grid; place-items: center; color: #8b877f; }
.design-pick-none .icon { width: 40px; height: 40px; }
.design-pick-name { padding: 0 4px; font-size: .86rem; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; line-height: 1.3; }
.design-pick.is-chosen .design-pick-media { outline-color: #b18e3e; background: #f6efdc; }
.design-pick:focus-visible { outline: none; }
.design-pick:focus-visible .design-pick-media { outline-color: #1b1c1a; }
@media (max-width: 599px) { .design-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .design-picker { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .design-picker[open] { animation: none; } .design-pick-media img { transition: none; } }

/* Design picker motion (owner, 2026-10-25): a softer, springier open; the page dims and blurs in; the cards float in
   one after another; closing fades and sinks; hover lifts a card, pressing sinks it, picking pulses it and pops a gold
   tick; the step's button glows once to confirm. Everything is off for reduced motion. */
.design-picker[open] { animation: picker-in 520ms cubic-bezier(.2, .9, .25, 1) both; }
.design-picker[open]::backdrop { animation: picker-backdrop-in 420ms ease-out both; }
.design-picker.is-closing { animation: picker-out 210ms cubic-bezier(.4, 0, .9, .6) both; }
.design-picker.is-closing::backdrop { animation: picker-backdrop-out 210ms ease-in both; }
@keyframes picker-in { from { opacity: 0; transform: translateY(var(--from-y, 24px)) scale(.94); filter: blur(4px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: none; } }
@keyframes picker-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes picker-backdrop-in { from { background-color: rgba(20, 19, 18, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } to { background-color: rgba(20, 19, 18, .66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); } }
@keyframes picker-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
.design-picker-head { animation: picker-rise 480ms cubic-bezier(.2, .9, .25, 1) 80ms both; }
.design-picker-grid.is-entering > li { animation: picker-rise 560ms cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(140ms + var(--i, 0) * 55ms); }
@keyframes picker-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* Cards: lift on hover, sink on press, pulse when picked; the tick pops in on the chosen one. */
.design-pick { transition: transform 260ms cubic-bezier(.2, .9, .25, 1); }
.design-pick-media { transition: outline-color 220ms, background-color 260ms, box-shadow 320ms cubic-bezier(.2, .9, .25, 1), transform 320ms cubic-bezier(.2, .9, .25, 1); }
.design-pick:hover .design-pick-media { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(27, 28, 26, .45); background: #f3f0ea; }
.design-pick:active .design-pick-media { transform: translateY(-1px) scale(.975); box-shadow: 0 10px 22px -16px rgba(27, 28, 26, .45); transition-duration: 120ms; }
.design-pick-name { transition: color 200ms, letter-spacing 300ms cubic-bezier(.2, .9, .25, 1); }
.design-pick:hover .design-pick-name { letter-spacing: .035em; }
.design-pick.is-chosen .design-pick-name { color: #7a5e1f; }
.design-pick-check { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #b18e3e; color: #fcfbf9; box-shadow: 0 6px 14px -6px rgba(122, 94, 31, .8); opacity: 0; transform: scale(.4) rotate(-30deg); transition: opacity 180ms, transform 380ms cubic-bezier(.3, 1.6, .5, 1); }
.design-pick-check .icon { width: 16px; height: 16px; }
.design-pick.is-chosen .design-pick-check { opacity: 1; transform: none; }
.design-pick.is-chosen .design-pick-label { right: 48px; }
.design-pick.is-picked .design-pick-media { animation: pick-pulse 520ms cubic-bezier(.2, .9, .25, 1); }
@keyframes pick-pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(177, 142, 62, .55); } 35% { transform: scale(.965); } 70% { transform: scale(1.02); box-shadow: 0 0 0 14px rgba(177, 142, 62, 0); } 100% { transform: none; box-shadow: 0 0 0 0 rgba(177, 142, 62, 0); } }
.design-picker-close { transition: background-color 200ms, transform 320ms cubic-bezier(.3, 1.4, .5, 1); }
.design-picker-close:hover { transform: rotate(90deg); }
.design-picker-close:active { transform: rotate(90deg) scale(.9); }

/* The step's button: the little picture grows on hover, the button sinks on press and glows once after a pick. */
.design-open .pretty-thumb { transition: transform 300ms cubic-bezier(.3, 1.4, .5, 1); }
.design-open:hover .pretty-thumb { transform: scale(1.08) rotate(-2deg); }
.design-open:active { transform: scale(.985); }
.design-open.is-confirmed { animation: design-confirm 900ms ease-out; }
@keyframes design-confirm { 0% { box-shadow: 0 0 0 0 rgba(214, 181, 108, .6); border-color: #d6b56c; } 100% { box-shadow: 0 0 0 12px rgba(214, 181, 108, 0); } }

@media (prefers-reduced-motion: reduce) {
  .design-picker[open], .design-picker[open]::backdrop, .design-picker.is-closing, .design-picker.is-closing::backdrop, .design-picker-head, .design-picker-grid.is-entering > li, .design-pick.is-picked .design-pick-media, .design-open.is-confirmed { animation: none; }
  .design-pick, .design-pick-media, .design-pick-check, .design-picker-close, .design-open .pretty-thumb { transition: none; }
  .design-pick:hover .design-pick-media, .design-open:hover .pretty-thumb, .design-picker-close:hover { transform: none; }
}

/* Design picker header as a black box (owner, 2026-10-25): an inset rounded dark card at the top — the site's black-box
   look with the cursor light — over the light area with the designs. */
.design-picker-head { position: relative; isolation: isolate; overflow: hidden; margin: 14px 14px 4px; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  border-radius: 18px; background: linear-gradient(160deg, #2c2b28 0%, #1f1e1c 55%, #1b1c1a 100%); border: 1px solid rgba(236, 232, 225, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 40px -26px rgba(0, 0, 0, .55); color: #ece8e1; }
.design-picker-head > :not(.cfg-spotlight) { position: relative; z-index: 1; }
.design-picker-head h2 { color: #f5f2ec; }
.design-picker-head p { color: rgba(236, 232, 225, .72); }
.design-picker-close { border-color: rgba(236, 232, 225, .28); background: rgba(255, 250, 240, .06); color: #ece8e1; }
.design-picker-close:hover { background: rgba(255, 250, 240, .14); }
.design-picker-grid { padding-top: 18px; }
/* Header black box reaches the window's edges (owner, 2026-10-25): flush to the top, left and right (the window's own
   rounded corners round it), with exactly the black boxes' look — smoked glass, top sheen, inset glow — and their
   cursor light following the mouse. */
.design-picker-head { margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(20, 19, 18, .94); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03); }
.design-picker-head::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); }
.design-picker-head > .cfg-spotlight { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
/* No light rim round the header's top corners (owner, 2026-10-26: "weird white pixelated look"): the window itself is
   dark and only the designs area is light, so the rounded corners' edge pixels blend into dark; the header is solid
   (its see-through glass only ever showed the window's light background) and loses the 1px top highlight line. */
.design-picker { background: #22211f; }
.design-picker-grid { background: #fcfbf9; }
.design-picker-head { background: #22211f; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 60px rgba(255, 255, 255, .03); }

/* Design picker, round 3 (owner, 2026-10-27). The header gets the other black boxes' full finish back — smoked glass,
   the top highlight line, the top sheen (::before above) and the gold cursor light — now that the window behind it is
   dark (the light rim came from the light window, not from these). The cards look like the landing page's catalogue
   cards: square, warm grey photo box, small label top left, bold uppercase name below; on hover the picture zooms a
   touch and the name is underlined. The chosen one keeps its gold frame and tick. */
.design-picker-head { background: rgba(20, 19, 18, .9); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03); }
.design-picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px) 6px; padding: 18px clamp(12px, 3vw, 48px) clamp(20px, 3vw, 40px); }
@media (max-width: 1023px) { .design-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .design-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.design-pick { gap: 0; transition: none; }
.design-pick-media { display: grid; place-items: center; aspect-ratio: 5 / 6.4; border-radius: 0; background: #efede9; overflow: hidden;
  outline: 2px solid transparent; outline-offset: -2px; transition: outline-color 220ms; }
.design-pick-media img { position: static; width: 92%; height: auto; max-height: 92%; /* a bit bigger now the label is gone (owner, 2026-10-29; was 80% / 82%) */ object-fit: contain; mix-blend-mode: multiply; transform: none; transition: transform 900ms cubic-bezier(.25, .8, .25, 1); }
/* Hover zoom toned down and eased both ways, so moving from card to card glides (owner, 2026-11-05; was 1.09,
   then 1.03 — "reduce the zoom more"). */
.design-pick:is(:hover, :focus-visible) .design-pick-media img { transform: scale(1.015); }
.design-pick:hover .design-pick-media, .design-pick:active .design-pick-media { transform: none; box-shadow: none; background: #efede9; }
.design-pick-label { top: 8px; left: 8px; right: 8px; font-size: .75rem; font-weight: 500; letter-spacing: .02em; }
.design-pick-name { padding: 12px 10px 0; font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.3; }
.design-pick:hover .design-pick-name { letter-spacing: .01em; text-decoration: underline; text-underline-offset: 3px; }
.design-pick.is-chosen .design-pick-media { outline-color: #b18e3e; background: #efede9; }
.design-pick:focus-visible .design-pick-media { outline-color: #1b1c1a; }
.design-pick.is-chosen:focus-visible .design-pick-media { outline-color: #b18e3e; } /* the chosen card stays gold when the menu opens on it */
.design-pick-check { top: 8px; right: 8px; }
@media (max-width: 599px) { .design-pick-name { font-size: .8125rem; } .design-pick-label { font-size: .6875rem; } }
@media (prefers-reduced-motion: reduce) { .design-pick:is(:hover, :focus-visible) .design-pick-media img { transform: none; } }

/* Design picker header, round 4 (owner, 2026-10-27): a separate rounded black box like What we offer's — set in from
   the window's edges with a thin light frame and a soft shadow — that lifts on hover, carries a clearly visible gold
   cursor light, and has a soft light sweep across it once when the window opens. The window around it is light again
   (the old corner rim only happened while the box ran flush into the window's rounded corners). */
.design-picker { background: #fcfbf9; }
.design-picker-head { margin: 14px 14px 0; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 30px 60px -30px rgba(40, 30, 15, .5);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
/* (The window sits inside the options panel, whose own fixed white glow rule is stronger — hence the long selector.) */
body .cfg-split .config-controls .design-picker-head > .cfg-spotlight, .design-picker-head > .cfg-spotlight {
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(231, 207, 143, .14), rgba(231, 207, 143, .045) 42%, transparent 72%); }
@media (max-width: 599px) { .design-picker-head { margin: 10px 10px 0; border-radius: 14px; } }
/* Round 5 (owner, 2026-10-27): no light sweep, no hover lift, a dimmer cursor light; the box runs flush to the window's
   top and sides again (its top corners follow the window's), only its bottom corners are rounded. The window is dark
   behind the top strip so those top corners have no light rim; the bottom corners sit on the light area. */
.design-picker-head, .design-picker-head:hover { margin: 0; transform: none; border-width: 0 0 1px; border-radius: 24px 24px 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 60px rgba(255, 255, 255, .03), 0 24px 50px -30px rgba(40, 30, 15, .45); }
.design-picker { background: linear-gradient(#1c1b19 0 48px, #fcfbf9 48px); }
@media (max-width: 599px) { .design-picker-head, .design-picker-head:hover { margin: 0; border-radius: 18px 18px 14px 14px; } }
/* Round 6 (owner, 2026-10-27): flat bottom edge; no light line along the rounded top (the 1px top highlight and the
   top sheen traced the corners as a thin white rim); a still dimmer cursor light. */
.design-picker-head, .design-picker-head:hover { border-radius: 24px 24px 0 0; box-shadow: inset 0 0 60px rgba(255, 255, 255, .03), 0 24px 50px -30px rgba(40, 30, 15, .45); }
.design-picker-head::before { display: none; }
@media (max-width: 599px) { .design-picker-head, .design-picker-head:hover { border-radius: 18px 18px 0 0; } }
body .cfg-split .config-controls .design-picker-head > .cfg-spotlight, .design-picker-head > .cfg-spotlight {
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(231, 207, 143, .08), rgba(231, 207, 143, .025) 42%, transparent 72%); }
.design-picker-head { animation-fill-mode: backwards; } /* the rise-in must not hold transform afterwards, or the hover lift can't move it */
.is-granite p.only-granite { display: block; } /* granite's photo hint is a paragraph (2026-10-25) */

/* Photos (owner, 2026-10-25): extra photos and "Add another photo" share one row of two, so the box keeps the same
   height whether there are 1, 2 or 3 photos. Alone, the add button fills the row. */
.photo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.photo-row:not(:has(.extra-photos > li, .add-photo:not([hidden]))) { display: none; }
.photo-row > .extra-photos { display: contents; }

.is-granite .photo-row { display: none; }

/* Missing / wrong fields: red outline on the field itself, no warning box at the top (owner, 2026-10-26).
   Groups (Colour choice, photo window) and the styled dropdown buttons get the outline too. */
.segmented.is-invalid, .size-list.is-invalid, .options.is-invalid { border-radius: 14px; box-shadow: 0 0 0 2px var(--error); }
button.is-invalid { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.cfg-split .is-invalid { border-color: #ffb4a8 !important; box-shadow: 0 0 0 2px rgba(255, 140, 120, .55) !important; }

/* Hero picture (owner, 2026-10-26): our pieces in a low row on the dark background, the headline sitting in the
   clear dark space above them. AI-generated from our product photos, labelled "Illustration". */
.hero-picture { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #1c1b19; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* With JS the picture is sized so the row of pieces starts just below the buttons (app.js sets --hero-pic-h); its
   top and sides fade into the dark background so no edge shows. */
.hero-picture.is-fitted img { position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; height: var(--hero-pic-h); transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 28%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-composite: intersect; }

.hero-frame.has-picture { place-items: start center; }
.hero-frame.is-gradient.has-picture .hero-content.hero-centered { padding-top: clamp(40px, 8vh, 96px); padding-bottom: 0; }
.hero-frame.has-picture .hero-content { text-shadow: 0 1px 2px rgba(16, 15, 14, .85), 0 4px 18px rgba(16, 15, 14, .6); }
.hero-frame.has-picture .hero-content .btn { text-shadow: none; }

/* Compact configurator (owner, 2026-10-27): nothing grows the box more than it must.
   Missing fields only get the red outline; the message stays for screen readers (is-loud = shown, e.g. a rejected photo). */
.config-controls .field-error:not(.is-loud) { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The uploaded photo: one slim line — small thumbnail, name and size, then + / replace / remove. */
.cfg-split [data-upload-card] { padding: 6px 6px 6px 8px; gap: 10px; }
.cfg-split [data-upload-card] img { width: 36px; height: 36px; border-radius: 8px; flex: none; }
.cfg-split [data-upload-card] .info { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; row-gap: 4px; }
.cfg-split [data-upload-card] .name { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.cfg-split [data-upload-card] .progress { flex-basis: 100%; }
.cfg-split [data-upload-card] .actions { flex-wrap: nowrap; }
/* Design menu (owner, 2026-10-29): "Example name, photo and years" under the intro, and a design made without the
   piece's gold layer says so under its name. */
.design-picker-head p.design-picker-example { margin-top: 6px; font-size: 13px; }
.design-pick-note { display: block; padding: 2px 10px 0; font-size: 13px; line-height: 1.4; color: #6f736b; }
/* Product picture: "Made without the gold layer" in the bottom-left corner while such a design is chosen. */
/* Bigger and easier to read (owner, 2026-10-29: was 13px light grey): a soft pill with dark text and an info dot. */
.cfg-photo-note { position: absolute; left: var(--s4, 16px); bottom: var(--s4, 16px); z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100% - 2 * var(--s4, 16px)); margin: 0; padding: 12px 20px; border: 2px solid #b18e3e; border-radius: 999px;
  background: #fcfbf9; box-shadow: 0 10px 26px -12px rgba(27, 28, 26, .45);
  font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.3; color: #1b1c1a; pointer-events: none; }
/* 2026-10-29: bigger still (owner: "I don't want it to be missed"). */
.cfg-photo-note::before { content: '!'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #b18e3e; color: #fcfbf9; font-size: 16px; font-weight: 800; }
/* Premium version (owner, 2026-10-31): the site's dark glass instead of the gold-ringed white pill — charcoal frosted
   glass, white text, a hairline light outline and a thin outlined "i"; still large enough not to be missed. */
.cfg-photo-note { gap: 10px; padding: 11px 18px 11px 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(42, 41, 40, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 32px -14px rgba(0, 0, 0, .55);
  font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; letter-spacing: .01em; color: #fcfbf9; }
.cfg-photo-note::before { content: 'i'; width: 24px; height: 24px; border: 1px solid rgba(252, 251, 249, .55); background: transparent;
  color: #fcfbf9; font-size: 13px; font-weight: 700; font-family: inherit; }
.cfg-photo-note[hidden] { display: none; }
.cfg-photo-mode.is-granite .cfg-photo-note, .configurator:not(.cfg-photo-mode) .cfg-photo-note { display: none; }
/* "Example photo" (owner, 2026-11-10): a small, quiet line in the bottom-left corner of pictures showing an example person.
   When the design note is showing too, that pill moves up above it. */
/* The customizer preview's "Example photo" tag (owner, 2026-11-10: "more visible but minimalistic"): a light pill with a
   hairline edge, dark text and a small dot, in the preview's bottom-left corner. */
.example-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  max-width: calc(100% - 20px); margin: 0; padding: 5px 11px 5px 9px; border: 1px solid rgba(27, 28, 26, .12); border-radius: 999px;
  background: rgba(252, 251, 249, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px -8px rgba(27, 28, 26, .35);
  font-size: 11.5px; font-weight: 600; line-height: 1.25; letter-spacing: .01em; color: #2f312d; pointer-events: none; }
.example-tag::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #8c8f87; }
.example-tag:empty { display: none; }
.cfg-photo-example { left: var(--s4, 16px); bottom: 14px; max-width: calc(100% - 2 * var(--s4, 16px)); font-size: 12.5px; }
.cfg-photo-example[hidden] { display: none; }
.cfg-photo-mode.is-granite .cfg-photo-example, .configurator:not(.cfg-photo-mode) .cfg-photo-example { display: none; }
.preview-card:has(.cfg-photo-example:not([hidden])) .cfg-photo-note { bottom: calc(var(--s4, 16px) + 38px); }
/* Home hero (owner, 2026-10-29): the headstone picture fills the band, kept to the right; the text sits on the left
   over a soft dark fade, so the portrait on the stone stays bright. */
/* The whole height of the picture always shows (the headstone's top is never cut), anchored right; on screens wider
   than the picture its left edge fades into the band's colour. */
.hero-picture.is-cover { background: #1b1a19; } /* the picture's own left-edge colour (About page grey) */
.hero-picture.is-cover img { position: absolute; top: 0; right: 0; width: auto; height: 100%; max-width: none; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 38%, #000 62%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 38%, #000 62%); } /* back stones fade so the headline stays readable (2026-10-31) */
.hero-frame.has-picture:has(.hero-left) { justify-items: start; place-items: center start; }
.hero-frame:has(.hero-left)::before { background: linear-gradient(90deg, rgba(16, 15, 14, .6) 0%, rgba(16, 15, 14, .32) 42%, rgba(16, 15, 14, 0) 62%); }
.hero-frame.is-gradient.has-picture .hero-content.hero-centered.hero-left { max-width: min(680px, 54%); margin: 0; padding: clamp(48px, 8vh, 112px) 0 clamp(48px, 8vh, 112px) clamp(16px, 6vw, 112px); text-align: left; justify-items: start; }
.hero-left > p:not(.eyebrow) { margin-inline: 0; }
.hero-left .hero-ctas { justify-content: flex-start; }
/* Phones and small tablets: the text on top, the headstone below it (they would overlap side by side). */
@media (max-width: 799px) {
  /* 82vw tall makes the picture about 147vw wide, so all five stones (the right two thirds of it) fit the screen whole
     (owner, 2026-11-08). No box colour behind it, and a fade above the tallest stone, so no line shows where it starts. */
  .hero-frame:has(.hero-left) { --hero-stone: min(82vw, 460px); }
  .hero-frame.is-gradient.has-picture .hero-content.hero-centered.hero-left { max-width: none; padding: 24px 16px calc(var(--hero-stone) - 30px); }
  .hero-frame:has(.hero-left)::before { background: none; }
  .hero-picture.is-cover { top: auto; height: var(--hero-stone); background: transparent; }
  .hero-picture.is-cover img { object-position: 84% 40%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%); mask-image: linear-gradient(to bottom, transparent 0, #000 13%); }
}
/* Phones: the two hero buttons one above the other, the same width. */
@media (max-width: 599px) {
  .hero-left .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 10px; }
  .hero-left .hero-ctas .btn { width: 100%; justify-content: center; }
}
/* Designs page: a design made without the piece's gold layer says so under its name (owner, 2026-10-28). */
.rs-design-card .shelf-note { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: #6f736b; }
/* Designs page: a button per type above the cards (owner, 2026-10-29). Wraps on narrow screens. */
.rs-design-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(16px, 2.2vw, 26px); }
.rs-design-filter button { min-height: 40px; padding: 0 18px; border: 1px solid rgba(27, 28, 26, .18); border-radius: 999px; background: transparent; color: #1b1c1a; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms; }
.rs-design-filter button:hover { border-color: rgba(27, 28, 26, .45); }
.rs-design-filter button[aria-pressed='true'] { background: #1b1c1a; border-color: #1b1c1a; color: #f5f2ec; }
.rs-design-filter button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rs-design-grid > li[hidden] { display: none; }
/* Designs page cards zoom in a bit more on hover too (owner, 2026-10-30; was 1.04). */
.rs-design-card:is(:hover, :focus-visible) .shelf-media img { transform: scale(1.09); }
/* Home → Granite engraving as one feature block (owner, 2026-10-30; reworked the same day: "looks terrible, smaller
   picture"; split in two: "we offer both engraving on granite and on tombstones"; then "take inspiration from the
   mirrored layout of the about us page … with the dark background"). One shared heading, then two About-style rows:
   eyebrow + big title + picture on one side, a glass box (label + rule, text, facts, price, pill button) on the other;
   the second row mirrored. The three steps as a quiet row across the bottom. Phones: heading, picture, box. */
.engraving-min .etch-shelf { padding-bottom: clamp(48px, 6vw, 88px); }
/* Full width, same side margins as the "In bulk" section above (owner, 2026-10-30: "move the text to the left like the
   section above, stretch the two fields to the ends of the screen"). */
.etch-feature-head, .etch-row, .etch-steps { max-width: none; margin-left: 0; margin-right: 0; padding-left: clamp(12px, 3vw, 48px); padding-right: clamp(12px, 3vw, 48px); box-sizing: border-box; }
.etch-feature-head.etch-head { padding-bottom: clamp(24px, 3vw, 40px); }
.etch-feature-intro { max-width: 560px; margin: 14px 0 0; color: rgba(236, 232, 225, .7); font-size: clamp(1rem, .96rem + .2vw, 1.12rem); line-height: 1.6; }
.etch-row { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; padding-top: clamp(32px, 4.5vw, 72px); padding-bottom: clamp(32px, 4.5vw, 72px); }
.etch-row + .etch-row { border-top: 1px solid rgba(236, 232, 225, .07); }
@media (min-width: 900px) {
  .etch-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); }
  .etch-row.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .etch-row.is-flipped .etch-row-side { order: 2; }
}
/* Soft glows behind the box, as on the About page, dimmed for the dark band. */
.etch-row-side { position: relative; z-index: 1; display: grid; gap: clamp(16px, 2vw, 28px); min-width: 0; }

.etch-placeholder { display: grid; justify-items: center; gap: 12px; color: rgba(236, 232, 225, .45); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.etch-placeholder .icon { width: 40px; height: 40px; color: rgba(217, 191, 122, .55); }
/* The glass box: the About window's finish, a shade lighter than the band so it reads on dark. */
.etch-box { position: relative; z-index: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: clamp(360px, 34vw, 560px);
  padding: clamp(32px, 4.5vw, 72px) clamp(22px, 4vw, 64px); border-radius: 22px; color: #ece8e1;
  background: linear-gradient(180deg, rgba(58, 55, 51, .72), rgba(36, 34, 32, .78)); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 60px rgba(255, 255, 255, .025), 0 40px 70px -34px rgba(0, 0, 0, .9);
  transition: transform 600ms var(--ease-out); }
.etch-row:hover .etch-box { transform: translateY(-3px); }
/* Smaller boxes, the picture (with its heading) pulled in next to them (owner, 2026-10-30). */
@media (min-width: 900px) {
  .etch-row-side { width: min(100%, 440px); justify-self: end; }
  .etch-row.is-flipped .etch-row-side { justify-self: start; }
  
  .etch-box { width: min(100%, 500px); justify-self: start; min-height: 0; padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px); }
  .etch-row.is-flipped .etch-box { justify-self: end; }
}
/* Same look and feel as the About page's boxes (owner, 2026-10-30): small bold capital label with "01 / 02" over a
   faint line, then text at the About paragraphs' size and colour. */
.etch-box .etch-box-label { margin: 0 0 18px; font-size: .95rem; line-height: 1.4; }
.etch-box .etch-box-text { margin: 0; font-size: .95rem; line-height: 1.65; color: rgba(236, 232, 225, .8); }
/* Box text in the site's white (owner, 2026-10-31: "fully white, not grayish"; no pure white per the house rules). */
.etch-box .etch-box-label, .etch-box .etch-box-label span:last-child, .etch-box .etch-box-text { color: #fcfbf9; }
.etch-box .etch-box-text + .etch-box-text { margin-top: 14px; }
/* Facts as bullet points with a small gold dot, the price as a quieter line under them (owner, 2026-10-31). */
.etch-box-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.etch-box-list li { position: relative; padding-left: 18px; color: #fcfbf9; font-size: .95rem; line-height: 1.55; }
.etch-box-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #d9bf7a; }

/* Box proportions as on About (2026-10-31): a tall box with a narrow centred column, as high as the picture. */
@media (min-width: 900px) {
  .etch-box { width: min(100%, 600px); min-height: 0; padding: clamp(32px, 4.5vw, 72px) clamp(22px, 4vw, 64px); }
  .etch-box-inner { max-width: 440px; }
}
.etch-box .etch-feature-btn { margin-top: 24px; }
/* Headstone quote form inside the box (owner, 2026-10-31): the About/In bulk form's dark fields, here outside .page-light. */
.etch-box .etch-box-label .ws-back { flex: none; font-size: .72rem; letter-spacing: .06em; color: rgba(236, 232, 225, .8); }
.etch-box .ws-form { margin-top: 0; }
/* No vertical centring inside the quote box, so its content doesn't jump while the height glides (owner, 2026-10-31). */
.etch-box.ws-box { display: block; }
.etch-box.ws-box .etch-box-inner { margin-inline: auto; }
.etch-box.ws-box .ws-view.is-entering { animation: ws-in 460ms cubic-bezier(.22, 1, .36, 1) 80ms both; }
.etch-box .ws-form .form-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.etch-box .ws-form :is(.input, .textarea) { width: 100%; background: rgba(255, 250, 240, .06); border: 1px solid rgba(236, 232, 225, .18); color: #fcfbf9; border-radius: 12px; }
.etch-box .ws-form :is(.input, .textarea):focus { border-color: rgba(236, 232, 225, .55); box-shadow: 0 0 0 4px rgba(214, 181, 108, .14); outline: none; }
.etch-box .ws-form :is(.input, .textarea)::placeholder { color: rgba(236, 232, 225, .4); }
.etch-box .ws-form textarea.textarea { min-height: 84px; resize: vertical; }
.etch-box .ws-form .etch-feature-btn { margin-top: 18px; }
.etch-box .alert { margin-bottom: 4px; }
/* Pictures bigger than the box and standing on the divider line / the section's bottom edge; the box centred beside
   them (owner, 2026-10-31). */
@media (min-width: 900px) {
  .engraving-min .etch-shelf, .engraving-band.engraving-min { padding-bottom: 0; }
  .etch-row, .etch-row.is-flipped { padding-bottom: 0; align-items: center; justify-content: center; grid-template-columns: minmax(0, 540px) minmax(0, 600px); column-gap: clamp(48px, 6vw, 104px); }
  .etch-row.is-flipped { grid-template-columns: minmax(0, 600px) minmax(0, 540px); }
  .etch-row-side, .etch-row.is-flipped .etch-row-side, .etch-box, .etch-row.is-flipped .etch-box { justify-self: stretch; }
  .etch-box { width: auto; }
  .etch-row-side { width: min(100%, 540px); align-self: end; }
  
  .etch-box { align-self: center; }
}
/* A faint line near the bottom of the light "In bulk" band, mirroring the one above it (owner, 2026-10-31). */
.bulk-band { padding-bottom: calc(clamp(56px, 7vw, 112px) + clamp(40px, 4vw, 56px)); }
.bulk-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: clamp(40px, 4vw, 56px); height: 1px; background: rgba(27, 28, 26, .1); pointer-events: none; }

.etch-box .etch-feature-btn { min-height: 50px; font-size: .82rem; }
.etch-box > .cfg-spotlight { border-radius: inherit; }
.etch-box-inner { position: relative; z-index: 1; width: 100%; max-width: 460px; }
.etch-box-label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(236, 232, 225, .14);
  font-size: .9rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ece8e1; }
.etch-box-label span:last-child { flex: none; font-weight: 600; letter-spacing: .06em; color: rgba(236, 232, 225, .5); font-variant-numeric: tabular-nums; }
.etch-box-text { margin: 0 0 20px; color: rgba(236, 232, 225, .8); font-size: .98rem; line-height: 1.7; }

.etch-feature-btn { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #e9e5dd, #cfc9be); color: #1e1d1b; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.etch-feature-btn:hover { color: #1e1d1b; transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .7); }
.etch-feature-btn .icon { transition: transform 200ms var(--ease-out); }
.etch-feature-btn:hover .icon { transform: translateX(3px); }

@media (max-width: 899px) {
  
  
  
  .etch-box { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) { .etch-row:hover .etch-box, .etch-feature-btn:hover { transform: none; }  }

/* Cart / checkout: the design's example picture instead of the drawn shape, and the customer's uploaded photo beside
   it (owner, 2026-10-31). */
.cart-split .cart-thumb.has-pic img, .cart-thumb.has-pic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; transition: transform 500ms var(--ease-out); }
.cart-split .cart-item:hover .cart-thumb.has-pic img { transform: scale(1.04); }
.cart-photo-thumb { flex: none; display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 10px; background: rgba(60, 58, 54, .08); box-shadow: 0 0 0 1px rgba(60, 58, 54, .14); }
.cart-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms var(--ease-out); }
.cart-photo-thumb:hover img { transform: scale(1.06); }
.cart-photo { gap: 10px; }
.cart-photo-thumb.is-bw img, .mini-photo.is-bw img { filter: grayscale(1); }
.checkout-side .mini-item:has(.mini-photo) { grid-template-columns: 64px 40px minmax(0, 1fr) auto; }
.mini-item .thumb.has-pic { overflow: visible; }
.mini-item .thumb.has-pic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; border-radius: inherit; }
.mini-photo { display: block; width: 40px; height: 40px; overflow: hidden; border-radius: 8px; box-shadow: 0 0 0 1px rgba(236, 232, 225, .2); }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .cart-split .cart-item:hover .cart-thumb.has-pic img, .cart-photo-thumb:hover img { transform: none; } }
/* The example pictures have white backgrounds: blend them into the tile so no white box shows. */
.cart-thumb.has-pic img, .mini-item .thumb.has-pic img { mix-blend-mode: multiply; }
.cart-thumb.has-pic, .mini-item .thumb.has-pic { isolation: isolate; }
.cart-photo-thumb { width: 72px; height: 72px; border-radius: 12px; }

/* Home engraving rows in the About page's layout (owner, 2026-10-31): no divider line, picture and box side by side
   in two even columns with space above and below; the picture is the About slideshow (rounded, arrows and dots once
   there are several), a bit bigger, portrait. */
.etch-row + .etch-row { border-top: 0; }
.etch-slides { max-width: 600px; aspect-ratio: 4 / 5; border-radius: 22px; background: #1a1918; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(236, 232, 225, .06); }
.etch-slides .etch-slides-label { position: absolute; left: 14px; top: 12px; z-index: 2; }
@media (min-width: 900px) {
  .engraving-min .etch-shelf { padding-bottom: clamp(32px, 4vw, 64px); }
  .etch-row, .etch-row.is-flipped { padding-top: clamp(32px, 4.5vw, 72px); padding-bottom: clamp(32px, 4.5vw, 72px); justify-content: normal; align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 72px); }
  .etch-row.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .etch-row-side, .etch-row.is-flipped .etch-row-side { width: auto; align-self: center; justify-self: stretch; }
  .etch-box, .etch-row.is-flipped .etch-box { width: min(100%, 600px); justify-self: center; }
}
@media (max-width: 899px) { .etch-slides { width: min(100%, 380px); } }
/* The two engraving rows told apart by a slightly different shade, like the About chapters (owner, 2026-10-31); no line. */
.etch-row.is-flipped { background: rgba(255, 250, 240, .035); }
@media (min-width: 900px) { .engraving-min .etch-shelf { padding-bottom: 0; } } /* the lighter row runs to the section's end */
/* Engraving slideshows: each slide (picture or empty slot) crossfades with the slow zoom of the photo-editing and About
   slideshows (owner, 2026-10-31). */
.etch-slides .etch-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 900ms var(--ease-out), transform 5200ms linear; }
.etch-slides .etch-slide.is-active { opacity: 1; transform: scale(1); }
.etch-slides .etch-slide img { position: static; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; transition: none; }
.etch-slides .etch-slide.is-placeholder { display: grid; place-items: center; background: linear-gradient(160deg, #24221f, #161514); }
.etch-slides .etch-slide .etch-slides-label { position: absolute; left: 14px; top: 12px; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .etch-slides .etch-slide { transition: opacity 200ms; transform: none; } }

/* Home engraving boxes, quieter and more premium like About's windows (owner, 2026-10-31: "too much color"):
   near-black glass with a soft top sheen instead of the warm brown tint, no colour boost from the backdrop, a neutral
   cursor light, the facts as hairline rows instead of gold dots, and About's text tones (white title, softer body). */
.etch-box { background: rgba(20, 19, 18, .9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .9); }
.etch-box::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); }
.etch-box > .cfg-spotlight { background: radial-gradient(360px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 45%, transparent 70%); }
.etch-box .etch-box-label { margin-bottom: 14px; font-size: .95rem; }
.etch-box .etch-box-text { line-height: 1.6; }
.etch-box-list { gap: 0; margin: 16px 0 0; border-top: 1px solid rgba(236, 232, 225, .14); }
.etch-box-list li { padding: 10px 0; border-bottom: 1px solid rgba(236, 232, 225, .08); font-size: .9rem; line-height: 1.45; }
.etch-box-list li::before { content: none; }

/* Same colour as About's boxes as they actually show there (its 90% dark glass over the light section ≈ #2a2928),
   and every line of text white (owner, 2026-10-31; the site's white, no pure white). */
.etch-box { background: #2a2928; }
.etch-box :is(.etch-box-label, .etch-box-label span, .etch-box-text, .etch-box-list li, .etch-box-price, .ws-back, label, .hint) { color: #fcfbf9; }
.etch-box .ws-form :is(.input, .textarea):focus { box-shadow: 0 0 0 4px rgba(236, 232, 225, .08); }
/* The headstone box's text sits in the middle of the box like the granite box's (owner, 2026-10-31); the quote form
   still starts at the top so it doesn't jump while the height glides. */
.etch-box.ws-box:not(.is-form) { display: flex; align-items: center; }

/* Design and background pickers, one piece in the site's charcoal like About's boxes (owner, 2026-10-31: "tacky, not
   like the rest of the site"): no dark header bolted onto a white body, white text throughout, rounded cards with the
   picture on a soft light inset, a thin white ring and white tick for the chosen one (no gold), and the window only as
   tall as its designs. Overrides the earlier rounds above. */
dialog.design-picker { width: min(1120px, calc(100vw - 32px)); height: fit-content; max-height: min(920px, calc(100dvh - 32px));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: #2a2928; color: #fcfbf9;
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .7); }
dialog.design-picker[open] { display: flex; flex-direction: column; }
dialog.design-picker::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)); }
dialog.design-picker .design-picker-head, dialog.design-picker .design-picker-head:hover { flex: none; margin: 0; padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 44px) clamp(18px, 2vw, 24px);
  border: 0; border-bottom: 1px solid rgba(236, 232, 225, .14); border-radius: 0; background: transparent; box-shadow: none; transform: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
dialog.design-picker .design-picker-head h2 { margin-bottom: 10px; color: #fcfbf9; font-weight: 300; }
dialog.design-picker .design-picker-head p { color: #fcfbf9; font-size: .95rem; line-height: 1.55; }
body dialog.design-picker .design-picker-head a.design-picker-contact:not(.btn):not(.x) { color: #fcfbf9; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(252, 251, 249, .5); transition: text-decoration-color 200ms; }
dialog.design-picker .design-picker-head a.design-picker-contact:hover { text-decoration-color: #fcfbf9; }
dialog.design-picker .design-picker-head p.design-picker-example { margin-top: 8px; font-size: .8rem; letter-spacing: .02em; color: #fcfbf9; opacity: .75; }
body .cfg-split .config-controls dialog.design-picker .design-picker-head > .cfg-spotlight, dialog.design-picker .design-picker-head > .cfg-spotlight {
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 42%, transparent 72%); }
dialog.design-picker .design-picker-close { border-color: rgba(236, 232, 225, .24); background: rgba(255, 255, 255, .04); color: #fcfbf9; }
dialog.design-picker .design-picker-close:hover { background: rgba(255, 255, 255, .1); }
dialog.design-picker .design-picker-grid { flex: 1 1 auto; min-height: 0; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(18px, 2vw, 28px);
  padding: clamp(20px, 2.4vw, 32px) clamp(22px, 3vw, 44px) clamp(24px, 3vw, 44px); background: transparent;
  scrollbar-width: thin; scrollbar-color: rgba(236, 232, 225, .28) transparent; }
dialog.design-picker .design-pick { gap: 0; color: #fcfbf9; }
dialog.design-picker .design-pick-media { border-radius: 16px; background: #efede9; outline: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 34px -24px rgba(0, 0, 0, .8);
  transition: box-shadow 260ms var(--ease-out); }
dialog.design-picker .design-pick:hover .design-pick-media, dialog.design-picker .design-pick:active .design-pick-media { background: #efede9; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 22px 40px -24px rgba(0, 0, 0, .85); }
dialog.design-picker .design-pick.is-chosen .design-pick-media { background: #efede9; box-shadow: 0 0 0 2px #fcfbf9, 0 22px 40px -24px rgba(0, 0, 0, .85); }
dialog.design-picker .design-pick:focus-visible .design-pick-media { box-shadow: 0 0 0 2px #2a2928, 0 0 0 4px #fcfbf9; }
dialog.design-picker .design-pick-check { top: 10px; right: 10px; width: 26px; height: 26px; background: #fcfbf9; color: #1b1c1a; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
dialog.design-picker .design-pick-check .icon { width: 14px; height: 14px; }
dialog.design-picker .design-pick-name { padding: 14px 2px 0; color: #fcfbf9; font-size: .8rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; }
dialog.design-picker .design-pick:hover .design-pick-name { letter-spacing: .08em; text-decoration: none; }
dialog.design-picker .design-pick.is-chosen .design-pick-name { color: #fcfbf9; }
dialog.design-picker .design-pick-note { padding: 4px 2px 0; color: #fcfbf9; opacity: .7; font-size: .78rem; }
@media (max-width: 599px) {
  dialog.design-picker { border-radius: 18px; }
  dialog.design-picker .design-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  dialog.design-picker .design-pick-name { font-size: .72rem; letter-spacing: .06em; }
}
/* Premium finish (owner, 2026-11-05: "make the whole design box look better color wise… a more premium feel"; the
   subtitle bigger). Still no gold (owner, 2026-10-31): depth instead of colour — a layered warm charcoal with a soft
   glow from the top, warm ivory text, a hairline that fades out at both ends, and the pictures on a warm ivory tile.
   Shared by the design and the background picker. To undo: delete this block. */
dialog.design-picker { border-color: rgba(243, 236, 221, .1);
  background: radial-gradient(120% 70% at 50% -10%, #3a3631 0%, #2a2724 45%, #1e1c1a 100%) #1e1c1a;
  box-shadow: 0 60px 120px -30px rgba(10, 9, 8, .75), inset 0 1px 0 rgba(243, 236, 221, .08); }
dialog.design-picker::before { height: 220px; background: radial-gradient(60% 100% at 50% 0%, rgba(243, 236, 221, .07), rgba(243, 236, 221, 0)); }
dialog.design-picker .design-picker-head, dialog.design-picker .design-picker-head:hover { position: relative; border-bottom: 0;
  padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3.4vw, 52px) clamp(22px, 2.4vw, 30px); }
dialog.design-picker .design-picker-head::after { content: ''; position: absolute; left: clamp(24px, 3.4vw, 52px); right: clamp(24px, 3.4vw, 52px); bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(243, 236, 221, 0), rgba(243, 236, 221, .22) 18%, rgba(243, 236, 221, .22) 82%, rgba(243, 236, 221, 0)); }
dialog.design-picker .design-picker-head h2 { margin-bottom: 14px; color: #f3ecdd; font-weight: 300; letter-spacing: -.025em; }
dialog.design-picker .design-picker-head p { max-width: 58ch; color: rgba(243, 236, 221, .82); font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); font-weight: 300; line-height: 1.5; }
body dialog.design-picker .design-picker-head a.design-picker-contact:not(.btn):not(.x) { color: #f3ecdd; font-weight: 500; text-decoration-color: rgba(243, 236, 221, .45); text-underline-offset: 4px; }
dialog.design-picker .design-picker-head a.design-picker-contact:hover { text-decoration-color: #f3ecdd; }
dialog.design-picker .design-picker-head p.design-picker-example { margin-top: 12px; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 236, 221, .5); opacity: 1; }
dialog.design-picker .design-picker-close { border-color: rgba(243, 236, 221, .2); background: rgba(243, 236, 221, .04); color: #f3ecdd; }
dialog.design-picker .design-picker-close:hover { background: rgba(243, 236, 221, .1); }
dialog.design-picker .design-pick-media { border-radius: 18px; background: linear-gradient(180deg, #f6f1e8 0%, #e9e2d6 100%);
  box-shadow: 0 0 0 1px rgba(243, 236, 221, .08), 0 22px 40px -26px rgba(5, 5, 4, .9); }
dialog.design-picker .design-pick:hover .design-pick-media, dialog.design-picker .design-pick:active .design-pick-media { background: linear-gradient(180deg, #f8f4ec 0%, #ece6db 100%);
  box-shadow: 0 0 0 1px rgba(243, 236, 221, .3), 0 28px 50px -26px rgba(5, 5, 4, .95), 0 0 40px -10px rgba(243, 236, 221, .12); }
dialog.design-picker .design-pick.is-chosen .design-pick-media { background: linear-gradient(180deg, #f8f4ec 0%, #ece6db 100%); box-shadow: 0 0 0 2px #f3ecdd, 0 28px 50px -26px rgba(5, 5, 4, .95); }
dialog.design-picker .design-pick:focus-visible .design-pick-media { box-shadow: 0 0 0 2px #1e1c1a, 0 0 0 4px #f3ecdd; }
dialog.design-picker .design-pick-check { background: #f3ecdd; color: #1e1c1a; }
dialog.design-picker .design-pick-name, dialog.design-picker .design-pick.is-chosen .design-pick-name { color: #f3ecdd; font-weight: 600; letter-spacing: .1em; }
dialog.design-picker .design-pick-note { color: rgba(243, 236, 221, .6); opacity: 1; }
dialog.design-picker .design-picker-grid { scrollbar-color: rgba(243, 236, 221, .25) transparent; }

/* ==========================================================================
   Landing page header at the top: no bar, just the text over the hero picture (owner, 2026-11-01).
   The hero slides up under the header, the links turn brighter with a soft shadow, and when you scroll back up the
   floating bar widens smoothly to full width while its box fades away. To revert: delete this block.
   ========================================================================== */
body.page-home .hero { margin-top: calc(-1 * var(--header-h)); }
body.page-home .hero-frame.is-gradient { --chrome: 0px; }
body.page-home:has(.dev-banner) .hero-frame.is-gradient { --chrome: 35px; }
@media (max-width: 767px) {
  body.page-home .hero-frame.is-gradient.has-picture .hero-content.hero-centered.hero-left { padding-top: calc(24px + var(--header-h)); }
}
/* The same header on Photo editing, What we offer, Wholesale and About us (owner, 2026-11-01: body class hdr-over),
   over their dark hero band, which slides up under the header the same way. */
body.hdr-over main > .svc-hero.is-dark-hero:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(clamp(32px, 4vw, 56px) + var(--header-h)); }
:is(body.page-home, body.hdr-over) .site-header.hdr:not(.is-scrolled) :is(.logo, .hdr-link, .hdr-btn-outline, .hdr-toggle, .icon-btn, .hdr-lang select) { color: #fcfbf9; text-shadow: 0 1px 2px rgba(27, 28, 26, .8), 0 2px 12px rgba(27, 28, 26, .55); }
:is(body.page-home, body.hdr-over) .site-header.hdr:not(.is-scrolled) .logo-text small { color: #e6e1d6; }
:is(body.page-home, body.hdr-over) .site-header.hdr:not(.is-scrolled) :is(.logo-mark, .icon-btn svg, .hdr-toggle-icon, .hdr-lang .icon) { filter: drop-shadow(0 1px 2px rgba(27, 28, 26, .8)); }
:is(body.page-home, body.hdr-over) .site-header.hdr:not(.is-scrolled) :is(.hdr-btn-outline, .hdr-toggle) { border-color: rgba(252, 251, 249, .55); }
:is(body.page-home, body.hdr-over) .site-header.hdr:not(.is-scrolled) .hdr-lang select { border-color: rgba(252, 251, 249, .4); background-color: rgba(27, 28, 26, .25); }
/* Unfold: let the width animate between "as wide as its content" and full width (Chrome/Edge; others simply switch). */
.site-header.hdr .hdr-bar { interpolate-size: allow-keywords; }
.hdr-bar { --hdr-ease: 600ms cubic-bezier(.4, 0, .2, 1); /* gentle in and out, so the unfold reads as one smooth movement */
  transition: width var(--hdr-ease), max-width var(--hdr-ease), height var(--hdr-ease), margin-top var(--hdr-ease), padding var(--hdr-ease),
    border-radius var(--hdr-ease), background-color var(--hdr-ease), border-color var(--hdr-ease), box-shadow var(--hdr-ease),
    -webkit-backdrop-filter var(--hdr-ease), backdrop-filter var(--hdr-ease); }
/* While it unfolds (app.js), the parts that come back — logo text, language picker — fade in instead of popping. */
.site-header.hdr.is-unfolding :is(.logo-text, .hdr-lang) { animation: hdr-fade-in 450ms 150ms cubic-bezier(.4, 0, .2, 1) both; }
@keyframes hdr-fade-in { from { opacity: 0; } }
.hdr-ghost { position: absolute; box-sizing: border-box; border: 1px solid transparent; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hdr-bar { transition: none; } }

/* Customizer on phones and tablets (owner, 2026-11-06: "the preview is cut off"). The whole product stays in view, above
   the options and clear of the buy bar: the box takes its height from the screen, and the picture fits inside the box
   (it used to be sized from the screen height alone and ran up to 90px under the options panel). */
@media (max-width: 1023px) {
  .cfg-split { --card-h: clamp(280px, min(100vw, 100svh - 340px), 520px); }
  .cfg-split .preview-card { height: var(--card-h); }
  .cfg-split .cfg-photo { grid-template-rows: minmax(0, 1fr); place-items: center; padding: var(--s2) 0 var(--s4); }
  .cfg-split .cfg-photo img { width: 100%; height: 100%; max-width: 86%; max-height: none; transform-origin: 50% 50%; }
  /* Arrows: centred on the picture, not on the panel with its heading; finger-sized. */
  body .cfg-split .cfg-view-arrow { top: auto; bottom: calc((var(--card-h) - 44px) / 2); transform: none; width: 44px; height: 44px; }
  body .cfg-split .cfg-view-arrow.is-prev { left: var(--s2); }
  body .cfg-split .cfg-view-arrow.is-next { right: var(--s2); }
  /* Granite (owner, 2026-11-08): the stone runs down past the bottom of the section, its size label above it. */
  .cfg-split.is-granite .cfg-etch { bottom: -40px; height: calc(100% - 4px); }
  .cfg-split.is-granite .size-label { top: var(--s2); right: auto; left: 50%; bottom: auto; transform: translateX(-50%); white-space: nowrap; }
  .cfg-split .preview-tip { position: relative; left: auto; bottom: auto; align-self: flex-start; margin-block: var(--s2) var(--s3); }
  /* Buy bar: the price was dark on dark. Light text and the same light button as the main "Add to cart". */
  .mobile-buybar { background: #1e1d1b; border-top-color: rgba(245, 242, 236, .16); }
  .mobile-buybar .small.muted { color: rgba(245, 242, 236, .72); }
  .mobile-buybar .price { color: #f5f2ec; font-size: 1.125rem; line-height: 1.25; } /* smaller: long "Price on request" wordings wrap less and stay tidy on two lines */
  body .mobile-buybar .btn.btn-primary, body .mobile-buybar .btn.btn-primary:hover { background: #f5f2ec; color: #1b1c1a; border-color: transparent; box-shadow: none; }
  /* The bar sits right after the options (it never covers them), so they need no extra space for it... */
  .cfg-split .config-controls { padding-bottom: var(--s5); }
  /* ...and the back-to-top circle would land on its button at the end of the form. */
  body:has(.mobile-buybar) .to-top { display: none; }
}
/* Upload box: no dragging or clicking on a touch screen. */
.drop-touch { display: none; }
@media (hover: none) { .drop-mouse { display: none; } .drop-touch { display: inline; } }
/* A tapped arrow must not stay dark: there is no hover on a touch screen. */
@media (hover: none) { body .cfg-view-arrow:hover:not(:disabled) { background: rgba(255, 253, 249, .75); color: #1b1c1a; } }

/* Catalogue page (owner, 2026-11-08): the landing page's boxes, one headed group per shape and finish. */
/* More premium (owner, 2026-11-10): each group opens with a heading the size of the landing page's section titles, the
   number of sizes beside it in small capitals, and a hairline underneath; more air between the groups; the page title
   a step larger so it still leads. */
.catalogue-group + .catalogue-group { margin-top: clamp(64px, 7.5vw, 120px); }
.catalogue-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px;
  margin: 0 clamp(12px, 3vw, 48px) clamp(20px, 2.2vw, 32px); padding-bottom: clamp(14px, 1.4vw, 20px); border-bottom: 1px solid rgba(27, 28, 26, .12); }
.catalogue-group-title { margin: 0; padding: 0; font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.9rem); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; color: #1b1c1a; }
.catalogue-group-count { margin: 0; flex: none; font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: rgba(27, 28, 26, .55); }
.catalogue-band .etch-head .etch-title { font-size: clamp(2.4rem, 1.3rem + 2.8vw, 4rem); line-height: 1.02; letter-spacing: -.025em; }
/* Box size (owner, 2026-11-08: four to a row touching was large; five and six too small): four to a row with wider gaps,
   a little under the landing page's boxes, and the product a little larger inside; three on tablets, two on phones. */
.catalogue-band .shelf-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1200px) { .catalogue-band .shelf-track { column-gap: 2.5vw; } }
.catalogue-band .shelf-media img:not(.is-landscape) { width: calc(86% * var(--size, 1)); } /* --size: a slight sense of scale, set per piece (catalogue.js) */
.catalogue-band .shelf-media img.is-landscape { width: calc(94% * var(--size, 1)); }
@media (min-width: 1024px) and (hover: hover) { body:has(.catalogue-band) .svc-rail { right: max(6px, calc(min(3vw, 48px) / 2 - 12px)); } } /* centred in the page margin, like the landing page */
@media (max-width: 1023px) { .catalogue-band .shelf-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .catalogue-band .shelf-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catalogue-band .shelf-name { padding: 12px 6px 0; font-size: .9375rem; text-transform: none; }
.catalogue-band .shelf-price { padding-inline: 6px; }
/* Under All every panel shows, one after the other; on its own tab a one-finish shape needs no heading. */
.catalogue-panel:not([hidden]) ~ .catalogue-panel:not([hidden]) { margin-top: clamp(64px, 7.5vw, 120px); }
.catalogue-band:has([data-rs-tab='all'][aria-selected='false']) .catalogue-group-head.is-solo { display: none; }
body:has(.catalogue-band) .site-footer { margin-top: 0; }
/* The pill, quieter (owner, 2026-11-08: "cleaner and more premium"): one hairline, no shadow or icons, a flat dark pane
   that glides without bouncing. Phones: it fills the width and scrolls sideways if the words don't fit. */
.catalogue-switch-wrap { padding: 0 clamp(12px, 3vw, 48px) clamp(24px, 3vw, 44px); }
.catalogue-switch.rs-switch.mode-switch { padding: 3px; background: transparent; border: 1px solid rgba(27, 28, 26, .16); box-shadow: none; }
.catalogue-switch.rs-switch.mode-switch button { min-height: 42px; padding: 0 24px; font-weight: 500; font-size: .875rem; letter-spacing: .015em; color: #5b5f58; transition: color 300ms var(--ease-out); }
.catalogue-switch.rs-switch.mode-switch button:hover { color: #1b1c1a; }
.catalogue-switch.rs-switch.mode-switch button[aria-selected='true'] { color: #f5f2ec; }
.catalogue-switch.rs-switch.mode-switch button:focus-visible { outline: 2px solid #1b1c1a; outline-offset: -2px; }
.catalogue-switch.rs-switch .mode-switch-glider { top: 3px; height: calc(100% - 6px); background: #1b1c1a; box-shadow: none; transition: transform 420ms cubic-bezier(.22, 1, .36, 1), width 420ms cubic-bezier(.22, 1, .36, 1); }
.catalogue-switch.rs-switch .mode-switch-glider.no-anim { transition: none; }
@media (max-width: 640px) {
  .catalogue-switch.rs-switch.mode-switch { grid-auto-columns: auto; overflow-x: auto; scrollbar-width: none; }
  .catalogue-switch.rs-switch.mode-switch::-webkit-scrollbar { display: none; }
  .catalogue-switch.rs-switch.mode-switch button { min-width: max-content; padding: 0 14px; white-space: nowrap; font-size: .8125rem; }
  .catalogue-switch.mode-switch .icon { display: block; width: 16px; height: 16px; } /* owner, 2026-11-08: the shape symbols stay on phones too */
}
/* Three dropdowns in a row can't hold the longer finish names ("With rim, no gold", Greek and Bulgarian especially):
   Shape and Finish share the first row, Size goes below. */
@media (min-width: 521px) { .bulk-pick:has(> [data-bulk-finish-field]:not([hidden])) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
/* What we offer's quote form: the same reason, so its phone layout (shape | finish, then size | quantity | +) at every width. */
.ws-pick-row:not(.is-add) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) 44px; grid-template-areas: "shape finish finish" "size qty add"; }
.ws-pick-row:not(.is-add) > :nth-child(1) { grid-area: shape; } .ws-pick-row:not(.is-add) > :nth-child(2) { grid-area: finish; }
.ws-pick-row:not(.is-add) > :nth-child(3) { grid-area: size; } .ws-pick-row:not(.is-add) > :nth-child(4) { grid-area: qty; } .ws-pick-row:not(.is-add) > :nth-child(5) { grid-area: add; }
@media (max-width: 640px) { .ws-pick-row:not(.is-add) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "shape shape shape" "finish finish finish" "size qty add"; } }
/* Customizer, In bulk: a finish whose pictures are still to come (owner, 2026-11-08). */
.cfg-photo-soon { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin: 0; color: #5b5f58; font-size: var(--fs-sm); pointer-events: none; }
.cfg-photo-soon[hidden] { display: none; }
.cfg-photo-soon .icon { width: 34px; height: 34px; opacity: .55; }

/* Landing page, papyrus with a photo window (owner, 2026-11-08): a small oval / rectangle switch in the corner of the box. */
.pw.shelf-item:has(.shelf-window-pick) { position: relative; }
/* Oval / rectangle change: a veil in the box's colour covers the pictures while they swap, so two pieces never show at once. */
.pw.shelf-item:has(.shelf-window-pick) .shelf-media::after { content: ''; position: absolute; inset: 0; background: inherit; opacity: 0; pointer-events: none; transition: opacity 460ms var(--ease-out); }
.pw.shelf-item:has(.shelf-window-pick) .shelf-media.is-swapping::after { opacity: 1; transition: opacity 220ms ease-in; }
/* Its hover change too: one picture leaves before the other arrives, because these two plaques blend into a double image. */
@media (hover: hover) {
  .pw.shelf-item:has(.shelf-window-pick) .shelf-media > img:not(.shelf-hover) { transition: transform 800ms var(--ease-out), opacity 240ms var(--ease-out) 170ms; }
  .pw.shelf-item:has(.shelf-window-pick) .shelf-media > img.shelf-hover { transition: transform 800ms var(--ease-out), opacity 160ms ease-in; }
  .pw.shelf-item:has(.shelf-window-pick) .shelf-link:is(:hover, :focus-visible) .shelf-media > img:not(.shelf-hover) { transition: transform 800ms var(--ease-out), opacity 160ms ease-in; }
  .pw.shelf-item:has(.shelf-window-pick) .shelf-link:is(:hover, :focus-visible) .shelf-media > img.shelf-hover { transition: transform 800ms var(--ease-out), opacity 240ms var(--ease-out) 170ms; }
}
.pw.shelf-item:has(.shelf-window-pick) .shelf-link .shelf-media.is-swapping > img { transition: none; }
.shelf-window-pick { --pick: 34px; position: absolute; z-index: 2; top: 8px; right: 8px; display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(27, 28, 26, .16); border-radius: 999px; background: rgba(252, 251, 249, .78); }
@media (hover: none) { .shelf-window-pick { --pick: 40px; } }
/* The dark marker slides to the chosen button, like the catalogue pill. */
.shelf-window-pick::before { content: ''; position: absolute; top: 3px; left: 3px; width: var(--pick); height: var(--pick); border-radius: 50%; background: #1b1c1a; transition: transform 460ms cubic-bezier(.22, 1, .36, 1); }
.shelf-window-pick:has(button:last-child[aria-pressed='true'])::before { transform: translateX(calc(var(--pick) + 2px)); }
.shelf-window-pick button { position: relative; display: grid; place-items: center; width: var(--pick); height: var(--pick); padding: 0; border: 0; border-radius: 50%; background: transparent; color: #5b5f58; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: color 320ms var(--ease-out); }
.shelf-window-pick button:hover { color: #1b1c1a; }
.shelf-window-pick button[aria-pressed='true'] { color: #f5f2ec; }
.shelf-window-pick button:focus-visible { outline: 2px solid #1b1c1a; outline-offset: 1px; }
.shelf-window-pick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) { .shelf-window-pick::before { transition: none; } }
.shelf-more { display: flex; justify-content: center; padding-top: clamp(28px, 3.5vw, 48px); }
body .showcase-band .shelf-more a.btn.btn-primary { color: #f5f2ec; }

/* ── Phones and small tablets, whole site (owner, 2026-11-08: "maximum phone efficiency") ── */
@media (max-width: 899px) {
  /* Slideshows: the arrows and dots move into a row under the picture, so nothing sits on the photo. */
  .ab-slides { overflow: visible; background: none; box-shadow: none; border-radius: 0; margin-bottom: 64px; }
  .ab-slides-track { position: absolute; inset: 0; overflow: hidden; border-radius: 22px; background: #e9e5dd; box-shadow: 0 16px 28px -22px rgba(40, 30, 15, .45); }
  #porcelain .svc-photo-slides .ab-slides-track { overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .ab-slides-arrow { top: calc(100% + 10px); margin-top: 0; width: 44px; height: 44px; opacity: 1; }
  .ab-slides-arrow.is-prev { left: 0; } .ab-slides-arrow.is-next { right: 0; }
  .ab-slides-dots { top: calc(100% + 21px); bottom: auto; }
  /* The dots stay small to look at but take a finger-sized tap. */
  .ab-slides-dots button { position: relative; }
  .ab-slides-dots button::after { content: ''; position: absolute; inset: -16px -4px; }
  /* Long button labels wrap inside their box instead of running out of it (What we offer, Granite box). */
  .svc-window.is-summary > .svc-sum { min-width: 0; max-width: 100%; }
  .svc-sum-btns { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  body.page-light main .svc-window .svc-sum-btns .btn.svc-btn { min-width: 0; max-width: 100%; padding-inline: 20px; white-space: normal; text-align: center; line-height: 1.25; }
  /* "05 / 05" keeps to one line next to a long heading. */
  .svc-sum-label > span + span { flex: none; white-space: nowrap; }
  /* Finger-sized taps: footer links (without changing their spacing), the language picker, the small info buttons. */
  .footer-col a { position: relative; }
  .footer-col a::after { content: ''; position: absolute; inset: -5px 0; }
  .footer-bottom .lang-select select, .hdr-menu-foot .lang-select select { height: 44px; }
  .tip-trigger { position: relative; }
  .tip-trigger::after { content: ''; position: absolute; inset: -11px; }
  .cfg-split .preview-tip > .tip-trigger::after { inset: -6px 0; }
  .cfg-split .instructions-toggle summary { min-height: 44px; }
  /* A long button label wraps rather than pushing its card off the screen (Greek on the smallest phones). */
  .btn { white-space: normal; text-align: center; }
  .btn.btn-sm, .cart-action { min-height: 44px; }
  .cart-action { display: inline-flex; align-items: center; }
  :is(.cart-continue, .checkout-edit-cart, .link-arrow) { position: relative; }
  :is(.cart-continue, .checkout-edit-cart, .link-arrow)::after { content: ''; position: absolute; inset: -11px 0; }
  /* iPhones zoom the whole page when a field smaller than 16px is tapped. */
  input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { font-size: 16px !important; }
}
/* Landing catalogue on touch screens (owner, 2026-11-08): no hover there, so each card simply shows its second picture, the
   finished front view. The Catalogue page's second pictures are backs, so they stay hidden on phones. */
@media (hover: none) {
  #pw-grid .shelf-media:has(> .shelf-hover) > img:not(.shelf-hover) { display: none; }
  #pw-grid .shelf-media > img.shelf-hover { display: block; opacity: 1; }
}
/* The smallest phones: the two colour choices stay side by side and inside the screen. */
@media (max-width: 360px) {
  .segmented { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .segment { min-width: 0; padding-inline: 8px; gap: 6px; }
  .segment-swatch { width: 20px; height: 20px; }
}
/* An open dropdown in the customizer must not end up behind the Add to cart bar: the bar steps aside until it closes. */
@media (max-width: 1023px) {
  .mobile-buybar { transition: transform 240ms var(--ease-out); }
  body:has(.listbox-button[aria-expanded='true']) .mobile-buybar { transform: translateY(110%); }
}
@media (max-width: 599px) { .shelf-label { font-size: .75rem; } .ab-map-title { font-size: .75rem; } }

/* In bulk, the order list (owner, 2026-11-08: "clearer"): each row says what the piece is on its own lines, then how many
   and the price; a line under the list adds it all up. Colours come from the panel, so it works on light and dark. */
.bulk-list { max-height: none; overflow: visible; } /* every row always shows; the options panel itself scrolls on desktop */
.bulk-line { grid-template-columns: minmax(0, 1fr) auto minmax(92px, auto) 40px; gap: 12px; padding: 12px 0; }
.bulk-line.is-new { animation: bulk-line-new 1100ms var(--ease-out); }
@keyframes bulk-line-new { from { background: rgba(150, 140, 120, .28); } to { background: transparent; } }
.bulk-line-info { display: grid; gap: 2px; min-width: 0; }
.bulk-line-info strong { color: var(--on-forest); font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.bulk-line-info span { color: var(--on-forest-2); font-size: .875rem; line-height: 1.3; }
.bulk-line-amount { display: inline-flex; align-items: center; gap: 6px; }
.bulk-line-qty { width: 72px; height: 44px; min-height: 44px; padding-inline: 6px; text-align: center; }
.bulk-line-unit { color: var(--on-forest-2); font-size: .875rem; }
.bulk-line-remove { display: grid; place-items: center; width: 40px; height: 44px; }
.bulk-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-top: 14px; color: var(--on-forest-2); font-size: .9375rem; }
.bulk-summary[hidden] { display: none; }
.bulk-summary strong { color: var(--on-forest); font-size: 1rem; font-weight: 800; }
.bulk-empty { padding: 18px 16px; border: 1px dashed var(--on-forest-line); border-radius: 12px; text-align: center; }
.bulk-empty[hidden] { display: none; }
@media (max-width: 599px) {
  .bulk-line { grid-template-columns: auto minmax(0, 1fr) 40px; grid-template-areas: "info info remove" "amount price price"; row-gap: 8px; }
  .bulk-line-info { grid-area: info; } .bulk-line-amount { grid-area: amount; } .bulk-line-price { grid-area: price; } .bulk-line-remove { grid-area: remove; }
}
@media (prefers-reduced-motion: reduce) { .bulk-line.is-new { animation: none; } }

/* ── Customizer on phones and tablets (owner, 2026-11-08): light and airy instead of a black panel. The dark rules above
      are all built on these colour names, so re-pointing them turns the whole options panel light; desktop keeps its window. ── */
.cfg-mini { display: none; }
@media (max-width: 1023px) {
  body .cfg-split .config-controls {
    --on-forest: #1b1c1a; --on-forest-2: #5b5f58; --on-forest-line: rgba(27, 28, 26, .1); --bright: #1b1c1a; --forest: #f5f2ec;
    --mc-line: rgba(27, 28, 26, .1); --mc-quiet: #5b5f58; --mc-faint: rgba(27, 28, 26, .18);
    --ink: #1b1c1a; --ink-2: #353733; --muted: #5b5f58; --paper: #fcfbf9; --paper-2: #f3f1ec; --paper-3: #eceae4; --line: rgba(27, 28, 26, .12); --line-strong: rgba(27, 28, 26, .2); --green-tint: rgba(27, 28, 26, .06);
    background: #fcfbf9 !important; -webkit-backdrop-filter: none; backdrop-filter: none; color: #1b1c1a; border-top: 1px solid rgba(27, 28, 26, .1); box-shadow: none; padding: 8px 16px 32px; }
  body .cfg-split .config-controls::before, body .cfg-split .config-controls .cfg-spotlight { display: none; }
  /* Room to breathe: one clear section after another. */
  body .cfg-split .config-controls .config-step, body .cfg-split .config-controls .config-step[data-step] { padding-block: 28px; }
  body .cfg-split .config-controls .config-step-head { align-items: center; margin-bottom: 18px; }
  body .cfg-split .config-controls .config-step-head h2 { font-size: .875rem; font-weight: 700; letter-spacing: .08em; color: #1b1c1a; }
  body .cfg-split .config-controls .config-row > .field + .field, body .cfg-split .config-controls .config-step .field + .field { margin-top: 18px; }
  body .cfg-split .config-controls :is(.config-row > .field > .label, .config-row > .field > label, .size-field legend, .bulk-pick label, .bulk-add label) { display: block; margin-bottom: 8px; color: #353733; font-size: .875rem; font-weight: 600; }
  body .cfg-split .config-controls .hint { margin-top: 8px; color: #5b5f58; line-height: 1.5; }
  /* Step numbers: quiet outlines that fill in when a step is done. */
  body .cfg-split .config-controls :is(.config-step-head, .instructions-toggle summary) .num { color: #5b5f58; border-color: rgba(27, 28, 26, .25); background: transparent; }
  body .cfg-split .config-controls .config-step.is-done :is(.config-step-head, .instructions-toggle summary) .num { background: #1b1c1a; border-color: #1b1c1a; color: transparent; }
  body .cfg-split .config-controls .num-check { stroke: #f5f2ec; }
  /* Controls: thin outlines on the page colour, dark arrows. */
  body .cfg-split .config-controls :is(.listbox-button, .select, .input, .textarea, .bulk-pick .select, .bulk-add .input, .bulk-line-qty, [data-step="bulkdetails"] .input, .bulk-notes .textarea) { background-color: transparent; color: #1b1c1a; border-color: rgba(27, 28, 26, .18); border-radius: 12px; }
  body .cfg-split .config-controls :is(.listbox-button, .select) { min-height: 52px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b1c1a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
  body .cfg-split .config-controls .listbox-popup { background: #fcfbf9; color: #1b1c1a; border-color: rgba(27, 28, 26, .14); box-shadow: 0 18px 40px -18px rgba(27, 28, 26, .35); }
  body .cfg-split .config-controls .textarea::placeholder { color: #8a8d86; }
  body .cfg-split .config-controls .qty { background: transparent; border-color: rgba(27, 28, 26, .18); border-radius: 12px; }
  body .cfg-split .config-controls .qty button:hover { background: rgba(27, 28, 26, .05); }
  body .cfg-split .config-controls .dropzone { background: #f6f4ef; border-color: rgba(27, 28, 26, .22); border-radius: 14px; padding-block: 26px; }
  body .cfg-split .config-controls :is(.upload-card, .prep-default, .coming-soon) { background: #f6f4ef; border-color: rgba(27, 28, 26, .12); color: #1b1c1a; }
  body .cfg-split .config-controls .upload-card-sm img, body .cfg-split .config-controls .upload-card-sm .thumb-ph { background: rgba(27, 28, 26, .06); }
  /* Colour choice: the chosen one is the dark pane with light text. */
  body .cfg-split .config-controls .segment { border-color: rgba(27, 28, 26, .18); border-radius: 12px; }
  body .cfg-split .config-controls .segment:not(:has(input:checked)) .segment-text strong { color: #1b1c1a; }
  body .cfg-split .config-controls .segment:not(:has(input:checked)) .segment-text small { color: #5b5f58; }
  body .cfg-split .config-controls .segment:has(input:checked) :is(.segment-text strong, .segment-text small) { color: #f5f2ec; }
  /* The same for chips (the papyrus's oval / rectangular window); long names wrap so the icon stays inside. */
  body .cfg-split .config-controls .size-chip:has(input:checked) .dim { color: #f5f2ec; }
  body .cfg-split .config-controls .gshape-chip { min-height: 52px; padding: 6px 10px; }
  body .cfg-split .config-controls .gshape-chip .dim { justify-content: center; gap: 8px; font-size: .9rem; line-height: 1.2; text-align: left; white-space: normal; }
  body .cfg-split .config-controls .tip-panel { background: #1b1c1a; color: #f5f2ec; }
  body .cfg-split .config-controls .field-error { color: #9b2c1f; }
  body .cfg-split .config-controls :focus-visible { outline-color: #1b1c1a; }
  /* The main buttons. */
  body .cfg-split .config-controls .add-cta, body .cfg-split .config-controls .add-cta:hover { background: #1b1c1a; background-image: none; color: #f5f2ec; border: 0; box-shadow: 0 14px 26px -16px rgba(27, 28, 26, .55); }
  body .cfg-split .config-controls .bulk-add-btn { background: transparent; color: #1b1c1a; border: 1px solid rgba(27, 28, 26, .28); }
  body .cfg-split .config-controls .upload-card .btn { background: transparent; color: #1b1c1a; border-color: rgba(27, 28, 26, .28); }
  /* Picture arrows: round, like the rest of the site. */
  body .cfg-split .cfg-view-arrow { border-radius: 50%; }
  /* The bottom bar joins the light page. */
  .mobile-buybar { background: #fcfbf9; border-top-color: rgba(27, 28, 26, .1); box-shadow: 0 -12px 24px -20px rgba(27, 28, 26, .4); }
  .mobile-buybar .small.muted { color: #5b5f58; }
  .mobile-buybar .price { color: #1b1c1a; }
  body .mobile-buybar .btn.btn-primary, body .mobile-buybar .btn.btn-primary:hover { background: #1b1c1a; color: #f5f2ec; }
  /* It slides away once the big button is on screen, so there is only ever one (configurator.js). Fixed, so it leaves no gap. */
  .mobile-buybar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; transition: transform 260ms var(--ease-out), visibility 260ms; }
  .mobile-buybar.is-away { transform: translateY(110%); visibility: hidden; }
  /* No floating menu over the options on this page. */
  body:has(.cfg-split) .site-header.hdr.is-scrolled:not(.is-menu-open) { opacity: 0; visibility: hidden; pointer-events: none; }
  body:has(.cfg-split) .hdr-ghost { display: none; }
  /* Once the big picture has scrolled away: a slim strip with a small picture of the piece and its current size. */
  .cfg-mini { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: rgba(252, 251, 249, .97); border-bottom: 1px solid rgba(27, 28, 26, .1); box-shadow: 0 10px 22px -20px rgba(27, 28, 26, .5); transform: translateY(-105%); visibility: hidden; transition: transform 300ms var(--ease-out), visibility 300ms; pointer-events: none; }
  .cfg-mini.is-shown { transform: none; visibility: visible; }
  .cfg-mini-pic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; }
  .cfg-mini-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .cfg-mini-text { display: grid; min-width: 0; line-height: 1.3; }
  .cfg-mini-text strong { overflow: hidden; color: #1b1c1a; font-size: .9375rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .cfg-mini-text small { color: #5b5f58; font-size: .8125rem; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .cfg-mini { transition: none; } }

/* Customizer picture arrows (owner, 2026-11-10): the same round dark-glass arrows as the slideshows on the other pages
   (.ab-slides-arrow), always shown here; phones keep their 44px size and place (cfg-split rules above). */
body .cfg-view-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(20, 19, 18, .62); color: #ece8e1;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: none;
  transition: opacity 260ms var(--ease-out), background-color 200ms, transform 200ms var(--ease-out); }
body .cfg-view-arrow:hover:not(:disabled) { background: rgba(20, 19, 18, .82); color: #ece8e1; }
body .cfg-view-arrow:active:not(:disabled) { scale: .94; }
body .cfg-view-arrow:focus-visible { outline: 2px solid #1b1c1a; outline-offset: 2px; }
@media (hover: none) { body .cfg-view-arrow:hover:not(:disabled) { background: rgba(20, 19, 18, .62); color: #ece8e1; } }
@media (max-width: 1023px) { body .cfg-split .cfg-view-arrow { width: 44px; height: 44px; } }

/* Logo mark (owner, 2026-11-01): the sideways-P mark, coloured like the logo text (see partials/logo-mark.ejs). */
.logo-mark { display: inline-block; background-color: currentColor; -webkit-mask: url("/img/logo-mark.png") center / contain no-repeat; mask: url("/img/logo-mark.png") center / contain no-repeat; }
