/* ==========================================================================
   Flippin Bounty — boutique theme
   Palette: warm paper, ink, hot coral, electric cobalt, sunshine, aqua mint.
   ========================================================================== */

:root {
	--paper: #FFF6EC;
	--paper-2: #FFEAD5;
	--card: #FFFFFF;
	--ink: #17121C;
	--ink-2: #4B4452;
	--ink-3: #7A7280;
	--line: rgba(23, 18, 28, .12);
	--coral: #FF4D6D;
	--coral-soft: #FFD3DB;
	--cobalt: #2B45FF;
	--cobalt-soft: #D6DCFF;
	--sun: #FFD23F;
	--sun-soft: #FFF0B8;
	--mint: #4FE3C1;
	--mint-soft: #C8F6EA;

	--f-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-serif: "Great Vibes", "Snell Roundhand", cursive;
	--f-caps: "Cormorant SC", Georgia, serif;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--gutter: clamp(16px, 3vw, 40px);
	--header-h: 64px;
	--tabbar-h: 0px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--shadow: 0 1px 2px rgba(23,18,28,.06), 0 12px 32px -12px rgba(23,18,28,.18);
	--hard: 4px 4px 0 var(--ink);
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }
@media (max-width: 1023px) { :root { --tabbar-h: calc(64px + env(safe-area-inset-bottom)); } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 16px/1.55 var(--f-body);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	padding-bottom: var(--tabbar-h);
	overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); font-size: .9em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.page-pad { padding-top: 48px; padding-bottom: 80px; }

@media (min-width: 1024px) { .only-mobile { display: none !important; } }
@media (max-width: 1023px) { .only-desktop { display: none !important; } }

/* ---------- Type ---------- */
.display-lg { font-size: clamp(2.6rem, 6.5vw, 5.5rem); line-height: .95; letter-spacing: -.015em; font-weight: 800; }
.display-md { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.display-sm { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.025em; font-weight: 750; }
:is(.display-lg, .display-md, .display-sm, .hero__title, .signup__title) em {
	font-family: var(--f-serif); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--coral); font-size: 1.18em; line-height: .8;
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
}
.eyebrow--pill { background: var(--card); border: 1.5px solid var(--ink); padding: 8px 14px; border-radius: 99px; color: var(--ink); letter-spacing: .08em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,77,109,.6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,77,109,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); } }

