/* StoneZaic storefront. Colors come from the logo: charcoal and gold. */
:root {
  --ink: #141517;
  --ink-2: #3d3d3d;
  --muted: #6b6c70;
  --bg: #ffffff;
  --soft: #f5f5f3;
  --soft-2: #ededea;
  --line: #e6e5e1;
  --gold: #e3bd7f;
  --gold-2: #d4a85f;
  --gold-text: #8f6420;
  --dark: #0f1012;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 17, 19, .04), 0 8px 28px rgba(16, 17, 19, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; line-height: 1.55; overflow-x: hidden; }
a { color: var(--gold-text); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.bar { background: var(--gold); color: var(--ink); text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .01em; padding: 7px 12px; }
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(15, 16, 18, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo { width: 34px; height: 34px; flex: none; color: #f2f2f2; }
.links { display: flex; gap: 6px; align-items: center; }
.links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.links .cart-link { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--ink); padding: 8px 16px; }
.links .cart-link:hover { background: #ecca92; color: var(--ink); }
.cart-link svg { width: 18px; height: 18px; }
.count { background: var(--ink); color: #fff; border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: 12px; line-height: 20px; text-align: center; }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { background: #ecca92; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(227, 189, 127, .35); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a2b2f; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px #fff; }
.btn.wide { width: 100%; }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 700; color: var(--gold-text); text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(227, 189, 127, .22), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(227, 189, 127, .10), transparent 70%),
    linear-gradient(180deg, #16171a 0%, #0c0d0f 100%); }
/* faint horizontal "layer lines", a nod to how a 3D print is built */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; min-height: min(78vh, 720px); padding-top: 56px; padding-bottom: 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--gold); margin: 0 0 14px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -.04em; font-weight: 800; }
.gold { color: var(--gold); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .72); max-width: 32em; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stage { position: relative; }
.slides { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #1d1e21; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.slide.on img { transform: scale(1); }
.slide-card { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 14px 20px; border-radius: 16px; background: rgba(15, 16, 18, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; text-decoration: none; transform: translateY(8px); opacity: 0; transition: transform .6s var(--ease) .25s, opacity .6s .25s; }
.slide.on .slide-card { transform: none; opacity: 1; }
.slide-card strong { display: block; font-size: 17px; letter-spacing: -.01em; }
.slide-card small { color: rgba(255, 255, 255, .7); font-size: 14px; }
.round { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform .25s var(--ease); }
.round svg { width: 18px; height: 18px; }
a:hover > .round, .tile:hover .round { transform: translateX(3px); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: background .3s, width .3s; }
.dots button.on { background: var(--gold); width: 44px; }

/* ---------- perks ---------- */
.perks { border-bottom: 1px solid var(--line); }
.perks ul { list-style: none; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.perks strong { display: block; color: var(--ink); font-size: 15px; }
.perk-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); }
.perk-ico svg { width: 22px; height: 22px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding-top: 64px; }
.head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.head h2, .split-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 10px; font-weight: 800; }
.head p { color: var(--muted); font-size: 18px; margin: 0; }
.head .eyebrow, .split-head .eyebrow, .story-copy .eyebrow { color: var(--gold-text); }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.split-head h2 { margin: 0; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: #222; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .74) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 22px; right: 18px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile h3 { margin: 0; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; }
.tile p { margin: 4px 0 0; color: rgba(255, 255, 255, .82); font-size: 14.5px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; text-decoration: none; color: var(--ink); }
.card .thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s; }
.card .thumb .alt { opacity: 0; }
.card:hover .thumb img { transform: scale(1.05); }
.card:hover .thumb .alt { opacity: 1; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; }
.card-body { padding: 14px 4px 0; }
.card .kicker { text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; font-weight: 700; color: var(--muted); margin: 0 0 4px; }
.card h3 { font-size: 17.5px; line-height: 1.25; margin: 0 0 3px; letter-spacing: -.01em; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fits { color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; margin: 0; font-size: 16px; }
.price small { font-weight: 600; color: var(--muted); font-size: 13px; }
.mini-dots { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.mini-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.grid.three .card h3 { font-size: 20px; }
.art { background: var(--soft); }
.art-empty { aspect-ratio: 1; }

/* filter chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; margin: 0 0 28px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; background: var(--soft); border-radius: 999px; padding: 10px 18px; color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--soft-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip span { opacity: .6; margin-left: 4px; font-weight: 500; }
#all .card { animation: fadeup .5s var(--ease) both; }

/* story */
.story-band { background: var(--soft); }
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.story-art { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1; }
.story-art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.story-art img:first-child { grid-row: span 2; }
.story-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; }
.story-copy > p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.points .num { font-size: 15px; font-weight: 800; color: var(--gold-text); border-top: 2px solid var(--gold); padding-top: 8px; }
.points h3 { margin: 6px 0 4px; font-size: 19px; letter-spacing: -.01em; }
.points p { margin: 0; color: var(--muted); }

/* promise band */
.promise { background: var(--dark); color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.promise::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 120%, rgba(227, 189, 127, .28), transparent 70%); }
.promise h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 14px; }
.promise p { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 36em; margin: 0 auto 30px; }

/* ---------- product page ---------- */
.crumbs { color: var(--muted); font-size: 14px; margin: 26px 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-bottom: 72px; align-items: start; }
.pdp > * { min-width: 0; }
.gallery { position: sticky; top: calc(var(--nav-h) + 20px); }
.main-photo { position: relative; border-radius: 24px; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.main-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.main-photo img.fade { opacity: 0; }
.nav-btn { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; color: var(--ink); opacity: 0; transition: opacity .2s; }
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn.prev { left: 14px; }
.nav-btn.next { right: 14px; }
.main-photo:hover .nav-btn, .nav-btn:focus-visible { opacity: 1; }
.counter { position: absolute; right: 14px; bottom: 14px; background: rgba(15, 16, 18, .6); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumb-btn { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--soft); aspect-ratio: 1; position: relative; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .2s; }
.thumb-btn:hover img, .thumb-btn.on img { opacity: 1; }
.thumb-btn.on::after { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 2.5px var(--ink); }
.info .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--gold-text); margin: 0 0 8px; }
.pdp h1 { margin: 0 0 6px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.pdp .fits { font-size: 16px; }
.big-price { font-size: 30px; font-weight: 800; margin: 16px 0 4px; letter-spacing: -.02em; }
.each { color: var(--muted); font-size: 14px; min-height: 21px; margin: 0 0 14px; }
.blurb { font-size: 17px; color: var(--ink-2); margin: 0 0 8px; }
fieldset { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
legend span { font-weight: 500; color: var(--muted); }
.swatches, .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch, .pill { position: relative; }
.swatch input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span { display: block; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); cursor: pointer; transition: transform .15s; }
.swatch span:hover { transform: scale(1.08); }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.swatch input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.pill span { display: block; height: 100%; padding: 12px 14px; border-radius: 14px; cursor: pointer; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 650; font-size: 15px; transition: box-shadow .15s, background .15s; }
.pill span:hover { box-shadow: inset 0 0 0 1.5px #c9c8c3; }
.pill small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.pill input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: var(--soft); }
.buy-row { display: flex; gap: 12px; margin-top: 26px; }
.stepper { display: flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper button { width: 44px; height: 52px; border: 0; background: none; cursor: pointer; font-size: 20px; color: var(--ink); border-radius: 999px; }
.stepper button:hover { background: var(--soft); }
.stepper input { width: 40px; border: 0; text-align: center; font-size: 16px; font-weight: 700; background: none; -moz-appearance: textfield; appearance: textfield; color: var(--ink); }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; background: var(--ink); color: #fff; }
.buy-row .btn:hover { background: #2a2b2f; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.assure { list-style: none; padding: 20px 0 0; margin: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.assure li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); }
.assure svg { flex: none; width: 20px; height: 20px; color: var(--gold-text); }
details.more { border-top: 1px solid var(--line); margin-top: 22px; }
details.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 22px; font-weight: 400; transition: transform .2s; }
details.more[open] summary::after { transform: rotate(45deg); }
.details { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); }
.details li { margin: 4px 0; }
.related { border-top: 1px solid var(--line); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transform: translate(-50%, 160%); transition: transform .45s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.toast span { font-size: 15px; }
.toast a { background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 700; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }

/* ---------- cart and text pages ---------- */
.page { padding: 48px 24px 96px; max-width: 800px; }
.page h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 8px 0 24px; }
.page h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 8px; }
.page p, .page li { color: var(--ink-2); font-size: 17px; }
.page li { margin: 6px 0; }
.page.cart-page { max-width: 1140px; }
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line-art .art { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.line-info a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 17px; }
.line-info a:hover { text-decoration: underline; }
.line-info small { display: block; color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
.line-ctl { display: flex; align-items: center; gap: 14px; }
.line-ctl input { width: 66px; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 15px; }
.line-price { font-weight: 800; text-align: right; font-size: 17px; }
.link { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 14px; }
.link:hover { color: var(--ink); }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--soft); border-radius: var(--radius); padding: 26px; }
.summary h2 { margin: 0 0 14px; font-size: 20px; }
.totals p { display: flex; justify-content: space-between; margin: 8px 0; color: var(--ink-2); font-size: 16px; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; font-weight: 800; font-size: 19px; color: var(--ink); }
.meter { height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; margin: 14px 0 4px; }
.meter i { display: block; height: 100%; background: var(--gold-2); border-radius: 6px; }
.summary .btn { margin-top: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.nudge { font-size: 14.5px; color: var(--ink-2); margin: 6px 0 0 !important; display: block !important; }
.error { color: #a4282c; font-weight: 600; display: block !important; }
.empty { text-align: center; padding: 40px 0; }
.empty p { color: var(--muted); }

/* ---------- footer ---------- */
footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 14px; }
.foot p { margin: 0; max-width: 26em; }
.foot h4 { color: #fff; margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.signup { margin-top: 22px; display: grid; gap: 8px; max-width: 26em; }
.signup label { color: #fff; font-size: 14.5px; }
.signup-row { display: flex; gap: 8px; }
.signup input[type=email] { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 15px; }
.signup input[type=email]::placeholder { color: rgba(255, 255, 255, .5); }
.signup input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.signup .btn { padding: 11px 20px; font-size: 15px; }
.signup .form-msg { color: var(--gold); }
.signup small { color: rgba(255, 255, 255, .5); font-size: 12.5px; }
.signup small a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide img { transform: none; }
}

/* ---------- product page: zoom, mixed packs, facts, FAQ, phone bar ---------- */
.zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom:focus-visible { outline: 3px solid var(--gold-2); outline-offset: -3px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 0 10px; }
.price-row .big-price { margin: 0; }
.price-row .each { margin: 0; min-height: 0; }
.facts { list-style: none; display: flex; gap: 10px; padding: 0; margin: 18px 0 0; flex-wrap: wrap; }
.facts li { background: var(--soft); border-radius: 14px; padding: 10px 14px; min-width: 88px; }
.facts strong { display: block; font-size: 16px; }
.facts span { font-size: 12.5px; color: var(--muted); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--soft); margin-bottom: 14px; }
.seg[hidden] { display: none; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: 14.5px; cursor: pointer; color: var(--ink-2); transition: background .15s, box-shadow .15s; }
.seg input:checked + span { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.swatches[hidden], .mixer[hidden], .slots[hidden] { display: none; }
.mixer { background: var(--soft); border-radius: 18px; padding: 14px 16px 16px; }
.mixer .hint { margin: 0 0 12px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.slot { width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: transform .15s, box-shadow .15s; }
.slot span { font-size: 12px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.slot.on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px var(--soft), 0 0 0 5px var(--ink); transform: translateY(-2px); }
.slot:focus-visible, .paint-btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.paint { display: flex; flex-wrap: wrap; gap: 10px; }
.paint-btn { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.paint-btn span { display: block; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: transform .15s; }
.paint-btn:hover span { transform: scale(1.08); }
.paint-btn.on span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px var(--soft), 0 0 0 5px var(--ink); }
.mix-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.mix-sum { margin: 0; font-weight: 650; font-size: 14.5px; }
.mix-foot .link { white-space: nowrap; }
#mix-hint[hidden] { display: none; }
.includes { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; min-height: 0; }
.includes:empty { display: none; }
.trayset .tray-mixer { margin-top: 0; }
.pick-label { margin: 4px 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tray-styles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tray-style { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 0; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line, rgba(0, 0, 0, .12)); cursor: pointer; font: inherit; font-weight: 650; font-size: 14px; color: var(--ink); }
.tray-style .tray-ico { width: 34px; height: 34px; }
.tray-style.on { box-shadow: inset 0 0 0 2px var(--ink); }
.tray-style:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.tray-ico { display: block; }
.tray-slot { position: relative; width: 46px; height: 46px; background: none; box-shadow: none; padding: 0; border-radius: 12px; }
.tray-slot .tray-ico { width: 46px; height: 46px; }
.tray-slot span { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; text-shadow: none; font-size: 11px; display: grid; place-items: center; }
.tray-slot.on { box-shadow: 0 0 0 3px var(--soft), 0 0 0 5px var(--ink); }
.mix-dots { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 10px; }
.mix-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
details.more p { margin: 0 0 18px; color: var(--ink-2); }
.faq { padding-top: 24px; padding-bottom: 24px; max-width: 820px; }
.faq h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; }
.faq details.more { margin-top: 0; }
.faq details.more:last-child { border-bottom: 1px solid var(--line); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 10, 12, .92); display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 112px); object-fit: contain; border-radius: 12px; }
.lb-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .8); font-size: 13px; }
.lb-open, .lb-open body { overflow: hidden; }
.buybar { display: none; }
@media (max-width: 820px) {
  .buybar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(160%); transition: transform .35s var(--ease); }
  .buybar.show { transform: none; }
  .buybar span { display: flex; flex-direction: column; min-width: 0; }
  .buybar strong { font-size: 17px; }
  .buybar small { color: rgba(255, 255, 255, .7); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { flex: none; padding: 12px 20px; }
  .lb-nav { width: 40px; height: 40px; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .perks ul { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --nav-h: 58px; }
  .wrap { padding: 0 18px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-top: 40px; padding-bottom: 44px; }
  .section { padding: 64px 0; }
  .section.tight { padding-top: 44px; }
  .head { margin-bottom: 30px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { aspect-ratio: 1; }
  .tile h3 { font-size: 18px; }
  .tile p { display: none; }
  .tile-body { left: 14px; right: 12px; bottom: 12px; }
  .tile .round { width: 32px; height: 32px; }
  .grid, .grid.three { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .grid.three .card h3, .card h3 { font-size: 15.5px; }
  .card .thumb { border-radius: 16px; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .pdp { grid-template-columns: 1fr; gap: 26px; padding-bottom: 48px; }
  .gallery { position: static; }
  .nav-btn { opacity: 1; width: 38px; height: 38px; }
  .thumbs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb-btn { flex: 0 0 64px; }
  .cart-grid { grid-template-columns: 1fr; gap: 28px; }
  .summary { position: static; }
  .page { padding: 32px 18px 72px; }
}
@media (max-width: 560px) {
  .bar { font-size: 12px; }
  .brand { font-size: 18px; }
  .logo { width: 30px; height: 30px; }
  .links { gap: 2px; }
  .links a { padding: 8px 10px; font-size: 14.5px; }
  .links .hide-sm { display: none; }
  .links .cart-link { padding: 8px 13px; }
  .hero h1 { font-size: 42px; }
  .cta .btn { flex: 1 1 100%; padding: 15px 18px; white-space: nowrap; }
  .slide-card { left: 12px; right: 12px; bottom: 12px; padding: 12px 12px 12px 16px; }
  .perks ul { grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
  .perks li { font-size: 13px; gap: 10px; align-items: flex-start; }
  .perks strong { font-size: 14px; }
  .perk-ico { width: 36px; height: 36px; }
  .mini-dots { display: none; }
  .line { grid-template-columns: 72px 1fr; gap: 14px; }
  .line-art .art { width: 72px; height: 72px; }
  .line-price { grid-column: 2; text-align: left; }
  .foot { grid-template-columns: 1fr 1fr; }
  .toast { left: 16px; right: 16px; transform: translateY(160%); }
  .toast.show { transform: none; }
  .toast span { flex: 1; }
}

/* ---------- reviews ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: -3px; }
.stars span { width: 18px; height: 18px; color: #d9d6cf; }
.stars span.on { color: var(--gold-2); }
.stars svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.product-reviews { padding-top: 0; }
.review-sum { margin: 10px 0 0; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.review-sum strong { color: var(--ink); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 20px; }
.review { background: var(--soft); border-radius: var(--radius); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.review h3 { font-size: 17px; margin: 4px 0 0; letter-spacing: -.01em; }
.review p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.review footer { margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.review footer strong { color: var(--ink); }
.review .verified { color: var(--good, #1f7a4d); font-weight: 600; }
.review .when { margin-left: auto; }
.muted-note { color: var(--muted); font-size: 14.5px; }
.reviews-band .head { margin-bottom: 32px; }

/* ---------- order tracking ---------- */
.page .lede { color: var(--muted); }
.track-form, .review-form { display: grid; gap: 14px; background: var(--soft); border-radius: var(--radius); padding: 24px; margin: 8px 0 28px; }
.track-form label, .review-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.track-form input, .review-form input:not([type=radio]), .review-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.track-form input:focus, .review-form input:focus, .review-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.track-form .btn, .review-form .btn { justify-self: start; }
.form-msg { margin: 0; min-height: 1.2em; color: #b23b3b; font-size: 14.5px !important; }
.form-msg:empty { display: none; }
.order-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.order-card .eyebrow { color: var(--gold-text); margin-bottom: 6px; }
.order-card h2 { margin-top: 0; font-size: 28px; }
.order-card h3 { margin: 26px 0 4px; font-size: 17px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 18px 0; counter-reset: s; }
.steps li { font-size: 13.5px !important; color: var(--muted) !important; border-top: 4px solid var(--soft-2); padding-top: 8px; margin: 0 !important; }
.steps li.done { color: var(--ink) !important; border-color: var(--gold); font-weight: 600; }
.tracking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.tracking p { margin: 0; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 15px; }
.order-items { list-style: none; padding: 0; margin: 8px 0 0; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 10px 0; }
.order-number { background: var(--soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.star-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick legend { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; padding: 0; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { width: 34px; height: 34px; color: #d9d6cf; cursor: pointer; display: block; }
.star-pick label svg { width: 100%; height: 100%; fill: currentColor; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ label { color: var(--gold-2); }
.star-pick input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.thanks { background: #eef7f1; color: #1f5c3b !important; border-radius: var(--radius-sm); padding: 14px 18px; }
@media (max-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .order-card { padding: 18px; }
  .review .when { margin-left: 0; }
}
