/* ═══════════════════════════════════════════════
   BEDCRAFT · A — Showroom
   Charcoal ink on warm paper · brass accent
   Archivo throughout · hairline chrome
   ═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --ink:         #1d1b18;
  --ink-muted:   #7d766c;
  --bg:          #f5f3ef;
  --panel:       #ffffff;
  --surface-alt: #ece8e0;
  --accent:      #a9854f;
  --accent-deep: #84672f;
  --border:      #e2ddd3;
  --line-soft:   #edeae3;
  --inverse:     #211e1a;
  --inv-text:    #f5f3ef;
  --sale:        #b04632;
  --r-card:      4px;
  --r-btn:       2px;
  --r-input:     3px;
  --font:        'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --container:   1280px;
  --gutter:      32px;
  --sec-y:       92px;
  --sec-y-m:     56px;

  /* Canonical design-system tokens (--ac-color-*): the stable vocabulary
     every theme provides so AI-generated + library sections render on-brand.
     Mapped here to Bedcraft's own palette. */
  --ac-color-primary:    var(--ink);
  --ac-color-secondary:  var(--ink-muted);
  --ac-color-accent:     var(--accent);
  --ac-color-accent-deep: var(--accent-deep);
  --ac-color-background: var(--bg);
  --ac-color-surface:    var(--panel);
  --ac-color-surface-alt: var(--surface-alt);
  --ac-color-border:     var(--border);
  --ac-color-on-primary: var(--inv-text);
  --ac-color-on-surface: var(--ink);
  --ac-color-muted:      var(--ink-muted);
  /* ThemeService's emitted names (blocks bind --ac-color-text/-text-muted,
     e.g. pagination, collection-toolbar, instant-search) — without these
     two aliases every such block falls back to its hardcoded greys. */
  --ac-color-text:       var(--ink);
  --ac-color-text-muted: var(--ink-muted);
  --ac-color-sale:       var(--sale);
  --ac-radius:           var(--r-card);
  --ac-radius-button:    var(--r-btn);
  --ac-font-heading:     var(--font);
  --ac-font-body:        var(--font);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; }
[x-cloak] { display: none !important; }

/* ── WRAP ── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ── TYPE ── */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-muted);
}
.eyebrow--bar { display: flex; align-items: center; gap: 12px; }
.eyebrow--bar::before {
  content: ""; width: 34px; height: 1px;
  background: var(--accent); display: inline-block; flex-shrink: 0;
}
.eyebrow--light { color: rgba(245,243,239,.6); }
.eyebrow--light.eyebrow--bar::before { background: var(--accent); }

.sec-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -.018em; margin: 0;
}
.sec-title em { font-style: normal; color: var(--accent); }
.sec-title--light { color: var(--inv-text); }
.sec-title--light em { color: var(--accent); }

.sec-head { display: flex; flex-direction: column; gap: 10px; }
.sec-head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 36px; border-radius: var(--r-btn);
  font-family: var(--font); font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
  transition: background .18s, border-color .18s, color .18s;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--inv-text); }
.btn--ghost-light { background: transparent; color: var(--inv-text); border-color: rgba(245,243,239,.4); }
.btn--ghost-light:hover { background: rgba(245,243,239,.1); border-color: rgba(245,243,239,.7); }
.btn--dark { background: var(--inverse); color: var(--inv-text); border-color: var(--inverse); }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 22px; font-size: 11.5px; }
.btn--lg { padding: 20px 44px; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }

.tlink {
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s; white-space: nowrap;
}
.tlink:hover { color: var(--accent); }
.tlink--light { color: rgba(245,243,239,.65); }
.tlink--light:hover { color: var(--inv-text); }
.tlink--accent { color: var(--accent); }
.tlink--accent:hover { color: var(--accent-deep); }
.tlink--muted { color: var(--ink-muted); }

/* ── BADGE ── */
.badge {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: var(--r-btn);
  background: var(--ink); color: var(--inv-text);
}
.badge--sale { background: var(--sale); color: #fff; }
.badge--new  { background: var(--accent); color: #fff; }
.badge--low  { background: var(--surface-alt); color: var(--ink); border: 1px solid var(--border); }

/* ── INPUT ── */
.input {
  font-family: var(--font); font-size: 14px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-input); padding: 12px 16px; width: 100%;
  outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--ink); }
.input::placeholder { color: var(--ink-muted); }

