/* ============================================================================
   ASH MARKETPLACE — design system
   Seashell ground · Ash-brown ink · Turquoise (New) ⇄ Peach (Pre-Loved)
   40% Draper James · 25% Lilly Pulitzer · 25% Tuckernuck · 10% Marketplace
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Karla:wght@400;500;600;700&family=Dancing+Script:wght@500;600&display=swap');

:root {
  --seashell:   #FBF7F1;
  --card:       #FFFDF9;
  --ink:        #3D4A48;
  --brown:      #2F6B6A;
  --brown-soft: #7A9694;
  --teal:       #45A9A8;
  --teal-deep:  #35807F;
  --peach:      #EEA57C;
  --peach-deep: #D07E4B;
  --line:       #E3E0D4;
  --shadow:     0 10px 28px rgba(47, 107, 106, .16);

  --accent:      var(--teal);
  --accent-deep: var(--teal-deep);

  --serif:  "Playfair Display", Georgia, serif;
  --sans:   "Karla", "Segoe UI", sans-serif;
  --script: "Dancing Script", cursive;
}

/* the whole store re-tints when the shopper flips to Pre-Loved */
html[data-mode="preloved"] {
  --accent:      var(--peach-deep);
  --accent-deep: #B96A3C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--seashell);
  color: var(--ink);
  font: 16px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }

h1, h2, h3 { font-family: var(--serif); color: var(--brown); font-weight: 600; line-height: 1.18; }
.kicker {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 700; margin-bottom: 10px;
}
.script { font-family: var(--script); color: var(--accent-deep); font-weight: 500; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--accent); color: var(--seashell);
  border: 1.5px solid var(--accent);
  padding: 13px 30px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .18s, border-color .18s, transform .12s;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: var(--seashell); }
.btn.small { padding: 9px 20px; font-size: 12px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ── utility bar — tinted by the active condition mode (the whole top of the
      site quietly answers "which side of the shop am I in?") ─────────────── */
.utility-bar {
  background: color-mix(in srgb, var(--accent) 16%, var(--seashell));
  border-bottom: 1px solid var(--line);
  transition: background .35s;
}
.utility-inner {
  max-width: 1280px; margin: 0 auto; padding: 7px 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brown);
}
.util-brandline { font-weight: 700; }
.util-note { color: var(--accent-deep); font-weight: 700; }

/* ── header ──────────────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--seashell) 94%, transparent);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.header-main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 10px 22px 6px; gap: 14px;
}
.brand { grid-column: 2; justify-self: center; }
.brand img { height: 64px; width: auto; }
.header-actions {
  grid-column: 3; justify-self: end;
  display: flex; align-items: center; gap: 14px;
}

.icon-text-button {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; color: var(--brown);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 4px; cursor: pointer; position: relative;
}
.icon-text-button svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.icon-text-button:hover { color: var(--accent-deep); }
.cart-link .cart-count {
  position: absolute; top: -4px; right: -12px;
  background: var(--accent); color: var(--seashell);
  font-size: 11px; min-width: 19px; height: 19px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
  transition: background .3s;
}

/* condition switch — sliding thumb, mode-colored */
.condition-switch {
  position: relative; display: inline-flex; border: 1.5px solid var(--brown);
  border-radius: 999px; overflow: hidden; background: var(--card);
}
.condition-switch .condition-option {
  position: relative; z-index: 2; border: 0; background: transparent;
  color: var(--brown); padding: 8px 0; cursor: pointer; width: 96px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-align: center; transition: color .25s;
}
.condition-switch .condition-option.on { color: var(--seashell); }
.condition-switch .condition-thumb {
  position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 50%;
  background: var(--teal); border-radius: 999px;
  transition: transform .28s cubic-bezier(.55,0,.3,1.2), background .28s;
}
.condition-switch.at-loved .condition-thumb { transform: translateX(100%); background: var(--peach-deep); }

