/* ActualPockets Cutesy Boutique Storefront Stylesheet (V7)
   Visual World: Joyful Stitched-Pocket Boutique ("Thanks, it has pockets!")
   Palette: Warm Buttercream (#fff9f5), Strawberry Blush (#fff0f6), Pure White (#ffffff),
            Berry Rose (#c81e5b), Sunny Marigold (#ffd166), Mint Fit (#0f7653), Deep Espresso Ink (#23151d)
   Fonts: Fredoka (600/700), Plus Jakarta Sans (500-800), IBM Plex Mono (500/600)
   WCAG 2.1 Contrast: Ink #23151d = 15.6:1, Mid #47303d = 10.2:1, Muted #5c3f50 = 7.5:1 (AAA)
*/

:root {
  --cream: #fff9f5;
  --blush: #fff0f6;
  --blush-soft: #ffe6f0;
  --blush-deep: #f8c6da;
  --peach-wash: #fff3e6;
  --card: #ffffff;
  --berry: #c81e5b;
  --berry-bright: #e11d62;
  --berry-deep: #8a103b;
  --sunny: #ffd166;
  --sunny-deep: #b45309;
  --mint: #0f7653;
  --mint-deep: #0b593e;
  --mint-wash: #e3f7ef;
  --plum-dark: #261420;

  --ink: #23151d;
  --ink-mid: #47303d;
  --ink-muted: #5c3f50;
  --line: #efd3df;
  --line-strong: #e2adc3;
  --stitch: #e88bb0;

  /* Legacy alias variables for inner routes */
  --noir: #23151d;
  --bordeaux: #c81e5b;
  --ivory: #fff9f5;
  --parchment: #fff0f6;
  --parchment-deep: #f5cddf;
  --champagne: #ffd166;
  --champagne-deep: #b45309;
  --gallery: #ffffff;
  --emerald-fit: #0f7653;
  --sale-crimson: #be123c;

  --display: "Fredoka", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --masthead-serif: var(--display);
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1360px;
  --gutter: clamp(14px, 2.8vw, 38px);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 8px 24px rgba(138, 16, 59, 0.07);
  --shadow-hover: 0 14px 32px rgba(138, 16, 59, 0.14);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--cream);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  background: var(--cream);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
  color: inherit;
}

.mono {
  font-family: var(--mono);
}

.fine {
  font-size: 13px;
  color: var(--ink-muted);
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--berry);
  color: #ffffff;
  font-weight: 700;
}
.skip:focus {
  left: 12px;
}

/* Mandatory Hunter Thomas Feedback button rule: hidden until triggered */
#htfb-btn {
  display: none !important;
}
body.show-feedback #htfb-btn {
  display: inline-flex !important;
}

/* ---------------- Cutesy Stitched Masthead ---------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--line-strong);
  box-shadow: 0 4px 18px rgba(138, 16, 59, 0.05);
}

.masthead-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  flex-shrink: 0;
}
.logo-crest {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(200, 30, 91, 0.16));
  transition: transform 0.2s ease;
}
.logo:hover .logo-crest {
  transform: rotate(-5deg) scale(1.05);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark b {
  color: var(--berry);
  font-weight: 700;
}
.wordmark-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--berry-deep);
  margin-top: 2px;
}

/* Friendly Pill Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-mid);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav a:hover,
.nav a.active {
  background: var(--blush-soft);
  color: var(--berry-deep);
}
.nav a.nav-shop-pill {
  background: var(--berry);
  color: #ffffff;
  padding: 0 16px;
  box-shadow: 0 4px 12px rgba(200, 30, 91, 0.22);
}
.nav a.nav-shop-pill:hover,
.nav a.nav-shop-pill.active {
  background: var(--berry-deep);
  color: #ffffff;
}
.nav a.nav-studio {
  color: var(--mint-deep);
}
.nav a.nav-sale {
  color: var(--berry);
}

/* Right utility links */
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.util-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.util-link:hover,
.util-link.active {
  border-color: var(--berry);
  background: var(--blush);
  color: var(--berry-deep);
}
.util-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wardrobe-link svg {
  color: var(--berry);
}
.wardrobe-link em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  background: var(--berry);
  color: #ffffff;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--berry);
  color: #ffffff;
  border: 0;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.menu-ico {
  width: 16px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}
