/* Larchmere wholesale demo */
:root {
  --canvas: #FBFBFA;
  --surface: #FFFFFF;
  --photo-bg: #F2F2F0;
  --ink: #111111;
  --ink-2: #2F3437;
  --muted: #6B6A66;
  --line: #EAEAEA;
  --line-strong: #D9D8D4;
  --accent: #2F5D3A;
  --accent-pale: #EDF3EC;
  --warn: #8A4B0F;
  --warn-pale: #FBF3DB;
  --error: #9F2F2D;
  --error-pale: #FDEBEC;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SF Mono", Menlo, monospace;

  --r-panel: 8px;
  --r-control: 6px;
  --wrap: 1400px;
  --gutter: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(17, 17, 17, 0.06); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3, h4, p { margin: 0; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-control); z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* Demo strip and header */
.demo-strip {
  background: #F0EFEC;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 40px; height: 68px; }
.wordmark { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.26em; line-height: 1; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; gap: 32px; font-size: 15px; }
.main-nav a { text-decoration: none; color: var(--ink); padding: 22px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.text-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: var(--ink); }
.order-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.order-count {
  font-family: var(--mono); font-size: 12px; min-width: 26px; height: 26px; padding: 0 7px;
  display: inline-grid; place-items: center; border-radius: 999px; background: var(--ink); color: #fff;
}
.order-count.bump { animation: bump 380ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }

.account-menu { position: relative; }
.account-pill {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 0; border-radius: 10px; padding: 8px 12px 8px 14px;
  background: var(--accent-pale); color: var(--accent); font-size: 14px; font-weight: 500;
}
.account-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 8px; box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}
.account-pop p { font-size: 12px; padding: 6px 8px 8px; }
.account-pop button {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: var(--r-control); font-size: 14px;
}
.account-pop button:hover { background: var(--canvas); }

.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; font-size: 22px; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; background: var(--surface); }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-account { padding-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Buttons and controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-control);
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms ease, transform 120ms ease;
}
.btn:hover { background: #333333; border-color: #333333; }
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { background: #BDBCB8; border-color: #BDBCB8; cursor: not-allowed; transform: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; }
.btn.is-done { background: var(--accent); border-color: var(--accent); }
.btn-ghost.is-done { background: var(--accent-pale); color: var(--accent); border-color: var(--accent-pale); }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; font-size: 18px; line-height: 1; border-radius: var(--r-control); }
.icon-btn:hover { background: var(--canvas); }

.stepper {
  display: inline-grid; grid-template-columns: 40px 64px 40px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); overflow: hidden;
}
.stepper button { border: 0; background: none; cursor: pointer; font-size: 15px; display: grid; place-items: center; }
.stepper button:hover { background: var(--canvas); }
.stepper button:disabled { color: #C4C3BF; cursor: not-allowed; background: none; }
.stepper input {
  width: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-family: var(--mono); font-size: 15px; background: none; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-sm { grid-template-columns: 32px 48px 32px; height: 36px; }
.stepper-sm input { font-size: 14px; }

.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--error); }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 12px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-control); font-size: 15px;
}
.textarea { height: auto; min-height: 120px; padding: 10px 12px; font-family: var(--mono); font-size: 14px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8C8B87; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 93, 58, 0.16); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px;
  font-size: 12px; font-weight: 500; background: var(--accent-pale); color: var(--accent);
}
.tag-warn { background: var(--warn-pale); color: var(--warn); }

