/* Compact hero on range pages (v1.196): products first. The full-screen hero put the first product
   1.4 screens down; this band keeps the H1, the one-line promise and the proof, then the range
   follows on the first screen. Linked after each page's own styles on /bathtubs and /vanity-and-storage. */
section.hero { min-height: 0; padding: 136px 0 44px; }
section.hero .hero-eyebrow { margin-bottom: 14px; }
section.hero .hero-title { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin-bottom: 14px; }
section.hero .hero-subtitle { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 640px; margin: 0 auto 22px; color: #E8E4DC; }
section.hero .hero-scroll { display: none; }
/* the swipeable size row must not widen the band past the screen (flex items default to min-width: auto) */
section.hero .hero-content { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }

section.hero .hero-cta-group.hero-compact-cta { flex-direction: column; align-items: center; flex-wrap: nowrap; gap: 0; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0 auto 22px; padding: 0; max-width: 760px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; color: #F4FAFB; font-size: 0.95rem; font-weight: 500; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C8A96E; flex: none; }

.hero-jump { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.hero-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(244, 250, 251, 0.55); color: #F4FAFB; font-size: 0.95rem; font-weight: 600; text-decoration: none; letter-spacing: 0.01em; transition: background .2s ease, color .2s ease; }
.hero-jump a:hover { background: #F4FAFB; color: #1A3A4A; }
.hero-jump a.hero-jump-main { background: #3D8B9E; border-color: #3D8B9E; }
.hero-jump a.hero-jump-main:hover { background: #2A6F80; color: #fff; }
.hero-jump a:focus-visible { outline: 2px solid #E8D5A8; outline-offset: 2px; }
.hero-visit { margin-top: 16px; font-size: 0.92rem; color: #E8E4DC; }
.hero-visit a { color: #E8D5A8; font-weight: 600; text-underline-offset: 4px; }

/* the range starts right under the band */
section.hero + .products-section { padding-top: 56px; }
section.hero + .products-section .products-header { margin-bottom: 36px; }

@media (max-width: 768px) {
  section.hero { padding: 100px 0 28px; }
  section.hero .hero-eyebrow { font-size: 0.7rem; margin-bottom: 10px; }
  section.hero .hero-title { font-size: clamp(2rem, 8.4vw, 2.5rem); margin-bottom: 10px; }
  section.hero .hero-subtitle { font-size: 0.95rem; margin-bottom: 16px; }
  .hero-proof { gap: 6px 14px; margin-bottom: 16px; }
  .hero-proof li { font-size: 0.85rem; }
  /* one swipeable row of size buttons instead of three lines */
  .hero-jump { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 16px; margin: 0 -24px; scrollbar-width: none; }
  .hero-jump::-webkit-scrollbar { display: none; }
  .hero-jump a { flex: none; font-size: 0.9rem; padding: 0 16px; }
  section.hero + .products-section { padding-top: 24px; }
  section.hero + .products-section .products-header { margin-bottom: 16px; }
  section.hero + .products-section .products-header .eyebrow { display: none; }
  section.hero + .products-section .products-header h2 { font-size: 1.7rem; margin-bottom: 8px; }
  section.hero + .products-section .products-header p { font-size: 0.92rem; line-height: 1.5; }
  section.hero + .products-section .bestsellers-label { margin-bottom: 12px; }
}

/* rotating headline line, as on the homepage (v1.197): every phrase sits in one grid cell, so the
   title keeps the height of the longest phrase and nothing below it jumps */
.hero-rotator { display: inline-grid; justify-items: center; align-items: center; }
.hero-rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.hero-rotator > span.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-rotator > span { transition: none; transform: none; } }
