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

:root {
  --bg: #FFFBF8;
  --surface: #FFFFFF;
  --surface-2: #F7EFEA;
  --ink: #1B1417;
  --text: #33272B;
  --muted: #6B5B61;
  --subtle: #8B7A81;
  --primary: #7B2D3B;
  --primary-dark: #5C1F2B;
  --primary-light: #A44A5A;
  --primary-tint: #F7EBED;
  --gold: #9C7A45;
  --line: #E8DDD8;
  --line-soft: rgba(27, 20, 23, 0.08);
  --line-invert: rgba(255, 251, 248, 0.14);
  --shadow: 0 18px 48px rgba(27, 20, 23, 0.10);
  --shadow-sm: 0 6px 18px rgba(27, 20, 23, 0.07);
  --overlay: rgba(27, 20, 23, 0.55);
  --scrim: rgba(27, 20, 23, 0.62);
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Helvetica Neue', Helvetica, sans-serif;
  --radius: 6px;
  --radius-sm: 3px;
  --radius-lg: 14px;
  --container: 1440px;
  --measure: 780px;
  --section-py: 96px;
  --header-h: 108px;
  --hero-bg-image: linear-gradient(160deg, #2A1A20 0%, #5C1F2B 42%, #8C4550 78%, #B98A72 100%);
  --hero-overlay: rgba(27, 20, 23, 0.42);
}

html { scroll-behavior: smooth; }

:target,
h2[id], h3[id], #main-content { scroll-margin-top: calc(var(--header-h) + 20px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

h4 { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--ink); }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }

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

::selection { background: var(--primary-tint); color: var(--primary-dark); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--radius-sm); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 0.875rem;
}
.skip-link:focus { left: 12px; top: 12px; }