/* Page scaffolding */
main { min-height: 60vh; outline: none; }
main:focus, main:focus-visible { outline: none; }
.page { padding-top: 56px; padding-bottom: 96px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.035em; }
.page-tight { padding-top: 32px; }
.page-lede { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.view-enter { animation: viewIn 260ms var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { padding-top: 64px; }
.hero-copy { max-width: 760px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
.hero-sub { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 46ch; }
.hero-ctas { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-photo { margin-top: 56px; border-radius: var(--r-panel); overflow: hidden; background: var(--photo-bg); aspect-ratio: 2 / 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Pricing bento */
.pricing { padding-top: 120px; }
.bento {
  display: grid; gap: 16px; margin-top: 32px;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-template-areas:
    "ladder min min"
    "ladder photo terms";
}
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px; }
.cell h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.cell p { color: var(--muted); margin-top: 10px; }
.cell-ladder { grid-area: ladder; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.ladder { display: grid; }
.ladder-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ladder-row:first-child { padding-top: 6px; }
.ladder-row:last-child { border-bottom: 0; }
.ladder-row span:first-child { font-size: 17px; }
.ladder-off { font-family: var(--mono); font-size: 22px; color: var(--accent); }
.ladder-off.is-base { color: var(--muted); font-size: 15px; }
.ladder-note { font-size: 14px; color: var(--muted); }
.cell-min { grid-area: min; }
.cell-min .big { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.cell-photo { grid-area: photo; padding: 0; overflow: hidden; background: var(--photo-bg); min-height: 240px; }
.cell-photo img { width: 100%; height: 100%; object-fit: cover; }
.cell-terms { grid-area: terms; display: flex; flex-direction: column; justify-content: flex-end; }

/* Featured strip on home */
.featured { padding-top: 120px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }

/* Product grid */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; padding: 12px 0; cursor: pointer; color: var(--muted); font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.search { position: relative; width: min(320px, 100%); margin-bottom: 10px; }
.search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.search .input { padding-left: 36px; height: 40px; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.product { display: flex; flex-direction: column; }
.product-photo { display: block; aspect-ratio: 1; border-radius: var(--r-panel); overflow: hidden; background: var(--photo-bg); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.product-photo:hover img { transform: scale(1.03); }
.product-cat { font-size: 13px; color: var(--muted); margin-top: 16px; }
.product-name { font-size: 16px; font-weight: 500; margin-top: 4px; line-height: 1.35; }
.product-name a { text-decoration: none; }
.product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-pack { font-size: 14px; color: var(--muted); margin-top: 2px; }
.product-price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price .mono { font-size: 15px; }
.product-price small { font-size: 13px; color: var(--muted); }
.price-locked { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.product-actions { margin-top: 14px; }
.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--r-panel); padding: 56px 32px; text-align: center;
}
.empty h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.empty p { color: var(--muted); margin-top: 8px; }
.empty .btn, .empty .text-link { margin-top: 20px; }
.empty-actions { display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.empty-actions .btn, .empty-actions .text-link { margin-top: 0; }

/* Product detail */
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.pdp-info { position: sticky; top: 100px; display: grid; gap: 0; }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; margin-top: 16px; }
.pdp-blurb { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.pdp-sku { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 14px; }
.tiers { margin-top: 32px; border-top: 1px solid var(--line); }
.tier-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 4px; transition: background-color 200ms ease; }
.tier-row .mono { font-size: 15px; }
.tier-row .per { font-size: 13px; color: var(--muted); min-width: 92px; text-align: right; }
.tier-row.is-current { background: var(--accent-pale); border-bottom-color: transparent; }
.tier-row.is-current .mono { color: var(--accent); }
.pdp-pack { font-size: 14px; color: var(--muted); margin-top: 12px; }
.buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.buy-total { font-family: var(--mono); font-size: 18px; margin-left: auto; }
.pdp-info .btn-block { margin-top: 16px; }
.nudge { font-size: 14px; color: var(--muted); margin-top: 12px; min-height: 22px; }
.nudge strong { color: var(--accent); font-weight: 500; }
.pdp-details { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pdp-gallery { display: grid; gap: 16px; }
.pdp-main { aspect-ratio: 1 / 1; border-radius: var(--r-panel); overflow: hidden; background: var(--photo-bg); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 12px; }
.thumb { width: 88px; aspect-ratio: 1; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: pointer; background: var(--photo-bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.related { margin-top: 120px; }

/* Quick order */
.qo-tools { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qo-table { width: 100%; border-collapse: collapse; }
.qo-table th { font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; padding: 0 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.qo-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.qo-table th.num, .qo-table td.num { text-align: right; }
.qo-table td.mono { font-size: 14px; }
.qo-prod { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.qo-prod img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--photo-bg); flex: none; }
.qo-prod small { display: block; color: var(--muted); font-size: 13px; }
.qo-prod a { text-decoration: none; font-weight: 500; }
.qo-min { display: block; font-size: 12px; color: var(--warn); margin-top: 2px; }
.qo-add-row td { border-bottom: 0; padding-top: 18px; }
.picker { position: relative; max-width: 420px; }
.picker .input { padding-left: 36px; }
.picker i { position: absolute; left: 12px; top: 22px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 10; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
  max-height: 320px; overflow-y: auto;
}
.suggest li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-control); cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--canvas); }
.suggest img { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; }
.suggest .mono { font-size: 12px; color: var(--muted); margin-left: auto; }
.suggest .none { color: var(--muted); cursor: default; }
.paste-box { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); display: grid; gap: 12px; }
.paste-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.paste-msg { font-size: 14px; }
.paste-msg.bad { color: var(--error); }
.paste-msg.good { color: var(--accent); }
.qo-foot { display: flex; justify-content: flex-end; align-items: center; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.qo-sum { display: flex; gap: 28px; align-items: baseline; }
.qo-sum span { color: var(--muted); font-size: 14px; }
.qo-sum .mono { font-size: 18px; color: var(--ink); }
.remove-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; font-size: 16px; border-radius: var(--r-control); }
.remove-x:hover { color: var(--ink); background: var(--canvas); }

/* Cart */
.cart { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(360px, 1fr); gap: 48px; align-items: start; }
.cart-main .page-title { margin-bottom: 18px; }
.lines { }
.line { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto 112px; gap: 28px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-photo { width: 128px; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--photo-bg); }
.line-photo img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; text-decoration: none; }
.line-name:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.line-meta { font-size: 16px; color: var(--muted); margin-top: 6px; }
.chip { display: inline-block; margin-top: 12px; padding: 4px 11px; border-radius: 6px; background: var(--accent-pale); color: var(--accent); font-size: 14px; font-weight: 500; }
.chip-warn { background: var(--warn-pale); color: var(--warn); }
.qty-cell { display: grid; justify-items: center; gap: 8px; }
.qty-cap { font-size: 14px; color: var(--muted); }
.line-tier { font-size: 13px; color: var(--accent); }
.line-warn { font-size: 13px; color: var(--warn); }
.line-total { text-align: right; }
.line-total .mono { font-size: 19px; display: block; }
.line-total .text-link { font-size: 14px; color: var(--muted); margin-top: 8px; }
.summary { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px 28px; }
.summary h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -0.025em; }
.minbar { margin-top: 20px; font-size: 15px; font-weight: 500; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-panel); }
.minbar-ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; }
.minbar.ok { color: var(--accent); background: var(--accent-pale); }
.minbar.ok .minbar-ico { background: var(--accent); }
.minbar.short { color: var(--warn); background: var(--warn-pale); }
.minbar.short .minbar-ico { background: var(--warn); }

.sum-rows { margin-top: 20px; display: grid; gap: 10px; font-size: 16px; }
.sum-rows .mono { font-size: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; }
.sum-row span:first-child { color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; font-size: 19px; font-weight: 600; }
.sum-row.total .mono { font-size: 21px; }
.sum-row.total span:first-child { color: var(--ink); }
.sum-row.saving .mono { color: var(--accent); }
.summary form { margin-top: 24px; display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; align-items: start; }
.hint-right { grid-column: 1 / -1; text-align: right; font-size: 12px; }
.pay-options { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.pay-options legend { font-size: 15px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.radio { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-control); cursor: pointer; font-size: 16px; line-height: 1.35; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-pale); }
.radio input { margin: 0; width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.radio small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.radio.is-off { cursor: not-allowed; opacity: 0.62; }
.fine { font-size: 13px; color: var(--muted); text-align: center; }
.form-errors { font-size: 14px; color: var(--error); background: var(--error-pale); border-radius: var(--r-control); padding: 10px 12px; }

/* Confirmation */
.confirm { max-width: 640px; }
.confirm-box { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); padding: 28px; display: grid; gap: 10px; }

/* Lookbook */
.look-hero { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--photo-bg); aspect-ratio: 9 / 5; }
.look-hero img { width: 100%; height: 100%; object-fit: cover; }
.look-head { margin-bottom: 22px; }
.look-head .page-lede { margin-top: 4px; max-width: none; font-size: 17px; }
.look-hero-wide { aspect-ratio: 41 / 10; }
.look-hero-wide img { object-position: 50% 62%; }
.look-panel { position: absolute; left: 20px; bottom: 18px; background: var(--surface); border-radius: var(--r-panel); padding: 22px 26px 22px; max-width: 420px; }
.look-panel h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -0.025em; }
.look-panel p { color: var(--muted); margin-top: 8px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.arrow-link i { font-size: 14px; transition: transform 160ms ease; }
.arrow-link:hover { text-decoration-color: var(--ink); }
.arrow-link:hover i { transform: translateX(3px); }
.look-panel .arrow-link { margin-top: 12px; }
.look-pair { display: grid; grid-template-columns: 0.68fr 1fr; gap: 36px; margin-top: 16px; align-items: start; }
.look-item figure { margin: 0; }
.look-item .ph { border-radius: var(--r-panel); overflow: hidden; background: var(--photo-bg); }
.look-item .ph img { width: 100%; height: 100%; object-fit: cover; }
.look-item .ph { height: clamp(200px, 14.5vw, 240px); }

.look-cap { margin-top: 14px; display: grid; justify-items: start; gap: 4px; }
.look-cap h3 { font-size: 20px; font-weight: 500; line-height: 1.3; }
.look-cap .arrow-link { font-size: 15px; }
.look-cap p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.teaser { padding-top: 120px; }

/* Apply */
.apply { padding-top: 120px; padding-bottom: 120px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.apply-title { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; max-width: 9.5ch; padding-top: 12px; }
.apply-grid .page-lede { font-size: 19px; margin-top: 28px; max-width: 34ch; }
.apply-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 34px 30px 30px; }
.apply-panel .apply-done { border: 0; padding: 0; background: none; }
.perks { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 30px; }
.perks li { display: flex; gap: 26px; align-items: center; font-size: 19px; }
.perks i { font-size: 38px; flex: none; }
.apply-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 22px; }
.apply-form .field label { font-size: 15px; }
.apply-form .input, .apply-form .select { height: 50px; font-size: 16px; padding-left: 16px; }
.apply-form .select { background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; }
.apply-form .full .btn { margin-top: 6px; }
.apply-form .full { grid-column: 1 / -1; }
.apply-done { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); padding: 32px; }
.apply-done h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.apply-done p { color: var(--muted); margin-top: 10px; }