/* search panel */
.search-panel {
  display: none; border-top: 1px solid var(--line); background: var(--card);
}
.search-panel.open { display: block; }
.search-panel form { max-width: 620px; margin: 0 auto; padding: 18px 22px 22px; }
.search-panel label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brown-soft); margin-bottom: 8px;
}
.search-input-wrap { display: flex; gap: 10px; }
.search-input-wrap input {
  flex: 1; background: var(--seashell); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 11px 18px; font-size: 15px; color: var(--ink);
  font-family: var(--sans);
}
.search-input-wrap input:focus { outline: none; border-color: var(--accent); }
.search-input-wrap button {
  background: var(--accent); color: var(--seashell); border: 0; border-radius: 999px;
  padding: 11px 24px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
}

/* desktop nav — centered rail with editorial mega-menus */
.desktop-nav {
  display: flex; justify-content: center; gap: 6px;
  max-width: 1280px; margin: 0 auto; padding: 0 22px 2px;
}
.desktop-nav .nav-item { position: relative; }
.desktop-nav .nav-item > a {
  display: block; padding: 10px 15px 13px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brown); border-bottom: 2px solid transparent;
}
.desktop-nav .nav-item > a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.desktop-nav .nav-item > a.sale { color: var(--peach-deep); }

.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 26px 30px;
  display: none; gap: 40px; z-index: 60;
}
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { display: flex; }
.mega-lead { max-width: 220px; }
.mega-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 8px;
}
.mega-lead h2 {
  font-size: 21px; line-height: 1.25; margin-bottom: 14px; color: var(--brown);
}
.link-arrow {
  font-size: 13px; font-weight: 700; color: var(--accent-deep);
  letter-spacing: .04em; white-space: nowrap;
}
.link-arrow span { transition: transform .2s; display: inline-block; }
.link-arrow:hover span { transform: translateX(4px); }
.mega-col h3 {
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brown-soft); margin-bottom: 10px;
}
.mega-col a {
  display: block; padding: 4.5px 0; font-size: 14.5px; color: var(--ink); white-space: nowrap;
}
.mega-col a:hover { color: var(--accent-deep); }

.mode-toggle { /* alias retained for shared JS hooks */ }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 34px; padding: 6px 4px; grid-column: 1;
}
.burger span {
  display: block; height: 2px; background: var(--brown); border-radius: 2px; margin: 5px 0;
}

/* mobile nav panel */
.mobnav {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(31, 63, 68, .45);
}
.mobnav.open { display: block; }
.mobnav .panel {
  width: min(320px, 86vw); height: 100%; overflow-y: auto;
  background: var(--seashell); padding: 26px 24px;
}
.mobnav h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brown-soft); margin: 20px 0 8px; }
.mobnav a { display: block; padding: 7px 0; font-size: 16px; color: var(--ink); }
.mobnav .dept { font-family: var(--serif); font-size: 19px; color: var(--brown); font-weight: 600; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero img.bg { width: 100%; height: min(84vh, 800px); object-fit: cover; object-position: center top; }
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(251, 247, 241, .96) 0%, rgba(251, 247, 241, .25) 38%, transparent 62%);
}
.hero .content {
  position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; padding: 0 20px;
}
.hero .script { font-size: clamp(26px, 4vw, 40px); display: block; margin-bottom: 4px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 18px; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* trust strip */
.trust {
  border-block: 1px solid var(--line); background: var(--card);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 42px;
  padding: 13px 20px; font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brown-soft); text-align: center;
}
.trust b { color: var(--accent-deep); }

/* ── sections & bands ────────────────────────────────────────────────────── */
section.band { padding: 64px 0; }
.band-head { text-align: center; margin-bottom: 36px; }
.band-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.band-head p.lead { color: var(--brown-soft); max-width: 560px; margin: 10px auto 0; }