.section { padding: var(--section-py) 24px; }
.section-inner { max-width: 1440px; margin: 0 auto; }
.section-tight { max-width: var(--measure); margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head p { color: var(--muted); margin-top: 14px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.rule { width: 56px; height: 2px; background: var(--primary); margin: 22px 0; }
.rule-center { margin-left: auto; margin-right: auto; }

.btn {
  font-size: clamp(0.78rem, 1vw, 0.86rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary { background: var(--primary); color: var(--bg); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-tint); color: var(--primary-dark); }
.btn-invert { background: transparent; color: var(--bg); border-color: var(--line-invert); }
.btn-invert:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-block { width: 100%; }

.badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  color: var(--primary-dark);
}
.badge-gold { background: var(--surface-2); color: var(--gold); }

.obf-ext, .obf-link { cursor: pointer; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.obf-ext:hover, .obf-link:hover { color: var(--primary-dark); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
nav#navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav-icon-btn:hover { background: var(--surface-2); border-color: var(--primary-light); }
.nav-icon-btn svg { width: 19px; height: 19px; }

.nav-cta { min-height: 42px; padding: 10px 20px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.mobile-toggle span { width: 18px; height: 2px; background: var(--ink); transition: opacity 0.25s ease, transform 0.25s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.page-hero-dark nav#navbar { background: transparent; border-bottom-color: transparent; }
body.page-hero-dark .nav-logo { color: var(--bg); }
body.page-hero-dark .nav-logo em { color: var(--bg); }
body.page-hero-dark .nav-links a { color: rgba(255, 251, 248, 0.82); }
body.page-hero-dark .nav-links a:hover { color: var(--bg); }
body.page-hero-dark .nav-links a::after { background: var(--bg); }
body.page-hero-dark .nav-icon-btn { color: var(--bg); border-color: var(--line-invert); }
body.page-hero-dark .nav-icon-btn:hover { background: rgba(255, 251, 248, 0.12); border-color: var(--bg); }
body.page-hero-dark .mobile-toggle { border-color: var(--line-invert); }
body.page-hero-dark .mobile-toggle span { background: var(--bg); }
body.page-hero-dark .nav-cta { color: var(--bg); border-color: var(--line-invert); background: transparent; }
body.page-hero-dark .nav-cta:hover { background: var(--bg); color: var(--ink); }
body.page-hero-dark nav#navbar.scrolled { background: var(--bg); border-bottom-color: var(--line); }
body.page-hero-dark nav#navbar.scrolled .nav-logo { color: var(--ink); }
body.page-hero-dark nav#navbar.scrolled .nav-logo em { color: var(--primary); }
body.page-hero-dark nav#navbar.scrolled .nav-links a { color: var(--muted); }
body.page-hero-dark nav#navbar.scrolled .nav-links a:hover { color: var(--primary-dark); }
body.page-hero-dark nav#navbar.scrolled .nav-links a::after { background: var(--primary); }
body.page-hero-dark nav#navbar.scrolled .nav-icon-btn { color: var(--ink); border-color: var(--line); }
body.page-hero-dark nav#navbar.scrolled .mobile-toggle span { background: var(--ink); }
body.page-hero-dark nav#navbar.scrolled .mobile-toggle { border-color: var(--line); }
body.page-hero-dark nav#navbar.scrolled .nav-cta { color: var(--primary); border-color: var(--primary); }

.hero { position: relative; isolation: isolate; padding: 200px 24px 120px; min-height: 78vh; display: flex; align-items: center; }
.hero-inner { max-width: 1440px; margin: 0 auto; width: 100%; }
.hero-full .hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 760px; }
.hero-full.has-bg::before { content: ''; position: absolute; inset: 0; background-image: var(--hero-bg-image); background-size: cover; background-position: center; z-index: -2; }
.hero-full.has-bg::after { content: ''; position: absolute; inset: 0; background: var(--hero-overlay); z-index: -1; }
.hero h1 { color: var(--bg); }
.hero h1 em { font-style: italic; color: var(--bg); }
.hero-kicker { font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 700; color: var(--bg); opacity: 0.85; animation: fade-up 0.8s ease both; }
.hero-lede { font-size: 1.05rem; line-height: 1.8; color: var(--bg); opacity: 0.9; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-invert); }
.hero-meta-item { color: var(--bg); }
.hero-meta-value { font-family: var(--font-heading); font-size: 1.9rem; line-height: 1; color: var(--bg); }
.hero-meta-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.78; margin-top: 6px; }

.page-head { padding: calc(var(--header-h) + 56px) 24px 0; }
.page-head-inner { max-width: 1440px; margin: 0 auto; }
.page-head h1 { color: var(--ink); max-width: 900px; }
.page-head .lede { color: var(--muted); max-width: var(--measure); margin-top: 16px; font-size: 1.05rem; }

.breadcrumb { padding-top: calc(var(--header-h) + 20px); padding-bottom: 4px; }
.breadcrumb-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; font-size: 0.78rem; color: var(--subtle); }
.breadcrumb-inner ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb-inner li::after { content: '/'; margin-left: 8px; color: var(--subtle); }
.breadcrumb-inner li:last-child::after { content: ''; }
.breadcrumb-inner a { color: var(--muted); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--primary); text-decoration: underline; }

.trust-bar { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 24px; }
.trust-items { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg); color: var(--primary); border: 1px solid var(--line); }
.trust-icon svg { width: 19px; height: 19px; }
.trust-item strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--ink); line-height: 1.3; }
.trust-item small { font-size: 0.8rem; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.cat-card-media { aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--surface-2), var(--primary-tint)); position: relative; }
.cat-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim), transparent 58%); }
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.cat-card-body h3 { color: var(--bg); }
.cat-card-body span { display: inline-block; margin-top: 6px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); opacity: 0.86; }

.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.product-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(145deg, var(--surface-2), var(--primary-tint)); display: flex; align-items: center; justify-content: center; }
.product-img-mark { font-family: var(--font-heading); font-size: 2.4rem; color: var(--primary); opacity: 0.34; }
.product-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.product-info { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-brand { position: relative; z-index: 2; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); font-weight: 700; }
.product-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.product-name::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card:hover .product-name { color: var(--primary-dark); }
.product-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.product-rating { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.product-stars { color: var(--gold); letter-spacing: 0.12em; }
.product-pricing { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 10px; }
.product-price { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.product-price-old { font-size: 0.9rem; color: var(--subtle); text-decoration: line-through; }
.product-price-note { font-size: 0.72rem; color: var(--subtle); }
.btn-offer { position: relative; z-index: 2; margin-top: 12px; }
.overlay-btn { position: relative; z-index: 2; pointer-events: none; }
@media (hover: hover) { .overlay-btn { pointer-events: auto; } }

.ad-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
}
.ad-card h3 { color: var(--bg); }
.ad-card p { font-size: 0.86rem; opacity: 0.82; }
.ad-tag { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-light); font-weight: 700; }