.menu-ico::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 2px;
  background: currentColor;
}

/* Mobile menu drawer */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(35, 21, 29, 0.55);
  display: flex;
  justify-content: flex-end;
}
.menu-sheet[hidden] {
  display: none;
}
.menu-panel {
  width: min(380px, 92vw);
  height: 100%;
  background: var(--cream);
  border-left: 3px dashed var(--line-strong);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.menu-body {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.menu-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.menu-body a.active {
  color: var(--berry);
}

/* ---------------- Friendly Boutique Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--berry);
}
.btn.primary,
.btn.plum {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(200, 30, 91, 0.22);
}
.btn.primary:hover,
.btn.plum:hover {
  background: var(--berry-deep);
  border-color: var(--berry-deep);
}
.btn.sunny,
.btn.champagne {
  background: var(--sunny);
  border-color: #e09f1f;
  color: var(--ink);
}
.btn.sunny:hover,
.btn.champagne:hover {
  background: #ffc233;
  border-color: var(--berry);
}
.btn.ghost {
  background: var(--card);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--blush);
  border-color: var(--berry);
  color: var(--berry-deep);
}
.btn.wash {
  background: var(--blush);
  border-color: var(--blush-deep);
  color: var(--berry-deep);
}
.btn.sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ---------------- Product-First Cutesy Hero (#home) ---------------- */
.pocket-hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 209, 102, 0.28), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(225, 29, 98, 0.11), transparent 38%),
    linear-gradient(180deg, #fff2f7 0%, var(--cream) 360px);
  padding: 18px 0 28px;
  border-bottom: 2px dashed var(--line-strong);
}

.pocket-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pocket-hero-copy {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
}

.pocket-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.thanks-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sunny);
  border: 1.5px dashed #c27803;
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.hero-stat-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
}
.hero-stat-pill a {
  color: var(--berry-deep);
  text-decoration: underline;
}

.pocket-hero-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.pocket-hero-h em {
  font-style: normal;
  color: var(--berry);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #f48fb1;
  text-underline-offset: 4px;
}

.pocket-hero-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
}

.hero-search-box {
  position: relative;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
}
.hero-search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--berry);
  stroke-width: 2.2;
  stroke-linecap: round;
  pointer-events: none;
}
.hero-search-box input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(138, 16, 59, 0.05);
}
.hero-search-box input::placeholder {
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-search-box input:focus {
  outline: 2px solid var(--berry);
  border-color: var(--berry);
}

#home-sort {
  min-height: 44px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.hero-sizer-btn {
  white-space: nowrap;
}

/* Quick Category & Pocket Feature Filter Rail right above hero products */
.pocket-filter-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.cat-chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.cat-chip:hover,
.cat-chip.active {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}
.cat-chip:hover em,
.cat-chip.active em {
  color: var(--sunny);
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blush);
  border: 1.5px dashed var(--stitch);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--berry-deep);
  cursor: pointer;
  transition: all 0.16s ease;
}
.toggle-chip:hover {
  border-style: solid;
  border-color: var(--berry);
}
.toggle-chip.active {
  background: var(--mint);
  border: 1.5px solid var(--mint);
  color: #ffffff;
}
.toggle-chip.sale-chip.active {
  background: var(--berry-deep);
  border-color: var(--berry-deep);
}

.hero-live-count {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ---------------- Visual Product Cards (Immediate in Hero & All Grids) ---------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}

.pcard {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.2s ease;
}
.hero-prod-grid .pcard-stage {
  aspect-ratio: 1 / 0.88;
  padding: 10px;
}
.hero-prod-grid .pcard-sizes {
  display: none;
}
.pcard:hover {
  border-color: var(--berry);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pcard-stage {
  position: relative;
  background: #ffffff;
  aspect-ratio: 1 / 1.04;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 2px dashed var(--line);
  overflow: hidden;
}
.pcard-stage a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.pcard:hover .pcard-stage img {
  transform: scale(1.04);
}

.badge-deal {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--berry-bright);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 3px 8px rgba(200, 30, 91, 0.25);
}
.badge-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11.5px;
  border-radius: 999px;
  padding: 3px 9px;
}
.badge-pcount {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--sunny);
  border: 1.5px solid #d97706;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 10px;
}

