:root {
  --bg: #faf8f4;
  --surface: #f2efe9;
  --card: #ffffff;
  --ink: #181715;
  --muted: #625e57;
  --subtle: #8b857c;
  --line: #e4dfd6;
  --olive: #2f4333;
  --olive-soft: #e6ece7;
  --clay: #8c4a32;
  --clay-soft: #f5ebe6;
  --radius: 6px;
  --wrap: 1240px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* Compact Seamless Black Friday Top Bar */
.bf-top-bar {
  background: #2b2926;
  color: #f3efe7;
  min-height: 26px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  max-width: 100%;
}
.bf-top-bar span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Header & Editorial Mega-Menu Popup (Compact) */
.site-hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 46px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.nav-left { display: flex; align-items: center; gap: 22px; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link.active-mega::after {
  transform: scaleX(1);
}
.brand-logo {
  text-align: center;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-logo:hover { opacity: 0.8; transform: scale(1.02); }
.brand-word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  min-width: 32px;
  padding: 0 6px;
  border-radius: 99px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.icon-btn:hover {
  background: rgba(24, 23, 21, 0.06);
  transform: translateY(-1.5px);
}
.icon-btn:active { transform: translateY(0) scale(0.94); }
.acct-pill-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.acct-pill-lbl:empty { display: none; }
.bag-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}
.bag-icon-btn:hover .bag-badge { background: var(--olive); transform: scale(1.1); }

/* Mega-Menu Popup (Clean White Split: Category Lists Left + 2 Square Editorial Cards Right) */
.mega-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(24,23,21,0.08);
  padding: 34px 36px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s;
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 44px;
  align-items: start;
}
.mega-dir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 28px;
  padding-top: 4px;
}
.mega-cat-head {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.mega-cat-head:hover { color: var(--olive); transform: translateX(2px); }
.mega-sublist {
  list-style: none;
  display: grid;
  gap: 8px;
}
.mega-sublink {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #45423d;
  position: relative;
  transition: color 0.18s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.mega-sublink:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.mega-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mega-promo-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f2efe9;
  display: block;
  box-shadow: 0 6px 20px rgba(24,23,21,0.06);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.mega-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(24,23,21,0.12);
}
.mega-promo-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mega-promo-card:hover .mega-promo-full,
.mega-promo-card:hover .mega-collage-grid img {
  transform: scale(1.04);
}
.mega-collage-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: #fff;
}
.mega-collage-grid div { overflow: hidden; background: #f4f2ed; }
.mega-collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mega-pill-new {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #f8dfe6;
  color: #181715;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}
.mega-promo-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24,23,21,0) 48%, rgba(24,23,21,0.62) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  color: #ffffff;
}
.mega-promo-scrim h4 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.mega-promo-scrim p {
  font-size: 12px;
  color: rgba(255,255,255,0.92);
}

