/* Coco's Crafts store. Same palette and fonts as cocoscrafts.ca: cream, blush pink, plum. */
:root {
  --cream: #faf2e7; --cream-deep: #f3e6d0; --paper: #fffaf4; --white: #fff;
  --ink: #2d1e2a; --ink-soft: #66506a; --line: #ead3d9; --line-soft: #f1e3e6;
  --pink: #e8839c; --pink-deep: #a8445f; --pink-deeper: #983c55; --blush: #fce4ec; --purple: #8b6b9c; --purple-deep: #5c4872; --lilac: #f0e8f3;
  --mint: #e3f2ea; --mint-deep: #2f7a5a; --sky: #e4eef7; --gold: #b8975a; --butter: #fdf3d4;
  --shadow: 0 2px 4px rgba(92,72,114,.06), 0 12px 32px rgba(92,72,114,.10);
  --shadow-lg: 0 4px 10px rgba(92,72,114,.08), 0 24px 60px rgba(92,72,114,.16);
  --radius: 20px; --wrap: 1240px; --text: 19px;
  --serif: "Fraunces", Georgia, serif; --sans: "Nunito", system-ui, sans-serif; --script: "Caveat", cursive;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: var(--text); scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--purple-deep); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--purple-deep); line-height: 1.15; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* "Skip to content": the first thing Tab reaches on every page, shown as soon as it has focus (WCAG 2.4.1). */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--purple-deep); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 0 0 14px 14px; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: -6px; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 2px; }
