:root { --fg: #111; --muted: #777; --line: #e5e5e5; --bg: #fff; --accent: #111; --panel: #f4f4f4; --field: #fff; --on-accent: #fff; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px; border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; letter-spacing: 0.15em; text-decoration: none; color: var(--fg); }
.cart-link { text-decoration: none; color: var(--fg); }
main { max-width: 1240px; margin: 0 auto; padding: 32px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 18px; }
.card { text-decoration: none; color: var(--fg); }
.thumb { aspect-ratio: 4/5; background: #0c0c0e; overflow: hidden; margin-bottom: 10px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-name { font-size: 14px; }
.card-colorway { font-size: 12px; color: var(--muted); margin-top: 2px; }
.card-price { font-size: 14px; color: var(--muted); }
.shop-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; }
.shop-head h1 { margin: 0; }

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.detail-image { aspect-ratio: 3/4; background: #0c0c0e; overflow: hidden; }
.detail-image img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center; display: block; }
.detail h1 { margin: 0 0 8px; font-size: 24px; }
#product-desc { white-space: pre-line; line-height: 1.6; }
.detail-info .eyebrow { margin-bottom: 8px; }
.detail-price { color: var(--muted); margin-bottom: 20px; }
label { display: block; font-size: 13px; margin-bottom: 6px; }
select, input, textarea { font: inherit; }  /* 16px — anything smaller makes iOS zoom on focus */
select { width: 100%; padding: 10px; border: 1px solid var(--line); margin-bottom: 16px; }
button { padding: 12px 20px; background: var(--accent); color: var(--on-accent); border: 0; cursor: pointer; }
button:disabled { background: #bbb; cursor: not-allowed; }
button.link { background: none; color: var(--muted); padding: 0; text-decoration: underline; }

.cart { width: 100%; border-collapse: collapse; }
.cart td { padding: 16px 0; border-bottom: 1px solid var(--line); }
.total { margin: 24px 0; font-weight: 600; }
.muted { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); }

@media (max-width: 700px) { .detail { grid-template-columns: 1fr; } }


/* --- admin --- */
nav { display: flex; gap: 20px; }
nav a { text-decoration: none; color: var(--fg); }
.admin-head { display: flex; justify-content: space-between; align-items: center; }
.btn { text-decoration: none; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-size: 14px; display: inline-block; line-height: 1.1; vertical-align: middle; }
.stack { display: flex; flex-direction: column; max-width: 460px; gap: 4px; margin-bottom: 32px; }
.stack input, .stack textarea { padding: 10px; border: 1px solid var(--line); font: inherit; }
.stack button { margin-top: 12px; align-self: start; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.check input { width: auto; }
.hint { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline button { padding: 6px 12px; font-size: 13px; }

.sortlist { list-style: none; padding: 0; margin: 12px 0 32px; }
.sortlist li {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px;
  border: 1px solid var(--line); margin-bottom: -1px;
  background: var(--panel, #151517); color: var(--fg, #f5f5f5); cursor: grab;
}
.sortlist li.dragging { opacity: 0.4; cursor: grabbing; }
.sortlist li.empty { cursor: default; color: var(--muted); }
.grip { color: var(--muted, #bbb); font-size: 18px; line-height: 1; }
.sort-thumb { width: 40px; height: 52px; background: var(--field, #f4f4f4); flex: none; }
.sort-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sort-name { flex: 1; }
.sort-name a { color: var(--fg); }

.sortlist.strip { display: flex; gap: 10px; flex-wrap: wrap; }
.sortlist.strip li { display: block; position: relative; padding: 0; width: 110px; height: 145px; }
.sortlist.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sortlist.strip .x {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0;
  background: rgba(0,0,0,0.6); font-size: 14px; line-height: 1;
}
.cover-tag {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7);
  color: #fff; font-size: 11px; text-align: center; padding: 3px;
}

.tag { font-size: 11px; border: 1px solid var(--fg); padding: 2px 6px; margin-left: 6px; }
.tag.off { border-color: var(--muted); color: var(--muted); }
.tag.float { position: absolute; top: 8px; left: 8px; margin: 0; background: rgba(0,0,0,0.72); color: #fff; border: 0; }
.thumb { position: relative; }
.notice { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
/* Unstyled content links (error page, blog body) — never browser-blue */
main a:not([class]) { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
main a:not([class]):hover { color: var(--muted); }
.detail-gallery { display: flex; flex-direction: column; gap: 12px; }
.flash { font-size: 13px; }
.flash.ok { color: #2a7; }
.flash.err { color: #c33; }
.login { max-width: 340px; margin: 60px auto; }
nav form { display: inline; }
nav .link { color: var(--fg); text-decoration: none; font: inherit; }

/* --- page builder: public --- */
.blk-heading { margin: 24px 0 12px; }
.blk-heading.size-large { font-size: 34px; }
.blk-heading.size-medium { font-size: 24px; }
.blk-heading.size-small { font-size: 18px; }
.align-center { text-align: center; }
.blk-text { margin: 0 0 16px; white-space: pre-wrap; }
.blk-image { margin: 0 0 20px; }
.blk-image img { width: 100%; height: auto; display: block; }
.blk-image.width-wide { max-width: 760px; margin-inline: auto; }
.blk-image.width-narrow { max-width: 420px; margin-inline: auto; }
.blk-placeholder { background: #f4f4f4; color: var(--muted); padding: 48px; text-align: center; font-size: 14px; }
.blk-banner {
  display: block; background: var(--fg); color: #fff; padding: 14px;
  text-align: center; font-size: 14px; text-decoration: none; margin-bottom: 20px;
}
.blk-spacer.h-small { height: 20px; }
.blk-spacer.h-medium { height: 48px; }
.blk-spacer.h-large { height: 96px; }
.blk-products { margin-bottom: 32px; }

/* --- page builder: editor --- */
.settings { margin-bottom: 24px; gap: 16px; }
.settings input[name=title] { padding: 8px; border: 1px solid var(--line); font: inherit; }
.editor { display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: start; }
.blocklist { list-style: none; padding: 0; margin: 12px 0; }
.blocklist > li { border: 1px solid var(--line); margin-bottom: 12px; background: #fff; }
.blocklist > li.dragging { opacity: 0.4; }
.blk-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #fafafa; border-bottom: 1px solid var(--line); cursor: grab;
}
.blk-head strong { flex: 1; font-size: 14px; }
.blk-body { display: flex; flex-direction: column; gap: 4px; padding: 14px; }
.blk-body input, .blk-body textarea, .blk-body select {
  padding: 8px; border: 1px solid var(--line); font: inherit;
}
.blk-body button { align-self: start; margin-top: 10px; padding: 8px 14px; font-size: 13px; }
.blk-body label { margin-top: 8px; }
.imgpick { display: flex; gap: 10px; align-items: center; }
.imgpick input { flex: 1; }
.imgpick-preview { width: 48px; height: 48px; object-fit: cover; }
.palette { border: 1px solid var(--line); padding: 14px; position: sticky; top: 20px; }
.palette h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.palette-btn {
  width: 100%; text-align: left; background: #fff; color: var(--fg);
  border: 1px solid var(--line); padding: 9px 10px; margin-bottom: 6px; font-size: 14px;
}
.palette-btn:hover { background: #f4f4f4; }
.palette-icon { display: inline-block; width: 18px; color: var(--muted); }
@media (max-width: 800px) { .editor { grid-template-columns: 1fr; } }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-actions a:not(.btn) { color: var(--fg); }

/* --- social + blog --- */
footer {
  border-top: 1px solid var(--line); margin-top: 64px; padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer-social { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-social a { color: var(--fg); font-size: 14px; }
.blk-social { margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links.style-buttons a {
  border: 1px solid var(--fg); padding: 9px 18px; text-decoration: none;
  color: var(--fg); font-size: 14px;
}
.social-links.style-buttons a:hover { background: var(--fg); color: #fff; }
.social-links.style-text a { color: var(--fg); font-size: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 40px 32px; }
.post-card { text-decoration: none; color: var(--fg); }
.post-thumb { aspect-ratio: 3/2; background: #f4f4f4; overflow: hidden; margin-bottom: 12px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-title { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 24px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; margin: 8px 0; }
.post-card p { margin: 6px 0 0; font-size: 14px; }
.blk-blog { margin-bottom: 32px; }

/* --- ai + support --- */
.budget { border: 1px solid var(--line); padding: 16px; margin-bottom: 28px; }
.budget-bar { height: 6px; background: #eee; margin: 10px 0 6px; }
.budget-bar span { display: block; height: 100%; background: var(--fg); }
.msg { border: 1px solid var(--line); padding: 16px; margin-bottom: 14px; }
.msg-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.msg-body { white-space: pre-wrap; margin: 0 0 12px; }
.draft { background: #fafafa; border-left: 3px solid var(--fg); padding: 12px; margin-bottom: 12px; }
.draft-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.draft textarea { width: 100%; border: 1px solid var(--line); padding: 10px; font: inherit; background: #fff; }
.ai-draft { background: #fafafa; border-left: 3px solid var(--fg); padding: 12px; margin: 8px 0; }
.stats { display: flex; gap: 40px; margin: 24px 0 36px; }
.stat-num { font-size: 30px; font-weight: 600; }
.stat-label { font-size: 13px; color: var(--muted); }
.todo { list-style: none; padding: 0; margin: 12px 0 32px; }
.todo li {
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.todo li a { margin-left: auto; font-size: 14px; }

/* --- phones ---
   Most clothing shopping happens here. Everything above is desktop-first, so
   this block is where the store actually gets used. */
@media (max-width: 640px) {
  /* Keep the top bar a single row — logo left, hamburger right. The nav is
     hidden behind the ☰ toggle (see the 760px block), so there's no overflow. */
  header { padding: 12px 16px; }
  .announce { font-size: 11px; padding: 6px 12px; letter-spacing: .06em; }
  nav { flex-wrap: wrap; gap: 16px; font-size: 15px; }

  main { padding: 20px 16px; }

  /* Two columns, not one. A single-column clothing grid means endless
     scrolling past things you've already rejected. */
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-name, .card-price { font-size: 13px; }

  .detail { gap: 24px; }
  .detail h1 { font-size: 21px; }
  .blk-heading.size-large { font-size: 26px; }
  .blk-heading.size-medium { font-size: 20px; }

  /* A 5-column table does not fit on a phone. Stack each row into a block. */
  .cart, .cart tbody, .cart tr, .cart td { display: block; width: 100%; }
  .cart tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .cart td { border: 0; padding: 2px 0; }
  .cart tr.muted { display: none; }  /* header row is meaningless once stacked */

  /* Buttons need a real tap target — 44px is the accepted minimum. */
  button, .btn { min-height: 44px; }
  .stack button { width: 100%; }

  .stats { flex-wrap: wrap; gap: 24px; }
  .admin-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .head-actions { flex-wrap: wrap; gap: 14px; }
  .todo li { flex-wrap: wrap; }
  .todo li a { margin-left: 0; }

  .post-grid { grid-template-columns: 1fr; gap: 24px; }
  .login { margin: 24px auto; }
  .footer-social { gap: 14px; }

  /* Drag-and-drop is a mouse gesture. On a phone the handle is decoration —
     the rest of admin still works, so don't pretend otherwise. */
  .grip { display: none; }
  .sortlist li { cursor: default; }
}
.discount { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.discount input { padding: 10px; border: 1px solid var(--line); font: inherit; }
.discount button { padding: 10px 16px; }
.line { display: flex; justify-content: space-between; max-width: 300px; padding: 4px 0; }

.tagline { display: block; font-size: 11px; font-weight: 400; letter-spacing: normal; color: var(--muted); margin-top: 2px; }
/* --- finance --- */
.pnl { max-width: 460px; margin: 20px 0 32px; }
.pnl-row { display: flex; justify-content: space-between; padding: 7px 0; }
.pnl-row.sub { border-top: 1px solid var(--line); font-weight: 600; }
.pnl-row.net { border-top: 2px solid var(--fg); font-weight: 700; font-size: 18px; padding-top: 10px; }
.pnl-row.net.neg { color: #c33; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 24px; }
.hbar-row { display: grid; grid-template-columns: 120px 1fr 70px; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { background: #f0f0f0; height: 14px; border-radius: 2px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; }
.hbar-val { text-align: right; color: var(--muted); }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.platform { border-top: 1px solid var(--line); padding: 14px 0; }
.platform-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.platform-title { font-weight: 600; margin-bottom: 6px; }
.social-text { width: 100%; border: 1px solid var(--line); padding: 10px; font: inherit; background: #fff; margin-bottom: 8px; }
.copy-btn { cursor: pointer; border: 0; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.pick { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; }
.pick input { width: auto; }
@media (max-width: 640px) { .pick-grid { grid-template-columns: 1fr; } }
.blk-html { margin-bottom: 20px; }
.blk-scheduled { background: #fff8e1; border: 1px dashed #d0b400; padding: 6px 10px; font-size: 12px; color: #806600; margin-bottom: 4px; }
.schedule { gap: 12px; margin-top: 8px; }
.schedule label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
/* --- health --- */
.health-overall { padding: 14px 18px; font-weight: 600; margin: 16px 0 24px; border-radius: 3px; }
.health-overall.status-ok { background: #e8f5e9; color: #1b5e20; }
.health-overall.status-warn { background: #fff8e1; color: #806600; }
.health-overall.status-fail { background: #fdecea; color: #b71c1c; }
.health-table td { padding: 10px 0; }
.hstatus { width: 24px; font-weight: 700; text-align: center; }
.status-ok { color: #2e7d32; }
.status-warn { color: #b58900; }
.status-fail { color: #c62828; }

/* form fields honour the theme */
input, select, textarea { background: var(--field); color: var(--fg); border-color: var(--line); }

/* Show / hide password toggle (static/pwtoggle.js wraps each password field). */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 62px; box-sizing: border-box; }
.pw-toggle {
  position: absolute; top: 0; right: 0; height: 100%;
  background: none; border: 0; padding: 0 14px; margin: 0;
  color: var(--muted); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  border-radius: 0;
}
.pw-toggle:hover { color: var(--fg); }
.card-name { color: var(--fg); }
.post-thumb, .sort-thumb, .thumb { background: var(--panel); }

/* --- product print picker --- */
.picker-label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 20px 0 10px; font-weight: 700; }
.picker-label .muted { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 8px; }
.print-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; margin-bottom: 8px; }
.swatch { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--panel); aspect-ratio: 1; }
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch.selected { border-color: var(--accent); }
.size-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pill { min-width: 60px; padding: 12px 0; border-radius: 12px; cursor: pointer; font-weight: 700; }
:root[data-x] .pill, .pill { background: var(--panel); color: var(--fg); border: 1px solid var(--line); }
.pill.selected { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============ Editorial homepage (MAD) ============ */
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.eyebrow.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--fg); }

/* Hero */
.hero { text-align: center; padding: 70px 20px 90px; }
.hero-eyebrow { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 28px; }
.hero-wordmark { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(90px, 20vw, 240px); line-height: .9;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-tagline { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 40px); letter-spacing: .02em; margin: 24px 0 34px; color: var(--fg); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Spotlights */
.spotlight { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 60px 0; }
.spotlight.flip .spotlight-img { order: 2; }
.spotlight-img { display: block; background: #0c0c0e; border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; }
.spotlight-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.spotlight-title { font-size: clamp(38px, 5.5vw, 74px); line-height: .95; margin: 16px 0 6px; text-transform: uppercase; }
.spotlight-colorway { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(30px,4.5vw,60px); line-height: 1; text-transform: uppercase; }
.spotlight-desc { color: var(--muted); max-width: 46ch; margin: 22px 0; line-height: 1.6; }
.spotlight-price { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 40px; margin: 8px 0 26px; }

/* The Range */
.range { padding: 70px 0 40px; }
.range-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.range-title { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(54px, 9vw, 130px); line-height: .82; text-transform: uppercase; margin: 0; }
.range-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 22px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.range-card { scroll-snap-align: start; color: var(--fg); text-decoration: none; }
.range-card .eyebrow, .range-card-sub { color: var(--muted); }
.range-card-img { aspect-ratio: 3/4; background: #0c0c0e; border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.range-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.range-card .eyebrow { margin-bottom: 6px; }
.range-card-name { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.range-card-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.range-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.range-card-price { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 26px; }
.range-arrow { width: 40px; height: 40px; border-radius: 999px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; margin: 50px 0; text-align: center; }
.stats .stat-num { font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.stat-label { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-top: 12px; font-weight: 700; }

/* Closing */
.closing { text-align: center; padding: 70px 20px 90px; }
.closing-wordmark { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(80px, 16vw, 200px); line-height: .9; text-transform: uppercase; margin-top: 18px; color: var(--fg); }

@media (max-width: 760px) {
  .spotlight { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .spotlight.flip .spotlight-img { order: 0; }
  .range-head { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
}

/* Closing subtitle */
.closing-sub { color: var(--muted); max-width: 40ch; margin: 24px auto 30px; line-height: 1.6; text-align: center; }
.closing .hero-cta { margin-top: 4px; }

/* Rich footer (MAD) */
.site-footer { max-width: 1100px; margin: 40px auto 0; padding: 60px 32px 30px; border-top: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; line-height: 1.6; margin: 0 0 18px; }
.footer-social { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-social a { color: var(--muted); text-decoration: none; font-size: 12px; letter-spacing: .16em; }
.footer-social a:hover { color: var(--fg); }
.footer-col h4 { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 12px; font-size: 14px; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 760px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Affiliate program page */
.aff-hero { text-align: center; padding: 50px 20px 30px; }
.aff-title { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(44px,8vw,100px); line-height: .9; text-transform: uppercase; margin: 16px 0; }
.aff-sub { color: var(--muted); max-width: 52ch; margin: 0 auto; line-height: 1.6; font-size: 17px; }
.aff-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; margin: 40px 0; text-align: center; }
.aff-how { max-width: 760px; margin: 40px auto; }
.aff-how h2, .aff-apply h2 { text-transform: uppercase; }
.aff-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.aff-steps li { display: flex; gap: 18px; align-items: flex-start; }
.aff-n { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: 'Anton',sans-serif; }
.aff-steps li div { line-height: 1.6; padding-top: 6px; }
.aff-apply { max-width: 460px; margin: 40px auto 60px; }
.aff-apply .btn, .aff-apply form { margin-bottom: 8px; }
.aff-apply .hint { margin-top: 18px; }
button.aff-share, a.aff-share { padding: 0; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: normal; cursor: pointer; }
@media (max-width: 620px) { .aff-stats { grid-template-columns: repeat(2,1fr); gap: 30px 16px; } }

/* Final-sale (hygiene) warning on underwear product pages */
.final-sale-label { margin-top: 24px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.final-sale-note { margin-top: 10px; padding: 16px 18px; border: 1px solid #ff8a3c; border-radius: 10px;
  background: rgba(255,138,60,.07); color: #ffb98a; line-height: 1.5; font-size: 14px; }
.final-sale-note strong { color: #ff8a3c; }

/* "You may also like" — slightly smaller than the homepage range heading */
.you-may { padding-top: 20px; }
.you-may .range-title { font-size: clamp(40px, 6vw, 84px); }

/* Announcement bar */
.announce { background: var(--grad); color: #fff; text-align: center; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 800; padding: 9px 16px; }

/* Newsletter (footer) */
.newsletter { margin-top: 22px; }
.newsletter-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 8px; max-width: 320px; }
.newsletter-form input { flex: 1; padding: 11px 12px; border: 1px solid var(--line); background: var(--field); color: var(--fg); border-radius: 8px; }
.newsletter-form button { border-radius: 8px; padding: 11px 18px; }
.newsletter-thanks { color: #38d39f; font-weight: 700; }

/* Smaller, denser "You may also like" cards */
.you-may .range-row { grid-auto-columns: minmax(175px, 1fr); gap: 16px; }
.you-may .range-card-name { font-size: 18px; }
.you-may .range-card-price { font-size: 22px; }
.you-may .range-arrow { width: 34px; height: 34px; }

/* Collapsible product-info dropdowns (Product Details / Shipping / Care) */
.pdp-accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.pdp-accordion details { border-bottom: 1px solid var(--line); }
.pdp-accordion summary { list-style: none; cursor: pointer; padding: 18px 2px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Anton','Arial Narrow',sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; }
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after { content: "+"; font-size: 22px; color: var(--muted); font-family: 'Archivo',sans-serif; }
.pdp-accordion details[open] summary::after { content: "\2212"; }
.pdp-accordion .pdp-body { padding: 0 2px 20px; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.pdp-accordion .pdp-body a { color: var(--fg); }

/* Cookie consent banner */
/* Hidden by default; only shown when the visitor hasn't chosen yet (.show added
   by JS). Never rely on the [hidden] attribute here — this class rule would
   override it and the banner would show on every page load. */
.cookie-banner { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 620px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; gap: 16px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--fg); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { padding: 10px 20px; font-size: 12px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--fg); }

/* Built-in newsletter section (full width, above footer) */
.join { text-align: center; padding: 72px 20px; border-top: 1px solid var(--line); }
.join-title { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(38px, 6vw, 76px); line-height: .92; text-transform: uppercase; margin: 14px 0 12px; }
.join-sub { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; line-height: 1.6; }
.join-form { display: flex; max-width: 480px; margin: 0 auto; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--field); }
.join-form input { flex: 1; border: 0; background: transparent; color: var(--fg); padding: 16px 22px; font-size: 15px; }
.join-form input:focus { outline: none; }
.join-form button { border: 0; background: var(--grad); color: #fff; padding: 0 26px; font-size: 20px; cursor: pointer; border-radius: 0; }
.join .newsletter-thanks { font-size: 18px; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Shop category filter chips (selectable bubbles) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.chip { background: transparent; border: 1.5px solid var(--line); color: var(--fg);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--muted); }
.chip.selected { background: var(--grad); border-color: transparent; color: #fff; }

/* Mobile hamburger nav */
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); font-size: 26px; line-height: 1; padding: 4px 8px; cursor: pointer; }
@media (max-width: 760px) {
  header { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  header nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding-top: 10px; }
  body.nav-open header nav { display: flex; }
  header nav a, header nav .link { padding: 12px 4px; border-top: 1px solid var(--line); width: 100%; }
  header nav form { width: 100%; }
}

/* Readable article column (policy pages + blog posts) */
.page-body { max-width: 760px; margin: 0 auto; }
.page-body .blk-heading { margin: 28px 0 10px; text-transform: uppercase; }
.page-body .blk-text, .page-body .blk-html { line-height: 1.7; }
.post-body { font-size: 17px; }
.post-head { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-head h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.02; margin: 10px 0 0; text-transform: uppercase; }
.post-body .blk-html h2, .post-body .blk-html h3 { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em; margin: 34px 0 12px; line-height: 1.05; }
.post-body .blk-html h2 { font-size: 28px; } .post-body .blk-html h3 { font-size: 22px; }
.post-body .blk-html p { margin: 0 0 18px; line-height: 1.75; color: #d6d6da; }
.post-body .blk-html ul, .post-body .blk-html ol { margin: 0 0 18px; padding-left: 22px; line-height: 1.75; color: #d6d6da; }
.post-body .blk-html strong { color: var(--fg); }
.post-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Journal listing */
.journal-head { margin-bottom: 40px; }
.journal-title { font-family: 'Anton','Arial Narrow',sans-serif; font-size: clamp(44px, 8vw, 96px); line-height: .9; text-transform: uppercase; margin: 12px 0 0; }
.post-card { display: block; padding: 0; }
.post-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.post-excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 8px 0 12px; }
.post-read { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--fg); }

/* Prices are shown on the product page only (.detail-price). On listing tiles —
   homepage spotlights & range, shop, collections, cross-sell — they're hidden,
   so shoppers click into the piece to see the price. */
.card-price, .spotlight-price, .range-card-price { display: none; }

/* Wishlist */
.wishlist-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent;
  border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 10px 18px;
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; cursor: pointer;
  margin: 4px 0 8px; }
.wishlist-btn .heart { font-size: 16px; color: var(--muted); }
.wishlist-btn.saved { border-color: #ff4d7d; }
.wishlist-btn.saved .heart { color: #ff4d7d; }

/* Back-in-stock alert */
.restock-alert { margin: 16px 0 8px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--panel); }
.restock-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.restock-form input { flex: 1; min-width: 200px; background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 10px; padding: 12px 14px; font-size: 15px; }

/* Search */
.nav-search input { background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; width: 130px; }
.nav-search input:focus { outline: none; border-color: var(--muted); width: 170px; }
.search-page-form { display: flex; gap: 10px; margin: 8px 0 32px; max-width: 620px; }
.search-page-form input { flex: 1; background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 12px; padding: 14px 18px; font-size: 16px; }

/* Product reviews */
.stars { color: #ffb020; letter-spacing: 2px; }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg);
  font-size: 14px; margin: 6px 0 2px; }
.pdp-rating-num { font-weight: 800; }
/* Reviews & Questions — contained, card-based, matches the buy box. */
.pdp-social { max-width: 760px; margin: 40px auto 0; padding: 0 20px; }
.pdp-social-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.pdp-social-title { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; font-size: 26px;
  text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.pdp-social-avg { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pdp-social-avg .stars { font-size: 17px; }
.pdp-social-avg strong { font-size: 16px; }
.pdp-social-empty { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

/* Individual review / answered-question card */
.review-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.review-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.review-card-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-card-title { font-size: 15px; }
.review-card-body { color: var(--fg); line-height: 1.6; margin: 8px 0 6px; font-size: 15px; }
.review-card-meta { color: var(--muted); font-size: 12px; }
.review-card-meta .verified { color: #38d39f; font-weight: 700; margin-left: 4px; }
.qa-q { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.qa-a { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.qa-tag { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 6px; background: var(--field); border: 1px solid var(--line); font-size: 11px; font-weight: 800;
  margin-right: 8px; vertical-align: middle; }
.qa-tag-a { background: var(--grad); color: #fff; border-color: transparent; }

/* The write-a-review / ask-a-question panel — same shell as the "added to bag" box */
.pdp-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 4px 0 28px; }
.pdp-panel-muted { color: var(--muted); font-size: 14px; }
.pdp-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-bottom: 14px; }
.pdp-panel-badge { color: #38d39f; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 12px; }
.pdp-panel-form { display: flex; flex-direction: column; gap: 12px; }
.pdp-panel-form input[type=text], .pdp-panel-form input[type=email], .pdp-panel-form textarea {
  background: var(--field); border: 1px solid var(--line); color: var(--fg); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; }
.pdp-panel-form textarea { min-height: 90px; resize: vertical; }
.pdp-panel-form button { align-self: flex-start; }

/* CSS-only star rating input (row-reverse so 1→5 read left→right). */
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { font-size: 28px; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: #ffb020; }
.star-input input:focus-visible ~ label { outline: 2px solid var(--fg); outline-offset: 2px; }

/* Reviews — editorial / high-fashion treatment (typography + whitespace, no
   histogram, no boxed controls; a single muted-gold accent) */
.rvx { max-width: 720px; margin: 60px auto 0; padding: 0 20px; }
.rvx-top { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.rvx-kicker { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .3em; color: var(--muted); }
.rvx-metric { display: flex; align-items: flex-end; gap: 18px; margin-top: 18px; }
.rvx-metric-num { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; font-size: 64px; line-height: .8; }
.rvx-metric-side { display: flex; flex-direction: column; gap: 7px; padding-bottom: 6px; }
.rvx-metric-count { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.rvx-stars { color: #c8a15a; letter-spacing: 3px; font-size: 14px; }
.rvx-sort { display: flex; align-items: center; gap: 20px; margin: 30px 0 4px; }
.rvx-sort-label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.rvx-sortlink { background: none; border: 0; padding: 3px 0; color: var(--muted); font-size: 12px;
  text-transform: uppercase; letter-spacing: .16em; cursor: pointer; }
.rvx-sortlink.on { color: var(--fg); box-shadow: inset 0 -1px 0 var(--fg); }
.rvx-list { list-style: none; padding: 0; margin: 8px 0 0; }
.rvx-item { padding: 36px 0; border-bottom: 1px solid var(--line); }
.rvx-item-head { display: flex; align-items: center; gap: 16px; }
.rvx-item-title { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--fg); }
.rvx-item-body { font-size: 21px; line-height: 1.55; font-weight: 400; color: var(--fg); margin: 16px 0 20px; max-width: 32em; }
.rvx-item-by { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.rvx-item-name { color: var(--fg); }
.rvx-item-verified { position: relative; padding-left: 15px; color: #c8a15a; }
.rvx-item-verified::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px;
  margin-top: -2px; border-radius: 50%; background: #c8a15a; }
.rvx-empty { color: var(--muted); font-size: 15px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.rvx-write { margin-top: 40px; }
.rvx-write-head { font-size: 11px; text-transform: uppercase; letter-spacing: .24em; color: var(--muted); margin-bottom: 22px; }
.rvx-form { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 520px; }
.rvx-form input[type=text], .rvx-form input[type=email], .rvx-form textarea { width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--line); color: var(--fg); padding: 12px 0; font-size: 16px; font-family: inherit; }
.rvx-form input::placeholder, .rvx-form textarea::placeholder { color: var(--muted); }
.rvx-form input:focus, .rvx-form textarea:focus { outline: 0; border-bottom-color: var(--fg); }
/* Q&A entries — same editorial rhythm as reviews */
.rvx-qa-q { font-size: 18px; line-height: 1.5; color: var(--fg); margin: 0 0 12px; max-width: 34em; }
.rvx-qa-a { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 40em; padding-left: 18px;
  border-left: 1px solid var(--line); }
.rvx-form textarea { min-height: 92px; resize: vertical; }
.rvx-submit { background: transparent; border: 1px solid var(--fg); color: var(--fg); border-radius: 0;
  padding: 15px 34px; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 600;
  cursor: pointer; transition: background .15s, color .15s; }
.rvx-submit:hover { background: var(--fg); color: var(--bg); }
.rvx-write-note { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.rvx-gate { color: var(--muted); font-size: 14px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.rvx-starinput label { font-size: 24px; color: var(--line); }
.rvx-starinput label:hover, .rvx-starinput label:hover ~ label, .rvx-starinput input:checked ~ label { color: #c8a15a; }
@media (max-width: 640px) {
  .rvx-metric-num { font-size: 52px; }
  .rvx-item-body { font-size: 19px; }
}

/* Add-to-cart confirmation — shown in place, no forced redirect */
.cart-added { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); display: flex; flex-direction: column; gap: 12px; }
.cart-added-msg { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.cart-added-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cart-added-actions .btn { padding: 12px 22px; }

/* Customer accounts */
.account-form { max-width: 420px; margin: 24px auto 64px; text-align: center; }
.stack-form { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; text-align: left; }
.stack-form input { background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.stack-form button { margin-top: 4px; }
.account-alt { color: var(--muted); font-size: 14px; margin-top: 18px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  flex-wrap: wrap; margin-bottom: 32px; }
.account-sub { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: 22px; letter-spacing: .02em; margin: 32px 0 14px; }
.account-orders { display: flex; flex-direction: column; gap: 10px; }
.account-order { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--panel); }
.account-order-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.account-order-total { font-weight: 800; }
.account-fits { margin-top: 8px; }

/* Arrow controls for the horizontal "range" rows — so a mouse can scroll them,
   not just a swipe. Injected by JS; shown only when the row actually overflows.
   Big gradient circles so they clearly read as controls (like the CTA buttons). */
.range-row-wrap { position: relative; }
.row-arrow { position: absolute; top: 40%; transform: translateY(-50%); z-index: 6;
  width: 56px; height: 56px; border-radius: 999px; background: var(--grad);
  border: 0; color: #fff; font-size: 30px; line-height: 1; font-weight: 800;
  padding: 0 0 4px; display: none; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.6); letter-spacing: 0; }
.row-arrow:hover { transform: translateY(-50%) scale(1.08); }
.row-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.range-row-wrap.has-arrows .row-arrow { display: flex; }
.row-arrow-prev { left: 6px; }
.row-arrow-next { right: 6px; }
/* Fade the row edges so it's obvious there's more to scroll. */
.range-row-wrap.has-arrows::before,
.range-row-wrap.has-arrows::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px;
  z-index: 4; pointer-events: none; }
.range-row-wrap.has-arrows::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.range-row-wrap.has-arrows::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* ============================ ADMIN BACK OFFICE ============================ */
.admin-body { margin: 0; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

/* Sidebar */
.admin-side { position: sticky; top: 0; align-self: start; height: 100vh; display: flex;
  flex-direction: column; background: #0d0d0f; border-right: 1px solid var(--line); padding: 22px 14px; }
.admin-logo { font-size: 26px; letter-spacing: .04em; text-decoration: none; padding: 0 10px 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; display: inline-block; }
.admin-logo-tag { -webkit-text-fill-color: var(--muted); color: var(--muted); font-family: 'Archivo', sans-serif;
  font-size: 11px; text-transform: uppercase; letter-spacing: .2em; margin-left: 8px; font-weight: 800; }
.admin-menu { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.admin-menu a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 10px 12px; border-radius: 9px; transition: background .12s, color .12s; }
.admin-menu a:hover { color: var(--fg); background: var(--panel); }
.admin-menu a.on { color: #fff; background: var(--grad); }
.admin-side-foot { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 12px;
  display: flex; flex-direction: column; gap: 10px; }
.admin-side-foot a { color: var(--muted); text-decoration: none; font-size: 13px; padding: 0 12px; }
.admin-side-foot a:hover { color: var(--fg); }
.admin-side-foot .link { text-align: left; padding: 0 12px; font-size: 13px; }
.admin-menu-toggle { display: none; }

/* Content area */
.admin-main { padding: 32px 40px 80px; max-width: 1100px; }
.admin-main h1 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; margin: 0 0 4px; }
.admin-main h2 { font-size: 22px; text-transform: uppercase; margin: 34px 0 14px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-head .head-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.admin-head .head-actions a { color: var(--muted); text-decoration: none; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.admin-head .head-actions a:hover { color: var(--fg); }

/* Cards / panels used across admin pages */
.admin-card, .msg, .draft { background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

/* Stat tiles (dashboard, finance) */
.admin-main .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.admin-main .stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.admin-main .stat-num { font-size: 40px; line-height: 1; }
.admin-main .stat-label { color: var(--muted); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; font-weight: 700; margin-top: 8px; }

/* Tables */
.admin-main table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-main th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.admin-main td { padding: 12px; border-bottom: 1px solid var(--line); }
.admin-main tr:hover td { background: rgba(255,255,255,.02); }

/* Forms */
.admin-main label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700; margin: 14px 0 6px; }
.admin-main input[type=text], .admin-main input[type=email], .admin-main input[type=password],
.admin-main input[type=number], .admin-main input:not([type]), .admin-main textarea, .admin-main select {
  width: 100%; max-width: 520px; background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: inherit; }
.admin-main textarea { min-height: 120px; }
.admin-main .stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.admin-main .inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Tags / flashes */
.admin-main .tag { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.admin-main .tag.off { background: var(--field); color: var(--muted); border: 1px solid var(--line); }
.admin-main .flash { padding: 12px 16px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line); margin-bottom: 16px; font-size: 14px; }
.admin-main .flash.err { border-color: #c33; color: #f7a7a7; }
.admin-main .flash.ok { border-color: #2a7; color: #8fe6bf; }
.admin-main .muted { color: var(--muted); }
.admin-main .hint { color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 50; width: 240px; left: -260px; transition: left .2s; }
  body.admin-nav-open .admin-side { left: 0; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
  .admin-menu-toggle { display: block; position: fixed; top: 14px; right: 14px; z-index: 60;
    background: var(--panel); border: 1px solid var(--line); color: var(--fg); border-radius: 10px;
    width: 44px; height: 44px; font-size: 18px; padding: 0; }
  .admin-main { padding: 70px 20px 60px; }
}

/* Affiliate dashboard */
.aff-dash-head { margin-bottom: 24px; }

/* Creator studio — earnings hero. Money first, then what to post. */
.aff-earn { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; margin: 20px 0 30px; }
.aff-earn-label { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.aff-earn-num { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 56px; line-height: .95;
  margin: 8px 0 6px; color: var(--fg);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aff-earn-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.aff-earn-tier-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; margin-bottom: 10px; }
.aff-earn-track { display: block; height: 8px; background: var(--field); border-radius: 999px; overflow: hidden; }
.aff-earn-fill { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.aff-earn-steps { display: flex; justify-content: space-between; margin-top: 8px; }
.aff-earn-step { font-size: 11px; font-weight: 800; color: var(--muted); }
.aff-earn-step.on { color: var(--fg); }

/* Colorway deck — filters + search over every postable colorway. */
.aff-filters { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 18px; }
.aff-search { width: 100%; max-width: 320px; background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 10px; padding: 11px 14px; font-size: 14px; font-family: inherit; }
.aff-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.aff-filter { background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 800; cursor: pointer; }
.aff-filter.on { background: var(--grad); color: #fff; border-color: transparent; }
.aff-noresults { color: var(--muted); font-size: 14px; padding: 20px 0; }
.aff-promo-note { background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin: 4px 0 18px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.aff-promo-note strong { color: var(--fg); }
.aff-promo-note code { background: var(--field); border-radius: 6px; padding: 2px 7px; color: var(--fg); }
.aff-nocomm { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #ff8a3c;
  font-weight: 800; margin: 0 12px 8px; }
.aff-promote-card[hidden] { display: none; }

/* Share modal — real platform targets, the way the old dashboard did it. */
.shr { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.shr[hidden] { display: none; }
.shr-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; width: 100%; max-width: 420px; text-align: center; }
.shr-img { width: 148px; height: 148px; object-fit: cover; border-radius: 12px; margin: 0 auto 12px; display: block; }
.shr-name { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.shr-note { color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.shr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shr-btn { display: flex; align-items: center; justify-content: center; background: var(--grad);
  color: #fff; border: 0; border-radius: 999px; padding: 13px 10px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; cursor: pointer; text-decoration: none; }
.shr-btn:hover { opacity: .9; }
.shr-foot { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }
.shr-close { width: 100%; margin-top: 12px; }

.aff-deck-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aff-deck-head .account-sub { margin-bottom: 4px; }
.aff-deck-head span { font-size: 13px; }
.aff-share-store { display: block; width: 100%; max-width: 340px; margin: 10px 0 30px; }

/* Quiet drawers — raw link, QR, and the how-it-works copy live in here. */
.aff-drawer { border-top: 1px solid var(--line); }
.aff-drawer summary { display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; cursor: pointer; list-style: none; font-size: 12px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); }
.aff-drawer summary::-webkit-details-marker { display: none; }
.aff-drawer summary::after { content: "+"; font-size: 16px; }
.aff-drawer[open] summary::after { content: "–"; }
.aff-drawer summary:hover { color: var(--fg); }
.aff-drawer-body { display: flex; flex-direction: column; gap: 24px; padding-bottom: 26px; }
.aff-drawer-item strong { display: block; font-size: 13px; margin-bottom: 4px; }
.aff-drawer-item .muted { font-size: 13px; margin: 0 0 10px; }
@media (max-width: 720px) { .aff-earn { grid-template-columns: 1fr; gap: 22px; } }
.aff-tier { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 20px 0 8px; background: var(--panel); }
.aff-tier-row { font-size: 15px; margin-bottom: 14px; }
.aff-tier-track { display: flex; gap: 8px; }
.aff-tier-step { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: 800;
  font-size: 13px; background: var(--field); color: var(--muted); border: 1px solid var(--line); }
.aff-tier-step.on { background: var(--grad); color: #fff; border: 0; }
.aff-how { display: flex; flex-direction: column; gap: 12px; padding-left: 22px; margin: 0 0 12px; }
.aff-how li { color: var(--muted); font-size: 15px; line-height: 1.6; }
.aff-how strong { color: var(--fg); }
.aff-copy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.aff-link-input { flex: 1; min-width: 240px; background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.aff-promote { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 12px 0 8px; }
.aff-promote-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel);
  display: flex; flex-direction: column; }
.aff-promote-img { aspect-ratio: 4 / 5; background: var(--field); }
.aff-promote-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aff-promote-name { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
  padding: 10px 12px 8px; flex: 1 0 auto;
  /* Clamp to 2 lines so a long/odd colorway name can't shove the Share button
     out of line with its neighbours. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aff-promote-card .copy-btn { margin: 0; padding: 10px; font-size: 11px; }
/* Pin every Share button to the card's bottom edge so a whole row lines up
   regardless of how many lines each name takes. */
.aff-deck .aff-share-primary { margin: 0 12px 12px; width: auto; display: block; }
.aff-deck .aff-nocomm { margin: 0 12px 8px; }

/* Admin owner-promote cards */
.promote-grid { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 24px; max-width: 820px; }
.promote-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.promote-name { font-weight: 800; margin-bottom: 8px; }
.promote-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Admin SEO content ideas */
.idea-list { list-style: none; padding: 0; margin: 12px 0 20px; display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.idea-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.idea-list li form { margin: 0; }

/* Admin UTM link builder */
.utm-builder { max-width: 620px; display: flex; flex-direction: column; gap: 12px; margin: 8px 0 20px; }
.utm-builder label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.utm-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.utm-quick button { background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; text-transform: none; letter-spacing: normal; }
.utm-quick button:hover { border-color: transparent; background: var(--grad); color: #fff; }
.utm-out { display: flex; gap: 8px; align-items: stretch; }
.utm-out input { flex: 1; min-width: 0; font-family: monospace; font-size: 12px; }

/* First-order welcome popup */
.welcome-pop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center;
  justify-content: center; background: rgba(0,0,0,.65); padding: 20px; }
.welcome-pop[hidden] { display: none; }
.welcome-pop-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  max-width: 380px; width: 100%; padding: 30px 24px; position: relative; text-align: center; }
.welcome-pop-title { font-size: 30px; margin: 6px 0 10px; line-height: 1; }
.welcome-pop-close { position: absolute; top: 8px; right: 14px; background: none; border: 0;
  color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 0; }
.welcome-pop-close:hover { color: var(--fg); }
.welcome-pop-form { display: flex; gap: 8px; margin: 18px 0 12px; }
.welcome-pop-form input { flex: 1; min-width: 0; background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 999px; padding: 12px 16px; }
.welcome-pop-form button { white-space: nowrap; }
.welcome-pop-dismiss { background: none; border: 0; color: var(--muted); font-size: 12px;
  text-decoration: underline; cursor: pointer; padding: 0; }

/* Sticky mobile buy bar — desktop hides it entirely */
.mobile-buybar { display: none; }
@media (max-width: 760px) {
  .mobile-buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--panel); border-top: 1px solid var(--line);
  }
  .mobile-buybar-price { font-weight: 800; font-size: 18px; white-space: nowrap; }
  .mobile-buybar .btn { flex: 1; text-align: center; }
  body:has(.mobile-buybar) { padding-bottom: 74px; }  /* room above the bar */
}

.back-to-shop { display: inline-block; margin-bottom: 10px; font-size: 13px; color: var(--muted);
  text-decoration: none; letter-spacing: .02em; }
.back-to-shop:hover { color: var(--fg); }

/* Pre-order drop progress toward the factory minimum. */
.drop { background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin: 14px 0; }
.drop-met { border-color: transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box;
  border: 1px solid transparent; }
.drop-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; font-size: 14px; margin-bottom: 10px; }
.drop-top .muted { font-size: 13px; }
.drop-track { height: 8px; background: var(--field); border-radius: 999px; overflow: hidden; }
.drop-fill { display: block; height: 100%; background: var(--grad); border-radius: 999px;
  transition: width .3s; }
.drop-note { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin: 10px 0 0; }
.drop-note strong { color: var(--fg); }
.cart-keep-shopping { margin-top: 14px; }

.pdp-bnpl { font-size: 14px; color: var(--muted); margin: 4px 0 12px; }
.pdp-bnpl strong { color: var(--fg); }

/* Product-page trust signals */
.pdp-trust { list-style: none; padding: 14px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line);
  display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.pdp-trust li { display: flex; align-items: center; gap: 8px; }
.pdp-trust a { color: var(--fg); text-decoration: underline; }
/* Concierge line — refined client-service prompt in the buy box. */
.pdp-concierge { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none;
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.pdp-concierge span { color: var(--fg); white-space: nowrap; }
.pdp-concierge:hover span { text-decoration: underline; }

/* Gift cards */
.giftcard { max-width: 540px; margin: 0 auto; padding: 30px 18px 60px; }
.giftcard-title { font-size: clamp(30px, 8vw, 48px); margin: 6px 0 10px; text-align: center; }
.giftcard-sub { color: var(--muted); text-align: center; max-width: 440px; margin: 0 auto 24px; line-height: 1.5; }
.giftcard-form label { font-weight: 700; font-size: 13px; margin-top: 6px; }
.giftcard-amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.giftcard-amounts .pill { cursor: pointer; }

/* Affiliate connect-socials */
.aff-socials { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.aff-social { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.aff-social strong { min-width: 96px; }
.aff-social form { margin: 0; }

/* Affiliate QR code block */
.aff-qr { display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 4px 0 8px; }
.aff-qr-code { width: 128px; height: 128px; flex: 0 0 128px; background: #fff; border-radius: 12px; padding: 8px; }
.aff-qr-code svg { width: 100%; height: 100%; display: block; }
.aff-qr-text { flex: 1; min-width: 200px; }
.aff-qr-text p { margin: 4px 0 12px; font-size: 13px; }

/* Affiliate link-in-bio page — mobile-first, centered, big tap targets. */
.bio { max-width: 560px; margin: 0 auto; padding: 24px 18px 60px; }
.bio-head { text-align: center; margin-bottom: 26px; }
.bio-title { font-size: clamp(30px, 8vw, 46px); margin: 6px 0 10px; }
.bio-sub { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 420px; margin: 0 auto 18px; }
.bio-shop-all { display: inline-block; }
.bio-grid { display: flex; flex-direction: column; gap: 12px; }
.bio-card { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; }
.bio-card:hover { border-color: transparent; transform: translateY(-2px);
  box-shadow: 0 0 0 2px transparent; background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad) border-box; border: 1px solid transparent; }
.bio-card-img { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; overflow: hidden;
  background: var(--field); display: flex; align-items: center; justify-content: center; }
.bio-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bio-card-name { flex: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; }
.bio-card-cta { color: var(--muted); font-weight: 700; font-size: 13px; white-space: nowrap; }

.aff-caption-preview { font-size: 12px; color: var(--muted); line-height: 1.4; margin: 0 12px 8px;
  min-height: 2.8em; }
.ai-caption { color: var(--fg) !important; font-weight: 700; }
.aff-promote-actions { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 14px; }
.aff-share-primary { width: 100%; text-align: center; font-size: 14px; padding: 14px 18px; }
.aff-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.aff-chip { background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 700;
  text-transform: none; letter-spacing: normal; cursor: pointer; text-decoration: none; }
.aff-chip:hover { border-color: transparent; background: var(--grad); color: #fff; }
.aff-share-row { display: flex; gap: 6px; flex-wrap: wrap; }
.aff-share { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--field); color: var(--fg); display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.aff-share:hover { background: var(--grad); color: #fff; border-color: transparent; }
.aff-promote-more { display: flex; gap: 14px; align-items: center; }
.aff-promote-more .link { font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer;
  background: none; border: 0; padding: 0; }
.aff-promote-more .link:hover { color: var(--fg); }

/* UGC consent + guidelines */
.wore-consent { display: flex; gap: 10px; text-align: left; font-size: 12px; color: var(--muted);
  line-height: 1.5; margin: 4px 0; }
.wore-consent input { margin-top: 3px; flex: 0 0 auto; }
.wore-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.wore-guidelines { max-width: 720px; margin: 8px auto 0; padding: 40px 20px 16px; border-top: 1px solid var(--line); }
.wore-guidelines h3 { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: 22px; margin: 0 0 16px; }
.wore-guidelines ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.wore-guidelines li { color: var(--muted); font-size: 14px; line-height: 1.6; }
.wore-guidelines strong { color: var(--fg); }

/* Who Wore It Best — community gallery */
.wore-sub { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 16px 0 0; max-width: 520px; }
.wore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 36px 0 64px; }
.wore-card { margin: 0; }
.wore-thumb { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.wore-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wore-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.wore-name { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.wore-caption { color: var(--muted); font-size: 13px; }
.wore-empty { color: var(--muted); text-align: center; padding: 40px 0 56px; font-size: 15px; }
.wore-submit { text-align: center; padding: 64px 20px; border-top: 1px solid var(--line); }
.wore-form { max-width: 460px; margin: 22px auto 0; display: flex; flex-direction: column; gap: 12px; }
.wore-form input[type=text] { background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.wore-file { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--field); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px;
  font-size: 13px; color: var(--muted); text-align: left; cursor: pointer; }
.wore-file input[type=file] { color: var(--muted); font-size: 12px; max-width: 60%; }
.wore-form button { margin-top: 4px; }
.wore-fineprint { color: var(--muted); font-size: 12px; margin: 16px auto 0; max-width: 460px; line-height: 1.5; }
/* Make the richer Fit Club form fields match the text inputs. */
.wore-form input[type=url], .wore-form select { background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 10px; padding: 14px 16px; font-size: 14px; }

/* ---- MAD Fit Club ---- */
.fit-yourrank { text-align: center; margin: 0 0 8px; font-size: 14px; }
.fit-rankbadge { display: inline-block; background: var(--grad); color: #fff; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.fit-how { margin: 24px 0 8px; }
.fit-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit-step { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px; font-size: 13px; color: var(--muted); }
.fit-step strong { color: var(--fg); font-size: 15px; }
.fit-stepnum { width: 26px; height: 26px; border-radius: 999px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.fit-tiers { text-align: center; padding: 44px 0 8px; }
.fit-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0 0; text-align: left; }
.fit-tier { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.fit-tier-name { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.fit-tier-reward { color: var(--muted); font-size: 13px; line-height: 1.5; }
.fit-rules-link { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.fit-board { text-align: center; padding: 48px 0 8px; }
.fit-lb { list-style: none; padding: 0; margin: 24px auto 0; max-width: 640px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.fit-lb-row { display: grid; grid-template-columns: 44px 56px 1fr auto; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.fit-lb-1 { border-color: transparent; background:
  linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.fit-lb-rank { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 22px; }
.fit-lb-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--field); }
.fit-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fit-lb-who { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.fit-lb-title { font-family: 'Archivo',sans-serif; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 11px; color: #ff8a3c; }
.fit-lb-likes { font-size: 13px; color: var(--fg); white-space: nowrap; }
.fit-lb-likes a { color: var(--muted); }
.fit-gallery { padding-top: 40px; }
.wore-post { font-size: 12px; color: var(--muted); text-decoration: underline; }
.fit-likes-form { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.fit-likes-form input[type=number] { width: 90px; background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.fit-likes-form button { padding: 8px 14px; font-size: 11px; }
@media (max-width: 640px) {
  .fit-steps { grid-template-columns: 1fr; }
  .fit-lb-row { grid-template-columns: 32px 44px 1fr; }
  .fit-lb-likes { grid-column: 2 / -1; }
}

/* ---- MAD Club membership ---- */
.mclub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 8px; }
.mclub-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.mclub-featured { border-color: transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.mclub-current { outline: 1px dashed var(--muted); outline-offset: 3px; }
.mclub-flag { position: absolute; top: -11px; left: 24px; background: var(--grad); color: #fff; font-size: 10px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 4px 12px; border-radius: 999px; }
.mclub-name { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; font-size: 26px; margin: 0; text-transform: uppercase; }
.mclub-price { display: flex; align-items: baseline; gap: 4px; }
.mclub-amt { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 40px; }
.mclub-per { color: var(--muted); font-size: 15px; }
.mclub-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mclub-perks li { color: var(--muted); font-size: 13px; line-height: 1.4; padding-left: 20px; position: relative; }
.mclub-perks li::before { content: "✓"; position: absolute; left: 0; color: #ff8a3c; font-weight: 800; }
.mclub-card form, .mclub-card .btn { margin-top: auto; }
.mclub-card button { width: 100%; }
.account-membership { margin-top: 28px; }
@media (max-width: 720px) { .mclub-grid { grid-template-columns: 1fr; } }

/* Admin: Who Wore It Best moderation */
.fit-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 16px 0 28px; font-size: 13px; }
.fit-upload input[type=text] { background: var(--field); border: 1px solid var(--line); color: var(--fg);
  border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.fit-mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 12px 0 32px; }
.fit-mod { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.fit-mod img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.fit-mod-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 12px; }
.fit-mod-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.fit-mod-actions button { padding: 8px 14px; font-size: 11px; }

/* Designed policy / info pages */
.page-body .lead { font-size: 19px; line-height: 1.6; margin: 0 0 28px; color: var(--fg); }
.page-body h3 { font-family: 'Anton','Arial Narrow',sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .02em; font-size: 22px; margin: 30px 0 12px; }
.page-body h3 .th-note { font-family: 'Archivo',sans-serif; text-transform: none; letter-spacing: 0;
  font-size: 13px; color: var(--muted); margin-left: 8px; }
.page-body p, .page-body li { color: #d0d0d6; line-height: 1.7; }
.page-body ul { padding-left: 20px; margin: 0 0 18px; }
.page-body li { margin-bottom: 8px; }
.page-body strong { color: var(--fg); }
.stay-mad { font-family: 'Anton',sans-serif; font-size: 40px; text-transform: uppercase; margin-top: 24px !important;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Size chart */
.size-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; max-width: 420px; }
.size-table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.size-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.size-table td:first-child { font-weight: 800; width: 90px; }

/* FAQ accordion */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 2px; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Anton','Arial Narrow',sans-serif; text-transform: uppercase; letter-spacing: .02em; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 2px 20px; color: #d0d0d6; line-height: 1.7; }
.faq .faq-a a, .page-body a:not([class]) { color: var(--fg); }

/* Info sections (shipping / returns) */
.info-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-section:last-child { border-bottom: 0; }
.info-section.callout { border: 1px solid #ff8a3c; border-radius: 12px; background: rgba(255,138,60,.07); padding: 18px 20px; }
.info-section.callout h3 { color: #ff8a3c; margin-top: 0; }

/* Cart cross-sell — "complete the look" */
.cross-sell { margin: 34px 0 10px; }
.cross-title { text-transform: uppercase; letter-spacing: .04em; font-size: 15px; margin-bottom: 14px; }
.cross-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cross-card { display: flex; flex-direction: column; text-decoration: none; color: var(--fg);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.cross-card:hover { border-color: var(--fg); }
.cross-img { aspect-ratio: 4/5; background: var(--field); display: block; }
.cross-img img { width: 100%; height: 100%; object-fit: cover; }
.cross-name { padding: 8px 10px 2px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.cross-add { padding: 0 10px 10px; font-size: 12px; color: var(--muted); font-weight: 700; }
@media (max-width: 640px) { .cross-grid { grid-template-columns: repeat(2, 1fr); } }

/* Admin: drop progress rows */
.drop-rows { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.drop-row { display: flex; align-items: center; gap: 16px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.drop-row.on { border-color: #38d39f; }
.drop-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.drop-row-main .muted { font-size: 13px; }

/* Admin: production sheet — colorway x size grid from paid pre-orders */
.prod-title { margin: 26px 0 6px; font-size: 18px; }
.prod-wrap { overflow-x: auto; margin-bottom: 18px; }
.prod-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.prod-table th, .prod-table td { padding: 9px 12px; text-align: center;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.prod-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 800; }
.prod-table .prod-name { text-align: left; font-weight: 800; }
.prod-total { font-weight: 800; }
.prod-zero { color: var(--muted); opacity: .45; }
.prod-table tfoot td { border-bottom: 0; border-top: 1px solid var(--line); }

/* Admin: outreach pipeline */
.out-counts { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 18px; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.out-count strong { color: var(--fg); font-size: 15px; margin-right: 4px; }
.out-rows { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 30px; }
.out-row { display: flex; align-items: flex-start; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.out-row.out-placed { border-color: #38d39f; }
.out-row.out-declined { opacity: .55; }
.out-main { flex: 1; min-width: 0; }
.out-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.out-contact { font-size: 12px; margin-top: 4px; }
.out-notes { font-size: 12px; margin: 6px 0 0; }
.out-due { color: #ff8a3c; font-weight: 800; }
.out-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.out-form select, .out-form input { background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 8px; padding: 7px 10px; font-size: 12px; font-family: inherit; }
.out-form input[type=text] { flex: 1; min-width: 160px; }
.out-form button { padding: 8px 16px; font-size: 11px; }
.out-tpl { background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px; }
.out-tpl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; margin-bottom: 10px; }
.out-tpl pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 1.6;
  color: var(--muted); margin: 0; }

/* Affiliate payout details */
.aff-payout-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.aff-payout-form select, .aff-payout-form input { background: var(--field); border: 1px solid var(--line);
  color: var(--fg); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-family: inherit; }
.aff-payout-form input { flex: 1; min-width: 200px; }
.aff-payout-to { font-size: 12px; color: var(--muted); margin: 6px 0 4px; }
.aff-payout-to code { background: var(--field); border-radius: 6px; padding: 1px 6px; color: var(--fg); }
.aff-payout-missing { color: #ff8a3c; }

/* Affiliate Stripe Connect */
.aff-connect .tag { margin-right: 6px; }
.aff-or { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  text-align: center; margin: 6px 0; }

/* Affiliate pending/held commission */
.aff-earn-pending { font-size: 12px; color: #ff8a3c; margin: 4px 0 0; line-height: 1.5; }

/* Affiliate referral activity table */
.aff-refs { overflow-x: auto; margin-bottom: 24px; }
.aff-refs-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.aff-refs-table th, .aff-refs-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.aff-refs-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.aff-ref-state { font-size: 12px; }
.aff-ref-ok { color: #38d39f; font-weight: 800; }
.aff-ref-wait { color: #ff8a3c; }
.aff-ref-off { color: var(--muted); }

/* Social wall — Fit Club UGC grid + follow buttons on the homepage */
.social-wall { margin: 40px 0 20px; }
.social-follow { display: flex; gap: 10px; flex-wrap: wrap; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.social-tile { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--field);
  display: block; }
.social-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.social-tile:hover img { transform: scale(1.05); }
.social-wall-cta { margin-top: 16px; }
.social-wall-cta a { color: var(--fg); }
@media (max-width: 640px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }

/* Reviews — score header, stars, and the write-a-review form. The card styling
   (.review-list/.review-card/.verified) already exists above. */
.reviews { margin: 40px 0; }
.reviews-score { display: flex; align-items: baseline; gap: 8px; }
.reviews-avg { font-family: 'Anton','Arial Narrow',sans-serif; font-size: 40px; line-height: 1; }
.reviews-stars, .review-stars { color: #f5b301; letter-spacing: 1px; }
.review-stars { font-size: 14px; }
.reviews-empty, .reviews-cta { margin: 6px 0 18px; }
.review-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin-top: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.review-form select, .review-form input, .review-form textarea {
  width: 100%; padding: 10px 12px; background: var(--field); color: var(--fg);
  border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.review-form textarea { resize: vertical; }
.review-form button { align-self: start; }

/* Uploaded store logo — scales to nav height, keeps aspect ratio. A white chip
   seats a logo that was drawn for a light background (like a wordmark) cleanly
   on any theme; harmless for logos that are already light/transparent. */
.logo .logo-img { height: 30px; width: auto; display: block; vertical-align: middle;
  background: #fff; padding: 6px 12px; border-radius: 9px; }
@media (max-width: 640px) { .logo .logo-img { height: 24px; padding: 5px 10px; } }