/* department tiles */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.dept-tile {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 4px 16px rgba(100, 75, 55, .10);
}
.dept-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dept-tile:hover img { transform: scale(1.045); }
.dept-tile .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31, 63, 68, .58), transparent 55%);
}
.dept-tile .lab {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--seashell);
}
.dept-tile .lab .name { font-family: var(--serif); font-size: 24px; font-weight: 600; display: block; }
.dept-tile .lab .go { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.dept-tile .letter {
  position: absolute; top: 12px; left: 16px;
  font-family: var(--serif); font-size: 30px; color: var(--seashell); opacity: .9;
}

/* scallop — the Lilly nod (repeated half-circles in the accent) */
.scallop { position: relative; }
.scallop::before {
  content: ""; position: absolute; top: -11px; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 10px -3px, transparent 11px, var(--accent) 11.5px, var(--accent) 12px, transparent 13px);
  background-size: 22px 14px; background-repeat: repeat-x; opacity: .85;
}

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #EFE3D3; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.05); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .cat { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brown-soft); }
.card .name { font-family: var(--serif); font-size: 17px; color: var(--brown); font-weight: 600; }
.card .price { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.card .price .was { color: var(--brown-soft); text-decoration: line-through; font-weight: 500; font-size: 13.5px; margin-left: 7px; }
.card .add {
  margin-top: auto; padding-top: 10px;
}
.card .add button {
  width: 100%; background: transparent; border: 1.5px solid var(--accent);
  color: var(--accent-deep); border-radius: 999px; padding: 9px 0;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.card .add button:hover { background: var(--accent); color: var(--seashell); }
.card .add button[disabled] { border-color: var(--line); color: var(--brown-soft); cursor: not-allowed; background: transparent; }

.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; width: max-content;
}
.badge.new    { background: var(--teal); color: var(--seashell); }
.badge.loved  { background: var(--peach); color: var(--brown); }
.badge.one    { background: var(--card); color: var(--brown); border: 1px solid var(--brown); }
.badge.sale   { background: var(--brown); color: var(--peach); }
.badge.season { background: var(--card); color: var(--teal-deep); border: 1px solid var(--teal); }

.soldout-veil {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(251, 247, 241, .55); display: flex; align-items: center; justify-content: center;
}
.soldout-veil span {
  background: var(--brown); color: var(--seashell); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px;
}

/* horizontal product rows (home page) */
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(235px, 260px);
  gap: 18px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; }
.row-scroll .card { scroll-snap-align: start; }

/* photo band (story / preloved) */
.photo-band { position: relative; overflow: hidden; }
.photo-band img.bg { width: 100%; height: 480px; object-fit: cover; }
.photo-band .veil { position: absolute; inset: 0; background: rgba(31, 63, 68, .46); }
.photo-band .content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  color: var(--seashell); padding: 24px;
}
.photo-band h2 { color: var(--seashell); font-size: clamp(26px, 3.4vw, 38px); max-width: 720px; }
.photo-band p { max-width: 640px; margin: 14px 0 22px; font-size: 17px; opacity: .95; }

