/* Silkworks — clean institutional design system inspired by tate.org.uk */

:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-soft: #f4f3f0;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #767676;
  --line: #e5e5e5;
  --line-strong: #cfcfcf;
  --accent: #1a1a1a;
  --price: #1a1a1a;
  --sans: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container: 1440px;
  --container-narrow: 1100px;
  --header-h: 120px;
  --space-section: clamp(56px, 9vw, 120px);
  --brand-red: #C8102E;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-soft); }
button { font-family: inherit; }

/* ============ Typography ============ */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h4, h5 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }

p { margin: 0 0 1em; }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}
.header-inner > .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
.header-inner > .nav-primary { grid-column: 1; grid-row: 1; justify-self: start; }
.header-inner > .brand { grid-column: 2; grid-row: 1; justify-self: center; }
.header-inner > .header-tools { grid-column: 3; grid-row: 1; justify-self: end; }
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 110px;
  object-fit: contain;
  /* Logo asset is white-on-transparent. Filter chain maps the white pixels
     to Tate-style institutional red (~#C8102E). */
  filter: brightness(0) saturate(100%) invert(11%) sepia(99%) saturate(7000%) hue-rotate(353deg) brightness(98%) contrast(135%);
  transition: opacity .2s ease, transform .2s ease;
}
.brand:hover .brand-logo { opacity: .82; }

.nav-primary {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .005em;
}
.nav-primary > ul {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-primary > ul > li > a {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  position: relative;
  padding: 10px 0;
  font-weight: 500;
}
.nav-primary > ul > li > a:hover { color: var(--ink); }
.nav-primary > ul > li > a::before {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--brand-red);
  transition: right .3s ease;
}
.nav-primary > ul > li > a:hover::before,
.has-dropdown:hover > a::before { right: 0; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  border-radius: 50%;
  transition: background .15s;
}
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 500;
  display: none;
  align-items: center; justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.cart-badge.is-active { display: inline-flex; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent; cursor: pointer;
  color: var(--ink);
  align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s;
}
.menu-toggle:hover { background: var(--bg-alt); }
.menu-toggle svg { width: 24px; height: 24px; }

/* ============ Drawer (mobile menu — Tate-style takeover) ============ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 99;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(92%, 480px);
  background: var(--bg); z-index: 100;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-head .brand-logo { width: auto; height: 60px; }
.drawer-close {
  width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s;
}
.drawer-close:hover { background: var(--bg-alt); }
.drawer-close svg { width: 22px; height: 22px; }
.drawer-body { padding: 0; flex: 1; overflow-y: auto; }
.drawer-search {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.drawer-search svg { width: 20px; height: 20px; color: var(--ink-mute); flex-shrink: 0; }
.drawer-search input {
  flex: 1; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 15px;
  color: var(--ink);
}
.drawer-search input::placeholder { color: var(--ink-mute); }

.drawer-primary {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-primary li { margin: 0; }
.drawer-primary a, .drawer-primary button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.drawer-primary a:hover, .drawer-primary button:hover {
  background: var(--bg-alt);
}
.drawer-primary svg { width: 18px; height: 18px; color: var(--ink-mute); flex-shrink: 0; }

.drawer-section {
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--line);
}
.drawer-section:last-child { border-bottom: 0; }
.drawer-section-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 4px 24px 10px;
  font-weight: 600;
}
.drawer-section a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 400;
}
.drawer-section a:hover { background: var(--bg-alt); color: var(--ink); }
.drawer-section a svg { width: 14px; height: 14px; color: var(--ink-mute); }

.drawer-foot {
  padding: 24px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg);
}
.drawer-foot-row {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.drawer-foot-row a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.drawer-foot-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ============ Desktop nav dropdown ============ */
.nav-primary li { list-style: none; position: relative; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 6px;
  transition: transform .2s;
}
.has-dropdown:hover > a::after { transform: translateY(0) rotate(225deg); }
.nav-dropdown {
  position: absolute;
  top: 100%; left: -28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 0;
  min-width: 280px;
  padding: 12px 0;
  list-style: none;
  margin: 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  z-index: 60;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 400;
}
.nav-dropdown a:hover { background: var(--bg-alt); }
.nav-dropdown a::after { display: none; }
.nav-dropdown-meta {
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.btn:hover { background: #000; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link {
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
  font-weight: 500;
}
.btn-link:hover { color: var(--ink-soft); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 78vh;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 64px 32px;
}
.hero-content .container { padding: 0; }
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
  color: rgba(255,255,255,.85);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero .btn:hover { background: var(--bg-alt); color: var(--ink); }
.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============ Section primitives ============ */
.section { padding: var(--space-section) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .section-meta { display: flex; flex-direction: column; gap: 8px; }
.section-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
.section-link:hover { color: var(--ink-soft); }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ============ Product grid + cards ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
}
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .6s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--ink);
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
}
.consigned-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 8px;
  font-weight: 500;
  z-index: 1;
}