/* ══════════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════════ */
.anno {
  background: var(--inverse); overflow: hidden;
  height: 34px; display: flex; align-items: center;
}
.anno__track {
  display: flex; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.anno__item {
  font-size: 11px; font-weight: 500; letter-spacing: .07em;
  color: rgba(245,243,239,.65); padding: 0 28px;
}
.anno__sep { color: var(--accent); font-size: 10px; flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  background: var(--panel); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header__top {
  display: flex; align-items: center; height: 70px; gap: 20px;
}
.header__logo img { height: 65px; width: auto; }
.header__logo-fallback {
  font-size: 19px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
}
.hamburger {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer; flex-shrink: 0;
}
.header__search-wrap { flex: 1; max-width: 460px; margin: 0 auto; }
.header__search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-input); padding: 0 14px; height: 40px;
  cursor: text; color: var(--ink-muted); width: 100%;
  transition: border-color .15s;
}
.header__search:focus-within { border-color: var(--ink-muted); }
.header__search input {
  border: none; background: transparent;
  font-family: var(--font); font-size: 14px; color: var(--ink);
  outline: none; width: 100%;
}
.header__search input::placeholder { color: var(--ink-muted); }
.header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; border-radius: 3px; color: var(--ink-muted);
  transition: color .15s;
}
.icon-btn:hover { color: var(--ink); }
.basket-btn {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding: 9px 16px;
  border: 1px solid var(--border); border-radius: var(--r-btn);
  transition: border-color .15s; cursor: pointer;
  background: none; font-family: var(--font);
}
.basket-btn:hover { border-color: var(--ink); }
.basket-btn__count {
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
/* Mobile search row — must be own full-width row */
.header__msearch {
  display: none; align-items: center; gap: 10px;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 9px 20px; color: var(--ink-muted);
}
.header__msearch input {
  border: none; background: transparent;
  font-family: var(--font); font-size: 14px; color: var(--ink);
  outline: none; width: 100%;
}
.header__msearch input::placeholder { color: var(--ink-muted); }
/* Nav bar */
.header__nav { border-top: 1px solid var(--line-soft); }
.nav {
  display: flex; align-items: center; height: 46px;
  /* overflow MUST stay visible on desktop or the absolutely-positioned
     dropdown is clipped to the 46px nav row (overflow-x:auto forces
     overflow-y:auto). Horizontal scroll is re-enabled on mobile below. */
  overflow: visible; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav__link {
  font-size: 12.5px; font-weight: 500; letter-spacing: .03em;
  color: var(--ink); padding: 0 15px; height: 100%;
  display: flex; align-items: center; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav__link--active { border-bottom-color: var(--ink); }
.nav__link--sale { color: var(--sale); }
.nav__link--sale:hover { color: var(--sale); border-bottom-color: var(--sale); }

/* ══════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════ */
.hero-slider {
  position: relative; min-height: 76vh;
  overflow: hidden; background: var(--inverse);
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 96px 0; opacity: 0;
  transition: opacity .9s ease; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.hero-slide__overlay { position: absolute; inset: 0; z-index: 1; }
.hero-slide__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter); width: 100%;
  display: flex; flex-direction: column;
  gap: 26px; align-items: flex-start;
}
.hero__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: var(--accent); display: inline-block;
}
.hero__heading {
  font-size: clamp(38px, 4.6vw, 68px); font-weight: 600;
  line-height: 1.04; letter-spacing: -.018em;
  margin: 0; color: #fff; max-width: 16ch;
}
.hero__body {
  font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,.82); max-width: 52ch; margin: 0;
}
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero__dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 10; display: flex; gap: 8px;
}
.hero__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  border: 0; padding: 0; transition: background .2s, transform .2s;
}
.hero__dot.is-active { background: #fff; transform: scale(1.5); }
.hero__arr {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; background: rgba(0,0,0,.22);
  transition: background .15s, border-color .15s;
}
.hero__arr:hover { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.6); }
.hero__arr--prev { left: var(--gutter); }
.hero__arr--next { right: var(--gutter); }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: var(--sec-y) 0; }
.section--sm { padding: var(--sec-y-m) 0; }
.bg-paper { background: var(--bg); }
.bg-white { background: var(--panel); }
.bg-alt   { background: var(--surface-alt); }
.bg-dark  { background: var(--inverse); color: var(--inv-text); }

/* ══════════════════════════════════════════
   USP BAR
══════════════════════════════════════════ */
.usp-bar { background: var(--panel); border-bottom: 1px solid var(--border); padding: 0; }
.usp-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
}
.usp-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 22px 16px;
  border-right: 1px solid var(--border);
}
.usp-item__icon { color: var(--accent); }
.usp-item__title { font-size: 13px; font-weight: 600; color: var(--ink); }
.usp-item__sub { font-size: 12px; color: var(--ink-muted); line-height: 1.45; }