/* Hero Section (5-Slide Automatic Landscape Viewport Carousel Touching Navbar) */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.hero-box {
  position: relative;
  width: 100%;
  height: clamp(380px, 42vw, 455px);
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--line);
  background: #23201c;
  display: flex;
  align-items: center;
  user-select: none;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.75s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  display: block;
  transform: scale(1.03);
  transition: transform 6.5s ease-out;
}
.hero-slide.active img {
  transform: scale(1.0);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(20, 18, 15, 0.80) 0%, rgba(20, 18, 15, 0.54) 42%, rgba(20, 18, 15, 0.14) 74%, rgba(20, 18, 15, 0.03) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px 26px;
}
.hero-copy {
  max-width: 520px;
  padding: 20px 0;
  color: #faf8f4;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-copy.switching {
  opacity: 0;
  transform: translateY(6px);
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.hero-copy h1 em { font-style: italic; font-weight: 500; color: #e8dfd1; }
.hero-copy p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.88);
  max-width: 440px;
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero Carousel < . . . . . > Controls Bar */
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(20, 18, 15, 0.44);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-arrow {
  width: 26px;
  height: 26px;
  border-radius: 99px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.1);
}
.hero-arrow:active { transform: scale(0.92); }
.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 99px;
  border: none;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, transform 0.2s ease;
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.78);
  transform: scale(1.2);
}
.hero-dot.active {
  width: 22px;
  background: #ffffff;
}
.btn-hero-light {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #faf8f4;
  color: #181715;
  border: 1px solid #faf8f4;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, color 0.22s ease, box-shadow 0.24s ease;
}
.btn-hero-light:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.btn-hero-light:active { transform: translateY(0) scale(0.97); }
.btn-hero-ghost {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 244, 0.12);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(250, 248, 244, 0.55);
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
}
.btn-hero-ghost:hover {
  background: rgba(250, 248, 244, 0.24);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.btn-hero-ghost:active { transform: translateY(0) scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
}
.btn-primary::after,
.add-btn::after,
.mini-add::after {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 65%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--olive);
  border-color: var(--olive);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(47, 67, 51, 0.2);
}
.btn-primary:hover::after,
.add-btn:hover::after,
.mini-add:hover::after {
  left: 135%;
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 3px 8px rgba(24,23,21,0.14);
}
.btn-outline {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, color 0.22s ease, box-shadow 0.24s ease;
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24,23,21,0.12);
}
.btn-outline:active { transform: translateY(0) scale(0.97); }
.hero-pillars {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.hero-pillars strong { color: var(--ink); font-weight: 600; }
.hero-media { position: relative; min-height: 360px; background: #e8e2d7; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sections & Containers */
.section { max-width: var(--wrap); margin: 0 auto; padding: 52px 24px; }
.section.hero-follow { padding-top: 26px; }
.section-tight { max-width: var(--wrap); margin: 0 auto; padding: 30px 24px; }
.sec-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

/* Collection / Catalog Full-Bleed Photo Banner */
.col-hero {
  position: relative;
  width: 100%;
  min-height: 330px;
  height: clamp(310px, 34vw, 375px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #ebe6dc;
  display: flex;
  align-items: center;
}
.col-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.col-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}
.col-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(250, 248, 244, 0.95) 0%, rgba(250, 248, 244, 0.84) 40%, rgba(250, 248, 244, 0.18) 76%, rgba(250, 248, 244, 0) 100%);
}
.col-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 28px;
}
.col-hero-copy {
  max-width: 440px;
  color: var(--ink);
}
.col-rating-line {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 8px;
}
.col-rating-line span {
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.col-hero-copy h1 {
  font-family: var(--sans);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--ink);
}
.col-hero-copy p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #3f3c37;
  margin-bottom: 16px;
}
.col-trust-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 23, 21, 0.08);
  border-radius: 8px;
  padding: 12px 15px;
  max-width: 340px;
  box-shadow: 0 6px 20px rgba(24, 23, 21, 0.06);
}
.col-trust-head {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.col-trust-sub {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.col-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 24px;
}
.col-tabs {
  margin-bottom: 0;
  flex: 1 1 auto;
  align-items: center;
}
.col-sort-wrap {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  align-self: flex-start;
}
.hero-bf-pill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.col-sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 36px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease, box-shadow 0.2s ease, color 0.18s ease;
}
.col-sort-btn strong { color: var(--ink); font-weight: 600; }
.col-sort-btn .sort-chev { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); flex-shrink: 0; color: var(--ink); }
.col-sort-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1.5px); box-shadow: 0 5px 12px rgba(24,23,21,0.06); }
.col-sort-btn:active { transform: translateY(0) scale(0.97); }
.col-sort-wrap.open .col-sort-btn { border-color: var(--ink); color: var(--ink); }
.col-sort-wrap.open .sort-chev { transform: rotate(180deg); }
.col-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 196px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 16px 34px rgba(24,23,21,0.10);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.18s;
}
.col-sort-wrap.open .col-sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.col-sort-opt {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 11px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.col-sort-opt:hover { background: var(--surface); transform: translateX(2px); }
.col-sort-opt.active { background: var(--olive-soft); color: var(--olive); font-weight: 600; }
.sec-h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}
.sec-sub { color: var(--muted); font-size: 14.5px; max-width: 520px; margin-top: 6px; }

/* Filter / Tab Pills */
.tab-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-pill {
  height: 36px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.22s ease;
}
.tab-pill:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: 0 5px 12px rgba(24,23,21,0.06); }
.tab-pill:active { transform: translateY(0) scale(0.96); }
.tab-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 14px rgba(24,23,21,0.14); }