.products-carousel { position: relative; }
.pc-viewport { overflow: hidden; }
.pc-track { display: flex; gap: 22px; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.pc-track > * { min-width: calc(25% - 17px); flex-shrink: 0; }
.pc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s ease, opacity 0.25s ease;
}
.pc-arrow:hover { background: var(--surface-2); }
.pc-prev { left: -18px; }
.pc-next { right: -18px; }

.subcat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.subcat-card:hover { background: var(--surface-2); border-color: var(--primary-light); }
.subcat-card-img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(145deg, var(--surface-2), var(--primary-tint)); }
.subcat-card-label { font-family: var(--font-heading); font-size: 1.02rem; font-weight: 600; white-space: nowrap; }

.category-head { max-width: 1440px; margin: 0 auto; padding: 26px 24px 0; }
.cat-desc-short { color: var(--muted); max-width: var(--measure); margin-top: 12px; }
.cat-desc-long { max-width: var(--measure); margin: 56px auto 0; color: var(--text); }
.cat-desc-long h2 { margin-bottom: 16px; }
.cat-desc-long p { margin-bottom: 16px; }
.cat-desc-long h3 { margin: 26px 0 10px; }

.category-layout { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 262px 1fr; gap: 40px; padding: 0 24px; }
.filters-sidebar { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.filter-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text); padding: 5px 0; cursor: pointer; }
.filter-option input { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-option span { color: var(--muted); }

.category-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.toolbar-label { font-size: 0.85rem; color: var(--muted); }
.results-count { font-size: 0.85rem; color: var(--muted); }
.sort-select { min-height: 44px; padding: 10px 14px; font-family: var(--font-body); font-size: 0.86rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

.category-toolbar-mobile { display: none; }

.filter-modal-overlay { display: none; position: fixed; inset: 0; background: var(--overlay); z-index: 2000; }
.filter-modal-overlay.open { display: flex; align-items: flex-end; }
.filter-modal-panel {
  background: var(--bg);
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 22px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.filter-modal-overlay.open .filter-modal-panel { transform: translateY(0); }
.filter-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filter-modal-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.filter-modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: none; border-radius: 50%; font-size: 17px; color: var(--ink); cursor: pointer; }
.filter-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.filter-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.fbb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 10px 4px 12px;
  background: none;
  border: none;
  border-right: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.fbb-btn:last-child { border-right: none; }
.fbb-btn--primary { color: var(--primary-dark); background: var(--primary-tint); }
.fbb-ico { font-size: 15px; }

.product-detail { max-width: 1440px; margin: 0 auto; padding: 26px 24px 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.product-gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-2), var(--primary-tint)); display: flex; align-items: center; justify-content: center; }
.gallery-main span { font-family: var(--font-heading); font-size: 4rem; color: var(--primary); opacity: 0.3; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumb { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; transition: border-color 0.25s ease; }
.gallery-thumb:hover, .gallery-thumb[aria-current="true"] { border-color: var(--primary); }

.product-summary h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.product-summary .product-brand { font-size: 0.75rem; margin-bottom: 8px; }
.product-summary .product-rating { margin: 14px 0; }
.product-lede { color: var(--muted); margin: 16px 0 22px; }
.price-block { padding: 22px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-main { font-family: var(--font-heading); font-size: 2.3rem; font-weight: 600; color: var(--ink); }
.price-merchant { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.price-disclaimer { font-size: 0.75rem; color: var(--subtle); margin-top: 12px; }
.product-usp { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.product-usp li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text); }
.product-usp li::before { content: '—'; color: var(--primary); flex-shrink: 0; }

.merchant-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.merchant-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); flex-wrap: wrap; }
.merchant-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.merchant-meta { font-size: 0.78rem; color: var(--subtle); }
.merchant-price { font-family: var(--font-heading); font-size: 1.3rem; color: var(--ink); }