.save-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--line-strong);
  color: var(--berry);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.save-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.save-btn:hover {
  background: var(--blush);
  border-color: var(--berry);
  transform: scale(1.06);
}
.save-btn.saved {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}
.save-btn.saved svg {
  fill: currentColor;
}

.pcard-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 5px;
}
.pcard-brand {
  color: var(--berry-deep);
  font-weight: 800;
}
.pcard-brand:hover {
  text-decoration: underline;
}

.pcard-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.26;
  margin: 0 0 7px;
  color: var(--ink);
}
.pcard-title a:hover {
  color: var(--berry);
}

.pcard-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.ptype-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blush);
  border: 1px solid var(--blush-deep);
  color: var(--berry-deep);
}
.ptype-pill[data-ptype="thigh-phone"] {
  background: var(--mint-wash);
  border-color: #99e2c8;
  color: var(--mint-deep);
}
.ptype-pill[data-ptype="zip-security"] {
  background: #fff6db;
  border-color: #f6cd61;
  color: #7c2d12;
}

.pcard-phone-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mint-wash);
  color: var(--mint-deep);
}

.pcard-quote {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.44;
  color: var(--ink-mid);
  margin: 0 0 10px;
  padding: 7px 10px;
  background: #fff9fc;
  border-left: 3px solid var(--stitch);
  border-radius: 0 8px 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.size-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-mid);
}

.pcard-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.price-now {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.price-was {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: 12px;
  color: var(--berry-deep);
  font-weight: 800;
}

.store-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blush-soft);
  border: 1.5px solid var(--line-strong);
  font-size: 13px;
  font-weight: 800;
  color: var(--berry-deep);
  white-space: nowrap;
  transition: all 0.18s ease;
}
.store-go:hover {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}

/* ---------------- Pocket-Loving Brands Pill Ribbon ---------------- */
.house-marquee {
  background: var(--blush);
  border-bottom: 2px dashed var(--line-strong);
  padding: 14px 0;
}
.house-marquee-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.house-marquee-label {
  font-family: var(--display);
  font-size: 14.5px;
  color: var(--berry-deep);
  font-weight: 700;
}
.house-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
.house-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.16s ease;
}
.house-list a:hover {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}

