/* ============================================
   SuperStructuring v0.3 — Best of Both
   Header/Hero/Trust: v0.2 (clean, confident)
   Orange accents: v0.1 (search, cart, CTAs)
   Content sections: v0.1 (proven, image-rich)
   Footer: Black
   ============================================ */

:root {
  --color-brand: #1D19FA;
  --color-brand-dark: #1510C4;
  --color-brand-light: #EDEDFF;
  --color-brand-glow: rgba(29, 25, 250, 0.08);
  --color-orange: #F5A623;
  --color-orange-hover: #E5961F;

  --color-text: #1a1a1a;
  --color-text-secondary: #5a5a5a;
  --color-text-light: #FFFFFF;

  --color-link: #1D19FA;
  --color-link-hover: #1510C4;
  --color-star: #F5A623;
  --color-success: #16A34A;
  --color-sale: #DC2626;

  --color-bg: #FFFFFF;
  --color-bg-warm: #FAFAF8;
  --color-bg-light: #F5F5F7;
  --color-border: #E5E5E5;
  --color-border-light: #EEEEEE;

  --max-width: 1280px;
  --content-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-link); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--color-link-hover); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }

/* --- Announcement Bar --- */
.announcement {
  background: var(--color-brand);
  color: var(--color-text-light);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.announcement strong { color: var(--color-orange); }

/* --- Header (v0.2 white + v0.1 orange accents) --- */
.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 8px 24px;
  gap: 20px;
}
.header-logo img { height: 24px; }
.header-logo .logo-icon { display: none; }

.header-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.header-nav a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.header-nav a:hover {
  background: var(--color-brand-light);
  color: var(--color-brand);
  text-decoration: none;
}