/* the pre-loved promise band */
.loved-band { background: linear-gradient(135deg, #FDEEE1, #F9D9BF); }
.loved-band .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.loved-band img { border-radius: 16px; box-shadow: var(--shadow); }
.loved-band h2 { font-size: clamp(24px, 3vw, 34px); }
.loved-band ul { list-style: none; margin: 18px 0 24px; }
.loved-band li { padding: 7px 0 7px 30px; position: relative; font-size: 16.5px; }
.loved-band li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  color: var(--peach-deep); font-weight: 700;
}

/* newsletter */
.newsletter { background: var(--brown); color: var(--seashell); text-align: center; }
.newsletter h2 { color: var(--seashell); }
.newsletter .script { color: var(--peach); }
.newsletter form { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.newsletter input {
  background: #28575B; border: 1px solid #3F7C80; color: var(--seashell);
  border-radius: 999px; padding: 12px 22px; font-size: 15px; min-width: 280px; font-family: var(--sans);
}
.newsletter input:focus { outline: 2px solid var(--peach); }

/* ── footer ──────────────────────────────────────────────────────────────── */
footer.site { background: #1F3F44; color: #CFE0DC; padding: 54px 0 26px; }
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px;
}
footer.site h5 {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 14px; font-weight: 700;
}
footer.site a { display: block; padding: 4px 0; font-size: 14.5px; color: #CFE0DC; }
footer.site a:hover { color: var(--seashell); }
footer.site .brandcol img { width: 150px; margin-bottom: 12px; border-radius: 8px; }
footer.site .brandcol p { font-size: 14px; line-height: 1.65; max-width: 300px; }
footer.site .rule { border-top: 1px solid #2E545A; padding-top: 20px; font-size: 12.5px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #8FB3AF; }

/* ── shop page ───────────────────────────────────────────────────────────── */
.crumbs { font-size: 12.5px; letter-spacing: .08em; color: var(--brown-soft);
  text-transform: uppercase; padding: 22px 0 0; }
.crumbs a:hover { color: var(--accent-deep); }
.shop-head { padding: 12px 0 8px; }
.shop-head h1 { font-size: clamp(28px, 3.4vw, 40px); }
.shop-head p.sub { color: var(--brown-soft); margin-top: 6px; max-width: 620px; }

/* the mode declaration — no shopper ever wonders which side they're on */
.mode-lede {
  display: inline-flex; align-items: center; gap: 10px;
  background: color-mix(in srgb, var(--accent) 14%, var(--seashell));
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--seashell));
  border-radius: 999px; padding: 7px 18px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--accent-deep); letter-spacing: .04em;
}
.mode-lede .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--accent); }
.mode-lede button {
  background: none; border: 0; color: var(--brown-soft); font-size: 12px;
  text-decoration: underline; cursor: pointer; font-family: var(--sans);
}
.mode-lede button:hover { color: var(--accent-deep); }

/* card entrance — the shelf settles in as you arrive */
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.grid .card { animation: card-in .45s ease both; }
.grid .card:nth-child(2) { animation-delay: .05s; }
.grid .card:nth-child(3) { animation-delay: .1s; }
.grid .card:nth-child(4) { animation-delay: .15s; }
.grid .card:nth-child(n+5) { animation-delay: .2s; }

.chip-row { display: flex; gap: 9px; flex-wrap: wrap; padding: 18px 0 6px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); color: var(--brown);
  border-radius: 999px; padding: 7px 17px; font-size: 13px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--seashell); }

.shop-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 10px 0 20px; flex-wrap: wrap;
}
.shop-tools .count { font-size: 13.5px; color: var(--brown-soft); letter-spacing: .06em; }
.shop-tools select {
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-family: var(--sans);
}

.empty-shelf {
  text-align: center; border: 1.5px dashed var(--line); border-radius: 16px;
  padding: 70px 24px; margin: 10px 0 40px; background: var(--card);
}
.empty-shelf .script { font-size: 30px; display: block; margin-bottom: 6px; }
.empty-shelf p { color: var(--brown-soft); }

/* ── product page ────────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 30px 0 60px; }
.pdp .gallery .main {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; background: #EFE3D3;
  border: 1px solid var(--line);
}
.pdp .gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp .thumbs button {
  width: 72px; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: none; padding: 0;
}
.pdp .thumbs button.on { border-color: var(--accent); }
.pdp .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp .info .cat { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-soft); }
.pdp .info h1 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 10px; }
.pdp .price-line { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 16px; }
.pdp .price-line .price { font-size: 26px; font-weight: 700; }
.pdp .price-line .was { color: var(--brown-soft); text-decoration: line-through; }
.pdp .badges-inline { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pdp p.desc { font-size: 16.5px; margin-bottom: 22px; max-width: 520px; }

.qty-stepper {
  display: inline-flex; align-items: center; border: 1.5px solid var(--brown);
  border-radius: 999px; overflow: hidden;
}
.qty-stepper button { width: 40px; height: 44px; background: none; border: 0; font-size: 19px; color: var(--brown); }
.qty-stepper span { min-width: 38px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.stock-note { font-size: 13px; color: var(--brown-soft); margin: 6px 0 22px; }
.stock-note.low { color: var(--peach-deep); font-weight: 700; }

details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary {
  cursor: pointer; list-style: none; padding: 15px 2px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown);
  display: flex; justify-content: space-between;
}
details.acc summary::after { content: "+"; font-size: 17px; }
details.acc[open] summary::after { content: "–"; }
details.acc .accbody { padding: 0 2px 16px; font-size: 15px; color: var(--ink); }
details.acc .accbody p + p { margin-top: 8px; }

/* ── cart & checkout ─────────────────────────────────────────────────────── */
.steps {
  display: flex; justify-content: center; gap: 0; padding: 30px 0 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.steps .st { display: flex; align-items: center; gap: 9px; color: var(--brown-soft); padding: 0 18px; }
.steps .st .dot {
  width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; background: var(--card);
}
.steps .st.on { color: var(--brown); font-weight: 700; }
.steps .st.on .dot { background: var(--accent); border-color: var(--accent); color: var(--seashell); }
.steps .st.done .dot { background: var(--brown); border-color: var(--brown); color: var(--seashell); }

.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 24px 0 70px; align-items: start; }