/* ══════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════ */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pgrid--2 { grid-template-columns: repeat(2, 1fr); }

.pcard { display: flex; flex-direction: column; }
.pcard__media {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border-radius: var(--r-card); background: var(--surface-alt); margin-bottom: 14px;
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard__wish {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85); border-radius: 50%;
  color: var(--ink-muted); transition: color .15s;
}
.pcard__wish:hover { color: var(--sale); }
.pcard__qa {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--inverse); color: var(--inv-text);
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px; text-align: center; cursor: pointer;
  opacity: 0; transform: translateY(100%);
  transition: opacity .2s, transform .2s;
  border: 0;
}
.pcard:hover .pcard__qa { opacity: 1; transform: translateY(0); }
.pcard__qa[disabled] { opacity: 0; }
.pcard:hover .pcard__qa[disabled] { opacity: .6; cursor: not-allowed; }
.pcard__cat {
  font-size: 10.5px; color: var(--ink-muted);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px;
}
.pcard__name {
  font-size: 15px; font-weight: 600; color: var(--ink);
  line-height: 1.3; margin-bottom: 6px;
  display: block; letter-spacing: -.01em; transition: color .15s;
}
.pcard__name:hover { color: var(--accent); }
.pcard__stars {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-muted); margin-bottom: 6px;
}
.pcard__stars em { color: #c9962e; font-style: normal; }
.pcard__price { font-size: 15px; font-weight: 600; color: var(--ink); }
.pcard__price-from { font-size: 12px; font-weight: 400; color: var(--ink-muted); margin-right: 2px; }
.pcard__price-was { font-size: 13px; font-weight: 400; color: var(--ink-muted); text-decoration: line-through; margin-right: 6px; }
.pcard__price-sale { color: var(--sale); }

/* ══════════════════════════════════════════
   CATEGORY BROWSE TABLE
══════════════════════════════════════════ */
.cat-browse {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cat-card {
  display: block; text-decoration: none; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(29,27,24,.10); border-color: var(--ink-muted); }
.cat-card__media {
  aspect-ratio: 4 / 3; overflow: hidden; position: relative;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
}
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(29,27,24,.07)); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__placeholder {
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
  text-align: center; padding: 18px; position: relative; z-index: 1;
}
.cat-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.cat-card__name { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.cat-card__cta { font-size: 11.5px; font-weight: 600; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* ══════════════════════════════════════════
   SPLIT SECTIONS
══════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__img { position: relative; overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__img-caption {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(33,30,26,.72); color: rgba(245,243,239,.7);
  font-size: 11px; letter-spacing: .06em; padding: 6px 10px; border-radius: 2px;
}
.split__content {
  padding: 80px 72px; display: flex; flex-direction: column;
  justify-content: center; gap: 22px;
}
.split__content--dark { background: var(--inverse); }
.split__content--alt  { background: var(--surface-alt); }
.split__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(245,243,239,.14);
  border-bottom: 1px solid rgba(245,243,239,.14);
  margin: 4px 0;
}
.stat-num { font-size: 26px; font-weight: 700; color: var(--inv-text); }
.stat-lbl { font-size: 11.5px; color: rgba(245,243,239,.5); letter-spacing: .04em; margin-top: 2px; }
.split__fine {
  font-size: 12.5px; color: var(--ink-muted);
  display: flex; align-items: center; gap: 8px;
}
.split__fine::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════════
   KLARNA SECTION
══════════════════════════════════════════ */
.klarna-section { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--sec-y-m) 0; }
.klarna-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 12px; }
.klarna-logo {
  font-size: 20px; font-weight: 700; letter-spacing: -.02em;
  background: var(--ink); color: #ffb3c7;
  padding: 5px 14px; border-radius: 4px; line-height: 1;
}
.klarna-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.klarna-step__n { font-size: 12px; font-weight: 700; color: var(--ink-muted); letter-spacing: .1em; margin-bottom: 8px; }
.klarna-step__t { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.klarna-step__b { font-size: 14px; line-height: 1.65; color: var(--ink-muted); }
.klarna-fine { font-size: 11px; color: var(--ink-muted); margin-top: 28px; line-height: 1.6; border-top: 1px solid var(--line-soft); padding-top: 16px; }

/* ══════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.review-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.review-card__top { display: flex; align-items: center; gap: 10px; }
.review-card__stars { color: #c9962e; font-size: 13px; letter-spacing: 2px; }
.review-card__tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted); border: 1px solid var(--border); padding: 3px 7px; border-radius: 2px;
}
.review-card__body { font-size: 14px; line-height: 1.7; color: var(--ink); flex: 1; }
.review-card__author { font-size: 13px; font-weight: 600; color: var(--ink); }
.review-card__prod   { font-size: 12px; color: var(--ink-muted); }

/* ══════════════════════════════════════════
   INSTAGRAM GRID
══════════════════════════════════════════ */
.insta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 32px; }
.insta-grid__item { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r-card); }
.insta-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.insta-grid__item:hover img { transform: scale(1.06); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--inverse); color: rgba(245,243,239,.6); }
.footer__main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 64px 0 52px;
  border-bottom: 1px solid rgba(245,243,239,.09);
}
.footer__brand-logo { height: 60px; width: auto; filter: brightness(10); opacity: .8; margin-bottom: 14px; }
.footer__brand-name { font-size: 17px; font-weight: 700; letter-spacing: .04em; color: var(--inv-text); margin-bottom: 14px; display: block; }
.footer__blurb { font-size: 13px; line-height: 1.7; color: rgba(245,243,239,.5); max-width: 30ch; margin-bottom: 16px; }
.footer__col-head {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--inv-text); margin-bottom: 14px;
}
.footer__col-head + .footer__col-head { margin-top: 24px; }
.footer__col-links { display: flex; flex-direction: column; gap: 8px; }
.footer__col-links a { font-size: 13px; color: rgba(245,243,239,.5); transition: color .15s; }
.footer__col-links a:hover { color: var(--accent); }
.footer__contact-sub { font-size: 12.5px; color: rgba(245,243,239,.4); margin-bottom: 8px; }
.footer__contact-link { font-size: 13px; color: rgba(245,243,239,.55); display: block; margin-bottom: 6px; transition: color .15s; }
.footer__contact-link:hover { color: var(--accent); }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,243,239,.18); border-radius: 3px;
  font-size: 10px; font-weight: 700; color: rgba(245,243,239,.5);
  letter-spacing: .04em; transition: color .15s, border-color .15s;
}
.social a:hover { color: var(--accent); border-color: var(--accent); }
.footer__nl-row { display: flex; gap: 8px; margin-top: 10px; }
.footer__nl-row .input {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14);
  color: var(--inv-text); flex: 1; font-size: 13px; padding: 10px 14px;
}
.footer__nl-row .input::placeholder { color: rgba(245,243,239,.3); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 20px; flex-wrap: wrap;
}
.footer__copy { font-size: 12px; color: rgba(245,243,239,.3); }
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { font-size: 12px; color: rgba(245,243,239,.3); transition: color .15s; }
.footer__legal a:hover { color: rgba(245,243,239,.7); }
.pay { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pay__icon { display: inline-flex; width: 34px; height: 34px; }
.pay__icon svg { width: 100%; height: 100%; display: block; }
.footer__co { font-size: 10.5px; color: rgba(245,243,239,.22); padding: 10px 0 14px; border-top: 1px solid rgba(245,243,239,.06); }

/* ══════════════════════════════════════════
   DRAWERS / OVERLAY
══════════════════════════════════════════ */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: var(--panel); z-index: 201; display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(29,27,24,.16);
}
.drawer--left { right: auto; left: 0; box-shadow: 8px 0 40px rgba(29,27,24,.16); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.drawer__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.drawer__close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); border-radius: 3px; transition: color .15s;
}
.drawer__close:hover { color: var(--ink); }
.drawer__promo {
  display: flex; align-items: center; gap: 8px; padding: 9px 24px;
  background: var(--bg); border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--ink-muted); flex-shrink: 0;
}
.drawer__items { flex: 1; overflow-y: auto; }
.cart-line {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 14px; padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft); align-items: start;
}
.cart-line__img {
  display: block; width: 80px; height: 80px;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--surface-alt); flex-shrink: 0;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__cat { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); margin-bottom: 3px; }