/* ============ Featured trio (homepage on-view) ============ */
.onview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.onview-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.onview-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.onview-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .6s ease;
}
.onview-card:hover .onview-image img { transform: scale(1.04); }
.onview-meta { display: flex; flex-direction: column; gap: 6px; }
.onview-cat {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.onview-name {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -.005em;
}
.onview-price { font-size: 14px; color: var(--ink-soft); }

/* ============ Newsletter / CTA panel ============ */
.cta-panel {
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) 32px;
  text-align: center;
}
.cta-panel h2 { color: #fff; margin: 0 0 16px; }
.cta-panel p { color: rgba(255,255,255,.78); max-width: 540px; margin: 0 auto 28px; font-size: 16px; }
.cta-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.4);
  transition: border-color .2s;
}
.cta-form:focus-within { border-color: #fff; }
.cta-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 15px;
  padding: 12px 4px;
  outline: none;
}
.cta-form input::placeholder { color: rgba(255,255,255,.55); }
.cta-form button {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 8px 12px 16px;
  cursor: pointer;
  letter-spacing: .02em;
}
.cta-form button:hover { color: rgba(255,255,255,.7); }

/* ============ Product detail (PDP) ============ */
.pdp {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: flex-start;
  padding: 32px 0 80px;
}
.pdp-gallery { display: flex; flex-direction: column; gap: 14px; }
.pdp-main {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-main img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.pdp-thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  cursor: pointer;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-thumb:hover { border-color: var(--line-strong); }
.pdp-thumb.is-active { border-color: var(--ink); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }

.pdp-info {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
}
.pdp-breadcrumbs {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.pdp-breadcrumbs a { color: var(--ink-mute); text-decoration: none; }
.pdp-breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pdp-info h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.pdp-sku {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.pdp-price {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -.005em;
}
.pdp-description {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.pdp-cta {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pdp-cta .btn {
  flex: 1;
  min-width: 180px;
  padding: 16px 28px;
}
.pdp-buy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pdp-buy-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.pdp-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.pdp-trust > div { display: flex; align-items: flex-start; gap: 8px; }
.pdp-trust svg { width: 18px; height: 18px; color: var(--ink); flex-shrink: 0; margin-top: 1px; }
.pdp-trust strong { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }

/* Quantity stepper */
.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  height: 50px;
}
.qty-stepper button {
  width: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.qty-stepper button:hover { background: var(--bg-alt); }
.qty-stepper button:disabled { color: var(--ink-mute); cursor: not-allowed; }
.qty-stepper input {
  width: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper.qty-stepper-sm { height: 36px; }
.qty-stepper.qty-stepper-sm button { width: 32px; font-size: 16px; }
.qty-stepper.qty-stepper-sm input { width: 36px; font-size: 14px; }

/* ============ Promo bar (free shipping etc.) ============ */
.promo-strip {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 9px 16px;
  font-weight: 400;
  line-height: 1.4;
}
.promo-strip a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Toast ============ */
.toast-stack {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast svg { width: 16px; height: 16px; color: #fff; }

/* ============ Mini bag (slide-in from right) ============ */
.mini-bag-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 109;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mini-bag-overlay.is-open { opacity: 1; pointer-events: auto; }
.mini-bag {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(92%, 420px);
  background: var(--bg);
  z-index: 110;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.mini-bag.is-open { transform: translateX(0); }
.mini-bag-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mini-bag-head h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.mini-bag-head .count { font-size: 12px; color: var(--ink-mute); margin-left: 8px; font-weight: 400; }
.mini-bag-close {
  width: 36px; height: 36px; border: none; background: transparent;
  cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .15s;
}
.mini-bag-close:hover { background: var(--bg-alt); }
.mini-bag-close svg { width: 18px; height: 18px; }
.mini-bag-body { flex: 1; overflow-y: auto; padding: 0; }
.mini-bag-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-soft);
}
.mini-bag-empty p { margin: 0 0 18px; font-size: 14px; }
.mini-bag-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.mini-bag-item-img {
  width: 72px; height: 72px; object-fit: contain; background: var(--bg-alt);
}
.mini-bag-item-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-bag-item-name {
  font-size: 14px; font-weight: 400; line-height: 1.35;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none;
}
.mini-bag-item-name:hover { color: var(--ink-soft); }
.mini-bag-item-price { font-size: 13px; color: var(--ink); margin-top: 2px; }
.mini-bag-item-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 8px;
}
.mini-bag-item-remove {
  background: none; border: 0; padding: 0;
  font: inherit; font-size: 12px;
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.mini-bag-item-remove:hover { color: var(--ink); }
.mini-bag-foot {
  border-top: 1px solid var(--line);
  padding: 18px 24px 24px;
  flex-shrink: 0;
}
.mini-bag-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}
.mini-bag-subtotal-amount { font-size: 18px; font-weight: 500; }
.mini-bag-fineprint { font-size: 11px; color: var(--ink-mute); margin: 0 0 16px; line-height: 1.5; }
.mini-bag-actions { display: flex; flex-direction: column; gap: 10px; }
.mini-bag-actions .btn { width: 100%; }

/* Free-shipping progress (cart + mini-bag) */
.ship-progress {
  background: var(--bg-soft);
  padding: 14px 18px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.ship-progress.is-met { background: #f0f7f0; border-color: #cfe5cf; color: #2c5e2c; }
.ship-progress strong { font-weight: 600; }
.ship-progress-bar {
  display: block;
  height: 4px;
  background: var(--line);
  margin-top: 10px;
  overflow: hidden;
}
.ship-progress-bar > span {
  display: block; height: 100%; background: var(--ink);
  transition: width .4s ease;
}
.ship-progress.is-met .ship-progress-bar > span { background: #2c5e2c; }

/* ============ Cart card list (replaces table) ============ */
.cart-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-row-img {
  width: 100px; height: 100px;
  object-fit: contain;
  background: var(--bg-alt);
}
.cart-row-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-row-name {
  font-size: 16px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.005em; line-height: 1.3;
}
.cart-row-name:hover { color: var(--ink-soft); }
.cart-row-meta { font-size: 12px; color: var(--ink-mute); }
.cart-row-controls {
  display: flex; align-items: center; gap: 16px;
  margin-top: 10px;
}
.cart-row-remove {
  background: none; border: 0; padding: 0;
  font: inherit; font-size: 13px; color: var(--ink-mute);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.cart-row-remove:hover { color: var(--ink); }
.cart-row-price {
  font-size: 16px; font-weight: 500;
  text-align: right;
  white-space: nowrap;
  color: var(--ink);
}
.cart-row-price-each {
  display: block;
  font-size: 12px; color: var(--ink-mute); font-weight: 400; margin-top: 4px;
}
.cart-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 24px 0 0;
  align-items: flex-end;
}
.cart-foot-totals {
  display: flex; flex-direction: column; gap: 6px;
  text-align: right;
  font-size: 14px;
}
.cart-foot-totals .total-row {
  display: flex; justify-content: space-between; gap: 32px;
  font-size: 14px; color: var(--ink-soft);
}
.cart-foot-totals .total-row.grand {
  font-size: 22px; font-weight: 500; color: var(--ink);
  padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px;
}
.cart-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.cart-actions .btn { padding: 16px 28px; }
.cart-actions .continue {
  font-size: 14px;
  text-decoration: underline; text-underline-offset: 4px;
  color: var(--ink);
}

.pdp-meta {
  border-top: 1px solid var(--line);
}
.pdp-meta details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.pdp-meta summary {
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  padding: 4px 0;
}
.pdp-meta summary::-webkit-details-marker { display: none; }
.pdp-meta summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-mute);
  transition: transform .2s;
  line-height: 1;
}
.pdp-meta details[open] summary::after { content: '−'; }
.pdp-meta details > div {
  padding: 14px 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.pdp-meta details > div a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.consigned-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink);
  padding: 4px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.pdp-related { padding: 64px 0 80px; border-top: 1px solid var(--line); }

/* ============ Shop layout ============ */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: flex-start;
}
.shop-head {
  padding-top: 48px;
  margin-bottom: 32px;
}
.shop-head h1 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.filters { position: sticky; top: calc(var(--header-h) + 24px); }
.filter-group { margin-bottom: 32px; }
.filter-group h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 14px;
}
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group li { margin: 0; }
.filter-group a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.filter-group a:hover { color: var(--ink); }
.filter-group a.is-active { color: var(--ink); font-weight: 500; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.shop-toolbar .count { font-size: 13px; color: var(--ink-mute); }
.shop-toolbar select {
  font: inherit;
  font-size: 13px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ============ Cart / checkout / forms ============ */
.cart-empty {
  text-align: center;
  padding: 96px 32px;
  border: 1px solid var(--line);
}
.cart-empty h2 { margin: 0 0 14px; }
.cart-empty p { color: var(--ink-soft); margin: 0 0 24px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding: 48px 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 12px; color: var(--ink-mute); letter-spacing: .04em; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }

.order-summary {
  background: var(--bg-alt);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.order-summary h3 { margin: 0 0 20px; font-size: 16px; font-weight: 600; }
.order-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.order-summary-row.total { font-weight: 500; font-size: 18px; border-top: 1px solid var(--line-strong); margin-top: 12px; padding-top: 16px; }
.order-summary-items { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-summary-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.order-summary-item img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-alt); }
.order-summary-item-name { font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.3; }
.order-summary-item-qty { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.order-summary-item-price { font-size: 14px; color: var(--ink); }
.order-summary-note { font-size: 12px; color: var(--ink-mute); margin: 18px 0 0; line-height: 1.55; }

/* ============ Sell-success page ============ */
.success-wrap {
  padding: clamp(64px, 8vw, 120px) 0;
}
.success-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
}
.success-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 20px;
}
.success-mark svg { width: 32px; height: 32px; }
.success-card h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0 0 18px;
  line-height: 1.2;
}
.success-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}
.success-meta {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 24px !important;
  line-height: 1.6;
}
.success-meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============ Status pages (success / failure / 404) ============ */
.status-page {
  text-align: center;
  padding: 96px 32px 128px;
  max-width: 560px;
  margin: 0 auto;
}
.status-page h1 { margin: 0 0 16px; }
.status-page p { color: var(--ink-soft); margin: 0 auto 28px; font-size: 16px; line-height: 1.65; max-width: 480px; }
.status-page .status-meta {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-top: 24px;
}
.fineprint {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-top: 12px;
}

/* ============ Long-form copy (terms, privacy, about) ============ */
.copy { max-width: 720px; margin: 0 auto; padding: 64px 32px 96px; }
.copy h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 .4em; }
.copy h2 { margin-top: 48px; font-size: 1.5rem; font-weight: 500; }
.copy h3 { margin-top: 32px; font-size: 1.15rem; font-weight: 500; }
.copy p, .copy li { color: var(--ink-soft); line-height: 1.75; font-size: 16px; }
.copy ul, .copy ol { padding-left: 22px; }
.copy strong { color: var(--ink); font-weight: 600; }
.copy address { font-style: normal; line-height: 1.7; color: var(--ink-soft); }
.copy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.copy .copy-meta {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--line-strong);
}
.copy .copy-meta strong { color: var(--ink); }

/* ============ Sell with us ============ */
.sell-hero {
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.sell-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  max-width: 18ch;
  margin: 0 0 24px;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.sell-lede { font-size: 1.125rem; max-width: 60ch; color: var(--ink-soft); line-height: 1.6; }
.sell-howit { padding: clamp(64px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.howit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.howit-step h3 { font-size: 18px; margin: 16px 0 8px; font-weight: 500; }
.howit-step p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; margin: 0; }
.howit-num {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-mute);
  font-weight: 600;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  width: 48px;
}
.sell-form-wrap { padding: clamp(64px, 8vw, 96px) 0; }
.sell-form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: flex-start; }
.sell-form-intro h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 16px; font-weight: 500; }
.sell-form-intro p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.sell-fineprint { font-size: 12px; color: var(--ink-mute); line-height: 1.6; }
.sell-fineprint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sell-form { display: flex; flex-direction: column; gap: 28px; }
.sell-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sell-form legend {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0 0 14px;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.sell-form label {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .02em;
}
.sell-form .req { color: var(--brand-red); margin-left: 2px; font-weight: 600; }
.sell-form label > input,
.sell-form label > select,
.sell-form label > textarea {
  display: block;
  margin-top: 8px;
}
.sell-form input[type="text"],
.sell-form input[type="email"],
.sell-form input[type="tel"],
.sell-form input[type="number"],
.sell-form input[type="file"],
.sell-form select,
.sell-form textarea {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}
.sell-form input:focus,
.sell-form select:focus,
.sell-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.sell-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.sell-form textarea { resize: vertical; min-height: 100px; }
.sell-form input[type="file"] { padding: 10px; cursor: pointer; }
.sell-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sell-form .field-hint {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0 0 4px;
}
.sell-form .checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}
.sell-form .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.sell-form .checkbox-row a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sell-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sell-form button[type=submit] {
  margin-top: 8px;
  align-self: flex-start;
  padding: 16px 36px;
}
.sell-form .sell-fineprint { margin: 0; }

/* ============ Sell FAQ ============ */
.sell-faq {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.sell-faq h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 0 0 24px;
  font-weight: 500;
}
.sell-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.sell-faq summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  padding: 4px 0;
}
.sell-faq summary::-webkit-details-marker { display: none; }
.sell-faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-mute);
  line-height: 1;
}
.sell-faq details[open] summary::after { content: '−'; }
.sell-faq details > p {
  padding: 14px 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
  max-width: 70ch;
}

