/* Snarky Printshop: one stylesheet for the whole site. Colors and fonts are set once in :root. */
:root {
  --bg: #faf6ef;
  --paper: #ffffff;
  --sand: #f3eee5;
  --sand-2: #f1ebe0;
  --ink: #1e1b2e;
  --ink-2: #48435a;
  --muted: #777184;
  --line: #ebe3d6;
  --accent: #f26a2e;
  --accent-ink: #c4501a;
  --accent-soft: #fff1ea;
  --gold: #c9a45c;
  --night: #17141d;
  --save-bg: #e3f3e7;
  --save-ink: #2c7343;
  --star: #e2a52f;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 27, 46, .12);
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 64px;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main { min-height: 60vh; outline: none; }

/* ---------- Buttons, pills, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e05a1f; }
.btn-outline { border: 1.5px solid var(--ink); background: var(--paper); }
.btn-outline:hover { background: var(--sand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #d6b46f; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.link-accent { color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.link-accent:hover { text-decoration: underline; }

.seg { display: inline-flex; gap: 6px; }
.seg button { min-height: 32px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); font-weight: 600; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid #d9d1c3; background: var(--paper); font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 640px) { .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; } .chip { flex: none; } }

.save { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--save-bg); color: var(--save-ink); font-size: 12px; font-weight: 600; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 400; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 8px var(--gutter); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.logo em { font-style: italic; font-weight: 400; color: var(--accent); }
.logo .ad-word { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; color: var(--gold); margin-left: 6px; }
.nav { flex: 1; display: flex; justify-content: center; align-items: stretch; height: 100%; gap: 2px; }
.nav-item { display: flex; align-items: stretch; }
.nav-link { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 10px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-link.off, .mnav-row.off, .link-accent.off { cursor: default; }   /* menu items switched off for now: no link */
.nav-link .caret { font-size: 9px; opacity: .7; }
.nav-link:hover, .nav-item.open > .nav-link, .nav-link.current { color: var(--accent-ink); }
.nav-item.open > .nav-link::after, .nav-link.current::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; }
.nav-pill { align-self: center; padding: 6px 12px; border-radius: 999px; background: var(--night); color: var(--gold); font-size: 12.5px; font-weight: 600; white-space: nowrap; margin-left: 6px; border: 2px solid transparent; }
.nav-pill:hover, .nav-pill.current { border-color: var(--accent); }
.hdr-icons { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 21px; height: 21px; }
.count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }
@media (max-width: 1080px) { .nav-link { padding: 0 7px; font-size: 13px; } .hdr { gap: 12px; } }
@media (max-width: 980px) {
  .nav, .hdr-icons .hide-m { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr { justify-content: space-between; }
  .logo { font-size: 21px; position: absolute; left: 50%; transform: translateX(-50%); }
  .logo .ad-word { display: none; }
}

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 4px solid var(--accent); box-shadow: 0 24px 40px rgba(30, 27, 46, .14); display: none; }
.nav-item.open .mega { display: block; }
.mega-in { display: grid; grid-template-columns: 1fr 1fr 1fr 300px; gap: 28px; padding: 28px var(--gutter) 30px; max-width: var(--wrap); margin: 0 auto; }
.mega h4 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a, .mega li span.txt { display: inline-block; padding: 3px 0; font-size: 14px; }
.mega li a:hover { color: var(--accent-ink); text-decoration: underline; }
.mega .all { font-weight: 700; }
.mega .muted { color: var(--muted); }
.mega .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.08); }
.mega-feature { border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; min-height: 220px; gap: 6px; transition: transform .15s; }
.mega-feature:hover { transform: translateY(-2px); }
.mega-feature .pv { background: transparent; aspect-ratio: auto; height: 130px; width: 100%; }
.mega-feature strong { font-family: var(--serif); font-size: 19px; }
.mega-feature small { font-size: 12.5px; color: var(--ink-2); }
.mega-feature.dark { background: var(--ink); color: #fff; }
.mega-feature.dark small { color: #cfcadb; }
.mega-who { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 8px; }
.who-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 600; }
.who-icon .circle { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--accent-soft); display: grid; place-items: center; transition: background .15s; }
.who-icon .circle svg { width: 28px; height: 28px; stroke: var(--accent-ink); }
.who-icon:hover .circle { background: #ffe1d2; }
.scrim { position: fixed; inset: 0; background: rgba(250, 246, 239, .72); z-index: 30; display: none; }
.scrim.on { display: block; }

/* ---------- Drawers, overlays, modal ---------- */
.overlay-bg { position: fixed; inset: 0; background: rgba(30, 27, 46, .45); z-index: 60; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-r { from { transform: translateX(100%); } }
@keyframes slide-l { from { transform: translateX(-100%); } }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 61; display: flex; flex-direction: column; animation: slide-r .2s ease-out; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); }