.cart-line__name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.cart-line__opt  { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line__remove { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; transition: color .15s; }
.cart-line__remove:hover { color: var(--sale); }
.price { font-size: 15px; font-weight: 600; color: var(--ink); }
.qty {
  display: flex; align-items: center; border: 1px solid var(--border);
  border-radius: var(--r-btn); overflow: hidden; height: 30px; width: max-content;
}
.qty button {
  width: 30px; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--ink-muted); transition: background .12s, color .12s; line-height: 1;
}
.qty button:hover { background: var(--bg); color: var(--ink); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty__n { min-width: 28px; text-align: center; font-size: 13px; font-weight: 600; }
.qty--sm { margin-top: 8px; }
.qty--sm button { width: 28px; height: 28px; }
.drawer-empty {
  padding: 60px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--ink-muted); font-size: 14px;
}
.drawer__foot { border-top: 1px solid var(--border); padding: 20px 24px 24px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.subtotal-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.subtotal-row .lbl { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }
.subtotal-row .val { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.drawer__note { font-size: 11.5px; color: var(--ink-muted); margin: 0 0 6px; }

/* Alpine transitions */
.dt  { transition: transform .3s cubic-bezier(.32,0,.62,1), opacity .3s; }
.dt-off-right { transform: translateX(100%); opacity: 0; }
.dt-off-left  { transform: translateX(-100%); opacity: 0; }
.dt-on        { transform: translateX(0); opacity: 1; }

/* ══════════════════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════════════════ */
.mnav__links { display: flex; flex-direction: column; padding: 4px 0; }
.mnav__links a {
  display: block; padding: 13px 24px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); transition: color .15s;
}
.mnav__links a:hover { color: var(--accent); }
.mnav__links a.is-sale { color: var(--sale); }
.mnav__actions { padding: 14px 24px 24px; display: flex; flex-direction: column; gap: 10px; }

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; font-size: 12px; color: var(--ink-muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--ink-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--border); }