/* ---------- Tones ---------- */
.tone-coral { --tone: var(--coral); --tone-soft: var(--coral-soft); --on-tone: var(--ink); }
.tone-cobalt { --tone: var(--cobalt); --tone-soft: var(--cobalt-soft); --on-tone: #fff; }
.tone-sun { --tone: var(--sun); --tone-soft: var(--sun-soft); --on-tone: var(--ink); }
.tone-mint { --tone: var(--mint); --tone-soft: var(--mint-soft); --on-tone: var(--ink); }

/* ---------- Buttons, chips, tags ---------- */
.btn {
	--b: var(--ink); --bg: var(--card); --fg: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: 99px;
	border: 2px solid var(--b); background: var(--bg); color: var(--fg);
	font: 650 .97rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--hard); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn--ink { --bg: var(--ink); --fg: #fff; }
.btn--coral { --bg: var(--coral); --fg: var(--ink); }
.btn--cobalt { --bg: var(--cobalt); --fg: #fff; }
.btn--ghost { --bg: transparent; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--square { width: 56px; padding: 0; flex: none; }
.btn--pill { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--coral); color: var(--ink); font-size: .72rem; font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btn.is-done { --bg: var(--mint); --fg: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 0; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.chip-row--scroll::-webkit-scrollbar { display: none; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px;
	border: 1.5px solid var(--line); border-radius: 99px; background: var(--card);
	font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
	transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--remove { background: var(--sun-soft); border-color: var(--ink); min-height: 34px; padding: 0 10px 0 14px; font-size: .85rem; }
.chip--remove .icon { width: 14px; height: 14px; }

.tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 99px; font: 700 .7rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; border: 1.5px solid var(--ink); background: var(--card); }
.tag--coral { background: var(--coral); }
.tag--sun { background: var(--sun); }
.tag--mint { background: var(--mint); }
.tag--ink { background: var(--ink); color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; background: transparent; border-radius: 50%; text-decoration: none;
	transition: background .15s;
}
.icon-btn:hover { background: rgba(23,18,28,.06); }
.icon-btn--outline { border: 1.5px solid var(--ink); }
.icon-btn--outline:hover { background: var(--ink); color: #fff; }
.fb-bag-count, .fb-saved-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
	background: var(--coral); color: var(--ink); font: 700 .68rem/18px var(--f-body); text-align: center;
	border: 1.5px solid var(--paper); transition: transform .3s var(--ease);
}
.fb-bag-count[data-count="0"], .fb-saved-count[data-count="0"] { transform: scale(0); }
.fb-bag-count.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.panel__title .fb-bag-count { position: static; display: inline-block; margin-left: 6px; vertical-align: middle; transform: none; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; height: 36px; display: flex; align-items: center; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.ticker__track { display: flex; gap: 22px; white-space: nowrap; animation: marquee 38s linear infinite; padding-left: 22px; }
.ticker__dot { color: var(--sun); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,246,236,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 calc(var(--gutter) - 8px); max-width: 1600px; margin: 0 auto; }
.site-header__inner > .icon-btn:first-child { justify-self: start; }
.header-actions { display: flex; justify-content: flex-end; gap: 2px; }
@media (min-width: 1024px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; padding: 0 var(--gutter); gap: 32px; }
}

.wordmark { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: var(--f-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1; }
.wordmark__a { font-family: var(--f-serif); font-style: normal; font-weight: 400; font-size: 1.3em; letter-spacing: 0; color: var(--coral); margin-right: 4px; }
.wordmark__b { position: relative; }
.wordmark__b::after { content: ""; position: absolute; right: -9px; top: 1px; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 1.5px var(--ink); }
.wordmark--lg { font-size: clamp(2rem, 4vw, 2.8rem); }
@media (min-width: 1024px) { .wordmark { font-size: 1.7rem; } }

/* Mega nav */
.mega-nav__list { display: flex; justify-content: center; gap: 4px; }
.mega-nav__link { display: inline-flex; align-items: center; height: var(--header-h); padding: 0 14px; font-weight: 600; font-size: .98rem; text-decoration: none; position: relative; }
.mega-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 3px; border-radius: 3px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.mega-nav li:hover > .mega-nav__link::after, .mega-nav li.is-open > .mega-nav__link::after { transform: scaleX(1); }
.has-mega[data-tone="cobalt"] .mega-nav__link::after { background: var(--cobalt); }
.has-mega[data-tone="sun"] .mega-nav__link::after { background: var(--sun); }
.has-mega[data-tone="mint"] .mega-nav__link::after { background: var(--mint); }
.has-mega[data-tone="ink"] .mega-nav__link::after { background: var(--ink); }
.mega {
	position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 50px -30px rgba(23,18,28,.35);
	opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega__inner { max-width: 1600px; margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 48px; }
.mega__head { font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.mega__col ul { display: grid; gap: 2px; margin-bottom: 24px; }
.mega__col a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; letter-spacing: -.01em; }
.mega__col a:hover { color: var(--coral); }
.mega__col .count { font: 500 .8rem var(--f-body); color: var(--ink-3); }
.mega__pills { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.mega__pills a { font: 600 .88rem var(--f-body); border: 1.5px solid var(--ink); border-radius: 99px; padding: 8px 14px; }
.mega__feature { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--tone); min-height: 280px; text-decoration: none; display: block; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: saturate(1.1); transition: transform .6s var(--ease); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature-label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 2px solid var(--ink); border-radius: 99px; padding: 10px 16px; font-weight: 700; }
.mega__inner--brands { display: block; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 24px; }
.brand-cloud a { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.brand-cloud li:nth-child(4n+1) a:hover { color: var(--coral); }
.brand-cloud li:nth-child(4n+2) a:hover { color: var(--cobalt); }
.brand-cloud li:nth-child(4n+3) a:hover { -webkit-text-stroke: 1.5px var(--ink); color: var(--sun); }
.brand-cloud li:nth-child(4n) a:hover { -webkit-text-stroke: 1.5px var(--ink); color: var(--mint); }

/* ---------- Panels (menu, bag, filters) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(23,18,28,.45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.scrim.is-on { opacity: 1; }
.panel {
	position: fixed; top: 0; bottom: 0; z-index: 90; width: min(440px, 100vw); background: var(--paper);
	display: flex; flex-direction: column; transition: transform .4s var(--ease), visibility 0s .4s; visibility: hidden;
}
.panel--right { right: 0; transform: translateX(100%); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.panel--left { left: 0; transform: translateX(-100%); }
.panel.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
@media (max-width: 480px) { .panel--right { border-radius: 0; } }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px var(--gutter); border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.panel__title { font: 800 1.35rem/1 var(--f-display); letter-spacing: -.02em; margin: 0; }
.panel__body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) 40px; overscroll-behavior: contain; }

/* Mobile menu */
.mm-new { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 18px 20px; border-radius: var(--r); text-decoration: none; font: 700 1.2rem var(--f-display); margin-bottom: 12px; }
.mm-depts { display: grid; gap: 8px; margin-bottom: 28px; }
.mm-dept { border-radius: var(--r); background: var(--tone-soft); overflow: hidden; }
.mm-dept summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 18px 20px; cursor: pointer; }
.mm-dept summary::-webkit-details-marker { display: none; }
.mm-dept__label { font: 800 1.6rem/1 var(--f-display); letter-spacing: -.03em; }
.mm-dept__count { font-size: .8rem; font-weight: 700; background: var(--tone); color: var(--on-tone); border-radius: 99px; padding: 3px 8px; }
.mm-dept__toggle { margin-left: auto; transition: transform .25s var(--ease); }
.mm-dept[open] .mm-dept__toggle { transform: rotate(45deg); }
.mm-dept ul { padding: 0 20px 16px; display: grid; }
.mm-dept ul a { display: block; padding: 10px 0; font-weight: 600; text-decoration: none; border-top: 1px solid rgba(23,18,28,.1); }
.mm-head { font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.mm-links { margin-top: 28px; border-top: 1px solid var(--line); }
.mm-links a { display: flex; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }

/* Search */
.search-layer { position: fixed; inset: 0 0 auto; z-index: 95; background: var(--paper); max-height: 100dvh; overflow-y: auto; transform: translateY(-105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow); }
.search-layer.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.search-layer__inner { max-width: 1100px; margin: 0 auto; padding: 16px var(--gutter) 32px; }
.search-bar { display: flex; align-items: center; gap: 12px; border-bottom: 2.5px solid var(--ink); padding: 8px 0; margin-bottom: 24px; }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 clamp(1.3rem, 3.5vw, 2.2rem)/1.2 var(--f-display); letter-spacing: -.02em; outline: none; padding: 6px 0; }
.search-bar input::placeholder { color: var(--ink-3); font-weight: 500; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .search-results { grid-template-columns: repeat(4, 1fr); } }
.sr-item { text-decoration: none; display: grid; gap: 8px; }
.sr-item img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-sm); background: var(--paper-2); width: 100%; }
.sr-item__brand { font: 700 .72rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.sr-item__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.sr-all { grid-column: 1 / -1; justify-self: start; }
.sr-none { grid-column: 1 / -1; color: var(--ink-2); }

/* Bag drawer */
.fb-drawer-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer-empty { margin: auto; padding: 40px var(--gutter); text-align: center; max-width: 340px; }
.drawer-empty__art { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); display: grid; place-items: center; transform: rotate(-8deg); }
.drawer-empty__art .icon { width: 40px; height: 40px; }
.drawer-empty__title { font: 800 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; }
.ship-meter { padding: 16px var(--gutter); background: var(--mint-soft); font-size: .9rem; }
.ship-meter p { margin: 0 0 8px; }
.ship-meter__bar { height: 8px; border-radius: 99px; background: rgba(23,18,28,.1); overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; width: var(--p); background: var(--ink); border-radius: inherit; transition: width .6s var(--ease); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px var(--gutter); }
.drawer-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.drawer-item__img img { width: 88px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-sm); background: var(--paper-2); }
.drawer-item__info { display: grid; gap: 3px; font-size: .92rem; }
.drawer-item__info .eyebrow { margin: 0; font-size: .68rem; }
.drawer-item__name { font-weight: 600; text-decoration: none; line-height: 1.3; }
.drawer-item__meta { color: var(--ink-3); font-size: .85rem; }
.drawer-item__price { font-weight: 700; margin-top: 4px; }
.drawer-item__remove { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; }
.drawer-item__remove:hover { background: var(--coral-soft); }
.drawer-item__remove .icon { width: 18px; height: 18px; }
.drawer-foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--card); }
.drawer-total { display: flex; justify-content: space-between; font: 700 1.15rem var(--f-display); }
.drawer-note { margin: 0; font-size: .82rem; color: var(--ink-3); }

/* Tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; text-decoration: none; font-size: .68rem; font-weight: 600; color: var(--ink-2); }
.tabbar .icon { width: 23px; height: 23px; }
.tabbar .is-active { color: var(--ink); }
.tabbar .is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--coral); }
.tabbar .fb-bag-count, .tabbar .fb-saved-count { top: 6px; right: calc(50% - 22px); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px); z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; border-radius: 99px; padding: 12px 20px; font-weight: 600; font-size: .92rem; transition: .3s var(--ease); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Product card ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; isolation: isolate; }
.card__imgs { display: block; position: absolute; inset: 0; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card__img--alt { opacity: 0; }
@media (hover: hover) {
	.card:hover .card__img--alt { opacity: 1; }
	.card:hover .card__img { transform: scale(1.03); }
}
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; pointer-events: none; }
.card__save {
	position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
	background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s;
}
.card__save .icon { width: 20px; height: 20px; }
.card__save:hover { transform: scale(1.08); }
[data-save][aria-pressed="true"] .icon { fill: var(--coral); stroke: var(--coral); }
[data-save].is-pop .icon { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4); } }
.card__add {
	position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	height: 40px; min-width: 40px; padding: 0 10px; border-radius: 99px; background: var(--card); color: var(--ink); border: 2px solid var(--ink);
	font-weight: 700; font-size: .85rem; text-decoration: none; justify-content: center;
}
.card__add .icon { width: 18px; height: 18px; }
.card__add span { display: none; }
.card__add.loading { opacity: .6; }
.card__add.added { background: var(--mint); }
.card__add.added .icon { transform: rotate(45deg); }
.card + .added_to_cart, .card__media .added_to_cart { display: none !important; }
@media (hover: hover) and (min-width: 1024px) {
	.card__add { left: 10px; right: 10px; bottom: 10px; transform: translateY(calc(100% + 14px)); transition: transform .3s var(--ease), background .2s; }
	.card__add span { display: inline; }
	.card:hover .card__add, .card__add:focus-visible { transform: none; }
	.card__add:hover { background: var(--sun); }
}
.card__body { display: grid; gap: 3px; padding: 0 2px; }
.card__brand { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.card__name { font: 500 .95rem/1.3 var(--f-body); letter-spacing: 0; margin: 0; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 0; font-size: .8rem; color: var(--ink-3); }
.card__cond { display: inline-flex; align-items: center; gap: 5px; }
.card__cond::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 1px var(--ink); }
.card__cond[data-score="5"]::before { background: var(--cobalt); }
.card__cond[data-score="3"]::before { background: var(--sun); }
.card__cond[data-score="2"]::before { background: var(--coral); }
.card__price { margin: 4px 0 0; font-weight: 700; font-size: 1rem; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__price del { color: var(--ink-3); font-weight: 500; }
.card__price ins { text-decoration: none; color: var(--coral); }
.card__rrp { font-size: .78rem; color: var(--ink-3); font-weight: 500; text-decoration: line-through; }
.card.is-sold .card__img { filter: grayscale(.8); opacity: .65; }
.card--dark { color: #fff; }
.card--dark .card__name, .card--dark .card__meta, .card--dark .card__rrp { color: rgba(255,255,255,.7); }
.card--dark .card__media { background: #2a2330; }

/* ---------- Grids & rails ---------- */
.grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 720px) { .grid { --cols: 3; gap: 40px 18px; } }
@media (min-width: 1200px) { .grid { --cols: 4; gap: 48px 22px; } .grid[data-cols="3"] { --cols: 3; } .grid[data-cols="5"] { --cols: 5; } }

.rail-section { padding-top: clamp(48px, 7vw, 96px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px); }
.section-head .display-md, .section-head .display-sm { margin: 0; }
.section-head__actions { display: flex; align-items: center; gap: 24px; }
.section-head__note { max-width: 380px; margin: 0; color: var(--ink-2); }
.rail-nav { display: flex; gap: 8px; }
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto;
	scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	/* Bleed to the viewport edges so cards never get clipped mid-page; first card still aligns with content. */
	--rail-pad: max(var(--gutter), calc(50vw - 800px + var(--gutter)));
	margin: 0 calc(50% - 50vw); padding: 0 var(--rail-pad) 8px; scroll-padding-inline: var(--rail-pad);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-columns: 30%; gap: 18px; } }