.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.cart-line img { width: 92px; height: 108px; object-fit: cover; border-radius: 10px; }
.cart-line .t { font-family: var(--serif); font-weight: 600; color: var(--brown); font-size: 17px; }
.cart-line .meta { font-size: 12.5px; color: var(--brown-soft); margin: 3px 0 10px; letter-spacing: .04em; }
.cart-line .right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.cart-line .lp { font-weight: 700; font-size: 16.5px; }
.cart-line .rm { background: none; border: 0; color: var(--brown-soft); font-size: 12.5px;
  text-decoration: underline; }
.cart-line .rm:hover { color: var(--peach-deep); }

.summary {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; position: sticky; top: 92px;
}
.summary h3 { font-size: 21px; margin-bottom: 16px; }
.summary .srow { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.summary .srow.note { font-size: 12.5px; color: var(--brown-soft); }
.summary .srow.total { border-top: 1.5px solid var(--line); margin-top: 10px; padding-top: 14px;
  font-size: 18px; font-weight: 700; }
.summary .btn { width: 100%; text-align: center; margin-top: 16px; }
.free-ship-note { font-size: 12.5px; color: var(--teal-deep); font-weight: 700; margin-top: 10px; text-align: center; }

/* forms — labels above inputs, no placeholders */
form.ash label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brown); margin: 16px 0 6px;
}
form.ash input[type="text"], form.ash input[type="email"], form.ash input[type="tel"],
form.ash input[type="number"], form.ash select, form.ash textarea {
  width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 15.5px; color: var(--ink); font-family: var(--sans);
}
form.ash input:focus, form.ash select:focus, form.ash textarea:focus {
  outline: none; border-color: var(--accent);
}
form.ash .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
form.ash .three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }

.radio-card { display: flex; gap: 12px; align-items: flex-start; background: var(--card);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 16px; margin-top: 10px; cursor: pointer; }
.radio-card input { margin-top: 4px; accent-color: var(--accent-deep); }
.radio-card.on { border-color: var(--accent); }
.radio-card .rl { font-weight: 700; }
.radio-card .rd { font-size: 13px; color: var(--brown-soft); }
.radio-card .rp { margin-left: auto; font-weight: 700; }

.demo-note {
  background: #F3E7D8; border: 1.5px dashed var(--brown-soft); border-radius: 12px;
  padding: 14px 16px; font-size: 13.5px; color: var(--brown); margin: 18px 0;
}
.demo-note b { color: var(--peach-deep); }

/* order confirmation */
.confirm { text-align: center; padding: 70px 0 30px; }
.confirm .bigcheck {
  width: 74px; height: 74px; border-radius: 999px; background: var(--accent);
  color: var(--seashell); font-size: 34px; display: inline-flex; align-items: center;
  justify-content: center; margin-bottom: 18px;
}
.confirm h1 { font-size: clamp(28px, 3.4vw, 40px); }
.confirm .ordno { font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown-soft); margin: 10px 0 4px; }
.review-ask {
  max-width: 520px; margin: 26px auto 0; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.review-ask .script { font-size: 26px; }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--brown); color: var(--seashell); border-radius: 999px;
  padding: 12px 26px; font-size: 14.5px; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .25s, transform .25s; z-index: 120; pointer-events: none;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--peach); }