/* ══════════════════════════════════════════
   CATEGORY PAGE
══════════════════════════════════════════ */
.cat-header { padding: 36px 0 28px; border-bottom: 1px solid var(--border); }
.cat-header__meta { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.cat-header__title { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.018em; margin: 0 0 10px; }
.cat-header__desc { font-size: 14px; color: var(--ink-muted); max-width: 72ch; line-height: 1.65; }
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border); gap: 12px;
}
.filter-btn {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  padding: 9px 16px; border: 1px solid var(--border); border-radius: var(--r-btn);
  cursor: pointer; background: none; font-family: var(--font); transition: border-color .15s;
}
.filter-btn:hover { border-color: var(--ink); }
.result-count { font-size: 13px; color: var(--ink-muted); }
.sort-select {
  font-family: var(--font); font-size: 13px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-input); padding: 9px 34px 9px 14px;
  cursor: pointer; outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237d766c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; min-width: 180px;
}
.cat-layout { display: grid; grid-template-columns: 256px 1fr; gap: 40px; padding: 32px 0 72px; align-items: start; }
.filter-sidebar { position: sticky; top: 132px; }
.filter-group { border-bottom: 1px solid var(--border); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group__head {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.filter-group__head svg { transition: transform .2s; }
.filter-group.is-closed .filter-group__head svg { transform: rotate(-90deg); }
.filter-group.is-closed .filter-group__body { display: none; }
.filter-item {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0; cursor: pointer; font-size: 13.5px; color: var(--ink);
}
.filter-item input[type="checkbox"] { accent-color: var(--ink); width: 14px; height: 14px; flex-shrink: 0; cursor: pointer; }
.filter-item__count { font-size: 11.5px; color: var(--ink-muted); margin-left: auto; }
.filter-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); cursor: pointer; flex-shrink: 0; }
.filter-sample-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 18px; margin-top: 18px;
}
.filter-sample-box__head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 5px; }
.filter-sample-box__sub  { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 12px; }
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border);
}
.page-btn {
  min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--ink); border: 1px solid transparent;
  border-radius: var(--r-btn); cursor: pointer; transition: all .15s; background: none; font-family: var(--font); padding: 0 12px;
}
.page-btn:hover { border-color: var(--border); }
.page-btn.is-active { background: var(--ink); color: var(--inv-text); border-color: var(--ink); }

/* ══════════════════════════════════════════
   PRODUCT PAGE
══════════════════════════════════════════ */
/* minmax(0,…) kills the auto-minimum: a long thumbs strip (eBay imports ship
   20+ images, flex-shrink:0 each) otherwise forces the gallery column to its
   min-content width and blows the grid past the viewport. */
.pdp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 32px 0 80px; align-items: start; }
.pdp-gallery { position: sticky; top: 132px; }
/* No fixed aspect: merchant photos are mixed ratios and must never be cropped —
   the main image renders full-width at its own natural aspect. */