@media (min-width: 1200px) { .rail { grid-auto-columns: calc((min(100vw, 1600px) - 4 * 22px - 2 * var(--gutter)) / 5); gap: 22px; } }
.rail__more { aspect-ratio: 4/5; border-radius: var(--r); background: var(--sun); border: 2px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; text-decoration: none; font: 800 clamp(1.4rem, 2.4vw, 2rem)/1 var(--f-display); letter-spacing: -.03em; transition: background .2s; }
.rail__more .icon { width: 48px; height: 48px; align-self: flex-end; transition: transform .3s var(--ease); }
.rail__more:hover { background: var(--coral); }
.rail__more:hover .icon { transform: translateX(6px); }
.rail--mini { grid-auto-columns: 34%; }
@media (min-width: 1200px) { .rail--mini { grid-auto-columns: calc((min(100vw, 1600px) - 5 * 22px - 2 * var(--gutter)) / 6); } }

/* ---------- Hero ---------- */
.hero { max-width: 1600px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(40px, 6vw, 80px); display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 56px; min-height: min(780px, calc(100vh - var(--header-h) - 36px)); } }
.hero__title { font-size: clamp(3.2rem, 10vw, 8.2rem); line-height: .86; letter-spacing: -.02em; font-weight: 800; margin: 18px 0 24px; }
.hero__title em { font-size: 1.2em; }
.hero__swap { display: inline-block; background: var(--sun); padding: 0 .12em .04em; border-radius: .14em; transform: rotate(-2deg); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); margin-top: .08em; transition: opacity .25s, transform .25s var(--ease); }
.hero__swap.is-out { opacity: 0; transform: rotate(-2deg) translateY(12px); }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 34em; color: var(--ink-2); margin-bottom: 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { width: 20px; height: 20px; color: var(--cobalt); }
.hero__art { position: relative; aspect-ratio: 1 / 1.02; max-width: 680px; width: 100%; justify-self: center; }
.hero__tile { position: absolute; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 3px solid var(--ink); background: var(--paper-2); }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__tile--a { left: 0; top: 4%; width: 56%; height: 78%; transform: rotate(-3deg); background: var(--coral); z-index: 2; }
.hero__tile--b { right: 0; top: 0; width: 46%; height: 52%; transform: rotate(4deg); background: var(--cobalt); }
.hero__tile--c { right: 6%; bottom: 0; width: 44%; height: 44%; transform: rotate(-2deg); background: var(--mint); z-index: 3; }
.hero__tile--a::after, .hero__tile--b::after, .hero__tile--c::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.hero__stamp { position: absolute; left: 40%; bottom: 6%; width: clamp(96px, 16vw, 150px); z-index: 4; animation: spin 18s linear infinite; }
.hero__stamp circle { fill: var(--sun); stroke: var(--ink); stroke-width: 3; }
.hero__stamp text { font: 800 15px var(--f-body); letter-spacing: 2.4px; fill: var(--ink); }
.hero__stamp .hero__stamp-mid { font: 800 38px var(--f-display); letter-spacing: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1023px) { .hero__art { max-width: 520px; } }