/* ---------------- Section Headers & Page Headers ---------------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 44px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--line-strong);
}
.sec-kicker,
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 4px;
}
.eyebrow a {
  text-decoration: underline;
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.sec-head p {
  margin: 6px 0 0;
  color: var(--ink-mid);
  max-width: 64ch;
  font-size: 15px;
}

.page-head {
  padding: 32px 0 22px;
  border-bottom: 2px dashed var(--line-strong);
  margin-bottom: 22px;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
}
.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 68ch;
  margin: 0;
}
.runway-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Home 1:1 Pocket Sizer Band ---------------- */
.home-studio-band {
  margin: 34px 0 12px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--peach-wash) 100%);
  border: 2px dashed var(--stitch);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.8vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
}
.home-studio-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  margin: 4px 0 10px;
  line-height: 1.15;
}
.home-studio-copy p {
  margin: 0 0 16px;
  color: var(--ink-mid);
  font-size: 15px;
}
.home-studio-svg {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.home-studio-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.carry-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.carry-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.carry-swatch small {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}
.carry-swatch:hover {
  border-color: var(--berry);
}
.carry-swatch.active,
.home-light-swatch.active {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}
.carry-swatch.active small,
.home-light-swatch.active small {
  color: var(--sunny);
}

/* ---------------- Five Pocket Styles Grid ---------------- */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.arch-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-top: 5px solid var(--berry);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.arch-card[data-ptype="thigh-phone"] { border-top-color: var(--mint); }
.arch-card[data-ptype="zip-security"] { border-top-color: #d97706; }
.arch-card[data-ptype="multi-utility"] { border-top-color: #7c3aed; }
.arch-card[data-ptype="hand-trouser"] { border-top-color: #0284c7; }
.arch-card:hover {
  transform: translateY(-3px);
  border-color: var(--berry);
}
.arch-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.arch-card h3 {
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.arch-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mid);
}
.arch-card-foot {
  font-size: 13px;
  color: var(--berry-deep);
  font-weight: 800;
}

/* ---------------- Outfit Capsules (#kits) ---------------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.kit-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.kit-card:hover {
  border-color: var(--berry);
  transform: translateY(-2px);
}
.kit-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--blush);
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.kit-thumbs div {
  background: #ffffff;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.kit-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.kit-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--berry);
  margin-bottom: 4px;
}
.kit-card h3 {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.24;
  margin: 0 0 8px;
}
.kit-card p {
  font-size: 14px;
  color: var(--ink-mid);
  margin: 0 0 14px;
  flex: 1;
}
.kit-foot {
  padding-top: 12px;
  border-top: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------------- 1:1 Pocket Sizer (#pocket-lab) ---------------- */
.lab-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 20px;
  margin-bottom: 22px;
}
.lab-panel {
  background: var(--blush);
  border: 2px dashed var(--stitch);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.lab-panel h2 {
  font-family: var(--display);
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--ink);
}
.lab-sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-mid);
}
.carry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.carry-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 76px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.carry-card:hover {
  border-color: var(--berry);
}
.carry-card.active {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}
.carry-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14.5px;
}
.carry-check {
  opacity: 0.25;
  font-weight: 800;
}
.carry-card.active .carry-check {
  opacity: 1;
  color: var(--sunny);
}
.carry-model {
  font-size: 12.5px;
  color: var(--ink-muted);
}
.carry-card.active .carry-model {
  color: #ffe6f0;
}
.carry-dims {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--berry-deep);
  font-weight: 600;
}
.carry-card.active .carry-dims {
  color: var(--sunny);
}
.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lab-svg-wrap {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 14px;
}
.lab-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.lab-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.matrix-pill {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.matrix-pill b {
  font-size: 13px;
  color: var(--ink);
}
.matrix-pill span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}
.matrix-pill.ok {
  border-left: 4px solid var(--mint);
}
.matrix-pill.ok span {
  color: var(--mint-deep);
}
.matrix-pill.tight {
  border-left: 4px solid var(--line-strong);
}
.matrix-pill.tight span {
  color: var(--ink-muted);
}