/* Less motion when the visitor asks for it (the 3D viewer also stops spinning; see js/viewer3d.js). */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.script { font-family: var(--script); font-size: 1.7rem; color: var(--pink-deep); line-height: 1; margin: 0 0 .25em; display: block; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.center { text-align: center; }
section { position: relative; }
.section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { max-width: 620px; margin: 0; color: var(--ink-soft); }
.band-pink { background: linear-gradient(180deg, var(--blush), #fdf0f3); }
.band-lilac { background: linear-gradient(180deg, var(--lilac), #f7f1f8); }
.band-paper { background: var(--paper); border-block: 1px solid var(--line-soft); }

/* ── Buttons & chips ───────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; min-height: 48px;
  font: 800 1rem var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink-deep); color: #fff; box-shadow: 0 6px 18px rgba(168,68,95,.30); }
.btn-primary:hover { background: var(--pink-deeper); }
.btn-plum { background: var(--purple-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--purple-deep); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn-sm { padding: 10px 18px; min-height: 44px; font-size: .95rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 9px 16px; min-height: 40px; font: 700 .95rem var(--sans); cursor: pointer; }
.chip.on { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }
.badge { display: inline-block; font: 800 .72rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  background: var(--butter); color: #7a5a14; }
.badge.pink { background: var(--blush); color: var(--pink-deep); }
.badge.plum { background: var(--purple-deep); color: #fff; }
.badge.mint { background: var(--mint); color: var(--mint-deep); }
/* Local review only: draft products (not on sale yet) are marked so nobody mistakes them for live ones. */
.badge.draft { background: #3a3638; color: #fff7d6; outline: 2px dashed #f2c94c; outline-offset: -4px; }
.product-card.is-draft .pic img { filter: saturate(.75); }
.review-bar { background: #3a3638; color: #fff7d6; font-weight: 700; font-size: .85rem; text-align: center; padding: 7px 12px; }
.review-bar a { color: #f2c94c; text-decoration: underline; }
.draft-note { background: #3a3638; color: #fff7d6; border-radius: 14px; padding: 10px 14px; margin: 10px 0 0; }
.licence-box { background: var(--mint); color: #1f4f3b; border-radius: 14px; padding: 12px 14px; margin-top: 18px; }
.desc-block h3 { margin: 18px 0 6px; font-size: 1.02rem; }
.desc-block p, .desc-block ul { margin: 0 0 10px; }
.tutorial-links a { display: block; margin: 6px 0; font-weight: 700; }
/* Buyer reviews (real reviews of the file, quoted as written: first name, month, count) and the viral-video feature on the paper page */
.buyer-reviews { margin-top: 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; padding: 14px 16px; }
.buyer-reviews h3 { margin: 0 0 4px; font-size: 1.05rem; }
.buyer-reviews .stars { margin: 0 0 6px; font-weight: 700; }
.buyer-reviews .stars span, .quote-card .stars { color: #a8721a; letter-spacing: 2px; }
.buyer-reviews blockquote, .quote-card blockquote { margin: 8px 0 0; padding: 0 0 0 12px; border-left: 3px solid var(--pink); font-size: 1.02rem; }
.buyer-reviews cite { display: block; font-style: normal; font-size: .9rem; color: var(--ink-soft); margin-top: 2px; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(92,72,114,.07); }
.quote-card blockquote { margin: 6px 0 10px; border-left: 0; padding: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--purple-deep); }
.quote-card figcaption { font-size: .92rem; color: var(--ink-soft); }
.viral-callout { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 16px 20px; box-shadow: 0 8px 24px rgba(92,72,114,.08); }
.viral-callout .thumb { position: relative; flex: 0 0 min(100%, 300px); border-radius: 14px; overflow: hidden; display: block; }
.viral-callout .thumb img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.viral-callout .thumb .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: rgba(45,30,42,.22); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.viral-callout > div { flex: 1 1 280px; }
/* "Goes well with": compact suggestion cards in the cart drawer and under the checkout summary */
.goes-well { margin-top: 16px; border-top: 1px dashed var(--line-soft, #eadfe3); padding-top: 12px; }
.goes-well h3 { font-size: 1rem; margin: 0 0 8px; }
.mini-list { display: grid; gap: 8px; }
.mini-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line-soft, #eadfe3); border-radius: 12px; padding: 6px 8px; }
.mini-card img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.mini-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: .88rem; line-height: 1.25; }
.mini-body a { color: inherit; font-weight: 700; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-body a:hover, .mini-body a:focus-visible { text-decoration: underline; }
.mini-body .badge { align-self: flex-start; font-size: .62rem; padding: 4px 7px; }
.mini-card .btn:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 2px; }
.tag { display: inline-flex; gap: 5px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.tag b { color: var(--mint-deep); }

/* ── Header ────────────────────────────────────── */
.promo-bar { background: var(--blush); color: var(--pink-deep); font-weight: 800; font-size: .9rem; text-align: center; padding: 8px 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,244,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.header-row { display: flex; align-items: center; gap: 14px; height: 78px; }
@media (max-width: 1320px) { .main-nav a { padding: 8px 9px; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; border-radius: 50%; }
.brand b { font: 700 1.45rem var(--serif); color: var(--purple-deep); display: block; line-height: 1; }
.brand small { font: 700 1.05rem var(--script); color: var(--pink-deep); }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 800; padding: 8px 12px; border-radius: 999px; font-size: .96rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a.on { background: var(--blush); color: var(--pink-deep); }
.main-nav a.studio { background: linear-gradient(135deg, var(--lilac), var(--blush)); color: var(--purple-deep); }
.main-nav a.studio::after { content: "3D"; font-size: .64rem; background: var(--pink-deep); color: #fff; border-radius: 6px; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.text-size { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.text-size button { border: 0; background: transparent; padding: 7px 10px; font: 800 .86rem var(--sans); color: var(--purple-deep); cursor: pointer; }
.text-size button + button { border-left: 1px solid var(--line); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--purple-deep); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 800 .95rem var(--sans); cursor: pointer; }
.cart-btn .count { background: var(--pink-deep); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.menu-btn { display: none; border: 0; background: var(--blush); color: var(--pink-deep); border-radius: 12px; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; }

/* ── Cards & grids ─────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.product-card { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .pic { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--blush), var(--lilac)); position: relative; overflow: hidden; }
.product-card .pic > a.pic-link { display: block; height: 100%; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pic .badge { position: absolute; top: 12px; left: 12px; }
.product-card .try3d { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: var(--purple-deep); border-radius: 999px;
  padding: 6px 12px; font: 800 .8rem var(--sans); text-decoration: none; box-shadow: var(--shadow); }
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: 1.08rem; margin: 0; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card .short { color: var(--ink-soft); font-size: .9rem; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.price { font: 800 1.2rem var(--sans); color: var(--ink); }
.price s { color: var(--ink-soft); font-weight: 600; font-size: .9rem; margin-left: 6px; }
.save { color: var(--mint-deep); font-weight: 800; font-size: .85rem; }
/* ── Store-wide sale (js/sale.js): sale price, struck-through regular price, "25% off" pill, banner ── */
.price.now { color: var(--pink-deep); }
.was { color: var(--ink-soft); font-weight: 700; font-size: .92rem; text-decoration: line-through; text-decoration-thickness: 2px; }
.price + .was { margin-left: 4px; }
.sale-pill { display: inline-block; background: var(--pink-deep); color: #fff; font: 800 .8rem/1 var(--sans); letter-spacing: .02em; padding: 5px 9px; border-radius: 999px; vertical-align: .12em; white-space: nowrap; }
.promo-bar.sale { background: var(--pink-deep); font-size: 1.12rem; padding: 11px 14px; line-height: 1.3; }
.promo-bar.sale a { color: #fff; text-decoration: none; }
.promo-bar.sale a:hover, .promo-bar.sale a:focus-visible { text-decoration: underline; }
.totals .sale-saved { display: flex; justify-content: space-between; gap: 12px; color: var(--mint-deep); font-weight: 800; padding: 4px 0 8px; }
.ways { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; font-weight: 800; color: var(--ink-soft); }
.ways span::before { content: "● "; color: var(--pink); }
.washi { position: absolute; top: -8px; left: 50%; width: 90px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: repeating-linear-gradient(45deg, rgba(232,131,156,.55) 0 8px, rgba(252,228,236,.7) 8px 16px); border-radius: 2px; z-index: 2; }

/* ── Hero ──────────────────────────────────────── */
.hero { padding: 40px 0 56px; background: radial-gradient(ellipse at 20% 10%, #fff 0%, var(--cream) 60%); overflow: hidden; }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; font-weight: 800; font-size: .9rem; color: var(--ink-soft); }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--pink-deep); font-size: .8rem; }
.hero-stage { position: relative; }
.stage-card { position: relative; background: radial-gradient(circle at 50% 38%, #fff 0%, #fbeff2 55%, #f5e3ea 100%); border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.stage-card .viewer { height: min(56vh, 520px); min-height: 360px; }
.viewer { position: relative; width: 100%; }
/* The canvas fills its box but never sizes it, so the layout can shrink on phones. */
.viewer canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: none; }
.viewer canvas:active { cursor: grabbing; }
.viewer .loading { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.6rem var(--script); color: var(--ink-soft); pointer-events: none; }
/* Before the 3D library arrives (it comes from a CDN): a photo or a soft gradient, a small pill, and after ~10 s a note + Retry. */
.viewer.viewer-waiting { background: var(--viewer-photo, none) center / cover no-repeat, radial-gradient(ellipse at 50% 60%, #fff 0%, #f6edf1 55%, #efe2e8 100%); border-radius: inherit; }
.viewer.viewer-waiting .viewer-hint, .viewer.viewer-failed .viewer-hint { display: none; }
.viewer .viewer-spin { position: absolute; right: 12px; top: 12px; z-index: 2; border: 1.5px solid var(--line); background: rgba(255,255,255,.95); color: var(--purple-deep); border-radius: 999px; padding: 6px 12px; font: 800 .8rem var(--sans); cursor: pointer; }
.viewer .viewer-spin:hover { border-color: var(--purple); }
.viewer .loading.loading-pill { inset: auto auto 14px 50%; transform: translateX(-50%); display: inline-block; place-items: initial; font: 800 .8rem var(--sans);
  background: rgba(255,255,255,.92); color: var(--ink-soft); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.viewer .viewer-fallback { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.95); border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: .9rem; color: var(--ink); text-align: center; box-shadow: var(--shadow); }
.viewer-hint { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 800; color: var(--ink-soft); pointer-events: none; }
.design-strip { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); background: rgba(255,250,244,.9); align-items: center; overflow-x: auto; }
.design-strip .label { font-weight: 800; font-size: .86rem; color: var(--ink-soft); white-space: nowrap; margin-right: 4px; }
.swatch-design { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(0,0,0,.08); cursor: pointer; padding: 0; }
.swatch-design.on { box-shadow: 0 0 0 3px var(--pink-deep); }
.float-deco { position: absolute; pointer-events: none; z-index: 0; filter: drop-shadow(0 8px 12px rgba(92,72,114,.15)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .float-deco { animation: none; } html { scroll-behavior: auto; } }

.preview-note { margin: 0; padding: 8px 14px 10px; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); background: rgba(255,250,244,.92); border-top: 1px dashed var(--line); }
.preview-note.plain { background: none; border: 0; padding: 8px 2px 0; }
.studio-banner .preview-note { background: rgba(255,250,244,.92); }

/* ── Paper vs clay: each craft has its own colour everywhere ── */
.method-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font: 800 .74rem/1 var(--sans); letter-spacing: .03em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.method-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.method-tag.paper { background: var(--sky); color: #27496d; }
.method-tag.clay { background: var(--blush); color: var(--pink-deep); }
.method-tag.display { background: var(--mint); color: var(--mint-deep); }
.method-tag.printed { background: var(--lilac); color: var(--purple-deep); }
.method-tag.clay.printed { background: linear-gradient(90deg, var(--blush), var(--lilac)); color: var(--purple-deep); }
.main-nav a.nav-printed { color: var(--purple-deep); } .main-nav a.nav-printed.on, .main-nav a.nav-printed:hover { background: var(--lilac); color: var(--purple-deep); }
.made-for.printed { background: #f6f1f9; color: #3f2f52; border: 2px solid #d8c8e4; }
.door.printed { border-color: #d8c8e4; } .door.printed h3 { color: var(--purple-deep); }
.area-hero.printed { background: radial-gradient(ellipse at 20% 10%, #fff 0%, #f5eff9 60%, #ebe0f2 100%); }
.printed .step-head .n, .step-head.printed .n { background: var(--lilac); color: var(--purple-deep); }
.fit-table.printed th { background: var(--lilac); color: var(--purple-deep); }
.main-nav a.nav-paper { color: #27496d; } .main-nav a.nav-paper.on, .main-nav a.nav-paper:hover { background: var(--sky); color: #27496d; }
.main-nav a.nav-clay { color: var(--pink-deep); }
.made-for { border-radius: 18px; padding: 14px 16px; margin: 14px 0; display: grid; gap: 6px; font-size: .94rem; }
.made-for.paper { background: var(--sky); color: #1f3d5c; border: 2px solid #a9c4e0; }
.made-for.clay { background: #fff1f5; color: #6d2f42; border: 2px solid #f2c2d0; }
.made-for.display { background: var(--mint); color: #1f4f3b; border: 2px solid #b7dcc8; }
.made-for b.title { font-size: 1rem; }
.made-for a { font-weight: 800; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1100px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; border-radius: 28px; overflow: hidden; border: 2px solid var(--line); box-shadow: var(--shadow); background: var(--paper); transition: transform .2s, box-shadow .2s; }
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.door .pic { aspect-ratio: 16/9; overflow: hidden; } .door .pic img { width: 100%; height: 100%; object-fit: cover; }
.door .body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.door.paper { border-color: #a9c4e0; } .door.paper h3 { color: #27496d; }
.door.clay { border-color: #f2c2d0; }
.door ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-soft); font-size: .95rem; }
.area-hero.paper { background: radial-gradient(ellipse at 20% 10%, #fff 0%, #eaf2fa 60%, #dde9f5 100%); }
.area-hero.clay { background: radial-gradient(ellipse at 20% 10%, #fff 0%, #fdf0f4 60%, #f8e1e9 100%); }
.area-hero.display { background: radial-gradient(ellipse at 20% 10%, #fff 0%, #eef7f1 60%, #e1f0e7 100%); }
.area-hero.paper h1, .area-hero.paper .script { color: #27496d; }
.step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.step-head .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem var(--sans); background: var(--blush); color: var(--pink-deep); flex-shrink: 0; }
.paper .step-head .n, .step-head.paper .n { background: var(--sky); color: #27496d; }
.fit-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: .95rem; }
.fit-table th, .fit-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.fit-table th { background: var(--lilac); color: var(--purple-deep); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.fit-table.paper th { background: var(--sky); color: #27496d; }
.crosslink { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 2px dashed var(--line); border-radius: 20px; padding: 18px 22px; background: var(--paper); }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* ── Tiles, features, steps ────────────────────── */
.tile { display: block; text-decoration: none; color: inherit; padding: 0; }
.tile .pic { aspect-ratio: 16/11; overflow: hidden; background: var(--lilac); }
.tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover .pic img { transform: scale(1.04); }
.tile .body { padding: 18px 20px 20px; }
.tile h3 { margin-bottom: 4px; }
.tile p { color: var(--ink-soft); margin: 0 0 8px; font-size: .95rem; }
.tile .go { font-weight: 800; color: var(--pink-deep); }
.feature { padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--blush); margin-bottom: 14px; }
.feature p { color: var(--ink-soft); margin: 0; }
.ways-grid .feature { display: flex; flex-direction: column; gap: 8px; }
.ways-grid .where { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.bundle-card { display: grid; grid-template-columns: 1fr; }
.bundle-card .ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(35deg); background: var(--mint-deep); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 42px; z-index: 2; }
.studio-banner { border-radius: 32px; background: linear-gradient(120deg, var(--purple-deep), #7b5b8f); color: #fff; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.studio-banner h2, .studio-banner .script { color: #fff; }
.studio-banner .script { color: #ffc6d5; }
.studio-banner ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.studio-banner li { display: flex; gap: 10px; align-items: start; }
.studio-banner li b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); flex-shrink: 0; }
.studio-banner .stage-card { background: radial-gradient(circle at 50% 40%, #fff 0%, #f6e9f0 70%); }
.studio-banner .viewer { height: 340px; }
.members-banner { border-radius: 32px; background: linear-gradient(120deg, #fde7ee, #efe3f5); padding: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line); }
.members-banner img { width: 140px; }
.video-card .pic { aspect-ratio: 16/9; position: relative; }
.video-card .pic::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--pink-deep); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); }
.video-card .meta { font-size: .82rem; font-weight: 800; color: var(--pink-deep); text-transform: uppercase; letter-spacing: .04em; }

/* ── Shop page ─────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.filters { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.filters h3 { font-size: 1rem; margin: 18px 0 8px; }
.filters h3:first-child { margin-top: 0; }
.filters label { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-weight: 700; font-size: .94rem; cursor: pointer; }
.filters input { accent-color: var(--pink-deep); width: 18px; height: 18px; }
.shop-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-top select { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 700 .92rem var(--sans); background: #fff; }
.type-tabs { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Product page ──────────────────────────────── */
.crumbs { font-size: .88rem; font-weight: 700; color: var(--ink-soft); padding: 18px 0 8px; }
.crumbs a { color: var(--ink-soft); }
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.product-layout > * { min-width: 0; }  /* a wide 3D canvas or design strip must never stretch its column */
.media-panel { position: sticky; top: 96px; }
.media-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.media-box { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 38%, #fff 0%, #fbeff2 60%, #f4e2ea 100%); box-shadow: var(--shadow); }
.media-box .viewer { height: min(62vh, 560px); min-height: 360px; }
.media-box > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-box > video { display: block; width: 100%; aspect-ratio: 1/1; max-height: min(72vh, 640px); object-fit: contain; background: #fff; }
.viewer-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(255,250,244,.92); align-items: center; }
.viewer-bar .size { margin-left: auto; font-size: .86rem; color: var(--ink-soft); font-weight: 700; }
.buy-box h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.buy-box .lede { font-size: 1.08rem; color: var(--ink-soft); }
.option-group { margin: 18px 0; }
.option-group > b { display: block; margin-bottom: 8px; }
.format-opts { display: grid; gap: 10px; }
.format-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 16px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.format-opt.on { border-color: var(--pink-deep); background: #fff7f9; }
.format-opt:disabled { opacity: .55; cursor: not-allowed; }
.format-opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.format-opt.on .dot { border: 6px solid var(--pink-deep); }
.format-opt small { display: block; color: var(--ink-soft); font-size: .86rem; }
.delivery { border-radius: 16px; padding: 14px 16px; background: var(--mint); color: #1f4f3b; display: flex; gap: 12px; font-size: .93rem; margin: 14px 0; }
.delivery .ico { font-size: 1.3rem; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: transparent; width: 40px; font-size: 1.2rem; cursor: pointer; color: var(--purple-deep); }
.qty input { width: 44px; text-align: center; border: 0; font: 800 1rem var(--sans); }
.buy-row { display: flex; gap: 12px; align-items: center; margin: 16px 0; }
.buy-row .btn { flex: 1; }
.upsell { border: 2px dashed var(--pink); border-radius: 18px; padding: 16px 18px; background: #fff7f9; margin: 18px 0; }
.upsell h3 { font-size: 1.05rem; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.includes li { display: flex; gap: 10px; }
.includes li::before { content: "✿"; color: var(--pink-deep); }
details.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
details.faq summary { font-weight: 800; cursor: pointer; color: var(--purple-deep); }
.design-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }

/* ── 3D Studio ─────────────────────────────────── */
.studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 22px; align-items: start; padding-bottom: 50px; }
.studio-stage { position: sticky; top: 92px; }
.studio-stage .media-box .viewer { height: min(72vh, 700px); }
.piece-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(255,250,244,.92); }
.piece-tab { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 6px 12px 6px 6px; cursor: pointer; font: 800 .9rem var(--sans); color: var(--ink); }
.piece-tab .sw { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }
.piece-tab.on { border-color: var(--pink-deep); background: #fff7f9; }
.piece-tab.off { opacity: .45; }
.panel-step { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.panel-step h2 { font-size: 1.12rem; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.panel-step h2 .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blush); color: var(--pink-deep); font-size: .9rem; }
.shape-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shape-btn { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.shape-btn b { display: block; font-size: .95rem; }
.shape-btn small { color: var(--ink-soft); font-size: .8rem; }
.shape-btn.on { border-color: var(--pink-deep); background: #fff7f9; }
.coll-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.coll-chips .chip { padding: 5px 11px; font-size: .82rem; }
.clay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch-clay { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch-clay.on { box-shadow: 0 0 0 3px var(--pink-deep); }
.range { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; color: var(--ink-soft); margin-top: 12px; }
.range input { flex: 1; accent-color: var(--pink-deep); }
.personal-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.personal input[type=text] { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 700 1rem var(--sans); }
.upload { display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--pink); border-radius: 14px; padding: 16px; cursor: pointer; font-weight: 800; color: var(--pink-deep); background: #fff7f9; }
.set-summary { background: linear-gradient(135deg, var(--lilac), var(--blush)); }
.need-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.need-list li { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.75); border-radius: 12px; padding: 8px 12px; font-size: .92rem; }
.need-list li span { color: var(--ink-soft); font-size: .82rem; display: block; }
.best-deal { background: #fff; border-radius: 14px; padding: 12px 14px; border: 2px solid var(--mint-deep); margin-bottom: 10px; }
.best-deal b { color: var(--mint-deep); }
.locked { position: relative; }
.locked::after { content: "🔒"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(92,72,114,.45); border-radius: 50%; font-size: .9rem; }

/* ── Project (video) pages ─────────────────────── */
.project-hero { padding: 30px 0 40px; }
.project-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }
.video-box { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16/9; position: relative; }
.video-box img, .video-box iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-box .soon { position: absolute; inset: auto 16px 16px 16px; background: rgba(255,250,244,.95); border-radius: 14px; padding: 12px 16px; font-weight: 800; color: var(--purple-deep); }
.chapters { list-style: none; counter-reset: ch; padding: 0; margin: 0; display: grid; gap: 8px; }
.chapters li { counter-increment: ch; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.chapters li::before { content: counter(ch); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blush); color: var(--pink-deep); font-weight: 800; flex-shrink: 0; }
.parts { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.part { border: 2px solid var(--line); border-radius: 14px; padding: 8px 14px; background: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; color: var(--ink); }
.part small { display: block; color: var(--pink-deep); font-size: .76rem; }
.everything { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: linear-gradient(120deg, #fff4f7, #f4ecf7); border: 2px solid var(--pink); border-radius: 24px; padding: 22px 26px; margin-bottom: 26px; }
.everything img { width: 150px; border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; }
.aff-card { display: flex; flex-direction: column; background: #fff; }
.aff-card .pic { aspect-ratio: 1; background: #fff; padding: 16px; }
.aff-card .pic img { width: 100%; height: 100%; object-fit: contain; }
.aff-card .body { padding: 12px 16px 16px; }
.aff-card h4 { font: 800 .98rem var(--sans); color: var(--ink); margin: 0 0 2px; }
.aff-card small { color: var(--ink-soft); display: block; margin-bottom: 10px; }
.stage-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.disclosure { font-size: .82rem; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }

/* ── Cart drawer & checkout ────────────────────── */
.drawer-shade { position: fixed; inset: 0; background: rgba(45,30,42,.35); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-shade.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); z-index: 90; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s linear .25s; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; visibility: visible; transition: transform .25s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.4rem; }
.drawer-close { border: 0; background: var(--blush); color: var(--pink-deep); width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
.ship-group { margin-bottom: 18px; }
.ship-group h3 { font: 800 .92rem var(--sans); color: var(--purple-deep); display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.ship-group > p { font-size: .82rem; color: var(--ink-soft); margin: 0 0 8px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.line-item img { width: 64px; height: 50px; object-fit: cover; border-radius: 10px; background: var(--lilac); }
.line-item b { font-size: .92rem; display: block; line-height: 1.3; }
.line-item small { color: var(--ink-soft); font-size: .8rem; }
.line-item .rm { border: 0; background: none; color: var(--pink-deep); font-weight: 800; cursor: pointer; font-size: .8rem; padding: 0; }
.totals { display: grid; gap: 4px; margin-bottom: 12px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 800; }
.upgrade { background: #eef8f2; border: 2px solid var(--mint-deep); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: .92rem; }
.upgrade b { color: var(--mint-deep); }
@media (max-width: 620px), (max-height: 760px) { .drawer-foot .upgrade + .upgrade { display: none; } }  /* one nudge at a time on small screens */
.empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--purple-deep); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 800;
  opacity: 0; transition: .25s; pointer-events: none; z-index: 100; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
.form-row label { font-weight: 800; font-size: .9rem; }
.form-row input, .form-row select { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: 600 1rem var(--sans); background: #fff; }

/* ── Admin ─────────────────────────────────────── */
table.admin { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: .92rem; }
table.admin th, table.admin td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.admin th { background: var(--lilac); color: var(--purple-deep); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.switch { position: relative; width: 44px; height: 24px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--mint-deep); }
.switch input:checked + span::before { transform: translateX(20px); }
.status { font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--mint-deep); }
.status.warn { background: var(--butter); color: #7a5a14; }
.status.off { background: var(--line-soft); color: var(--ink-soft); }

/* ── Footer ────────────────────────────────────── */
.site-footer { background: var(--purple-deep); color: #eadff0; padding: 56px 0 30px; margin-top: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #eadff0; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.site-footer a.footer-follow { display: inline-flex; color: #fff; margin-top: 12px; padding: 9px 16px; text-decoration: none; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: .85rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer .footer-legal a { display: inline; padding: 0; text-decoration: underline; }
/* Seller details not given yet (_build/seller_details.json): only ever on local and staging copies; the real publish refuses them. */
.placeholder-missing { background: #ffe066; color: #3d2a00; font-weight: 800; padding: 0 4px; border-radius: 4px; outline: 2px dashed #b8860b; }

/* ── Responsive ────────────────────────────────── */
/* Six nav links (three craft areas) need about 1260 px next to the brand, the text-size buttons and the cart. */
@media (max-width: 1260px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu-btn { display: inline-grid; place-items: center; }
}
@media (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) { .studio-banner.wide-stage { grid-template-columns: 1fr 1.2fr; } }  /* project pages: a bigger 3D stage, one column on phones */
@media (max-width: 900px) {
  .hero-grid, .product-layout, .studio-layout, .project-grid, .studio-banner, .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .media-panel, .studio-stage, .filters { position: relative; top: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members-banner, .everything { grid-template-columns: 1fr; text-align: center; }
  .members-banner img, .everything img { margin: 0 auto; }
  .text-size { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header-row { height: 68px; gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand b { font-size: 1.15rem; }
  .brand small { display: none; }
  .cart-btn .word { display: none; }
  .studio-banner, .members-banner { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .float-deco { display: none; }
}
.gallery-thumb { flex: 0 0 auto; width: 64px; height: 48px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background: center/cover no-repeat; cursor: pointer; padding: 0; }
.gallery-thumb.on { box-shadow: 0 0 0 3px var(--pink-deep); }
.etsy-proof { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-soft); margin: 6px 0 0; }
.etsy-proof b { color: #c2610f; }
.studio-switch { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.studio-switch .chip { text-decoration: none; }
.studio-switch .chip.paper { color: #27496d; border-color: #a9c4e0; }
.studio-switch .chip.paper.on { background: #27496d; border-color: #27496d; color: #fff; }
.pay-choices { display: grid; gap: 10px; margin-top: 10px; }
.paypal-btn { background: #ffc439; color: #111; font-weight: 700; }
.paypal-btn b { color: #003087; font-weight: 800; font-style: italic; }
.paypal-btn:hover { background: #f2b930; }

/* ── Launch store additions ───────────────────── */
.notice { background: var(--butter); color: #5f4710; border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; }
.notice.info { background: var(--sky); color: #23466f; }
.notice.good { background: var(--mint); color: #1f4f3b; }
.notice.bad { background: #fde8ea; color: #8a2533; border: 1.5px solid #f2b8c0; }
.linkish { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: var(--purple-deep); text-decoration: underline; cursor: pointer; }
.pay-box { margin-top: 10px; }
.pay-box .btn[aria-busy="true"] { opacity: 1; }
.pay-help { margin-top: 10px; }
.checkout-steps { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.checkout-steps li { display: flex; gap: 10px; align-items: start; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 14px; }
.checkout-steps b.n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--pink-deep); flex-shrink: 0; }
.shop-search { display: flex; gap: 8px; margin-bottom: 14px; }
.shop-search input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; font: 700 1rem var(--sans); background: #fff; }
/* ── Header search (js/site.js wireSearch): a button on every page that opens a panel with live suggestions ── */
.search-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--purple-deep); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font: 800 .92rem var(--sans); cursor: pointer; }
.search-btn:hover, .search-btn[aria-expanded="true"] { background: var(--blush); color: var(--pink-deep); }
.search-panel { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px 0 16px; }
.search-panel .shop-search { margin: 0; }
.search-results { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.search-results a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 8px 12px; }
.search-results a:hover, .search-results a:focus-visible { border-color: var(--pink); background: var(--blush); }
.search-results img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--cream); }
.search-results span b { display: block; font-weight: 800; line-height: 1.25; }
.search-results small { display: block; color: var(--ink-soft); line-height: 1.3; }
.search-results i { font-style: normal; font-weight: 800; color: var(--purple-deep); }
.search-results .all a { grid-template-columns: 1fr; text-align: center; font-weight: 800; color: var(--pink-deep); background: transparent; border-style: dashed; }
.search-results .note { color: var(--ink-soft); padding: 6px 4px; }
/* The header row is full (brand + six links + text size + cart), so the Search button is icon-only until the screen is wide enough for its word. */
.search-btn { padding: 10px 12px; font-size: 1rem; }
.search-btn .word { display: none; }
@media (min-width: 1600px) { .search-btn { padding: 9px 14px; } .search-btn .word { display: inline; } }
@media (min-width: 1261px) and (max-width: 1440px) { .header-row { gap: 8px; } .brand img { width: 50px; height: 50px; } .header-tools { gap: 6px; } }
@media (min-width: 1261px) and (max-width: 1340px) { .main-nav { margin-left: 4px; } .main-nav a { padding: 8px 7px; } .brand img { width: 46px; height: 46px; } .text-size button { padding: 7px 8px; } }
@media (max-width: 620px) {
  .header-row { gap: 6px; } .header-tools { gap: 6px; } .brand { gap: 8px; } .brand img { width: 42px; height: 42px; } .brand b { font-size: 1.05rem; }
  .search-btn { padding: 9px 11px; } .cart-btn { padding: 9px 12px; }
  .search-results a { grid-template-columns: 44px minmax(0, 1fr) auto; } .search-results img { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .header-row, .header-tools { gap: 4px; } .brand { gap: 6px; } .brand img { width: 38px; height: 38px; } .brand b { font-size: .98rem; }
  .search-btn { padding: 9px 9px; } .cart-btn { padding: 9px 10px; gap: 6px; } .menu-btn { width: 40px; }
}
/* ── "Designs from Coco's videos" (index.html): two frames from Part 1, then the packs that hold designs you can spot ── */
.video-shots { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-bottom: 26px; align-items: stretch; }
.video-shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #1c1613; box-shadow: var(--shadow); }
.video-shot img { width: 100%; height: auto; }
.video-shot figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,250,244,.94); color: var(--purple-deep); font: 800 .82rem var(--sans); padding: 5px 12px; border-radius: 999px; }
.video-side { display: grid; gap: 18px; grid-template-rows: auto 1fr; }
.video-tip { background: var(--blush); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.video-tip b { font: 700 1.25rem var(--serif); color: var(--purple-deep); }
.video-tip span { color: var(--ink-soft); }
.video-pack .spot { margin: 10px 4px 0; font-size: .92rem; color: var(--ink-soft); }
.video-pack .spot b { color: var(--mint-deep); }
@media (max-width: 900px) { .video-shots { grid-template-columns: minmax(0, 1fr); } }
/* ── Shop by category (index.html): one tile per category on sale; the 3D-model tag on product cards ── */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cat-tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.cat-tile:hover, .cat-tile:focus-visible { transform: translateY(-3px); border-color: var(--pink); }
.cat-tile .pic { display: block; aspect-ratio: 4/3; background: var(--cream); overflow: hidden; }
.cat-tile .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tile .body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.cat-tile .body b { font: 700 1.2rem/1.2 var(--serif); color: var(--purple-deep); }
.cat-tile .body > span { color: var(--ink-soft); font-size: .94rem; }
.cat-tile .body i { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 800; color: var(--pink-deep); }
.method-tag.models { background: var(--mint); color: var(--mint-deep); }
/* The category bar under the header: one chip per category on sale, scrolls sideways when there are more than fit. */
.cat-bar { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.cat-bar-row { display: flex; gap: 8px; overflow-x: auto; padding: 9px 0; scrollbar-width: thin; }
.cat-bar a { flex: none; text-decoration: none; color: var(--ink); font: 800 .92rem var(--sans); white-space: nowrap; padding: 7px 15px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.cat-bar a:hover, .cat-bar a:focus-visible { background: var(--blush); border-color: var(--pink); color: var(--pink-deep); }
.cat-bar a.on { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }
@media (prefers-reduced-motion: reduce) { .cat-tile { transition: none; } }
.prose { max-width: 780px; padding-top: 30px; padding-bottom: 50px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; margin: 0 0 1em; }
.prose .lead { font-size: 1.12rem; color: var(--ink-soft); }
.prose .card { padding: 18px 20px; margin: 18px 0; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.toc a { text-decoration: none; }
.gear-grid .tile .pic { aspect-ratio: 4/3; background: #fff; }
.gear-grid .tile .pic img { object-fit: contain; padding: 10px; }

/* ── Newsletter signup (js/newsletter-form.js; only drawn once the newsletter is switched on) ── */
.footer-news { display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-news h4 { margin: 0 0 4px; }
.footer-news p { margin: 0; }
.nl-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input[type="email"] { flex: 1 1 240px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; color: var(--ink); background: #fff; }
.nl-row button { flex: 0 0 auto; }
.nl-note { font-size: .8rem; margin: 8px 0 0; opacity: .92; }
.site-footer .nl-note a { display: inline; padding: 0; text-decoration: underline; }
.nl-box { margin-top: 22px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.nl-box h2 { margin: 0 0 8px; font-size: 1.2rem; }
@media (max-width: 760px) { .footer-news { grid-template-columns: 1fr; } }
.nl-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.nl-status { min-height: 1.2em; margin: 8px 0 0; font-weight: 700; }
.nl-status[data-error="true"] { color: #ffd0d0; }
.nl-box .nl-status[data-error="true"] { color: #a1263a; }