/* Product Grid & Click-Through Editorial Cards (No Quick-Checkout Clutter) */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 32px;
}
.p-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-card:hover { transform: translateY(-3px); }
.p-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f1ec;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.p-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
.p-card:hover .p-img-wrap img { transform: scale(1.035); }
.p-badge {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(24,23,21,0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(24,23,21,0.05);
}
.p-badge.bundle-b { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.p-body { padding: 11px 2px 0; display: flex; flex-direction: column; }
.p-meta-top {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 5px;
}
.p-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 3px;
  transition: color 0.18s ease;
}
.p-card:hover .p-title { color: var(--olive); }
.p-size { font-size: 12px; color: var(--subtle); margin-bottom: 6px; }
.p-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.p-price { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.p-was { font-size: 13px; color: #a85044; text-decoration: line-through; }
.p-save-inline {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--olive-soft);
  color: var(--olive);
  white-space: nowrap;
}
.add-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.22s ease;
}
.add-btn:hover {
  background: var(--olive);
  border-color: var(--olive);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 67, 51, 0.18);
}
.add-btn:active { transform: translateY(0) scale(0.97); }

/* Fractional Star Meter */
.stars-inline { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.star-meter { position: relative; display: inline-block; font-size: 12.5px; line-height: 1; letter-spacing: 1px; }
.star-bg { color: #d5cfc4; }
.star-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--ink); }

/* Category Directory Band */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 168px;
  transition: background 0.16s ease, transform 0.16s ease;
}
.cat-card:hover { background: #eae4da; transform: translateY(-2px); }
.cat-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.cat-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.cat-foot { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--olive); }

/* Editorial Formula Split */
.formula-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.formula-split.rev {
  grid-template-columns: 1.05fr 0.95fr;
}
.formula-img { height: 100%; min-height: 420px; }
.formula-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.formula-text { padding: 44px 48px; }
.pillar-list { display: grid; gap: 18px; margin-top: 24px; }
.pillar-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.pillar-num { font-family: var(--mono); font-size: 12px; color: var(--olive); font-weight: 600; padding-top: 2px; }
.pillar-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.pillar-item p { font-size: 13.5px; color: var(--muted); }

/* Product Detail Page (PDP) */
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; display: flex; gap: 8px; align-items: center; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.pdp-media {
  position: sticky; top: 92px;
  background: #f4f3f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-code { font-family: var(--mono); font-size: 12px; color: var(--olive); letter-spacing: 0.1em; margin-bottom: 8px; }
.pdp-title { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 44px); font-weight: 500; line-height: 1.1; margin-bottom: 10px; }
.pdp-price-line { display: flex; align-items: center; gap: 12px; margin: 14px 0 16px; }
.pdp-price { font-size: 24px; font-weight: 700; }
.pdp-sub { font-size: 15.5px; color: var(--muted); margin-bottom: 20px; }
.pdp-highlights { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; }
.pdp-highlights li { display: flex; gap: 10px; font-size: 14px; }
.pdp-chk { width: 18px; height: 18px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

.tier-box { display: grid; gap: 10px; margin-bottom: 16px; }
.tier-opt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--card);
  cursor: pointer; text-align: left;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.tier-opt:hover { border-color: var(--ink); transform: translateY(-1.5px); box-shadow: 0 6px 14px rgba(24,23,21,0.05); }
.tier-opt:active { transform: translateY(0) scale(0.985); }
.tier-opt.selected { border-color: var(--ink); background: var(--surface); }
.tier-save { background: var(--olive); color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 99px; margin-left: 8px; font-weight: 600; }
.pdp-cta { width: 100%; height: 52px; font-size: 14px; }
.ship-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Bespoke Formulary Dossier Switcher (Replaces Generic + / - Accordions) */
.dossier-card {
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
}
.dossier-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border-radius: 7px;
}
.dossier-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.dossier-tab:hover { color: var(--ink); transform: translateY(-1px); }
.dossier-tab:active { transform: scale(0.97); }
.dossier-tab.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(24,23,21,0.08);
}
.d-idx {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--olive);
  opacity: 0.85;
}
.dossier-panel {
  display: none;
  padding: 18px 14px 14px;
  animation: dossierReveal 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.dossier-panel.active { display: block; }
@keyframes dossierReveal {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.inci-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.inci-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--olive);
  background: var(--olive-soft);
  padding: 4px 10px;
  border-radius: 99px;
}
.dossier-copy {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.ritual-callout {
  background: #faf8f4;
  border-left: 3px solid var(--olive);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
}
.ritual-step-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--olive);
  margin-bottom: 5px;
}
.dispatch-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dispatch-specs > div {
  background: #faf8f4;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
.dispatch-specs span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subtle);
  margin-bottom: 3px;
}
.dispatch-specs strong {
  font-size: 12.5px;
  color: var(--ink);
}
.fda-box {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 11.5px;
  color: var(--muted);
}