/* Brand marquee */
.brand-marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; border-block: 3px solid var(--ink); }
.brand-marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.brand-marquee:hover .brand-marquee__track { animation-play-state: paused; }
.brand-marquee a { font: 800 clamp(1.6rem, 3.6vw, 3rem)/1 var(--f-display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: color .2s; }
.brand-marquee a:nth-of-type(3n+1):hover { color: var(--coral); }
.brand-marquee a:nth-of-type(3n+2):hover { color: var(--sun); }
.brand-marquee a:nth-of-type(3n):hover { color: var(--mint); }
.brand-marquee span { color: var(--sun); font-size: 1.6rem; }

/* Departments */
.depts { padding-top: clamp(56px, 8vw, 110px); }
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1024px) { .dept-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.dept { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; background: var(--tone); color: var(--on-tone); text-decoration: none; padding: clamp(14px, 2vw, 24px); border: 2px solid var(--ink); isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dept img { position: absolute; left: 12%; right: 12%; bottom: -2%; width: 76%; height: 68%; object-fit: cover; border-radius: 999px 999px 0 0; z-index: -1; border: 2px solid var(--ink); border-bottom: 0; transition: transform .6s var(--ease); }
.dept { container-type: inline-size; }
.dept__label { font: 800 min(17cqi, 3.6rem)/.9 var(--f-display); letter-spacing: -.015em; }
.dept__meta { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; padding: 7px 12px; font-weight: 700; font-size: .82rem; }
.dept__meta .icon { width: 16px; height: 16px; }
.dept:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.dept:hover img { transform: translateY(-4%); }

/* Bounty board */
.board { background: var(--ink); color: #fff; margin-top: clamp(56px, 8vw, 110px); padding: clamp(48px, 7vw, 100px) 0; border-radius: var(--r-lg); }
@media (min-width: 1024px) { .board { margin-inline: 12px; border-radius: 40px; } }
.board .eyebrow { color: var(--sun); }
.board .section-head__note { color: rgba(255,255,255,.7); }
.board-grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .board-grid { grid-template-columns: 1.1fr 1fr; gap: 28px; } }
.board-lead { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; text-decoration: none; background: var(--coral); }
.board-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.board-lead:hover img { transform: scale(1.04); }
.board-lead__info { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; border: 2px solid var(--ink); }
.board-lead__info .tag { justify-self: start; margin-bottom: 6px; }
.board-lead__brand { font: 700 .75rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.board-lead__name { font: 800 clamp(1.3rem, 2.4vw, 1.9rem)/1.05 var(--f-display); letter-spacing: -.03em; }
.board-lead__price { font-weight: 600; color: var(--ink-2); }
.board-rest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 1024px) { .board-rest { gap: 32px 22px; } }

/* Promise */
.promise { padding-top: clamp(56px, 8vw, 110px); }
.promise-grid { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: p; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promise-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.promise-card { background: var(--tone-soft); border-radius: var(--r-lg); padding: 26px 24px 28px; position: relative; overflow: hidden; }
.promise-card__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tone); color: var(--on-tone); border: 2px solid var(--ink); font: 800 1.1rem var(--f-display); margin-bottom: 36px; }
.promise-card h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.promise-card p { margin: 0; color: var(--ink-2); }
.grade-strip { margin-top: 20px; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 22px 24px; background: var(--card); }
.grade-strip__title { font: 800 1.1rem var(--f-display); margin: 0 0 14px; }
.grade-strip ul { display: grid; gap: 4px; }
@media (min-width: 900px) { .grade-strip ul { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.grade-strip a { display: grid; gap: 6px; text-decoration: none; padding: 12px; border-radius: var(--r-sm); transition: background .15s; }
.grade-strip a:hover { background: var(--paper); }
.grade-strip a > span:last-child { font-size: .88rem; color: var(--ink-2); }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 8px; border-radius: 2px; background: rgba(23,18,28,.12); }
.meter i:nth-child(-n + 5) { background: rgba(23,18,28,.12); }
.meter[style*="--s:5"] i, .meter[style*="--s:4"] i:nth-child(-n+4), .meter[style*="--s:3"] i:nth-child(-n+3), .meter[style*="--s:2"] i:nth-child(-n+2) { background: var(--ink); }
.meter[style*="--s:5"] i { background: var(--cobalt); }

/* Budget */
.budget { padding-top: clamp(56px, 8vw, 110px); }
.budget-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .budget-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.budget-card { display: grid; gap: 4px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--tone); color: var(--on-tone); border: 2px solid var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.budget-card:hover { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--ink); }
.budget-card__k { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.budget-card__v { font: 800 clamp(2.6rem, 6vw, 4.6rem)/1 var(--f-display); letter-spacing: -.015em; }
.budget-card__s { font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; }

/* Sell */
.sell { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.sell__inner { display: grid; background: var(--cobalt-soft); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 900px) { .sell__inner { grid-template-columns: 1fr 1fr; } }
.sell__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; max-height: 560px; }
.sell__copy { padding: clamp(28px, 5vw, 72px); align-self: center; }
.sell__copy p:not(.eyebrow) { color: var(--ink-2); max-width: 32em; margin-bottom: 26px; }

/* Signup + footer */
.signup { background: var(--coral); border-top: 3px solid var(--ink); padding: clamp(44px, 6vw, 80px) 0; }
.signup__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; }
.signup__inner > * { min-width: 0; }
@media (max-width: 479px) { .signup .signup__form { flex-direction: column; border-radius: var(--r); padding: 8px; } .signup .signup__form input { height: 48px; } .signup .signup__form .btn { width: 100%; } }
@media (min-width: 900px) { .signup__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 60px; } }
.signup .eyebrow { color: var(--ink); }
.signup__title { font-size: clamp(2rem, 4.5vw, 3.6rem); letter-spacing: -.01em; line-height: .98; font-weight: 800; }
.signup__title em { color: var(--ink) !important; }
.signup p:not(.eyebrow) { max-width: 36em; margin: 0; }
.signup__form { display: flex; gap: 8px; background: var(--card); border: 2px solid var(--ink); border-radius: 99px; padding: 6px; box-shadow: var(--hard); }
.signup__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; outline: none; font-size: 1rem; }
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.footer-grid { display: grid; gap: 8px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; } }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 26em; margin: 16px 0; }
.footer-brand { margin-bottom: 20px; }
.footer-social { display: flex; gap: 4px; margin-left: -10px; }
.footer-social .icon-btn:hover { background: rgba(255,255,255,.1); }
.footer-col { border-top: 1px solid rgba(255,255,255,.15); }
.footer-col summary { list-style: none; font: 700 .75rem var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--sun); padding: 18px 0 12px; cursor: pointer; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col ul { display: grid; gap: 2px; padding-bottom: 16px; }
.footer-col a { display: inline-block; padding: 6px 0; text-decoration: none; color: rgba(255,255,255,.85); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 900px) { .footer-col { border: 0; } .footer-col summary { pointer-events: none; padding-top: 0; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-base p { margin: 0; max-width: 46em; }
.footer-legal { display: grid; gap: 6px; }
.footer-legal a { color: inherit; }
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; max-width: 640px; margin: 0 auto; padding: 14px 18px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--hard); font-size: .92rem; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; flex: 1 1 260px; }
.cookie-note a { color: inherit; font-weight: 700; }
.pay-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-list li { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 4px 8px; font-weight: 600; color: rgba(255,255,255,.75); }
.footer-giant { font: 800 clamp(4rem, 19vw, 19rem)/.78 var(--f-display); letter-spacing: -.02em; white-space: nowrap; color: var(--coral); text-align: center; transform: translateY(14%); user-select: none; }