/* ============ Newsletter modal ============ */
.nl-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nl-overlay.is-open { opacity: 1; pointer-events: auto; }

.nl-modal {
  background: var(--bg);
  max-width: 460px;
  width: 100%;
  position: relative;
  padding: 52px 48px 44px;
  transform: translateY(28px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nl-overlay.is-open .nl-modal { transform: translateY(0); }

.nl-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  color: var(--ink-mute);
  line-height: 1;
  transition: color 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.nl-close:hover { color: var(--ink); }
.nl-close svg { width: 17px; height: 17px; stroke-width: 1.6; }

.nl-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-red);
  margin: 0 0 18px;
}
.nl-modal h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}
.nl-modal > .nl-body > p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 28px;
}
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input {
  font: inherit; font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink);
  border-radius: 0; width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
.nl-input:focus { border-color: var(--ink); }
.nl-submit {
  font: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 24px;
  background: var(--ink); color: #fff;
  border: none; cursor: pointer; width: 100%;
  transition: background 0.2s;
}
.nl-submit:hover { background: var(--brand-red); }
.nl-submit:disabled { opacity: 0.5; cursor: default; }
.nl-decline {
  display: block; text-align: center;
  font-size: 12px; color: var(--ink-mute);
  margin-top: 16px; cursor: pointer;
  background: none; border: none; font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
  padding: 0;
}
.nl-decline:hover { color: var(--ink); text-decoration-color: var(--line-strong); }

