/* Dungaree Hungry - editorial lookbook theme
   Flat, near-monochrome UI. Photography carries the colour. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #000;
  --ink-2: #333;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --paper: #fff;
  --mist: #e5e7eb;
  --fog: #f0efe7;
  --sand: #f5ebd5;
  --stone: #ccc;
  --sale: #8a1c1c;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --track: .025em;
  --r: 4px;
  --max: 1440px;
  --gut: clamp(16px, 3vw, 32px);
  --section: clamp(48px, 7vw, 96px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 14px/1.45 var(--font); letter-spacing: var(--track);
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 860px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* type */
.display { font-size: clamp(30px, 4.4vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.h-lg { font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: 0; }
.h-md { font-size: 20px; font-weight: 500; line-height: 1.2; }
.h-sm { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.h-xs { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.eyebrow { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.lead { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.prose p { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin-bottom: 18px; max-width: 68ch; }
.prose h2 { font-size: 18px; font-weight: 500; margin: 36px 0 12px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 18px; color: var(--ink-2); line-height: 1.8; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* buttons: ghost primary, filled compact */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 26px; border: 1px solid var(--ink); border-radius: var(--r);
  background: transparent; color: var(--ink);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #262626; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-btn { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; color: var(--muted); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 500; letter-spacing: 0; }

/* announcement */
.announce { background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.announce__track { position: relative; height: 32px; overflow: hidden; }
.announce__item { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.announce__item.is-on { opacity: 1; transform: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--ink); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.nav__burger { display: none; }
.nav__left { display: flex; gap: 26px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; height: 100%; align-items: center; }
.nav__left > a, .nav__item > a { position: relative; padding: 6px 0; }
.nav__left a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__left a:hover::after, .nav__left a.is-active::after { transform: scaleX(1); }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__logo img { height: 44px; width: auto; }
.nav__right { display: flex; justify-content: flex-end; gap: 2px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--ink); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1.4fr; gap: 32px; padding-top: 32px; padding-bottom: 36px; }
.mega__col { display: flex; flex-direction: column; gap: 10px; text-transform: none; font-weight: 400; font-size: 14px; letter-spacing: var(--track); }
.mega__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__col a::after, .mega__feature::after { display: none; }
.mega__feature { position: relative; display: block; overflow: hidden; }
.mega__feature img { aspect-ratio: 5/3.6; object-fit: cover; width: 100%; transition: transform .6s; }
.mega__feature:hover img { transform: scale(1.03); }
.mega__feature span { display: block; margin-top: 10px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* overlays and drawers */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 60; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(420px, 92vw); background: var(--paper); display: flex; flex-direction: column; animation: slideR .3s ease; }
.drawer--right { right: 0; border-left: 1px solid var(--ink); }
.drawer--left { left: 0; border-right: 1px solid var(--ink); animation-name: slideL; }
@keyframes slideR { from { transform: translateX(100%); } }
@keyframes slideL { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer__empty { padding: 48px 20px; display: grid; gap: 20px; justify-items: start; }
.drawer__foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mobile-nav { padding: 12px 20px; }
.mobile-nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-nav a.sm { font-size: 14px; border: 0; padding: 8px 0; color: var(--ink-2); }

.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 70; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 40px 0 32px; animation: fadeDown .25s ease; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } }
.search-panel__inner { position: relative; }
.search-panel__row { display: flex; gap: 12px; border-bottom: 1px solid var(--ink); }
.search-panel__row input { flex: 1; border: 0; padding: 12px 0; font-size: clamp(20px, 3vw, 32px); outline: 0; background: transparent; min-width: 0; }
.search-panel__row .btn { align-self: center; }
.search-panel__chips { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 20px; font-size: 13px; }
.search-panel__chips .eyebrow { margin: 0; }
.search-panel__chips a { text-decoration: underline; text-underline-offset: 3px; }
.search-panel__close { position: absolute; top: -28px; right: var(--gut); }

.ship-meter { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.ship-meter__bar { height: 2px; background: var(--mist); margin-top: 10px; }
.ship-meter__bar span { display: block; height: 100%; background: var(--ink); transition: width .4s; }
.mini-cart { padding: 4px 20px; }
.mini-cart__item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-cart__img img { width: 80px; aspect-ratio: 3/4; object-fit: cover; background: var(--mist); }
.mini-cart__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mini-cart__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 13px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-2); border-radius: var(--r); height: 44px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; }
.qty span, .qty input { min-width: 28px; text-align: center; border: 0; width: 34px; background: transparent; }
.qty--sm { height: 30px; margin-top: 6px; width: max-content; }
.qty--sm button { width: 28px; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: min(86vh, 860px); background: var(--fog); }
.hero__img { position: relative; overflow: hidden; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__copy { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px); text-align: center; color: #fff; display: grid; justify-items: center; gap: 22px; padding: 0 var(--gut); }
.hero__copy .display { text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.hero__copy p { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.35)); pointer-events: none; }
.hero__copy { z-index: 2; }

/* sections */
.section { padding: var(--section) 0; }
.section--fog { background: var(--fog); }
.section--sand { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }

.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { white-space: nowrap; padding: 7px 14px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.tabs .is-active { background: var(--ink); color: #fff; }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; }
.card__media { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 3/4; }
.card__media > a { display: block; height: 100%; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card__img--alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__img--alt { opacity: 1; }
.card:hover .card__img:not(.card__img--alt) { transform: scale(1.035); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: .08em; padding: 3px 7px; text-transform: uppercase; }
.tag--light { background: #fff; color: var(--ink); }
.card__wish { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); }
.card__wish[aria-pressed="true"] svg { fill: currentColor; }
.card__quick { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--paper); padding: 10px; transform: translateY(calc(100% + 10px)); transition: transform .3s ease; }
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
.card__quick-label { display: block; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; text-align: center; }
.card__sizes { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.card__sizes button { min-width: 34px; height: 30px; padding: 0 6px; font-size: 11px; font-weight: 500; border-radius: var(--r); background: var(--ink); color: #fff; }
.card__sizes button:hover { background: #333; }
.card__sizes button:disabled { background: var(--mist); color: var(--stone); text-decoration: line-through; cursor: not-allowed; }
.card__body { padding-top: 12px; display: grid; gap: 5px; }
.card__title { font-size: 13px; font-weight: 400; line-height: 1.35; }
.price { display: flex; gap: 8px; font-size: 13px; align-items: baseline; }
.price s { color: var(--muted); font-size: 12px; }
.swatches { display: flex; gap: 4px; }
.swatch { width: 12px; height: 12px; background: var(--sw); outline: 1px solid rgba(0,0,0,.12); outline-offset: -1px; }
.swatch.is-on { box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--ink); }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tile { position: relative; overflow: hidden; aspect-ratio: 3/4.4; display: block; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.5)); display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* split editorial */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.split__img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.feature__img { aspect-ratio: 4/5; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__copy { padding: clamp(32px, 6vw, 96px); display: grid; gap: 20px; justify-items: start; }

/* marquee statement */
.statement { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.statement__run { display: inline-flex; gap: 48px; animation: run 40s linear infinite; font-size: clamp(22px, 3vw, 40px); }
.statement__run span::after { content: "\2022"; margin-left: 48px; font-size: .5em; vertical-align: middle; }
@keyframes run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .statement__run { animation: none; } * { transition: none !important; animation: none !important; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.quote { display: grid; gap: 16px; align-content: start; border-top: 1px solid var(--ink); padding-top: 20px; }
.quote p { font-size: 15px; line-height: 1.55; }
.quote footer { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stars { letter-spacing: 2px; font-size: 12px; }

/* journal */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
.post-card { display: grid; gap: 14px; align-content: start; }
.post-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.post-card:hover img { transform: scale(1.03); }
.post-card h3 { font-size: 18px; font-weight: 400; line-height: 1.3; }

/* page header */
.page-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head--center { text-align: center; }
.page-head--center .lead { margin: 14px auto 0; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 4px; }
.cat-banner { position: relative; height: clamp(220px, 34vw, 420px); overflow: hidden; }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cat-banner__copy { position: absolute; inset: auto 0 0 0; padding: 32px var(--gut); color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.cat-banner__copy .lead { color: #fff; opacity: .9; margin-top: 6px; }

/* shop toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; font-size: 12px; position: sticky; top: var(--header-h); background: var(--paper); z-index: 5; }
.toolbar__filters { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.select { appearance: none; border: 1px solid var(--ink-2); border-radius: var(--r); padding: 8px 32px 8px 12px; font-size: 12px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 10px center; }
.chip { padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: 12px; }
.chip.is-active, .chip:hover { border-color: var(--ink); }
.empty { padding: 64px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: var(--section); }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pdp__gallery figure { margin: 0; aspect-ratio: 3/4; overflow: hidden; background: var(--mist); }
.pdp__gallery figure:only-child, .pdp__gallery figure:first-child:nth-last-child(odd) { grid-column: span 2; aspect-ratio: 4/5; }
.pdp__gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.pdp__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.2; }
.pdp .price { font-size: 16px; }
.pdp .price s { font-size: 14px; }
.save { color: var(--sale); font-size: 12px; font-weight: 500; }
.opt-label { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; margin-bottom: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label { min-width: 52px; height: 44px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; cursor: pointer; }
.sizes input:disabled + label { color: var(--stone); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--stone) 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.sizes input:checked + label { border-color: var(--ink); background: var(--ink); color: #fff; }
.sizes input:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 2px; }
.buy-row { display: flex; gap: 8px; }
.buy-row .btn { flex: 1; }
.buy-row .wish-btn { width: 52px; flex: 0 0 52px; padding: 0; }
.wish-btn[aria-pressed="true"] svg { fill: currentColor; }
.assure { display: grid; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assure div { display: flex; gap: 10px; align-items: center; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; font-weight: 300; }
.acc[open] summary::after { content: "\2212"; }
.acc__body { padding-bottom: 18px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.acc__body ul { list-style: disc; padding-left: 18px; }
.sticky-buy { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: #fff; display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-height: 100vh; width: auto; }

/* cart page / checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: var(--section); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-prod { display: flex; gap: 16px; }
.cart-prod img { width: 96px; aspect-ratio: 3/4; object-fit: cover; background: var(--mist); }
.cart-prod div { display: grid; gap: 4px; align-content: start; }
.summary { background: var(--fog); padding: 28px; display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.summary .row-between { font-size: 14px; }
.summary .total { font-size: 18px; border-top: 1px solid var(--ink); padding-top: 14px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 500; }
.input, .field input, .field select, .field textarea, .coupon input, .news-form input {
  width: 100%; border: 1px solid #bdbdbd; border-radius: var(--r); padding: 12px 14px; background: var(--paper); font-size: 14px; min-height: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus, .coupon input:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field .err { color: var(--sale); font-size: 12px; }
.fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.fieldset legend { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; padding: 0; margin-bottom: 16px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; cursor: pointer; margin-bottom: 8px; }
.pay-opt:has(input:checked) { border-color: var(--ink); }
.pay-opt input { margin-top: 3px; accent-color: #000; }
.pay-opt strong { font-weight: 500; display: block; margin-bottom: 2px; }
.sum-items { display: grid; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; font-size: 13px; align-items: center; }
.sum-item img { width: 56px; aspect-ratio: 3/4; object-fit: cover; }
.sum-item__img { position: relative; }
.sum-item__img span { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: 10px; border-radius: 9px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; }

.flash { margin-top: 16px; padding: 12px 16px; border: 1px solid var(--ink); font-size: 13px; }
.flash--err { border-color: var(--sale); color: var(--sale); }
.notice { background: var(--sand); padding: 16px 20px; font-size: 13px; line-height: 1.6; }
.success { text-align: center; padding: var(--section) 0; display: grid; gap: 18px; justify-items: center; }
.success__check { width: 64px; height: 64px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.order-box { text-align: left; width: 100%; max-width: 560px; border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; font-size: 14px; }

.steps-track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0; }
.steps-track div { border-top: 2px solid var(--mist); padding-top: 10px; font-size: 12px; color: var(--muted); }
.steps-track div.done { border-color: var(--ink); color: var(--ink); }

/* size table */
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 28px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-bottom-color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* faq */
.faq-group { margin-bottom: 40px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); padding-bottom: var(--section); }
.contact-list { display: grid; gap: 22px; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }

/* perks + footer */
.perks { border-top: 1px solid var(--line); padding: 40px 0; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perk { display: flex; gap: 14px; align-items: flex-start; font-size: 13px; }
.perk .h-xs { margin-bottom: 4px; }
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 24px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr; gap: 32px; padding-bottom: 48px; }
.footer__brand { display: grid; gap: 18px; align-content: start; font-size: 13px; color: #bbb; max-width: 300px; }
.footer__brand img { width: 140px; }
.footer__social { display: flex; gap: 8px; color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer__col a { color: #ddd; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .eyebrow { color: #fff; }
.footer__news { font-size: 13px; color: #bbb; display: grid; gap: 14px; align-content: start; }
.news-form { display: flex; flex-wrap: wrap; gap: 8px; }
.news-form input { flex: 1; min-width: 160px; background: transparent; border-color: #555; color: #fff; }
.news-form input:focus { outline: none; border-color: #fff; }
.form-msg { flex-basis: 100%; font-size: 12px; min-height: 1em; }
.footer__bottom { border-top: 1px solid #2a2a2a; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: #888; flex-wrap: wrap; }

.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 13px; border-radius: var(--r); display: flex; gap: 14px; align-items: center; animation: fadeUp .25s; }
.toast a { text-decoration: underline; }
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 8px); } }

/* about */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__copy { padding: clamp(32px, 6vw, 96px); display: grid; align-content: center; gap: 22px; background: var(--fog); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.values div { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; }

/* admin */
.admin { font-size: 13px; }
.admin table { width: 100%; border-collapse: collapse; }
.admin th, .admin td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.status { display: inline-block; padding: 2px 8px; border: 1px solid var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* reveal on scroll */
.js-reveal .reveal { transform: translateY(16px); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.is-in { transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .nav__left { gap: 18px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles .tile:nth-child(n+4) { aspect-ratio: 16/10; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: span 3; max-width: none; }
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 56px; }
  .nav__left, .hide-sm { display: none; }
  .nav__burger { display: inline-grid; justify-self: start; }
  .nav { grid-template-columns: 1fr auto 1fr; }
  .nav__logo img { height: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; min-height: 78vh; }
  .hero__img:nth-child(2) { display: none; }
  .split, .feature, .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .pdp, .cart-layout { grid-template-columns: 1fr; }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); scrollbar-width: none; }
  .pdp__gallery figure { flex: 0 0 86%; scroll-snap-align: start; aspect-ratio: 3/4 !important; }
  .pdp__gallery figure:only-child { flex-basis: 100%; }
  .pdp__info, .summary { position: static; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--paper); border-top: 1px solid var(--ink); padding: 10px var(--gut); gap: 12px; align-items: center; justify-content: space-between; font-size: 13px; }
  .pdp-page .chat-fab { bottom: 80px; }
  .card__quick { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile, .tiles .tile:nth-child(n+4) { aspect-ratio: 3/4; }
  .tiles .tile:last-child { grid-column: span 2; aspect-ratio: 16/10; }
  .posts, .values { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .mega { display: none; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .toolbar { top: var(--header-h); }
}
@media (max-width: 560px) {
  .quotes { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__news { grid-column: span 2; }
  .perks__grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps-track { font-size: 11px; }
}
.crumbs--light, .crumbs--light a { color: rgba(255,255,255,.85); }
.cat-banner .wrap { max-width: var(--max); }
