/* Mollinest storefront. Tokens first; every size sits on an 8 px step. */
/* Jost (OFL, public/store/fonts/OFL-Jost.txt), self-hosted: Latin, Latin Extended (Italian, Czech) and Cyrillic (Bulgarian) load only when used. */
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/store/assets/fonts/jost-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/store/assets/fonts/jost-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/store/assets/fonts/jost-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root {
  --bg: #f5efe7;
  --paper: #fbf8f3;
  --ink: #2a2420;
  --ink-2: #6f655b;
  --ink-3: #9a8f84;
  --line: #e5dbcd;
  --sage: #55674f;
  --sage-2: #6f8268;
  --on-sage: #ffffff;
  --clay: #a8693b;
  --dark: #262019;
  --ok: #3f6b4a;
  --ok-bg: #e3ebdf;
  --err: #9b2c2c;
  --serif: "Jost", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --sans: "Jost", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
  --r-lg: 24px;
  --max: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .logo span { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; margin: 0; }
h1 { font-weight: 340; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.2vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 16px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--sage);
  background: var(--sage); color: var(--on-sage); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--sage-2); } }
.btn:active { transform: translateY(1px); }
.btn.lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { background: var(--ink); color: var(--paper); } }
.btn.light { background: var(--paper); color: var(--dark); border-color: var(--paper); }
.btn.grow { flex: 1; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.more { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* header */
.announce { background: var(--dark); color: #efe7dc; text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: .02em; }
.bar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 16px 32px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo span { font-size: 25px; font-weight: 600; letter-spacing: -.01em; color: var(--mark, #3d2c22); }
.logo .mark { width: 34px; height: 34px; color: var(--mark, #3d2c22); }
.nav { display: flex; justify-content: center; gap: 32px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); } }
.tools { display: flex; align-items: center; gap: 8px; }
.pick select { appearance: none; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236f655b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center;
  border-radius: 999px; padding: 8px 28px 8px 14px; font-size: 13px; cursor: pointer; }
.cart-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.cart-link svg { width: 24px; height: 24px; }
.count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--sage); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

main { max-width: var(--max); margin: 0 auto; padding: 0 32px 96px; }

/* home: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding: 48px 0 40px; }
.hero h1, .hero .h1 { margin-bottom: 24px; }
.hero .ctas { margin-top: 32px; }
.hero-img { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 10; background: var(--paper); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
@media (hover: hover) and (pointer: fine) { .hero-img:hover img { transform: scale(1.03); } }
.hero-tag { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 12px 16px; border-radius: 12px; font-size: 14px; text-decoration: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.trust { list-style: none; margin: 0; padding: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.trust svg { flex: none; width: 28px; height: 28px; color: var(--sage); }

.block { margin-top: 96px; }
.block .head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 32px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; background: var(--paper); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.04); } }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 24, 18, .62), rgba(30, 24, 18, 0) 55%); }
.tl { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.tl strong { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.tl em { font-style: normal; font-size: 14px; opacity: .9; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.pcard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.pimg { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .8s ease; }
.pimg .alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pimg .alt { opacity: 1; } }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pimg img:first-child { transform: scale(1.03); } }
.pinfo { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pname { font-weight: 500; }
.pprice { white-space: nowrap; }
.pmeta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); margin-top: -4px; }
.dots { display: inline-flex; align-items: center; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dots em { font-style: normal; font-size: 12px; margin-left: 2px; }

/* sets */
.sets { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sets-img { position: relative; aspect-ratio: 1; }
.sets-img img { position: absolute; width: 64%; aspect-ratio: 7 / 8; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 24px 48px rgba(42, 36, 32, .14); }
.sets-img img:first-child { left: 0; top: 0; }
.sets-img img:last-child { right: 0; bottom: 0; }
.sets-text h2 { margin-bottom: 16px; }
.bundle-list { display: grid; gap: 12px; margin: 32px 0 24px; }
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 24px; margin-top: 40px; }
.bundle { display: grid; grid-template-columns: 200px 1fr; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.bundle.compact { grid-template-columns: 96px 1fr; gap: 16px; padding: 12px; border-radius: var(--r); }
.bimgs { display: grid; gap: 8px; align-content: start; }
.bimgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.bundle.compact .bimgs img:nth-child(2) { display: none; }
.bbody { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bundle h3 { font-size: 22px; }
.bundle.compact h3 { font-size: 19px; }
.contains { font-size: 14px; color: var(--ink-2); }
.plus { margin: 0 6px; color: var(--ink-3); }
.brow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.bundle.compact .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.price .now { font-size: 22px; font-weight: 600; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.tag.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; font-weight: 600; }

/* gift band */
.giftband { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 40px; background: var(--sage); color: #f4efe6;
  border-radius: var(--r-lg); padding: 56px; overflow: hidden; }
.giftband .kicker { color: #dfe7d8; }
.giftband h2 { margin-bottom: 16px; }
.giftband p { max-width: 40ch; margin-bottom: 32px; color: #e7eee1; font-size: 18px; }
.gb-img img { border-radius: var(--r); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* palette, story, faq */
.palette { text-align: center; }
.palette .lede { margin: 16px auto 32px; }
.palette ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.palette li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.palette i { width: 56px; height: 56px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.story .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 32px; }
.story h3 { margin-bottom: 8px; }
.story p { color: var(--ink-2); }
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 500; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; color: var(--ink-2); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p, details ul { padding: 0 0 20px; margin: 0; color: var(--ink-2); }
details ul { padding-left: 20px; }

/* category head */
.cat-head { padding: 56px 0 32px; text-align: center; }
.cat-head h1 { margin-bottom: 16px; }
.cat-head .lede { margin: 0 auto; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; background: var(--paper); }
.chips a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cat-head + .grid { margin-bottom: 64px; }

/* product page */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 24px 0; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 96px; }
.main-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 11; background: var(--paper); }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 1px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-current] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: flex; flex-direction: column; gap: 20px; }
.buy h1 { font-size: clamp(32px, 3.4vw, 48px); }
.buy .kicker { margin-bottom: -8px; }
.label { font-size: 14px; color: var(--ink-2); }
.swatches [role=radiogroup] { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .15s; }
.swatches button[aria-checked=true] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.size { font-size: 15px; }
.addons { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.addons legend { font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.addons label { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
.addons label:has(input:checked) { border-color: var(--sage); background: color-mix(in srgb, var(--ok-bg) 60%, var(--paper)); }
.addons img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.addons label > span { display: flex; flex-direction: column; font-size: 14px; }
.addons input { width: 20px; height: 20px; accent-color: var(--sage); }
.mini { list-style: none; margin: 0; padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; }
.mini li { display: flex; align-items: center; gap: 12px; }
.mini svg { flex: none; width: 22px; height: 22px; color: var(--sage); }
.mini .xmas { color: var(--clay); font-weight: 600; }
.mini .xmas svg { color: var(--clay); }
.acc details:first-child { border-top: 1px solid var(--line); }
.sticky-buy { display: none; }

/* gift finder */
.gift-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px 0; }
.gift-hero h1 { margin-bottom: 16px; }
.gift-hero img { border-radius: var(--r-lg); aspect-ratio: 7 / 5; object-fit: cover; width: 100%; }
.finder { max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; }
.q { border: 0; padding: 0; margin: 0; }
.q legend { font-family: var(--serif); font-size: 30px; margin-bottom: 24px; }
.step { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--sage); margin-bottom: 8px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.opt { min-height: 64px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 500; font-size: 16px; padding: 12px; transition: border-color .15s, background .15s; }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: var(--sage); background: var(--paper); } }
.picks { max-width: 760px; margin: 32px auto 0; }

/* cart, thanks, legal, 404 */
.cart, .thanks, .legal, .nf { max-width: 820px; margin: 0 auto; padding-top: 56px; }
.cart h1, .thanks h1, .legal h1 { margin-bottom: 32px; }
.line { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .th img { border-radius: 10px; width: 80px; height: 80px; object-fit: cover; }
.line .nm { display: flex; flex-direction: column; }
.line .nm small { color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button, .rm { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; height: 32px; min-width: 32px; cursor: pointer; }
.rm { padding: 0 12px; font-size: 13px; color: var(--ink-2); }
.totals { margin: 24px 0; display: grid; gap: 8px; }
.totals p { display: flex; justify-content: space-between; }
.totals .sum { font-weight: 700; font-size: 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.cart .ctas { margin-bottom: 40px; }
.error { color: var(--err); }
.thanks ul { padding-left: 20px; margin: 24px 0; }
.legal p { margin-bottom: 16px; color: var(--ink-2); }
.nf { text-align: center; padding-top: 96px; }
.nf svg { width: 160px; color: var(--sage); margin: 0 auto 24px; display: block; }
.nf h1 { margin-bottom: 16px; }
.nf .lede { margin: 0 auto 32px; }
.fake { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.fake input { height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--paper); }
.fake .btn { grid-column: 1 / -1; }

/* footer, consent */
.foot { background: var(--dark); color: #d9cfc2; margin-top: 64px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 64px 32px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo, .foot .logo span, .foot .logo .mark { color: #f4ede3; }
.foot .logo .mark { color: #b8c6ae; }
.foot-brand p { margin-top: 16px; max-width: 36ch; font-size: 14px; color: #b9ad9f; }
.foot nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8f8478; font-weight: 600; }
.foot nav a { text-decoration: none; color: #d9cfc2; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: #fff; } }
.foot-base { max-width: var(--max); margin: 0 auto; padding: 16px 32px 32px; font-size: 12px; color: #8f8478; border-top: 1px solid #3a322a; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 16px 40px rgba(42, 36, 32, .18); padding: 16px; display: flex; gap: 16px; align-items: center; }
.consent[hidden] { display: none; }
.consent { padding: 12px 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.consent p { font-size: 13px; flex: 1; margin: 0; }
/* Decline and Accept as two buttons of the same size, side by side: refusing is as easy as accepting (Garante 2021, owner 30 Oct: no ×). */
.consent-actions { display: flex; flex: none; gap: 8px; }

/* tablet */
@media (max-width: 1080px) {
  .bar { padding: 12px 24px; gap: 16px; }
  .nav { gap: 20px; }
  main { padding: 0 24px 80px; }
  .grid, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
/* phone */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .announce { font-size: 12px; }
  .bar { padding: 8px 12px; gap: 4px; }
  .logo span { font-size: 20px; }
  .logo .mark { width: 24px; height: 24px; }
  .tools { gap: 4px; }
  .cart-link { width: 40px; height: 40px; }
  main { padding: 0 16px 96px; }
  /* phone: a shorter photo so the headline and the button are on the first screen */
  .hero { grid-template-columns: 1fr; gap: 16px; padding: 12px 0 8px; }
  .hero-img { order: -1; aspect-ratio: 5 / 4; border-radius: var(--r); }
  .hero h1, .hero .h1 { margin-bottom: 10px; font-size: 34px; }
  .hero .lede { font-size: 15px; }
  .hero .ctas { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
  .hero .ctas .btn { width: 100%; padding-left: 12px; padding-right: 12px; }
  .hero-tag { left: 12px; bottom: 12px; }
  .lede { font-size: 16px; }
  .block { margin-top: 64px; }
  .tiles { gap: 12px; }
  .tl strong { font-size: 20px; }
  .tl em { display: none; }
  .grid { gap: 24px 12px; }
  .pinfo { flex-direction: column; gap: 2px; }
  .sets { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .giftband { grid-template-columns: 1fr; padding: 32px 24px; margin-top: 64px; }
  .story .cols { grid-template-columns: 1fr; gap: 24px; }
  .bundle { grid-template-columns: 96px 1fr; gap: 16px; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; margin: 0 -16px; }
  .main-img { border-radius: 0; aspect-ratio: 1; }
  .thumbs { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .thumbs button { flex: none; width: 56px; height: 56px; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42, 36, 32, .08); transform: translateY(110%); transition: transform .25s; }
  .sticky-buy.show { transform: none; }
  .sticky-buy > span { display: flex; flex-direction: column; font-size: 14px; min-width: 0; }
  .sticky-buy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gift-hero { grid-template-columns: 1fr; padding: 24px 0; }
  .gift-hero img { order: -1; }
  .finder { padding: 24px 16px; }
  .q legend { font-size: 24px; }
  .line { grid-template-columns: 64px 1fr auto; }
  .line .th img { width: 64px; height: 64px; }
  .line .pr { grid-column: 2; }
  .line .rm { grid-column: 3; }
  .fake { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; padding: 48px 16px 24px; }
  .foot-brand { grid-column: 1 / -1; }
  /* phone: the text, then Decline and Accept sharing one row at equal width */
  .consent { flex-wrap: wrap; gap: 8px; padding: 10px 14px; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .consent p { flex-basis: 100%; font-size: 12.5px; line-height: 1.4; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}

/* payment trust */
.pay { display: flex; flex-direction: column; gap: 8px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-row svg { width: 44px; height: 28px; }
.pay-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.pay-note svg { width: 16px; height: 16px; color: var(--sage); }
.foot-pay { max-width: var(--max); margin: 0 auto; padding: 0 32px 16px; }
.foot-pay .pay-note { color: #b9ad9f; }
.foot-pay .pay-note svg { color: #b8c6ae; }

/* ratings and verified reviews (shown only once real reviews exist) */
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.stars { position: relative; display: inline-flex; line-height: 0; }
.stars svg { width: 15px; height: 15px; fill: #e2d6c4; }
.stars .on { position: absolute; inset: 0; width: var(--v); overflow: hidden; display: inline-flex; }
.stars .on svg { fill: var(--clay); flex: none; }
.to-reviews { text-decoration: none; }
.reviews ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.reviews li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; }
.rv-badge { font-size: 12px; color: var(--ok); background: var(--ok-bg); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.review form { display: grid; gap: 16px; }
.rv-item { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; background: var(--paper); }
.rv-prod { display: flex; align-items: center; gap: 12px; }
.rv-prod img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.rv-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { cursor: pointer; line-height: 0; }
.rv-stars svg { width: 30px; height: 30px; fill: #e2d6c4; transition: fill .1s; }
@media (hover: hover) and (pointer: fine) { .rv-stars input:checked ~ label svg, .rv-stars label:hover svg, .rv-stars label:hover ~ label svg { fill: var(--clay); } }
.review textarea, .rv-name { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; font: inherit; }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(38, 32, 25, .35); z-index: 45; }
.scrim[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100vw); background: var(--bg); box-shadow: -16px 0 40px rgba(42, 36, 32, .16);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s ease; }
.drawer.open { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dr-head h2 { font-size: 26px; }
.dr-close { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink-2); width: 40px; height: 40px; }
.dr-ship { padding: 16px 24px; background: var(--paper); border-bottom: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.dr-ship[hidden] { display: none; }
.dr-ship.done p { color: var(--ok); font-weight: 600; }
.bar-track { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--sage); border-radius: 999px; transition: width .4s ease; }
.dr-lines { flex: 1 1 auto; min-height: 120px; overflow-y: auto; padding: 0 24px; }
.dr-lines .line, .dr-suggest .line { grid-template-columns: 64px 1fr auto; gap: 12px; }
.dr-lines .line .th img, .dr-suggest .line .th img { width: 64px; height: 64px; }
.dr-lines .line .pr { grid-column: 2; }
.dr-lines .line .rm { grid-column: 3; }
.dr-suggest { padding: 12px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.dr-suggest[hidden] { display: none; }
.dr-suggest .line { border: 0; padding: 8px 0 0; }
.dr-foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.dr-foot .totals { margin: 0; }
.dr-view { text-align: center; font-size: 14px; color: var(--ink-2); }

/* ad landing page (F5): no menu, one decision */
main.focus { padding-top: 24px; }
body:has(main.focus) .nav { display: none; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lp-hero .buy { position: sticky; top: 96px; }
.lp-benefits h2, .lp-looks h2 { margin-bottom: 32px; }
.lp-benefits .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-benefits .num { font-family: var(--serif); font-size: 40px; color: var(--sage); display: block; margin-bottom: 8px; }
.lp-benefits h3 { margin-bottom: 8px; }
.lp-benefits p { color: var(--ink-2); }
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.looks img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.lp-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-story .story-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.lp-story h2 { margin-bottom: 16px; }
.lp-story h3 { margin: 32px 0 12px; font-size: 18px; }
.uses { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.uses li::before { content: "—"; color: var(--sage); margin-right: 8px; }
.sticky-buy.always { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(24px, calc((100vw - var(--max)) / 2 + 32px));
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42, 36, 32, .08); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.always.show { transform: none; }
.sticky-buy.always > span { display: flex; flex-direction: column; }

@media (max-width: 760px) {
  .lp-hero { grid-template-columns: 1fr; gap: 24px; }
  .lp-hero .buy { position: static; }
  .lp-benefits .cols, .looks, .lp-story { grid-template-columns: 1fr; gap: 24px; }
  .looks { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .looks img { scroll-snap-align: start; }
  .sticky-buy.always { padding: 12px 16px; }
  .foot-pay { padding: 0 16px 16px; }
}
body:has(main.focus) .bar .tools { grid-column: -2; justify-self: end; }

/* offers: sale price with the 30-day reference, badges, notes, countdowns */
.cd { font-variant-numeric: tabular-nums; font-weight: 600; }
.price.sale .now { color: var(--clay); }
.price.sale s { color: var(--ink-3); margin: 0 4px; }
.badge { display: inline-block; background: var(--clay); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.sale-meta { font-size: 14px; color: var(--clay); margin-top: -12px; }
.pimg .pbadge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--clay); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pprice.sale { color: var(--clay); font-weight: 600; }
.pprice.sale s { color: var(--ink-3); font-weight: 400; margin-right: 4px; }
.mini .offer { color: var(--sage); font-weight: 600; }
.mini .offer svg { color: var(--sage); }

/* drawer nudges */
.dr-nudges { padding: 12px 24px 0; display: grid; gap: 8px; }
.dr-nudges[hidden] { display: none; }
.nudge { margin: 0; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--ok-bg) 70%, var(--paper)); color: var(--ink); }
.nudge.ok { color: var(--ok); font-weight: 600; }
.nudge.set { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border: 1px solid var(--sage); }
.totals .disc { color: var(--ok); }

/* welcome code + downsell in the cart */
.code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 16px; font-size: 14px; }
.code input { height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--paper); text-transform: uppercase; width: 160px; }
.downsell { display: flex; align-items: center; gap: 16px; padding: 12px 16px; margin: 16px 0; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.downsell[hidden] { display: none; }
.downsell img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.downsell p { flex: 1; font-size: 15px; }

/* exit-intent sign-up */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(38, 32, 25, .45); }
.modal[hidden] { display: none; }
.modal-in { position: relative; width: min(480px, 100%); background: var(--bg); border-radius: var(--r-lg); padding: 40px 32px 32px; box-shadow: 0 24px 60px rgba(42, 36, 32, .25); display: grid; gap: 12px; }
.modal-in .dr-close { position: absolute; top: 12px; right: 12px; }
.modal-in h2 { font-size: 34px; }
.modal-in form { display: grid; gap: 12px; margin-top: 8px; }
.modal-in input[type=email] { height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.consent-row input { margin-top: 3px; accent-color: var(--sage); }
.code-big { font-family: var(--serif); font-size: 26px; color: var(--sage); }
.modal-in form[hidden], .modal-in [hidden] { display: none; }

/* States and helpers taken over from the UI review (functional only, in the existing look) */
.text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; background: none; border: 0; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .text-button:hover { color: var(--sage); } }
.text-button[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .foot .text-button:hover { color: #fff; } }
.foot-brand .text-button { margin-top: 12px; }
.collection-count { margin: 0 0 24px; }
.set-note { margin-top: 12px; }
.photo-note { margin-top: 8px; max-width: 60ch; line-height: 1.5; }
#colour-note { margin-top: 8px; }
.addon-note { font-size: 14px; padding: 12px 16px; background: var(--paper); border-radius: var(--r); }
.cart:has(.cart-layout) { max-width: 1080px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 48px; }
.cart-summary { background: var(--paper); padding: 24px; border-radius: var(--r-lg); position: sticky; top: 96px; }
.cart-summary h2 { font-size: 26px; margin-bottom: 12px; }
.cart-summary .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.empty-cart { padding: 32px 0; display: grid; gap: 12px; }
.dr-foot .text-button { min-height: 40px; }
[aria-busy="true"] .pr { opacity: .45; }
.line .qty button { min-width: 36px; min-height: 36px; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
@media (max-width: 899px) { .cart-layout { grid-template-columns: 1fr; gap: 24px; } .cart-summary { position: static; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
/* The brand's reply under a review (moderation in the Dot app). */
.rv-reply { margin: 10px 0 0; padding: 10px 14px; border-left: 2px solid var(--clay, #b07d56); background: var(--paper, #fbf8f2); border-radius: 0 10px 10px 0; }
.rv-reply p { margin: 4px 0; }
.rv-reply-by { font-size: 13px; font-weight: 600; color: var(--ink-2, #6e6156); }

/* header: on phones and small tablets the shop links live in a sheet behind the menu button (no sideways-scrolling bar) */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-left: -8px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
.menu { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(86vw, 360px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--paper); box-shadow: 0 0 40px rgba(43, 33, 27, .18);
  transform: translateX(-102%); transition: transform .25s ease; visibility: hidden; }
.menu.open { transform: none; visibility: visible; }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.menu-head .logo span { font-size: 20px; }
.menu-head .logo .mark { width: 26px; height: 26px; }
.menu-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; text-decoration: none; }
.menu-nav a[aria-current] { font-weight: 600; }
.menu-help { margin-top: 16px; }
.menu-help a { display: block; padding: 8px 0; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.menu .region { margin-top: auto; padding-top: 24px; }
.region { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.region .pick { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-2); }
.region .pick select { min-width: 150px; min-height: 44px; font-size: 14px; color: var(--ink); }
.foot-region { max-width: var(--max); margin: 0 auto; padding: 0 32px 24px; }
.foot .region .pick { color: #8f8478; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; }
.foot .region .pick select { background-color: #3a322a; border-color: #4a4036; color: #f4ede3; text-transform: none; letter-spacing: 0; font-weight: 400; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bar .nav { display: none; }
}
@media (max-width: 760px) { .foot-region { padding: 0 16px 20px; } }
@media (prefers-reduced-motion: reduce) { .menu { transition: none; } }

/* support chat: a bubble bottom-right (lifted above bottom bars) and a small panel */
.chat-bubble { position: fixed; right: 16px; bottom: calc(16px + var(--chat-lift, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 35; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--sage); color: #fff; font: inherit; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(43, 33, 27, .22); cursor: pointer; transition: bottom .2s ease; }
.chat-bubble svg { width: 22px; height: 22px; }
.chat-bubble[hidden] { display: none; }
.chat-bubble.has-new::after { content: ''; position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); border: 2px solid #fff; }
.chat { position: fixed; right: 16px; bottom: calc(76px + var(--chat-lift, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 36; width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(43, 33, 27, .22); overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px 18px; border-bottom: 1px solid var(--line); }
.chat-head h2 { font-size: 17px; font-weight: 500; }
.chat-list { flex: 1; min-height: 120px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat-msg { max-width: 86%; font-size: 14px; line-height: 1.45; }
.chat-msg p { margin: 0; padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.them p { background: var(--bg); border-top-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; }
.chat-msg.me p { background: var(--sage); color: #fff; border-top-right-radius: 4px; }
.chat-msg a { color: inherit; text-decoration: underline; }
.chat-who { display: block; margin: 0 0 3px 4px; font-size: 11px; color: var(--ink-2); font-weight: 600; }
.chat-topics { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-topics .chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.chat-order, .chat-form { display: grid; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); }
.chat-order { grid-template-columns: 1fr 1fr auto; }
.chat-order[hidden] { display: none; }
.chat-form { grid-template-columns: 1fr auto; }
.chat-form textarea { grid-column: 1 / -1; resize: none; }
.chat input, .chat textarea { font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-width: 0; }
.chat-note { margin: 0; padding: 0 14px 12px; font-size: 11.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .chat-bubble span { display: none; }
  .chat-bubble { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .chat { right: 8px; left: 8px; width: auto; bottom: calc(72px + var(--chat-lift, 0px) + env(safe-area-inset-bottom, 0px)); }
  .chat-order { grid-template-columns: 1fr; }
}
@media print { .chat-bubble, .chat { display: none !important; } }

/* home hero slider: a scroll-snap track (swipe on phones), dots, arrows and a pause button */
.hero-slider { position: relative; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track > .hero { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.hero-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 8px; }
.hero-dots { display: flex; gap: 2px; }
.hero-dot { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.hero-dot::after { content: ''; position: absolute; inset: 13px 8px; border-radius: 999px; background: var(--line); transition: background .2s, inset .2s; }
.hero-dot[aria-current="true"]::after { background: var(--sage); inset: 13px 4px; }
.hero-arrow, .hero-play { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 15px; }
.hero-play { font-size: 10px; letter-spacing: -1px; }
@media (max-width: 760px) { .hero-arrow { display: none; } .hero-nav { margin: 0 0 4px; } }
@media (prefers-reduced-motion: reduce) { .hero-track { scroll-behavior: auto; } }

/* back to the top, stacked above the chat bubble */
.to-top { position: fixed; right: 20px; bottom: calc(76px + var(--chat-lift, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 34; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 18px; box-shadow: 0 6px 18px rgba(43, 33, 27, .14); cursor: pointer; }
.to-top[hidden] { display: none; }
@media (max-width: 760px) { .to-top { right: 20px; bottom: calc(80px + var(--chat-lift, 0px) + env(safe-area-inset-bottom, 0px)); } }

/* iOS: fields under 16 px make Safari zoom the page on focus; bigger tap targets on phones */
@media (max-width: 760px) {
  input, select, textarea { font-size: 16px !important; }
  .swatches [role=radio] { min-width: 40px; min-height: 40px; }
  .foot nav a, .foot-base .text-button { display: inline-block; padding: 6px 0; }
}

/* touch: hover effects above only run with a real mouse (iOS turns a first tap into "hover" otherwise);
   a short press state instead, and no grey tap flash */
a, button, .pcard, .tile { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .gl-cta:active, .chip:active, .hero-dot:active { transform: scale(.98); }
  .pcard:active .pimg img:first-child, .tile:active img { opacity: .92; }
}


/* Guides and collection texts (bin/content.mjs) */
.guide { max-width: 860px; margin: 0 auto; }
.guide .cat-head { margin-bottom: 8px; }
.guide .kicker a { color: inherit; text-decoration: none; }
.g-sec { margin-top: 56px; }
.g-sec h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.g-sec h3 { font-size: 20px; margin: 28px 0 12px; }
.g-sec p, .collection-copy p { max-width: 68ch; color: var(--ink-2); margin: 0 0 14px; }
.g-sec .grid { margin-top: 18px; }
.table-wrap { overflow-x: auto; margin-top: 18px; -webkit-overflow-scrolling: touch; }
table.sizes { width: 100%; border-collapse: collapse; font-size: 15px; }
table.sizes th, table.sizes td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.sizes th { font-weight: 600; color: var(--ink-2); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
table.sizes td:last-child, table.sizes th:last-child { text-align: right; white-space: nowrap; }
table.sizes td:nth-child(2) { white-space: nowrap; }
@media (max-width: 640px) { table.sizes { font-size: 14px; } table.sizes th, table.sizes td { padding: 10px 6px; } }
table.sizes a { color: var(--ink); }
.guide-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.guide-list a { display: block; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--paper); color: var(--ink); text-decoration: none; }
.guide-list h2 { font-size: 24px; margin-bottom: 8px; }
.guide-list p { color: var(--ink-2); margin: 0 0 14px; }
@media (hover: hover) and (pointer: fine) { .guide-list a:hover { border-color: var(--ink); } }
.collection-copy { max-width: 860px; }
.collection-copy h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.collection-copy h3 { font-size: 19px; margin: 24px 0 8px; }
.size-guide a { color: var(--ink); font-weight: 600; }
.size a { color: var(--ink); }
@media (max-width: 640px) { .g-sec { margin-top: 40px; } .guide-list a { padding: 18px; } }
.deadline-box { display: inline-block; margin: 4px 0 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }

/* Buyers' photos on reviews and the first buyers program */
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.rv-incentive { color: var(--ink-2); font-style: italic; }
.rv-program { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--ink); max-width: 68ch; }
.rv-file { font-size: 16px !important; }
.rv-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.rv-code { border: 1px dashed var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 4px; justify-items: start; }
.review [hidden] { display: none !important; }
.rv-add { justify-self: start; cursor: pointer; }
.rv-file:focus-visible + .rv-preview, .rv-add:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