.nl-thanks { text-align: center; padding: 12px 0 4px; }
.nl-thanks-mark {
  width: 46px; height: 46px;
  background: var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.nl-thanks-mark svg { width: 20px; height: 20px; }
.nl-thanks h3 { font-size: 1.2rem; font-weight: 400; margin: 0 0 8px; }
.nl-thanks > p { font-size: 14px; color: var(--ink-soft); margin: 0 0 24px; }
.nl-thanks-close {
  font: inherit; font-size: 12px; color: var(--ink-mute);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.nl-thanks-close:hover { color: var(--ink); text-decoration-color: var(--line-strong); }

@media (max-width: 600px) {
  .nl-modal { padding: 40px 28px 36px; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-logo-footer { width: auto; height: 68px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.footer-col h5 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin: 4px 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 16px; }

/* ============ Utilities ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; gap: 40px; }
  .pdp-info { position: static; }
  .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
  .order-summary { position: static; }
  .howit-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .sell-form-grid { grid-template-columns: 1fr; gap: 36px; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; }
}

@media (max-width: 820px) {
  :root { --header-h: 84px; }
  .container, .container-narrow { padding: 0 20px; }
  .nav-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
  .brand-logo { height: 72px; }
  .header-tools { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .promo-strip { font-size: 11px; padding: 8px 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .product-name { font-size: 14px; }
  .onview-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pdp-cta { flex-direction: column; }
  .pdp-cta .btn { width: 100%; flex: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .howit-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 60vh; }
  .hero-content { padding: 48px 20px; }
  .cart-row { grid-template-columns: 80px 1fr; gap: 14px; padding: 18px 0; }
  .cart-row-img { width: 80px; height: 80px; }
  .cart-row-price { grid-column: 1 / -1; text-align: left; padding-top: 4px; }
  .cart-actions { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .cart-actions .btn { width: 100%; }
  .cart-actions .continue { text-align: center; }
  .pdp-trust { grid-template-columns: 1fr; gap: 12px; }
  .pdp-buy { gap: 12px; }
  .qty-stepper { height: 48px; }
  .qty-stepper button { width: 42px; }
  .form-row { grid-template-columns: 1fr; }
  .sell-form .field-row { grid-template-columns: 1fr; gap: 16px; }
  .sell-form legend { margin-bottom: 8px; }
  .copy { padding: 48px 20px 72px; }
}