.product-tabs { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.tab-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-btn {
  min-height: 48px;
  padding: 12px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn[aria-selected="true"] { color: var(--primary-dark); border-bottom-color: var(--primary); }
.tab-panel { padding: 34px 0; max-width: var(--measure); }
.tab-panel[hidden] { display: none; }
.tab-panel p { margin-bottom: 16px; }
.tab-panel h3 { margin: 24px 0 10px; }

.data-sheet { display: grid; grid-template-columns: auto 1fr; background: var(--surface-2); border-radius: var(--radius); padding: 4px 26px; margin: 0; }
.data-sheet .name { font-family: var(--font-heading); font-weight: 700; color: var(--ink); padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.data-sheet .value { text-align: right; color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.data-sheet .name:nth-last-of-type(1), .data-sheet .value:nth-last-of-type(1) { border-bottom: none; }

.review-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.review-author { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.review-date { font-size: 0.78rem; color: var(--subtle); }

.sticky-atc { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 400; background: var(--bg); border-top: 1px solid var(--line); padding: 12px 20px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow); }
.sticky-atc.visible { display: flex; }
.sticky-atc-price { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.sticky-atc-btn { flex: 1; max-width: 240px; }

.fbt-carousel .pc-track > * { min-width: calc(33.333% - 15px); }
.fbt-card { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color 0.25s ease; }
.fbt-card:hover { border-color: var(--primary-light); }
.fbt-card-img { width: 72px; height: 72px; flex-shrink: 0; border-radius: var(--radius-sm); background: linear-gradient(145deg, var(--surface-2), var(--primary-tint)); }
.fbt-card-info { display: flex; flex-direction: column; gap: 4px; }
.fbt-card-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--ink); }
.fbt-card-price { font-size: 0.88rem; color: var(--muted); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.compare-table thead th { background: var(--surface-2); font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody th { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.compare-table .row-best { background: var(--primary-tint); }

.affiliate-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--surface-2); border-left: 3px solid var(--primary); border-radius: var(--radius-sm); font-size: 0.86rem; color: var(--muted); }
.affiliate-note strong { color: var(--ink); }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  min-height: 48px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.3s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { flex-shrink: 0; font-size: 1.3rem; color: var(--primary); font-family: var(--font-body); font-weight: 400; transition: transform 0.35s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { padding-bottom: 22px; color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16 / 10; background: linear-gradient(145deg, var(--surface-2), var(--primary-tint)); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-cat { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.blog-card-title { font-family: var(--font-heading); font-size: 1.28rem; font-weight: 600; line-height: 1.3; }
.blog-card-title a { color: var(--ink); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary-dark); }
.blog-card-excerpt { font-size: 0.88rem; color: var(--muted); }
.blog-card-meta { margin-top: auto; padding-top: 12px; font-size: 0.76rem; color: var(--subtle); }

.article-layout { max-width: 1440px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.article-body { max-width: var(--measure); font-size: 1.03rem; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { margin: 40px 0 14px; }
.article-body h3 { margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--primary); background: var(--surface-2); font-family: var(--font-heading); font-size: 1.2rem; color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; color: var(--subtle); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-toc { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.article-toc h2 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.article-toc ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.article-toc a { font-size: 0.86rem; color: var(--muted); text-decoration: none; }
.article-toc a:hover { color: var(--primary); }

.prose { max-width: var(--measure); margin: 0 auto; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 0.9rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-family: var(--font-body); font-weight: 700; color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  min-height: 48px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); outline: none; }
.form-legal { font-size: 0.78rem; color: var(--subtle); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.88rem; color: var(--primary-dark); }

.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.contact-aside { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.contact-aside h2 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-aside dl { display: flex; flex-direction: column; gap: 16px; }
.contact-aside dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); font-weight: 700; }
.contact-aside dd { color: var(--text); }

.newsletter { background: var(--surface-2); border-top: 1px solid var(--line); padding: 68px 24px; }
.newsletter-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.newsletter-text p { color: var(--muted); margin-top: 12px; max-width: 520px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.newsletter-form input { flex: 1; min-width: 220px; min-height: 48px; padding: 13px 16px; font-family: var(--font-body); font-size: 0.95rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.newsletter-form input:focus { border-color: var(--primary); outline: none; }
.newsletter-note { font-size: 0.76rem; color: var(--subtle); margin-top: 12px; }

.age-modal { display: none; position: fixed; inset: 0; z-index: 2500; background: var(--scrim); align-items: center; justify-content: center; padding: 24px; }
.age-modal.open { display: flex; }
.age-panel { max-width: 460px; width: 100%; background: var(--bg); border-radius: var(--radius-lg); padding: 36px; text-align: center; box-shadow: var(--shadow); }
.age-panel h2 { font-size: 1.7rem; margin-bottom: 12px; }
.age-panel p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.age-actions { display: flex; flex-direction: column; gap: 10px; }
.age-legal { font-size: 0.74rem; color: var(--subtle); margin-top: 18px; margin-bottom: 0; }

.footer { background: var(--ink); color: var(--bg); padding: 72px 24px 32px; }
.footer-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .nav-logo { color: var(--bg); display: inline-block; margin-bottom: 16px; }
.footer-brand .nav-logo em { color: var(--primary-light); }
.footer-brand p { font-size: 0.88rem; opacity: 0.76; max-width: 320px; }
.footer-col h4 { color: var(--bg); font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--bg); opacity: 0.74; text-decoration: none; font-size: 0.87rem; transition: opacity 0.25s ease; }
.footer-col a:hover { opacity: 1; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social span { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-invert); border-radius: 50%; color: var(--bg); cursor: pointer; transition: background 0.25s ease; }
.footer-social span:hover { background: rgba(255, 251, 248, 0.12); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { max-width: 1440px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line-invert); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-copy { font-size: 0.78rem; opacity: 0.66; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.76rem; color: var(--bg); opacity: 0.66; text-decoration: none; }
.footer-legal a:hover { opacity: 1; }
.footer-disclaimer { max-width: 1440px; margin: 20px auto 0; font-size: 0.74rem; opacity: 0.58; }

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-track > * { min-width: calc(33.333% - 15px); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .category-layout { grid-template-columns: 220px 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1rem; color: var(--ink); }
  .mobile-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  body.page-hero-dark .nav-links.open a { color: var(--ink); }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; --header-h: 100px; }
  .hero { padding: 150px 24px 76px; min-height: 62vh; }
  .hero-meta { gap: 20px; margin-top: 30px; }
  .page-head { padding-top: calc(var(--header-h) + 40px); }
  .nav-cta { display: none; }
  .nav-logo { font-size: 1.22rem; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .product-info { padding: 13px; }
  .product-name { font-size: 0.9rem; line-height: 1.3; }
  .product-desc { display: none; }
  .product-price { font-size: 1.1rem; }
  .btn-offer { padding: 11px 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-body { padding: 16px; }
  .blog-card-title { font-size: 1.1rem; }
  .blog-card-excerpt { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .pc-arrow, .carousel-arrow { display: none !important; }
  .products-carousel { overflow: visible; }
  .pc-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 24px;
    padding-right: 24px;
    scroll-padding-left: 24px;
  }
  .pc-viewport::-webkit-scrollbar { display: none; }
  .pc-track { transition: none; gap: 12px; }
  .pc-track > * {
    width: calc(100vw - 72px);
    min-width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .subcat-card { width: auto !important; min-width: auto !important; max-width: none !important; }
  .filters-sidebar { display: none !important; }
  .category-layout { grid-template-columns: 1fr !important; padding-bottom: 84px; }
  .category-toolbar { display: none !important; }
  .category-toolbar-mobile { display: flex !important; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .filter-bottom-bar { display: flex; }
  .footer-col { border-top: 1px solid var(--line-invert); }
  .footer-col h4 { cursor: pointer; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 16px 0; }
  .footer-col h4::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s ease; opacity: 0.7; }
  .footer-col.open h4::after { transform: translateY(2px) rotate(-135deg); }
  .footer-col ul { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
  .footer-col ul > li { overflow: hidden; }
  .footer-col.open ul { grid-template-rows: 1fr; padding-bottom: 16px; }
  .footer-brand p { max-width: none; }
  .compare-table { min-width: 620px; }
  .trust-item strong { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
  .filter-modal-overlay { display: none !important; }
  .filter-bottom-bar { display: none !important; }
  .filters-sidebar { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item-row { display: inline-flex; align-items: center; gap: 2px; }
.nav-mega-toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: transparent; border: 0; color: var(--muted); cursor: pointer; }
.nav-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s ease; opacity: 0.8; }
.nav-item.open > .nav-item-row .nav-caret { transform: translateY(1px) rotate(-135deg); }
body.page-hero-dark .nav-mega-toggle { color: var(--bg); }
body.page-hero-dark nav#navbar.scrolled .nav-mega-toggle { color: var(--muted); }
.mega-panel {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 540px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  z-index: 1200;
}
.mega-panel-single { min-width: 320px; }
.nav-item.has-mega:hover > .mega-panel,
.nav-item.has-mega:focus-within > .mega-panel,
.nav-item.has-mega.open > .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.mega-panel-single .mega-inner { grid-template-columns: minmax(0, 1fr); }
.mega-col-title { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 14px; }
.mega-col ul { list-style: none; display: grid; gap: 9px; }
.nav-links .mega-panel a { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 500; color: var(--text); padding: 2px 0; }
.nav-links .mega-panel a::after { display: none; }
.nav-links .mega-panel a:hover { color: var(--primary-dark); }
.mega-foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.nav-links .mega-foot a { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary); }

body.page-hero-dark .nav-links .mega-panel a,
body.page-hero-dark nav#navbar.scrolled .nav-links .mega-panel a { color: var(--text); }
body.page-hero-dark .nav-links .mega-panel a:hover,
body.page-hero-dark nav#navbar.scrolled .nav-links .mega-panel a:hover { color: var(--primary-dark); }
body.page-hero-dark .nav-links .mega-foot a,
body.page-hero-dark nav#navbar.scrolled .nav-links .mega-foot a { color: var(--primary); }
body.page-hero-dark .nav-links .mega-foot a:hover,
body.page-hero-dark nav#navbar.scrolled .nav-links .mega-foot a:hover { color: var(--primary-dark); }

.editorial-todo { border: 1px dashed var(--primary-light); border-radius: var(--radius); padding: 20px 22px; background: var(--primary-tint); color: var(--primary-dark); font-size: 0.88rem; }
.editorial-todo p + p { margin-top: 8px; }
.editorial-todo a { color: var(--primary-dark); }

.obf-link { color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.obf-link:hover { color: var(--primary-dark); }
.footer-col .obf-link { color: var(--bg); opacity: 0.74; text-decoration: none; font-size: 0.87rem; }
.footer-col .obf-link:hover { opacity: 1; }
.footer-cookie-btn { background: transparent; border: 0; padding: 0; font-family: var(--font-body); font-size: 0.87rem; color: var(--bg); opacity: 0.74; cursor: pointer; text-align: left; }
.footer-cookie-btn:hover { opacity: 1; }

.compare-table caption { caption-side: top; text-align: left; padding: 14px 18px; font-size: 0.8rem; color: var(--muted); background: var(--surface); }
.form-legal { font-size: 0.78rem; color: var(--subtle); margin-top: 12px; }

@media (min-width: 1101px) {
  .footer-grid { grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links.open { justify-content: flex-start; align-items: stretch; overflow-y: auto; padding: 92px 24px 56px; gap: 0; }
  .nav-links.open .nav-item { display: block; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links.open .nav-item-row { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .nav-links.open .nav-item > a,
  .nav-links.open .nav-item-row > a { display: block; padding: 17px 0; font-size: 1.02rem; }
  .nav-links.open .nav-mega-toggle { width: 46px; height: 46px; color: var(--ink); }
  .nav-links.open .mega-panel {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
  }
  .nav-links.open .mega-body { overflow: hidden; }
  .nav-links.open .nav-item.open > .mega-panel,
  .nav-links.open .nav-item.has-mega:focus-within > .mega-panel { grid-template-rows: 1fr; }
  .nav-links.open .mega-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 18px; }
  .nav-links.open .mega-foot { margin-top: 0; padding-bottom: 18px; }
}

.mega-col-title-second { margin-top: 20px; }

.blog-card-img { overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.magazine-article { color: var(--text); }
.magazine-article h1 { margin-bottom: 18px; }
.magazine-article .article-meta { justify-content: flex-start; gap: 18px; margin-top: 0; }
.magazine-article .article-meta a { color: var(--muted); }
.magazine-article .article-meta a:hover { color: var(--primary); }

.chapo {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 34px;
}

.magazine-article figure { margin: 34px 0; }
.magazine-article figure img { width: 100%; height: auto; border-radius: var(--radius); }
.magazine-article figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--subtle);
  border-left: 2px solid var(--primary-light);
  padding-left: 12px;
}

.encadre-sante {
  margin: 30px 0;
  padding: 20px 24px;
  background: var(--surface-2);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}
.encadre-sante > :last-child { margin-bottom: 0; }
.encadre-sante p { margin-bottom: 12px; }

.tableau-scroll {
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tableau-scroll table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--surface); font-size: 0.9rem; }
.tableau-scroll caption { caption-side: top; text-align: left; padding: 14px 18px; font-size: 0.8rem; color: var(--muted); background: var(--surface); }
.tableau-scroll th, .tableau-scroll td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tableau-scroll thead th {
  background: var(--surface-2);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.tableau-scroll tbody tr:last-child td { border-bottom: none; }

.magazine-article .sources {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.magazine-article .sources h2 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.magazine-article .sources li { margin-bottom: 10px; line-height: 1.65; }