/* Help pages */
.prose { max-width: 680px; display: grid; gap: 16px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-top: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--canvas); }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 3fr; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.footer-grid nav { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer-grid nav a { text-decoration: none; color: var(--muted); }
.footer-grid nav a:hover { color: var(--ink); }
.footer-note { margin-top: 12px; font-size: 14px; max-width: 40ch; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Sign-in dialog */
.signin { overscroll-behavior: contain; border: 0; padding: 0; border-radius: 12px; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); }
.signin::backdrop { background: rgba(17, 17, 17, 0.32); }
.signin[open] { animation: viewIn 220ms var(--ease); }
.signin-inner { padding: 28px; display: grid; gap: 14px; }
.signin-head { display: flex; justify-content: space-between; align-items: center; }
.signin-head h2 { font-size: 30px; }
.account-choices { display: grid; gap: 10px; margin-top: 6px; }
.account-choice {
  text-align: left; display: grid; gap: 4px; padding: 16px; cursor: pointer;
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-panel);
}
.account-choice:hover { border-color: var(--ink); }
.account-name { font-weight: 500; }
.account-choice .muted { font-size: 14px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-control); font-size: 14px;
  transition: opacity 200ms ease, transform 300ms var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; margin-left: 10px; }
.toast-undo { margin-left: 12px; background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav { gap: 20px; }
  .header-row { gap: 28px; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-grid; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "ladder ladder" "min min" "photo terms"; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { order: -1; }
  .pdp-info { position: static; }
  .cart { grid-template-columns: 1fr; gap: 40px; }
  .look-hero-wide { aspect-ratio: 16 / 9; }
  .line { grid-template-columns: 104px minmax(0, 1fr) auto 104px; gap: 20px; }
  .line-photo { width: 104px; }
  .summary { position: static; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .qo-table .col-sku, .qo-table .col-price { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .page { padding-top: 36px; padding-bottom: 72px; }
  .hero { padding-top: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-photo { margin-top: 36px; aspect-ratio: 4 / 3; }
  .pricing, .featured, .teaser { padding-top: 80px; }
  .apply { padding-top: 80px; padding-bottom: 80px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "ladder" "min" "photo" "terms"; }
  .cell { padding: 24px; }
  .cell-photo { padding: 0; min-height: 0; aspect-ratio: 16 / 10; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .product-price small { display: block; width: 100%; }
  .look-hero { aspect-ratio: 4 / 5; }
  .look-panel { left: 12px; right: 12px; bottom: 12px; padding: 20px; max-width: none; }
  .look-pair { grid-template-columns: 1fr; }
  .apply-form { grid-template-columns: 1fr; }
  .line { grid-template-columns: 76px minmax(0, 1fr); gap: 12px 16px; }
  .line-photo { width: 76px; }
  .line-name { font-size: 19px; }
  .line-meta { font-size: 14px; }
  .qty-cell, .line-total { grid-column: 2; }
  .qty-cell { grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .hint-right { text-align: left; }
  .summary { padding: 24px 20px; }
  .summary h2 { font-size: 30px; }
  .apply-panel { padding: 24px 18px; }
  .perks { gap: 22px; }
  .perks li { font-size: 17px; gap: 18px; }
  .perks i { font-size: 30px; }
  .look-item .ph { height: auto; aspect-ratio: 4 / 3; }
  .line-total { text-align: left; display: flex; align-items: baseline; gap: 16px; }
  .line-total .text-link { margin-top: 0; }
  .qo-table thead { display: none; }
  .qo-table, .qo-table tbody, .qo-table tr, .qo-table td { display: block; width: 100%; }
  .qo-table tr:not(.qo-add-row) { display: grid; grid-template-columns: 1fr auto auto; gap: 10px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .qo-table td { padding: 0; border: 0; }
  .qo-table td.cell-prod { grid-column: 1 / -1; }
  .qo-table td.cell-total { text-align: left; }
  .qo-prod { min-width: 0; }
  .qo-foot { justify-content: space-between; }
  .qo-foot .btn { width: 100%; }
  .footer-grid { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
