/* /assets/css/site.css */
/* MPrints — medieval-modern. Charcoal, warm gold, limestone cream.
   Type: Cinzel (headings, labels) + EB Garamond (text). */
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("/assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url("/assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }

:root {
  --charcoal: #222222;
  --charcoal-2: #2c2c2c;
  --gold: #a7a7a7;
  --gold-dark: #7e7e7e;
  --cream: #eeeeee;
  --page-bg: #f3f3f3;
  --white: #fdfdfd;
  --ink: #292929;
  --muted: #535353;
  --line: #d9d9d9;
  --error: #434343;
  --success: #515151;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --text: "EB Garamond", Garamond, Georgia, serif;
  --page: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page-bg); color: var(--ink); font: 400 1.2rem/1.6 var(--text); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .2em; text-decoration-color: var(--gold); }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-family: var(--caps); color: var(--charcoal); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.08; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: .02em; }
h3 { font-size: 1.02rem; line-height: 1.3; letter-spacing: .05em; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: var(--cream); padding: .75rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* thin gold rule with a small diamond */
.flourish { display: flex; align-items: center; gap: .7rem; color: var(--gold-text); margin: 1rem 0 0; width: 9rem; }
.flourish::before, .flourish::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.flourish span { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid currentColor; }
.center { text-align: center; }
.center .flourish { margin-left: auto; margin-right: auto; }

.dark { background: var(--charcoal); color: #d5d5d5; }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.sand { background: var(--cream); }
.bark { background: var(--charcoal); color: #d5d5d5; }
.bark h2 { color: var(--cream); }

/* ---------- header ---------- */
.site-header { background: var(--page-bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }
.wordmark { --wm: 2.8rem; font: 700 calc(var(--wm) * .732)/1 var(--caps); letter-spacing: .14em; color: var(--charcoal); text-decoration: none; display: inline-flex; align-items: center; gap: 0; }
.wordmark:hover { color: var(--charcoal); }
.wordmark .mark { width: var(--wm); height: var(--wm); margin-right: calc(var(--wm) * .096); flex: none; }
.wordmark span { transform: translateY(.048em); }
@media (max-width: 640px) { .wordmark { --wm: 2.3rem; } }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2.1rem; }
.site-nav a { font: 600 .82rem var(--caps); letter-spacing: .14em; color: var(--ink); text-decoration: none; padding: .35rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--gold-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav a.header-cta { padding: .7rem 1.1rem; border: 1px solid var(--charcoal); }
.site-nav a.header-cta:hover { background: var(--charcoal); color: var(--cream); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--charcoal); color: var(--charcoal); font: 600 .78rem var(--caps); letter-spacing: .12em; padding: .55rem .9rem; cursor: pointer; }
@media (min-width: 801px) and (max-width: 1040px) { .site-nav ul { gap: 1.35rem; } .site-nav a { letter-spacing: .1em; } }
@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--page-bg); border-bottom: 1px solid var(--line); margin: 0; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .site-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a.header-cta { margin-top: .9rem; text-align: center; }
}

/* ---------- buttons & forms ---------- */
.btn { display: inline-block; font: 700 .8rem/1 var(--caps); letter-spacing: .16em; padding: 1.1rem 1.7rem; border: 1px solid var(--charcoal); background: var(--charcoal); color: var(--cream); text-decoration: none; cursor: pointer; }
.btn:hover { background: #000000; border-color: #000000; color: var(--cream); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
.dark .btn, .bark .btn { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.dark .btn:hover, .bark .btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--charcoal); }
.dark .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(238,238,238,.5); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.field { display: grid; gap: .35rem; margin-bottom: 1.15rem; }
.field label { font: 700 .74rem var(--caps); letter-spacing: .12em; color: var(--charcoal); }
.field .hint { font-size: 1rem; color: var(--muted); font-style: italic; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; font: 400 1.12rem/1.4 var(--text); color: var(--ink); padding: .85rem 1rem; border: 1px solid #c5c5c5; border-radius: 0; background: var(--white); }
input:focus, textarea:focus { border-color: var(--gold-dark); outline: none; box-shadow: 0 0 0 3px rgba(var(--gold-rgb),.25); }
textarea { min-height: 10rem; resize: vertical; }
.status { min-height: 1.5em; margin: .7rem 0 0; font-size: 1.05rem; font-style: italic; }
.status.ok { color: var(--success); }
.status.err { color: var(--error); }
.bark .status.ok, .dark .status.ok { color: var(--ok); }
.bark .status.err, .dark .status.err { color: var(--err); }

.notify { display: grid; grid-template-columns: 1fr auto; gap: .6rem; max-width: 32rem; }
.notify label { grid-column: 1 / -1; font: 700 .74rem var(--caps); letter-spacing: .12em; }
.notify .status { grid-column: 1 / -1; margin-top: 0; }
.bark .notify input { border-color: transparent; }
@media (max-width: 480px) { .notify { grid-template-columns: 1fr; } }

.price { font: 600 1.4rem var(--caps); color: var(--charcoal); margin: 0; }
.price.pending { font: italic 400 1.2rem var(--text); color: var(--muted); }
.tag { display: inline-block; font: 700 .68rem/1 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--gold); padding: .5rem .75rem; }
.dark .tag { color: var(--gold-text); }

/* ---------- photos ---------- */
.photo { background: var(--white); position: relative; }
.photo img { width: 100%; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero .lede { font-size: 1.32rem; color: var(--muted); margin: 1.25rem 0 1.75rem; max-width: 28rem; }
.hero .finish-line { margin: 1.25rem 0 0; font: 600 .72rem var(--caps); letter-spacing: .16em; color: var(--muted); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero .photo { order: -1; } }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.facts div { border-left: 1px solid var(--gold); padding-left: 1.1rem; }
.facts h3 { margin-bottom: .25rem; }
.facts p { color: var(--muted); margin: 0; font-size: 1.05rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: .6rem 0 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.row.flip > .photo { order: 2; }
.row .copy p.sub { color: var(--muted); font-size: 1.22rem; margin: 1rem 0 1.5rem; max-width: 32rem; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row.flip > .photo { order: 0; } }

.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: s; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: .05rem 1rem; align-items: start; }
.steps li::before { content: counter(s, upper-roman); grid-row: span 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--gold); color: var(--gold-dark); font: 700 .85rem var(--caps); }
.steps h3 { padding-top: .5rem; }
.steps p { margin: 0; color: var(--muted); }

.buybox { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.buybox .price { margin: .2rem 0 .2rem; }
.buybox .note-line { color: var(--muted); font-style: italic; margin-bottom: 1.25rem; }

/* ---------- finish swatches ---------- */
.finishes { border: 0; padding: 0; margin: 0 0 1.5rem; }
.finishes legend { font: 700 .74rem var(--caps); letter-spacing: .12em; margin-bottom: .75rem; padding: 0; }
.finishes legend output { font: italic 400 1.1rem var(--text); letter-spacing: 0; color: var(--muted); margin-left: .35rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 1rem; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label { display: grid; justify-items: center; gap: .4rem; cursor: pointer; font-size: 1rem; color: var(--muted); }
.swatch .chip { width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid #afafaf; box-shadow: 0 0 0 3px var(--page-bg), 0 0 0 4px transparent; }
.swatch input:checked + label .chip { box-shadow: 0 0 0 3px var(--page-bg), 0 0 0 5px var(--charcoal); }
.swatch input:checked + label { color: var(--charcoal); }
.swatch input:focus-visible + label .chip { outline: 2px solid var(--gold-dark); outline-offset: 6px; }
.chip.marble { background: linear-gradient(125deg, transparent 52%, #b6b6b6 54%, transparent 57%), radial-gradient(circle at 30% 30%, #ffffff, #ededed 70%); }
.chip.black { background: radial-gradient(circle at 30% 30%, #3a3a3a, #181818 70%); }
.chip.white { background: radial-gradient(circle at 30% 30%, #ffffff, #e8e8e8 70%); }
.chip.brown { background: radial-gradient(circle at 30% 30%, #696969, #4e4e4e 75%); }

/* ---------- inner pages ---------- */
.band { padding: clamp(2.5rem, 6vw, 3.75rem) 0; border-bottom: 1px solid var(--line); }
.band p.sub { color: var(--muted); font-size: 1.25rem; margin: .9rem 0 0; max-width: 40rem; }
.crumbs { font: 600 .7rem var(--caps); letter-spacing: .14em; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.page-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.45rem; margin: 2.25rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.form-panel { max-width: 32rem; }
.illuminated::first-letter { font: 600 3.3em/.8 var(--caps); float: left; padding: .06em .1em 0 0; color: var(--gold-dark); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding: 1.25rem 0 clamp(3rem, 7vw, 4.5rem); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: .7rem; }
.gallery .thumbs button { padding: 0; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.gallery .thumbs button[aria-pressed="true"] { border-color: var(--charcoal); box-shadow: 0 0 0 1px var(--charcoal); }
.gallery .thumbs img { width: 100%; }
.product .info { position: sticky; top: 6rem; }
.product .info h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.product .info .lede { font-size: 1.25rem; color: var(--muted); margin: .7rem 0 1.4rem; }
.quick { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.quick li { padding-left: 1.3rem; position: relative; }
.quick li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold-dark); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product .info { position: static; } }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.specs div { border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1rem 0; }
.specs dt { font: 700 .7rem var(--caps); letter-spacing: .14em; color: var(--gold-dark); margin-bottom: .2rem; }
.specs dd { margin: 0; }
.lead { font-size: 1.25rem; max-width: 46rem; }

/* ---------- cards ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 2rem 1.5rem; }
.card-link { display: block; text-decoration: none; color: var(--ink); }
.card-link img { background: var(--white); transition: opacity .2s ease; }
.card-link:hover img { opacity: .9; }
.card-link:hover { color: var(--ink); }
.card-link .info { padding: .95rem 0 0; }
.card-link h3 { margin-bottom: .15rem; }
.card-link:hover h3 { color: var(--gold-dark); }
.card-link .sub { color: var(--muted); margin: 0 0 .5rem; font-size: 1.08rem; }
.card-link .price.pending { font-size: 1.05rem; }
.card-link .dots { display: flex; gap: .35rem; margin-bottom: .45rem; }
.card-link .dots span { width: .85rem; height: .85rem; border-radius: 50%; border: 1px solid #afafaf; }
.lineup { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.finish-tile { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.finish-tile span { display: block; font: 700 .74rem var(--caps); letter-spacing: .16em; padding-top: .8rem; }
.finish-tile:hover span { color: var(--gold-dark); }
.group-head { margin-bottom: 1.5rem; }
.group-head p { color: var(--muted); margin: .4rem 0 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(3.5rem, 8vw, 5rem) 0; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.cta-band p { color: var(--muted); margin: .8rem 0 0; max-width: 30rem; font-size: 1.2rem; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- account ---------- */
.tabs { display: flex; border: 1px solid var(--charcoal); margin-bottom: 1.75rem; }
.tabs button { flex: 1; background: transparent; border: 0; padding: .8rem; font: 700 .74rem var(--caps); letter-spacing: .12em; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--charcoal); color: var(--cream); }
.linkish { background: none; border: 0; padding: 0; font: italic 400 1.08rem var(--text); color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); cursor: pointer; }
.orders { list-style: none; padding: 0; margin: 0; }
.orders li { border-top: 1px solid var(--line); padding: .9rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.panel-block { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #afafaf; padding: 3rem 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.site-footer ul { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 1.75rem; }
.site-footer a { font: 600 .76rem var(--caps); letter-spacing: .14em; color: var(--cream); text-decoration: none; }
.site-footer a.wordmark { --wm: 2.5rem; font: 700 calc(var(--wm) * .732)/1 var(--caps); letter-spacing: .14em; color: var(--cream); }
.site-footer a:hover { color: var(--gold-text); }
.site-footer .legal { flex-basis: 100%; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(var(--gold-rgb),.25); font-size: 1rem; }
@media (max-width: 640px) { .site-footer ul { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* =====================================================================
   Dark theme + background designs
   ===================================================================== */
:root {
  /* MPrints tan and gold. Light sand pages, deep brown text, gold accents. */
  --charcoal: #232323;
  --deep: #232323;
  --bg: #eaeaea;
  --page-bg: #eaeaea;
  --panel: #dfdfdf;
  --well: #f6f6f6;
  --white: #f6f6f6;
  --cream: #eeeeee;
  --card: rgba(250,250,250,.55);
  --card-soft: rgba(250,250,250,.38);
  --card-hi: rgba(250,250,250,.9);
  --header-bg: rgba(234,234,234,.94);
  --strong: #212121;
  --ink: #2f2f2f;
  --body: #3d3d3d;
  --muted: #565656;
  --placeholder: #7c7c7c;
  --gold: #a3a3a3;
  --gold-hi: #b6b6b6;
  --gold-text: #5c5c5c;
  --gold-deep: #464646;
  --gold-dark: #5c5c5c;
  --on-gold: #212121;
  --gold-rgb: 150,112,40;
  --ink-rgb: 58,46,29;
  --line: rgba(92,92,92,.28);
  --rule: rgba(92,92,92,.22);
  --err: #494949; --err-rgb: 163,50,31;
  --ok: #5c5c5c; --ok-rgb: 63,106,40;
  --st-blue: #595959; --st-green: #6b6b6b; --st-done: #757575; --st-red: #616161;
  /* background designs: faint gold lattice, grain and dots on sand */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0 56 28 28 56 0 28Z' fill='none' stroke='%23A98438' stroke-opacity='.07' stroke-width='1'/%3E%3Ccircle cx='28' cy='28' r='1.2' fill='%23A98438' fill-opacity='.10'/%3E%3C/svg%3E");
  --grain: url("/assets/img/grain.png?v=12cfac0b");
  --emblem: none;
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23A98438' fill-opacity='.14'/%3E%3C/svg%3E");
}
/* Dark brown bands (footer, home hero, toast) switch the tokens back to light-on-dark */
.site-footer, .x-hero, .cart-toast, .dark, .bark, body.v2.v2-home .site-header:not(.scrolled) {
  --bg: #232323; --well: #191919; --card: rgba(255,255,255,.05); --card-soft: rgba(255,255,255,.04);
  --strong: #f4f4f4; --ink: #e6e6e6; --body: #d3d3d3; --muted: #c0c0c0; --placeholder: #8f8f8f;
  --gold-text: #bdbdbd; --gold-deep: #d1d1d1; --gold-rgb: 201,164,103; --ink-rgb: 239,230,210;
  --line: rgba(167,167,167,.3); --rule: rgba(167,167,167,.28);
  --err: #bfbfbf; --err-rgb: 240,179,164; --ok: #d0d0d0; --ok-rgb: 191,217,164;
}
html { background: var(--bg); }
body {
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(163,163,163,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 45%, rgba(163,163,163,.10), transparent 60%),
    var(--grain), var(--lattice), var(--bg);
  background-attachment: fixed, fixed, scroll, scroll, scroll;
}
h1, h2, h3 { color: var(--strong); }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }
.muted, .section-head p, .group-head p, .row .copy p.sub, .facts p, .steps p, .card-link .sub, .band p.sub, .hero .lede, .hero .finish-line { color: var(--muted); }
.flourish { color: var(--gold-text); }

/* header */
.site-header { background: var(--header-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wordmark, .wordmark:hover { color: var(--strong); }
.site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--gold-text); }
.site-nav a.header-cta { border-color: var(--gold); color: var(--gold-text); }
.site-nav a.header-cta:hover { background: var(--gold); color: var(--on-gold); }
.nav-toggle { border-color: var(--gold); color: var(--gold-text); }
@media (max-width: 800px) { .site-nav { background: var(--bg); } }

/* hero with emblem behind */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: -260px; top: 50%; transform: translateY(-50%); background: var(--emblem) center / contain no-repeat; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.hero .wrap { position: relative; }

/* sections */
.sand { background: var(--dots), linear-gradient(180deg, var(--panel), #d8d8d8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section, .band { position: relative; }
.band { background: radial-gradient(700px 260px at 15% 0%, rgba(var(--gold-rgb),.10), transparent 70%); }
.bark, .dark { background: radial-gradient(800px 300px at 85% 50%, rgba(var(--gold-rgb),.12), transparent 70%), var(--lattice), var(--deep); border-top: 1px solid var(--line); }
.cta-band p { color: var(--muted); }

/* buttons */
.btn { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--on-gold); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(var(--ink-rgb),.45); }
.btn-ghost:hover { background: rgba(var(--gold-rgb),.12); border-color: var(--gold); color: var(--ink); }
.tag { color: var(--gold-text); border-color: rgba(var(--gold-rgb),.6); }

/* forms */
.field label, .notify label, .finishes legend { color: var(--ink); }
input[type="text"], input[type="email"], input[type="password"], textarea { background: var(--well); color: var(--ink); border-color: rgba(var(--gold-rgb),.35); }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.price { color: var(--strong); }
.price.pending { color: var(--muted); }

/* facts + steps */
.facts div { border-left-color: var(--gold); }
.steps li::before { color: var(--gold-text); border-color: var(--gold); background: rgba(var(--gold-rgb),.06); }

/* photos sit in a thin gold frame on the dark page */
.photo, .card-link img, .finish-tile img { background: #f3f3f3; }
.photo { outline: 1px solid rgba(var(--gold-rgb),.35); outline-offset: 6px; }
.card-link img, .finish-tile img { box-shadow: 0 0 0 1px rgba(var(--gold-rgb),.25); }
.card-link:hover h3, .finish-tile:hover span { color: var(--gold-text); }
.card-link .dots span, .swatch .chip { border-color: rgba(var(--ink-rgb),.35); }
.swatch .chip { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px transparent; }
.swatch input:checked + label .chip { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }
.swatch label { color: var(--muted); }
.swatch input:checked + label { color: var(--ink); }
.finishes legend output { color: var(--gold-text); }

/* product page */
.gallery .thumbs button { border-color: rgba(var(--gold-rgb),.25); background: #f3f3f3; }
.gallery .thumbs button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.buybox { border-top-color: var(--line); }
.quick li::before { border-color: var(--gold); }
.specs, .specs div { border-color: var(--line); }
.specs dt { color: var(--gold-text); }
.crumbs, .crumbs a { color: var(--muted); }

/* account + misc */
.tabs { border-color: var(--gold); }
.tabs button { color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--gold); color: var(--on-gold); }
.linkish { color: var(--ink); }
.orders li, .panel-block { border-color: var(--line); }

/* footer */
.site-footer { background: var(--lattice), var(--deep); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer a, .site-footer a.wordmark { color: var(--ink); }
.site-footer a:hover { color: var(--gold-text); }

/* ---------- Q&A ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.section .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 860px) { .faq-wrap, .section .faq-wrap { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: 6.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 0; font: 600 1.02rem/1.35 var(--caps); letter-spacing: .03em; color: var(--strong); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); margin-right: 4px; transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(-135deg); }
.qa summary:hover { color: var(--gold-text); }
.qa-a { padding: 0 2rem 1.25rem 0; color: var(--muted); }
.qa-a p { margin: 0; }
.qa-a a { color: var(--ink); }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; }
.admin-table th, .admin-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.admin-table th { font: 700 .72rem var(--caps); letter-spacing: .12em; color: var(--gold-text); }

/* ---------- cart + checkout ---------- */
.cart-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; margin-left: .35rem; padding: 0 .3rem; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: 700 .72rem/1 var(--text); letter-spacing: 0; }
.site-nav a.header-cta:hover .cart-count { background: var(--deep); color: var(--gold-text); }
.add-to-cart label { display: block; font: 700 .74rem var(--caps); letter-spacing: .12em; margin-bottom: .4rem; }
.qty-row { display: grid; grid-template-columns: 5.5rem 1fr; gap: .6rem; max-width: 26rem; }
.qty-row input { text-align: center; }
.cart-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .cart-wrap { grid-template-columns: 1fr; } }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto auto; grid-template-rows: auto auto; gap: .3rem 1.25rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { grid-row: span 2; background: #f3f3f3; box-shadow: 0 0 0 1px rgba(var(--gold-rgb),.25); }
.cart-item .cart-name { font: 600 1rem var(--caps); letter-spacing: .03em; color: var(--strong); text-decoration: none; }
.cart-item .cart-name:hover { color: var(--gold-text); }
.cart-item .muted { margin: .1rem 0 0; font-size: 1rem; }
.cart-item .cart-line { margin: 0; font: 600 1.05rem var(--caps); color: var(--strong); text-align: right; }
.cart-item .linkish { grid-column: 4; justify-self: end; font-size: .95rem; }
.qty-step { display: inline-flex; align-items: center; border: 1px solid rgba(var(--gold-rgb),.4); }
.qty-step button { width: 2.2rem; height: 2.2rem; background: none; border: 0; color: var(--ink); font: 600 1.1rem var(--text); cursor: pointer; }
.qty-step button:hover { color: var(--gold-text); }
.qty-step span { min-width: 1.8rem; text-align: center; }
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item img { width: 90px; height: auto; }
  .cart-item .qty-step, .cart-item .cart-line, .cart-item .linkish { grid-column: 2; justify-self: start; text-align: left; }
}
.cart-summary { border: 1px solid var(--line); padding: 1.5rem; background: var(--card); position: sticky; top: 6.5rem; }
.totals { margin: 1rem 0; }
.totals div { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.totals dt, .totals dd { margin: 0; }
.totals .grand dt, .totals .grand dd { font: 700 1.1rem var(--caps); color: var(--strong); }
.admin-orders li { border-top: 1px solid var(--line); padding: 1rem 0; }
.admin-orders select { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.4); padding: .35rem .5rem; font: 500 1rem var(--text); }

/* ---------- coming-soon gate ---------- */
body.gated { visibility: hidden; }
html.ok body.gated { visibility: visible; }
.preview-bar { background: var(--gold); color: var(--on-gold); text-align: center; font: 600 .95rem var(--text); padding: .45rem 1rem; }
.preview-bar .linkish { color: var(--on-gold); font-size: .95rem; margin-left: .5rem; }
.site-header .tag { align-self: center; }
.tease-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .tease-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tease-tile { margin: 0; }
.tease-tile img { background: #f3f3f3; box-shadow: 0 0 0 1px rgba(var(--gold-rgb),.25); }
.tease-tile figcaption { text-align: center; font: 700 .74rem var(--caps); letter-spacing: .16em; padding-top: .75rem; color: var(--ink); }
#notify-hero { margin-top: .5rem; }

/* =====================================================================
   Performance: cheaper backgrounds (no fixed attachment, no live SVG filter, no blur)
   ===================================================================== */
:root { --grain: url("/assets/img/grain.png?v=12cfac0b"); }
body { background-attachment: scroll; }
.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--header-bg); transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(42,42,42,.45); }


/* =====================================================================
   Animations (transform + opacity only, so they stay smooth)
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* hero entrance */
.hero .wrap > div:first-child > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > div:first-child > *:nth-child(2) { animation-delay: .08s; }
.hero .wrap > div:first-child > *:nth-child(3) { animation-delay: .16s; }
.hero .wrap > div:first-child > *:nth-child(4) { animation-delay: .24s; }
.hero .wrap > div:first-child > *:nth-child(5) { animation-delay: .32s; }
.hero .photo { animation: settle 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
.band h1, .band p.sub { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.band p.sub { animation-delay: .1s; }

/* scroll reveal (JS adds .reveal to below-the-fold items, then .in when they scroll into view) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.flourish.reveal { transform: none; }
.flourish.reveal::before, .flourish.reveal::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1) .15s; }
.flourish.reveal::before { transform-origin: right; }
.flourish.reveal::after { transform-origin: left; }
.flourish.reveal.in::before, .flourish.reveal.in::after { transform: scaleX(1); }

/* hover life */
.btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(var(--gold-rgb),.7); }
.btn:active { transform: translateY(0); }
.card-link .card-img { display: block; overflow: hidden; }
.card-link .card-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
.card-link:hover .card-img img { transform: scale(1.04); opacity: 1; }
.card-link h3 { transition: color .2s ease; }
.tease-tile, .finish-tile { overflow: hidden; }
.tease-tile img, .finish-tile img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tease-tile:hover img, .finish-tile:hover img { transform: scale(1.04); }
.photo img { transition: opacity .35s ease; }
.photo img.swap { opacity: 0; }
.swatch .chip { transition: box-shadow .2s ease, transform .2s ease; }
.swatch label:hover .chip { transform: scale(1.08); }
.site-nav a { transition: color .2s ease, border-color .2s ease; }
.qa summary::after { transition: transform .25s ease; }
.qa[open] .qa-a { animation: drop .3s ease both; }
.cart-count { transition: transform .25s ease; }
.cart-count.bump { animation: settle .4s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 560px) { .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; } .lineup .card-link .sub { font-size: .98rem; } }

/* ---------- arch frames (rounded tops, like an old castle window) ---------- */
.arch { border-radius: 50% 50% 0 0 / 28% 28% 0 0; overflow: hidden; }
.photo.arch { padding: 0; outline: 1px solid rgba(var(--gold-rgb),.55); outline-offset: 8px; }
.photo.arch::after { content: none; }
.photo.arch img { width: 100%; display: block; }
.arch-tall { border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
.arch-tall figcaption { background: #f3f3f3; }
.arch-tile { display: block; border-radius: 50% 50% 0 0 / 34% 34% 0 0; box-shadow: 0 0 0 1px rgba(var(--gold-rgb),.35); }
.arch-tile img { box-shadow: none !important; }

/* ---------- order manager (/admin/) ---------- */
.btn-sm { padding: .6rem .9rem; font-size: .66rem; }
.dash-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.25rem 0 1rem; }
.dash-tab { background: transparent; border: 1px solid rgba(var(--gold-rgb),.3); color: var(--muted); padding: .55rem .85rem; font: 700 .68rem var(--caps); letter-spacing: .1em; cursor: pointer; transition: all .2s ease; }
.dash-tab:hover { border-color: var(--gold); color: var(--ink); }
.dash-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.dash-tab .count { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; border-radius: 999px; background: rgba(var(--ink-rgb),.12); font: 700 .7rem var(--text); letter-spacing: 0; padding: 0 .3rem; }
.dash-tab[aria-selected="true"] .count { background: rgba(var(--ink-rgb),.15); }
.dash-tools { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-bottom: 1.25rem; }
.dash-tools input, .dash-tools select, .oc-actions select, .oc-track input { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .65rem .8rem; font: 400 1.02rem var(--text); }
.order-list { display: grid; gap: 1rem; }
.order-card { border: 1px solid rgba(var(--gold-rgb),.25); background: var(--card); padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold); }
.order-card.status-in_production { border-left-color: var(--st-blue); }
.order-card.status-shipped { border-left-color: var(--st-green); }
.order-card.status-delivered { border-left-color: var(--st-done); opacity: .85; }
.order-card.status-refunded, .order-card.status-canceled { border-left-color: var(--st-red); opacity: .7; }
.oc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.oc-no { font: 700 1.05rem var(--caps); letter-spacing: .06em; color: var(--strong); margin-right: .8rem; }
.oc-date { color: var(--muted); font-size: 1rem; }
.oc-right { display: flex; align-items: center; gap: .9rem; }
.oc-total { font: 700 1.1rem var(--caps); color: var(--strong); }
.badge { font: 700 .62rem var(--caps); letter-spacing: .12em; padding: .35rem .55rem; border: 1px solid currentColor; }
.badge-paid { color: var(--gold-text); }
.badge-in_production { color: var(--st-blue); }
.badge-shipped { color: var(--st-green); }
.badge-delivered { color: var(--st-done); }
.badge-refunded, .badge-canceled { color: var(--st-red); }
.oc-body { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; padding: .9rem 0; }
@media (max-width: 760px) { .oc-body { grid-template-columns: 1fr; } }
.oc-body h4 { font: 700 .66rem var(--caps); letter-spacing: .14em; color: var(--gold-text); margin: 0 0 .4rem; }
.oc-items { list-style: none; margin: 0; padding: 0; }
.oc-items li { padding: .15rem 0; }
.oc-qty { font-weight: 600; color: var(--strong); }
.finish-tag { font: 700 .58rem var(--caps); letter-spacing: .1em; padding: .2rem .45rem; margin-left: .2rem; border-radius: 2px; vertical-align: middle; }
.finish-marble { background: #ebebeb; color: #2a2a2a; }
.finish-black, .finish-matte-black { background: #0a0a0a; color: #e8e8e8; border: 1px solid #444444; }
.finish-white { background: #ffffff; color: #2a2a2a; }
.finish-brown { background: #585858; color: var(--strong); }
.oc-addr { margin: 0 0 .3rem; line-height: 1.45; }
.oc-track { padding: .8rem 0; border-top: 1px solid var(--line); }
.oc-track label { display: block; font: 700 .66rem var(--caps); letter-spacing: .14em; color: var(--gold-text); margin-bottom: .4rem; }
.oc-track-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.oc-track-row input { flex: 1 1 16rem; }
.oc-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; padding-top: .8rem; border-top: 1px solid var(--line); }
.oc-actions select { width: auto; font-size: .98rem; padding: .5rem .6rem; }
.oc-tip { color: var(--st-green); font-style: italic; }
.acc-plain summary { cursor: pointer; font: 700 1.1rem var(--caps); color: var(--strong); padding: .5rem 0; }
.msg-list .msg-item { display: block; border-top: 1px solid var(--line); padding: 1rem 0; }
.msg-top { display: flex; justify-content: space-between; gap: 1rem; }
.msg-body { white-space: pre-wrap; margin: .5rem 0 .75rem; color: var(--ink); }
.msg-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ---------- packing slip ---------- */
.slip-actions { display: flex; gap: .6rem; margin-bottom: 1.5rem; }
.slip { background: #ffffff; color: #1d1d1d; padding: 2.5rem; max-width: 46rem; font-family: var(--text); }
.slip h3 { color: #1d1d1d; font: 700 .72rem var(--caps); letter-spacing: .14em; margin-bottom: .4rem; }
.slip-head { display: flex; justify-content: space-between; border-bottom: 2px solid #a7a7a7; padding-bottom: 1rem; margin-bottom: 1.5rem; }
.slip-brand { font: 700 1.75rem/1 var(--caps); letter-spacing: .14em; transform: translateY(.048em); display: inline-block; }
.slip-head p { margin: 0; color: #555555; }
.slip-meta { text-align: right; }
.slip-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.slip-cols p { color: #1d1d1d; }
.slip-table { width: 100%; border-collapse: collapse; }
.slip-table th, .slip-table td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid #dddddd; color: #1d1d1d; }
.slip-table th { font: 700 .66rem var(--caps); letter-spacing: .12em; }
.slip-thanks { margin-top: 2rem; font-style: italic; color: #444444; }
@media print {
  .site-header, .site-footer, .preview-bar, .no-print, .skip { display: none !important; }
  body, html { background: #ffffff !important; }
  body.gated { visibility: visible !important; }
  .page-body { padding: 0 !important; }
  .slip { padding: 0; max-width: none; }
}
.dash-stats .price { font-size: 2rem; color: var(--strong); margin-top: .2rem; }

/* ---------- dashboard v2: sections ---------- */
.dash-nav { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid rgba(var(--gold-rgb),.3); margin: 2rem 0 1.5rem; }
.dash-nav button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .9rem 1.1rem; font: 700 .76rem var(--caps); letter-spacing: .12em; color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.dash-nav button:hover { color: var(--ink); }
.dash-nav button[aria-selected="true"] { color: var(--strong); border-bottom-color: var(--gold); }
.dash-nav .count { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; margin-left: .3rem; border-radius: 999px; background: rgba(var(--gold-rgb),.18); color: var(--gold-text); font: 700 .7rem var(--text); padding: 0 .3rem; }
.dash-panel h2 { font-size: 1.6rem; }
.dash-head { margin-top: 0; }

/* compact order rows */
.order-row { border: 1px solid rgba(var(--gold-rgb),.22); border-left: 3px solid var(--gold); background: var(--card); transition: background-color .2s ease; }
.order-row:hover { background: var(--card-hi); }
.order-row.status-in_production { border-left-color: var(--st-blue); }
.order-row.status-shipped { border-left-color: var(--st-green); }
.order-row.status-delivered { border-left-color: var(--st-done); }
.order-row.status-refunded, .order-row.status-canceled { border-left-color: var(--st-red); opacity: .75; }
.or-line { display: grid; grid-template-columns: 9.5rem 9rem 1fr 5rem auto; gap: 1rem; align-items: center; padding: .85rem 1rem; cursor: pointer; }
.or-id { display: grid; }
.or-id .oc-no { margin: 0; font-size: .95rem; }
.or-id .oc-date { font-size: .9rem; }
.or-cust { font-weight: 600; color: var(--strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.or-items { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: 1rem; }
.or-chip { white-space: nowrap; }
.or-total { font: 700 1rem var(--caps); color: var(--strong); text-align: right; }
.or-act { display: flex; align-items: center; gap: .6rem; justify-content: flex-end; }
.or-toggle { width: 2rem; height: 2rem; background: none; border: 1px solid rgba(var(--gold-rgb),.3); cursor: pointer; position: relative; }
.or-toggle::after { content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); transition: transform .2s ease; }
.order-row.open .or-toggle::after { transform: translate(-50%, -20%) rotate(-135deg); }
.or-details { display: grid; grid-template-columns: 1fr 1.2fr 1.6fr; gap: 1.5rem; padding: 1rem 1rem 1.2rem; border-top: 1px solid var(--line); animation: drop .25s ease both; }
.or-details h4 { font: 700 .66rem var(--caps); letter-spacing: .14em; color: var(--gold-text); margin: 0 0 .4rem; }
.or-details h4.mt { margin-top: 1rem; }
.or-tools { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding-top: .8rem; border-top: 1px solid var(--line); }
.or-tools select, .oc-track-row input { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .5rem .6rem; font: 400 1rem var(--text); }
.email-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.email-btns .disabled { opacity: .4; pointer-events: none; }
.small { font-size: .95rem; margin-top: .5rem; }
@media (max-width: 900px) {
  .or-line { grid-template-columns: 1fr auto; }
  .or-cust, .or-items { grid-column: 1 / -1; }
  .or-total { text-align: left; }
  .or-details { grid-template-columns: 1fr; }
}

/* inventory */
.inv-wrap { overflow-x: auto; margin-top: 1rem; }
.inv-table { width: 100%; border-collapse: collapse; min-width: 44rem; }
.inv-table th, .inv-table td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); text-align: center; }
.inv-table th:first-child, .inv-table td:first-child { text-align: left; }
.inv-name { font: 600 .95rem var(--caps); letter-spacing: .03em; color: var(--strong); }
.inv-cell { display: inline-flex; align-items: center; border: 1px solid rgba(var(--gold-rgb),.3); }
.inv-btn { width: 2rem; height: 2.2rem; background: none; border: 0; color: var(--ink); font: 600 1.1rem var(--text); cursor: pointer; }
.inv-btn:hover { color: var(--gold-text); background: rgba(var(--gold-rgb),.08); }
.inv-num { width: 3.4rem; height: 2.2rem; text-align: center; background: var(--well); color: var(--strong); border: 0; border-left: 1px solid rgba(var(--gold-rgb),.2); border-right: 1px solid rgba(var(--gold-rgb),.2); font: 700 1.05rem var(--text); -moz-appearance: textfield; }
.inv-num::-webkit-outer-spin-button, .inv-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inv-num.lvl-out { color: var(--err); background: rgba(var(--err-rgb),.12); }
.inv-num.lvl-low { color: var(--gold-text); }
.inv-total { font: 700 1.05rem var(--caps); color: var(--gold-text); }

/* support */
.msg-item.done { opacity: .6; }
.order-ref { margin-left: .6rem; font: 700 .62rem var(--caps); letter-spacing: .1em; padding: .25rem .5rem; border: 1px solid var(--gold); color: var(--gold-text); }
.topic-pick { border: 0; padding: 0; }
.topic-pick legend { font: 700 .74rem var(--caps); letter-spacing: .12em; margin-bottom: .5rem; padding: 0; color: var(--ink); }
.topic-opt { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; }
.topic-opt input { accent-color: #a7a7a7; width: 1.1rem; height: 1.1rem; }

/* nicer packing slip */
.slip { border: 1px solid #dcdcdc; box-shadow: 0 20px 40px -30px rgba(0,0,0,.6); position: relative; }
.slip-logo { display: flex; align-items: flex-start; gap: .23rem; }
.slip-logo .slip-brand { line-height: 2.4rem; transform: translateY(.048em); }
.slip-logo p { margin-top: -.15rem; }
.slip-logo .mark { width: 2.4rem; height: 2.4rem; }
.slip-label { font: 700 .66rem var(--caps) !important; letter-spacing: .2em; color: #7e7e7e !important; }
.slip-table .ck { width: 4.5rem; font-size: 1.2rem; color: #7e7e7e; }
.slip-tips { margin-top: 1.75rem; padding: 1rem 1.2rem; background: #f3f3f3; border-left: 3px solid #a7a7a7; }
.slip-tips p { margin: 0; color: #333333; }
.slip-sign { display: inline-block; margin-top: .4rem; font-style: normal; font-weight: 600; }
.slip-diamond { width: 10px; height: 10px; margin: 1.5rem auto 0; transform: rotate(45deg); border: 1px solid #a7a7a7; box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px rgba(var(--gold-rgb),.5); }
@media print { .slip { border: 0; box-shadow: none; } .slip-tips { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* =====================================================================
   Slot labels (3-Box, 2-Box, 1-Box Add-On)
   ===================================================================== */
.labels { border: 0; padding: 0; margin: 0 0 1.6rem; }
.labels legend { font: 700 .74rem var(--caps); letter-spacing: .12em; margin-bottom: .35rem; padding: 0; color: var(--ink); }
.labels legend output { font: italic 400 1.1rem var(--text); letter-spacing: 0; color: var(--gold-text); margin-left: .35rem; }
.labels .hint { font-size: 1.02rem; font-style: italic; color: var(--muted); margin: 0 0 .9rem; max-width: 30rem; }
.label-preview { display: grid; max-width: 26rem; margin: 0 0 1rem; background: var(--well); border: 1px solid rgba(var(--gold-rgb),.35); border-top: 2px solid var(--gold); }
.label-preview-3 { grid-template-columns: repeat(3, 1fr); }
.label-preview-2 { grid-template-columns: repeat(2, 1fr); }
.label-preview-1 { grid-template-columns: 1fr; max-width: 9rem; }
.label-preview span { display: grid; place-items: center; min-height: 3.1rem; padding: .4rem .3rem; font: 600 .8rem var(--caps); letter-spacing: .1em; color: var(--strong); text-align: center; overflow-wrap: anywhere; }
.label-preview span + span { border-left: 1px solid rgba(var(--gold-rgb),.22); }
.label-preview span:empty::before { content: ""; width: .45rem; height: .45rem; background: rgba(var(--gold-rgb),.35); transform: rotate(45deg); }
.add-to-cart .label-slot { display: grid; grid-template-columns: 7.2rem 1fr; align-items: center; gap: .45rem .7rem; max-width: 26rem; margin-bottom: .55rem; }
.add-to-cart .label-slot label { margin: 0; font-size: .7rem; color: var(--muted); }
.label-slot input { grid-column: 2; padding: .65rem .85rem; }
.label-slot select { width: 100%; appearance: none; -webkit-appearance: none; border-radius: 0; background: var(--well) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A467' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .9rem center; color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .65rem 2.4rem .65rem .85rem; font: 400 1.08rem var(--text); cursor: pointer; }
.label-slot select:focus-visible, .label-slot input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.label-error { color: var(--err); font-style: italic; margin: .4rem 0 0; }
.label-slot input[aria-invalid="true"] { border-color: var(--err); }
.cart-labels { font-size: 1rem; color: var(--muted); margin: .1rem 0 0; }
.cart-labels strong { font: 600 .7rem var(--caps); letter-spacing: .1em; color: var(--ink); margin-right: .3rem; }
.or-labels { display: block; font-style: italic; color: var(--gold-text); font-size: .95rem; }
@media (max-width: 480px) {
  .add-to-cart .label-slot { grid-template-columns: 1fr; }
  .label-slot input { grid-column: 1; }
}
.or-chip.has-labels { white-space: normal; }
.qty-row input[type="number"] { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); border-radius: 0; font: 500 1.1rem var(--text); }

/* Dashboard: engraved print files */
.or-print { grid-column: 1 / -1; padding-top: .8rem; border-top: 1px solid var(--line); }
.pf-row { display: grid; gap: .5rem; padding: .6rem 0; }
.pf-row + .pf-row { border-top: 1px dashed rgba(var(--gold-rgb),.22); }
.pf-what { margin: 0; }
.pf-row > .btn { justify-self: start; }
.pf-preview { max-width: 34rem; border: 1px solid rgba(var(--gold-rgb),.35); border-top: 2px solid var(--gold); background: var(--well); padding: .5rem; }
.pf-preview svg { display: block; width: 100%; height: auto; }
.pf-preview .lip { fill: var(--ink); }
.pf-preview .txt { fill: #222222; }
.pf-preview .div { stroke: var(--muted); stroke-width: .3; stroke-dasharray: 1 1; }
.pf-links { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .6rem; }
.pf-msg { margin: 0; }

/* Mix and match gallery + shop set photo */
.mix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.mix-grid figure { margin: 0; }
.mix-grid .mix-wide { grid-column: 1 / -1; }
.shop-set { margin: 0 0 2.5rem; }
@media (max-width: 860px) { .mix-grid { grid-template-columns: 1fr; } }
.eng-form { max-width: 36rem; margin-top: 1.25rem; }
.eng-form select { width: 100%; background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .65rem .8rem; font: 400 1.05rem var(--text); }
.eng-labels { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0 .8rem; }
#eng-out { margin-top: 1rem; }

/* =====================================================================
   Dashboard layout v2: sidebar + workspace
   ===================================================================== */
.dash { padding: 2rem 0 4.5rem; }
.dash-wrap { max-width: 84rem; margin: 0 auto; padding: 0 var(--gutter); }
.dash-grid:not([hidden]) { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 2.25rem; align-items: start; }
.dash-side { position: sticky; top: 6.5rem; border: 1px solid var(--line); background: var(--card); padding: 1.1rem .5rem 1rem; }
.dash-title { font: 700 1.05rem var(--caps); letter-spacing: .06em; color: var(--strong); margin: 0 .75rem .6rem; }
.dash-nav { display: flex; flex-direction: column; gap: .1rem; border: 0; margin: 0; }
.dash-group { font: 700 .62rem var(--caps); letter-spacing: .16em; color: var(--gold-text); opacity: .8; margin: 1rem .75rem .35rem; }
.dash-group:first-child { margin-top: .2rem; }
.dash-nav button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: .6rem .75rem; margin: 0; border: 0; border-left: 2px solid transparent; font: 700 .74rem var(--caps); letter-spacing: .1em; color: var(--muted); background: none; }
.dash-nav button:hover { color: var(--ink); background: rgba(var(--gold-rgb),.05); }
.dash-nav button[aria-selected="true"] { color: var(--strong); background: rgba(var(--gold-rgb),.1); border-left-color: var(--gold); border-bottom: 0; }
.dash-nav .count { margin-left: .5rem; }
.dash-main { min-width: 0; }
.dash-main .dash-head { margin: 0 0 .25rem; }
.dash-main .dash-panel h2 { font-size: 1.55rem; margin: 0; }
.dash-main .dash-panel > .muted { margin: .25rem 0 1rem; max-width: 46rem; }
.dash-main .dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0 1.1rem; padding: 0; }
.dash-main .dash-stats div { border: 1px solid var(--line); background: var(--card); padding: .7rem .9rem; border-left: 2px solid var(--gold); }
.dash-main .dash-stats span { display: block; font: 700 .62rem var(--caps); letter-spacing: .14em; color: var(--muted); }
.dash-main .dash-stats strong { display: block; font: 500 1.55rem/1.2 var(--text); color: var(--strong); margin-top: .15rem; }
.dash-main .dash-tabs { margin: 0 0 .75rem; }
.dash-main .dash-tools { margin-bottom: 1rem; }
/* expanded order: print files first, then three tidy columns */
.dash-main .or-details { grid-template-columns: 1fr 1fr 1.35fr; gap: 1.25rem 1.75rem; }
.dash-main .or-print { order: -1; grid-column: 1 / -1; border: 1px solid rgba(var(--gold-rgb),.35); border-left: 3px solid var(--gold); background: rgba(var(--gold-rgb),.06); padding: .8rem 1rem; }
.dash-main .or-tools { order: 9; }
.dash-main .eng-form { max-width: 40rem; border: 1px solid var(--line); background: var(--card); padding: 1.1rem 1.2rem; margin-top: .5rem; }
.dash-main .eng-labels select { width: 100%; background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .65rem .8rem; font: 400 1.05rem var(--text); }
@media (max-width: 900px) {
  .dash-grid:not([hidden]) { grid-template-columns: 1fr; gap: 1.25rem; }
  .dash-side { position: static; padding: .5rem; }
  .dash-title, .dash-group { display: none; }
  .dash-nav { flex-direction: row; overflow-x: auto; }
  .dash-nav button { width: auto; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .dash-nav button[aria-selected="true"] { border-bottom: 2px solid var(--gold); }
  .dash-main .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-main .or-details { grid-template-columns: 1fr; }
}

/* Dashboard: Lookup */
.lookup-bar { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin: .5rem 0 .75rem; max-width: 46rem; }
.lookup-bar input { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.45); padding: .8rem 1rem; font: 400 1.15rem var(--text); }
.lookup-bar input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lk-card { border: 1px solid var(--line); border-top: 2px solid var(--gold); background: var(--card); padding: 1.1rem 1.2rem 1.2rem; margin: 0 0 1.25rem; }
.lk-card.guest { border-top-color: var(--muted); }
.lk-card.is-off { border-top-color: var(--st-red); }
.lk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.lk-head h3 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.lk-head .muted { margin: .15rem 0 0; }
.lk-id { font: 700 .72rem var(--caps); letter-spacing: .1em; color: var(--gold-text); border: 1px solid rgba(var(--gold-rgb),.5); padding: .15rem .45rem; }
.lk-badge { font: 700 .66rem var(--caps); letter-spacing: .12em; padding: .3rem .6rem; border: 1px solid; white-space: nowrap; }
.lk-badge.on { color: var(--ok); border-color: rgba(var(--ok-rgb),.45); }
.lk-badge.off { color: var(--err); border-color: rgba(var(--err-rgb),.5); }
.lk-badge.guest { color: var(--muted); border-color: rgba(162,162,162,.45); }
.lk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .5rem 1rem; margin: 1rem 0; }
.lk-facts dt { font: 700 .6rem var(--caps); letter-spacing: .14em; color: var(--muted); }
.lk-facts dd { margin: .1rem 0 0; color: var(--strong); }
.lk-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.lk-actions .danger { color: var(--err); border-color: rgba(var(--err-rgb),.5); }
.lk-msg { margin: .5rem 0 0; min-height: 1.2em; }
.lk-msgs { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.lk-msgs p { margin: .3rem 0; }
.lk-orders { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.lk-orders h4, .lk-msgs h4 { font: 700 .66rem var(--caps); letter-spacing: .14em; color: var(--gold-text); margin: 0 0 .6rem; }
.lk-orders .order-row { margin-bottom: .6rem; }
.cust-id strong, .order-no-line strong { color: var(--gold-text); letter-spacing: .04em; }

/* Product page: about + specs + features + good to know */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.pd-about .lead { margin-top: 1.25rem; }
.pd-about p { max-width: 38rem; }
.pd-specs { border: 1px solid var(--line); background: var(--card-soft); padding: 1.25rem 1.4rem; }
.pd-specs h3 { margin: 0 0 .5rem; }
.pd-specs .specs { margin: 0; }
.pd-features { margin-top: 2.5rem; padding-top: 0; }
.pd-know { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.75rem; }
.pd-know h3 { margin: 0 0 .35rem; }
.pd-know p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .pd-grid, .pd-know { grid-template-columns: 1fr; gap: 1.75rem; } }
.pd-about .pd-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin-top: 2rem; }
@media (max-width: 560px) { .pd-about .pd-features { grid-template-columns: 1fr; } }

/* Sold out (public) */
.swatch label.sold-out { opacity: .55; }
.swatch label.sold-out::after { content: "Sold out"; font: 700 .58rem var(--caps); letter-spacing: .12em; color: var(--err); }
.soldout-note { color: var(--err); font-style: italic; margin: .6rem 0 0; }
[data-add-btn]:disabled { opacity: .55; cursor: not-allowed; }
.soldout-tag { display: inline-block; margin-top: .5rem; font: 700 .64rem var(--caps); letter-spacing: .14em; color: var(--err); border: 1px solid rgba(var(--err-rgb),.5); padding: .2rem .5rem; }
.cart-soldout { color: var(--err); font-style: italic; margin: .2rem 0 0; font-size: 1rem; }
.cart-item.is-sold-out img { opacity: .5; }
#checkout-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Dashboard: Stock */
.stock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stock-box { border: 1px solid var(--line); background: var(--card); padding: 1rem 1.15rem; margin-bottom: 1rem; }
.stock-box h3 { margin: 0 0 .2rem; display: flex; align-items: center; gap: .5rem; }
.stock-box .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: rgba(var(--gold-rgb),.18); color: var(--gold-text); font: 700 .72rem var(--text); padding: 0 .35rem; }
.stock-list { display: grid; gap: .1rem; margin-top: .6rem; }
.stock-row { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; padding: .45rem 0; border-top: 1px solid rgba(var(--gold-rgb),.12); }
.stock-row:first-child { border-top: 0; }
.stock-name { color: var(--strong); }
.stock-state { font: 700 .62rem var(--caps); letter-spacing: .12em; padding: .2rem .5rem; border: 1px solid; }
.stock-state.in { color: var(--ok); border-color: rgba(var(--ok-rgb),.4); }
.stock-state.out { color: var(--err); border-color: rgba(var(--err-rgb),.5); }
.stock-row.is-out .stock-name { color: var(--err); }
.stock-one { display: grid; grid-template-columns: 1fr 10rem auto; gap: .6rem; margin-top: .6rem; }
.stock-one select, .stock-box input[type="text"] { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .6rem .75rem; font: 400 1.02rem var(--text); }
#stock-combos { margin-top: .5rem; }
#stock-msg { margin: .75rem 0 0; min-height: 1.2em; color: var(--ink); }
.delay-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .7rem 0; border-top: 1px solid rgba(var(--gold-rgb),.12); }
.delay-row p { margin: 0 0 .15rem; }
.delay-acts { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.delay-ok { color: var(--ok); }
.delay-warn { color: var(--err); }
.delay-badge { display: inline-block; margin-top: .3rem; font: 700 .58rem var(--caps); letter-spacing: .12em; color: var(--err); border: 1px solid rgba(var(--err-rgb),.5); padding: .12rem .4rem; }
#nav-delayed { background: rgba(var(--err-rgb),.18); color: var(--err); }
@media (max-width: 760px) { .stock-grid { grid-template-columns: 1fr; } .stock-one { grid-template-columns: 1fr; } .delay-row { grid-template-columns: 1fr; } .delay-acts { justify-content: flex-start; } }

/* Top menu account link */
.site-nav .acct-nav { display: inline-flex; align-items: center; gap: .45rem; }
.site-nav .acct-nav::before { content: ""; width: .5rem; height: .5rem; transform: rotate(45deg); border: 1px solid currentColor; opacity: .7; }
.site-nav .acct-nav.is-in::before { background: var(--gold); border-color: var(--gold); opacity: 1; }

/* Account page */
.acct-wrap { max-width: 60rem; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.acct-head h2 { margin: 0; }
.acct-head .muted { margin: .3rem 0 0; }
.acct-head strong { color: var(--gold-text); letter-spacing: .04em; }
.acct-head-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1.75rem 0 2.25rem; }
.acct-stats div { border: 1px solid var(--line); border-left: 2px solid var(--gold); background: var(--card); padding: .8rem 1rem; }
.acct-stats span { display: block; font: 700 .62rem var(--caps); letter-spacing: .14em; color: var(--muted); }
.acct-stats strong { display: block; font: 500 1.5rem/1.25 var(--text); color: var(--strong); margin-top: .15rem; }
.acct-section { margin-bottom: 2.25rem; }
.acct-section h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.acct-orders { display: grid; gap: 1rem; }
.acct-order { border: 1px solid var(--line); background: var(--card); padding: 1.1rem 1.25rem; }
.acct-order.status-refunded, .acct-order.status-canceled { opacity: .75; }
.ao-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.ao-head h3 { margin: 0; font-size: 1.15rem; }
.ao-head .muted { margin: .15rem 0 0; }
.ao-right { display: flex; align-items: center; gap: .9rem; }
.ao-right strong { font: 500 1.2rem var(--text); color: var(--strong); }
.ao-status { font: 700 .62rem var(--caps); letter-spacing: .12em; color: var(--gold-text); border: 1px solid rgba(var(--gold-rgb),.55); padding: .25rem .55rem; white-space: nowrap; }
.status-delivered .ao-status { color: var(--ok); border-color: rgba(var(--ok-rgb),.45); }
.status-refunded .ao-status, .status-canceled .ao-status { color: var(--muted); border-color: rgba(162,162,162,.45); }
.ao-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; padding: 0; margin: 1rem 0 .25rem; }
.ao-steps li { font: 700 .6rem var(--caps); letter-spacing: .12em; color: var(--muted); padding-top: .55rem; border-top: 3px solid rgba(var(--gold-rgb),.18); }
.ao-steps li.done { color: var(--ink); border-top-color: rgba(var(--gold-rgb),.6); }
.ao-steps li.now { color: var(--gold-text); border-top-color: var(--gold); }
.ao-delay { margin: .75rem 0 0; padding: .6rem .8rem; border-left: 3px solid var(--err); background: rgba(var(--err-rgb),.07); color: var(--err); font-size: 1rem; }
.ao-items { list-style: none; padding: 0; margin: .9rem 0 0; border-top: 1px solid var(--line); }
.ao-items li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(var(--gold-rgb),.12); }
.ao-items li .muted { grid-column: 1; font-size: .95rem; }
.ao-items .ao-price { grid-column: 2; grid-row: 1; color: var(--strong); }
.ao-foot { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: .9rem; }
.ao-foot .linkish { margin-left: auto; }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.acct-card { border: 1px solid var(--line); background: var(--card); padding: 1.1rem 1.25rem; }
.acct-card h3 { margin: 0 0 .8rem; }
@media (max-width: 760px) {
  .acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acct-grid { grid-template-columns: 1fr; }
  .ao-head { flex-direction: column; }
  .ao-foot .linkish { margin-left: 0; }
}

/* Coupons: cart */
.coupon-form { margin: 1rem 0 1.1rem; }
.coupon-form label, .dash-main .coupon-new label { display: block; font: 700 .66rem var(--caps); letter-spacing: .12em; color: var(--muted); margin-bottom: .35rem; }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.coupon-row input, .pct-row input, .coupon-new input { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .6rem .75rem; font: 400 1.02rem var(--text); width: 100%; box-sizing: border-box; }
.coupon-row input { text-transform: uppercase; letter-spacing: .04em; }
.coupon-msg { margin: .4rem 0 0; font-size: .98rem; color: var(--muted); min-height: 1.2em; }
.coupon-msg.err, .muted.err { color: var(--err); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.1rem; padding: .6rem .8rem; border: 1px dashed rgba(var(--gold-rgb),.55); background: rgba(var(--gold-rgb),.07); }
.coupon-applied strong { color: var(--gold-text); letter-spacing: .04em; }
#cart-discount-row dd, #cart-discount-row dt { color: var(--ok); }
/* Coupons: dashboard */
.cn-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1fr; gap: 0 1rem; margin-top: .8rem; }
.pct-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem; }
.pct-row span { color: var(--gold-text); font: 600 1.1rem var(--text); }
.coupon-table { width: 100%; border-collapse: collapse; }
.coupon-table th { text-align: left; font: 700 .62rem var(--caps); letter-spacing: .12em; color: var(--muted); padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.coupon-table td { padding: .65rem .6rem; border-bottom: 1px solid rgba(var(--gold-rgb),.12); vertical-align: middle; }
.cp-code { display: block; color: var(--gold-text); letter-spacing: .05em; }
.cp-note { display: block; }
.cp-acts { display: flex; gap: .4rem; justify-content: flex-end; flex-wrap: wrap; }
.coupon-badge { display: inline-block; margin-top: .3rem; margin-right: .3rem; font: 700 .58rem var(--caps); letter-spacing: .1em; color: var(--ok); border: 1px solid rgba(var(--ok-rgb),.45); padding: .12rem .4rem; }
@media (max-width: 760px) { .cn-grid { grid-template-columns: 1fr 1fr; } }
.coupon-table td.cp-acts { display: table-cell; text-align: right; white-space: nowrap; }
.coupon-table td.cp-acts .btn { margin-left: .35rem; }

/* Sales: public */
.price s.was, .price .was { color: var(--muted); font-size: .8em; margin-right: .2rem; text-decoration-thickness: 1px; }
.price .now { color: var(--gold-deep); }
.price .price-suffix { font-size: .62em; color: var(--muted); font-style: italic; }
.sale-tag { display: inline-block; align-self: flex-start; margin-bottom: .45rem; font: 700 .62rem var(--caps); letter-spacing: .14em; color: var(--on-gold); background: var(--gold); padding: .25rem .55rem; }
/* Sales: dashboard */
.bulk-sale { display: grid; grid-template-columns: 9rem 11rem auto auto auto; gap: .6rem; align-items: center; margin: .7rem 0 .4rem; }
.bulk-sale input, .price-table input { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.35); padding: .5rem .6rem; font: 400 1rem var(--text); width: 100%; box-sizing: border-box; }
.price-table { width: 100%; border-collapse: collapse; min-width: 58rem; }
.price-table th { text-align: left; font: 700 .62rem var(--caps); letter-spacing: .12em; color: var(--muted); padding: .5rem .5rem; border-bottom: 1px solid var(--line); }
.price-table td { padding: .6rem .5rem; border-bottom: 1px solid rgba(var(--gold-rgb),.12); vertical-align: middle; }
.price-table td.cp-acts { display: table-cell; text-align: right; white-space: nowrap; }
.price-table td.cp-acts .btn { margin-left: .3rem; }
.money-wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem; max-width: 7.5rem; }
.money-wrap span { color: var(--muted); }
.sale-in { display: grid; gap: .35rem; max-width: 8.5rem; }
.pct-row.small span { font-size: .85rem; color: var(--muted); }
.date-in { max-width: 10rem; }
.pay-cell .now { color: var(--gold-deep); }
.sale-pill, .changed-pill { display: inline-block; margin-left: .5rem; font: 700 .56rem var(--caps); letter-spacing: .1em; padding: .12rem .4rem; border: 1px solid; vertical-align: middle; }
.sale-pill { color: var(--gold-deep); border-color: rgba(var(--gold-rgb),.6); }
.changed-pill { color: var(--muted); border-color: rgba(162,162,162,.45); }
@media (max-width: 900px) { .bulk-sale { grid-template-columns: 1fr 1fr; } }
.price-table input.money-in { width: 6rem; min-width: 6rem; }
.price-table input.pct-in { width: 4.2rem; min-width: 4.2rem; }
.price-table input.date-in { width: 10.5rem; min-width: 10.5rem; }
.price-table .money-wrap { max-width: none; display: inline-grid; }
.price-table .sale-in { max-width: none; grid-template-columns: auto auto; align-items: center; gap: .5rem; }
.price-table .pct-row.small { display: inline-grid; grid-template-columns: auto auto; gap: .3rem; }
.price-table td:first-child { min-width: 9rem; }
.price-table { min-width: 0; }
.price-table input.date-in { width: 9.2rem; min-width: 9.2rem; }
.price-table input.money-in { width: 5.4rem; min-width: 5.4rem; }
.price-table td.cp-acts { white-space: normal; width: 8.5rem; }
.price-table td.cp-acts .btn { display: block; width: 100%; margin: 0 0 .35rem; }
.price-table td.cp-acts .btn:last-child { margin-bottom: 0; }

/* /assets/css/layout.css */
/* MPrints layout v2: same palette and type, calmer structure.
   Loaded after site.css. Public pages use the x-* blocks below. */

body.v2 {
  --photo-bg: #ededed;
  --x-gap: clamp(1rem, 2.2vw, 1.75rem);
  --x-section: clamp(3.5rem, 7vw, 6rem);
  background: var(--bg) var(--grain);
}
body.v2::before, body.v2::after { display: none !important; }
body.v2 .flourish { display: none; }

/* ---------- header ---------- */
body.v2 .site-header { background: var(--header-bg); border-bottom: 1px solid var(--rule);  }
body.v2 .site-header .wrap { min-height: 4.25rem; }
body.v2 .site-nav a { font-size: .72rem; letter-spacing: .14em; }
body.v2 .site-nav a[aria-current="page"] { color: var(--gold-text); }
body.v2.v2-home .site-header { position: absolute; left: 0; right: 0; background: linear-gradient(rgba(23,23,23,.7), rgba(23,23,23,0)); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- shared blocks ---------- */
.x-section { padding-top: var(--x-section); }
.x-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.x-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.x-more { font: 600 .74rem var(--caps); letter-spacing: .14em; color: var(--gold-text); text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb),.4); padding-bottom: .15rem; }
.x-more:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.x-photo { margin: 0; background: var(--photo-bg); overflow: hidden; }
.x-photo img { width: 100%; height: 100%; object-fit: cover; }
body.v2 .photo { outline: 0; }

/* ---------- home hero ---------- */
.x-hero { position: relative; min-height: min(88vh, 52rem); display: flex; align-items: flex-end; overflow: hidden; background: #252525; }
.x-hero-media { position: absolute; inset: 0; margin: 0; }
.x-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.x-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37,37,37,.92) 0%, rgba(37,37,37,.7) 38%, rgba(37,37,37,.05) 70%), linear-gradient(0deg, rgba(37,37,37,.85) 0%, rgba(37,37,37,0) 35%); }
.x-hero-copy { position: relative; padding-bottom: clamp(3rem, 8vh, 5.5rem); padding-top: 8rem; }
.x-hero-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 11ch; margin: 0; color: #f0f0f0; }
.x-hero-copy p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); max-width: 30rem; margin: 1.25rem 0 0; color: #d4d4d4; }
.x-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- product grid + cards ---------- */
.x-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem var(--x-gap); }
.x-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: none; border: 0; box-shadow: none; }
.pcard-img { display: block; background: var(--photo-bg); aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-img img { transform: scale(1.035); }
.pcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.pcard-body { padding: .9rem 0 0; display: flex; flex-direction: column; }
.pcard-row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.pcard-row h3 { margin: 0; font-size: .98rem; letter-spacing: .05em; color: var(--strong); }
.pcard .price { margin: 0; font: 500 1.08rem var(--text); color: var(--strong); white-space: nowrap; }
.pcard .price s.was { font-size: .85em; }
.pcard-sub { margin: .2rem 0 .55rem; font-size: 1rem; color: var(--muted); }
.pcard .dots { margin: 0; }
.pcard .sale-tag, .pcard .soldout-tag { align-self: flex-start; margin: 0 0 .5rem; }

/* ---------- home split + points ---------- */
.x-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: var(--x-section); }
.x-split .x-photo { aspect-ratio: 3 / 2; }
.x-split-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0 0 1.75rem; max-width: 18ch; }
.x-points { margin: 0; display: grid; gap: 1.25rem; }
.x-points div { padding-left: 1rem; border-left: 2px solid var(--gold); }
.x-points dt { font: 700 .82rem var(--caps); letter-spacing: .1em; color: var(--strong); }
.x-points dd { margin: .25rem 0 0; color: var(--muted); font-size: 1.08rem; }
.x-points-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }

/* steps (a real sequence, so numbered) */
body.v2 .steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--x-gap); padding: 0; margin: 0; }
body.v2 .steps li { counter-increment: s; background: var(--panel); padding: 1.5rem 1.4rem 1.6rem; border: 0; }
body.v2 .steps li::before { content: counter(s); display: block; font: 700 1.6rem/1 var(--caps); color: var(--gold-text); margin-bottom: .9rem; }
body.v2 .steps h3 { font-size: 1rem; margin: 0 0 .4rem; }
body.v2 .steps p { margin: 0; color: var(--muted); }

.x-feature { padding-top: var(--x-section); }
.x-feature .x-photo { aspect-ratio: 21 / 9; position: relative; }
.x-feature figcaption { position: absolute; left: 0; bottom: 0; padding: 1rem 1.25rem; background: rgba(35,35,35,.9); color: #e6e6e6; font-size: 1.05rem; max-width: 34rem; }

.x-faq .faq-list { max-width: 52rem; }

.x-signup { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: end; margin-top: var(--x-section); padding-top: 2.5rem; padding-bottom: 1rem; border-top: 1px solid var(--rule); }
.x-signup h2 { font-size: 1.35rem; margin: 0 0 .35rem; }
.x-signup p { margin: 0; color: var(--muted); }
.x-signup .notify { margin: 0; }

/* ---------- inner page headers ---------- */
body.v2 .band { background: none; border: 0; padding: clamp(2.5rem, 6vw, 4rem) 0 .5rem; }
body.v2 .band::before, body.v2 .band::after { display: none; }
body.v2 .band h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
body.v2 .band .sub { color: var(--muted); max-width: 40rem; }
body.v2 .page-body { padding-top: 1.5rem; }

/* ---------- shop ---------- */
.x-page { padding-top: clamp(2.5rem, 6vw, 4rem); }
.x-title h1 { margin: 0; font-size: clamp(2rem, 4.2vw, 3rem); }
.x-title p { margin: .6rem 0 0; color: var(--muted); max-width: 38rem; }
.x-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 2rem 0 2.25rem; }
.x-chip { font: 600 .72rem var(--caps); letter-spacing: .12em; color: var(--ink); background: none; border: 1px solid var(--rule); padding: .55rem .95rem; cursor: pointer; }
.x-chip:hover { border-color: rgba(var(--gold-rgb),.55); }
.x-chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.x-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pcard[hidden] { display: none; }

/* ---------- product page ---------- */
.x-crumbs { margin: 1.5rem 0 1rem; font-size: 1rem; color: var(--muted); }
.x-crumbs a { color: var(--muted); }
body.v2 .product.x-product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; padding: 0; }
body.v2 .x-product .gallery .photo { background: var(--photo-bg); }
body.v2 .x-product .thumbs { margin-top: .75rem; gap: .6rem; }
body.v2 .x-product .thumbs button { outline: 0; border: 1px solid transparent; background: var(--photo-bg); padding: 0; }
body.v2 .x-product .thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.x-note { margin: .6rem 0 0; font-size: .98rem; color: var(--muted); font-style: italic; }
.x-buy { position: sticky; top: 5.5rem; padding-top: .25rem; }
.x-buy h1 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.08; }
.x-tagline { margin: .5rem 0 0; font-size: 1.2rem; color: var(--muted); }
body.v2 .x-buy .buybox { border: 0; background: none; padding: 0; margin-top: 1.25rem; }
body.v2 .x-buy .price { font: 500 1.75rem var(--text); margin: 0 0 1.4rem; color: var(--strong); }
body.v2 .x-buy .finishes { margin-bottom: 1.5rem; }
body.v2 .x-buy .labels { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
body.v2 .x-buy .qty-row { margin-top: .4rem; }
.x-assure { list-style: none; padding: 1.1rem 0 0; margin: 1.4rem 0 0; border-top: 1px solid var(--rule); display: grid; gap: .45rem; }
.x-assure li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: 1.02rem; }
.x-assure li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; background: var(--gold); transform: rotate(45deg); }

.x-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.x-detail h2, .x-know h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 1rem; }
.x-lead { font-size: 1.3rem; color: var(--strong); margin: 0 0 1rem; }
.x-about p { max-width: 40rem; }
.x-specs { background: var(--panel); padding: 1.4rem 1.5rem; }
body.v2 .x-specs .specs { margin: 0; }
body.v2 .x-specs .specs div { border-color: var(--rule); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .x-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-points-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .x-split, .x-detail, body.v2 .product.x-product, .x-signup { grid-template-columns: 1fr; }
  .x-buy { position: static; }
  body.v2 .steps { grid-template-columns: 1fr; }
  .x-feature .x-photo { aspect-ratio: 4 / 3; }
  .x-feature figcaption { position: static; max-width: none; }
}
@media (max-width: 640px) {
  .x-grid, .x-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .9rem; }
  .pcard-row { flex-direction: column; gap: .15rem; }
  .pcard-sub { font-size: .95rem; }
  .x-points-4 { grid-template-columns: 1fr; }
  .x-hero { min-height: 78vh; }
  .x-hero-media::after { background: linear-gradient(0deg, rgba(37,37,37,.95) 0%, rgba(37,37,37,.55) 55%, rgba(37,37,37,.2) 100%); }
}
@media (prefers-reduced-motion: reduce) { .pcard-img img { transition: none; } }
body.v2.v2-home .site-header { position: fixed; top: 0; z-index: 50; transition: background .25s ease; }
body.v2.v2-home .site-header.scrolled { background: var(--header-bg); border-bottom: 1px solid var(--rule);  }
body.v2 .steps li { display: block; }
body.v2 .steps li::before { content: counter(s); width: auto; height: auto; border: 0; background: none; display: block; place-items: unset; grid-row: auto; font: 700 1.9rem/1 var(--caps); color: var(--gold-text); margin-bottom: .9rem; }
body.v2 .steps h3 { padding-top: 0; }
.x-hero-media img { object-position: 62% 35%; }
.x-feature-inner { position: relative; }
.x-feature .x-photo { aspect-ratio: 21 / 9; }
body.v2 main { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.x-points-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.75rem; margin-top: 2rem; }
.x-feature .x-photo img { object-position: 50% 72%; }
.x-hero-media img { object-position: 62% 18%; }
@media (max-width: 640px) { .x-points-2 { grid-template-columns: 1fr; } }
body.v2 { display: flex; flex-direction: column; min-height: 100vh; }
body.v2 > main { flex: 1 0 auto; }
.or-id .delay-badge, .or-id .coupon-badge { align-self: flex-start; }
/* product photos now sit on a warm stone backdrop */
body.v2 { --photo-bg: #b9b9b9; }

/* ===== Dashboard: simpler, faster to scan ===== */
body.gated .site-footer, body.gated .site-nav, body.gated .nav-toggle, body.gated .header-cta { display: none !important; }
body.gated .site-header .wrap { justify-content: flex-start; }
.dash-side { padding-top: .9rem; }
.dash-title { display: none; }
.dash-group { margin: 1.1rem .75rem .3rem; }
.dash-nav button { padding: .7rem .75rem; font-size: .78rem; }
.dash-nav button[data-panel="orders"] { font-size: .86rem; }
.dash-nav .count { background: var(--gold); color: var(--on-gold); }
.dash-nav .count[hidden] { display: none; }
.dash-shoplink { display: block; margin: 1.25rem .75rem .25rem; font: 700 .66rem var(--caps); letter-spacing: .14em; color: var(--muted); text-decoration: none; text-transform: uppercase; }
.dash-shoplink:hover { color: var(--gold-text); }

/* Find bar: always at the top, works from any tab */
.dash-find { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin: 0 0 1.5rem; }
.dash-find input { background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.45); padding: .8rem 1rem; font: 400 1.05rem var(--text); min-width: 0; }
.dash-find input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Orders: slim totals row instead of four big boxes */
.dash-main .dash-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: .5rem 0 1rem; }
.dash-main .dash-stats div { display: flex; align-items: baseline; gap: .5rem; border: 0; background: none; padding: 0; }
.dash-main .dash-stats span { display: inline; font-size: .66rem; }
.dash-main .dash-stats strong { display: inline; font-size: 1.05rem; margin: 0; }
.dash-main .dash-tabs .btn, .dash-main .dash-tabs button { font-size: .78rem; }

@media (max-width: 900px) {
  .dash-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-shoplink { display: none; }
  .dash-find { grid-template-columns: 1fr; }
  .dash-find .btn { display: none; }
  .dash-main .dash-stats { gap: .3rem 1rem; }
}
.dash-side, .dash-main { min-width: 0; }
@media (max-width: 900px) {
  .dash-grid:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
}

/* ===== "Added to cart" pop-up ===== */
.cart-toast { position: fixed; z-index: 90; right: 1.25rem; top: 5.5rem; width: min(24rem, calc(100vw - 2rem)); background: var(--deep); border: 1px solid rgba(var(--gold-rgb),.55); border-top: 3px solid var(--gold); box-shadow: 0 18px 50px rgba(29,29,29,.3); padding: 1.1rem 1.25rem 1.25rem; opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; outline: none; }
.cart-toast.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.ct-close { position: absolute; top: .35rem; right: .5rem; background: none; border: 0; color: var(--muted); font-size: 1.7rem; line-height: 1; padding: .3rem .5rem; cursor: pointer; }
.ct-close:hover { color: var(--strong); }
.ct-head { margin: 0 0 .85rem; font: 700 .8rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.ct-item { display: grid; grid-template-columns: 6rem 1fr; gap: .85rem; align-items: center; }
.ct-item img { width: 6rem; height: 4rem; object-fit: cover; background: var(--photo-bg, #b6b6b6); }
.ct-info { display: grid; gap: .15rem; min-width: 0; }
.ct-info strong { color: var(--strong); font: 600 1.05rem var(--text); }
.ct-info span { color: var(--muted); font-size: .95rem; }
.ct-info .ct-labels { color: var(--gold-text); font-style: italic; }
.ct-bar { height: 4px; background: rgba(var(--gold-rgb),.2); margin: 1rem 0 .4rem; }
.ct-fill { display: block; height: 100%; background: var(--gold); transition: width .5s ease; }
.ct-ship { margin: 0; color: var(--ink); font-size: .98rem; }
.ct-sub { display: flex; justify-content: space-between; margin: .9rem 0 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); }
.ct-sub strong { color: var(--strong); font-size: 1.15rem; }
.ct-actions { display: grid; gap: .55rem; }
.ct-actions .btn { width: 100%; text-align: center; justify-content: center; }
@media (max-width: 640px) {
  .cart-toast { left: .75rem; right: .75rem; top: auto; bottom: .75rem; width: auto; transform: translateY(16px); }
}
.btn.is-added { background: var(--gold); color: var(--on-gold); }
.header-cta.bump { animation: ctbump .55s ease; }
@keyframes ctbump { 30% { transform: scale(1.12); box-shadow: 0 0 0 3px rgba(var(--gold-rgb),.45); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cart-toast, .ct-fill { transition: none; } .header-cta.bump { animation: none; } }
.x-count { margin: -.25rem 0 1.25rem; color: var(--muted); }

/* ===== Print files (orders + tab) ===== */
.pf-group { border: 1px solid var(--line); background: var(--card); padding: .9rem 1rem 1rem; margin: .75rem 0; }
.pf-ghead { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .35rem; }
.pf-ghead strong { font: 700 .82rem var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.pf-group .pf-what { margin: .1rem 0; }
.pf-actions { margin: .75rem 0 .25rem; }
.pf-each { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .25rem; }
.pf-plate { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: 1rem; align-items: start; margin-top: .85rem; }
.pf-plate-title { margin: 0 0 .6rem; color: var(--strong); }
.pf-plate-svg { padding: .35rem; max-width: 14rem; }
.pf-preview .bed { fill: var(--deep); stroke: var(--muted); stroke-width: 1; }
.pf-preview .pc { fill: rgba(var(--gold-rgb),.28); stroke: #a7a7a7; stroke-width: 1.2; }
.pf-preview .pt { fill: var(--ink); font: 600 9px sans-serif; }
@media (max-width: 560px) { .pf-plate { grid-template-columns: 1fr; } }
.eng-row { display: grid; grid-template-columns: 1fr 9rem; gap: 1rem; max-width: 34rem; }
.eng-list { list-style: none; margin: 1rem 0; padding: 0; max-width: 34rem; }
.eng-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.eng-item:last-child { border-bottom: 1px solid var(--line); }
.eng-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .5rem; }

/* suction cups on the Stock tab */
.cups-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .75rem 0 .5rem; }
.cups-label { font: 700 .7rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-right: .25rem; }
.cups-row .money-in { width: 6rem; text-align: center; }
.cups-need { margin: .5rem 0 .25rem; color: var(--ink); }
#cups-box.is-low { border-color: var(--error, #797979); }
#cups-box.is-low .cups-need { color: var(--err); }
.pf-cups { margin: .2rem 0 .6rem; color: var(--gold-text); font-weight: 600; }

/* ================= v4: design fixes, reviews, work days ================= */

/* brighter muted text on the dark theme, and slightly larger small print */
.x-note, .site-footer .legal, .x-count { font-size: 1.05rem; }
.pcard-sub { font-size: 1.05rem; }
body.v2 .x-points dd, body.v2 .steps p { color: var(--body); }
.site-footer { color: var(--muted); }
.site-footer .legal { color: var(--muted); }

/* swatch rings that show on the dark background (Black used to vanish) */
.card-link .dots span, .swatch .chip { border-color: rgba(var(--ink-rgb),.6); }
.chip.black { background: radial-gradient(circle at 30% 30%, #4b4b4b, #1f1f1f 72%); }
.card-link .dots .chip.black, .swatch .chip.black { box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb),.18); }

/* shop + home grids: 4 cards on the first row, then 3 wider cards, so 7 pieces never leave an orphan */
.x-grid-feature { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.x-grid-feature .pcard { grid-column: span 3; }
.x-grid-feature .pcard:nth-child(n+5) { grid-column: span 4; }
.x-grid-feature.is-filtered .pcard { grid-column: span 3; }
.pcard-img { position: relative; }
.pcard-kicker { position: absolute; left: 0; bottom: 0; padding: .4rem .8rem; font: 700 .68rem var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); }
.pcard .sale-tag, .pcard .soldout-tag { position: absolute; top: .65rem; left: .65rem; margin: 0; z-index: 2; align-self: auto; }
.pcard .soldout-tag { background: rgba(35,35,35,.92); color: #bfbfbf; border-color: rgba(191,191,191,.5); }
.stars-mini { margin: .1rem 0 .45rem; font-size: .98rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.stars-mini[hidden], .x-rating a[hidden] { display: none; }

/* stars */
.stars { position: relative; display: inline-block; white-space: nowrap; letter-spacing: .1em; line-height: 1; color: rgba(var(--gold-rgb),.28); font-size: 1.05rem; }
.stars::before { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; width: var(--fill, 0%); overflow: hidden; color: var(--gold-text); }
.stars-count { color: var(--muted); font-size: .98rem; letter-spacing: 0; }
.x-rating { margin: .35rem 0 0; min-height: 0; }
.x-rating a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--muted); }
.x-rating a:hover .stars-count { color: var(--gold-text); }

/* product page: what you get, ship time, collapsed labels */
.x-included { margin-top: 1.75rem; padding: 1.25rem 1.4rem; border: 1px solid var(--rule); background: rgba(var(--ink-rgb),.03); }
.x-included h2 { margin: 0 0 .9rem; font-size: 1.05rem; letter-spacing: .12em; color: var(--gold-text); }
.x-included dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.x-included dt { font: 700 .7rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .2rem; }
.x-included dd { margin: 0; color: var(--body); font-size: 1.05rem; line-height: 1.45; }
.x-est { margin: 1rem 0 0; padding: .7rem .9rem; border-left: 2px solid var(--gold); background: rgba(var(--gold-rgb),.07); color: var(--body); font-size: 1.05rem; line-height: 1.45; }
.x-est strong { color: var(--strong); font-weight: 600; }
.x-est[hidden] { display: none; }
body.v2 .x-buy .x-assure { margin-top: 1.1rem; }
.label-more { margin-top: 1.1rem; border-top: 1px solid var(--rule); padding-top: .9rem; }
.label-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-text); font: 600 .78rem var(--caps); letter-spacing: .12em; text-transform: uppercase; }
.label-more > summary::-webkit-details-marker { display: none; }
.label-more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border: 1px solid var(--gold); font: 700 .95rem/1 var(--text); }
.label-more[open] > summary::before { content: "\2212"; }
.label-more > summary:hover { color: var(--gold-deep); }
.label-more .labels { margin-top: 1rem; padding-top: 0; border-top: 0; }
body.v2 .x-buy .labels { border-top: 0; padding-top: 0; }

/* reviews */
.x-reviews .x-head { align-items: center; }
.rv-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.rv-avg { font: 600 1.6rem var(--text); color: var(--strong); }
.rv-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rv { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.rv:first-child { border-top: 0; padding-top: 0; }
.rv-top { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.rv p { margin: .5rem 0 0; color: var(--body); }
.rv-meta { font-size: 1rem; color: var(--muted) !important; }
.rv-verified { color: var(--gold-text); font: 700 .68rem var(--caps); letter-spacing: .12em; text-transform: uppercase; }
.rv-note { margin: 0; padding: 1rem 1.1rem; border: 1px solid var(--rule); color: var(--muted); font-size: 1.05rem; }
.rv-form { padding: 1.25rem; border: 1px solid var(--rule); background: rgba(var(--ink-rgb),.03); }
.rv-form h3 { margin: 0 0 .8rem; font-size: 1.05rem; letter-spacing: .1em; }
.rv-form .field { margin-top: .9rem; }
.rv-pick { display: flex; gap: .2rem; }
.rv-star { background: none; border: 0; padding: .1rem .15rem; font-size: 2rem; line-height: 1; color: rgba(var(--gold-rgb),.3); cursor: pointer; }
.rv-star.on, .rv-star:hover { color: var(--gold-text); }
.rv-form .btn { margin-top: 1rem; }
@media (max-width: 900px) { .rv-layout { grid-template-columns: 1fr; } }

/* home hero: the photo sits on the right, the headline on dark space on the left */
@media (min-width: 901px) {
  .x-hero-media { left: 44%; }
  .x-hero-media::after { background: linear-gradient(90deg, #252525 0%, rgba(37,37,37,.55) 14%, rgba(37,37,37,0) 38%), linear-gradient(0deg, rgba(37,37,37,.7) 0%, rgba(37,37,37,0) 30%); }
  .x-hero-media img { object-position: 50% 30%; }
}
@media (max-width: 900px) {
  .x-hero { display: block; min-height: 0; }
  .x-hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .x-hero-media::after { background: linear-gradient(0deg, #252525 0%, rgba(37,37,37,0) 35%); }
  .x-hero-copy { padding-top: 1.25rem; }
}

/* home feature photo: taller so the bottle top isn't cropped; caption below instead of over the products */
.x-feature .x-photo { aspect-ratio: 16 / 9; }
.x-feature .x-photo img { object-position: 50% 50%; }
.x-feature figcaption { position: static; max-width: none; padding: .9rem 0 0; background: none; color: var(--muted); font-size: 1.05rem; }
.x-feature .x-photo.x-feature-inner { aspect-ratio: auto; background: none; overflow: visible; }
.x-feature .x-feature-inner img { aspect-ratio: 16 / 9; height: auto; }

@media (max-width: 1100px) {
  .x-grid-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-grid-feature .pcard, .x-grid-feature .pcard:nth-child(n+5), .x-grid-feature.is-filtered .pcard { grid-column: auto; }
  .x-grid-feature:not(.is-filtered) .pcard-feature { grid-column: 1 / -1; }
  .x-grid-feature:not(.is-filtered) .pcard-feature .pcard-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) { .x-included dl { grid-template-columns: 1fr; } }
.ao-est { margin: .6rem 0 0; color: var(--body); }
.ao-est strong { color: var(--strong); }
.ao-review { margin-left: .75rem; }
@media (max-width: 900px) {
  body.v2 .product.x-product { row-gap: .75rem; }
  body.v2 .x-product .gallery { display: contents; }
  body.v2 .x-product .gallery > .photo { order: 0; }
  body.v2 .x-product .gallery > .thumbs { order: 1; }
  body.v2 .x-product .gallery > .x-note { order: 2; margin: 0; }
  body.v2 .x-product .x-buy { order: 3; margin-top: 1rem; }
  body.v2 .x-product .gallery > .x-included { order: 4; margin-top: 1rem; }
}
.engrave-tip { margin: 1.1rem 0 0; padding: .8rem 1rem; border: 1px dashed rgba(var(--gold-rgb),.45); color: var(--body); font-size: 1.02rem; line-height: 1.45; }
.engrave-tip strong { color: var(--gold-text); font-weight: 600; }
.engrave-tip a { color: var(--strong); }

/* ---------- bundles ---------- */
.bundle-badge { display: inline-block; margin: 0 0 .7rem; padding: .3rem .7rem; font: 700 .66rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); }
.bundles { display: grid; gap: clamp(2.5rem, 5vw, 4rem); margin-top: 2.25rem; }
.bundle { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); scroll-margin-top: 5.5rem; }
.bundle:first-child { border-top: 0; padding-top: 0; }
.bundle-pics { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.bundle-pics-3 { grid-template-columns: repeat(3, 1fr); }
.bundle-pics-5 { grid-template-columns: repeat(6, 1fr); }
.bundle-pics-5 figure:nth-child(-n+3) { grid-column: span 2; }
.bundle-pics-5 figure:nth-child(n+4) { grid-column: span 3; }
.bundle-pics figure { margin: 0; background: var(--photo-bg); }
.bundle-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bundle-pics figcaption { padding: .35rem .5rem .45rem; font: 600 .6rem var(--caps); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; background: rgba(var(--ink-rgb),.04); }
.bundle-info h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bundle-tagline { margin: .35rem 0 0; color: var(--muted); }
.bundle-pieces { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .2rem; }
.bundle-pieces li { padding-left: 1.2rem; position: relative; font-size: 1.1rem; }
.bundle-pieces li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .4rem; height: .4rem; background: var(--gold); transform: rotate(45deg); }
.bundle-price { margin: 1.1rem 0 1.2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .9rem; }
.bundle-price .was { color: var(--muted); font-size: 1.15rem; }
.bundle-price .now { font: 500 2rem var(--text); color: var(--strong); }
.bundle-price .bundle-save { font: 700 .7rem var(--caps); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.bundle .finishes { margin-bottom: 1rem; }
.bundle-mix { margin: 0 0 1.25rem; }
.bundle-mix summary { cursor: pointer; font: 600 .74rem var(--caps); letter-spacing: .12em; color: var(--gold-text); }
.bundle-mix .hint { margin: .6rem 0 .5rem; color: var(--muted); font-size: 1rem; }
.bundle-mixrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--rule); }
.bundle-mixrow label { font-size: 1.05rem; }
.bundle-mixrow select { font: inherit; padding: .35rem .6rem; background: var(--well); color: var(--ink); border: 1px solid var(--rule); }
.bundle .btn[disabled] { opacity: .5; cursor: not-allowed; }
.bundle-teaser { display: block; margin: 1.5rem 0 0; padding: .85rem 1.1rem; border: 1px solid rgba(var(--gold-rgb),.55); background: rgba(var(--gold-rgb),.12); color: var(--ink); text-decoration: none; }
.bundle-teaser strong { font: 700 .78rem var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-right: .4rem; }
.bundle-teaser span { margin-left: .4rem; font: 600 .74rem var(--caps); letter-spacing: .12em; color: var(--gold-text); border-bottom: 1px solid rgba(var(--gold-rgb),.5); }
.bundle-teaser:hover { background: rgba(var(--gold-rgb),.2); }
.bundle-band-sub { margin: -.8rem 0 1.5rem; color: var(--muted); }
.bundle-minis { display: grid; gap: var(--x-gap); grid-template-columns: repeat(4, 1fr); }
.bundle-mini { display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--rule); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.bundle-mini:hover { border-color: rgba(var(--gold-rgb),.7); transform: translateY(-2px); }
.bundle-mini .bundle-badge { align-self: flex-start; }
.bundle-mini h3 { margin: 0; font-size: 1.05rem; letter-spacing: .05em; color: var(--strong); }
.bundle-mini p { margin: .2rem 0 0; color: var(--muted); font-size: 1rem; }
.bundle-mini .bundle-price { margin: .7rem 0 0; }
.bundle-mini .bundle-price .now { font-size: 1.5rem; }
.cart-bundle-pieces { list-style: none; margin: .4rem 0 0; padding: 0; font-size: 1rem; color: var(--muted); display: grid; gap: .1rem; }
@media (max-width: 960px) { .bundle-minis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .bundle { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bundle-minis { grid-template-columns: 1fr; } .bundle-pics-5 figcaption { font-size: .52rem; letter-spacing: .06em; } }

/* ---------- wishlist hearts ---------- */
.pcard, .bundle-mini { position: relative; }
.pcard-link, .bundle-mini-link { color: inherit; text-decoration: none; }
.pcard-link::after, .bundle-mini-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-link:focus-visible, .bundle-mini-link:focus-visible { outline: none; }
.pcard-link:focus-visible::after, .bundle-mini-link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 4px; }
.pcard:hover h3, .bundle-mini:hover h3 { color: var(--gold-text); }
.bundle-mini[hidden], .wish-grid[hidden], .wish-minis[hidden], .wish-sub[hidden], .wish-empty[hidden] { display: none; }
.heart { position: absolute; top: .6rem; right: .6rem; z-index: 3; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(92,92,92,.28); border-radius: 50%; background: rgba(246,246,246,.95); color: #5c5c5c; cursor: pointer; transition: transform .15s ease, background-color .2s ease; }
.heart svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: fill .2s ease; }
.heart:hover { background: #ffffff; transform: scale(1.06); }
.heart:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.heart[aria-pressed="true"] svg { fill: #a3a3a3; }
.heart.pop { animation: heartpop .35s ease; }
@keyframes heartpop { 40% { transform: scale(1.25); } }
.heart-text { position: static; width: auto; min-height: 2.75rem; gap: .55rem; padding: .5rem 1.15rem; border-radius: 0; background: transparent; border: 1px solid var(--rule); color: var(--ink); font: 600 .76rem var(--caps); letter-spacing: .12em; text-transform: uppercase; }
.heart-text:hover { background: rgba(var(--gold-rgb), .1); transform: none; }
.heart-text svg { stroke: var(--gold-text); }
.bundle-mini .heart { top: .55rem; right: .55rem; width: 2.5rem; height: 2.5rem; }
.bundle-buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.x-wish { margin: .9rem 0 0; }
.wish-nav { display: inline-flex; align-items: center; gap: .35rem; }
.wish-nav svg { width: 1.2rem; height: 1.2rem; fill: var(--gold); stroke: var(--gold-text); stroke-width: 1.8; stroke-linejoin: round; }
.wish-nav .wish-count { font: 600 .82rem var(--caps); letter-spacing: .04em; }
.wish-label { display: none; }
[data-wish-nav][hidden] { display: none !important; }
.wish-empty { padding: 2.5rem 0 1rem; max-width: 34rem; font-size: 1.15rem; }
.wish-empty .btn { margin: .4rem .6rem .4rem 0; }
.wish-sub { margin: 2.75rem 0 1.25rem; }
@media (max-width: 800px) { .wish-nav .wish-label { display: inline; } }
@media (prefers-reduced-motion: reduce) { .heart, .heart svg { transition: none; } .heart.pop { animation: none; } }
.wish-grid { margin-top: 2.25rem; }
@media (max-width: 800px) { .site-nav a.wish-nav { display: flex; align-items: center; gap: .6rem; } .wish-nav .wish-count::before { content: "("; } .wish-nav .wish-count::after { content: ")"; } }

/* print-files: fast preset box */
.pf-preset { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line, #cacaca); border-radius: 10px; background: rgba(163,163,163,.08); }
.pf-preset summary { cursor: pointer; font-weight: 600; }
.pf-preset .pf-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }

/* =====================================================================
   Gold + slate blue accents (slate taken from the shower tile in the photos)
   ===================================================================== */
:root { --slate: #575757; --slate-hi: #6a6a6a; --slate-deep: #2f2f2f; --slate-night: #252525; --slate-text: #4b4b4b; --slate-rgb: 74,89,102; }
/* dark bands (footer, home hero, toast) are deep slate instead of brown */
.site-footer, .x-hero, .cart-toast, .dark, .bark, body.v2.v2-home .site-header:not(.scrolled) { --bg: #2f2f2f; --well: #252525; }
.x-hero { background: var(--slate-night); }
.site-footer { background: var(--lattice), linear-gradient(180deg, #353535, #272727); border-top: 3px solid var(--gold); }
.cart-toast { background: #2f2f2f; }
/* section titles: a short gold-and-blue rule underneath */
.x-head h2::after, body.v2 .x-specs h2::after { content: ""; display: block; width: 3.4rem; height: 3px; margin-top: .6rem;
  background: linear-gradient(90deg, var(--gold) 0 62%, var(--slate) 62% 100%); }
/* small blue touches */
.bundle-badge { background: var(--slate); color: #eeeeee; }
body.v2 .steps li { border-top: 3px solid var(--slate); }
body.v2 .steps li::before { color: var(--slate-text); }
.x-points dt { color: var(--slate-text); }
.btn-ghost:hover { background: var(--slate); border-color: var(--slate); color: #eeeeee; }
.site-nav a.header-cta:hover { background: var(--slate); border-color: var(--slate); color: #eeeeee; }

/* ---------- order status page (/order/) ---------- */
.os-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: .8rem 1rem; align-items: end; max-width: 50rem; margin: 0 0 2rem; }
.os-form .field { margin: 0; }
.os-form label { display: block; font: 700 .66rem var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.os-form input { width: 100%; box-sizing: border-box; background: var(--well); color: var(--ink); border: 1px solid rgba(var(--gold-rgb),.4); padding: .75rem .9rem; font: 400 1.05rem var(--text); }
.os-form .btn { margin: 0; padding: .95rem 1.4rem; }
.os-form .status { grid-column: 1 / -1; margin: 0; min-height: 1.2em; }
.os-card { max-width: 50rem; border: 1px solid var(--line); border-top: 2px solid var(--gold); background: var(--card); padding: 1.4rem 1.6rem 1.6rem; margin: 0 0 1.5rem; }
.os-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; margin: 0 0 1.2rem; }
.os-head h2 { font-size: 1.5rem; margin: 0; }
.os-head p { margin: 0; }
.os-steps { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; position: relative; }
.os-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: .6rem; height: 2px; background: rgba(var(--gold-rgb),.25); }
.os-steps li { position: relative; text-align: center; padding-top: 1.6rem; color: var(--muted); font-size: .95rem; }
.os-steps li strong { display: block; font: 700 .72rem var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.os-steps li span:last-child { display: block; font-size: .9rem; }
.os-dot { position: absolute; left: 50%; top: 0; width: 1.25rem; height: 1.25rem; transform: translateX(-50%); border-radius: 50%; border: 2px solid rgba(var(--gold-rgb),.45); background: var(--well); box-sizing: border-box; }
.os-steps li.done .os-dot { background: var(--gold); border-color: var(--gold); }
.os-steps li.done .os-dot::after { content: ""; position: absolute; left: .32rem; top: .14rem; width: .3rem; height: .55rem; border: solid var(--on-gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.os-steps li.now .os-dot { border-color: var(--gold); background: var(--well); box-shadow: 0 0 0 4px rgba(var(--gold-rgb),.2); }
.os-steps li.now strong, .os-steps li.done strong { color: var(--strong); }
.os-steps li.now span:last-child { color: var(--ink); }
.os-closed, .os-delay { padding: .8rem 1rem; border-left: 2px solid var(--err); background: rgba(var(--err-rgb),.07); margin: 0 0 1rem; }
.os-closed { border-left-color: var(--muted); background: rgba(var(--ink-rgb),.05); }
.os-card .x-est { margin: 0 0 1rem; }
.os-track { margin: 0 0 1rem; }
.os-track a { margin-left: .5rem; font: 600 .74rem var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.os-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 1rem 0 .4rem; }
.os-items { margin: 0 0 .8rem; padding-left: 1.2rem; }
.os-items li { padding: .1rem 0; }
.os-signin { max-width: 50rem; }
@media (max-width: 760px) {
  .os-form { grid-template-columns: 1fr; }
  .os-steps { grid-template-columns: 1fr; gap: .2rem; }
  .os-steps::before { left: .55rem; right: auto; top: .6rem; bottom: .6rem; width: 2px; height: auto; }
  .os-steps li { text-align: left; padding: .35rem 0 .35rem 2.2rem; }
  .os-dot { left: 0; top: .5rem; transform: none; }
}

/* ---------- build your set (/build/) ---------- */
.sb .x-title { margin-bottom: 1.5rem; }
.sb-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 1fr); gap: 1.5rem; align-items: start; }
.sb-view { position: sticky; top: 5.25rem; }
.sb-canvas { position: relative; width: 100%; aspect-ratio: 4 / 3; background: radial-gradient(900px 500px at 50% 10%, #595959, #343434 70%); border: 1px solid var(--rule); overflow: hidden; touch-action: none; }
.sb-canvas canvas { display: block; width: 100%; height: 100%; }
.sb-viewbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem .1rem 0; }
.sb-viewbar .linkish { background: none; border: 0; padding: 0; color: var(--gold-text); font: 600 .72rem var(--caps); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.sb-panel { display: grid; gap: 1rem; }
.sb-step, .sb-set { border: 1px solid var(--line); background: var(--card); padding: 1.1rem 1.2rem 1.2rem; }
.sb-step h2, .sb-set h2 { font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .7rem; }
.sb-step h2 + .sb-pieces + h2 { margin-top: 1.2rem; }
.sb-finishes { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; }
.sb-finishes button { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem .4rem .45rem; background: var(--well); border: 1px solid rgba(var(--gold-rgb),.35); color: var(--ink); font: 600 .7rem var(--caps); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.sb-finishes button[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); color: var(--strong); }
.sb-finishes .chip { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid rgba(var(--ink-rgb),.35); display: inline-block; }
.sb-pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.sb-pieces-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-piece { display: grid; gap: .25rem; padding: .4rem .4rem .55rem; background: var(--well); border: 1px solid rgba(var(--gold-rgb),.3); text-align: left; cursor: pointer; color: var(--ink); font: inherit; transition: border-color .15s ease, transform .15s ease; }
.sb-piece img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ededed; }
.sb-piece:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.sb-piece:disabled { opacity: .45; cursor: not-allowed; }
.sb-piece.is-added { border-color: var(--gold); background: rgba(var(--gold-rgb),.1); }
.sb-piece-name { font: 600 .66rem var(--caps); letter-spacing: .08em; text-transform: uppercase; color: var(--strong); line-height: 1.25; }
.sb-piece-price { font-size: .95rem; color: var(--muted); }
.sb-piece-price .was { color: var(--muted); margin-right: .3rem; }
.sb-set-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sb-set-head .linkish { background: none; border: 0; padding: 0; color: var(--muted); font: 600 .66rem var(--caps); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.sb-set-head .linkish:hover { color: var(--gold-text); }
.sb-all { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0 0 .6rem; }
.sb-all .sb-finishes { margin: 0; }
.sb-list { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .35rem; }
.sb-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .5rem .6rem .5rem .5rem; border: 1px solid rgba(var(--gold-rgb),.18); background: var(--well); cursor: pointer; }
.sb-row.is-selected { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.sb-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ededed; }
.sb-info strong { display: block; font: 600 .7rem var(--caps); letter-spacing: .08em; text-transform: uppercase; color: var(--strong); }
.sb-where { display: block; color: var(--muted); font-size: .92rem; margin: .1rem 0 .3rem; }
.sb-swatches { display: flex; gap: .35rem; }
.sb-chip { width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1px solid rgba(var(--ink-rgb),.35); cursor: pointer; padding: 0; background: #eeeeee; }
.sb-chip.marble { background: #e8e8e8; } .sb-chip.black { background: #141414; } .sb-chip.white { background: #ffffff; } .sb-chip.brown { background: #595959; }
.sb-chip.on { box-shadow: 0 0 0 2px var(--well), 0 0 0 4px var(--gold); }
.sb-remove { width: 1.9rem; height: 1.9rem; background: none; border: 1px solid rgba(var(--ink-rgb),.25); color: var(--muted); font: 400 1.2rem/1 var(--text); cursor: pointer; }
.sb-remove:hover { color: var(--err); border-color: var(--err); }
.sb-price { margin: .3rem 0 .9rem; padding: .8rem 1rem; border-left: 2px solid var(--gold); background: rgba(var(--gold-rgb),.07); }
.sb-total { margin: 0; font-size: 1.25rem; }
.sb-total s { color: var(--muted); font-size: 1rem; }
.sb-total strong { color: var(--strong); }
.sb-save { display: block; font-size: .98rem; color: var(--gold-text); }
.sb-ship, .sb-cups { margin: .3rem 0 0; font-size: .98rem; }
.sb-add { width: 100%; text-align: center; }
.sb-set .status { margin: .7rem 0 0; }
.sb-set .status.ok { color: var(--ok); }
.sb-cart-link { font: 600 .74rem var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.sb-band { padding-top: 0; }
.sb-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; border: 1px solid var(--rule); background: var(--card); padding: 1.75rem 2rem; }
.sb-band-inner h2 { margin: 0 0 .5rem; }
.sb-band-inner p { color: var(--muted); max-width: 32rem; }
.sb-band-pic img { width: 100%; height: auto; }
@media (max-width: 1000px) {
  .sb-grid { grid-template-columns: 1fr; }
  .sb-view { position: static; }
  .sb-canvas { aspect-ratio: 4 / 3; }
  .sb-pieces, .sb-pieces-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb-band-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sb-pieces, .sb-pieces-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-row { grid-template-columns: 3.6rem minmax(0, 1fr) auto; }
}

/* the menu has one more item (Build a set): keep it on one line */
body.v2 .site-nav a { white-space: nowrap; }
@media (min-width: 801px) and (max-width: 1400px) { body.v2 .site-nav ul { gap: 1.45rem; } body.v2 .site-nav a { letter-spacing: .1em; } }

/* ---------- review photos ---------- */
.rv-photos { display: flex; flex-wrap: wrap; gap: .45rem; margin: .5rem 0 .6rem; }
.rv-photo { position: relative; width: 5.5rem; height: 5.5rem; padding: 0; border: 1px solid var(--rule); background: #e6e6e6; overflow: hidden; cursor: zoom-in; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-photo:hover { border-color: var(--gold); }
.rv-strip { margin: 0 0 1.25rem; padding: 0 0 1rem; border-bottom: 1px solid var(--rule); }
.rv-strip-head { margin: 0 0 .2rem; font: 600 .7rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.rv-strip .rv-photo { width: 6.5rem; height: 6.5rem; }
.rv-photo-field .rv-photo-in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rv-photo-field .rv-photo-add { display: inline-block; cursor: pointer; margin: 0; }
.rv-photo-field .muted.small { margin: .45rem 0 0; font-size: .95rem; }
.rv-photos-new .rv-photo { cursor: default; }
.rv-photo-rm { position: absolute; top: .2rem; right: .2rem; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: rgba(16,16,16,.75); color: #ffffff; font: 400 1.05rem/1 var(--text); cursor: pointer; }
.rv-photo-rm:hover { background: #494949; }
.rv-photo-wrap { position: relative; display: inline-block; }
.pv { position: fixed; inset: 0; z-index: 200; background: rgba(11,11,11,.92); display: grid; place-items: center; padding: 3rem 4rem; outline: none; }
.pv img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.pv-cap { position: absolute; bottom: 1.2rem; left: 0; right: 0; margin: 0; text-align: center; color: #e0e0e0; font-size: 1rem; }
.pv-x, .pv-prev, .pv-next { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #ffffff; cursor: pointer; font: 400 2rem/1 var(--text); width: 3rem; height: 3rem; display: grid; place-items: center; }
.pv-x { top: 1rem; right: 1rem; font-size: 1.8rem; }
.pv-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.pv-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.pv-x:hover, .pv-prev:hover, .pv-next:hover { background: rgba(163,163,163,.35); }
.pv [hidden] { display: none; }
@media (max-width: 640px) { .pv { padding: 3.5rem .5rem 3rem; } .pv-prev, .pv-next { top: auto; bottom: .8rem; transform: none; } .rv-photo { width: 4.6rem; height: 4.6rem; } }

/* "See it in 3D" on product pages */
.x-3d { display: flex; align-items: center; gap: .85rem; margin: 1rem 0 0; padding: .8rem 1rem; border: 1px solid rgba(var(--gold-rgb),.5); background: rgba(var(--gold-rgb),.08); color: var(--ink); text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.x-3d:hover { background: rgba(var(--gold-rgb),.16); border-color: var(--gold); color: var(--ink); }
.x-3d svg { width: 1.9rem; height: 1.9rem; flex: none; fill: var(--gold-text); }
.x-3d strong { display: block; font: 600 .76rem var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--strong); }
.x-3d small { display: block; font-size: .98rem; color: var(--muted); }

/* ---------- social links (Oct 18) ---------- */
.social, .follow { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.social-link, .follow-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--caps); letter-spacing: .06em; font-size: .9rem; line-height: 1; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.social-link { color: #c5c5c5; border: 1px solid rgba(163,163,163,.55); padding: .55rem .95rem; --yt-play: #2f2f2f; }
.social-link:hover { background: rgba(163,163,163,.16); border-color: #a3a3a3; }
.follow-link { color: #eaeaea; background: #2f2f2f; border: 1px solid #a3a3a3; padding: .85rem 1.35rem; font-size: 1rem; --yt-play: #2f2f2f; }
.follow-link svg { color: #c5c5c5; }
.follow-link:hover { background: #515151; }
.site-footer .foot-social { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.foot-social-label { font-family: var(--caps); letter-spacing: .06em; font-size: .95rem; color: #d4d4d4; }
.hero-social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem !important; font-family: var(--caps); letter-spacing: .06em; font-size: .95rem !important; color: #d4d4d4; }
.follow-band .follow-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; background: var(--panel, #dfdfdf); border: 1px solid rgba(163,163,163,.45); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.follow-band h2 { margin: 0 0 .5rem; }
.follow-band p { margin: 0; max-width: 34rem; }
.prose .follow { margin: .75rem 0 0; }
.contact-social { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line, #d9d9d9); max-width: 40rem; }
.contact-social h2 { margin: 0 0 .5rem; }
.contact-social p { margin: 0 0 1rem; }
@media (max-width: 560px) { .follow-link { flex: 1 1 auto; justify-content: center; } }

/* Wishlist controls must sit above stretched card links, not inside an isolated photo. */
html body #main :is(.pcard,.bundle-mini){position:relative;isolation:isolate;}
html body #main :is(.pcard-link,.bundle-mini-link)::after{z-index:1!important;}
html body #main :is(.pcard,.bundle-mini)>button.heart[data-wish]{position:absolute!important;z-index:10!important;top:10px!important;right:10px!important;pointer-events:auto!important;min-width:44px;min-height:44px;touch-action:manipulation;}
html body #main button.heart[data-wish] svg,html body #main button.heart[data-wish] svg *{pointer-events:none;}
html body #main button.heart[data-wish][aria-pressed="true"] svg{fill:currentColor!important;}

/* /assets/css/store.css */
/* MPrints storefront layout v3 (Oct 18). Loaded after site.css and layout.css on every page.
   Same palette, fonts and logo. New structure: icon header, catalog "shelves", split hero with
   tappable pieces, slate bands, column footer. */

body.v3 {
  --s-slate: #2f2f2f; --s-slate-2: #262626; --s-slate-3: #404040;
  --s-sand: #eaeaea; --s-panel: #dfdfdf; --s-sheet: #f6f6f6; --s-photo: #ededed;
  --s-cream: #eaeaea; --s-cream-2: #d1d1d1;
  --s-r: 0; --s-r-sm: 0;
  --s-sec: clamp(3.5rem, 7vw, 6rem);
  background: var(--s-sand) var(--grain);
}
body.v3 .flourish { display: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= header ================= */
body.v3 .hd-note { margin: 0; padding: .45rem var(--gutter); background: var(--s-slate); color: var(--s-cream-2); font-size: .95rem; text-align: center; }
body.v3 .site-header { position: sticky; top: 0; z-index: 30; background: rgba(234,234,234,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); transition: box-shadow .2s; }
body.v3 .site-header.scrolled { box-shadow: 0 6px 22px rgba(47,47,47,.08); }
body.v3 .site-header .hd-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 4.4rem; }
body.v3 .site-header .wordmark { --wm: 2.6rem; grid-column: 1; }
body.v3 .site-nav { margin: 0; grid-column: 2; justify-self: center; }
body.v3 .site-nav ul { gap: .3rem; }
body.v3 .site-nav a { display: block; padding: .5rem .8rem; border: 0; border-radius: 0; font: 600 .78rem var(--caps); letter-spacing: .12em; color: var(--ink); }
body.v3 .site-nav a:hover { background: rgba(var(--gold-rgb),.12); color: var(--strong); }
body.v3 .site-nav a[aria-current="page"] { background: var(--s-slate); color: var(--s-cream); }
body.v3 .site-nav .nav-more { display: none; }
body.v3 .hd-tools { grid-column: 3; display: flex; align-items: center; gap: .2rem; }
body.v3 .hd-tool { position: relative; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border-radius: 0; color: var(--ink); text-decoration: none; font: 500 1rem var(--text); }
body.v3 .hd-tool[hidden] { display: none; }
body.v3 .hd-tool:hover { background: rgba(var(--gold-rgb),.12); color: var(--strong); }
body.v3 .hd-tool svg { width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.v3 .hd-tool.wish-nav svg { fill: currentColor; stroke: none; width: 1.15rem; height: 1.15rem; color: var(--gold-text); }
body.v3 .hd-tool[aria-current="page"] { color: var(--gold-text); }
body.v3 .hd-tool.header-cta { padding: .5rem .95rem; border: 1px solid var(--s-slate); background: var(--s-slate); color: var(--s-cream); }
body.v3 .hd-tool.header-cta:hover { background: var(--s-slate-3); color: #ffffff; }
body.v3 .hd-tool .cart-count { margin: 0; border-radius: 999px; background: var(--gold); color: #212121; }
body.v3 .hd-tool .wish-count { border-radius: 999px !important; display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 0; background: rgba(var(--gold-rgb),.2); color: var(--gold-text); font: 700 .75rem var(--text); }
body.v3 .nav-toggle { display: none; grid-column: 1; width: 2.6rem; height: 2.6rem; margin: 0; padding: 0; place-items: center; border: 1px solid var(--rule); border-radius: 0; background: none; color: var(--ink); }
body.v3 .nav-toggle svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1080px) {
  body.v3 .hd-tool .hd-label { display: none; }
  body.v3 .site-nav a { padding: .5rem .6rem; letter-spacing: .1em; }
}
@media (max-width: 860px) {
  body.v3 .site-header .hd-row { grid-template-columns: auto 1fr auto; gap: .6rem; min-height: 3.9rem; }
  body.v3 .nav-toggle { display: grid; }
  body.v3 .site-header .wordmark { grid-column: 2; justify-self: center; --wm: 2.2rem; }
  body.v3 .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; grid-column: auto; background: var(--s-sand); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 30px rgba(47,47,47,.12); }
  body.v3 .site-nav.open { display: block; }
  body.v3 .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .4rem var(--gutter) 1rem; }
  body.v3 .site-nav a { padding: .85rem .2rem; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: .82rem; }
  body.v3 .site-nav a[aria-current="page"] { background: none; color: var(--gold-text); }
  body.v3 .site-nav .nav-more { display: block; }
  body.v3 .hd-tools { gap: 0; }
  body.v3 .hd-tool { padding: .45rem .5rem; }
  body.v3 .hd-tool.header-cta { padding: .45rem .6rem; }
  body.v3 .hd-tool[data-owner-link] { display: none; }
}

/* ================= footer ================= */
body.v3 .site-footer { padding: 3.5rem 0 1.5rem; background: var(--lattice), var(--s-slate); border-top: 0; color: var(--s-cream-2); }
body.v3 .site-footer .ft-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem 2.5rem; align-items: start; }
body.v3 .site-footer .wordmark { --wm: 2.4rem; color: var(--s-cream); }
body.v3 .ft-brand p { margin: .9rem 0 0; max-width: 22rem; font-size: 1.02rem; color: var(--s-cream-2); }
body.v3 .ft-brand .ft-follow { margin-top: 1.1rem; }
body.v3 .ft-brand .social { margin-top: .6rem; }
body.v3 .ft-col h2 { margin: .35rem 0 .8rem; font: 700 .8rem var(--caps); letter-spacing: .14em; color: #c5c5c5; }
body.v3 .ft-col ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
body.v3 .site-footer .ft-col a { font: 400 1.05rem var(--text); letter-spacing: 0; color: var(--s-cream); text-decoration: none; }
body.v3 .site-footer .ft-col a:hover { color: #c5c5c5; text-decoration: underline; text-underline-offset: .2em; }
body.v3 .ft-legal { margin-top: 2.5rem; }
body.v3 .site-footer .legal { margin: 0; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); color: #b0b0b0; font-size: .95rem; }
@media (max-width: 860px) {
  body.v3 .site-footer .ft-grid { grid-template-columns: 1fr 1fr; }
  body.v3 .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) { body.v3 .site-footer .ft-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; } }

/* ================= shared ================= */
body.v3 .s-sec { padding-top: var(--s-sec); }
body.v3 .s-head { margin: 0 0 1.75rem; max-width: 46rem; }
body.v3 .s-head h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
body.v3 .s-head p { margin: .55rem 0 0; color: var(--muted); font-size: 1.12rem; }
body.v3 .s-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; }
body.v3 .s-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
body.v3 .x-more { white-space: nowrap; }

/* ================= home: hero ================= */
body.v3 .s-hero { position: relative; background: var(--s-slate); color: var(--s-cream); overflow: hidden; }
body.v3 .s-hero::before { content: ""; position: absolute; inset: 0; background: var(--lattice); opacity: .6; pointer-events: none; }
body.v3 .s-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem) max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter))); }
body.v3 .s-hero-copy { max-width: 34rem; }
body.v3 .s-hero h1 { margin: 0; color: #eeeeee; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; }
body.v3 .s-hero-copy > p { margin: 1.3rem 0 0; color: var(--s-cream-2); font-size: clamp(1.1rem, 1.5vw, 1.28rem); }
body.v3 .s-hero .btn-ghost { color: var(--s-cream); border-color: rgba(234,234,234,.5); }
body.v3 .s-hero .btn-ghost:hover { background: rgba(234,234,234,.1); border-color: var(--s-cream); color: #ffffff; }
body.v3 .s-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.8rem 0 0; padding: 0; list-style: none; color: var(--s-cream-2); font-size: 1rem; }
body.v3 .s-facts li { display: inline-flex; align-items: center; gap: .5rem; }
body.v3 .s-facts li::before { content: ""; width: .5rem; height: .5rem; transform: rotate(45deg); background: var(--gold); }
body.v3 .s-hero-pic { margin: 0; }
body.v3 .s-hero-frame { position: relative; border-radius: var(--s-r) 0 0 var(--s-r); overflow: hidden; box-shadow: -20px 30px 60px rgba(0,0,0,.25); }
body.v3 .s-hero-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
body.v3 .s-hero-pic figcaption { margin: .7rem var(--gutter) 0 0; color: #b0b0b0; font-size: .95rem; font-style: italic; }
body.v3 .s-hero-social { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; padding: 0 var(--gutter) 2rem max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter))); font: 600 .8rem var(--caps); letter-spacing: .1em; color: var(--s-cream-2); }
/* hotspots: a dot on each piece, its name and price next to it */
body.v3 .hs { position: absolute; transform: translate(-.8rem, -50%); display: flex; align-items: center; gap: .45rem; text-decoration: none; z-index: 1; }
body.v3 .hs-dot { position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(47,47,47,.75); border: 2px solid #c5c5c5; box-shadow: 0 2px 8px rgba(0,0,0,.35); flex: none; }
body.v3 .hs-dot::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #eaeaea; font: 600 1.05rem/1 var(--text); }
body.v3 .hs-tag { padding: .28rem .6rem; border-radius: 0; background: rgba(246,246,246,.95); color: var(--strong); font: 600 .88rem var(--text); white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.2); opacity: 0; transform: translateX(-.3rem); transition: opacity .18s, transform .18s; pointer-events: none; }
body.v3 .hs-tag span { color: var(--gold-text); }
body.v3 .hs:hover .hs-tag, body.v3 .hs:focus-visible .hs-tag { opacity: 1; transform: none; }
body.v3 .hs:hover .hs-dot, body.v3 .hs:focus-visible .hs-dot { background: var(--gold); }
body.v3 .hs:focus-visible { outline: none; }
body.v3 .hs:focus-visible .hs-dot { outline: 2px solid #ffffff; outline-offset: 2px; }
@media (hover: none) { body.v3 .hs-tag { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  body.v3 .hs-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(197,197,197,.6); animation: hsPulse 2.4s ease-out 1s 3; opacity: 0; }
  @keyframes hsPulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
}
@media (max-width: 900px) {
  body.v3 .s-hero-in { grid-template-columns: 1fr; padding: 2.25rem 0 1.5rem; }
  body.v3 .s-hero-copy { padding: 0 var(--gutter); }
  body.v3 .s-hero-frame { border-radius: 0; box-shadow: none; }
  body.v3 .s-hero-pic figcaption { margin: .6rem var(--gutter) 0; }
  body.v3 .hs-dot { width: 1.35rem; height: 1.35rem; }
}

/* ================= home: system strip ================= */
body.v3 .sys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr) auto) minmax(0, .9fr); align-items: center; gap: .5rem; }
body.v3 .sys-step { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; color: var(--ink); }
body.v3 .sys-img { display: block; margin-bottom: .55rem; border-radius: var(--s-r-sm); overflow: hidden; background: var(--s-photo); aspect-ratio: 4 / 3; }
body.v3 .sys-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
body.v3 .sys-step:hover .sys-img img { transform: scale(1.04); }
body.v3 .sys-step strong { font: 600 1rem var(--caps); letter-spacing: .03em; color: var(--strong); }
body.v3 .sys-step span:not(.sys-img) { color: var(--muted); font-size: 1rem; }
body.v3 .sys-plus { font: 400 2rem var(--text); color: var(--gold-text); padding: 0 .1rem 2.2rem; }
body.v3 .sys-end { justify-content: center; align-self: stretch; padding: 1.2rem; margin-bottom: 0; border-radius: var(--s-r-sm); background: var(--s-slate); color: var(--s-cream); }
body.v3 .sys-end strong { color: #eeeeee; font-size: 1.15rem; }
body.v3 .sys-end span { color: #c5c5c5 !important; }
body.v3 .sys-end:hover { background: var(--s-slate-3); }
@media (max-width: 900px) {
  body.v3 .sys { grid-template-columns: 1fr auto 1fr; row-gap: 1rem; }
  body.v3 .sys-plus { padding: 0 0 2rem; font-size: 1.6rem; }
  body.v3 .sys > .sys-plus:nth-of-type(2), body.v3 .sys > .sys-plus:nth-of-type(4) { display: none; }
  body.v3 .sys-end { grid-column: 1 / -1; }
}

/* ================= product cards + catalog shelves ================= */
body.v3 .shelves { display: grid; gap: 2.5rem; }
body.v3 .shelf { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: start; padding-top: 2rem; border-top: 1px solid var(--rule); }
body.v3 .shelf:first-child { border-top: 0; padding-top: 0; }
body.v3 .shelf-head h3 { margin: 0; font-size: 1.35rem; }
body.v3 .shelf-head p { margin: .4rem 0 0; color: var(--muted); font-size: 1.02rem; }
body.v3 .shelf-cards { display: grid; gap: 1.25rem; }
body.v3 .shelf-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.v3 .shelf-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.v3 .pcard { position: relative; display: flex; flex-direction: column; border: 0; background: none; box-shadow: none; padding: 0; }
body.v3 .pcard .pcard-img { position: relative; display: block; border-radius: var(--s-r); overflow: hidden; background: var(--s-photo); aspect-ratio: 3 / 2; }
body.v3 .pcard .pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
body.v3 .pcard:hover .pcard-img img { transform: scale(1.035); }
body.v3 .pcard .pcard-body { padding: .8rem .15rem 0; }
body.v3 .pcard .pcard-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
body.v3 .pcard h3 { margin: 0; font-size: 1.05rem; letter-spacing: .03em; }
body.v3 .pcard .pcard-link { color: var(--strong); text-decoration: none; }
body.v3 .pcard .pcard-link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
body.v3 .pcard .heart { z-index: 2; }
body.v3 .pcard .price { margin: 0; font: 600 1.1rem var(--text); color: var(--strong); white-space: nowrap; }
body.v3 .pcard .pcard-sub { margin: .2rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.4; }
body.v3 .pcard .dots { margin-top: .55rem; }
body.v3 .pcard .pcard-kicker { border-radius: 0; }
body.v3 .pcard:focus-within .pcard-img { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) {
  body.v3 .shelf { grid-template-columns: 1fr; gap: 1rem; }
  body.v3 .shelf-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  body.v3 .shelf-2, body.v3 .shelf-3 { grid-template-columns: 1fr 1fr; gap: 1rem .8rem; }
  body.v3 .pcard h3 { font-size: .92rem; }
  body.v3 .pcard .pcard-row { flex-direction: column; gap: .1rem; }
  body.v3 .pcard .pcard-sub { font-size: .92rem; }
}

/* ================= finishes ================= */
body.v3 .s-finishes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 1.5rem 2.5rem; align-items: center; }
body.v3 .s-finishes h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
body.v3 .s-finishes p { margin: .55rem 0 0; color: var(--muted); font-size: 1.12rem; }
body.v3 .finish-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
body.v3 .finish-tile { position: relative; display: block; border-radius: var(--s-r); overflow: hidden; background: var(--s-photo); text-decoration: none; aspect-ratio: 4 / 5; }
body.v3 .finish-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
body.v3 .finish-tile:hover img { transform: scale(1.05); }
body.v3 .finish-tile span { position: absolute; left: .6rem; bottom: .6rem; padding: .25rem .7rem; border-radius: 0; background: rgba(246,246,246,.94); color: var(--strong); font: 600 .78rem var(--caps); letter-spacing: .1em; }
@media (max-width: 900px) { body.v3 .s-finishes { grid-template-columns: 1fr; } body.v3 .finish-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.v3 .finish-tile { aspect-ratio: 1; } }

/* ================= slate band (builder) ================= */
body.v3 .s-band { margin-top: var(--s-sec); background: var(--lattice), var(--s-slate); color: var(--s-cream); }
body.v3 .s-band-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
body.v3 .s-band-pic { margin: 0; border-radius: var(--s-r); overflow: hidden; }
body.v3 .s-band-pic img { display: block; width: 100%; height: auto; }
body.v3 .s-band h2 { margin: 0; color: #eeeeee; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
body.v3 .s-band p { margin: .8rem 0 1.6rem; color: var(--s-cream-2); font-size: 1.15rem; max-width: 30rem; }
@media (max-width: 900px) { body.v3 .s-band-in { grid-template-columns: 1fr; } }

/* ================= why + steps + Q&A ================= */
body.v3 .s-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
body.v3 .s-why-pic { margin: 0; border-radius: var(--s-r); overflow: hidden; background: var(--s-photo); }
body.v3 .s-why-pic img { display: block; width: 100%; height: auto; }
body.v3 .s-why h2 { margin: 0 0 1.3rem; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
body.v3 .s-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 2rem; margin: 0; }
body.v3 .s-points div { padding-top: .85rem; border-top: 2px solid var(--gold); }
body.v3 .s-points dt { font: 600 1rem var(--caps); letter-spacing: .03em; color: var(--strong); }
body.v3 .s-points dd { margin: .3rem 0 0; color: var(--body); font-size: 1.05rem; }
@media (max-width: 900px) { body.v3 .s-why { grid-template-columns: 1fr; } }
@media (max-width: 520px) { body.v3 .s-points { grid-template-columns: 1fr; } }
body.v3 .s-qa { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: var(--s-sec); }
body.v3 .s-qa-side { display: grid; gap: 1rem; }
body.v3 .follow-card { padding: 1.4rem 1.5rem; border-radius: var(--s-r); background: var(--s-panel); border: 1px solid var(--rule); }
body.v3 .follow-card h2 { margin: 0; font-size: 1.3rem; }
body.v3 .follow-card p { margin: .5rem 0 1rem; color: var(--body); font-size: 1.05rem; }
body.v3 .follow-card .notify { margin: 0; }
@media (max-width: 900px) { body.v3 .s-qa { grid-template-columns: 1fr; } }

/* ================= inner page header (band) ================= */
body.v3:not(.is-dash) main { padding-bottom: var(--s-sec); }
body.v3 .s-qa { padding-bottom: 0; }
body.v3 .band, body.v3 .s-pagehead { position: relative; margin: 0; padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(1.6rem, 3.5vw, 2.4rem); background: var(--s-panel); border-bottom: 1px solid var(--rule); text-align: left; }
body.v3 .band::before, body.v3 .s-pagehead::before { content: ""; position: absolute; inset: 0; background: var(--lattice); opacity: .9; pointer-events: none; }
body.v3 .band .wrap, body.v3 .s-pagehead .wrap { position: relative; }
body.v3 .band h1, body.v3 .s-pagehead h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; color: var(--strong); }
body.v3 .band .sub, body.v3 .s-pagehead p { margin: .6rem 0 0; max-width: 40rem; color: var(--body); font-size: 1.15rem; }
body.v3 .band .crumbs { margin: 0 0 .6rem; }
body.v3 .s-pagehead-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; }
body.v3 .s-jump { display: flex; flex-wrap: wrap; gap: .4rem; }
body.v3 .s-jump a { padding: .45rem .9rem; border-radius: 0; border: 1px solid var(--rule); background: rgba(246,246,246,.7); color: var(--ink); text-decoration: none; font: 600 .75rem var(--caps); letter-spacing: .1em; }
body.v3 .s-jump a:hover { border-color: var(--gold); background: var(--s-sheet); color: var(--strong); }
body.v3 .page-body { padding-top: clamp(2rem, 4.5vw, 3.25rem); }

/* ================= shop ================= */
body.v3 .s-shop { padding-top: 1.75rem; }
body.v3 .s-shop .shelf { scroll-margin-top: 6rem; }
body.v3 .s-shop .shelf-head h2 { margin: 0; font-size: 1.45rem; }
body.v3 .s-est { margin: 0 0 1.25rem; }
body.v3 .bundle-teaser { display: block; margin: 0 0 2rem; padding: .9rem 1.2rem; border-radius: var(--s-r-sm); background: var(--s-slate); color: var(--s-cream); text-decoration: none; font-size: 1.05rem; }
body.v3 .bundle-teaser strong { color: #c5c5c5; }
body.v3 .bundle-teaser > span:last-child { margin-left: .4rem; text-decoration: underline; text-underline-offset: .2em; }
body.v3 .bundle-teaser:hover { background: var(--s-slate-3); }

/* ================= product page ================= */
body.v3 .pd { padding-top: 1.25rem; }
body.v3 .pd .x-crumbs { margin: 0 0 1.1rem; font-size: 1rem; color: var(--muted); }
body.v3 .pd .x-crumbs a { color: var(--muted); }
body.v3 .pd-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin: 0; }
body.v3 .pd-gallery .photo { margin: 0; border-radius: var(--s-r); overflow: hidden; background: var(--s-photo); }
body.v3 .pd-gallery .photo img { display: block; width: 100%; height: auto; }
body.v3 .pd-gallery .thumbs { margin-top: .7rem; gap: .6rem; }
body.v3 .pd-gallery .thumbs button { border-radius: var(--s-r-sm); overflow: hidden; border: 2px solid transparent; background: var(--s-photo); box-shadow: none; }
body.v3 .pd-gallery .thumbs button[aria-pressed="true"] { border-color: var(--gold); box-shadow: none; }
body.v3 .pd-gallery .thumbs img { display: block; }
body.v3 .pd-gallery .x-note { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; font-style: italic; }
body.v3 .pd-buy { position: sticky; top: 5.5rem; }
body.v3 .pd-buy .buybox { margin: 0; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .pd-buy h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
body.v3 .pd-buy .x-tagline { margin: .45rem 0 0; font-size: 1.15rem; color: var(--muted); }
body.v3 .pd-buy .x-rating { margin: .4rem 0 0; }
body.v3 .pd-buy .buybox .price { margin: 1rem 0 1.25rem; font: 600 1.7rem var(--text); color: var(--strong); }
body.v3 .pd-buy .finishes { margin: 0 0 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
body.v3 .pd-buy .add-to-cart > label { display: block; margin-bottom: .4rem; font: 700 .74rem var(--caps); letter-spacing: .12em; color: var(--ink); }
body.v3 .pd-buy .qty-row { max-width: none; grid-template-columns: 5rem 1fr; }
body.v3 .pd-buy .qty-row .btn { width: 100%; }
body.v3 .pd-more { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
body.v3 .pd-more .x-wish { margin: 0; }
body.v3 .pd-more .x-3d { margin: 0; flex: 1 1 14rem; }
body.v3 .pd-buy .x-est { margin: 1rem 0 0; }
body.v3 .pd-buy .x-assure { margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); gap: .4rem; font-size: 1rem; }
body.v3 .pd-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
body.v3 .pd-about h2 { margin: 0 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
body.v3 .pd-about .x-lead { font-size: 1.22rem; color: var(--strong); }
body.v3 .pd-about > p { max-width: 40rem; }
body.v3 .pd-about .s-points { margin-top: 1.75rem; }
body.v3 .pd-side { display: grid; gap: 1rem; }
body.v3 .pd-side .x-included, body.v3 .pd-specs { margin: 0; padding: 1.3rem 1.4rem; border-radius: var(--s-r); background: var(--s-panel); border: 1px solid var(--rule); }
body.v3 .pd-side h2 { margin: 0 0 .8rem; font-size: 1.15rem; }
body.v3 .pd-side .x-included dl, body.v3 .pd-specs .specs { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border: 0; }
body.v3 .pd-side .x-included dl div, body.v3 .pd-specs .specs div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .55rem 0; border: 0; border-top: 1px solid var(--rule); }
body.v3 .pd-side .x-included dl div:first-child, body.v3 .pd-specs .specs div:first-child { border-top: 0; }
body.v3 .pd-side dt { margin: 0; font: 700 .7rem var(--caps); letter-spacing: .1em; color: var(--gold-text); padding-top: .2rem; }
body.v3 .pd-side dd { margin: 0; font-size: 1.02rem; }
body.v3 .pd-know { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; }
body.v3 .pd-know div { padding-top: .9rem; border-top: 2px solid var(--gold); }
body.v3 .pd-know h3 { margin: 0; font-size: 1rem; letter-spacing: .03em; }
body.v3 .pd-know p { margin: .35rem 0 0; color: var(--body); font-size: 1.02rem; }
@media (max-width: 960px) {
  body.v3 .pd-grid, body.v3 .pd-detail { grid-template-columns: 1fr; }
  body.v3 .pd-buy { position: static; }
  body.v3 .pd-know { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body.v3 .pd-know { grid-template-columns: 1fr; }
  body.v3 .pd-side .x-included dl div, body.v3 .pd-specs .specs div { grid-template-columns: 1fr; gap: .15rem; }
  body.v3 .pd-gallery .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
}

/* ================= x-page headers (bundles, build, wishlist) ================= */
body.v3 .x-page { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
body.v3 .x-title { margin: 0 0 1.75rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
body.v3 .x-title h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
body.v3 .x-title p { margin: .55rem 0 0; max-width: 42rem; color: var(--body); font-size: 1.12rem; }
body.v3 .x-title .x-est { color: var(--muted); }

/* ================= bundles page: cards ================= */
body.v3 .bundles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; margin-top: 0; align-items: start; }
body.v3 .bundle { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 1rem 1.25rem; border: 1px solid var(--rule); border-top: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .bundle:first-child { padding-top: 1rem; border-top: 1px solid var(--rule); }
body.v3 .bundle-pics { gap: .35rem; border-radius: var(--s-r-sm); overflow: hidden; }
body.v3 .bundle-pics figure { border-radius: 0; }
body.v3 .bundle-pics figcaption { font-size: .56rem; padding: .3rem .3rem .35rem; }
body.v3 .bundle-info { padding: 0 .35rem; }
body.v3 .bundle-info h2 { font-size: 1.45rem; }
body.v3 .bundle-badge { border-radius: 0; margin-bottom: .5rem; }
body.v3 .bundle-pieces { margin-top: .7rem; }
body.v3 .bundle-pieces li { font-size: 1.02rem; }
body.v3 .bundle-price { margin: .9rem 0 1rem; }
body.v3 .bundle-price .now { font-size: 1.7rem; }
body.v3 .bundle .swatches { gap: .7rem; }
body.v3 .bundle .swatch .chip { width: 2.3rem; height: 2.3rem; }
body.v3 .bundle-buy { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
body.v3 .bundle-buy .btn { flex: 1 1 auto; }

/* ================= cart ================= */
body.v3 .cart-wrap { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
body.v3 .cart-list { border-top: 0; display: grid; gap: .7rem; }
body.v3 .cart-item { padding: .9rem 1rem; border: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .cart-item img { border-radius: var(--s-r-sm); box-shadow: none; }
body.v3 .cart-summary { top: 5.5rem; padding: 1.5rem; border-radius: var(--s-r); border: 1px solid var(--rule); background: var(--s-panel); }
body.v3 .cart-summary h2 { margin: 0 0 .8rem; }
body.v3 .cart-summary .totals .grand { font-size: 1.2rem; }
body.v3 #cart-empty { padding: 2rem; border: 1px dashed var(--rule); border-radius: var(--s-r); text-align: center; background: rgba(246,246,246,.6); }

/* ================= about ================= */
body.v3 .ab-hero { padding: clamp(2rem, 5vw, 4rem) 0; background: var(--s-panel); border-bottom: 1px solid var(--rule); position: relative; }
body.v3 .ab-hero::before { content: ""; position: absolute; inset: 0; background: var(--lattice); pointer-events: none; }
body.v3 .ab-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
body.v3 .ab-photo { margin: 0; }
body.v3 .ab-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0; }
body.v3 .ab-photo figcaption { margin-top: .6rem; color: var(--muted); font-style: italic; text-align: center; font-size: 1rem; }
body.v3 .ab-intro h1 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
body.v3 .ab-lead { margin: 1rem 0 0; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; color: var(--strong); max-width: 36rem; }
body.v3 .ab-intro p:not(.ab-lead) { margin: 1rem 0 0; max-width: 36rem; font-size: 1.12rem; }
body.v3 .ab-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.75rem); }
body.v3 .ab-cols > div { padding-top: 1rem; border-top: 2px solid var(--gold); }
body.v3 .ab-cols h2 { margin: 0 0 .7rem; font-size: 1.3rem; }
body.v3 .ab-cols p { margin: 0 0 .8rem; font-size: 1.07rem; }
body.v3 .ab-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
body.v3 .ab-follow p { margin-bottom: 0; }
@media (max-width: 860px) {
  body.v3 .ab-hero-in { grid-template-columns: 1fr; }
  body.v3 .ab-photo { max-width: 18rem; }
  body.v3 .ab-cols { grid-template-columns: 1fr; }
}

/* ================= Q&A ================= */
body.v3 .faq-wrap { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
body.v3 .faq-wrap .faq-list { background: var(--s-sheet); border: 1px solid var(--rule); border-radius: var(--s-r); padding: .4rem 1.4rem; }
body.v3 .faq-wrap .faq-list .qa:last-child { border-bottom: 0; }
body.v3 .faq-side { top: 5.5rem; display: grid; gap: 1rem; }
body.v3 .faq-side .follow-card p { margin-bottom: 1rem; }
body.v3 .faq-photo { border-radius: var(--s-r); overflow: hidden; }
@media (max-width: 860px) { body.v3 .faq-wrap { grid-template-columns: 1fr; } body.v3 .faq-side { position: static; } body.v3 .faq-photo { display: none; } }

/* ================= contact ================= */
body.v3 .ct-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
body.v3 .ct-wrap .form-panel { max-width: none; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .ct-side { display: grid; gap: 1rem; }
body.v3 .ct-side .follow-card p { margin-bottom: 0; }
body.v3 .ct-side .follow { margin-top: .9rem; }
@media (max-width: 860px) { body.v3 .ct-wrap { grid-template-columns: 1fr; } }

/* ================= policies / privacy / success ================= */
body.v3 .pol-wrap { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
body.v3 .pol-nav { position: sticky; top: 5.5rem; display: grid; gap: .2rem; }
body.v3 .pol-nav a { padding: .45rem .8rem; border-radius: var(--s-r-sm); color: var(--ink); text-decoration: none; font-size: 1.05rem; }
body.v3 .pol-nav a:hover { background: rgba(var(--gold-rgb),.12); color: var(--strong); }
body.v3 .pol-body, body.v3 .sheet-prose { max-width: 46rem; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .pol-body h2 { scroll-margin-top: 6rem; }
@media (max-width: 760px) {
  body.v3 .pol-wrap { grid-template-columns: 1fr; }
  body.v3 .pol-nav { position: static; display: flex; flex-wrap: wrap; }
  body.v3 .pol-nav a { border: 1px solid var(--rule); border-radius: 0; font-size: .95rem; padding: .3rem .8rem; }
}
body.v3 [data-order-success] .prose { max-width: 44rem; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }

/* ================= order status, account, wishlist, login ================= */
body.v3 .os-form { padding: 1.25rem; border: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .os-card { border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 [data-login] .form-panel, body.v3 #login-done { padding: 1.5rem; border: 1px solid var(--rule); border-radius: var(--s-r); background: var(--s-sheet); }
body.v3 .wish-empty { padding: 2rem; border: 1px dashed var(--rule); border-radius: var(--s-r); text-align: center; background: rgba(246,246,246,.6); }
body.v3 .wish-grid.x-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { body.v3 .wish-grid.x-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  body.v3 .cart-wrap { grid-template-columns: 1fr; }
  body.v3 .cart-summary { position: static; }
  body.v3 .site-nav { inset: 100% 0 auto 0; width: auto; max-width: none; }
}
body.v3 .hd-tool .wish-count::before, body.v3 .hd-tool .wish-count::after { content: none; }
@media (max-width: 600px) { body.v3 .hd-note-more { display: none; } }

/* Oct 18 late: square corners everywhere (buttons, photos, cards); setup steps in four */
body.v3 .btn, body.v3 .social-link, body.v3 .follow-link, body.v3 .x-3d, body.v3 .heart-text, body.v3 .bundle-badge, body.v3 .sale-tag, body.v3 .soldout-tag, body.v3 .pcard-kicker, body.v3 .x-chip { border-radius: 0 !important; }
body.v3 img, body.v3 .photo, body.v3 .pcard-img, body.v3 .bundle-pics, body.v3 .finish-tile, body.v3 .cart-item img, body.v3 .thumbs button { border-radius: 0 !important; }
body.v3 .steps.steps-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { body.v3 .steps.steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { body.v3 .steps.steps-4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gold motion (Oct 23)
   One shine band sweeps across buttons on hover/focus; the main gold buttons also gleam on their own every few seconds.
   The logo's M gets the same gleam, and PRINTS turns gold as it passes. All of it stops for "reduce motion". */
@keyframes mp-gleam { 0%, 72% { transform: translateX(-140%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes mp-mark { 0%, 70% { transform: translateX(0); } 100% { transform: translateX(240px); } }
@keyframes mp-word { 0%, 70% { background-position: 120% 0; } 100% { background-position: -20% 0; } }

body.v3:not(.is-dash) .btn, body.v3 .social-link, body.v3 .follow-link, body.v3 .x-3d, body.v3 .heart-text, body.v3 .hd-tool.header-cta {
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
body.v3:not(.is-dash) .btn::after, body.v3 .social-link::after, body.v3 .follow-link::after, body.v3 .x-3d::after, body.v3 .heart-text::after, body.v3 .hd-tool.header-cta::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(246,246,246,0), rgba(246,246,246,.55) 50%, rgba(246,246,246,0));
  transform: translateX(-140%) skewX(-20deg);
}
/* hover / keyboard focus: one sweep, slight lift, warm gold glow */
body.v3:not(.is-dash) .btn:hover::after, body.v3:not(.is-dash) .btn:focus-visible::after,
body.v3 .social-link:hover::after, body.v3 .follow-link:hover::after, body.v3 .x-3d:hover::after, body.v3 .heart-text:hover::after,
body.v3 .hd-tool.header-cta:hover::after, body.v3 .hd-tool.header-cta:focus-visible::after { transition: transform .75s ease; transform: translateX(260%) skewX(-20deg); }
body.v3:not(.is-dash) .btn:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(var(--gold-rgb),.75); }
body.v3:not(.is-dash) .btn:not(:disabled):active { transform: translateY(0); box-shadow: none; }
/* ghost buttons: a gold line draws in along the bottom */
body.v3:not(.is-dash) .btn-ghost::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, #8e8e8e, #c5c5c5, #8e8e8e); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
body.v3:not(.is-dash) .btn-ghost:hover::before, body.v3:not(.is-dash) .btn-ghost:focus-visible::before { transform: scaleX(1); }
body.v3:not(.is-dash) .btn-ghost:hover { border-color: var(--gold); }
/* the cart button: gold edge */
body.v3 .hd-tool.header-cta { box-shadow: inset 0 -2px 0 var(--gold); }
/* main gold buttons gleam by themselves every 6 s */
body.v3 .s-actions .btn:not(.btn-ghost)::after, body.v3 .pd-buy .qty-row .btn::after, body.v3 .s-band .btn::after,
body.v3 .cart-summary .btn::after, body.v3 #checkout-btn::after { animation: mp-gleam 6s ease-in-out 1.2s infinite; }
body.v3 .s-actions .btn:not(.btn-ghost):hover::after, body.v3 .pd-buy .qty-row .btn:hover::after, body.v3 .s-band .btn:hover::after { animation: none; }
/* "Shop all" style links: gold underline grows */
body.v3 .x-more { border-bottom-color: transparent; background: linear-gradient(90deg, var(--gold), var(--gold-hi)) left bottom / 35% 1px no-repeat; transition: background-size .35s ease, color .2s; }
body.v3 .x-more:hover { background-size: 100% 1px; }
/* setup steps: gold top line like the rest of the page */
body.v3 .steps.steps-4 > * { border-top-color: var(--gold) !important; }

/* logo: the M gleams every 7 s and on hover; PRINTS lights up gold as the gleam passes */
.mark .mark-shine { animation: mp-mark 7s ease-in-out .6s infinite; }
.wordmark:hover .mark .mark-shine, .dash-logo:hover .mark .mark-shine { animation-duration: 1.4s; animation-delay: 0s; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body.v3 .wordmark span {
    background: linear-gradient(100deg, transparent 40%, #c5c5c5 47%, #8e8e8e 53%, transparent 60%) 120% 0 / 260% 100% no-repeat, linear-gradient(currentColor, currentColor);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: mp-word 7s ease-in-out .75s infinite;
  }
  body.v3 .wordmark:hover span { animation-duration: 1.4s; animation-delay: .15s; }
}

@media (prefers-reduced-motion: reduce) {
  body.v3 .btn::after, body.v3 .btn::before, body.v3 .social-link::after, body.v3 .follow-link::after, body.v3 .x-3d::after, body.v3 .heart-text::after,
  body.v3 .hd-tool.header-cta::after, .mark .mark-shine, body.v3 .wordmark span { animation: none !important; transition: none !important; }
  body.v3 .wordmark span { background: none; -webkit-text-fill-color: currentColor; }
  body.v3:not(.is-dash) .btn:hover { transform: none; }
}
body.v3 .steps.steps-4 li::before { color: var(--gold-text); }
/* Oct 23 tidy: heart-text gets position:relative for the shine, so drop the card heart's offsets; empty status line takes no room */
body.v3 .heart-text { top: auto; right: auto; bottom: auto; left: auto; }
body.v3 .pd-buy .add-to-cart .status:empty { min-height: 0; height: 0; margin: 0; }

/* ---------------------------------------------------------------- menu icons (Oct 23)
   Desktop: gold icon above each label; on hover the icon hops and does its own little move.
   Phone menu: icon in a gold square to the left of the label. */
body.v3 .site-nav a { display: flex; flex-direction: column; align-items: center; gap: .32rem; position: relative; }
body.v3 .site-nav .nav-ic { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--gold-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.34,1.56,.64,1), stroke .2s; overflow: visible; }
body.v3 .site-nav a::after { content: ""; position: absolute; left: 50%; bottom: .15rem; width: 1.2rem; height: 2px; background: linear-gradient(90deg, #8e8e8e, #c5c5c5, #8e8e8e); transform: translateX(-50%) scaleX(0); transition: transform .3s ease; }
body.v3 .site-nav a:hover { background: none; }
body.v3 .site-nav a:hover::after, body.v3 .site-nav a:focus-visible::after { transform: translateX(-50%) scaleX(1); }
body.v3 .site-nav a:hover .nav-ic, body.v3 .site-nav a:focus-visible .nav-ic { stroke: #8e8e8e; }
body.v3 .site-nav a[aria-current="page"] { background: none; color: var(--strong); }
body.v3 .site-nav a[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); width: 1.8rem; }
body.v3 .site-nav a[aria-current="page"] .nav-ic { stroke: #8e8e8e; fill: rgba(var(--gold-rgb),.18); }

@keyframes ic-hop { 0% { transform: translateY(0); } 35% { transform: translateY(-4px) scale(1.08); } 65% { transform: translateY(1px) scale(.97); } 100% { transform: translateY(0); } }
@keyframes ic-spin { 0% { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(180deg) translateY(-3px); } 100% { transform: rotateY(360deg) translateY(0); } }
@keyframes ic-shake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-12deg) translateY(-2px); } 40% { transform: rotate(10deg) translateY(-3px); } 60% { transform: rotate(-6deg) translateY(-1px); } 80% { transform: rotate(4deg); } }
@keyframes ic-wiggle { 0%,100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(8deg) scale(1.1); } }
@keyframes ic-print { 0%,100% { transform: translateY(0); } 25% { transform: translateY(-2px); } 50% { transform: translateY(1px); } 75% { transform: translateY(-1px); } }
@keyframes ic-flap { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(-.55); } }
@keyframes ic-drive { 0% { transform: translateX(0); } 40% { transform: translateX(4px); } 41% { transform: translateX(-5px); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateX(0); } }
@keyframes ic-beat { 0%,100% { transform: scale(1); } 25% { transform: scale(1.2); } 50% { transform: scale(.95); } 75% { transform: scale(1.12); } }

body.v3 .site-nav a:hover .ic-shop, body.v3 .site-nav a:focus-visible .ic-shop { animation: ic-hop .55s ease; }
body.v3 .site-nav a:hover .ic-cube, body.v3 .site-nav a:focus-visible .ic-cube { animation: ic-spin .8s ease-in-out; }
body.v3 .site-nav a:hover .ic-gift, body.v3 .site-nav a:focus-visible .ic-gift { animation: ic-shake .6s ease; }
body.v3 .site-nav a:hover .ic-ask, body.v3 .site-nav a:focus-visible .ic-ask { animation: ic-wiggle .55s ease; }
body.v3 .site-nav a:hover .ic-print, body.v3 .site-nav a:focus-visible .ic-print { animation: ic-print .5s ease 2; }
body.v3 .site-nav .ic-mail .flap { transform-box: fill-box; transform-origin: 50% 0; }
body.v3 .site-nav a:hover .ic-mail .flap, body.v3 .site-nav a:focus-visible .ic-mail .flap { animation: ic-flap .6s ease; }
body.v3 .site-nav a:hover .ic-mail { transform: translateY(-2px); }
body.v3 .site-nav a:hover .ic-truck, body.v3 .site-nav a:focus-visible .ic-truck { animation: ic-drive .7s ease; }
body.v3 .site-nav a:hover .ic-heart, body.v3 .site-nav a:focus-visible .ic-heart { animation: ic-beat .7s ease; }

@media (max-width: 1080px) { body.v3 .site-nav a { gap: .25rem; } body.v3 .site-nav .nav-ic { width: 1.2rem; height: 1.2rem; } }
@media (max-width: 860px) {
  body.v3 .site-nav a { flex-direction: row; justify-content: flex-start; gap: .85rem; }
  body.v3 .site-nav a::after { display: none; }
  body.v3 .site-nav .nav-ic { width: 2.2rem; height: 2.2rem; padding: .45rem; background: rgba(var(--gold-rgb),.14); border: 1px solid rgba(var(--gold-rgb),.35); flex: none; }
  body.v3 .site-nav a[aria-current="page"] .nav-ic { background: var(--gold); stroke: #212121; fill: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.v3 .site-nav .nav-ic, body.v3 .site-nav .nav-ic * { animation: none !important; transition: none !important; }
}
/* phone menu was only as wide as its longest link (justify-self:center on an absolute grid child): make it full width */
@media (max-width: 860px) { body.v3 .site-nav { justify-self: stretch; width: auto; } }
/* with the menu icons the header needs a bit more room: icons-only header tools below 1200 px */
@media (max-width: 1200px) { body.v3 .hd-tool .hd-label { display: none; } }

/* /assets/css/v4.css */
/* =====================================================================
   MPrints redesign v4 (Oct 23, 2026). Same colours and fonts, new layout.
   Loaded after store.css. Store rules are scoped to body.v4:not(.is-dash).
   Idea: "the rail". The pieces slide along a bar, so headings run into a
   gold line, the home catalog is one sliding rail of pieces, and the setup
   steps sit on a line. Everything else stays quiet.
   ===================================================================== */
body.v4:not(.is-dash) {
  --hd-top: 4.6rem;
  --rail: linear-gradient(90deg, #a3a3a3, rgba(163,163,163,.15));
}

/* ---------- headings that run into the rail ---------- */
body.v4:not(.is-dash) .s-head-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
body.v4:not(.is-dash) .s-head-row > h2, body.v4:not(.is-dash) .s-head-row > div:first-child { flex: 1 1 auto; min-width: 0; }
body.v4:not(.is-dash) .s-head-row > h2, body.v4:not(.is-dash) .s-head-row > div:first-child > h2,
body.v4:not(.is-dash) .rail-head > h2, body.v4:not(.is-dash) .shop4 .shelf-head h2 { display: flex; align-items: center; gap: 1.1rem; }
body.v4:not(.is-dash) .s-head-row > h2::after, body.v4:not(.is-dash) .s-head-row > div:first-child > h2::after,
body.v4:not(.is-dash) .rail-head > h2::after, body.v4:not(.is-dash) .shop4 .shelf-head h2::after { content: ""; flex: 1 1 2rem; min-width: 2rem; height: 2px; background: var(--rail); }
body.v4:not(.is-dash) .s-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------- header: logo in the middle, menu on its own row ---------- */
body.v4 .site-header.hd4 { position: sticky; top: 0; z-index: 30; padding: 0; background: rgba(234,234,234,.96); border-bottom: 1px solid var(--rule); }
body.v4 .hd4 .hd-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: var(--hd-top); transition: min-height .25s ease; }
body.v4 .hd4 .hd-note { grid-column: 1; margin: 0; padding: 0; background: none; text-align: left; font: 400 .98rem/1.35 var(--text); color: var(--muted); }
body.v4 .hd4 .hd-note span { display: block; color: var(--gold-text); }
body.v4 .hd4 .wordmark { grid-column: 2; justify-self: center; --wm: 2.9rem; transition: font-size .25s ease; }
body.v4 .hd4 .wordmark .mark { transition: width .25s ease, height .25s ease; }
body.v4 .hd4 .hd-tools { grid-column: 3; justify-self: end; }
body.v4 .hd4 .nav-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
body.v4 .hd4 .hd-navrow { border-top: 1px solid var(--rule); }
body.v4 .hd4 .site-nav { display: block; margin: 0 auto; position: static; }
body.v4 .hd4 .site-nav ul { display: flex; justify-content: center; gap: clamp(.4rem, 2.2vw, 2.4rem); margin: 0; padding: 0; list-style: none; }
body.v4 .hd4 .site-nav a { padding: .55rem .7rem .6rem; }
body.v4 .hd4.scrolled { box-shadow: 0 10px 24px -18px rgba(47,47,47,.55); }
body.v4 .hd4.scrolled .hd-top { min-height: 3.3rem; }
body.v4 .hd4.scrolled .wordmark { --wm: 2.2rem; }
body.v4 .hd4.scrolled .hd-note { opacity: 0; }
body.v4 .hd4 .hd-note { transition: opacity .2s; }
@media (max-width: 1080px) { body.v4 .hd4 .hd-note span { display: none; } }
@media (max-width: 860px) {
  body.v4 .hd4 .hd-top { grid-template-columns: auto 1fr auto; min-height: 3.9rem; }
  body.v4 .hd4 .hd-note { display: none; }
  body.v4 .hd4 .wordmark { --wm: 2.2rem; }
  body.v4 .hd4 .hd-navrow { border-top: 0; }
  body.v4 .hd4 .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 0; background: var(--s-sand); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 30px rgba(47,47,47,.14); }
  body.v4 .hd4 .site-nav.open { display: block; }
  body.v4 .hd4 .site-nav ul { flex-direction: column; gap: 0; padding: .4rem var(--gutter) 1rem; }
  body.v4 .hd4 .site-nav a { padding: .8rem .2rem; }
}

/* ---------- footer: centred brand, columns underneath ---------- */
body.v4 .site-footer.ft4 { padding: 3.5rem 0 1.5rem; text-align: center; }
body.v4 .ft4 .ft-brand { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(163,163,163,.3); }
body.v4 .ft4 .ft-brand p { margin: 0; max-width: 30rem; }
body.v4 .ft4 .wordmark { --wm: 3.2rem; }
body.v4 .ft4 .social { justify-content: center; }
body.v4 .ft4 .ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 12rem)); justify-content: center; gap: 2rem 4rem; }
body.v4 .ft4 .ft-col ul { padding: 0; }
body.v4 .ft4 .ft-legal { margin-top: 2.5rem; }
@media (max-width: 560px) { body.v4 .ft4 .ft-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; } }

/* ---------- inner page headings: centred title over a short gold rule ---------- */
body.v4:not(.is-dash) .band, body.v4:not(.is-dash) .s-pagehead { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 2.75rem); background: none; border-bottom: 1px solid var(--rule); text-align: center; }
body.v4:not(.is-dash) .band h1, body.v4:not(.is-dash) .x-title h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
body.v4:not(.is-dash) .band h1::after, body.v4:not(.is-dash) .x-title h1::after { content: ""; display: block; width: 3.5rem; height: 2px; margin: .9rem auto 0; background: var(--gold); }
body.v4:not(.is-dash) .band .sub, body.v4:not(.is-dash) .x-title p { max-width: 40rem; margin-left: auto; margin-right: auto; }
body.v4:not(.is-dash) .band .crumbs { justify-content: center; }
body.v4:not(.is-dash) .x-title { text-align: center; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }

/* ---------- home: hero ---------- */
body.v4 .h4-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; text-align: center; }
body.v4 .h4-hero-copy { max-width: 52rem; }
body.v4 .h4-hero h1 { text-wrap: balance; margin: 0 auto; max-width: 19ch; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: .01em; }
body.v4 .h4-hero-copy > p { max-width: 38rem; margin: 1.3rem auto 0; color: var(--muted); font-size: 1.22rem; line-height: 1.6; }
body.v4 .h4-hero .s-actions { justify-content: center; margin-top: 1.8rem; }
body.v4 .h4-hero-pic { margin: clamp(2.25rem, 5vw, 3.5rem) auto 0; }
body.v4 .h4-hero-pic img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 58%; background: var(--s-slate); }
@media (max-width: 640px) { body.v4 .h4-hero-pic { padding: 0; } body.v4 .h4-hero-pic img { aspect-ratio: 4 / 3; } }

/* the four reasons, on slate, straight under the photo */
body.v4 .h4-facts { background: var(--lattice), var(--s-slate); color: var(--s-cream-2); }
body.v4 .h4-facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0 auto; padding-top: 2.1rem; padding-bottom: 2.3rem; list-style: none; }
body.v4 .h4-facts li { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .9rem; align-items: start; }
body.v4 .h4-facts svg { grid-row: span 2; width: 2rem; height: 2rem; fill: none; stroke: #c5c5c5; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.v4 .h4-facts strong { font: 700 .86rem/1.3 var(--caps); letter-spacing: .08em; color: #eeeeee; }
body.v4 .h4-facts span { margin-top: .3rem; font-size: 1rem; line-height: 1.5; }
@media (max-width: 900px) { body.v4 .h4-facts ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { body.v4 .h4-facts ul { grid-template-columns: 1fr; } }

/* ---------- home: the rail of pieces ---------- */
body.v4 .rail-head { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
body.v4 .rail-head > h2 { flex: 1 1 18rem; margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
body.v4 .rail-tabs { display: flex; gap: .2rem; }
body.v4 .rail-tab { padding: .5rem .75rem; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 600 .76rem var(--caps); letter-spacing: .1em; cursor: pointer; }
body.v4 .rail-tab:hover { color: var(--strong); }
body.v4 .rail-tab[aria-pressed="true"] { color: var(--strong); border-bottom-color: var(--gold); }
body.v4 .rail-arrows { display: flex; gap: .4rem; }
body.v4 .rail-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--rule); background: var(--s-sheet); color: var(--strong); cursor: pointer; transition: background .2s, border-color .2s; }
body.v4 .rail-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.v4 .rail-btn:hover:not(:disabled) { border-color: var(--gold); background: rgba(163,163,163,.14); }
body.v4 .rail-btn:disabled { opacity: .35; cursor: default; }
body.v4 .rail-track {
  --edge: max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(19.5rem, 78vw); gap: 1.5rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: .25rem var(--edge) 1.4rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
  /* the rail itself: a gold bar the cards sit on */
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - .55rem) / 100% 2px no-repeat;
}
body.v4 .rail-track:focus-visible { outline: 2px solid var(--gold-text); outline-offset: -2px; }
body.v4 .rail-track .pcard { scroll-snap-align: start; padding-bottom: 1.1rem; background: var(--s-sheet); border: 1px solid var(--rule); }
body.v4 .rail-track .pcard-body { padding: .9rem 1rem 0; }
body.v4 .rail-foot { margin: 1.25rem auto 0; }
@media (max-width: 640px) { body.v4 .rail-tabs { order: 3; width: 100%; overflow-x: auto; } body.v4 .rail-arrows { display: none; } }

/* ---------- home: bundles ---------- */
body.v4 .h4-bundles .bundle-minis { gap: 1.25rem; }
body.v4 .bundle-mini { border: 1px solid var(--rule) !important; border-top: 3px solid var(--gold) !important; background: var(--s-sheet) !important; }

/* ---------- home: builder band, photo bleeds to the edge ---------- */
body.v4 .h4-build { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--s-slate); margin: var(--s-sec) 0; }
body.v4 .h4-build-pic { margin: 0; min-height: 24rem; }
body.v4 .h4-build-pic img { width: 100%; height: 100%; object-fit: cover; }
body.v4 .h4-build-copy { align-self: center; padding: clamp(2rem, 5vw, 4rem); max-width: 32rem; }
body.v4 .h4-build-copy h2 { margin: 0; color: #eeeeee; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
body.v4 .h4-build-copy p { margin: 1rem 0 1.6rem; color: var(--s-cream-2); font-size: 1.12rem; }
@media (max-width: 860px) { body.v4 .h4-build { grid-template-columns: 1fr; } body.v4 .h4-build-pic { min-height: 0; } body.v4 .h4-build-pic img { aspect-ratio: 16 / 10; height: auto; } }

/* ---------- setup steps on a line (home and product pages) ---------- */
body.v4 .steps.steps-4 { position: relative; counter-reset: s; gap: 2rem; margin-top: 2rem; padding: 0; list-style: none; }
body.v4 .steps.steps-4::before { content: ""; position: absolute; left: 0; right: 0; top: 1.35rem; height: 2px; background: var(--rail); }
body.v4 .steps.steps-4 > li { position: relative; padding: 0 !important; background: none !important; border: 0 !important; }
body.v4 .steps.steps-4 > li::before { content: counter(s); display: grid !important; place-items: center; width: 2.7rem; height: 2.7rem; margin: 0 0 1.1rem !important; border: 2px solid var(--gold); border-radius: 50%; background: var(--s-sand); color: var(--gold-text) !important; font: 700 1.15rem/1 var(--caps) !important; }
body.v4 .steps.steps-4 h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
body.v4 .steps.steps-4 p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 960px) {
  body.v4 .steps.steps-4 { grid-template-columns: 1fr !important; gap: 1.5rem; }
  body.v4 .steps.steps-4::before { left: 1.3rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(#a3a3a3, rgba(163,163,163,.15)); }
  body.v4 .steps.steps-4 > li { padding-left: 4rem !important; }
  body.v4 .steps.steps-4 > li::before { position: absolute; left: 0; top: 0; margin: 0 !important; }
}

/* ---------- home: questions, then the notify strip ---------- */
body.v4.is-home main { padding-bottom: 0; }
body.v4 .h4-qa { max-width: 52rem; }
body.v4 .h4-notify { background: var(--s-panel); border-top: 1px solid var(--rule); }
body.v4 .h4-notify-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 3rem; align-items: center; padding-top: 2.4rem; padding-bottom: 2.4rem; }
body.v4 .h4-notify h2 { margin: 0; font-size: 1.5rem; }
body.v4 .h4-notify p { margin: .35rem 0 0; color: var(--muted); }
body.v4 .h4-notify .notify { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .6rem; align-items: end; margin: 0; }
body.v4 .h4-notify .notify label { grid-column: 1 / -1; }
body.v4 .h4-notify .notify .status { grid-column: 1 / -1; margin: 0; }
body.v4 .h4-notify .notify input { margin: 0; }
@media (max-width: 760px) { body.v4 .h4-notify-in { grid-template-columns: 1fr; } }

/* ---------- shop: sticky side menu ---------- */
body.v4 .shop4 { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; padding-top: 2.5rem; padding-bottom: var(--s-sec); }
body.v4 .shop4-side { position: sticky; top: 9rem; align-self: start; display: grid; gap: 1.75rem; }
body.v4 .shop4-nav { display: grid; border-left: 2px solid var(--rule); }
body.v4 .shop4-nav a { padding: .55rem 0 .55rem 1rem; margin-left: -2px; border-left: 2px solid transparent; font: 600 .8rem var(--caps); letter-spacing: .1em; color: var(--ink); text-decoration: none; }
body.v4 .shop4-nav a:hover { border-left-color: var(--gold); color: var(--strong); }
body.v4 .shop4-fin p { margin: 0 0 .5rem; font-size: .98rem; color: var(--muted); }
body.v4 .shop4-fin .dots { gap: .4rem; }
body.v4 .shop4-fin .dots .chip { width: 1.4rem; height: 1.4rem; }
body.v4 .shop4-fin .shop4-fin-names { margin: .45rem 0 0; font-size: .92rem; }
body.v4 .shop4-build { display: block; padding: 1.1rem; background: var(--s-slate); color: var(--s-cream-2); text-decoration: none; border-bottom: 3px solid var(--gold); }
body.v4 .shop4-build strong { display: block; font: 700 .82rem var(--caps); letter-spacing: .08em; color: #eeeeee; }
body.v4 .shop4-build span { display: block; margin-top: .35rem; font-size: .98rem; line-height: 1.45; }
body.v4 .shop4-build:hover strong { color: #c5c5c5; }
body.v4 .shop4 .shelves { display: grid; gap: 3rem; }
body.v4 .shop4 .shelf { display: block; padding-top: 0; border-top: 0; scroll-margin-top: 9rem; }
body.v4 .shop4 .shelf-head { margin-bottom: 1.25rem; }
body.v4 .shop4 .shelf-head h2 { margin: 0; font-size: 1.6rem; }
body.v4 .shop4 .shelf-head p { margin: .35rem 0 0; color: var(--muted); }
body.v4 .shop4 .shelf-cards { grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) {
  body.v4 .shop4 { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1.5rem; }
  body.v4 .shop4-side { position: static; }
  body.v4 .shop4-nav { display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--rule); }
  body.v4 .shop4-nav a { flex: none; margin: 0 0 -2px; padding: .6rem .9rem; border-left: 0; border-bottom: 2px solid transparent; }
  body.v4 .shop4-nav a:hover { border-bottom-color: var(--gold); }
  body.v4 .shop4-fin, body.v4 .shop4-build { display: none; }
  body.v4 .shop4 .shelf-cards { grid-template-columns: 1fr 1fr; gap: 1rem .8rem; }
}

/* ---------- cards everywhere: sheet with a gold foot ---------- */
body.v4:not(.is-dash) .pcard { border-bottom: 3px solid var(--gold) !important; }

/* ---------- product page ---------- */
body.v4 .pd-gallery { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: .75rem; align-content: start; }
body.v4 .pd-gallery > .photo { grid-column: 2; grid-row: 1; }
body.v4 .pd-gallery > .thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: .6rem; margin: 0; }
body.v4 .pd-gallery > .thumbs button { width: 100%; }
body.v4 .pd-gallery > .x-note { grid-column: 2; }
body.v4 .pd-buy .buybox { padding: 0 !important; border: 0 !important; background: none !important; }
body.v4 .pd-buy .buybox h1 { padding-top: 1.1rem; border-top: 3px solid var(--gold); font-size: clamp(2rem, 3.6vw, 2.9rem); }
body.v4 .pd4-tabs { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
body.v4 .pd4-tabs .wrap { display: flex; justify-content: center; gap: clamp(.5rem, 3vw, 2.5rem); overflow-x: auto; }
body.v4 .pd4-tabs a { flex: none; padding: 1rem .4rem; border-bottom: 2px solid transparent; margin-bottom: -1px; font: 600 .8rem var(--caps); letter-spacing: .1em; color: var(--ink); text-decoration: none; }
body.v4 .pd4-tabs a:hover { color: var(--strong); border-bottom-color: var(--gold); }
body.v4 .pd-detail, body.v4 #setup, body.v4 #reviews, body.v4 #related { scroll-margin-top: 8.5rem; }
@media (max-width: 900px) {
  body.v4 .pd-gallery { grid-template-columns: 1fr; }
  body.v4 .pd-gallery > .photo { grid-column: 1; }
  body.v4 .pd-gallery > .thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
  body.v4 .pd-gallery > .thumbs button { width: 4.5rem; flex: none; }
  body.v4 .pd-gallery > .x-note { grid-column: 1; }
  body.v4 .pd4-tabs .wrap { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  body.v4 .hd4 .hd-top, body.v4 .hd4 .wordmark, body.v4 .hd4 .wordmark .mark, body.v4 .hd4 .hd-note { transition: none; }
}
body.v4 .shop4-fin .dots { display: flex; }
body.v4 .shop4-fin .dots .chip { display: inline-block; border-radius: 50%; border: 1px solid var(--rule); }
@media (min-width: 901px) { body.v4 .pd-gallery { position: sticky; top: 8.5rem; } }

/* ---------- inner pages: open panels that start on a gold rule instead of boxed cards ---------- */
body.v4:not(.is-dash) .form-panel, body.v4:not(.is-dash) .follow-card, body.v4:not(.is-dash) .cart-summary,
body.v4:not(.is-dash) .os-card, body.v4:not(.is-dash) .acct-card, body.v4:not(.is-dash) .pol-body,
body.v4:not(.is-dash) .sheet-prose, body.v4:not(.is-dash) .faq-wrap .faq-list, body.v4:not(.is-dash) .os-form, body.v4:not(.is-dash) .page-body > .wrap.prose {
  padding: 1.4rem 0 0 !important; background: none !important; border: 0 !important; border-top: 3px solid var(--gold) !important; box-shadow: none !important;
}
body.v4:not(.is-dash) .follow-card { padding-bottom: 0 !important; }
body.v4:not(.is-dash) .faq-side { gap: 2rem; }
body.v4:not(.is-dash) .cart-list > * { background: none !important; border: 0 !important; border-bottom: 1px solid var(--rule) !important; }
body.v4:not(.is-dash) .acct-stats > * { background: none !important; border: 0 !important; border-left: 2px solid var(--gold) !important; }
body.v4 .ab-hero { background: none !important; border-bottom: 1px solid var(--rule); }
body.v4 .ab-cols > div { border-top-width: 3px !important; }

/* ---------- Oct 23 follow-up: no decorative lines; pieces in a centred grid ---------- */
body.v4:not(.is-dash) .s-head-row > h2::after, body.v4:not(.is-dash) .s-head-row > div:first-child > h2::after,
body.v4:not(.is-dash) .rail-head > h2::after, body.v4:not(.is-dash) .shop4 .shelf-head h2::after,
body.v4:not(.is-dash) .band h1::after, body.v4:not(.is-dash) .x-title h1::after, body.v4 .steps.steps-4::before { content: none !important; display: none !important; }
body.v4:not(.is-dash) .pcard { border-bottom: 1px solid var(--rule) !important; }
body.v4 .bundle-mini { border-top: 1px solid var(--rule) !important; }
body.v4:not(.is-dash) .form-panel, body.v4:not(.is-dash) .follow-card, body.v4:not(.is-dash) .cart-summary,
body.v4:not(.is-dash) .os-card, body.v4:not(.is-dash) .acct-card, body.v4:not(.is-dash) .pol-body,
body.v4:not(.is-dash) .sheet-prose, body.v4:not(.is-dash) .faq-wrap .faq-list, body.v4:not(.is-dash) .os-form { border-top: 0 !important; padding-top: 0 !important; }
body.v4:not(.is-dash) .acct-stats > * { border-left: 0 !important; }
body.v4 .pd-buy .buybox h1 { border-top: 0; padding-top: 0; }
body.v4 .h4-center { text-align: center; }
body.v4 .h4-pieces .s-head p { margin: .5rem auto 0; color: var(--muted); }
body.v4 .h4-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 2rem 0; }
body.v4 .h4-grid .pcard { flex: 0 1 15.5rem; background: var(--s-sheet); border: 1px solid var(--rule); padding-bottom: 1rem; }
body.v4 .h4-grid .pcard-body { padding: .9rem 1rem 0; }
@media (max-width: 560px) { body.v4 .h4-grid { gap: 1rem .8rem; } body.v4 .h4-grid .pcard { flex-basis: calc(50% - .4rem); } }
body.v4 .h4-pieces .s-head { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }
body.v4 .shop4-build { border-bottom: 0; }

/* ---------- background patterns (Oct 23): a faint shower-tile grid on the sand,
   a soft diamond pattern on the darker sand bands ---------- */
body.v4:not(.is-dash) {
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M0 .5H72M.5 0V72' fill='none' stroke='%23A98438' stroke-opacity='.16' stroke-width='1'/%3E%3Cpath d='M36 32.5 39.5 36 36 39.5 32.5 36Z' fill='%23C9A055' fill-opacity='.18'/%3E%3C/svg%3E");
  --diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 2 26 14 14 26 2 14Z' fill='none' stroke='%23A98438' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(163,163,163,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 45%, rgba(163,163,163,.08), transparent 60%),
    var(--tile), var(--s-sand);
  background-attachment: fixed, fixed, scroll, scroll;
}
body.v4 .h4-notify, body.v4 .h4-pieces { position: relative; }
body.v4 .h4-pieces { background: var(--diamond), var(--s-panel); padding-top: var(--s-sec); padding-bottom: var(--s-sec); margin-top: 0; max-width: none; }
body.v4 .h4-notify { background: var(--diamond), var(--s-panel); }
body.v4 .band, body.v4 .s-pagehead { background: var(--diamond), rgba(223,223,223,.65) !important; }
body.v4 .hd4 { background: rgba(234,234,234,.97); }
body.v4 .bundle-band.h4-bundles { margin-top: var(--s-sec); }

/* ---------- Oct 23: no lines under products, bundles or photos ---------- */
body.v4:not(.is-dash) .pcard, body.v4:not(.is-dash) .pcard-body, body.v4:not(.is-dash) .pcard-img,
body.v4 .h4-grid .pcard, body.v4 .bundle-mini, body.v4 .bundle, body.v4 .bundle-minis > *,
body.v4:not(.is-dash) .card-link { border: 0 !important; border-bottom: 0 !important; box-shadow: none !important; }
body.v4 .h4-grid .pcard, body.v4 .bundle-mini { background: var(--s-sheet) !important; }
body.v4:not(.is-dash) .x-more { border-bottom: 0 !important; background: none !important; text-decoration: none; }
body.v4:not(.is-dash) .x-more:hover { color: var(--strong); }
body.v4:not(.is-dash) .shelf, body.v4:not(.is-dash) .shelf-cards { border: 0 !important; }
/* pattern without lines: small gold diamonds on the sand */
body.v4:not(.is-dash) {
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M12 8.5 15.5 12 12 15.5 8.5 12Z' fill='%23C9A055' fill-opacity='.22'/%3E%3Cpath d='M36 34 38 36 36 38 34 36Z' fill='%23A98438' fill-opacity='.18'/%3E%3C/svg%3E");
}
body.v4:not(.is-dash) .x-est { border-left: 0 !important; }
body.v4 .hd-tool.header-cta { box-shadow: none !important; }
body.v4 .shop4-nav, body.v4 .shop4-nav a { border-left: 0 !important; border-bottom: 0 !important; }
body.v4 .shop4-nav a { padding-left: 0; }
body.v4 .shop4-nav a:hover { color: var(--gold-text); }

/* =====================================================================
   Speed (Oct 23): the site felt laggy. Nothing below changes the look at rest.
   - backgrounds scroll with the page (fixed backgrounds repaint the whole screen every frame)
   - no blur behind the header (backdrop-filter is expensive while scrolling)
   - the header no longer animates its height when you scroll (that re-laid out the page each frame)
   - the gold shine runs once when the page opens and on hover, not on a loop forever
   ===================================================================== */
body.v4:not(.is-dash) { background-attachment: scroll, scroll, scroll, scroll !important; }
body.v4 .site-header, body.v4 .hd4 { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.v4 .hd4 .hd-top, body.v4 .hd4 .wordmark, body.v4 .hd4 .wordmark .mark { transition: none !important; }
body.v4 .hd4.scrolled .hd-top { min-height: var(--hd-top); }
body.v4 .hd4.scrolled .wordmark { --wm: 2.9rem; }
@media (max-width: 860px) { body.v4 .hd4.scrolled .hd-top { min-height: 3.9rem; } body.v4 .hd4.scrolled .wordmark { --wm: 2.2rem; } }
/* shine: once on load, then only on hover */
.mark .mark-shine { animation-iteration-count: 1 !important; }
.wordmark:hover .mark .mark-shine, .dash-logo:hover .mark .mark-shine { animation: mp-mark 1.4s ease-in-out 0s 1 !important; }
body.v3 .wordmark span { animation-iteration-count: 1 !important; }
body.v3 .wordmark:hover span { animation: mp-word 1.4s ease-in-out .15s 1 !important; }
body.v3 .s-actions .btn:not(.btn-ghost)::after, body.v3 .pd-buy .qty-row .btn::after, body.v3 .s-band .btn::after,
body.v3 .cart-summary .btn::after, body.v3 #checkout-btn::after { animation: none !important; }
.mark .mark-shine { animation: mp-mark 2.4s ease-in-out .5s 1 !important; }
body.v3 .wordmark span { animation: mp-word 2.4s ease-in-out .65s 1 !important; }

/* Speed fix 2: the pattern lives on its own fixed layer that the browser paints once,
   instead of on the page background (which was re-painted over the whole long page). */
body.v4:not(.is-dash) { background: var(--s-sand) !important; }
body.v4:not(.is-dash)::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(163,163,163,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 45%, rgba(163,163,163,.08), transparent 60%),
    var(--tile);
}
body.v4:not(.is-dash) > main, body.v4:not(.is-dash) > header, body.v4:not(.is-dash) > footer { position: relative; }
body.v4 .hd4 { position: sticky; }
html:has(body.v4:not(.is-dash)) { background: #eaeaea; }
body.v4:not(.is-dash) { background: transparent !important; }
body.v4:not(.is-dash)::before { display: block !important; }

/* ---------- Website editor hooks (Oct 23) ---------- */
/* roundness: one setting for buttons, cards, photos and fields (0 = square, the default) */
body.v4:not(.is-dash) :is(.btn, .pcard, .bundle-mini, .bundle, input:not([type=radio]):not([type=checkbox]), select, textarea, .follow-link, .social-link, .x-3d, .heart-text, .hd-tool.header-cta, .shop4-build, .rail-btn, .bundle-teaser, .x-est, .h4-hero-pic img, .photo, .photo img, .thumbs button, .thumbs img, .ab-photo img, .cart-summary, .form-panel, .bundle-badge, .sale-tag, .pcard-kicker) { border-radius: var(--ed-r, 0px) !important; }
body.v4:not(.is-dash) .pcard { overflow: hidden; }
body.v4:not(.is-dash) .pcard-img, body.v4:not(.is-dash) .pcard-img img { border-radius: var(--ed-r, 0px) var(--ed-r, 0px) 0 0 !important; }
/* top banner */
.ed-bar { background: var(--s-slate, #2f2f2f); text-align: center; }
.ed-bar[hidden] { display: none; }
body .ed-bar .ed-bar-in { display: block; padding: .5rem var(--gutter, 1rem); color: #eaeaea; font: 400 1rem/1.4 var(--text); text-decoration: none; }
body .ed-bar a.ed-bar-in[href]:hover { color: #c5c5c5; text-decoration: underline; }
/* preview badge */
.ed-preview-badge { position: fixed; z-index: 200; left: 1rem; bottom: 1rem; padding: .55rem .9rem; background: #2f2f2f; color: #eaeaea; font: 600 .9rem var(--text); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
[data-sect][hidden] { display: none !important; }

/* Oct 23: no decorative gold lines anywhere (Jake). */
body.v4 :is(.order-card, .order-row, .slip-tips, .acct-stats div, .x-points div, .x-est, .os-card, .sb-price, .facts div, .s-points div, .pd-know div, .ab-cols > div) { border-left: 0 !important; border-top: 0 !important; }
body.v4 :is(.cart-toast, .site-footer, .label-preview, .pf-preview) { border-top: 0 !important; }
body.v4 .bundle-teaser span { border-bottom: 0 !important; }
body.v4 .ft4 .ft-brand { border-bottom: 0 !important; }
body.v4 .pd-buy .buybox h1 { border-top: 0 !important; }

/* ---------- bundles page (Oct 23): cards line up, never touch, photos in one even row ---------- */
body.v4 .bundles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)) !important; gap: 2rem !important; align-items: stretch !important; }
body.v4 .bundle { height: 100%; margin: 0 !important; padding: 1.1rem 1.1rem 1.4rem !important; }
body.v4 .bundle > .bundle-buy { margin-top: auto; }
body.v4 .bundle-pics { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .4rem; }
body.v4 .bundle-pics figure { grid-column: auto !important; }
body.v4 .bundle-pics img { aspect-ratio: 1 / 1; }
body.v4 .bundle-pics:has(figure:nth-child(4)) figcaption { display: none; }
body.v4 .bundle-pics img { aspect-ratio: auto; height: 6.5rem; }
body.v4 .bundle > .bundle-info { display: flex; flex-direction: column; flex: 1 1 auto; }
body.v4 .bundle-info > .bundle-price { margin-top: auto; padding-top: .5rem; }
body.v4 .bundle > .bundle-buy { margin-top: 0; }
body.v4 .bundle-info > .bundle-badge { align-self: flex-start; }
/* roundness reaches every photo and panel (Oct 23 fix) */
body.v4:not(.is-dash) main img:not(.mark) { border-radius: var(--ed-r, 0px) !important; }
body.v4:not(.is-dash) :is(.cart-item, .follow-card, .faq-list, .qa, .h4-notify .notify input, .acct-card, .os-card, .os-form, .rv-form-box, .pd-specs, .x-included, .bundle-pics figure, .sb-view, .sb-panel, .sb-piece, .steps li, .order-row, .order-card) { border-radius: var(--ed-r, 0px) !important; }
body.v4:not(.is-dash) .bundle-pics figure { overflow: hidden; }
body.v4:not(.is-dash) .h4-build { border-radius: 0 !important; }

/* ===== Cart: free-shipping meter + complete your set (Oct 24) ===== */
.ship-meter { background: rgba(var(--gold-rgb),.1); padding: .9rem 1.1rem; margin: 0 0 1.25rem; border-radius: var(--ed-r, 0); }
.ship-meter-text { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--strong, var(--ink)); font-weight: 500; }
.ship-bar { height: 8px; background: rgba(var(--gold-rgb),.22); overflow: hidden; border-radius: var(--ed-r, 0); }
.ship-bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s ease; }
.ship-meter.is-free .ship-bar span { background: var(--success); }
.cart-upsell { margin-top: 2.25rem; }
.cart-upsell h2 { font-size: 1.35rem; margin: 0 0 .2rem; }
.cart-upsell > .muted { margin: 0 0 1rem; }
.upsell-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.upsell-card { display: flex; flex-direction: column; gap: .35rem; background: var(--card, rgba(250,250,250,.55)); padding: .75rem; border-radius: var(--ed-r, 0); }
.upsell-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--ed-r, 0); }
.upsell-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upsell-name { font-weight: 600; color: var(--strong, var(--ink)); text-decoration: none; }
.upsell-name:hover, .upsell-name:focus-visible { text-decoration: underline; }
.upsell-price { margin: 0; color: var(--muted); font-size: .98rem; }
.upsell-free { margin: 0; font-size: .9rem; color: var(--success); font-weight: 600; }
.upsell-card .btn { margin-top: auto; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .ship-bar span { transition: none; } }
@media (max-width: 640px) {
  .upsell-grid { grid-template-columns: 1fr; gap: .6rem; }
  .upsell-card { display: grid; grid-template-columns: 5.5rem 1fr auto; grid-template-rows: auto auto; column-gap: .8rem; row-gap: .1rem; align-items: center; padding: .55rem; }
  .upsell-img { grid-row: 1 / span 2; }
  .upsell-name { grid-column: 2; align-self: end; }
  .upsell-price { grid-column: 2; align-self: start; font-size: .92rem; }
  .upsell-free { grid-column: 2 / span 2; }
  .upsell-card .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; align-self: center; padding-inline: .7rem; }
}
@media (max-width: 640px) { .upsell-name { line-height: 1.25; } .upsell-card .btn { padding-inline: 1rem; } }

/* /assets/css/dashboard.css */
/* MPrints owner dashboard, layout v7 (Oct 18): dark slate sidebar with every tab, a work board on Today,
   compact tables everywhere. Same palette and type as the shop: sand, deep slate, gold; Cinzel + EB Garamond.
   Loaded only on /admin/, after site.css, layout.css and store.css. */

body.is-dash {
  --d-side: #2f2f2f; --d-side-2: #262626; --d-side-ink: #dadada; --d-side-muted: #ababab;
  --d-sheet: #f6f6f6; --d-tint: #eeeeee; --d-panel: #dfdfdf;
  --d-line: rgba(92,92,92,.22); --d-line-2: rgba(92,92,92,.12);
  --d-r: 0; --d-r-sm: 0;
  background: #eaeaea; margin: 0;
}
body.is-dash main { display: block; margin: 0; padding: 0; }
body.is-dash .dash { padding: 0; margin: 0; }
body.is-dash .dash *:not(.dash-head h2):not(.bd-head h3) { text-transform: none; }
.dash { --gutter: clamp(1rem, 2.6vw, 2.25rem); font-size: 1rem; color: var(--ink); }
body.is-dash .dash .small { font-size: .9rem; }
body.is-dash .dash .muted { color: var(--muted); }
body.is-dash .dash .err { color: var(--err); }
body.is-dash .dash .mt { margin-top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.is-dash .dash .dash-msg { max-width: 40rem; margin: 4rem auto; padding: 0 1rem; text-align: center; }

/* ================= shell ================= */
body.is-dash .dash .dash-grid:not([hidden]) { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; }
body.is-dash .dash .dash-main { min-width: 0; padding: 1.6rem var(--gutter) 4rem; max-width: 96rem; }
body.is-dash .dash .dash-mbar, body.is-dash .dash .dash-scrim, body.is-dash .dash .dash-menu-x { display: none; }

/* sidebar */
body.is-dash .dash .dash-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: .9rem; padding: 1.1rem .75rem 1rem; background: var(--d-side); background-image: var(--lattice); color: var(--d-side-ink); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
body.is-dash .dash .dash-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 .4rem; }
body.is-dash .dash .dash-logo { display: inline-flex; align-items: center; gap: .1rem; text-decoration: none; color: #eaeaea; font: 700 1.2rem var(--caps); letter-spacing: .12em; }
body.is-dash .dash .dash-logo .mark { width: 2.2rem; height: 2.2rem; }
body.is-dash .dash .dash-find { position: relative; display: flex; align-items: center; margin: 0; }
body.is-dash .dash .dash-find .dn-ic { position: absolute; left: .7rem; width: 1rem; height: 1rem; color: var(--d-side-muted); pointer-events: none; }
body.is-dash .dash .dash-find input[type="search"] { width: 100%; height: 2.4rem; padding: 0 .75rem 0 2.15rem; border-radius: var(--d-r-sm); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #eaeaea; font: 400 .98rem var(--text); }
body.is-dash .dash .dash-find input::placeholder { color: var(--d-side-muted); }
body.is-dash .dash .dash-find input:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; background: rgba(255,255,255,.1); }
body.is-dash .dash .dash-find .btn { display: none; }
body.is-dash .dash .dash-nav { display: flex; flex-direction: column; gap: .15rem; flex: 1 1 auto; }
body.is-dash .dash .dash-sub { display: flex; flex-direction: column; gap: 1px; }
body.is-dash .dash .dash-sub + .dash-sub { margin-top: .55rem; }
body.is-dash .dash .dash-group { margin: 0 0 .2rem; padding: 0 .7rem; font: 700 .64rem var(--caps); letter-spacing: .16em; color: rgba(163,163,163,.85); }
body.is-dash .dash .dash-nav button { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .48rem .7rem; border: 0; border-radius: var(--d-r-sm); background: none; color: var(--d-side-ink); font: 500 1.02rem var(--text); text-align: left; cursor: pointer; position: relative; }
body.is-dash .dash .dash-nav button[hidden] { display: none; }
body.is-dash .dash .dash-nav button:hover { background: rgba(255,255,255,.06); color: #ffffff; }
body.is-dash .dash .dash-nav button[aria-selected="true"] { background: rgba(163,163,163,.16); color: #eeeeee; }
body.is-dash .dash .dash-nav button[aria-selected="true"]::before { content: ""; position: absolute; left: -.75rem; top: .35rem; bottom: .35rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
body.is-dash .dash .dn-ic { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
body.is-dash .dash .dn-label { flex: 1 1 auto; }
body.is-dash .dash .dash-nav .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.3rem; padding: 0 .4rem; border-radius: 999px; font: 700 .72rem var(--text); background: rgba(255,255,255,.1); color: var(--d-side-ink); }
body.is-dash .dash .dash-nav .count:not(.has), body.is-dash .dash .dash-nav .count[hidden] { display: none; }
body.is-dash .dash .dash-nav .count.has { background: var(--gold); color: #212121; }
body.is-dash .dash .dash-nav .count.quiet.has { background: rgba(255,255,255,.12); color: var(--d-side-ink); }
body.is-dash .dash .dash-nav .count.warn.has { background: #6d6d6d; color: #ffffff; }
body.is-dash .dash .dash-side-foot { display: grid; gap: 1px; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.1); }
body.is-dash .dash .dash-shoplink { margin: 0; width: 100%; letter-spacing: 0; display: flex; align-items: center; gap: .65rem; padding: .45rem .7rem; border: 0; border-radius: var(--d-r-sm); background: none; color: var(--d-side-muted); font: 400 .95rem var(--text); text-decoration: none; cursor: pointer; text-align: left; }
body.is-dash .dash .dash-shoplink:hover { color: #ffffff; background: rgba(255,255,255,.06); }
body.is-dash .dash .dash-side :focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ================= panel frame ================= */
body.is-dash .dash .dash-panel { margin: 0; }
body.is-dash .dash .dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin: 0 0 1.1rem; }
body.is-dash .dash .dash-head h2 { margin: 0; font: 700 1.55rem/1.15 var(--caps); letter-spacing: .04em; color: var(--strong); }
body.is-dash .dash .dash-date { margin: .2rem 0 0; color: var(--muted); font-size: 1rem; }
body.is-dash .dash .dash-intro { margin: -.6rem 0 1.1rem; max-width: 46rem; color: var(--muted); font-size: .98rem; }
body.is-dash .dash .dash-intro .linkish { font-size: inherit; }
body.is-dash .dash .dash-panel > p.muted { margin: 0 0 1rem; max-width: 46rem; font-size: .98rem; }
body.is-dash .dash .dash-box { background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); padding: 1rem 1.1rem; margin: 0 0 1rem; }
body.is-dash .dash .dash-box h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font: 700 .95rem var(--caps); letter-spacing: .05em; color: var(--strong); }
body.is-dash .dash .dash-box h3.mt { margin-top: 1.3rem; }
body.is-dash .dash .dash-box h4 { margin: 1rem 0 .45rem; font: 600 .95rem var(--text); color: var(--strong); letter-spacing: 0; text-transform: none; }
body.is-dash .dash .box-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .5rem; }
body.is-dash .dash .box-head h3 { margin: 0; }
body.is-dash .dash .dash-box .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.3rem; padding: 0 .35rem; border-radius: 999px; background: rgba(var(--gold-rgb),.18); color: var(--gold-text); font: 700 .72rem var(--text); }
body.is-dash .dash .linkish { background: none; border: 0; padding: 0; color: var(--gold-text); font: inherit; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb),.45); text-underline-offset: .2em; cursor: pointer; }
body.is-dash .dash .linkish:hover { color: var(--gold-deep); }

/* ================= controls ================= */
body.is-dash .dash .btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 0; margin: 0; padding: .55rem 1rem; border: 1px solid var(--gold); border-radius: var(--d-r-sm); background: var(--gold); color: #212121; font: 600 .95rem/1.1 var(--text); letter-spacing: .01em; text-transform: none; box-shadow: none; white-space: nowrap; cursor: pointer; text-decoration: none; }
body.is-dash .dash .btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
body.is-dash .dash .btn-ghost { background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.55); }
body.is-dash .dash .btn-ghost:hover { background: rgba(var(--gold-rgb),.1); color: var(--strong); border-color: var(--gold); }
body.is-dash .dash .btn-sm { padding: .38rem .7rem; font-size: .88rem; }
body.is-dash .dash .btn:disabled, body.is-dash .dash .btn.disabled { opacity: .5; pointer-events: none; }
body.is-dash .dash .btn.danger, body.is-dash .dash .btn-ghost.danger { color: var(--err); border-color: rgba(var(--err-rgb),.45); background: transparent; }
body.is-dash .dash .btn.danger:hover { background: rgba(var(--err-rgb),.08); }
body.is-dash .dash .field { margin: 0 0 .8rem; }
body.is-dash .dash .field label, body.is-dash .dash .chk { display: block; margin: 0 0 .3rem; font: 600 .9rem var(--text); letter-spacing: 0; text-transform: none; color: var(--muted); }
body.is-dash .dash .field.inline { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0; }
body.is-dash .dash .field.inline label { margin: 0; }
body.is-dash .dash .field.inline input { width: 5.5rem; }
body.is-dash .dash .chk { display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: var(--ink); cursor: pointer; }
body.is-dash .dash .chk input { accent-color: var(--gold); width: 1.05rem; height: 1.05rem; margin: 0; }
body.is-dash .dash input[type="search"], body.is-dash .dash input[type="text"], body.is-dash .dash input[type="number"], body.is-dash .dash input[type="email"], body.is-dash .dash input[type="date"], body.is-dash .dash select, body.is-dash .dash textarea {
  width: 100%; min-width: 0; box-sizing: border-box; padding: .45rem .65rem; border: 1px solid rgba(var(--gold-rgb),.35); border-radius: var(--d-r-sm); background: #fcfcfc; color: var(--ink); font: 400 1rem var(--text); }
body.is-dash .dash .dash-side input[type="search"] { background: rgba(255,255,255,.06); color: #eaeaea; }
body.is-dash .dash input:focus-visible, body.is-dash .dash select:focus-visible, body.is-dash .dash textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
body.is-dash .dash .money-wrap { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem; max-width: 8rem; }
body.is-dash .dash .money-wrap span, body.is-dash .dash .pct-row span { color: var(--muted); }
body.is-dash .dash .pct-row { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: .35rem; }
body.is-dash .dash .pct-row input { width: 4.6rem; }

/* tabs: one underlined row */
body.is-dash .dash .dash-tabs { display: flex; flex-wrap: wrap; gap: 0 .2rem; margin: 0 0 .9rem; padding: 0; border-bottom: 1px solid var(--d-line); }
body.is-dash .dash .dash-tabs.small { border-bottom: 0; gap: .3rem; margin-top: -.3rem; }
body.is-dash .dash .dash-tab { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 -1px; padding: .5rem .7rem .55rem; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 600 .97rem var(--text); letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
body.is-dash .dash .dash-tab:hover { color: var(--strong); }
body.is-dash .dash .dash-tab[aria-selected="true"] { color: var(--strong); border-bottom-color: var(--gold); }
body.is-dash .dash .dash-tabs.small .dash-tab { margin: 0; padding: .25rem .65rem; border: 1px solid var(--d-line); border-radius: 999px; font-size: .88rem; }
body.is-dash .dash .dash-tabs.small .dash-tab[aria-selected="true"] { background: var(--strong); border-color: var(--strong); color: #eaeaea; }
body.is-dash .dash .dash-tab .count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.25rem; padding: 0 .35rem; border-radius: 999px; background: rgba(var(--ink-rgb),.08); font: 700 .72rem var(--text); color: inherit; }
body.is-dash .dash .dash-tab[aria-selected="true"] .count { background: var(--gold); color: #212121; }
body.is-dash .dash .dash-tabs.small .dash-tab[aria-selected="true"] .count { background: rgba(255,255,255,.18); color: inherit; }
body.is-dash .dash .dash-tab.attn .count { background: rgba(var(--err-rgb),.14); color: var(--err); }
body.is-dash .dash .dash-tools { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: .5rem; margin: 0 0 .8rem; }

/* status badges: a colored dot + word */
body.is-dash .dash .badge { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem .12rem .45rem; border: 0; border-radius: 999px; background: rgba(var(--ink-rgb),.07); color: var(--ink); font: 600 .8rem var(--text); letter-spacing: 0; text-transform: none; white-space: nowrap; }
body.is-dash .dash .badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; opacity: .9; }
body.is-dash .dash .badge-paid { color: #5c5c5c; background: rgba(var(--gold-rgb),.16); }
body.is-dash .dash .badge-in_production { color: #595959; background: rgba(89,89,89,.1); }
body.is-dash .dash .badge-shipped { color: #5c5c5c; background: rgba(92,92,92,.1); }
body.is-dash .dash .badge-delivered { color: #666666; background: rgba(102,102,102,.1); }
body.is-dash .dash .badge-refunded, body.is-dash .dash .badge-canceled { color: #4b4b4b; background: rgba(var(--err-rgb),.08); }
body.is-dash .dash .badge-pending { color: var(--muted); }
body.is-dash .dash .delay-badge, body.is-dash .dash .coupon-badge, body.is-dash .dash .bundle-badge-sm, body.is-dash .dash .sale-pill, body.is-dash .dash .changed-pill, body.is-dash .dash .state-pill, body.is-dash .dash .order-ref, body.is-dash .dash .lk-badge, body.is-dash .dash .stock-state {
  display: inline-block; padding: .08rem .45rem; border: 1px solid; border-radius: 4px; font: 600 .78rem var(--text); letter-spacing: 0; text-transform: none; white-space: nowrap; vertical-align: middle; }
body.is-dash .dash .delay-badge { color: var(--err); border-color: rgba(var(--err-rgb),.4); background: rgba(var(--err-rgb),.05); }
body.is-dash .dash .coupon-badge { color: var(--ok); border-color: rgba(var(--ok-rgb),.35); background: rgba(var(--ok-rgb),.05); }
body.is-dash .dash .ship-by { font-size: .88rem; color: var(--muted); white-space: nowrap; }
body.is-dash .dash .ship-by.due { color: var(--gold-text); font-weight: 600; }
body.is-dash .dash .ship-by.late { color: var(--err); font-weight: 600; }
body.is-dash .dash .finish-tag { display: inline-block; padding: .05rem .4rem; margin-left: .15rem; border-radius: 3px; font: 600 .74rem var(--text); letter-spacing: 0; text-transform: none; vertical-align: middle; }
body.is-dash .dash .oc-warn { margin: 0; padding: .45rem .9rem; background: #434343; color: #ffffff; font-weight: 600; font-size: .95rem; }

/* ================= Today ================= */
body.is-dash .dash .ov-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
body.is-dash .dash .ov-q { padding: .35rem .75rem; border: 1px solid var(--d-line); border-radius: 999px; background: var(--d-sheet); color: var(--ink); font: 500 .92rem var(--text); cursor: pointer; }
body.is-dash .dash .ov-q:hover { border-color: var(--gold); color: var(--strong); }
body.is-dash .dash .ov-q::before { content: "+"; margin-right: .35rem; color: var(--gold-text); font-weight: 700; }
body.is-dash .dash .ov-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 1.25rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .ov-stat { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: .05rem; padding: .75rem 1rem; border: 0; border-left: 1px solid var(--d-line-2); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
body.is-dash .dash .ov-stat:first-child { border-left: 0; }
body.is-dash .dash .ov-stat:hover { background: rgba(var(--gold-rgb),.07); }
body.is-dash .dash .ov-stat span { font-size: .88rem; color: var(--muted); }
body.is-dash .dash .ov-stat strong { font: 500 1.75rem/1.1 var(--text); color: var(--strong); font-variant-numeric: tabular-nums; }
body.is-dash .dash .ov-stat.is-late.has { background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .ov-stat.is-late.has strong, body.is-dash .dash .ov-stat.is-late.has span { color: var(--err); }

/* work board */
body.is-dash .dash .ov-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0 0 1.25rem; }
body.is-dash .dash .bd-col { display: flex; flex-direction: column; min-width: 0; padding: .7rem; border-radius: 12px; background: rgba(223,223,223,.7); border: 1px solid var(--d-line-2); }
body.is-dash .dash .bd-head { display: flex; align-items: center; gap: .5rem; padding: .1rem .2rem .55rem; }
body.is-dash .dash .bd-head h3 { margin: 0; font: 700 .9rem var(--caps); letter-spacing: .06em; color: var(--strong); }
body.is-dash .dash .bd-n { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.35rem; padding: 0 .4rem; border-radius: 999px; background: var(--d-sheet); font: 700 .78rem var(--text); color: var(--ink); }
body.is-dash .dash .bd-paid .bd-n { background: var(--gold); color: #212121; }
body.is-dash .dash .bd-all { margin-left: auto; font-size: .88rem; }
body.is-dash .dash .bd-list { display: grid; gap: .5rem; align-content: start; }
body.is-dash .dash .bd-card { padding: .6rem .7rem .55rem; border: 1px solid var(--d-line); border-radius: 8px; background: var(--d-sheet); cursor: pointer; }
body.is-dash .dash .bd-card:hover { border-color: var(--gold); }
body.is-dash .dash .bd-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
body.is-dash .dash .bd-card.is-attn { box-shadow: inset 3px 0 0 var(--err); }
body.is-dash .dash .bd-top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
body.is-dash .dash .bd-no { font-weight: 700; color: var(--strong); font-size: 1rem; }
body.is-dash .dash .bd-who { margin: .1rem 0 .25rem; color: var(--ink); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .bd-items { list-style: none; margin: 0 0 .45rem; padding: 0; font-size: .9rem; color: var(--muted); }
body.is-dash .dash .bd-items li { margin: .05rem 0; }
body.is-dash .dash .bd-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
body.is-dash .dash .bd-flags { display: flex; flex-wrap: wrap; gap: .25rem; }
body.is-dash .dash .bd-total { font-weight: 600; color: var(--strong); }
body.is-dash .dash .bd-empty { margin: 0; padding: .9rem .4rem; color: var(--muted); font-size: .92rem; font-style: italic; text-align: center; }
body.is-dash .dash .bd-more { padding: .4rem; border: 1px dashed var(--d-line); border-radius: 8px; background: none; color: var(--gold-text); font: 600 .9rem var(--text); cursor: pointer; }
body.is-dash .dash .bd-more:hover { border-color: var(--gold); }

body.is-dash .dash .ov-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: .9rem; }
body.is-dash .dash .ov-grid .dash-box { margin: 0; }
body.is-dash .dash .ov-list { display: grid; }
body.is-dash .dash .ov-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--d-line-2); font-size: .97rem; }
body.is-dash .dash .ov-row:first-child { border-top: 0; padding-top: .1rem; }
body.is-dash .dash .ov-row .what { min-width: 0; }
body.is-dash .dash .ov-row .what strong { color: var(--strong); }
body.is-dash .dash .ov-row .what .sub { display: block; color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .ov-row.late .what strong { color: var(--err); }
body.is-dash .dash .ov-list .btn { padding: .3rem .65rem; font-size: .85rem; background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.45); }
body.is-dash .dash .ov-list .btn:hover { background: rgba(var(--gold-rgb),.1); }
body.is-dash .dash .ov-empty { margin: 0; padding: .3rem 0; color: var(--muted); }
body.is-dash .dash .ov-pill { display: inline-block; margin-right: .4rem; padding: .02rem .45rem; border-radius: 4px; font: 600 .76rem var(--text); letter-spacing: 0; text-transform: none; border: 1px solid; vertical-align: 1px; }
body.is-dash .dash .ov-pill.late, body.is-dash .dash .ov-pill.delay { color: var(--err); border-color: rgba(var(--err-rgb),.4); background: rgba(var(--err-rgb),.05); }
body.is-dash .dash .ov-pill.due { color: #212121; background: var(--gold); border-color: var(--gold); }
body.is-dash .dash .ov-pill.low { color: var(--gold-text); border-color: rgba(var(--gold-rgb),.5); }
body.is-dash .dash .ov-pill.msg { color: #595959; border-color: rgba(89,89,89,.35); }
body.is-dash .dash .ov-pill.nonus { color: #ffffff; background: #434343; border-color: #434343; }

/* ================= orders ================= */
body.is-dash .dash .due-line { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 .8rem; }
body.is-dash .dash .due-line[hidden] { display: none; }
body.is-dash .dash .due-pill { padding: .15rem .6rem; border-radius: 999px; font: 600 .85rem var(--text); border: 1px solid; }
body.is-dash .dash .due-pill.late { color: var(--err); border-color: rgba(var(--err-rgb),.45); background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .due-pill.due { color: #212121; background: var(--gold); border-color: var(--gold); }
body.is-dash .dash .pq-status { margin: -.4rem 0 .7rem; }
body.is-dash .dash .pq-status:empty { display: none; }
body.is-dash .dash .order-list { display: block; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .order-list:empty { display: none; }
body.is-dash .dash .order-row { border: 0; border-top: 1px solid var(--d-line-2); background: none; box-shadow: inset 3px 0 0 transparent; }
body.is-dash .dash .order-row.status-refunded, body.is-dash .dash .order-row.status-canceled { opacity: .7; }
body.is-dash .dash .order-row:first-child { border-top: 0; }
body.is-dash .dash .order-row.is-attn { box-shadow: inset 3px 0 0 var(--err); }
body.is-dash .dash .order-row.open { background: rgba(var(--gold-rgb),.12); }
body.is-dash .dash .or-line { display: grid; grid-template-columns: 9.5rem minmax(7rem, 11rem) minmax(0, 1fr) 4.8rem 13rem; gap: .9rem; align-items: center; padding: .6rem .9rem; cursor: pointer; }
body.is-dash .dash .or-line:hover { background: rgba(var(--gold-rgb),.06); }
body.is-dash .dash .or-id { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
body.is-dash .dash .oc-no { color: var(--strong); font-size: 1rem; white-space: nowrap; }
body.is-dash .dash .oc-date { color: var(--muted); font-size: .85rem; }
body.is-dash .dash .or-flags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .15rem; }
body.is-dash .dash .or-cust { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .or-items { display: flex; flex-wrap: wrap; gap: .15rem .7rem; font-size: .93rem; }
body.is-dash .dash .or-chip { white-space: nowrap; }
body.is-dash .dash .or-chip.has-labels { white-space: normal; }
body.is-dash .dash .or-labels { display: block; color: var(--muted); font-size: .85rem; }
body.is-dash .dash .or-total { text-align: right; color: var(--strong); font-weight: 600; font-variant-numeric: tabular-nums; }
body.is-dash .dash .or-act { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
body.is-dash .dash .or-act .btn { padding: .32rem .65rem; font-size: .86rem; background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.5); }
body.is-dash .dash .or-act .btn:hover { background: rgba(var(--gold-rgb),.12); color: var(--strong); }
body.is-dash .dash .or-toggle { width: 1.6rem; height: 1.6rem; border: 0; background: none; color: var(--muted); cursor: pointer; position: relative; }
body.is-dash .dash .or-toggle::after { content: ""; position: absolute; inset: 0; margin: auto; width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
body.is-dash .dash .order-list.compact .or-act .btn { display: none; }
body.is-dash .dash .or-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
body.is-dash .dash .or-toolbar select { width: auto; }
body.is-dash .dash .oc-track-row { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
body.is-dash .dash .oc-track-row input { flex: 1 1 10rem; }
body.is-dash .dash .email-btns { display: flex; flex-wrap: wrap; gap: .35rem; }
body.is-dash .dash .or-files { padding: .75rem .9rem; border: 1px solid rgba(var(--ok-rgb),.35); border-radius: 8px; background: rgba(var(--ok-rgb),.05); }
body.is-dash .dash .or-files .pf-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 .45rem; }
body.is-dash .dash .or-files .pf-cups { margin: .25rem 0; font-weight: 600; }
body.is-dash .dash .or-print { padding: .75rem .9rem; border: 1px solid var(--d-line); border-radius: 8px; background: var(--d-tint); }

/* ================= order panel (drawer) ================= */
body.od-lock { overflow: hidden; }
.od-wrap[hidden] { display: none; }
.od-wrap { position: fixed; inset: 0; z-index: 200; }
.od-scrim { position: absolute; inset: 0; background: rgba(26,26,26,.45); animation: odFade .16s ease-out; }
.od { position: absolute; top: 0; right: 0; bottom: 0; width: min(38rem, 100vw); overflow-y: auto; overscroll-behavior: contain; background: #f6f6f6; color: var(--ink); box-shadow: -16px 0 40px rgba(26,26,26,.25); animation: odIn .2s ease-out; font-size: 1rem; }
@keyframes odIn { from { transform: translateX(2rem); } to { transform: none; } }
@keyframes odFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .od, .od-scrim { animation: none; } }
.od-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem .9rem; background: #2f2f2f; color: #eaeaea; }
.od-head h2 { margin: 0; font: 700 1.4rem/1.1 var(--caps); letter-spacing: .05em; color: #eeeeee; }
.od-sub { margin: .3rem 0 .5rem; color: #c2c2c2; font-size: .98rem; }
.od-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.od-head .ship-by { color: #c5c5c5; }
.od-head .ship-by.late { color: #c3c3c3; }
.od-close { flex: none; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: none; color: #eaeaea; font: 400 1.5rem/1 var(--text); cursor: pointer; }
.od-close:hover { background: rgba(255,255,255,.1); }
.od .oc-warn { margin: 0; }
.od-note { margin: .9rem 1.4rem 0; padding: .6rem .8rem; border-left: 3px solid var(--err); background: rgba(var(--err-rgb),.06); }
.od-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .9rem 1.4rem; border-bottom: 1px solid var(--d-line, rgba(92,92,92,.2)); }
.od .btn { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: .55rem 1rem; border-radius: 6px; font: 600 .95rem/1.1 var(--text); letter-spacing: .01em; text-transform: none; }
.od .btn-sm { padding: .35rem .7rem; font-size: .88rem; }
.od-menu { position: relative; margin-left: auto; }
.od-menu > summary { list-style: none; cursor: pointer; }
.od-menu > summary::-webkit-details-marker { display: none; }
.od-menu > summary::after { content: " \25BE"; }
.od-menu-list { position: absolute; z-index: 5; top: calc(100% + .3rem); right: 0; min-width: 16rem; display: grid; gap: .1rem; padding: .4rem; background: #fcfcfc; border: 1px solid rgba(92,92,92,.22); border-radius: 8px; box-shadow: 0 10px 24px rgba(26,26,26,.16); }
.od-menu-list select { width: 100%; margin: 0 0 .3rem; padding: .45rem .6rem; border-radius: 6px; border: 1px solid rgba(163,163,163,.4); font: 400 1rem var(--text); background: #fcfcfc; }
.od-mi { display: block; width: 100%; padding: .5rem .6rem; border: 0; border-radius: 5px; background: none; text-align: left; font: 400 1rem var(--text); color: var(--ink); text-decoration: none; cursor: pointer; }
.od-mi:hover { background: rgba(163,163,163,.12); color: var(--strong); }
.od-sec { padding: 1.05rem 1.4rem; border-bottom: 1px solid rgba(92,92,92,.14); }
.od-sec:last-child { border-bottom: 0; padding-bottom: 2.2rem; }
.od-sec h3 { margin: 0 0 .65rem; font: 700 .82rem var(--caps); letter-spacing: .08em; color: var(--gold-text); }
.od-sec h4 { margin: .9rem 0 .4rem; font: 600 .92rem var(--text); color: var(--strong); }
.od-sec.od-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.od-sec.od-two h3 { grid-column: 1 / -1; margin-bottom: -.4rem; }
.od-sec.od-two h4 { margin-top: 0; }
.od-items { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .4rem; }
.od-items li { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: 1.05rem; }
.od-qty { min-width: 1.8rem; font-weight: 700; color: var(--strong); }
.od-items .or-labels { flex-basis: 100%; margin-left: 2.25rem; font-size: .9rem; color: var(--muted); }
.od .or-files, .od .or-print { margin: 0; padding: .9rem 1rem; border-radius: 8px; }
.od .or-files { border: 1px solid rgba(92,92,92,.35); background: rgba(92,92,92,.05); }
.od .or-print { border: 1px solid rgba(92,92,92,.2); background: #eeeeee; }
.od .or-files h4, .od .or-print h4 { margin-top: 0; }
.od .pf-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 .45rem; }
.od-more { margin-top: .7rem; }
.od-more > summary { cursor: pointer; color: var(--muted); font-style: italic; }
.od .oc-addr { margin: 0 0 .35rem; line-height: 1.5; }
.od .oc-track-row { display: flex; gap: .4rem; margin-bottom: .35rem; }
.od .oc-track-row input { flex: 1 1 auto; min-width: 0; padding: .45rem .6rem; border: 1px solid rgba(163,163,163,.4); border-radius: 6px; font: 400 1rem var(--text); background: #fcfcfc; }
.od-email { display: inline-block; margin-bottom: .15rem; word-break: break-all; }
.od .email-btns { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }
.od-chip { display: inline-block; padding: .28rem .7rem; border: 1px solid rgba(92,92,92,.22); border-radius: 999px; background: #fcfcfc; color: var(--ink); font: 500 .9rem var(--text); text-decoration: none; }
.od-chip:hover { border-color: var(--gold); color: var(--strong); }
.od-chip.is-next { border-color: var(--gold); background: rgba(163,163,163,.14); }
.od-chip.disabled { opacity: .45; pointer-events: none; }
.od-money { margin: 0; display: grid; gap: .25rem; max-width: 22rem; }
.od-money div { display: flex; justify-content: space-between; gap: 1rem; }
.od-money dt { color: var(--muted); }
.od-money dd { margin: 0; font-variant-numeric: tabular-nums; }
.od-money .od-total { margin-top: .25rem; padding-top: .4rem; border-top: 1px solid rgba(92,92,92,.2); font-weight: 600; color: var(--strong); }
.od .badge { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem .12rem .45rem; border-radius: 999px; font: 600 .8rem var(--text); background: rgba(255,255,255,.12); color: #eaeaea; }
.od .badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #c5c5c5; }
.od .delay-badge, .od .coupon-badge { display: inline-block; padding: .08rem .45rem; border-radius: 4px; font: 600 .78rem var(--text); border: 1px solid rgba(255,255,255,.3); color: #eaeaea; }
.od .finish-tag { display: inline-block; padding: .05rem .4rem; border-radius: 3px; font: 600 .74rem var(--text); }
.od .linkish { background: none; border: 0; padding: 0; color: var(--gold-text); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ================= messages ================= */
body.is-dash .dash .msg-list { list-style: none; margin: 0; padding: 0; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .msg-list:empty { display: none; }
body.is-dash .dash .msg-item { display: block; padding: .8rem 1rem; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .msg-item:first-child { border-top: 0; }
body.is-dash .dash .msg-item.done { opacity: .6; }
body.is-dash .dash .msg-top { display: flex; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; margin-bottom: .3rem; }
body.is-dash .dash .msg-body { white-space: pre-wrap; margin: 0 0 .55rem; }
body.is-dash .dash .msg-actions { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
body.is-dash .dash .order-ref { margin-left: .4rem; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.45); }

/* ================= tables (stock, sales, prices, coupons, numbers, notify) ================= */
body.is-dash .dash .inv-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.is-dash .dash .stock-table, body.is-dash .dash .sale-table, body.is-dash .dash .price-table, body.is-dash .dash .coupon-table, body.is-dash .dash .admin-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
body.is-dash .dash .stock-table th, body.is-dash .dash .sale-table th, body.is-dash .dash .price-table th, body.is-dash .dash .coupon-table th, body.is-dash .dash .admin-table th { padding: .45rem .55rem; border-bottom: 1px solid var(--d-line); text-align: left; font: 600 .85rem var(--text); letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; }
body.is-dash .dash .stock-table td, body.is-dash .dash .sale-table td, body.is-dash .dash .price-table td, body.is-dash .dash .coupon-table td, body.is-dash .dash .admin-table td { padding: .45rem .55rem; border-bottom: 1px solid var(--d-line-2); vertical-align: middle; }
body.is-dash .dash .sale-table tr:last-child td, body.is-dash .dash .price-table tr:last-child td, body.is-dash .dash .coupon-table tr:last-child td, body.is-dash .dash .admin-table tr:last-child td { border-bottom: 0; }
body.is-dash .dash .sale-table tbody tr:hover td, body.is-dash .dash .price-table tbody tr:hover td, body.is-dash .dash .coupon-table tbody tr:hover td { background: rgba(var(--gold-rgb),.05); }
body.is-dash .dash .sale-table td, body.is-dash .dash .price-table td { white-space: nowrap; }
body.is-dash .dash .sale-table td:first-child, body.is-dash .dash .price-table td:first-child { white-space: normal; min-width: 9rem; font-weight: 600; color: var(--strong); }
body.is-dash .dash .sale-table tr.on td { background: rgba(var(--gold-rgb),.08); }
body.is-dash .dash .sale-table input.money-in, body.is-dash .dash .price-table input.money-in { width: 5.6rem; min-width: 5.6rem; }
body.is-dash .dash .sale-table input.pct-in { width: 3.8rem; min-width: 3.8rem; }
body.is-dash .dash .sale-table input.date-in { width: 9.4rem; min-width: 9.4rem; }
body.is-dash .dash .sale-table .sale-in { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
body.is-dash .dash .sale-table .money-wrap, body.is-dash .dash .price-table .money-wrap { display: inline-grid; max-width: none; }
body.is-dash .dash td.cp-acts { text-align: right; white-space: nowrap; }
body.is-dash .dash td.cp-acts .btn { margin-left: .3rem; }
body.is-dash .dash .pay-cell s { color: var(--muted); margin-right: .3rem; }
body.is-dash .dash .pay-cell .now { color: var(--gold-deep); font-weight: 600; }
body.is-dash .dash .sale-pill { margin-left: .45rem; color: var(--gold-deep); border-color: rgba(var(--gold-rgb),.55); }
body.is-dash .dash .changed-pill { margin-left: .45rem; color: var(--muted); border-color: rgba(var(--ink-rgb),.25); }
body.is-dash .dash .state-pill { margin-left: .45rem; }
body.is-dash .dash .state-pill.on, body.is-dash .dash .stock-state.in, body.is-dash .dash .lk-badge.on { color: var(--ok); border-color: rgba(var(--ok-rgb),.4); }
body.is-dash .dash .state-pill.off, body.is-dash .dash .lk-badge.guest { color: var(--muted); border-color: rgba(var(--ink-rgb),.25); }
body.is-dash .dash .stock-state.out, body.is-dash .dash .lk-badge.off { color: var(--err); border-color: rgba(var(--err-rgb),.45); }
body.is-dash .dash .sale-flag { padding: .1rem .55rem; border-radius: 999px; background: var(--gold); color: #212121; font: 600 .8rem var(--text); }
body.is-dash .dash .sale-store.on { box-shadow: inset 3px 0 0 var(--gold); }
body.is-dash .dash .bulk-sale { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.is-dash .dash .bulk-sale input[type="date"] { width: 10.5rem; }
body.is-dash .dash .cp-code { font: 600 1rem var(--text); letter-spacing: .06em; }
body.is-dash .dash .cp-note { display: block; color: var(--muted); font-size: .88rem; }
body.is-dash .dash .cn-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0 .9rem; }
body.is-dash .dash .coupon-row { display: flex; gap: .4rem; }

/* stock grid */
body.is-dash .dash .stock-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0 0 .6rem; font-size: .88rem; color: var(--muted); }
body.is-dash .dash .stock-legend span { display: inline-flex; align-items: center; gap: .4rem; }
body.is-dash .dash .lg { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; border: 1px solid rgba(var(--ink-rgb),.2); }
body.is-dash .dash .lg-ok { background: rgba(var(--ok-rgb),.2); } body.is-dash .dash .lg-low { background: rgba(var(--gold-rgb),.35); } body.is-dash .dash .lg-out { background: rgba(var(--err-rgb),.15); }
body.is-dash .dash .lg-closed { background: repeating-linear-gradient(45deg, rgba(var(--err-rgb),.3) 0 3px, transparent 3px 6px); }
body.is-dash .dash .stock-table { min-width: 50rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); border-collapse: separate; border-spacing: 0; overflow: hidden; }
body.is-dash .dash .stock-table th, body.is-dash .dash .stock-table td { text-align: center; }
body.is-dash .dash .stock-table th:first-child, body.is-dash .dash .stock-table td:first-child { text-align: left; padding-left: .9rem; }
body.is-dash .dash .stock-table tr:last-child td { border-bottom: 0; }
body.is-dash .dash .stock-table .fin-head { display: grid; gap: .25rem; justify-items: center; }
body.is-dash .dash .stock-table .piece-name { display: grid; gap: .1rem; }
body.is-dash .dash .stock-table .piece-name strong { color: var(--strong); }
body.is-dash .dash .stock-table .tog { padding: 0; border: 0; background: none; color: var(--muted); font: 500 .8rem var(--text); letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb),.35); text-underline-offset: .2em; opacity: .75; cursor: pointer; white-space: nowrap; }
body.is-dash .dash .stock-table tr:hover .tog, body.is-dash .dash .stock-table .tog:focus-visible, body.is-dash .dash .stock-table .tog.is-out { opacity: 1; }
body.is-dash .dash .stock-table .tog:hover { color: var(--gold-text); }
body.is-dash .dash .stock-table .tog.is-out { padding: .05rem .4rem; border: 1px solid rgba(var(--err-rgb),.45); border-radius: 4px; color: var(--err); text-decoration: none; }
body.is-dash .dash .stock-table .tog:disabled { opacity: .5; cursor: default; }
body.is-dash .dash .stock-table td.cell { padding: .4rem .3rem; }
body.is-dash .dash .stock-table td.cell.lvl-ok { background: rgba(var(--ok-rgb),.07); }
body.is-dash .dash .stock-table td.cell.lvl-low { background: rgba(var(--gold-rgb),.14); }
body.is-dash .dash .stock-table td.cell.lvl-out { background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .stock-table td.cell.is-closed { background: repeating-linear-gradient(45deg, rgba(var(--err-rgb),.15) 0 4px, rgba(var(--err-rgb),.03) 4px 8px); }
body.is-dash .dash .stock-table td.cell.is-closed-by { background: repeating-linear-gradient(45deg, rgba(var(--err-rgb),.09) 0 4px, transparent 4px 8px); }
body.is-dash .dash .inv-cell { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid rgba(var(--gold-rgb),.3); border-radius: 6px; background: #fcfcfc; }
body.is-dash .dash .inv-btn { width: 1.8rem; height: 2rem; border: 0; background: none; color: var(--gold-text); font: 700 1.05rem var(--text); cursor: pointer; }
body.is-dash .dash .inv-btn:hover { background: rgba(var(--gold-rgb),.12); }
body.is-dash .dash .inv-cell .inv-num { width: 2.8rem; height: 2rem; padding: 0; border: 0; border-left: 1px solid rgba(var(--gold-rgb),.2); border-right: 1px solid rgba(var(--gold-rgb),.2); border-radius: 0; background: #fcfcfc; color: var(--strong); text-align: center; font: 700 1rem var(--text); -moz-appearance: textfield; }
body.is-dash .dash .inv-num::-webkit-outer-spin-button, body.is-dash .dash .inv-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.is-dash .dash .inv-num.lvl-out { color: var(--err); }
body.is-dash .dash .inv-num.lvl-low { color: var(--gold-text); }
body.is-dash .dash .cell-tog { display: block; margin-top: .25rem; }
body.is-dash .dash .stock-table .inv-total { font-weight: 700; color: var(--strong); }
body.is-dash .dash .stock-table tr.supplies-row td { background: var(--d-tint); border-top: 1px solid var(--d-line); }
body.is-dash .dash .stock-table tr.supplies-row.is-low td { background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .cups-cell { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
body.is-dash .dash .cups-need { margin: 0; text-align: left; font-size: .93rem; }
body.is-dash .dash .cups-need.short { color: var(--err); font-weight: 600; }
body.is-dash .dash .stock-foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .5rem 1.25rem; margin: .9rem 0 .2rem; }
body.is-dash .dash .low-row { display: flex; gap: .45rem; align-items: center; }
body.is-dash .dash .low-row input { width: 4.6rem; }
body.is-dash .dash .delay-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .delay-row:first-child { border-top: 0; }
body.is-dash .dash .delay-row p { margin: 0 0 .1rem; }
body.is-dash .dash .delay-acts { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
body.is-dash .dash .delay-ok { color: var(--ok); }
body.is-dash .dash .delay-warn { color: var(--err); }

/* ================= bundles ================= */
body.is-dash .dash .bundle-form { box-shadow: inset 3px 0 0 var(--gold); }
body.is-dash .dash .bf-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 1.1rem; }
body.is-dash .dash .bf-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .3rem .9rem; }
body.is-dash .dash .bf-piece { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid var(--d-line-2); }
body.is-dash .dash .bf-piece .nm small { display: block; color: var(--muted); font-size: .86rem; }
body.is-dash .dash .bf-piece.picked .nm { color: var(--strong); font-weight: 600; }
body.is-dash .dash .bf-price-row { margin-top: .9rem; }
body.is-dash .dash .bf-suggest { display: flex; gap: .7rem; align-items: center; margin-top: .35rem; flex-wrap: wrap; }
body.is-dash .dash .bf-calc { margin: 0; padding: .6rem .8rem; border-radius: 6px; background: rgba(var(--gold-rgb),.09); }
body.is-dash .dash .bf-calc .bad { color: var(--err); }
body.is-dash .dash .bf-opts { grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem; margin: .4rem 0 .9rem; }
body.is-dash .dash .bf-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
body.is-dash .dash .bundle-admin-list { display: block; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .bundle-admin-list:empty { display: none; }
body.is-dash .dash .ba-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .75rem .9rem; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .ba-card:first-child { border-top: 0; }
body.is-dash .dash .ba-card.is-off { opacity: .6; }
body.is-dash .dash .ba-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 6px; overflow: hidden; }
body.is-dash .dash .ba-pics.n1 { grid-template-columns: 1fr; }
body.is-dash .dash .ba-pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ededed; display: block; }
body.is-dash .dash .ba-info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .1rem; font: 700 .95rem var(--caps); letter-spacing: .04em; }
body.is-dash .dash .ba-info .ba-tag { margin: 0 0 .3rem; color: var(--muted); font-size: .93rem; }
body.is-dash .dash .ba-pieces { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 .3rem; }
body.is-dash .dash .ba-pieces span { padding: .02rem .45rem; border-radius: 4px; background: rgba(var(--gold-rgb),.1); font-size: .85rem; }
body.is-dash .dash .ba-price { margin: 0; }
body.is-dash .dash .ba-price s { color: var(--muted); }
body.is-dash .dash .ba-price strong { color: var(--strong); }
body.is-dash .dash .ba-price .save { margin-left: .4rem; color: var(--gold-text); font-size: .9rem; }
body.is-dash .dash .ba-acts { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
body.is-dash .dash .ba-acts .btn { padding: .32rem .65rem; font-size: .86rem; }

/* ================= search results / customers ================= */
body.is-dash .dash .lookup-bar { display: flex; gap: .4rem; margin: 0 0 .9rem; max-width: 40rem; }
body.is-dash .dash .lk-card { margin: 0 0 1rem; padding: 1rem 1.1rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); box-shadow: inset 0 3px 0 var(--gold); }
body.is-dash .dash .lk-card.guest { box-shadow: inset 0 3px 0 rgba(var(--ink-rgb),.25); }
body.is-dash .dash .lk-card.is-off { box-shadow: inset 0 3px 0 var(--err); }
body.is-dash .dash .lk-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
body.is-dash .dash .lk-head h3 { margin: 0; font: 700 1.05rem var(--caps); letter-spacing: .03em; }
body.is-dash .dash .lk-head p { margin: .1rem 0 0; }
body.is-dash .dash .lk-id { margin-left: .5rem; font: 600 .85rem var(--text); color: var(--gold-text); }
body.is-dash .dash .lk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .5rem 1rem; margin: .8rem 0; }
body.is-dash .dash .lk-facts dt { font-size: .85rem; color: var(--muted); }
body.is-dash .dash .lk-facts dd { margin: 0; color: var(--strong); font-weight: 600; }
body.is-dash .dash .lk-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
body.is-dash .dash .lk-msg { margin: .45rem 0 0; }
body.is-dash .dash .lk-orders { margin-top: .9rem; }
body.is-dash .dash .lk-orders h4, body.is-dash .dash .lk-msgs h4 { margin: .9rem 0 .45rem; font: 600 .95rem var(--text); color: var(--strong); text-transform: none; letter-spacing: 0; }
body.is-dash .dash .lk-orders .order-row { border: 1px solid var(--d-line-2); border-radius: 8px; margin-bottom: .4rem; background: #fcfcfc; }

/* ================= reviews, work days, print files ================= */
body.is-dash .dash #admin-reviews { background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash #admin-reviews:empty { display: none; }
body.is-dash .dash .rv-admin { padding: .8rem 1rem; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .rv-admin:first-child { border-top: 0; }
body.is-dash .dash .rv-admin.is-hidden { opacity: .55; }
body.is-dash .dash .rv-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.is-dash .dash .rv-admin p { margin: .3rem 0 0; }
body.is-dash .dash .rv-admin .rv-t { font-weight: 600; }
body.is-dash .dash .rv-acts { display: flex; gap: .4rem; margin-top: .55rem; }
body.is-dash .dash .rv-photos-admin .rv-photo { width: 4.5rem; height: 4.5rem; }
body.is-dash .dash .wd-days { display: flex; gap: .35rem; flex-wrap: wrap; margin: .3rem 0 1rem; }
body.is-dash .dash .wd-days label { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--d-line); border-radius: 999px; background: #fcfcfc; font: 500 .95rem var(--text); text-transform: none; letter-spacing: 0; cursor: pointer; }
body.is-dash .dash .wd-days label:has(input:checked) { background: rgba(var(--gold-rgb),.16); border-color: var(--gold); color: var(--strong); }
body.is-dash .dash .wd-days input { accent-color: var(--gold); width: 1rem; height: 1rem; margin: 0; }
body.is-dash .dash .wd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; align-items: start; }
body.is-dash .dash .wd-grid input, body.is-dash .dash .wd-grid select { max-width: 14rem; }
body.is-dash .dash .wd-grid .muted.small { margin: .25rem 0 0; }
body.is-dash .dash .wd-off-row { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; margin: .4rem 0; }
body.is-dash .dash .wd-off-row input { width: 11rem; }
body.is-dash .dash .off-list { display: flex; gap: .4rem; flex-wrap: wrap; margin: .4rem 0 .8rem; }
body.is-dash .dash .off-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .25rem .2rem .65rem; border: 1px solid var(--d-line); border-radius: 999px; font-size: .93rem; }
body.is-dash .dash .off-x { padding: 0 .3rem; border: 0; background: none; color: var(--gold-text); font-size: 1.15rem; line-height: 1; cursor: pointer; }
body.is-dash .dash .wd-preview { margin: .8rem 0; padding: .65rem .85rem; border-radius: 6px; background: rgba(var(--gold-rgb),.09); }
body.is-dash .dash #wd-form, body.is-dash .dash .eng-form { max-width: 48rem; }
body.is-dash .dash .eng-row { display: grid; grid-template-columns: 1fr 7rem; gap: .9rem; }
body.is-dash .dash .eng-list { list-style: none; margin: .7rem 0; padding: 0; display: grid; gap: .3rem; }
body.is-dash .dash .eng-list:empty { display: none; }
body.is-dash .dash .eng-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .4rem .65rem; border: 1px solid var(--d-line); border-radius: 6px; background: #fcfcfc; }
body.is-dash .dash .eng-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .45rem; }
body.is-dash .dash textarea#admin-emails { min-height: 4.5rem; }

/* ================= numbers ================= */
body.is-dash .dash .nm-note { margin: -.4rem 0 .8rem; }
body.is-dash .dash .nm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 1rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .nm-kpi { display: flex; flex-direction: column; gap: .05rem; padding: .75rem 1rem; border-left: 1px solid var(--d-line-2); }
body.is-dash .dash .nm-kpi:first-child { border-left: 0; }
body.is-dash .dash .nm-kpi-label { font-size: .88rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-family: var(--text); font-weight: 400; }
body.is-dash .dash .nm-kpi strong { font: 500 1.65rem/1.15 var(--text); color: var(--strong); font-variant-numeric: tabular-nums; }
body.is-dash .dash .nm-kpi-sub { font-size: .85rem; color: var(--muted); min-height: 1.2em; }
body.is-dash .dash .nm-delta { font-weight: 600; }
body.is-dash .dash .nm-delta.up { color: var(--ok); }
body.is-dash .dash .nm-delta.down { color: var(--err); }
body.is-dash .dash .nm-chart { position: relative; }
body.is-dash .dash .nm-chart svg { display: block; overflow: visible; }
body.is-dash .dash .nm-grid-l { stroke: rgba(var(--ink-rgb),.08); stroke-width: 1; }
body.is-dash .dash .nm-base { stroke: rgba(var(--ink-rgb),.3); stroke-width: 1; }
body.is-dash .dash .nm-tick { fill: var(--muted); font: 400 12px var(--text); }
body.is-dash .dash .nm-hit { fill: transparent; outline: none; }
body.is-dash .dash .nm-hit.on { fill: rgba(var(--gold-rgb),.08); }
body.is-dash .dash .nm-tip { position: absolute; z-index: 2; pointer-events: none; padding: .4rem .65rem; border-radius: 6px; background: #2f2f2f; color: #eaeaea; font-size: .92rem; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
body.is-dash .dash .nm-tip strong { display: block; font-weight: 600; }
body.is-dash .dash .nm-tip span { color: #c2c2c2; }
body.is-dash .dash .nm-table-wrap { margin-top: .5rem; }
body.is-dash .dash .nm-table-wrap summary { cursor: pointer; color: var(--gold-text); font-size: .9rem; }
body.is-dash .dash .nm-table-wrap .inv-wrap { max-height: 18rem; overflow: auto; margin-top: .4rem; }
body.is-dash .dash .nm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
body.is-dash .dash .nm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.is-dash .dash .nm-bars { display: grid; gap: .4rem; }
body.is-dash .dash .nm-bar-row { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) auto; gap: .65rem; align-items: center; font-size: .95rem; }
body.is-dash .dash .nm-bar-name { display: inline-flex; align-items: center; gap: .45rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .nm-swatch { width: .85rem; height: .85rem; border-radius: 50%; flex: none; border: 1px solid rgba(var(--ink-rgb),.3); }
body.is-dash .dash .nm-swatch.finish-marble { background: #e8e8e8; } body.is-dash .dash .nm-swatch.finish-black { background: #141414; } body.is-dash .dash .nm-swatch.finish-white { background: #ffffff; } body.is-dash .dash .nm-swatch.finish-brown { background: #595959; }
body.is-dash .dash .nm-bar-track { display: block; height: 12px; }
body.is-dash .dash .nm-bar-fill { display: block; height: 100%; border-radius: 0 4px 4px 0; }
body.is-dash .dash .nm-bar-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
body.is-dash .dash .nm-li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--d-line-2); font-size: .95rem; }
body.is-dash .dash .nm-li:first-child { border-top: 0; }
body.is-dash .dash .nm-li strong { color: var(--strong); font-weight: 600; text-align: right; }

/* ================= tablet / phone ================= */
@media (max-width: 1200px) {
  body.is-dash .dash .ov-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.is-dash .dash .ov-stat:nth-child(4) { border-left: 0; }
  body.is-dash .dash .ov-stat:nth-child(n+4) { border-top: 1px solid var(--d-line-2); }
  body.is-dash .dash .or-line { grid-template-columns: 8.5rem minmax(6rem, 9rem) minmax(0, 1fr) 4.5rem auto; }
  body.is-dash .dash .nm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.is-dash .dash .nm-grid-3 { grid-template-columns: 1fr 1fr; }
  body.is-dash .dash .cn-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  body.is-dash .dash .dash-grid:not([hidden]) { display: block; }
  body.is-dash .dash .dash-main { padding-top: 0; }
  body.is-dash .dash .dash-mbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: .6rem; margin: 0 calc(-1 * var(--gutter)) 1rem; padding: .55rem var(--gutter); background: #2f2f2f; color: #eaeaea; }
  body.is-dash .dash .dash-menu-btn { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: none; color: #eaeaea; cursor: pointer; }
  body.is-dash .dash .dash-menu-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  body.is-dash .dash .dash-mbar-title { flex: 1 1 auto; font: 700 1.05rem var(--caps); letter-spacing: .05em; }
  body.is-dash .dash .dash-mbar-logo .mark { width: 2rem; height: 2rem; display: block; }
  body.is-dash .dash .dash-side { position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: min(18rem, 86vw); height: auto; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 12px 0 30px rgba(0,0,0,.25); }
  body.dash-menu-open.is-dash .dash .dash-side { transform: none; }
  body.is-dash .dash .dash-menu-x { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #eaeaea; font-size: 1.5rem; line-height: 1; cursor: pointer; }
  body.dash-menu-open.is-dash .dash .dash-scrim { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(26,26,26,.45); }
  body.dash-menu-open { overflow: hidden; }
  body.is-dash .dash .dash-head h2 { font-size: 1.3rem; }
  body.is-dash .dash .ov-board { grid-template-columns: 1fr; }
  body.is-dash .dash .ov-grid { grid-template-columns: 1fr; }
  body.is-dash .dash .dash-tools { grid-template-columns: 1fr; }
  body.is-dash .dash .stock-foot, body.is-dash .dash .bf-grid, body.is-dash .dash .wd-grid, body.is-dash .dash .eng-row, body.is-dash .dash .bf-opts { grid-template-columns: 1fr; }
  body.is-dash .dash .stock-table { min-width: 44rem; }
  body.is-dash .dash .stock-table th:first-child, body.is-dash .dash .stock-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--d-sheet); box-shadow: 1px 0 0 var(--d-line); max-width: 9rem; }
  body.is-dash .dash .ba-card { grid-template-columns: 5rem minmax(0, 1fr); }
  body.is-dash .dash .ba-acts { grid-column: 1 / -1; justify-content: flex-start; }
  body.is-dash .dash .delay-row { grid-template-columns: 1fr; }
  body.is-dash .dash .delay-acts { justify-content: flex-start; }
  .od { width: 100vw; }
  .od-head, .od-actions, .od-sec { padding-left: 1rem; padding-right: 1rem; }
  .od-sec.od-two { grid-template-columns: 1fr; }
  .od-note { margin-left: 1rem; margin-right: 1rem; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { body.is-dash .dash .dash-side { transition: none; } }
@media (max-width: 700px) {
  body.is-dash .dash .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-dash .dash .ov-stat { border-left: 0; border-top: 1px solid var(--d-line-2); padding: .6rem .8rem; }
  body.is-dash .dash .ov-stat:nth-child(even) { border-left: 1px solid var(--d-line-2); }
  body.is-dash .dash .ov-stat:nth-child(-n+2) { border-top: 0; }
  body.is-dash .dash .ov-stat strong { font-size: 1.45rem; }
  body.is-dash .dash .ov-quick { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; }
  body.is-dash .dash .ov-quick::-webkit-scrollbar { display: none; }
  body.is-dash .dash .ov-q { flex: 0 0 auto; }
  body.is-dash .dash .or-line, body.is-dash .dash .order-list.compact .or-line { grid-template-columns: minmax(0, 1fr) auto; row-gap: .25rem; column-gap: .7rem; padding: .7rem .85rem; }
  body.is-dash .dash .or-id { grid-column: 1; grid-row: 1; }
  body.is-dash .dash .or-act { grid-column: 2; grid-row: 1; align-self: start; }
  body.is-dash .dash .or-act .btn { display: none; }
  body.is-dash .dash .or-cust, body.is-dash .dash .or-items { grid-column: 1 / -1; }
  body.is-dash .dash .or-total { grid-column: 1 / -1; text-align: left; }
  body.is-dash .dash .dash-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body.is-dash .dash .dash-tabs::-webkit-scrollbar { display: none; }
  body.is-dash .dash .dash-tab { flex: 0 0 auto; }
  body.is-dash .dash .nm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-dash .dash .nm-kpi { border-left: 0; border-top: 1px solid var(--d-line-2); }
  body.is-dash .dash .nm-grid, body.is-dash .dash .nm-grid-3, body.is-dash .dash .cn-grid { grid-template-columns: 1fr; }
  body.is-dash .dash .nm-bar-row { grid-template-columns: 7rem minmax(0, 1fr) auto; }
  .od-actions .btn, .od-actions .od-menu, .od-actions .od-menu > summary { width: 100%; margin-left: 0; text-align: center; }
  .od-menu-list { left: 0; right: 0; min-width: 0; }
}

/* row buttons in tables and lists are outlined; the gold fill is kept for the one main action on a screen */
body.is-dash .dash .sale-table .btn:not(.btn-ghost), body.is-dash .dash .price-table .btn:not(.btn-ghost), body.is-dash .dash .coupon-table .btn:not(.btn-ghost),
body.is-dash .dash .ba-acts .btn:not(.btn-ghost), body.is-dash .dash .rv-acts .btn:not(.btn-ghost), body.is-dash .dash .delay-acts .btn:not(.btn-ghost) {
  padding: .32rem .7rem; font-size: .86rem; background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.55); }
body.is-dash .dash .sale-table .btn:not(.btn-ghost):hover, body.is-dash .dash .price-table .btn:not(.btn-ghost):hover, body.is-dash .dash .coupon-table .btn:not(.btn-ghost):hover,
body.is-dash .dash .ba-acts .btn:not(.btn-ghost):hover, body.is-dash .dash .rv-acts .btn:not(.btn-ghost):hover, body.is-dash .dash .delay-acts .btn:not(.btn-ghost):hover { background: var(--gold); color: #212121; border-color: var(--gold); }
body.is-dash .dash .sale-table .btn-ghost, body.is-dash .dash .price-table .btn-ghost, body.is-dash .dash .coupon-table .btn-ghost, body.is-dash .dash .ba-acts .btn-ghost, body.is-dash .dash .rv-acts .btn-ghost { padding: .32rem .7rem; font-size: .86rem; }
body.is-dash .dash .dash-nav button, body.is-dash .dash .dash-shoplink { letter-spacing: 0; }
body.is-dash .dash .od-head .badge { background: rgba(255,255,255,.12); color: #eaeaea; }
body.is-dash .dash .od-head .badge::before { background: #c5c5c5; }
body.is-dash .dash .od-head .delay-badge, body.is-dash .dash .od-head .coupon-badge { color: #eaeaea; border-color: rgba(255,255,255,.35); background: none; }
@media (max-width: 960px) {
  body.is-dash .dash .dash-head h2 { display: none; }
  body.is-dash .dash .dash-head .dash-date { margin: 0; }
}
body.is-dash .dash .od-head .ship-by { color: #c5c5c5; }
body.is-dash .dash .od-head .ship-by.late { color: #c3c3c3; }

/* Legacy square-corner overrides removed; dashboard-unified.css supplies the current style. */

/* =====================================================================
   Dashboard v8 (Oct 23 redesign). Same colours and fonts.
   Desktop: a slim slate icon rail on the left, a light bar across the top with the
   page name and the find box, and open sections that start on a gold rule
   (like the shop) instead of boxed cards. Phone keeps the slide-in menu.
   ===================================================================== */
@media (min-width: 961px) {
  body.is-dash .dash .dash-grid:not([hidden]) { grid-template-columns: 6.25rem minmax(0, 1fr); }
  body.is-dash .dash .dash-side { z-index: 50; padding: .9rem .45rem .8rem; gap: .6rem; align-items: stretch; }
  body.is-dash .dash .dash-brand { justify-content: center; padding: 0 0 .5rem; border-bottom: 1px solid rgba(163,163,163,.35); }
  body.is-dash .dash .dash-logo span { display: none; }
  body.is-dash .dash .dash-logo .mark { width: 2.5rem; height: 2.5rem; }
  body.is-dash .dash .dash-group { display: none; }
  body.is-dash .dash .dash-sub + .dash-sub { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid rgba(163,163,163,.22); }
  body.is-dash .dash .dash-nav button { flex-direction: column; justify-content: center; gap: .28rem; padding: .55rem .2rem .5rem; text-align: center; font: 500 .74rem/1.15 var(--text); color: var(--d-side-muted); }
  body.is-dash .dash .dash-nav button .dn-ic { width: 1.35rem; height: 1.35rem; opacity: 1; }
  body.is-dash .dash .dash-nav button:hover { color: #eeeeee; }
  body.is-dash .dash .dash-nav button[aria-selected="true"] { background: rgba(163,163,163,.18); color: #eeeeee; }
  body.is-dash .dash .dash-nav button[aria-selected="true"] .dn-ic { color: #c5c5c5; }
  body.is-dash .dash .dash-nav button[aria-selected="true"]::before { left: -.45rem; top: .4rem; bottom: .4rem; }
  body.is-dash .dash .dash-nav .dn-label { flex: none; }
  body.is-dash .dash .dash-nav .count { position: absolute; top: .25rem; right: .55rem; min-width: 1.15rem; height: 1.1rem; padding: 0 .3rem; font-size: .66rem; }
  body.is-dash .dash .dash-side-foot { padding-top: .5rem; border-top-color: rgba(163,163,163,.35); }
  body.is-dash .dash .dash-shoplink { flex-direction: column; gap: .25rem; padding: .45rem .2rem; font-size: .72rem; text-align: center; justify-content: center; }

  /* the light bar across the top: page name on the left, the find box on the right */
  body.is-dash .dash .dash-main { padding-top: 0; max-width: none; }
  body.is-dash .dash .dash-mbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; min-height: 4rem; margin: 0 calc(-1 * var(--gutter)) 1.75rem; padding: 0 var(--gutter); background: rgba(234,234,234,.96); border-bottom: 1px solid var(--d-line); }
  body.is-dash .dash .dash-menu-btn, body.is-dash .dash .dash-mbar-logo { display: none; }
  body.is-dash .dash .dash-mbar-title { flex: 1 1 auto; display: flex; align-items: center; gap: 1rem; padding-right: 23rem; font: 700 1.25rem var(--caps); letter-spacing: .06em; color: var(--strong); }
  body.is-dash .dash .dash-mbar-title::after { content: ""; flex: 1 1 auto; height: 2px; background: linear-gradient(90deg, #a3a3a3, rgba(163,163,163,.1)); }
  body.is-dash .dash .dash-find { position: fixed; z-index: 45; top: .75rem; right: var(--gutter); width: 20rem; }
  body.is-dash .dash .dash-find input[type="search"] { height: 2.5rem; border: 1px solid var(--d-line); background: var(--d-sheet); color: var(--ink); }
  body.is-dash .dash .dash-find input::placeholder { color: var(--muted); }
  body.is-dash .dash .dash-find .dn-ic { color: var(--gold-text); }
  body.is-dash .dash .dash-find input:focus-visible { background: #ffffff; }
  /* the page name is in the top bar now, so the panel heading only keeps its date and buttons */
  body.is-dash .dash .dash-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.is-dash .dash .dash-panel { max-width: 88rem; }
}

/* open sections on a gold rule, everywhere */
body.is-dash .dash .dash-box { background: transparent; border: 0; border-top: 3px solid var(--gold); padding: .9rem 0 0; margin-bottom: 1.75rem; }
body.is-dash .dash .ov-grid { gap: 2.5rem; }
/* Today: the numbers as one strip of large figures */
body.is-dash .dash .ov-stats { background: transparent; border: 0; border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); margin-bottom: 1.75rem; }
body.is-dash .dash .ov-stat { background: transparent; padding: .9rem 1rem; }
body.is-dash .dash .ov-stat strong { font-family: var(--caps); font-size: 2rem; letter-spacing: .02em; }
body.is-dash .dash .ov-stat:hover { background: rgba(163,163,163,.1); }
/* work board: columns become lanes with a gold head line */
body.is-dash .dash .bd-col { background: transparent; border: 0; border-top: 3px solid var(--gold); padding-left: 0; padding-right: 0; }
body.is-dash .dash .bd-card { background: var(--d-sheet); }
/* shortcuts: quiet text links with a gold rule on hover */
body.is-dash .dash .ov-q { background: transparent; border-color: transparent; border-bottom: 1px solid var(--d-line); }
body.is-dash .dash .ov-q:hover { border-bottom-color: var(--gold); background: rgba(163,163,163,.1); }
/* Oct 23 follow-up: no decorative lines */
@media (min-width: 961px) { body.is-dash .dash .dash-mbar-title::after { content: none; } }
body.is-dash .dash .dash-box, body.is-dash .dash .bd-col { border-top: 0; }

/* ================= Website editor ================= */
body.is-dash .dash .ed-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
body.is-dash .dash .ed-status { min-height: 1.4rem; margin: 0 0 .8rem; color: var(--gold-text); font-weight: 600; }
body.is-dash .dash .ed-status.err { color: var(--err); }
body.is-dash .dash #ed-tabs { margin-bottom: 1.25rem; }
body.is-dash .dash .ed-sec { display: grid; gap: 1.4rem; max-width: 52rem; }
body.is-dash .dash .ed-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .5rem 1.5rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-row > label, body.is-dash .dash .ed-row > .ed-lab { font-weight: 600; color: var(--strong); padding-top: .35rem; }
body.is-dash .dash .ed-row .ed-hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
body.is-dash .dash .ed-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
body.is-dash .dash .ed-opt { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid var(--d-line); background: var(--d-sheet); cursor: pointer; }
body.is-dash .dash .ed-opt:has(input:checked) { border-color: var(--gold); background: rgba(163,163,163,.16); }
body.is-dash .dash .ed-sw { width: 1.1rem; height: 1.1rem; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
body.is-dash .dash .ed-range { display: flex; align-items: center; gap: .8rem; }
body.is-dash .dash .ed-range input[type=range] { width: min(20rem, 100%); accent-color: #a3a3a3; }
body.is-dash .dash .ed-demo { display: inline-block; padding: .5rem 1rem; background: #a3a3a3; color: #212121; font-weight: 600; }
body.is-dash .dash .ed-list { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
body.is-dash .dash .ed-li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .55rem .75rem; background: var(--d-sheet); border: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-li.is-off { opacity: .55; }
body.is-dash .dash .ed-li .ed-move { display: flex; gap: .3rem; }
body.is-dash .dash .ed-li .ed-move button { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--d-line); background: #ffffff; cursor: pointer; }
body.is-dash .dash .ed-li .ed-move button:disabled { opacity: .35; cursor: default; }
body.is-dash .dash .ed-find { width: min(26rem, 100%); margin-bottom: .5rem; }
body.is-dash .dash .ed-group h3 { margin: .5rem 0 .75rem; }
body.is-dash .dash .ed-field { display: grid; gap: .3rem; padding: .7rem 0; border-bottom: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-field label { font-weight: 600; color: var(--strong); }
body.is-dash .dash .ed-field textarea, body.is-dash .dash .ed-field input[type=text] { width: 100%; font: 400 1rem/1.45 var(--text); }
body.is-dash .dash .ed-field.is-changed label::after { content: "changed"; margin-left: .5rem; padding: .05rem .4rem; background: rgba(163,163,163,.2); color: var(--gold-text); font-size: .75rem; font-weight: 700; }
body.is-dash .dash .ed-field .linkish { justify-self: start; font-size: .88rem; }
body.is-dash .dash .ed-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
body.is-dash .dash .ed-photo { display: grid; gap: .5rem; align-content: start; }
body.is-dash .dash .ed-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #e1e1e1; border: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-photo strong { color: var(--strong); }
body.is-dash .dash .ed-photo .ed-photo-acts { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) { body.is-dash .dash .ed-row { grid-template-columns: 1fr; } }

/* Oct 23: no decorative gold lines anywhere (Jake). Red "needs attention" marks stay. */
body.is-dash .dash :is(.bundle-form, .sale-store.on, .lk-card) { box-shadow: none !important; }
body.is-dash .dash :is(.dash-box, .bd-col, .lk-card, .dash-stats div, .or-print, .order-card) { border-top-width: 0 !important; border-left-width: 0 !important; }
body.is-dash .dash .dash-box { border-top: 0 !important; }
body.is-dash .dash .or-print { border: 0 !important; }
body.is-dash .dash .ed-setup { max-width: 52rem; margin: 0 0 1rem; padding: 1rem 1.2rem; background: #ececec; border: 1px solid #b0b0b0; color: #333333; }
body.is-dash .dash .ed-setup strong { display: block; font-size: 1.1rem; }
body.is-dash .dash .ed-setup p { margin: .35rem 0 0; }

/* ===== Filament, taxes, customers (Oct 24) ===== */
body.is-dash .dash .fil-table td { vertical-align: middle; }
body.is-dash .dash .fil-bar { width: 9rem; max-width: 100%; height: 8px; background: rgba(var(--ink-rgb),.1); margin-bottom: .25rem; }
body.is-dash .dash .fil-bar span { display: block; height: 100%; background: var(--gold); }
body.is-dash .dash .fil-row.is-low .fil-bar span { background: var(--err); }
body.is-dash .dash .fil-row.is-empty, body.is-dash .dash .fil-row.is-spare { opacity: .65; }
body.is-dash .dash .fil-low { color: var(--err); font-weight: 600; }
body.is-dash .dash .fil-acts { white-space: nowrap; }
body.is-dash .dash .fil-acts .linkish { margin-left: .6rem; }
body.is-dash .dash .fil-status { padding: .3rem .4rem; font: inherit; font-size: .9rem; }
body.is-dash .dash .fil-add-h { margin: 1.2rem 0 .5rem; }
body.is-dash .dash .fil-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem .8rem; align-items: end; }
body.is-dash .dash .fil-add .field, body.is-dash .dash .fil-costs .field, body.is-dash .dash .fil-g { margin: 0; }
body.is-dash .dash .fil-add .btn { height: 2.6rem; }
body.is-dash .dash .fil-grams { display: grid; gap: .45rem; margin: .6rem 0 .9rem; }
body.is-dash .dash .fil-g { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: center; }
body.is-dash .dash .fil-g label { margin: 0; font-weight: 500; }
body.is-dash .dash .fil-g-in { display: flex; align-items: center; gap: .45rem; }
body.is-dash .dash .fil-g-in input { width: 5.5rem; }
body.is-dash .dash .fil-costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem .8rem; margin: .6rem 0 .9rem; }
body.is-dash .dash .nm-li-total { font-weight: 700; }
body.is-dash .dash .nm-li-total strong { font-size: 1.1rem; }
body.is-dash .dash .tax-ctl { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.is-dash .dash .tax-ctl select { padding: .35rem .5rem; font: inherit; }
body.is-dash .dash .tax-table td:not(:first-child), body.is-dash .dash .tax-table th:not(:first-child) { text-align: right; white-space: nowrap; }
body.is-dash .dash .tax-table tr.tax-total td { font-weight: 700; background: rgba(var(--ink-rgb),.05); }
body.is-dash .dash .cu-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
body.is-dash .dash .cu-bar input[type=search] { flex: 1 1 16rem; max-width: 26rem; }
body.is-dash .dash .cu-bar .dash-tabs { margin: 0; }
body.is-dash .dash .cu-name { background: none; border: 0; padding: 0; font: 600 1rem var(--text); color: var(--strong); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: rgba(var(--ink-rgb),.25); text-underline-offset: 3px; }
body.is-dash .dash .cu-name:hover, body.is-dash .dash .cu-name:focus-visible { color: var(--gold-dark); text-decoration-color: currentColor; }
body.is-dash .dash .cu-email { display: block; }
body.is-dash .dash .cu-tags { display: inline-flex; gap: .3rem; margin-top: .25rem; }
body.is-dash .dash .cu-table td:nth-child(2), body.is-dash .dash .cu-table td:nth-child(3), body.is-dash .dash .cu-table th:nth-child(2), body.is-dash .dash .cu-table th:nth-child(3) { text-align: right; }
body.is-dash .dash .lk-extra { margin: .4rem 0 .8rem; }
body.is-dash .dash .lk-reviews h4, body.is-dash .dash .lk-notes label { margin: .8rem 0 .35rem; display: block; font-weight: 600; }
body.is-dash .dash .lk-notes textarea { width: 100%; min-height: 4.5rem; }
body.is-dash .dash .lk-note-row { display: flex; gap: .6rem; align-items: center; margin-top: .4rem; }
body.is-dash .dash .repeat-badge { display: inline-block; padding: .08rem .45rem; font: 600 .78rem var(--text); border: 1px solid rgba(255,255,255,.35); color: #eaeaea; }
body.is-dash .dash .od-cust { margin: .4rem 0 .2rem; }
body.is-dash .dash .od-money .od-profit dd { font-weight: 700; color: var(--ok); }
body.is-dash .dash .od-costs { margin-top: .4rem; }

/* /assets/css/dashboard-layout.css */
/* Layout only: original dashboard fonts, palette and theme remain authoritative. */
body.is-dash .dash .dash-side { padding: 1.1rem .75rem; gap: 1.1rem; }
body.is-dash .dash .dash-brand { justify-content: flex-start; }
body.is-dash .dash .dash-logo span { display: inline; }
body.is-dash .dash .dash-nav { gap: .75rem; }
body.is-dash .dash .nav-caption { padding: 0 .7rem; margin: 0 0 .25rem; }
body.is-dash .dash .dash-nav button { flex-direction: row; justify-content: flex-start; gap: .65rem; text-align: left; min-height: 44px; padding: .65rem .7rem; }
body.is-dash .dash .dash-nav .dn-label { flex: 1; }
body.is-dash .dash .dash-nav button .dn-ic { flex-shrink: 0; }
body.is-dash .dash .dash-nav .count { position: static; }
body.is-dash .dash .dash-sub { gap: .25rem; }
body.is-dash .dash .nav-folder { padding-top: .5rem; }
body.is-dash .dash .nav-folder summary { cursor: pointer; padding: .65rem .5rem; }
body.is-dash .dash .nav-folder .dash-sub { padding-top: .25rem; }
body.is-dash .dash .dash-shoplink { flex-direction: row; justify-content: flex-start; gap: .65rem; padding: .65rem; }
body.is-dash .dash .dash-main { padding-bottom: 3rem; }
body.is-dash .dash .dash-head { margin-bottom: 1.5rem; align-items: center; gap: 1rem; }
body.is-dash .dash .dash-head h2 { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-bottom: .5rem; }
body.is-dash .dash .ov-quick { gap: .5rem; }
body.is-dash .dash .ov-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-bottom: 1.75rem; }
body.is-dash .dash .ov-stat { padding: 1.25rem; text-align: left; }
body.is-dash .dash .ov-grid { gap: 1.25rem; }
body.is-dash .dash .dash-tabs { gap: .4rem; flex-wrap: wrap; }
@media(min-width:961px) {
 body.is-dash .dash .dash-grid:not([hidden]) { grid-template-columns: 15.5rem minmax(0,1fr); }
 body.is-dash .dash .dash-panel { max-width: 75rem; margin-inline: auto; }
}
@media(max-width:960px) {
 body.is-dash .dash .dash-brand { justify-content: space-between; }
 body.is-dash .dash .dash-side { width: min(310px,88vw); }
}
@media(max-width:600px) {
 body.is-dash .dash .ov-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
 body.is-dash .dash .ov-stat { padding: 1rem; }
 body.is-dash .dash .dash-head { align-items: flex-start; flex-direction: column; }
 body.is-dash .dash .ov-grid { grid-template-columns: 1fr; }
}
body.is-dash .dash .ov-q:first-child::before { content: none; }

/* /assets/css/render-studio.css */
/* Render studio (dashboard panel #panel-render). Uses the dashboard's own colours. */
#panel-render .rs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1.1rem; align-items: start; }
#panel-render .rs-main { min-width: 0; }
#panel-render .rs-stage { position: relative; display: grid; place-items: center; min-height: 20rem; padding: .75rem; background: #2a2a2a; border: 1px solid var(--d-line, rgba(92,92,92,.22)); }
#panel-render .rs-stage.is-drop { outline: 3px dashed var(--gold, #a4a4a4); outline-offset: -8px; }
#panel-render .rs-frame { position: relative; max-width: 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.35); background: #888888; }
#panel-render .rs-frame.is-clear { background: conic-gradient(#d9d9d9 25%, #ffffff 0 50%, #d9d9d9 0 75%, #ffffff 0) 0 0 / 18px 18px; }
#panel-render .rs-frame canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
#panel-render .rs-frame canvas:active { cursor: grabbing; }
#panel-render .rs-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #eaeaea; background: rgba(34,34,34,.78); }
#panel-render .rs-empty[hidden] { display: none; }
#panel-render .rs-empty p { margin: 0 0 .8rem; line-height: 1.5; }
#panel-render .rs-hint { position: absolute; left: 1rem; bottom: .5rem; margin: 0; font: .76rem var(--text, sans-serif); color: rgba(255,255,255,.55); pointer-events: none; }
#panel-render .rs-views { display: flex; flex-wrap: wrap; gap: .4rem; margin: .7rem 0 .2rem; }
#panel-render .rs-status { min-height: 1.4em; margin: .4rem 0 0; }
#panel-render .rs-side { min-width: 0; }
#panel-render .rs-sec > summary { cursor: pointer; font: 700 .95rem var(--caps, sans-serif); letter-spacing: .04em; color: var(--strong, #212121); padding: .1rem 0 .2rem; }
#panel-render .rs-sec[open] > summary { margin-bottom: .6rem; }
#panel-render .rs-sec .field { margin: 0 0 .7rem; }
#panel-render .rs-sec select, #panel-render .rs-sec input[type="text"], #panel-render .rs-sec input[type="number"] { width: 100%; }
#panel-render .rs-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .7rem; }
#panel-render .rs-inline { display: flex; gap: .4rem; }
#panel-render .rs-inline select { flex: 1; min-width: 0; }
#panel-render .rs-sub { margin: .8rem 0 .35rem; font-weight: 600; }
#panel-render .rs-row { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) 3rem; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-size: .92rem; }
#panel-render .rs-row input[type="range"] { width: 100%; accent-color: var(--gold, #a4a4a4); }
#panel-render .rs-row output { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted, #5e5e5e); font-size: .85rem; }
#panel-render .rs-swatches { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .8rem; }
#panel-render .rs-sw { width: 2.3rem; height: 2.3rem; padding: 0; border: 2px solid rgba(0,0,0,.18); border-radius: 50%; cursor: pointer; }
#panel-render .rs-sw[aria-pressed="true"] { border-color: var(--gold, #a4a4a4); box-shadow: 0 0 0 2px var(--d-sheet, #f6f6f6), 0 0 0 4px var(--gold, #a4a4a4); }
#panel-render .rs-sw.is-clear { background: conic-gradient(#cfcfcf 25%, #ffffff 0 50%, #cfcfcf 0 75%, #ffffff 0) 0 0 / 10px 10px; }
#panel-render .rs-colors { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 .8rem; }
#panel-render .rs-colors label { display: flex; align-items: center; gap: .45rem; font-size: .92rem; }
#panel-render .rs-colors input[type="color"], #panel-render .rs-parts input[type="color"] { width: 2.4rem; height: 1.9rem; padding: 0; border: 1px solid var(--d-line, rgba(92,92,92,.3)); background: none; cursor: pointer; }
#panel-render .rs-colors [hidden], #panel-render .rs-parts [hidden] { display: none; }
#panel-render .rs-parts { list-style: none; margin: 0 0 .7rem; padding: 0; max-height: 12rem; overflow: auto; border: 1px solid var(--d-line-2, rgba(92,92,92,.12)); }
#panel-render .rs-parts li { display: grid; grid-template-columns: auto minmax(0, 1fr) 7.5rem auto; align-items: center; gap: .45rem; padding: .3rem .5rem; border-bottom: 1px solid var(--d-line-2, rgba(92,92,92,.12)); font-size: .9rem; }
#panel-render .rs-parts li:last-child { border-bottom: 0; }
#panel-render .rs-parts li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#panel-render .rs-parts li select { width: 100%; padding: .2rem; }
#panel-render #rs-save { width: 100%; padding-block: .8rem; font-size: 1.02rem; }
@media (max-width: 960px) {
  #panel-render .rs-wrap { grid-template-columns: minmax(0, 1fr); }
  #panel-render .rs-stage { min-height: 16rem; }
}

/* Quick render workspace */
#panel-render .rs-batch-workspace{padding:clamp(1rem,3vw,1.8rem)!important;border-radius:16px!important;max-width:100%;margin-bottom:1rem}#panel-render .rs-batch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}#panel-render .rs-batch-grid label,#panel-render #rs-batch-name-wrap{display:grid;gap:.4rem;font-weight:600;min-width:0}#panel-render .rs-batch-grid select,#panel-render .rs-batch-product select,#panel-render #rs-batch-name{width:100%;min-width:0;background:#fff;color:#111;border:1px solid #ccc;border-radius:10px;padding:.6rem}#panel-render .rs-batch-head,#panel-render .rs-batch-actions{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin:.8rem 0}#panel-render .rs-batch-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}#panel-render .rs-batch-product{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border:1px solid #ddd;border-radius:10px;padding:.7rem;background:#fff;color:#111;min-width:0}#panel-render .rs-batch-product label{display:flex;gap:.55rem;align-items:center;min-width:0;font-weight:500}#panel-render .rs-batch-product input{flex-shrink:0;accent-color:#111}#panel-render .rs-batch-product select{width:auto;max-width:46%;font-size:.85rem}#panel-render .rs-batch-local{margin:1rem 0}#panel-render .rs-manual>summary{cursor:pointer;padding:1rem;border:1px solid #ccc;border-radius:12px;margin-bottom:1rem;font-weight:650}#panel-render #rs-batch-progress{width:100%;accent-color:#111}#panel-render .rs-batch-workspace [hidden]{display:none!important}@media(max-width:650px){#panel-render .rs-batch-grid,#panel-render .rs-batch-products{grid-template-columns:minmax(0,1fr)}#panel-render .rs-batch-actions .btn{flex:1}}

/* Website image pack */
.rs-pack{padding:20px;border:1px solid #ddd;border-radius:14px;margin-bottom:24px;background:#fafafa;color:#171717}.rs-pack h3{margin:0 0 8px}.rs-pack label{display:grid;gap:6px;max-width:650px}.rs-pack select{width:100%;min-width:0}.rs-pack .rs-batch-actions{flex-wrap:wrap;gap:8px}.rs-pack-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin-top:12px}.rs-pack-preview figure{margin:0;min-width:0}.rs-pack-preview img{width:100%;aspect-ratio:3/2;object-fit:contain;border-radius:8px;background:#eee}.rs-pack-preview figcaption{font-size:12px;overflow-wrap:anywhere}.rs-pack button:disabled{opacity:.5;cursor:not-allowed}