.ship-bar { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; }
.ship-bar .track { height: 7px; background: #f6d8c7; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.ship-bar .fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line .pv { width: 76px; height: 64px; aspect-ratio: auto; border-radius: 10px; }
.cart-line h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-line .meta { font-size: 12.5px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-line .remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-line .price { font-weight: 600; font-size: 14px; text-align: right; }
.upsell { border: 1.5px dashed var(--accent); border-radius: 12px; padding: 12px 14px; margin: 16px 0; font-size: 13.5px; background: #fffaf7; }
.upsell .btn { margin-top: 8px; }
.gift-note { font-size: 13.5px; }
.gift-note textarea { width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 70px; resize: vertical; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.empty h3 { color: var(--ink); margin-bottom: 8px; font-size: 22px; }

.search-panel { position: fixed; top: 0; left: 0; right: 0; background: var(--paper); z-index: 61; box-shadow: var(--shadow); animation: drop .18s ease-out; max-height: 100vh; overflow-y: auto; }
.search-panel .wrap { padding-top: 20px; padding-bottom: 28px; }
.search-row { display: flex; gap: 12px; align-items: center; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 18px; height: 52px; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 17px; background: transparent; min-width: 0; }
.search-box svg { width: 20px; height: 20px; flex: none; }
.search-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 22px; }
.search-cols h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }
.search-cols ul { list-style: none; padding: 0; margin: 0 0 18px; }
.search-cols li a { display: block; padding: 4px 0; font-size: 15px; }
.search-cols li a:hover { color: var(--accent-ink); }
.search-cols mark { background: none; font-weight: 700; color: inherit; }
.search-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sp-item { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.sp-item .pv { width: 84px; height: 64px; flex: none; aspect-ratio: auto; border-radius: 10px; }
.sp-item span { display: block; color: var(--muted); font-size: 12.5px; }
@media (max-width: 720px) { .search-cols { grid-template-columns: 1fr; gap: 6px; } .search-products { grid-template-columns: 1fr; } }

.modal { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); background: var(--paper); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); text-align: center; animation: fade .15s; }
.modal h2 { font-size: 26px; margin-bottom: 10px; }
.modal p { color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Phone menu */
.mnav { position: fixed; inset: 0; z-index: 61; background: var(--paper); display: flex; flex-direction: column; animation: slide-l .2s ease-out; }
.mnav-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 58px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.mnav-head h2 { text-align: center; font-size: 19px; }
.mnav-body { flex: 1; overflow-y: auto; }
.mnav-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; text-align: left; }
.mnav-row .chev { font-size: 20px; color: var(--muted); }
.mnav-row.accent { color: var(--accent-ink); font-weight: 600; }
.mnav-row.dark { background: var(--night); color: var(--gold); }
.mnav-sec { background: var(--accent-soft); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 20px; }
.mnav-foot { text-align: center; font-size: 13px; color: var(--muted); padding: 16px; }
.mnav-foot a { text-decoration: underline; }

/* ---------- Product visuals ---------- */
.pv { position: relative; display: grid; place-items: center; background: var(--sand); border-radius: 10px; aspect-ratio: 4 / 3; overflow: hidden; container-type: inline-size; }
.pv.bare { background: transparent; }

.mug { position: relative; width: 84%; aspect-ratio: 1.42; container-type: inline-size; }
.mug-body { position: absolute; inset: 0 13% 0 0; border-radius: 7% / 10%; overflow: hidden; background: #fff; box-shadow: 0 5px 14px rgba(30, 27, 46, .16), inset -6px 0 14px rgba(0, 0, 0, .05); z-index: 1; }
.mug-body img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mug::after { content: ''; position: absolute; right: 0; top: 21%; width: 19%; height: 50%; border: 4.2cqw solid #efebe4; border-left: 0; border-radius: 0 45% 45% 0; box-shadow: 2px 3px 6px rgba(30, 27, 46, .12); }
.mug-body.type { display: flex; align-items: center; justify-content: center; text-align: center; padding: 6% 8%; font-family: var(--serif); font-weight: 800; font-size: 7.6cqw; line-height: 1.08; color: var(--ink); letter-spacing: -.01em; }
.mug-body.type.long { font-size: 6.2cqw; }
.mug-body.type.short { font-size: 10cqw; }
.mug-body.type.loud { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0; color: #fff; }
.pv.hero-mug { background: transparent; aspect-ratio: 1.3; }
.pv.hero-mug .mug { width: 100%; }
.mug.small { width: 46%; }

.candle { position: relative; width: 40%; aspect-ratio: .74; container-type: inline-size; }
.candle .jar { position: absolute; inset: 7% 0 0 0; background: linear-gradient(90deg, #2b1f18, #4a3527 40%, #33251c); border-radius: 12% / 8%; box-shadow: 0 6px 14px rgba(30, 27, 46, .22); }
.candle .lid { position: absolute; top: 0; left: 4%; right: 4%; height: 10%; background: #b9b0a3; border-radius: 6px 6px 3px 3px; z-index: 1; }
.candle .label { position: absolute; left: 13%; right: 13%; top: 26%; bottom: 14%; background: #fff; border-radius: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6% 5%; }
.candle .brand { font-family: var(--sans); font-size: 6.5cqw; font-weight: 700; letter-spacing: .1em; color: var(--accent); line-height: 1.1; }
.candle .say { font-family: var(--serif); font-weight: 800; font-size: 9.4cqw; line-height: 1.1; color: var(--ink); margin: 5% 0; overflow: hidden; }
.candle .say.long { font-size: 7.6cqw; }
.candle .oz { font-size: 5.4cqw; color: var(--muted); }
.candle.adult .jar { background: linear-gradient(90deg, #1b1418, #3a2530 40%, #23181e); }

.towel { position: relative; background: #f7f2e8; box-shadow: 0 6px 14px rgba(30, 27, 46, .16); display: flex; align-items: center; justify-content: center; text-align: center; padding: 18% 9%; border-top: 9cqw solid #d9554a; border-bottom: 9cqw solid #d9554a; font-family: var(--serif); font-weight: 800; color: var(--ink); line-height: 1.12; font-size: 10cqw; overflow: hidden; }
.towel.long { font-size: 8cqw; }

.cluster { position: relative; width: 92%; height: 82%; display: flex; align-items: center; justify-content: center; gap: 2%; }
.cluster .mug { width: 46%; }
.cluster .candle { width: 27%; }
.cluster .towel { width: 21% !important; }
.pair .mug { width: 45%; }

.reveal { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: linear-gradient(135deg, #2c2027, #3d2a33); color: var(--gold); font-size: 13px; font-weight: 500; text-align: center; padding: 10px; width: 100%; }
.reveal:hover { background: linear-gradient(135deg, #34262e, #48323d); }

/* ---------- Product cards and grids ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 14px; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 8px 22px rgba(30, 27, 46, .1); transform: translateY(-2px); }
.card-link { display: block; }
.card h3 { font-family: var(--sans); font-size: 13.5px; font-weight: 600; line-height: 1.3; margin: 10px 2px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { font-size: 13.5px; color: var(--ink-2); margin: 0 2px; }
.card .sub { font-size: 12.5px; color: var(--muted); margin: -2px 2px 4px; }
.card .bundle-price { display: flex; align-items: center; gap: 8px; margin: 4px 2px 0; font-weight: 700; font-size: 18px; }
.wish { position: absolute; top: 16px; right: 16px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.wish svg { width: 17px; height: 17px; }
.wish[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.card.bare { background: transparent; border: 0; padding: 0; }
.card.bare:hover { box-shadow: none; }
.card.bare .pv { background: var(--paper); border: 1px solid var(--line); }
.card.bare h3 { font-size: 12.5px; margin-top: 8px; }
.card.bare .price { font-size: 12.5px; }
.card.dark { background: #221d26; border-color: #2f2833; color: #fff; }
.card.dark .price { color: #c9c2d0; }
.more-row { text-align: center; margin: 28px 0 8px; }

/* Inventory mugs: the flat print, design dots, page numbers, "Who's on the mug" */
.pv.flat { aspect-ratio: 2.25; background: #fff; border: 1px solid var(--line); }
.pv.flat img, .pv > img.flat { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pv.flat img { position: absolute; inset: 0; }   /* pinned to the box, so square pictures shrink to fit instead of being cut off */
.card .dots { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0 2px 6px; }
.card .dot { width: 13px; height: 13px; padding: 0; border-radius: 50%; border: 1px solid rgba(30, 27, 46, .18); }
.card .dot.on { outline: 2px solid var(--accent); outline-offset: 1px; }
.card .dots span { font-size: 11.5px; color: var(--muted); margin-left: 3px; }
.card.inv .wish { top: auto; bottom: 10px; right: 10px; }   /* keep it off the printed saying */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 8px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; }
.pager a:hover { border-color: var(--ink); }
.pager a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .off { color: var(--muted); opacity: .55; }
.pager .gap { border: 0; background: none; min-width: 20px; padding: 0; }
.filters .look-box { background: var(--accent-soft); border: 1px solid #f6d3c2; border-radius: 12px; padding: 10px 10px 4px; }
.filters .look img { width: 44px; aspect-ratio: 2.25; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.filters .hint { font-size: 11.5px; color: var(--muted); margin: 4px 0 6px; }
/* Image view: the print on a glossy mug-white panel, like the mug's surface laid flat. The picture is multiplied
   onto the glaze so its white becomes the mug's white; two soft highlight bands and darker ends match the turning mug. */
.gallery .main.flat { aspect-ratio: 2.25; background: #f6f6f6; border: 0; border-radius: 24px; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 28px -14px rgba(70, 55, 45, .45), 0 3px 8px rgba(70, 55, 45, .08); }
.gallery .main.flat img { object-fit: contain; background: transparent; mix-blend-mode: multiply; }
.gallery .main.flat::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 16%, rgba(255, 255, 255, .34) 22.5%, transparent 29%, transparent 76.5%, rgba(255, 255, 255, .16) 80%, transparent 83.5%),
    linear-gradient(90deg, rgba(40, 30, 25, .08), transparent 22%, transparent 78%, rgba(40, 30, 25, .08));
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .6)); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .6)); }
.gallery .main.spin { aspect-ratio: 1.4; background: transparent; border: 0; }   /* the mug sits on the page with its own shadow */
.gallery .main.spin canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.gallery .main.spin .spin-fallback { width: 100%; height: 100%; object-fit: contain; }
.pv > img.mug-still { background: transparent; }
.cart-line .pv:has(.mug-still) { background: transparent; }
.view-btns { display: flex; gap: 6px; margin-top: 10px; }
.view-btns button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; }
.view-btns button[aria-pressed="true"] { background: var(--accent); }
.view-btns svg { width: 11px; height: 11px; }
.designs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.design { padding: 4px 4px 6px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-size: 11px; color: var(--muted); }
.design img { display: block; width: 100%; aspect-ratio: 2.25; object-fit: contain; margin-bottom: 4px; }
.design.on { border-color: var(--ink); color: var(--ink); }
@media (max-width: 700px) { .designs { gap: 5px; } .design span { display: none; } }

/* ---------- Homepage ---------- */
.hero { background: var(--paper); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 72px var(--gutter) 84px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; }
.hero p { color: var(--muted); margin: 18px 0 26px; font-size: 15px; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { max-width: 470px; justify-self: center; width: 100%; }
/* Home page update (Nov 2026): saying-swap hero, countdown bar, ticker, "Same joke. Your people." */
.hero { background: radial-gradient(110% 90% at 78% 40%, #ffe6d6 0%, #fff4ec 45%, var(--paper) 78%); }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero .proof span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; }
.hero .proof svg { width: 15px; height: 15px; stroke: var(--accent-ink); }
.hero-art { position: relative; min-width: 0; }
.hero-in > * { min-width: 0; }   /* the long "Now turning" line must not widen the page on phones */
@media (max-width: 760px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero .proof { order: 4; margin-top: 4px; } .hero .proof span { font-size: 11.5px; padding: 4px 10px; } }
.price-sticker { position: absolute; top: 4%; right: 2%; z-index: 2; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; transform: rotate(8deg); box-shadow: 0 6px 14px rgba(30, 27, 46, .22); }
.price-sticker b { color: #ffd37a; }
.now-turning { display: block; width: max-content; max-width: 100%; margin: 6px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13px; box-shadow: 0 4px 12px rgba(30, 27, 46, .08); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-turning b { color: var(--accent-ink); }
.hero-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.hero-dots i { width: 8px; height: 8px; border-radius: 4px; background: #e2d6c8; transition: width .3s, background .3s; }
.hero-dots i.on { width: 22px; background: var(--accent); }
.countdown-bar { background: var(--ink); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 9px var(--gutter); }
.countdown-bar b { color: #ffd37a; }
.countdown-bar .cd { margin-left: 8px; }
.countdown-bar .cd span { display: inline-block; background: var(--accent); border-radius: 5px; padding: 0 7px; font-weight: 800; }
.looks-band { background: #fbe0ea; padding: 44px 0; }
.looks-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }   /* mug column the same width as the hero mug's */
.looks-mug.pv { background: transparent; aspect-ratio: 1.4; }
.looks-mug canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.looks-band h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.looks-band p { color: var(--ink-2); margin: 6px 0 16px; }
.looks-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.look { background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 5px 5px 7px; font-size: 12px; font-weight: 600; transition: transform .15s; }
.look:hover { transform: translateY(-2px) rotate(-1deg); }
.look.on { border-color: var(--ink); }
.look img { display: block; width: 100%; aspect-ratio: 2.25; object-fit: contain; border-radius: 6px; margin-bottom: 4px; }
@media (max-width: 760px) { .looks-in { grid-template-columns: 1fr; gap: 14px; } .looks-row { grid-template-columns: repeat(4, 1fr); gap: 6px; } .price-sticker { font-size: 11px; padding: 6px 10px; } }
.hero-art:has(.hero-spin) { max-width: none; justify-self: stretch; }   /* full column width, like the product page mug */
@media (min-width: 761px) { .hero-in:has(.hero-spin) { grid-template-columns: 1fr 1.15fr; } }   /* the mug column as wide as the product page's (1.15fr) */
.pv.hero-spin { background: transparent; aspect-ratio: 1.4; }   /* the turning logo mug, on the page with its own shadow */
.pv.hero-spin canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.pv.hero-spin .spin-fallback { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 36px; gap: 18px; }
  .hero h1 { font-weight: 800; font-size: 32px; }
  .hero p { margin: 10px 0 0; }
  .hero-art { order: 2; max-width: 300px; justify-self: start; }
  .hero-art:has(.hero-spin) { max-width: none; justify-self: stretch; }   /* full width, like the product page mug on a phone */
  .hero .btns { order: 3; }
  .hero .btns .btn { flex: 1; }
  .hero-copy { display: contents; }
}

.band { padding: 36px 0; }
.band.sand { background: var(--bg); }
.band-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.band-head h2 { font-size: 22px; font-weight: 800; }
.band-head .push { margin-left: auto; }
.view-art { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
@media (max-width: 1100px) { .strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip > :nth-child(n+5) { display: none; } .band-head h2 { order: -1; width: 100%; } .band-head .push { margin-left: 0; } }

.sec-title { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.sec-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-title-row .sec-title { margin-bottom: 0; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tile { padding: 22px 16px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: filter .15s; }
.tile:hover { filter: brightness(.97); }
.tile .pv { background: transparent; width: 100%; max-width: 220px; aspect-ratio: 1.45; }
.tile .pv > img { width: 100%; height: 100%; object-fit: contain; }
.tile.off { cursor: default; }   /* switched off for now: no link */
.tile.off:hover { filter: none; }
.tile strong { font-family: var(--serif); font-size: 22px; font-weight: 800; margin-top: 6px; }
.tile small { font-size: 12.5px; color: var(--ink-2); }
.tile.dark { background: var(--ink); color: #fff; }
.tile.dark small { color: #cfcadb; }
@media (max-width: 760px) {
  .tiles { display: flex; flex-wrap: wrap; gap: 8px; border: 0; border-radius: 0; overflow: visible; }
  .tile { flex-direction: row; padding: 0 18px; min-height: 38px; border-radius: 999px; border: 1px solid #d9d1c3; background: var(--paper) !important; color: var(--ink) !important; }
  .tile .pv, .tile small { display: none; }
  .tile strong { font-family: var(--sans); font-size: 14px; font-weight: 500; margin: 0; }
}

.occ-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.occ { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; text-align: center; }
.occ .img { position: relative; width: 100%; aspect-ratio: 1.45; border-radius: 16px; overflow: hidden; background: var(--sand); display: grid; place-items: center; transition: transform .15s; }
.occ:hover .img { transform: translateY(-2px); }
.occ .img img { width: 100%; height: 100%; object-fit: cover; }
.occ .img .typeset { font-family: var(--serif); font-weight: 800; font-size: 17px; padding: 10px; color: var(--ink); line-height: 1.1; }
.occ.in-season .img { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) { .occ-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .occ-row { grid-template-columns: repeat(2, 1fr); } }

.finder { background: linear-gradient(100deg, #fff 0%, #fdeee6 100%); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; position: relative; }
.finder-line { font-family: var(--serif); font-size: clamp(19px, 2.3vw, 24px); line-height: 1.9; }
.blank { font-family: var(--serif); color: var(--accent-ink); border-bottom: 2px solid var(--accent); padding: 0 4px; margin: 0 2px; font-size: inherit; }
.blank::after { content: ' ▾'; font-size: .55em; vertical-align: .2em; }
.finder .go { display: flex; justify-content: flex-end; margin-top: 8px; }
/* "Show gifts" on the same line as the sentence, so the strip is one line tall */
@media (min-width: 641px) {
  .finder { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; padding: 14px 28px; }
  .finder-line { flex: 1 1 auto; margin: 0; }
  .finder .go { margin: 0; margin-left: auto; }
  .finder .taps-slot { flex-basis: 100%; height: 0; }
}
.taps { position: absolute; z-index: 20; left: 20px; right: 20px; top: calc(100% - 20px); background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; animation: drop .15s; }
.taps h3 { font-size: 18px; margin-bottom: 12px; }
.taps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tap-card { min-height: 64px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); font-weight: 600; font-size: 15px; padding: 10px; }
.tap-card:hover { border-color: var(--accent); }
.tap-card.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.tap-card .em { display: block; font-size: 22px; }
@media (max-width: 640px) {
  .finder { padding: 20px; }
  .taps { position: fixed; inset: 0; border-radius: 0; z-index: 62; display: flex; flex-direction: column; padding: 20px var(--gutter); overflow-y: auto; }
  .taps h3 { font-size: 24px; margin: 8px 0 18px; }
  .taps-grid { grid-template-columns: 1fr 1fr; }
  .tap-card { min-height: 84px; font-size: 17px; }
  .finder .go .btn { width: 100%; }
}

.coll-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.coll { scroll-snap-align: start; border-radius: 16px; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 4px; transition: transform .15s; }
.coll:hover { transform: translateY(-2px); }
.coll .img { aspect-ratio: 1.75; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.5); margin-bottom: 8px; display: grid; place-items: center; }
.coll .img img { width: 100%; height: 100%; object-fit: cover; }
.coll strong { font-family: var(--serif); font-weight: 800; font-size: 16px; line-height: 1.2; }
.coll small { font-size: 12px; color: var(--ink-2); }
@media (max-width: 900px) { .coll-row { grid-auto-columns: 42%; } }
@media (max-width: 560px) { .coll-row { grid-auto-columns: 72%; margin-right: calc(var(--gutter) * -1); } }

.snarkbox { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(100deg, #fbe4da 0%, #fdf3ee 70%, #fff 100%); padding: 26px 30px; }
.snarkbox .pv { background: transparent; aspect-ratio: 2.1; }
.snarkbox h2 { font-size: 30px; font-weight: 800; margin: 6px 0 4px; }
.snarkbox p { color: var(--ink-2); font-size: 14px; margin-bottom: 10px; }
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price-row .big { font-size: 28px; font-weight: 700; }
@media (max-width: 760px) { .snarkbox { grid-template-columns: 1fr; padding: 20px; } }

.who-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 16px; }
.who-row .circle { width: 64px; height: 64px; }
@media (max-width: 760px) { .who-row { grid-template-columns: repeat(4, 1fr); row-gap: 18px; } }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; align-items: center; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 16px; }
.quote { font-family: var(--serif); font-size: 20px; line-height: 1.35; margin: 8px 0 10px; }
.quote-by { font-size: 12px; color: var(--muted); }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promise { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.promise svg { width: 20px; height: 20px; stroke: var(--accent-ink); flex: none; margin-top: 1px; }
.promise small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.dots { display: flex; gap: 6px; margin-top: 12px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots button[aria-current="true"] { background: var(--accent); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

.guide-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.guide-card .img { aspect-ratio: 2.1; border-radius: 12px; overflow: hidden; background: var(--sand); }
.guide-card .img img { width: 100%; height: 100%; object-fit: cover; }
.guide-card h2 { font-size: 26px; font-weight: 800; margin: 8px 0 6px; }
.guide-card p { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.underline-link { font-weight: 600; font-size: 14px; border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 760px) { .guide-card { grid-template-columns: 1fr; padding-bottom: 22px; } .guide-card > div:last-child { padding: 0 8px; } }

.ad-band { display: flex; align-items: center; gap: 28px; background: linear-gradient(100deg, #231d26 0%, #0f0c12 100%); border-radius: 18px; padding: 24px 30px; color: #cfc8d6; }
.ad-band .t { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold); white-space: nowrap; }
.ad-band p { margin: 0; font-size: 14px; flex: 1; }
@media (max-width: 640px) { .ad-band { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; } }

.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: 18px; padding: 28px 30px; }
.signup h2 { font-size: 26px; font-weight: 800; }
.signup p { color: #cfcadb; font-size: 13.5px; margin: 6px 0 0; }
.pill-form { display: flex; background: #fff; border-radius: 999px; padding: 5px; }
.pill-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-size: 14px; background: transparent; color: var(--ink); }
.pill-form .btn { min-height: 40px; }
.form-msg { font-size: 13px; margin-top: 8px; color: #cfcadb; }
@media (max-width: 760px) { .signup { grid-template-columns: 1fr; padding: 22px; } }

.home-sec { padding: 22px 0; }
.home-sec:last-child { padding-bottom: 56px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand-2); border-top: 1px solid var(--line); margin-top: 0; }
.foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px var(--gutter) 28px; max-width: var(--wrap); margin: 0 auto; }
.foot h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: inline-block; padding: 3px 0; font-size: 13.5px; color: var(--ink-2); }
.foot li a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot .social { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.foot-base { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ---------- Listing pages ---------- */
.page { padding-top: 22px; padding-bottom: 64px; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.page-title { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.page-intro { color: var(--ink-2); margin: 6px 0 0; font-size: 14.5px; }
.listing { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); font-size: 13.5px; }
.filters h4 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.filters legend { padding: 0; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 3px 0; cursor: pointer; }
.filters input { accent-color: var(--ink); width: 15px; height: 15px; }
.filters select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--paper); }
.result-count { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.filter-btn { display: none; }
@media (max-width: 800px) {
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; position: fixed; inset: auto 0 0 0; top: auto; z-index: 61; background: var(--paper); border-radius: 18px 18px 0 0; padding: 22px var(--gutter) 24px; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow); animation: drop .15s; }
  .filter-btn { display: flex; position: sticky; bottom: 16px; z-index: 20; margin: 22px auto 0; width: min(320px, 100%); box-shadow: var(--shadow); }
}
.scents { display: flex; gap: 22px; flex-wrap: wrap; margin: 20px 0 24px; }
.scent { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.scent span.c { width: 62px; height: 62px; border-radius: 50%; transition: transform .15s; border: 3px solid transparent; }
.scent:hover span.c { transform: scale(1.06); }
.scent.on span.c { border-color: var(--ink); }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 24px; }
.type-tile { display: flex; align-items: center; justify-content: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-height: 104px; padding: 12px; font-weight: 600; font-size: 14px; }
.type-tile.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.type-tile .towel { padding: 8% 4%; font-size: 7px; }
@media (max-width: 760px) { .types { grid-template-columns: 1fr 1fr; gap: 10px; } }
.shelf { margin-top: 26px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.shelf-head h2 { font-size: 20px; font-weight: 800; }
.week-head { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 12px; }
.week-head h2 { font-size: 20px; font-weight: 800; }
.week-head span { color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); margin-top: 22px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.gallery .main { aspect-ratio: 1.25; border-radius: 18px; }
.gallery .main .mug { width: 78%; }
.gallery .main .candle { width: 34%; }
.gallery .main.wrap-view img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 86px; border-radius: 10px; border: 2px solid transparent; overflow: hidden; }
.thumb .pv { border-radius: 8px; }
.thumb.on { border-color: var(--ink); }
.thumb img.flat { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.pdp h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 4px 0 8px; }
.pdp .price-big { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.opt { margin-bottom: 18px; }
.opt-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.opt-label span { font-weight: 400; color: var(--muted); }
.size-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pills button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #d9d1c3; background: var(--paper); font-size: 14px; font-weight: 500; }
.size-pills button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 22px 0 14px; }
.buy-row .qty { margin: 0; height: 48px; }
.buy-row .qty button { width: 38px; height: 46px; }
.buy-row .btn { flex: 1; min-height: 48px; font-size: 15px; }
.buy-row .icon-btn { width: 48px; height: 48px; border: 1.5px solid #d9d1c3; }
.buy-row .icon-btn[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.pdp-promises { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.pdp-promises li { display: flex; gap: 10px; align-items: center; }
.pdp-promises svg { width: 18px; height: 18px; stroke: var(--accent-ink); flex: none; }
.pdp-upsell { display: flex; gap: 14px; align-items: center; background: var(--accent-soft); border-radius: 14px; padding: 14px; font-size: 13.5px; margin-top: 8px; }
.pdp-upsell .pv { width: 120px; height: 70px; flex: none; aspect-ratio: auto; background: transparent; }
.details { border-top: 1px solid var(--line); margin-top: 22px; }
.details details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.details summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.details p, .details ul { font-size: 13.5px; color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 20px; } }

.builder { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.builder .preview { aspect-ratio: 1.6; border-radius: 18px; }
.builder select { width: 100%; border: 1.5px solid #d9d1c3; border-radius: 12px; padding: 12px; background: var(--paper); font-size: 14px; }
.builder .opt { margin-bottom: 14px; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Text pages and forms ---------- */
.prose { max-width: 680px; }
.prose p { font-size: 15.5px; color: var(--ink-2); }
.prose h1 { margin-bottom: 18px; }
.form { display: grid; gap: 12px; max-width: 460px; margin-top: 18px; }
.form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
.form input, .form textarea { border: 1.5px solid #d9d1c3; border-radius: 10px; padding: 11px 12px; background: var(--paper); font-weight: 400; }
.form textarea { min-height: 120px; }
.form .btn { justify-self: start; }
.notice { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- After Dark ---------- */
body.ad .site-header { background: var(--night); border-bottom-color: #2a2430; color: #fff; }
body.ad .logo { color: #fff; }
body.ad .icon-btn:hover { background: #2a2430; }
body.ad .nav-link { font-size: 13px; color: #eee8f2; line-height: 1.15; text-align: left; white-space: normal; max-width: 110px; }
body.ad .nav-link:hover, body.ad .nav-link.current { color: var(--gold); }
body.ad .nav-link.current::after { background: var(--gold); }
body.ad .site-footer { background: #1d1922; border-top-color: #2a2430; color: #cfc8d6; }
body.ad .foot li a { color: #b9b1c2; }
body.ad .foot-base { border-top-color: #2a2430; }
.gate { min-height: calc(100vh - var(--header-h) - 120px); background: radial-gradient(ellipse at center, #2b2230 0%, #120f15 75%); color: #d9d2df; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.gate h1 { font-style: italic; font-weight: 400; font-size: clamp(44px, 7vw, 64px); color: var(--gold); margin-bottom: 14px; }
.gate p { font-size: 14.5px; margin: 0 0 4px; }
.year { display: block; margin: 26px auto 26px; width: 200px; background: transparent; border: 0; border-bottom: 2px solid #6b6170; color: var(--gold); text-align: center; font-size: 30px; letter-spacing: .5em; padding: 4px 0 6px .5em; font-family: ui-monospace, Consolas, monospace; outline: none; }
.year:focus { border-bottom-color: var(--gold); }
.year::placeholder { color: #6b6170; }
.gate .btns { display: flex; gap: 12px; justify-content: center; }
.gate .btn-ghost { border: 1.5px solid #5c5260; color: #d9d2df; }
.gate .err { color: #f0a58a; min-height: 22px; margin-top: 14px; font-size: 14px; }
.ad-title { font-style: italic; font-weight: 400; color: #b48a3f; font-size: clamp(36px, 5vw, 48px); }

/* ---------- Small additions ---------- */
.muted { color: var(--muted); }
.card .reveal { inset: 10px 10px auto 10px; width: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
.card.bare .wish { top: 6px; right: 6px; }
.card h3.serif-title { font-family: var(--serif); font-size: 18px; font-weight: 800; -webkit-line-clamp: 1; }
.mega-feature .mug { width: 64%; }
.mega-feature .candle { width: 28%; }
.mega-feature .cluster .mug { width: 46%; }
.mega-feature .cluster .candle { width: 24%; }
.tile .candle { width: 38%; }
.mnav-row small { font-weight: 400; }
.count[hidden] { display: none; }

/* ---------- Sentence builder: "Show me mugs for my ___ for their ___ who's into ___" ---------- */
.sb { background: linear-gradient(100deg, #fff 0%, #fdeee6 100%); border: 1.5px solid #f3c9b3; border-radius: 16px; padding: 12px 20px; margin: 18px 0 22px; }
.sb p { margin: 0; font-family: var(--serif); font-size: clamp(18px, 2.1vw, 22px); line-height: 1.9; }
.sb-blank { font-family: var(--serif); font-size: inherit; line-height: 1.3; color: var(--accent-ink); border-bottom: 2px solid var(--accent); padding: 0 4px; margin: 0 2px; white-space: nowrap; }
.sb-blank span { font-size: .55em; margin-left: 6px; vertical-align: .2em; }
.sb-blank.is-empty { color: var(--muted); border-bottom-color: #cbc3b5; }
.sb-blank.is-open { background: var(--ink); color: #fff; border-radius: 7px; border-bottom-color: var(--ink); padding: 0 9px; }
.sb-blank:hover:not(.is-open) { border-bottom-width: 3px; }
.sb-panel { position: relative; z-index: 5; display: grid; gap: 20px; margin: -14px 0 22px; padding: 18px 20px 12px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 16px 16px; box-shadow: var(--shadow); animation: drop .15s ease-out; }
.sb-group h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; }
.sb-cards { display: grid; grid-template-columns: repeat(var(--c, 3), 1fr); gap: 8px; }
.sb-card { min-height: 42px; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 13.5px; font-weight: 600; line-height: 1.2; transition: border-color .12s, background .12s; }
.sb-card:hover:not(:disabled) { border-color: var(--accent); }
.sb-card.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.sb-card:disabled { opacity: .38; cursor: not-allowed; }
.sb-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; color: var(--muted); }
.sb-skip { color: var(--accent-ink); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.sb-skip:hover { text-decoration: underline; }
.sb-head, .sb-shade { display: none; }
.sb-fade { opacity: .45; transition: opacity .15s; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@media (max-width: 900px) { .sb-panel { grid-template-columns: 1fr !important; } }
@media (max-width: 640px) {
  .sb { padding: 10px 14px; margin: 14px 0 16px; }
  .sb p { font-size: 17px; line-height: 2.05; }
  .sb-shade { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(30, 27, 46, .45); }
  .sb-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; margin: 0; max-height: 78vh; overflow-y: auto; gap: 14px; padding: 0 16px 16px; border: 0; border-radius: 18px 18px 0 0; animation: sheet-up .2s ease-out; }
  .sb-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; background: var(--paper); padding: 14px 0 6px; }
  .sb-head h2 { font-size: 21px; }
  .sb-cards { --c: 2 !important; }
  .sb-card { min-height: 50px; font-size: 14.5px; }
  .sb-foot { position: sticky; bottom: -16px; background: var(--paper); padding-bottom: 14px; }
}

/* ---- Home page, Nov 2026: Coming up · What's your vibe? ---- */
.hero-sb { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 0; }
.hero-sb .sb { margin: 0; }
.hero-sb .sb p { color: var(--ink); font-size: clamp(18px, 2.1vw, 22px); margin: 0; }
.hero:has(.hero-sb) .hero-in { padding-top: 40px; padding-bottom: 40px; }
.coming-up { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.coming-up .sec-title { margin-bottom: 14px; }
.cu-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 14px; }
.cu-big { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 8px; border-radius: 16px; padding: 16px 16px 16px 20px; color: #fff; background: linear-gradient(135deg, #c62b2b 0%, #8f2a2a 45%, #1d6b3a 100%); transition: transform .15s; }
.cu-big b { display: block; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.05; margin: 8px 0 4px; }
.cu-big small { display: block; font-size: 13px; opacity: .92; }
.cu-big img { width: 118%; margin-left: -6%; aspect-ratio: 1.4; object-fit: contain; }
.cu-tag { display: inline-block; background: #ffd37a; color: var(--ink); border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 700; }
.cu-btn { display: inline-block; margin-top: 14px; background: #fff; color: #b3261e; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 13px; }
.cu-card { position: relative; border-radius: 16px; padding: 12px 12px 14px; transition: transform .15s; }
.cu-card img { width: 100%; aspect-ratio: 1.4; object-fit: contain; }
.cu-card b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 800; margin-top: 2px; }
.cu-card small { font-size: 12.5px; color: var(--ink-2); }
.cu-when { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 700; }
.cu-big:hover, .cu-card:hover, .vibe-card:hover { transform: translateY(-3px); }
.vibe-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vibe-card { border-radius: 18px; padding: 16px 14px 10px; text-align: center; transition: transform .15s; }
.vibe-card b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 800; }
.vibe-card small { font-size: 12.5px; color: var(--ink-2); }
.vibe-card img { width: 100%; aspect-ratio: 1.4; object-fit: contain; margin-top: 4px; }
@media (max-width: 900px) {
  .cu-row { grid-template-columns: 1fr 1fr; } .cu-big { grid-column: 1 / -1; }
  .vibe-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .cu-big { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cu-big, .cu-card, .vibe-card { transition: none; } }
/* ---- After Dark, Nov 2026: Mature vibe locked on, the gate's "not yet" popup ---- */
.filters label.locked { opacity: .75; cursor: default; }
.ad-deny { text-align: center; }
.ad-deny-ico { font-size: 44px; line-height: 1; margin-bottom: 6px; }
.ad-deny .btns { display: flex; justify-content: center; margin-top: 16px; }

/* ---- After Dark: "Midnight Velvet", Nov 2026. Only pages with body.ad (After Dark store, its product pages, and the
   cart, search and popups opened from them). Plum-black, candlelight gold, cream text; every text colour passes WCAG AA. ---- */
body.ad {
  --bg: #120c16; --paper: #1c1420; --sand: #1c1420; --sand-2: #241a29;
  --ink: #efe6f2; --ink-2: #cfc3d6; --muted: #a596ad; --line: #3a2a40;
  --accent: #d4af6a; --accent-ink: #e2bf78; --accent-soft: #2a2026;
  --frame: #f6efe6; --glow: rgba(212, 175, 106, .32); --on-gold: #1a1208;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  color-scheme: dark;
  /* fine film grain over a lamp-light glow, so the black reads as velvet, not flat */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(1200px 640px at 72% -8%, #2a1530 0%, rgba(42, 21, 48, 0) 62%),
    #120c16;
  background-attachment: fixed;
}
body.ad .site-header { background: rgba(10, 6, 12, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body.ad .site-footer { background: #07050a; }
body.ad .ad-title { color: #e2bf78; text-shadow: 0 0 28px var(--glow); }

/* buttons and pills: gold with dark text, dark pills with cream text */
body.ad .btn-primary, body.ad .btn-gold { background: var(--accent); color: var(--on-gold); }
body.ad .btn-primary:hover, body.ad .btn-gold:hover { background: #e2bf78; }
body.ad .btn-dark, body.ad .seg button[aria-pressed="true"], body.ad .chip.on, body.ad .view-btns button { background: #2e2234; color: var(--ink); border-color: #2e2234; }
body.ad .view-btns button[aria-pressed="true"], body.ad .pager a.on, body.ad .count { background: var(--accent); border-color: var(--accent); color: var(--on-gold); }
body.ad .size-pills button { border-color: var(--line); }
body.ad .size-pills button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
body.ad .toast { background: #2e2234; color: var(--ink); border: 1px solid var(--line); }
body.ad select, body.ad textarea, body.ad input:not([type]) , body.ad input[type="text"], body.ad input[type="email"], body.ad input[type="search"] { background: var(--paper); color: var(--ink); border-color: var(--line); }
body.ad .filters input { accent-color: var(--accent); }
body.ad .filters .look-box { background: var(--accent-soft); border-color: var(--line); }
body.ad .filters .look img { background: var(--frame); }

/* sentence banner and its cards */
body.ad .sb { background: linear-gradient(100deg, #1c1420 0%, #2a1530 100%); border-color: var(--line); box-shadow: 0 18px 40px -26px var(--glow); }
body.ad .sb-blank.is-empty { border-bottom-color: #5a4862; }
body.ad .sb-blank.is-open { background: var(--accent); color: var(--on-gold); border-bottom-color: var(--accent); }
body.ad .sb-card:disabled { opacity: .45; }

/* mug cards: dark card, cream picture frame so the prints look like they're on a white mug; gold edge and glow on hover */
body.ad .card { box-shadow: none; }
body.ad .card:hover { box-shadow: 0 0 0 1px var(--accent), 0 16px 36px -14px var(--glow); transform: translateY(-3px); }
body.ad .pv.flat, body.ad .pv.flat img, body.ad .design img, body.ad .cart-line .pv { background: var(--frame); }
body.ad .card .price { color: var(--accent-ink); font-weight: 600; }
body.ad .card .dot { border-color: rgba(255, 255, 255, .25); }
body.ad .design { background: var(--paper); }
body.ad .design.on { border-color: var(--accent); color: var(--ink); }

/* product page: the turning mug under a soft spotlight */
body.ad .gallery .main.spin { background: radial-gradient(ellipse 58% 62% at 50% 46%, rgba(246, 225, 180, .20) 0%, rgba(212, 175, 106, .07) 45%, rgba(0, 0, 0, 0) 72%); border-radius: 18px; }
body.ad .pdp .price-big { color: var(--accent-ink); }

/* cart drawer, search and popups match the room */
body.ad .drawer, body.ad .modal, body.ad .search-panel, body.ad .mnav { background: #1a1220; color: var(--ink); }
body.ad .modal, body.ad .drawer { border: 1px solid var(--line); box-shadow: 0 30px 80px -20px #000; }
body.ad .overlay-bg { background: rgba(5, 2, 8, .7); }

/* walking in from the birth-year gate: a slow half-second fade, like a dim room */
body.ad main.ad-enter { animation: ad-in .5s ease-out; }
@keyframes ad-in { from { opacity: 0; filter: brightness(.4); } to { opacity: 1; filter: none; } }
@media (prefers-reduced-motion: reduce) { body.ad main.ad-enter { animation: none; } }