/* ---------------- Filter Toolbar ---------------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--blush);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.toolbar input[type="search"] {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--line-strong);
  font-size: 14.5px;
  font-weight: 600;
}
.toolbar select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.toolbar-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mid);
}

/* ---------------- Brand Report Cards (#brands) ---------------- */
.brand-toolbar {
  gap: 12px;
}
.brand-sort-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.bcard {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bcard:hover {
  border-color: var(--berry);
  transform: translateY(-2px);
}
.bcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed var(--line);
}
.bcard-title-col {
  min-width: 0;
}
.bcard-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.bcard-head h3 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}
.bcard-deal-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--berry);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.bcard-submeta {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-mid);
}
.bcard-grade {
  text-align: right;
  background: var(--sunny);
  border: 1.5px solid #d97706;
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  flex-shrink: 0;
}
.bcard-grade strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
  color: var(--ink);
}
.bcard-grade small {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-mid);
}
.bcard-focus {
  margin: 0;
  color: var(--ink-mid);
  font-size: 14.5px;
  line-height: 1.5;
}
.bcard-ph {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.bcard-ph-cell {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bcard-ph-cell:hover {
  border-color: var(--berry);
  transform: translateY(-2px);
}
.bcard-ph-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bcard-ph-tag.sale {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--berry-bright);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 1px 6px;
}
.bcard-ph-price {
  position: absolute;
  right: 5px;
  bottom: 5px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 6px;
}
.rc-bar {
  display: flex;
  height: 10px;
  background: var(--blush);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.rc-seg-deep { background: var(--berry); }
.rc-seg-thigh { background: var(--mint); }
.rc-seg-zip { background: #f59e0b; }
.rc-seg-multi { background: #7c3aed; }
.rc-seg-hand { background: #0284c7; }
.rc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.rc-stats div {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
.rc-stats span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.rc-stats b {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
}
.bcard-policies {
  background: var(--blush);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink-mid);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bcard-policies a {
  color: var(--berry-deep);
  text-decoration: underline;
  font-weight: 700;
}
.bcard-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Garment Detail View (#item-*) ---------------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  padding: 20px 0 34px;
  align-items: start;
}
.detail-photo {
  background: #ffffff;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.detail-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.detail-prices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.detail-prices .price-now {
  font-size: 26px;
}
.dossier-box {
  margin: 20px 0;
  background: var(--blush);
  border: 2px dashed var(--stitch);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.dossier-box h2 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 8px;
}
.dossier-quote {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--berry-deep);
  margin: 0 0 12px;
}
.dossier-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dossier-list a {
  color: var(--berry-deep);
  text-decoration: underline;
  font-weight: 700;
}
.detail-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

/* ---------------- Videos & Creators (#videos, #creators) ---------------- */
.home-creators-band {
  margin: 44px 0 24px;
  padding: 26px;
  background: var(--card);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vcard {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.vcard-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
.vcard-thumb img,
.vcard-thumb iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border: 0;
}
.vcard-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(35, 21, 29, 0.9);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 7px;
}
.play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  background: rgba(35, 21, 29, 0.18);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.play-btn:hover {
  background: rgba(200, 30, 91, 0.28);
}
.play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--berry);
  border: 2.5px solid #ffffff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(35, 21, 29, 0.35);
}
.play-circle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.vcard-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.vcard-lane {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--berry);
}
.vcard-title {
  font-family: var(--display);
  font-size: 16.5px;
  line-height: 1.3;
  margin: 0;
}
.vcard-meta {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.ccard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
}
.ccard-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ccard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--berry);
  color: #ffffff;
  border: 2px solid var(--sunny);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.ccard-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
}
.ccard-meta span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.ccard-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.52;
  color: var(--ink-mid);
}
.ccard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ---------------- Trust & Legal Pages ---------------- */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.legal-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.legal-card h2 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 10px;
}
.legal-card p {
  margin: 0 0 10px;
  color: var(--ink-mid);
}
.legal-card a {
  color: var(--berry-deep);
  text-decoration: underline;
  font-weight: 700;
}
.partners-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 44px;
  align-items: start;
}
.faq-list details {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq-list summary {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.remove-box {
  background: var(--blush);
  border: 2px dashed var(--stitch);
  border-radius: var(--radius-md);
  padding: 24px;
}
.remove-box h2 {
  font-family: var(--display);
  margin: 0 0 10px;
}

.empty-box {
  background: var(--blush);
  border: 2px dashed var(--stitch);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
}
.more-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 150;
  background: var(--ink);
  color: #ffffff;
  border: 2px solid var(--sunny);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Warm Plum Boutique Footer ---------------- */
.foot {
  margin-top: 64px;
  background: var(--plum-dark);
  color: #fff5f9;
  border-top: 4px solid var(--berry);
  padding: 48px 0 42px;
}
.foot .wordmark {
  color: #ffffff;
}
.foot .wordmark b {
  color: var(--sunny);
}
.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
}
.foot-tag {
  margin: 12px 0;
  max-width: 50ch;
  color: #f9dbe7;
  font-size: 15px;
}
.foot-fine {
  font-size: 13.5px;
  color: #ebbfd1;
  max-width: 54ch;
}
.foot-fee {
  font-size: 13.5px;
  color: var(--sunny);
  font-weight: 700;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.foot-col-title {
  font-family: var(--display);
  font-size: 15px;
  color: var(--sunny);
  font-weight: 600;
  margin-bottom: 6px;
}
.foot-col a,
.foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #fff5f9;
  cursor: pointer;
}
.foot-col a:hover,
.foot-link:hover {
  color: var(--sunny);
}
.foot-fb-dot {
  align-self: flex-start;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: 0;
  color: #d89cb4;
  cursor: pointer;
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 1140px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .home-studio-band,
  .lab-shell,
  .detail-grid,
  .partners-wrap,
  .foot-inner {
    grid-template-columns: 1fr;
  }
  .arch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .prod-grid,
  .kit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .brand-grid,
  .video-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .arch-grid,
  .prod-grid,
  .kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rc-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hide-sm {
    display: none;
  }
  .pocket-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .pocket-hero-copy,
  .pocket-hero-controls {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-search-box {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .arch-grid,
  .kit-grid,
  .carry-grid,
  .lab-matrix,
  .foot-cols {
    grid-template-columns: 1fr;
  }
  /* Keep 2 visual product cards side-by-side on phones so listings stay immediate above the fold */
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pcard-stage {
    padding: 8px;
  }
  .pcard-body {
    padding: 10px;
  }
  .pcard-title {
    font-size: 14.5px;
  }
  .pcard-quote,
  .pcard-sizes {
    display: none;
  }
  .price-now {
    font-size: 16px;
  }
  .store-go {
    padding: 0 10px;
    font-size: 12px;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-creators-band {
    padding: 16px;
  }
  /* Horizontal pill scrolling removed in favor of Boutique Filter Sheet */
  .hero-live-count {
    display: none;
  }
}

@media (max-width: 640px) {
  .masthead-inner {
    gap: 6px;
    min-height: 60px;
  }
  .logo {
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
  }
  .logo-crest {
    width: 36px;
    height: 36px;
  }
  .masthead .wordmark {
    font-size: 19px;
  }
  .wordmark-sub {
    display: none;
  }
  .top-actions {
    gap: 4px;
    flex: none;
  }
  .util-link[href="#search"] {
    display: none;
  }
  .util-link {
    min-width: 44px;
    justify-content: center;
    padding: 0 8px;
    gap: 4px;
  }
  .menu-btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .menu-btn > span:not(.menu-ico) {
    display: none;
  }
  .creator-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  select,
  input {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 374px) {
  .wrap {
    padding: 0 10px;
  }
  .masthead .wordmark {
    font-size: 17px;
  }
  .logo-crest {
    width: 32px;
    height: 32px;
  }
  .prod-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .masthead, .foot, .toast, .save-btn {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}

/* ---------------- V8 Premium Boutique Filter Bar & Mobile Filter Sheet ---------------- */
body.sheet-open {
  overflow: hidden;
}

.boutique-filter-shell {
  margin-bottom: 14px;
  width: 100%;
  max-width: 100%;
}

.boutique-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0 36px 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c81e5b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.boutique-select:hover,
.boutique-select:focus {
  border-color: var(--berry);
  background-color: var(--blush);
  outline: none;
}

.desktop-select-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.filter-drawer-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--berry);
  background: var(--blush);
  color: var(--berry-deep);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.filter-drawer-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.filter-drawer-trigger:hover,
.filter-drawer-trigger.has-active {
  background: var(--berry);
  color: #ffffff;
}
.filter-badge {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--sunny);
  color: var(--ink);
}

.mobile-retail-bar {
  display: none;
}

.active-filter-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--berry);
  background: #ffffff;
  color: var(--berry-deep);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.active-filter-tag:hover {
  background: var(--blush);
}
.clear-all-link {
  min-height: 36px;
  padding: 4px 10px;
  background: none;
  border: 0;
  color: var(--berry-deep);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

/* Slide-Over / Bottom-Sheet Boutique Filter Drawer */
.filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(35, 21, 29, 0.56);
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
.filter-sheet[hidden] {
  display: none;
}
.filter-sheet-panel {
  width: min(440px, 100vw);
  height: 100%;
  background: var(--cream);
  border-left: 3px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -12px 0 36px rgba(35, 21, 29, 0.22);
}
.fsheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 2px dashed var(--line);
}
.fsheet-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--berry);
}
.fsheet-title {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 21px;
  color: var(--ink);
}
.fsheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fsheet-group h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.fsheet-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.fsheet-size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.fsheet-pill {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.14s ease;
}
.fsheet-pill.sm {
  padding: 6px 6px;
  font-size: 12.5px;
}
.fsheet-pill:hover {
  border-color: var(--berry);
  background: var(--blush);
}
.fsheet-pill.active {
  background: var(--berry);
  border-color: var(--berry);
  color: #ffffff;
}
.fsheet-brand-select {
  width: 100%;
}
.fsheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  background: #ffffff;
  border-top: 2px dashed var(--line);
}
.fsheet-apply {
  flex: 1 1 auto;
}