/* Long-Form PDP Description & Rich Editorial Sections */
.pdp-band {
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.pdp-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.pdp-editorial-media {
  height: 100%;
  min-height: 400px;
  max-height: 500px;
  background: var(--surface);
}
.pdp-editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-editorial-body {
  padding: 40px 44px;
}
.pdp-editorial-body h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 14px;
}
.pdp-editorial-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 14px;
}
.pdp-standards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.pdp-std-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}
.pdp-std-item strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 4px;
}
.pdp-std-item span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.pdp-actives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.pdp-active-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.pdp-active-idx {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 8px;
}
.pdp-active-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pdp-active-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.pdp-reviews-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.about-pillars-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.about-quote-box {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

/* Slide-Out Cart Drawer */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(24,23,21,0.42);
  z-index: 200;
  display: none;
}
.drawer-backdrop.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--bg);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.cart-drawer.open { transform: translateX(0); }
.cd-hdr {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.cd-hdr h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.close-x {
  background: none; border: none; font-size: 20px; width: 32px; height: 32px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
  transition: background 0.2s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.close-x:hover { background: rgba(24,23,21,0.07); transform: rotate(90deg); }
.close-x:active { transform: rotate(90deg) scale(0.9); }
.ship-meter { padding: 12px 22px; background: var(--olive-soft); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--olive); font-weight: 600; }
.ship-bar-track { height: 5px; background: rgba(47,67,51,0.16); border-radius: 99px; margin-top: 7px; overflow: hidden; }
.ship-bar-fill { height: 100%; background: var(--olive); transition: width 0.25s ease; }
.cd-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cd-item {
  display: grid; grid-template-columns: 68px 1fr; gap: 14px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cd-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 5px; background: #fff; border: 1px solid var(--line); }
.cd-qty-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.qty-ctrl button {
  width: 26px; height: 26px; border: none; background: none; cursor: pointer; font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease, transform 0.14s ease;
}
.qty-ctrl button:hover { background: var(--ink); color: #fff; }
.qty-ctrl button:active { transform: scale(0.9); }
.qty-ctrl span { padding: 0 9px; font-size: 12.5px; font-weight: 600; }

.upsell-strip { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.upsell-strip h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 10px; }
.upsell-card {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 10px; margin-bottom: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.upsell-card:hover { border-color: #c8c1b4; transform: translateX(2px); }
.upsell-card img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.mini-add {
  position: relative; overflow: hidden;
  padding: 6px 12px; border-radius: 4px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mini-add:hover { background: var(--olive); border-color: var(--olive); transform: translateY(-1.5px); box-shadow: 0 5px 12px rgba(47,67,51,0.18); }
.mini-add:active { transform: translateY(0) scale(0.95); }

.cd-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: var(--card); }
.promo-row { display: flex; gap: 8px; margin-bottom: 12px; }
.promo-row input { flex: 1; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 12.5px; text-transform: uppercase; }
.promo-row button {
  padding: 0 14px; height: 36px; border: 1px solid var(--ink); background: transparent; border-radius: 4px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, color 0.2s ease;
}
.promo-row button:hover { background: var(--ink); color: #fff; transform: translateY(-1.5px); }
.promo-row button:active { transform: translateY(0) scale(0.96); }
.tot-line { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; color: var(--muted); }
.tot-line.grand { font-size: 16px; font-weight: 700; color: var(--ink); margin: 8px 0 14px; padding-top: 8px; border-top: 1px solid var(--line); }

/* Forms, Account, Checkout, Orders & Policies */
.narrow-page { max-width: 760px; margin: 0 auto; padding: 52px 24px 88px; }
.checkout-grid { max-width: 1040px; margin: 0 auto; padding: 44px 24px 88px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.form-grid { display: grid; gap: 14px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; height: 42px; padding: 0 12px;
  border: 1px solid #d4cec3; border-radius: var(--radius);
  background: #fff; font-size: 14px; outline: none;
}
.field input:focus { border-color: var(--ink); }
.sandbox-banner {
  background: var(--olive-soft); color: var(--olive);
  border: 1px solid rgba(47,67,51,0.25);
  padding: 11px 14px; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 600; margin-bottom: 18px;
}

/* Plain Account Portal (Consistent Sans-Serif UI, Zero Marketing Fonts) */
.acct-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 24px 88px;
  font-family: var(--sans);
}
.acct-wrap h1, .acct-wrap h2, .acct-wrap h3, .acct-wrap p, .acct-wrap label, .acct-wrap button, .acct-wrap input {
  font-family: var(--sans);
}
.acct-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.acct-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.acct-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}
.acct-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.acct-tab-btn {
  position: relative;
  background: none;
  border: none;
  padding: 10px 2px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}
.acct-tab-btn:hover { color: var(--ink); transform: translateY(-1px); }
.acct-tab-btn.active { color: var(--ink); }
.acct-tab-btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.acct-tab-btn.active::after { transform: scaleX(1); }
.acct-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.acct-sec-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.acct-sec-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.acct-order-row {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
  background: #faf9f6;
}
.acct-order-row:last-child { margin-bottom: 0; }
.btn-plain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease, background 0.18s ease;
}
.btn-plain:hover { border-color: var(--ink); background: #f5f3ee; transform: translateY(-1.5px); }
.btn-plain:active { transform: translateY(0) scale(0.97); }
.btn-plain-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease, box-shadow 0.2s ease;
}
.btn-plain-dark:hover { background: #2c2a26; transform: translateY(-1.5px); box-shadow: 0 6px 14px rgba(24,23,21,0.14); }
.btn-plain-dark:active { transform: translateY(0) scale(0.97); }

/* PDP Thumbnail Strip */
.pdp-media-col { position: sticky; top: 72px; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb {
  width: 68px; height: 68px; border-radius: 6px; overflow: hidden;
  border: 1.5px solid var(--line); background: #fff; padding: 0; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease;
}
.pdp-thumb:hover { transform: translateY(-2px); border-color: #9e978c; }
.pdp-thumb.active { border-color: var(--ink); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Plain Editorial Policies */
.policy-doc { max-width: 700px; margin: 0 auto; padding: 52px 24px 96px; }
.policy-doc h1 { font-family: var(--serif); font-size: 40px; font-weight: 500; margin-bottom: 10px; }
.policy-doc section { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.policy-doc h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.policy-doc p { color: #3d3a35; margin-bottom: 12px; line-height: 1.7; font-size: 15px; }

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 56px 24px 36px;
}
.foot-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-col h5 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; color: var(--ink); }
.foot-col a { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.foot-col a:hover { color: var(--ink); }
.foot-fda {
  max-width: var(--wrap);
  margin: 36px auto 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 11.5px;
  color: var(--muted);
}
.foot-btm {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--subtle);
}

/* Mobile Navigation Drawer & All-Viewport Comfort Breakpoints */
.mob-menu-btn { display: none; }
.mob-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  z-index: 215;
  transform: translateX(-100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.mob-drawer.open { transform: translateX(0); }
.mob-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 32px;
}
.mob-nav-sec {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mob-nav-sec:last-child { border-bottom: none; }
.mob-nav-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
}
.mob-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.16s ease, transform 0.16s ease;
}
.mob-nav-link:hover { color: var(--olive); transform: translateX(3px); }

@media (min-width: 1540px) {
  :root { --wrap: 1360px; }
  .hdr-inner, .mega-inner, .hero-inner { max-width: 1360px; }
}

@media (max-width: 1120px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-inner { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
  .mega-dir { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .pdp-grid { gap: 34px; }
}

@media (max-width: 860px) {
  .mob-menu-btn { display: inline-flex; }
  .hide-sm, .hide-mob { display: none !important; }
  .mega-menu { display: none !important; }
  .hdr-inner { padding: 0 16px; height: 48px; }
  .brand-word { font-size: 19px; letter-spacing: 0.16em; padding-left: 0.16em; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 26px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .formula-split, .pdp-grid, .checkout-grid, .pdp-editorial-split, .about-quote-box { grid-template-columns: 1fr; gap: 24px; }
  .pdp-standards-strip { grid-template-columns: repeat(2, 1fr); }
  .pdp-actives-grid, .about-pillars-4 { grid-template-columns: 1fr; }
  .pdp-editorial-body { padding: 26px 22px; }
  .pdp-editorial-media { min-height: 280px; max-height: 360px; }
  .pdp-media-col { position: static; }
  .formula-img { min-height: 280px; max-height: 360px; }
  .formula-text { padding: 28px 24px 32px; }
  .foot-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .section { padding: 48px 18px; }
  .section-tight { padding: 26px 18px; }
  .hero-box { height: 400px; }
  .hero-inner { padding: 0 22px 32px; }
  .hero-scrim {
    background: linear-gradient(90deg, rgba(20,18,15,0.84) 0%, rgba(20,18,15,0.62) 56%, rgba(20,18,15,0.24) 100%);
  }
}

@media (max-width: 680px) {
  .col-bar { flex-wrap: wrap; align-items: stretch; gap: 10px; }
  .col-tabs { margin-bottom: 0; padding-bottom: 2px; max-width: 100%; }
  .col-sort-wrap { width: 100%; margin-left: 0; }
  .col-sort-btn { width: 100%; }
  .col-sort-menu { left: 0; right: 0; width: 100%; }
}

@media (max-width: 600px) {
  .bf-top-bar { font-size: 9.5px; letter-spacing: 0.06em; padding: 5px 10px; }
  .bf-top-bar span { white-space: normal; line-height: 1.3; }
  .hdr-inner { padding: 0 12px; max-width: 100vw; }
  .hero-box, .hero-inner, .col-hero, .col-hero-inner { max-width: 100vw; }
  .section { padding: 38px 14px; }
  .section-tight { padding: 22px 14px; }
  .narrow-page, .acct-wrap, .policy-doc, .checkout-grid { padding: 30px 14px 64px; }
  .hero-box { height: auto; min-height: 430px; align-items: flex-end; }
  .hero-actions { flex-wrap: wrap; gap: 8px; }
  .col-hero { height: auto; min-height: 360px; align-items: flex-end; }
  .col-hero-scrim {
    background: linear-gradient(180deg, rgba(20,18,15,0.22) 0%, rgba(20,18,15,0.74) 52%, rgba(20,18,15,0.90) 100%);
  }
  .col-hero-inner { padding: 48px 16px 28px; }
  .col-hero-copy { max-width: 100%; }
  .col-hero-copy h1, .col-hero-copy .col-rating-line, .col-hero-copy .col-rating-line span { color: #ffffff; }
  .col-hero-copy p { color: rgba(255, 255, 255, 0.90); }
  .col-trust-card { background: rgba(255, 255, 255, 0.96); color: var(--ink); }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(20,18,15,0.28) 0%, rgba(20,18,15,0.74) 52%, rgba(20,18,15,0.88) 100%);
  }
  .hero-inner { padding: 48px 16px 60px; }
  .hero-copy { padding: 0; max-width: 100%; }
  .hero-copy h1 { font-size: clamp(28px, 7.6vw, 34px); margin-bottom: 10px; }
  .hero-copy p { font-size: 13.5px; margin-bottom: 16px; }
  .btn-hero-light, .btn-hero-ghost { padding: 10px 16px; font-size: 11.5px; }
  .tab-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .col-bar { align-items: stretch; gap: 10px; }
  .col-tabs { margin-bottom: 0; padding-bottom: 2px; max-width: 100%; }
  .col-sort-wrap { width: 100%; margin-left: 0; }
  .col-sort-btn { width: 100%; }
  .col-sort-menu { left: 0; right: 0; width: 100%; }
  .tab-row::-webkit-scrollbar { display: none; }
  .tab-pill { flex-shrink: 0; height: 34px; padding: 0 14px; font-size: 12px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 22px; }
  .p-title { font-size: 13.5px; }
  .p-size { font-size: 11px; }
  .p-price { font-size: 13.5px; }
  .p-badge { top: 7px; right: 7px; font-size: 9px; padding: 3px 7px; }
  .cat-grid, .foot-inner, .form-2col, .dispatch-specs { grid-template-columns: 1fr; }
  .cat-card { padding: 20px; min-height: auto; }
  .panel-card, .acct-card { padding: 18px; }
  .acct-tabs { gap: 18px; overflow-x: auto; white-space: nowrap; }
  .cart-drawer { max-width: 100vw; }
  .cd-foot { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .field input, .field select, .field textarea, .promo-row input { font-size: 16px; }
}

@media (max-width: 375px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero-light, .btn-hero-ghost { width: 100%; }
}