.header-search {
  display: flex;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  max-width: 340px;
  position: relative;
}
.header-search:focus-within { border-color: var(--color-brand); }
.header-search input {
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
}
.header-search button {
  padding: 8px 14px;
  background: var(--color-orange);
  color: var(--color-text);
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0;
}
.header-search button:hover { background: var(--color-orange-hover); }
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 480px;
  overflow-y: auto;
  z-index: 1000;
}
.search-dropdown[hidden] { display: none; }
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px solid #f0f0f0;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover,
.search-result.active { background: #f7f7f7; text-decoration: none; }
.search-result-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}
.search-result-text { flex: 1; min-width: 0; }
.search-result-name {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-sub {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}
.search-empty {
  padding: 16px 12px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-action {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-action:hover { color: var(--color-brand); text-decoration: none; }
.cart-badge {
  background: var(--color-orange);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Hero (v0.2 style: white/blue split, tag, two CTAs) --- */
.hero {
  background: var(--color-brand);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 460px;
  align-items: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.hero-text { color: white; padding: 60px 0; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero p {
  font-size: 18px;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.btn-orange {
  background: var(--color-orange);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}
.btn-orange::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-orange:hover {
  background: var(--color-orange-hover);
  color: var(--color-text);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}
.btn-orange:hover::after {
  left: 125%;
}
.btn-orange:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(245, 166, 35, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: white;
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}
.btn-outline:active {
  transform: translateY(0);
  background: rgba(255,255,255,0.15);
}
.btn-brand {
  background: var(--color-brand);
  color: white;
}
.btn-brand:hover { background: var(--color-brand-dark); color: white; text-decoration: none; }

.hero-image { display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.hero-image img {
  max-height: 380px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
  transition: filter 0.5s ease, transform 0.5s ease;
}
.hero-image img:hover {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  transform: scale(1.02);
}

/* --- Trust Strip (v0.2: green dots, clean) --- */
.trust-strip {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px;
}
.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: dot-pulse 5.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* --- Sections --- */
.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 20px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}
.section-title.text-center { text-align: center; }

.product-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.product-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover .product-card-title { color: var(--color-brand); }
.product-card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 13px;
}
.stars { color: var(--color-star); letter-spacing: -1px; }
.product-card-price {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text);
}
.product-card-price .cents { font-size: 12px; vertical-align: super; }

.product-card-img {
  aspect-ratio: 1;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}
/* Hero image sizing: object-fit:contain letterboxes to preserve aspect ratio.
   Pair with the hero gold-standard (tools/audit-hero-fill.py) which enforces
   ≥95% content-fill per file — without that, odd-aspect files render smaller
   than neighbors inside this card. See SuperStructuring/CLAUDE.md → Hero
   image gold standard. Regression tripwire: Day 7 v0.7.5-v0.7.8. */
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.04);
}
.product-card-body {
  padding: 14px 8px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.product-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.price-now { font-size: 22px; font-weight: 800; color: var(--color-text); }
.price-now sup { font-size: 12px; }
.price-was { font-size: 13px; color: var(--color-text-secondary); text-decoration: line-through; }
.product-card-meta { margin-top: 8px; font-size: 12px; color: var(--color-success); font-weight: 600; }
.badge-bestseller {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* --- Features Grid (v0.1) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.feature-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* --- Two-col content sections (v0.1) --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.content-split img { border-radius: var(--radius-sm); }
.content-split h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.content-split p { font-size: 16px; line-height: 1.6; margin-bottom: 16px; color: var(--color-text-secondary); }
.content-split ul { padding-left: 20px; font-size: 15px; margin-bottom: 20px; }
.content-split li { margin-bottom: 4px; }
.feature-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.feature-check { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-brand);
  padding: 40px 24px;
}
.stats-bar-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  color: white;
}
.stat-number { font-size: 42px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 13px; opacity: 0.75; }

/* --- Lifestyle Banner (v0.1) --- */
.lifestyle-banner { position: relative; overflow: hidden; }
.lifestyle-banner img { width: 100%; max-height: 400px; object-fit: cover; }
.lifestyle-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29,25,250,0.85) 0%, rgba(29,25,250,0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.lifestyle-banner-text { color: white; max-width: 500px; }
.lifestyle-banner-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.lifestyle-banner-text p { font-size: 16px; opacity: 0.9; margin-bottom: 20px; }

/* --- Footer (BLACK) --- */
.footer {
  background: #0f0f0f;
  color: white;
}
.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.footer p { font-size: 14px; opacity: 0.7; line-height: 1.6; }
.footer a { color: white; opacity: 0.7; font-size: 14px; }
.footer a:hover { opacity: 1; color: white; }
.footer li { margin-bottom: 10px; }
.footer-newsletter { display: flex; margin-top: 16px; }
.footer-newsletter input {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 14px;
  outline: none;
  flex: 1;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter button {
  padding: 10px 16px;
  background: var(--color-brand);
  color: white;
  font-weight: 700;
  font-size: 13px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  opacity: 0.4;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 28px; }
  .hero-ctas { justify-content: center; }
  .hero-image img { max-height: 280px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .content-split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .header-nav { display: none; }
  .header-logo .logo-full { display: none; }
  .header-logo .logo-icon { display: block; height: 32px; }
  .header-search { flex: 1; max-width: none; order: 3; }
  .hero h1 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card { padding: 10px; }
  .trust-strip-inner { gap: 16px; }
  .trust-item { font-size: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-checks { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .lifestyle-banner-overlay { padding: 0 24px; }
  .lifestyle-banner-text h2 { font-size: 24px; }
}

/* --- Brand Slider (TY.com inspired) --- */
.brand-slider {
  padding: 80px 0 40px;
  background: var(--color-bg);
  overflow: hidden;
}
.brand-slider.sticky {
  position: fixed;
  top: var(--header-h, 49px);
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
/* Spacer to prevent content jump when slider goes fixed */
.brand-slider-spacer {
  display: none;
}
.brand-slider-spacer.active {
  display: block;
}
.brand-slider-header {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 24px;
  transition: margin 0.3s ease, opacity 0.3s ease, max-height 0.3s ease;
  max-height: 120px;
  overflow: hidden;
}
.brand-slider-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.brand-slider-header p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}
/* When sticky, collapse the header text */
.brand-slider.sticky .brand-slider-header {
  max-height: 0;
  margin: 0;
  opacity: 0;
}

/* Slider wrapper with arrows */
.brand-slider-wrapper {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 52px;
}

/* Slider arrows — TY.com style: bare chevron, no circle, no background */
.brand-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 80px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
  color: var(--color-brand);
  z-index: 3;
  transition: opacity 0.2s ease;
  padding: 0;
  opacity: 0.5;
}
.brand-arrow:hover {
  opacity: 1;
}
.brand-arrow-left { left: 0; }
.brand-arrow-right { right: 0; }

/* Slider track — seamless belt with edge fade */
.brand-slider-track {
  display: flex;
  gap: 0;
  overflow-x: scroll;
  scroll-behavior: auto;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
  padding: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 48px, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 48px, black calc(100% - 48px), transparent 100%);
}
.brand-slider-track::-webkit-scrollbar { display: none; }

/* Slider items — clean, spacious, logos stand out on white */
.brand-slider-item {
  flex: 0 0 auto;
  width: 175px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  margin: 0 4px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease;
}
.brand-slider-item:hover {
  opacity: 0.7;
}
.brand-slider-item:active {
  opacity: 0.5;
}
.brand-slider-item img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  pointer-events: none;
  filter: saturate(1.3) contrast(1.1);
}
/* Per-brand sizing + translateX — equalizes the white-space gap between
   adjacent logos in the slider strip to 58 px (the trex→fiberon default),
   pixel-measured from the rendered loop.

   Trex / TimberTech / MoistureShield render ~10% larger than the other
   four. Trex's SVG declares an intrinsic width="88" so we override with
   CSS width:97. TimberTech and MoistureShield are PNGs height-bound at
   60 px; bumping max-height to 66 lets them grow but the default
   max-width:140 cap would clip them, so per-brand max-width opens up.

   Layout: 7-tile loop at pitch 183 px (tile width 175 + 4 margin × 2),
   sum of content widths 875 (97+132+140+149+122+147+88), 7 × gap 58
   = 406, 875 + 406 = 1281 = 7×183. Half-pixel translateX values come
   from the parity mismatch between odd inner-width (151) and the mix
   of even/odd logo widths — browsers render fractional translateX
   sub-pixel-accurately. Recompute if any width or the pitch changes. */
/* translateX values are derived from MEASURED rendered widths (97 / 132 /
   141 / 149 / 123 / 148 / 90), not the planned widths — anti-aliased
   edges on the PNGs add 1–2 px of visible content over the nominal
   max-width. Sum_widths = 880; with pitch 183, the uniform gap lands at
   (1281 − 880)/7 = 57.29 px (one px under the 58 target, but visually
   identical because the extra px is AA fringe). Spread = 0. */
.brand-slider-item[data-brand="trex"] img { width: 97px; height: auto; transform: translateX(-16px); }
.brand-slider-item[data-brand="fiberon"] img { transform: translateX(-27.2px); }
.brand-slider-item[data-brand="armadillo"] img { transform: translateX(-16.4px); }
/* TimberTech and MoistureShield are wide PNGs (aspect 5.2 / 4.1) that
   width-bind well below max-height — max-height bumps were no-ops.
   max-width 153/154 accounts for the white-margin trim ratio inside each
   PNG (440/452, 540/564), so the visible content lands at +10%. */
.brand-slider-item[data-brand="timbertech"] img { max-width: 153px; transform: translateX(2.9px); }
/* Endeck logo is wide-aspect (3:1, icon + ENDECK + tagline). Without the
   max-width override below it would render at 140 px — breaks the gap
   loop. Constrain to 122 px so the loop math holds. */
.brand-slider-item[data-brand="endeck"] img { max-width: 122px; transform: translateX(13.1px); }
.brand-slider-item[data-brand="moistureshield"] img { max-width: 154px; transform: translateX(22.9px); }
.brand-slider-item[data-brand="wolf"] img { transform: translateX(16.2px); }

/* Brand Product Groups */
/* max-width is 94.5% of --content-width (1200 → 1134) so the 3-column
   grid inside renders ~5.5% narrower than other site sections. (The
   first iteration tried 90% / -10% but read too small; the 5%-larger
   bump from there lands at 0.9 × 1.05 = 0.945.) Section header logo +
   CTA pill stay their natural sizes; only the card grid scales with
   the container. */
.brand-products {
  max-width: calc(var(--content-width) * 0.945);
  margin: 0 auto;
  padding: 60px 24px 48px;
}
.brand-product-group {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.brand-product-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.brand-product-group-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  padding: 8px 0;
}
.brand-product-group-header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-product-group-header h3 span { display: none; }
.brand-product-group-header h3 img {
  height: 80px;
  opacity: 1;
}
/* Wolf logo is structurally taller (W graphic + subtitle stacked) — keep
   it at the larger header size so it reads at parity with the wordmark
   logos that use 80px. */
.brand-product-group[data-brand="wolf"] .brand-product-group-header h3 img {
  height: 120px;
}
/* Legacy bare "See all ›" links (still in coming-soon sections) stay hidden;
   the new "All [Brand] Products" CTA opts in via .brand-section-cta. */
.brand-product-group-header a:not(.brand-section-cta) { display: none; }
/* "All [Brand] Products" CTA — block-centered link beneath the product
   grid, mirroring the brand logo above. Active sections only; coming-soon
   sections don't render this element (no destination yet). */
.brand-section-cta {
  display: block;
  width: max-content;
  margin: 32px auto 0;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
  letter-spacing: 0.2px;
  border: 1.5px solid var(--color-brand);
  border-radius: 999px;
  transition: background-color 0.15s, color 0.15s;
}
.brand-section-cta:hover {
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
}

/* Coming-soon state — applied to brand-product-group sections whose real
   catalog hasn't shipped yet. Dims inner content and overlays a ribbon;
   pointer-events: none defuses the placeholder '#' links underneath. */
.brand-product-group.coming-soon { position: relative; pointer-events: none; }
.brand-product-group.coming-soon > .brand-product-group-header,
.brand-product-group.coming-soon > .product-scroll-container {
  opacity: 0.35;
  filter: grayscale(0.6);
}
.brand-product-group.coming-soon::after {
  content: "Coming Soon";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  background: var(--color-brand);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 3px;
  padding: 12px 36px;
  border-radius: 8px;
  z-index: 5;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Product grid — 3 columns centered (TY.com style) */
.product-scroll-container {
  position: relative;
}
.product-scroll-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
}

@media (max-width: 900px) {
  .product-scroll-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .product-scroll-track { grid-template-columns: 1fr; }
}

/* Product row scroll arrows (hidden — using grid now, kept for future use).
   The flex/centering rules below would activate if a future variant flips
   `display: none` off; until then they're cheap dormant declarations. */
.scroll-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
  transition: all 0.2s;
  color: var(--color-text-secondary);
}
.scroll-arrow:hover {
  background: var(--color-brand);
  color: white;
  border-color: var(--color-brand);
  box-shadow: 0 4px 12px rgba(29,25,250,0.2);
}
.scroll-left { left: -14px; }
.scroll-right { right: -14px; }

.text-center { text-align: center; }