@media (max-width: 820px) {
  .desktop-only-rail,
  .desktop-only-sort,
  .desktop-only-sizer {
    display: none !important;
  }
  .mobile-retail-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 8px;
    width: 100%;
  }
  .mobile-retail-bar .filter-drawer-trigger,
  .mobile-retail-bar .mobile-sort-select {
    width: 100%;
  }
  .filter-sheet {
    align-items: flex-end;
    justify-content: center;
  }
  .filter-sheet-panel {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 88vh;
    border-left: 0;
    border-top: 3px solid var(--berry);
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 640px) {
  .pcard-meta > span {
    display: none;
  }
  .fsheet-size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------- V9 Integrated Boutique Shopping & Content Feed ---------------- */
.boutique-feed-grid {
  align-items: stretch;
}

.boutique-feed-grid > .feed-post {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff6fa 0%, #fffdf9 52%, #f4fbf8 100%);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-lg, 22px);
  padding: 22px 24px;
  margin: 6px 0;
  box-shadow: 0 10px 28px rgba(138, 16, 59, 0.07);
  min-width: 0;
  overflow: hidden;
}

.boutique-feed-grid > .feed-post.feed-post-sizer {
  background: linear-gradient(135deg, #fff9ec 0%, #fffdf9 48%, #fff2f7 100%);
  border-color: #f3c677;
}

.boutique-feed-grid > .feed-post.feed-post-kit {
  background: linear-gradient(135deg, #f3fbf8 0%, #fffdf9 52%, #fff4f8 100%);
  border-color: #a7e3cc;
}

.boutique-feed-grid > .feed-post.feed-post-guide {
  background: linear-gradient(135deg, #fff5f9 0%, #fffdf9 60%, #fef9e7 100%);
}

.feed-post-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.feed-post-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: center;
}

.feed-post-split.kit-split {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
}

.feed-post-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.feed-pill-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--berry-deep);
}

.feed-post-note {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.feed-post-h {
  font-family: var(--display);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 4px 0 8px;
}
.feed-post-h a:hover {
  color: var(--berry);
}

.feed-post-p {
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--ink-mid);
  margin: 0 0 14px;
  max-width: 58ch;
}

.feed-carry-row {
  margin: 0 0 16px;
}

.feed-kit-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mint-deep);
  margin-bottom: 14px;
}

.feed-post-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-video-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feed-kit-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.feed-mini-garment {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}
.feed-mini-garment:hover {
  border-color: var(--berry);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feed-mini-photo {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 8px;
  border-bottom: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feed-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feed-mini-info {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.feed-mini-brand {
  font-size: 11px;
  font-weight: 800;
  color: var(--berry-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-mini-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.28;
}
.feed-mini-price {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-top: 2px;
}

.feed-arch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.feed-arch-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  padding: 13px 14px;
  min-height: 44px;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.16s ease;
  color: var(--ink);
}
.feed-arch-card strong {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.feed-arch-card span {
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--ink-mid);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-arch-card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--berry);
  margin-top: auto;
}
.feed-arch-card:hover,
.feed-arch-card.active {
  border-color: var(--berry);
  background: var(--blush);
}

@media (max-width: 960px) {
  .feed-post-split,
  .feed-post-split.kit-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .boutique-feed-grid > .feed-post {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .feed-video-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-kit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feed-arch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