.gallery__main { overflow: hidden; border-radius: var(--r-card); background: var(--surface-alt); margin-bottom: 10px; position: relative; }
.gallery__main img { width: 100%; height: auto; display: block; transition: opacity .2s; }
.gallery__flag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
/* Arrow nav for the thumb strip — the scrollbar is hidden, so when thumbs
   overflow these are the only mouse affordance. Alpine shows each arrow only
   while there's content to scroll to in that direction. */
.gallery__thumbs-wrap { position: relative; }
.gallery__thumbs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--panel); color: var(--ink);
  box-shadow: 0 2px 8px rgba(29, 27, 24, .16); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; padding: 0 0 2px;
}
.gallery__thumbs-nav:hover { border-color: var(--ink); }
.gallery__thumbs-nav--prev { left: -6px; }
.gallery__thumbs-nav--next { right: -6px; }
.gallery__thumb {
  width: 74px; height: 74px; flex-shrink: 0;
  border-radius: var(--r-card); overflow: hidden;
  border: 2px solid transparent; cursor: pointer; padding: 0;
  background: var(--surface-alt); transition: border-color .15s;
}
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-form { display: flex; flex-direction: column; gap: 18px; }
.pdp__cat { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }
.pdp__title { font-size: clamp(24px, 2.8vw, 36px); font-weight: 600; letter-spacing: -.018em; line-height: 1.1; }
.pdp__reviews { font-size: 13px; color: var(--ink-muted); }
.pdp__reviews em { color: #c9962e; font-style: normal; }
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; }
.pdp__price { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.pdp__price-was { font-size: 17px; font-weight: 400; color: var(--ink-muted); text-decoration: line-through; }
.pdp__vat  { font-size: 12px; color: var(--ink-muted); }
.pdp__klarna {
  font-size: 13px; color: var(--ink-muted);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-input); padding: 10px 14px;
}
.pdp__klarna strong { color: var(--ink); }
.variant-block { display: flex; flex-direction: column; gap: 0; }
.variant-label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center;
}
.variant-label a { font-weight: 400; color: var(--accent); text-transform: none; letter-spacing: 0; font-size: 12px; }
.pill-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt {
  font-size: 13px; font-weight: 500; color: var(--ink); padding: 9px 15px;
  border: 1px solid var(--border); border-radius: var(--r-btn); cursor: pointer;
  background: none; font-family: var(--font); transition: border-color .15s, background .15s, color .15s;
}
.pill-opt:hover { border-color: var(--ink-muted); }
.pill-opt.is-active { border-color: var(--ink); background: var(--ink); color: var(--inv-text); }
.pill-opt:disabled { opacity: .4; cursor: not-allowed; }
.color-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt {
  width: 38px; height: 38px; border-radius: 4px; cursor: pointer;
  border: 2px solid transparent; outline: 2px solid transparent;
  outline-offset: 2px; transition: outline-color .15s; padding: 0;
}
.color-opt.is-active { outline-color: var(--ink); }
/* Square image swatch (fabric samples) for variant + product options. Distinct
   from .gallery__thumb so resizing here never touches the product gallery. */
.swatch-img {
  width: 72px; height: 72px; flex-shrink: 0; border-radius: 4px;
  overflow: hidden; border: 2px solid var(--line-soft); cursor: pointer;
  padding: 0; background: var(--surface-alt); transition: border-color .15s;
}
.swatch-img:hover { border-color: var(--ink-muted); }
.swatch-img.is-active { border-color: var(--ink); }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.select-wrap { position: relative; }
.select-wrap select, .select {
  font-family: var(--font); font-size: 14px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-input); padding: 13px 38px 13px 16px;
  width: 100%; cursor: pointer; outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237d766c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; transition: border-color .15s;
}
.select-wrap select:focus, .select:focus { border-color: var(--ink); }
.pdp__trust { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pdp__trust-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.pdp__trust-line::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pdp-atc-row { display: flex; gap: 10px; align-items: stretch; }
.pdp-atc-row .btn--primary { flex: 1; justify-content: center; }
.accordion { border-bottom: 1px solid var(--border); }
.accordion__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; cursor: pointer; width: 100%;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em; user-select: none; text-align: left;
}
.accordion__head svg { transition: transform .2s; flex-shrink: 0; color: var(--ink-muted); }
.accordion.is-open .accordion__head svg { transform: rotate(180deg); }
.accordion__body { display: none; padding: 0 0 16px; font-size: 14px; line-height: 1.75; color: var(--ink-muted); }
.accordion.is-open .accordion__body { display: block; }
.accordion__body :is(p,ul,ol) { margin: 0 0 10px; }
.accordion__body ul, .accordion__body ol { padding-left: 18px; list-style: revert; }