/* ---------- Shop listing ---------- */
.shop-hero { background: var(--tone); color: var(--on-tone); padding: 22px 0 28px; border-bottom: 2px solid var(--ink); }
.shop-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.shop-hero .display-lg { margin: 0; }
.shop-hero__count { margin: 0; font-weight: 600; }
.shop-hero__count strong { font: 800 1.4rem var(--f-display); }
.shop-hero__desc { max-width: 46em; margin-top: 10px; opacity: .85; }
.shop-hero__desc p { margin: 0; }
.crumbs { font-size: .82rem; font-weight: 600; margin-bottom: 18px; opacity: .8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 8px; opacity: .5; }
.cat-chips { padding-top: 16px; }
.toolbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,246,236,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 12px; transition: top .35s var(--ease); }
body.header-hidden .toolbar { top: 0; }
.toolbar__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 10px; }
.toolbar__chips { display: flex; flex: 1; gap: 6px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.toolbar__chips::-webkit-scrollbar { display: none; }
.toolbar__clear { font-size: .85rem; font-weight: 600; white-space: nowrap; padding: 0 6px; }
.toolbar__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sort select { appearance: none; border: 1.5px solid var(--line); border-radius: 99px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2317121C' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 0 38px 0 16px; height: 42px; font-weight: 600; font-size: .9rem; cursor: pointer; max-width: 170px; }
.density { display: flex; border: 1.5px solid var(--line); border-radius: 99px; padding: 3px; background: var(--card); }
.density button { width: 34px; height: 32px; border: 0; background: none; border-radius: 99px; font-weight: 700; font-size: .85rem; color: var(--ink-3); }
.density button.is-on { background: var(--ink); color: #fff; }
.shop-body { padding-top: 28px; padding-bottom: 80px; }
.woocommerce-pagination { margin-top: 56px; display: flex; justify-content: center; }
.woocommerce-pagination ul { display: flex; gap: 6px; }
.woocommerce-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 99px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; background: var(--card); }
.woocommerce-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; max-width: 520px; margin: 40px auto; padding: 40px 0; }
.empty-state .btn-row { justify-content: center; }

/* Filter panel */
.filters { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.filters > details, .filters > .price-fields { margin: 0 var(--gutter); }
.filters { overflow-y: auto; }
.filter-group { border-bottom: 1px solid var(--line); }
.filter-group summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 20px 0; font: 700 1.1rem var(--f-display); cursor: pointer; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group__icon { margin-left: auto; transition: transform .25s var(--ease); }
.filter-group[open] .filter-group__icon { transform: rotate(45deg); }
.filter-opts { display: grid; gap: 4px; padding-bottom: 20px; }
.filter-opts--size { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.opt { position: relative; display: flex; align-items: center; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 0; font-weight: 500; }
.opt span::before { content: ""; width: 22px; height: 22px; flex: none; border: 2px solid var(--ink); border-radius: 6px; background: var(--card) no-repeat center / 14px; transition: background-color .15s; }
.opt input:checked + span::before { background-color: var(--coral); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317121C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.opt input:focus-visible + span::before { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.opt small { margin-left: auto; color: var(--ink-3); font-size: .8rem; }
.filter-opts--size .opt span { justify-content: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 4px; background: var(--card); font-weight: 650; }
.filter-opts--size .opt span::before, .filter-opts--size .opt small { display: none; }
.filter-opts--size .opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-opts--size .opt input:focus-visible + span { outline: 3px solid var(--cobalt); }
.price-fields { display: flex; align-items: center; gap: 10px; padding-bottom: 24px; }
.price-fields label { flex: 1; display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.price-fields input { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; background: var(--card); font-weight: 600; font-size: 1rem; }
.filters__foot { position: sticky; bottom: 0; margin-top: auto; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }

/* ---------- Product page ---------- */
.pdp-crumbs { padding-top: 18px; }
.pdp-crumbs .crumbs { margin-bottom: 14px; }
.pdp { max-width: 1600px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(380px, 1fr); gap: 56px; padding: 0 var(--gutter); } }
.pdp__gallery { position: relative; min-width: 0; }
.pdp__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdp__track::-webkit-scrollbar { display: none; }
.pdp__shot { scroll-snap-align: start; padding: 0; border: 0; background: var(--paper-2); aspect-ratio: 4/5; cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.pdp__shot img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
	.pdp__track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; }
	.pdp__shot { border-radius: var(--r); }
	.pdp__shot:first-child { grid-column: 1 / -1; aspect-ratio: 5/6; }
	.pdp__track:has(.pdp__shot:nth-child(2):last-child) .pdp__shot { grid-column: 1 / -1; }
}
.pdp__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pdp__dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(23,18,28,.25); transition: width .3s var(--ease), background .3s; }
.pdp__dots span.is-on { width: 22px; background: #fff; }
.pdp__zoom-hint { position: absolute; top: 14px; left: 14px; display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.9); border-radius: 99px; padding: 6px 12px; font-size: .78rem; font-weight: 600; pointer-events: none; }
.pdp__zoom-hint .icon { width: 16px; height: 16px; }
.pdp__info { padding: 0 var(--gutter); min-width: 0; }
@media (min-width: 1024px) { .pdp__info { padding: 0; } .pdp__sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.pdp__brand { display: inline-block; font: 700 .82rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 2px; margin-bottom: 12px; }
.pdp__title { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.015em; line-height: 1.02; font-weight: 800; margin-bottom: 14px; }
.pdp__price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font: 800 1.6rem var(--f-display); letter-spacing: -.02em; margin-bottom: 22px; }
.pdp__price del { font-size: .7em; color: var(--ink-3); font-weight: 500; }
.pdp__price ins { text-decoration: none; color: var(--coral); }
.pdp__rrp { font: 500 .95rem var(--f-body); color: var(--ink-3); text-decoration: line-through; }
.pdp__facts { display: grid; grid-template-columns: 1fr 2fr; margin: 0 0 18px; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--card); }
.pdp__facts > div { padding: 14px 16px; }
.pdp__facts > div + div { border-left: 1.5px solid var(--ink); }
.pdp__facts dt { font: 700 .7rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.pdp__facts dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.pdp__cond { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pdp__cond-link { font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-left: auto; }
.pdp__scarcity { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.pdp__buy { display: flex; gap: 10px; margin-bottom: 22px; }
.pdp__sold { background: var(--paper-2); border-radius: var(--r); padding: 18px; margin-bottom: 22px; }
.pdp__perks { display: grid; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 4px; }
.pdp__perks li { display: flex; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.pdp__perks .icon { color: var(--cobalt); }
.pdp__perks strong { color: var(--ink); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 700 1.05rem var(--f-display); cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .25s var(--ease); width: 20px; height: 20px; }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding-bottom: 20px; color: var(--ink-2); font-size: .96rem; }
.acc__body p:last-child { margin-bottom: 0; }
.meas { display: grid; gap: 0; margin: 0 0 10px; }
.meas div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.meas dt { font-weight: 500; }
.meas dd { margin: 0; font-weight: 700; color: var(--ink); }

.buybar { position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 65; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); background: var(--card); border-top: 1.5px solid var(--ink); transform: translateY(120%); transition: transform .35s var(--ease); }
.buybar.is-on { transform: none; }
.buybar__info { flex: 1; min-width: 0; display: grid; }
.buybar__name { font: 700 .75rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-weight: 800; font-family: var(--f-display); }
.buybar__price del { font-size: .8em; color: var(--ink-3); }
.buybar__price ins { text-decoration: none; }
.buybar .btn { min-height: 46px; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: #0d0a10; overflow: auto; }
.lightbox__stage img { width: 100%; max-width: none; min-height: 100vh; object-fit: contain; cursor: zoom-in; }
.lightbox__stage.is-zoomed img { width: 200%; max-width: none; cursor: zoom-out; }
.lightbox__close { position: fixed; top: 14px; right: 14px; z-index: 2; background: #fff; }
.lightbox__close:hover { background: var(--sun); }

/* ---------- Content pages ---------- */
.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(20px, 3vw, 36px); }
.page-hero--compact { padding: 28px 0 8px; }
.page-hero--compact .display-lg { font-size: clamp(2rem, 4vw, 3rem); }
.prose { max-width: 760px; padding-bottom: 80px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul { list-style: none; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: "✺"; position: absolute; left: 0; color: var(--coral); }
.prose a { color: var(--cobalt); }
.prose .lead { font-size: 1.3rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.prose-sm p { margin-bottom: .8em; }
.wc-wrap { padding-bottom: 80px; }
.lost { text-align: center; padding: 60px var(--gutter) 100px; max-width: 640px; }
.lost__big { font: 800 clamp(7rem, 28vw, 16rem)/1 var(--f-display); letter-spacing: -.02em; margin: 0; }
.lost__big span { color: var(--coral); display: inline-block; animation: spin 10s linear infinite; }
.lost .btn-row { justify-content: center; }

/* Brands A–Z */
.az-jump { position: sticky; top: var(--header-h); z-index: 30; background: var(--paper); border-block: 1px solid var(--line); padding: 10px 0; }
.az-jump ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.az-jump li > * { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; text-decoration: none; }
.az-jump a:hover { background: var(--sun); }
.az-jump span { color: rgba(23,18,28,.25); }
.az { padding-top: 24px; padding-bottom: 80px; }
.az__group { display: grid; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .az__group { grid-template-columns: 120px 1fr; } }
.az__letter { font-size: 3rem; color: var(--coral); margin: 0; line-height: 1; }
.az__list { display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.az__list a { display: flex; justify-content: space-between; padding: 8px 0; font: 700 1.2rem var(--f-display); text-decoration: none; letter-spacing: -.02em; }
.az__list a:hover { color: var(--cobalt); }
.az__list span { font: 500 .85rem var(--f-body); color: var(--ink-3); }

/* ---------- WooCommerce notices & blocks ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	max-width: 1600px; margin: 12px auto !important; padding: 14px 18px !important; border-radius: var(--r) !important;
	border: 2px solid var(--ink) !important; background: var(--mint-soft) !important; list-style: none; font-weight: 500; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: var(--coral-soft) !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; font-weight: 700; }
.wc-page { --wp--preset--font-family--body: var(--f-body); }
.wc-page .wc-block-components-button:not(.is-link),
.wc-page .wp-element-button,
.wc-page button.button, .wc-page a.button, .woocommerce-account .button {
	background: var(--ink) !important; color: #fff !important; border: 2px solid var(--ink) !important; border-radius: 99px !important;
	min-height: 52px; font-weight: 700 !important; padding: 0 24px; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wc-page .wc-block-cart__submit-button, .wc-page .wc-block-components-checkout-place-order-button { background: var(--coral) !important; color: var(--ink) !important; }
.wc-page .wc-block-components-button:not(.is-link):hover { transform: translate(-2px, -2px); box-shadow: var(--hard); }
.wc-page .wc-block-components-text-input input, .wc-page .wc-block-components-combobox input, .wc-page .wc-blocks-components-select select, .woocommerce-account input.input-text {
	border-radius: var(--r-sm) !important; border: 1.5px solid rgba(23,18,28,.25) !important; background: var(--card) !important;
}
.wc-page .wc-block-components-sidebar, .wc-page .wp-block-woocommerce-checkout-order-summary-block { background: var(--card); border-radius: var(--r-lg); padding: 8px 20px; border: 1.5px solid var(--line); }
.wc-page .wc-block-components-product-name { font-weight: 700; text-decoration: none; }
.wc-page .wc-block-components-quantity-selector { display: none; }
.wc-page h2, .wc-page .wc-block-components-title { font-family: var(--f-display) !important; letter-spacing: -.02em; }
.wc-page .wc-block-cart-items__row img, .wc-page .wc-block-components-order-summary-item__image img { border-radius: var(--r-sm); }
.woocommerce-account .woocommerce { display: grid; gap: 32px; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 240px 1fr; } }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce form .form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.woocommerce form .form-row input.input-text { height: 50px; padding: 0 14px; }

/* Brand names in spaced serif capitals, echoing the shop sign. */
.card__brand, .pdp__brand, .board-lead__brand, .sr-item__brand, .buybar__name, .drawer-item__info .eyebrow {
	font-family: var(--f-caps); font-weight: 700; letter-spacing: .16em; text-transform: none; font-size: .95rem;
}
.pdp__brand { font-size: 1.15rem; }
.hero__title, .display-lg, .display-md { font-weight: 900; }