/* ══════════════════════════════════════════════════════════════════════════
   BACK OFFICE — white is allowed back here (deliberate customer/admin split)
   ════════════════════════════════════════════════════════════════════════ */
body.admin { background: #F6F5F2; color: #2A2A26; }
body.admin h1, body.admin h2, body.admin h3 { color: #33291F; }

/* ── Seller Studio shell — dark-slate rail, white workroom ───────────────── */
.studio { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.studio-side {
  background: #263633; color: #F4F1EB;
  display: flex; flex-direction: column;
  padding: 22px 18px; position: sticky; top: 0; height: 100vh;
}
.studio-brand {
  display: flex; flex-direction: column; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 4px 6px 18px; margin-bottom: 18px;
}
.studio-brand span {
  font-family: var(--serif); font-size: 32px; font-weight: 700;
  letter-spacing: .08em; color: #F4F1EB;
}
.studio-brand small {
  color: #9ECAC5; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-top: 3px;
}
.studio-side nav { display: flex; flex-direction: column; gap: 2px; }
.studio-side nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 9px; cursor: pointer;
  padding: 11px 14px; font-size: 14px; font-weight: 600; color: #C8D4D0;
  transition: background .15s, color .15s;
}
.studio-side nav button span { width: 18px; text-align: center; opacity: .8; }
.studio-side nav button:hover { background: rgba(255,255,255,.07); color: #F4F1EB; }
.studio-side nav button.on { background: var(--teal); color: #FFFFFF; }
.studio-merchant {
  margin-top: auto; display: flex; align-items: center; gap: 11px;
  border-top: 1px solid rgba(255,255,255,.12); padding: 16px 6px 10px;
}
.studio-merchant .avatar {
  width: 36px; height: 36px; border-radius: 999px; background: var(--peach);
  color: #263633; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}
.studio-merchant strong { display: block; font-size: 13.5px; }
.studio-merchant small { color: #9ECAC5; font-size: 11.5px; }
.studio-exit {
  margin-top: 10px; padding: 9px 6px; font-size: 12.5px; font-weight: 700;
  color: #9ECAC5; letter-spacing: .04em;
}
.studio-exit:hover { color: #F4F1EB; }

.studio-main { padding: 26px 34px 70px; max-width: 1120px; width: 100%; }
.studio-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.studio-head .kick, .kick {
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #8FA39E; margin-bottom: 5px;
}
.studio-head h1 { font-size: 27px; }
.studio-head-actions { display: flex; align-items: center; gap: 14px; }
.status-dot {
  font-size: 12px; font-weight: 700; color: #1F7A6D; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 7px;
}
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: #2AA98F; box-shadow: 0 0 0 3px rgba(42,169,143,.18); }

.panel-intro { margin-bottom: 18px; }
.panel-intro h2 { font-size: 22px; }
.panel-intro p.sub, p.sub { color: #857A6C; font-size: 14.5px; margin-top: 3px; }

.studio-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; margin-bottom: 12px; }
.card-heading h3 { font-size: 17px; }
.pulse-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  border-bottom: 1px solid #F0EDE7; padding: 9px 0; font-size: 13.5px;
}
.pulse-row:last-child { border-bottom: 0; }
.pulse-row img { width: 40px; height: 46px; object-fit: cover; border-radius: 7px; }
.pulse-row small { display: block; color: #99897A; font-size: 12px; }
.pulse-row > span { font-weight: 700; color: #B96A3C; font-size: 12.5px; white-space: nowrap; }

.route-card { background: #F2FAF9; border-color: #CBE7E1; }
.route-visual {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 600; color: #55503F; margin-top: 6px;
}
.route-visual span { background: #FFFFFF; border: 1px solid #DDEAE6; border-radius: 999px; padding: 5px 13px; }
.route-visual span.main { background: var(--teal); border-color: var(--teal); color: #FFF; }
.route-visual i { font-style: normal; color: #8FA39E; }
.route-visual b {
  flex-basis: 100%; margin-top: 8px; color: var(--teal-deep);
  font-size: 12px; letter-spacing: .06em;
}
.quick-row {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: #FAF8F4; border: 1px solid #EAE5DC; border-radius: 11px;
  padding: 12px 15px; margin-top: 10px; cursor: pointer; font-family: var(--sans);
}
.quick-row:hover { border-color: var(--teal); }
.quick-row span { font-size: 17px; color: var(--teal-deep); }
.quick-row strong { display: block; font-size: 14px; color: #33291F; }
.quick-row small { color: #99897A; font-size: 12.5px; }

.form-section { border-bottom: 1px solid #F0EDE7; padding-bottom: 22px; margin-bottom: 22px; }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 6px; }
.fs-title { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 4px; }
.fs-title span {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--teal-deep);
  background: #F2FAF9; border: 1px solid #CBE7E1; border-radius: 999px;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fs-title h3 { font-size: 16.5px; }
.fs-title p { color: #99897A; font-size: 13px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 34px; }
.tile-stat {
  background: #FFFFFF; border: 1px solid #E5E1DA; border-radius: 14px; padding: 18px 20px;
}
.tile-stat .num { font-size: 28px; font-weight: 700; color: #33291F; font-family: var(--serif); }
.tile-stat .lab { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #99897A; margin-top: 3px; }
.tile-stat.fee { border-color: var(--teal); background: #F2FAF9; }
.tile-stat.fee .num { color: var(--teal-deep); }

.adm-card { background: #FFFFFF; border: 1px solid #E5E1DA; border-radius: 14px; padding: 24px; margin-bottom: 24px; }
.adm-card h3 { font-size: 18px; margin-bottom: 14px; }

table.adm { width: 100%; border-collapse: collapse; font-size: 14px; }
table.adm th {
  text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #99897A; border-bottom: 1px solid #E5E1DA; padding: 9px 10px;
}
table.adm td { border-bottom: 1px solid #F0EDE7; padding: 10px; vertical-align: middle; }
table.adm img.thumb { width: 46px; height: 54px; object-fit: cover; border-radius: 7px; }
table.adm .t { font-weight: 700; color: #33291F; }
table.adm .muted { color: #99897A; font-size: 12.5px; }

.pill { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; display: inline-block; }
.pill.pub    { background: #E4F4F0; color: #1F7A6D; }
.pill.draft  { background: #F0EDE7; color: #857A6C; }
.pill.sold   { background: #F7E5D8; color: #B96A3C; }
.pill.out    { background: #FBF0E2; color: #A87E3F; }
.pill.new    { background: #E4F4F4; color: var(--teal-deep); }
.pill.loved  { background: #FBE9DC; color: var(--peach-deep); }
.pill.oneoff { background: #EFEAE2; color: #6B5138; }

.adm-actions button {
  background: none; border: 1px solid #DAD4CA; border-radius: 8px;
  padding: 5px 11px; font-size: 12.5px; color: #55503F; margin-right: 5px;
}
.adm-actions button:hover { border-color: var(--teal); color: var(--teal-deep); }
.adm-actions button.danger:hover { border-color: #C0563C; color: #C0563C; }

body.admin form.ash label { color: #55503F; }
body.admin form.ash input, body.admin form.ash select, body.admin form.ash textarea {
  background: #FFFFFF; border-color: #DAD4CA;
}
.field-note { font-size: 12.5px; color: #99897A; margin-top: 5px; }
.field-note.warn { color: #B96A3C; font-weight: 600; }

.photo-drop {
  border: 2px dashed #DAD4CA; border-radius: 12px; text-align: center;
  padding: 26px 16px; color: #99897A; font-size: 14px; cursor: pointer; margin-top: 6px;
  transition: border-color .15s;
}
.photo-drop:hover { border-color: var(--teal); }
.thumb-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb-strip .th { position: relative; width: 84px; }
.thumb-strip img { width: 84px; height: 100px; object-fit: cover; border-radius: 9px; border: 2px solid transparent; }
.thumb-strip .th.cover img { border-color: var(--teal); }
.thumb-strip .th button.mk {
  width: 100%; background: none; border: 0; font-size: 10.5px; color: #99897A;
  padding: 3px 0; letter-spacing: .06em; text-transform: uppercase;
}
.thumb-strip .th.cover button.mk { color: var(--teal-deep); font-weight: 700; }

.consign-panel {
  background: #FBF7F0; border: 1.5px solid #EADFC9; border-radius: 12px; padding: 18px; margin-top: 14px;
}
.consign-panel h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #6B5138; margin-bottom: 6px; }

.batch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.mono {
  width: 100%; min-height: 320px; font: 13px/1.55 Consolas, monospace;
  background: #2F2A22; color: #EFE6D8; border: 0; border-radius: 12px; padding: 18px;
}
.report { font-size: 13.5px; }
.report .ok   { color: #1F7A6D; }
.report .warn { color: #B96A3C; }
.report li { margin: 4px 0 4px 18px; }
.preview-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.preview-strip .pc { background: #FFF; border: 1px solid #E5E1DA; border-radius: 10px; overflow: hidden; font-size: 12px; }
.preview-strip .pc .ph { aspect-ratio: 4/5; background: #F0EDE7; display: flex; align-items: center;
  justify-content: center; color: #B9AE9E; font-size: 11px; }
.preview-strip .pc img { width: 100%; height: 100%; object-fit: cover; }
.preview-strip .pc .b { padding: 8px 10px; }
.preview-strip .pc .t { font-weight: 700; }


/* hamburger search (mobile) */
.mob-search { margin: 14px 0 4px; }
.mob-search label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brown-soft); margin-bottom: 6px; }
.mob-search .row { display: flex; gap: 8px; }
.mob-search input { flex: 1; background: var(--card); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 10px 16px; font-size: 15px; color: var(--ink); font-family: var(--sans); }
.mob-search input:focus { outline: none; border-color: var(--accent); }
.mob-search button { background: var(--accent); color: var(--seashell); border: 0;
  border-radius: 999px; width: 44px; font-size: 17px; cursor: pointer; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .burger { display: block; }
  .brand img { height: 46px; }
  .header-actions .icon-text-button span { display: none; }
  .header-actions .cart-link .cart-count { right: -8px; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .loved-band .inner { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio-side { position: static; height: auto; flex-direction: row; align-items: center;
    gap: 10px; overflow-x: auto; padding: 10px 14px; }
  .studio-brand { border-bottom: 0; padding: 0 10px 0 0; margin: 0; }
  .studio-brand span { font-size: 22px; }
  .studio-side nav { flex-direction: row; }
  .studio-side nav button { white-space: nowrap; padding: 9px 12px; }
  .studio-merchant, .studio-exit { display: none; }
  .studio-main { padding: 20px 16px 60px; }
  .studio-grid { grid-template-columns: 1fr; }
  .batch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-main { padding: 8px 14px 6px; }
  .search-toggle { display: none; }        /* search lives in the hamburger on phones */
  .brand img { height: 50px; width: auto; max-width: none; }
  .condition-switch .condition-option { width: 78px; padding: 7px 0; font-size: 10.5px; }
  .header-main { gap: 8px; }

  .condition-switch .condition-option { padding: 7px 11px; font-size: 10.5px; }
  .utility-inner { justify-content: center; }
  .util-note { display: none; }
  .hero img.bg { height: 88vh; object-position: 44% top; }
  .hero .veil { background: linear-gradient(to top, rgba(251,247,241,.98) 8%, rgba(251,247,241,.55) 34%, transparent 58%); }
  .hero .content { bottom: 14px; }
  .cart-line { grid-template-columns: 74px 1fr; }
  .cart-line .right { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  form.ash .three { grid-template-columns: 1fr; }
  .steps .st { padding: 0 8px; }
  .steps .st .lab-t { display: none; }
}