/* ══════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════ */
.cartpage { padding: 36px 0 80px; }
.cartpage__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.cartpage__title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: -.018em; }
.cart__list { border-top: 1px solid var(--border); }
.cart-row {
  display: grid; grid-template-columns: 110px 1fr 120px 110px;
  gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.cart-row__img { display: block; width: 110px; height: 110px; border-radius: var(--r-card); overflow: hidden; background: var(--surface-alt); flex-shrink: 0; }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); margin-bottom: 4px; }
.cart-row__name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 6px; display: block; transition: color .15s; }
.cart-row__name:hover { color: var(--accent); }
.cart-row__opt  { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.cart-row__remove { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); transition: color .15s; cursor: pointer; margin-top: 6px; }
.cart-row__remove:hover { color: var(--sale); }
.cart-row__price { font-size: 15px; font-weight: 600; color: var(--ink); text-align: right; }
.cart__grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cart__summary {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; position: sticky; top: 132px;
}
.cart__summary h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 18px; }
.sumrow { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; padding: 7px 0; color: var(--ink-muted); border-bottom: 1px solid var(--line-soft); }
.sumrow .v { font-weight: 600; color: var(--ink); }
.sumrow.total { font-size: 16px; font-weight: 700; color: var(--ink); border-bottom: none; padding-top: 12px; margin-top: 2px; }
.sumrow.total .v { font-size: 22px; letter-spacing: -.02em; }
.promo { display: flex; gap: 8px; padding: 14px 0; }
.promo .input { font-size: 13px; padding: 10px 12px; flex: 1; }
.cart__trust { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cart__trust span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-muted); }
.cart__trust em { color: var(--accent); font-style: normal; font-weight: 700; }
.cart-empty { padding: 80px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cart-empty h2 { font-size: 22px; font-weight: 600; letter-spacing: -.018em; }
.muted { color: var(--ink-muted); font-size: 14px; margin: 0; }

/* ══════════════════════════════════════════
   BRIDGE — shared dynamic components (search overlay,
   live filter facets, subscription cadences). Not in the
   static design; styled to match the Showroom system.
══════════════════════════════════════════ */
/* live filter facet groups (category drawer + search overlay) */
.fgroup { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.fopt { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: 13.5px; color: var(--ink); }
.fopt input[type="checkbox"] { accent-color: var(--ink); width: 14px; height: 14px; flex-shrink: 0; cursor: pointer; }
.fopt .ct { font-size: 11.5px; color: var(--ink-muted); margin-left: auto; }
/* active filter pills */
.fchip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink); padding: 6px 12px; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--panel);
  transition: border-color .15s;
}
.fchip:hover { border-color: var(--ink); }
.fchip.is-active { border-color: var(--ink); }
/* subscribe & save (rare for furniture, but never break the code path) */
.buybox { display: flex; flex-direction: column; gap: 8px; }
.buy-option {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--r-card); cursor: pointer; transition: border-color .15s;
}
.buy-option.is-active { border-color: var(--ink); }
.buy-option__radio { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; margin-top: 2px; position: relative; }
.buy-option.is-active .buy-option__radio { border-color: var(--ink); }
.buy-option.is-active .buy-option__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.buy-option__main { display: flex; flex-direction: column; gap: 3px; }
.buy-option__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.buy-option__sub { font-size: 12.5px; color: var(--ink-muted); line-height: 1.45; }
.subnote { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.cadences { display: flex; flex-wrap: wrap; gap: 8px; }
.cadence {
  border: 1px solid var(--border); border-radius: var(--r-card); padding: 10px 14px;
  cursor: pointer; text-align: left; transition: border-color .15s; background: var(--panel); min-width: 120px;
}
.cadence.is-active { border-color: var(--ink); }
.cadence__t { font-size: 13px; font-weight: 600; color: var(--ink); }
.cadence__d { font-size: 13px; color: var(--ink); margin-top: 2px; }
.cadence__off { font-size: 11px; font-weight: 600; color: var(--accent); margin-top: 2px; }
/* search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 1300; background: var(--bg); overflow-y: auto; }
.search-overlay__bar { border-bottom: 1px solid var(--border); background: var(--panel); position: sticky; top: 0; z-index: 2; }
.search-overlay__barinner { display: flex; align-items: center; gap: 16px; padding: 16px var(--gutter); max-width: var(--container); margin: 0 auto; }
.search-overlay__field { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-input); padding: 11px 16px; color: var(--ink-muted); }
.search-overlay__field input { flex: 1; border: 0; background: transparent; outline: none; font-family: var(--font); font-size: 15px; color: var(--ink); }
.search-overlay__layout { display: flex; gap: 32px; align-items: flex-start; }
.search-overlay__filters { width: 240px; flex: none; }
.search-overlay__results { flex: 1; min-width: 0; }
.search-overlay__state { text-align: center; padding: 72px 0; color: var(--ink-muted); }
.search-overlay__count { font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }

/* ══════════════════════════════════════════
   CONTENT / STATIC PAGES (about, faq, legal, contact)
══════════════════════════════════════════ */
.content-page { padding: 40px 0 80px; max-width: 820px; }
.content-page__title { font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.018em; margin: 8px 0 0; }
.content-page__body { margin-top: 22px; }
.content-page__lede { font-size: 17px; line-height: 1.7; color: var(--ink-muted); margin: 0 0 24px; }
.content-page__body h2 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 30px 0 10px; }
.content-page__body p { font-size: 15px; line-height: 1.8; color: var(--ink); margin: 0 0 14px; }
.content-page__body ul, .content-page__body ol { margin: 0 0 16px; padding-left: 20px; list-style: revert; }
.content-page__body li { font-size: 15px; line-height: 1.75; color: var(--ink); margin-bottom: 8px; }
.content-page__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.content-page__body a:hover { color: var(--accent-deep); }
.content-page__note { font-size: 13px; color: var(--ink-muted); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.content-page .accordion:first-of-type { border-top: 1px solid var(--border); }

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; max-width: 620px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 7px; }
.contact-form__field > span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.contact-form__field > span small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-muted); }
.contact-form textarea.input { resize: vertical; min-height: 130px; font-family: var(--font); }
.contact__ok  { background: var(--surface-alt); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-card); padding: 14px 18px; font-size: 14px; color: var(--ink); margin-bottom: 20px; }
.contact__err { background: #f7ece9; border: 1px solid #e6c9c1; border-left: 3px solid var(--sale); border-radius: var(--r-card); padding: 14px 18px; font-size: 14px; color: var(--ink); margin-bottom: 20px; }
.contact__err ul { margin: 8px 0 0; padding-left: 18px; list-style: revert; }

/* ══════════════════════════════════════════
   CATEGORY / COLLECTION INDEX
══════════════════════════════════════════ */
.cat-index-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.cat-index-title { font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.018em; margin: 0; }
.cat-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-index-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--panel); transition: border-color .15s; }
.cat-index-card:hover { border-color: var(--ink); }
.cat-index-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-alt); position: relative; }
.cat-index-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29,27,24,.06)); }
.cat-index-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-index-card:hover .cat-index-card__media img { transform: scale(1.04); }
.cat-index-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.cat-index-card__name { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.cat-index-card__count { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.cat-index-card__cta { font-size: 11.5px; font-weight: 600; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .cat-browse { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__content { padding: 56px 40px; }
  .split__img img { max-height: 420px; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --sec-y: 56px; --sec-y-m: 40px; }
  .hamburger { display: flex; }
  .header__search-wrap { display: none; }
  .header__msearch { display: flex; }
  .header__nav { display: none; }
  .icon-btn--account { display: none; }
  .header__top { gap: 10px; height: 60px; }
  .header__logo { flex: 1; display: flex; justify-content: center; }
  .header__logo img { height: 52px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .cat-browse { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .usp-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__img img { max-height: 300px; width: 100%; }
  .split__content { padding: 40px 20px; }
  .split__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .klarna-section { padding: 40px 0; }
  .klarna-steps { grid-template-columns: 1fr; gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__main { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cat-layout { grid-template-columns: 1fr; gap: 0; }
  .filter-sidebar { display: none; position: static; top: auto; }
  .filter-sidebar.is-mobile-open { display: block; margin-bottom: 24px; }
  .pdp-layout { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery { position: static; }
  .cart__grid { grid-template-columns: 1fr; gap: 24px; }
  .cart__summary { position: static; }
  .cart-row { grid-template-columns: 90px 1fr auto; }
  .cart-row__price { grid-column: 2; }
  .drawer { width: 100%; }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__arr { display: none; }
  .search-overlay__layout { flex-direction: column; }
  .search-overlay__filters { width: 100%; }
  .contact-form__row { grid-template-columns: 1fr; }
  .cat-index-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* mobile: nav scrolls horizontally (dropdowns aren't used on touch). */
  .nav { overflow-x: auto; }
}
@media (max-width: 1024px) {
  .cat-index-grid { grid-template-columns: repeat(2, 1fr); }
}
