/* BabyRompers editorial layer, October 2026. Loaded after the existing styles. */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --beige-primary: #526d59;
  --beige-light: #dfe8dc;
  --beige-dark: #354f3e;
  --brown-secondary: #526d59;
  --brown-light: #8aa18c;
  --brown-dark: #2e4535;
  --cream: #f8f5ee;
  --cream-mid: #f4f0e7;
  --cream-dark: #eee8dd;
  --white: #fffdf8;
  --terracotta: #a4674f;
  --terracotta-light: #d9a992;
  --terracotta-dark: #85513d;
  --coffee: #2d3831;
  --coffee-mid: #506055;
  --coffee-light: #6d776e;
  --sage-green: #718c75;
  --sage-green-light: #dfe8dc;
  --sage-green-dark: #526d59;
  --amber: #a4674f;
  --taupe-border: #e3ddcf;
  --warm-gray: #72796e;
  --warm-gray-light: #a8aa9e;
  --olive-green: #526d59;
  --bx-ink: #2d3831;
  --bx-ink-soft: #647066;
  --bx-cream: #f8f5ee;
  --bx-cream-2: #f1ecdf;
  --bx-line: #e3ddcf;
  --bx-accent: #526d59;
  --bx-accent-dark: #354f3e;
  --bx-beige: #a4b5a1;
  --bx-sage: #526d59;
  --bx-amber: #a4674f;
  --bx-shadow-sm: 0 2px 12px rgba(58, 69, 49, .06);
  --bx-shadow: 0 12px 30px rgba(58, 69, 49, .1);
  --bx-shadow-lg: 0 22px 56px rgba(58, 69, 49, .14);
  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}
html { scroll-behavior: smooth; }
body.bx-scope { background: var(--bx-cream); color: var(--bx-ink); font-family: var(--font-body); }
body.bx-scope h1, body.bx-scope h2, body.bx-scope h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; }
body.bx-scope :focus-visible { outline: 3px solid #a4674f; outline-offset: 3px; }
.bx-container { max-width: 1320px; padding-inline: clamp(20px, 4vw, 56px); }
.bx-header { background: rgba(248, 245, 238, .96); border-bottom-color: var(--bx-line); box-shadow: none; }
.bx-header-inner { height: 78px; justify-content: space-between; gap: 32px; }
.bx-search { max-width: 470px; }
.bx-search input { height: 48px; background: #fffdf8; border: 1px solid var(--bx-line); border-radius: 7px; padding-left: 18px; }
.bx-search button { border-radius: 5px; }
.bx-navrow { background: transparent; }
.bx-nav { justify-content: flex-start; gap: clamp(18px, 3vw, 38px); height: 48px; }
.bx-nav a { color: var(--bx-ink); font-size: 13px; letter-spacing: .02em; }
.bx-nav a.is-hot { color: var(--bx-accent); }
.bx-mega { border-radius: 8px; }
.bx-btn { border-radius: 7px; font-size: 14px; letter-spacing: .01em; min-height: 52px; padding: 14px 24px; }
.bx-btn-primary { box-shadow: none; }
.bx-btn-primary:hover { box-shadow: 0 8px 20px rgba(53, 79, 62, .2); }
.bx-btn:active, .bx-iconbtn:active { transform: translateY(1px) scale(.99); }
.bx-btn-outline { border-color: var(--bx-accent); color: var(--bx-accent); }
.bx-btn-sm { min-height: 42px; }

/* A single editorial image replaces the floating ecommerce badges. */
.bx-hero { background: #f1ecdf; }
.bx-hero-inner { max-width: 1320px; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 6vw, 94px); min-height: 610px; padding: 50px clamp(20px, 4vw, 56px) 56px; }
.bx-hero-copy { position: relative; z-index: 2; }
.bx-pill { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--bx-accent); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.bx-pill span { margin-left: 4px; }
.bx-hero h1 { max-width: 740px; font-size: clamp(56px, 5.5vw, 82px); line-height: 1.02; letter-spacing: -.055em; margin-top: 28px; text-wrap: balance; }
.bx-hero h1 em { font-weight: 500; color: var(--bx-accent); }
.bx-hero p.sub { max-width: 510px; margin-top: 26px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.72; }
.bx-hero-ctas { margin-top: 32px; }
.bx-hero-trust { padding-top: 22px; margin-top: 28px; border-top: 1px solid #d8d1c2; gap: 10px 24px; }
.bx-hero-trust span { font-size: 12px; font-weight: 600; }
.bx-hero-note { margin: 28px 0 0; color: var(--bx-accent); font-family: var(--font-display); font-style: italic; font-size: 19px; }
.bx-hero-art { min-height: 500px; align-self: stretch; display: flex; align-items: center; }
.bx-hero-main { width: 100%; aspect-ratio: 1 / 1.1; border-radius: 48% 48% 8px 8px; background: #d9d5c8; box-shadow: none; }
.bx-hero-main img { object-position: center 42%; }
.bx-hero-blob, .bx-float { display: none; }
.bx-hero-caption { position: absolute; z-index: 2; right: -18px; bottom: 34px; padding: 16px 20px; background: #fffdf8; box-shadow: var(--bx-shadow); font-family: var(--font-display); font-size: 16px; color: var(--bx-ink); transform: rotate(-3deg); }
.bx-hero-caption span { color: var(--bx-accent); margin-left: 12px; }

.bx-marquee { background: #526d59; }
.bx-marquee-track { animation-duration: 35s; }
.bx-marquee .dot { color: #d7e0d0; }
.bx-section { padding: 92px 0 102px; }
.bx-section.alt { background: #f1ecdf; }
.bx-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.bx-section-head { text-align: left; max-width: 620px; margin: 0 0 38px; }
.bx-section-head h2, .bx-head-row .l h2, .bx-promise h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.09; letter-spacing: -.045em; }
.bx-section-head p, .bx-head-row .l p { max-width: 580px; line-height: 1.65; }
.bx-head-row { margin-bottom: 32px; }
.bx-head-row .seeall { color: var(--bx-accent); border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.bx-trust { background: #fffdf8; }
.bx-trust-grid { gap: 0; }
.bx-trust-item { padding: 30px 20px; }
.bx-trust-ic { background: #e8eee5; border-radius: 50%; }
.bx-trust-item h4 { font-family: var(--font-body); }
.bx-age-grid { gap: 16px; }
.bx-age-card { aspect-ratio: 4 / 5; border-radius: 5px; box-shadow: none; }
.bx-age-meta { left: 22px; bottom: 20px; }
.bx-age-meta .t { font-size: 26px; }
.bx-collection { gap: 16px; grid-auto-rows: 210px; }
.bx-col-card { border-radius: 5px; box-shadow: none; }
.bx-col-card .meta .t { font-size: 27px; }
.bx-promise-inner { gap: clamp(50px, 7vw, 110px); }
.bx-promise-imgs .big { border-radius: 48% 48% 5px 5px; box-shadow: none; aspect-ratio: 4 / 5; }
.bx-promise-imgs .small { border-radius: 4px; box-shadow: var(--bx-shadow); right: -20px; }
.bx-promise-list .ic { background: #e8eee5; color: var(--bx-accent); }
.bx-promise-action { margin-top: 30px; }
.bx-gift { border-radius: 5px; overflow: hidden; }
.bx-gift h2, .bx-newsletter h2 { font-size: clamp(38px, 3.7vw, 56px); line-height: 1.08; }
.bx-gift .copy { background: #e3e9dd; color: var(--bx-ink); }
.bx-gift .copy h2 { color: var(--bx-ink); }
.bx-gift .copy p { color: var(--bx-ink-soft); }
.bx-gift .eyebrow-l { color: var(--bx-accent); }
.bx-review { border: 1px solid var(--bx-line); border-radius: 5px; box-shadow: none; }
.bx-review:hover { box-shadow: var(--bx-shadow-sm); transform: translateY(-3px); }
.bx-review .av { background: var(--bx-accent) !important; border-radius: 5px; }
.bx-newsletter { border-radius: 5px; overflow: hidden; }
.bx-newsletter .inner { max-width: 670px; }
.bx-news-form input { border-radius: 5px; }
.bx-footer { background: #2d3831; border-top: 0; }
.bx-footer:before { background: none; }
.bx-footer h3 { color: #c6d5c3; }
.bx-footer .affiliate-disclosure { border-radius: 5px; }

/* Shared collection and product views retain their existing layout. */
.page-header, .category-header { background: #f1ecdf; }
.page-header h1, .category-header h1, .product-detail-info h1 { color: var(--bx-ink); }
.bx-category.section { background: #f8f5ee; padding: 64px 0 96px; }
.bx-category .section-title { text-align: left; font-family: var(--font-display); font-size: clamp(38px, 4vw, 56px); color: var(--bx-ink); line-height: 1.08; margin-bottom: 14px; }
.bx-category-count { display: inline-block; background: #e8eee5; color: var(--bx-accent); padding: 7px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; margin: 0 0 28px; }
.bx-category select { border-radius: 5px !important; background: #fffdf8 !important; border-color: var(--bx-line) !important; }
.product-card { border: 1px solid var(--bx-line) !important; border-radius: 5px !important; box-shadow: none !important; background: #fffdf8; }
.product-card:hover { box-shadow: var(--bx-shadow-sm); }
.product-image { background: #f1ecdf; }
.product-card .card-image-wrap { background: #f1ecdf !important; }
.product-card .card-image-note { position: absolute; left: 10px; bottom: 10px; padding: 5px 7px; background: rgba(255,253,248,.94); color: var(--bx-ink-soft); font: 600 10px var(--font-body); border-radius: 3px; }
.product-card .card-title { font-family: var(--font-body) !important; font-size: 14px !important; letter-spacing: -.01em; }
.product-card .btn-primary { border-radius: 5px !important; }
.bx-products .product-card { border-color: var(--bx-line) !important; box-shadow: none !important; }
.bx-products .product-card:hover { box-shadow: var(--bx-shadow-sm) !important; }

.halloween-home-section { background: #f8f5ee; }
.halloween-home-head h2 { color: var(--bx-ink); }
.halloween-home-head p { color: var(--bx-ink-soft); }
.halloween-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.halloween-home-card { border-radius: 5px; border-color: var(--bx-line); box-shadow: none; }
.halloween-home-card:hover { box-shadow: var(--bx-shadow-sm); }
.halloween-home-theme, .halloween-home-link, .halloween-home-head .seeall { color: var(--bx-accent); }
.halloween-home-copy { padding: 18px; }
.halloween-home-copy strong { font-size: 15px; }

@media (max-width: 1024px) {
  .bx-hero-inner { grid-template-columns: 1fr 1fr; min-height: 0; gap: 32px; }
  .bx-hero-art { min-height: 0; }
  .bx-hero h1 { font-size: clamp(48px, 6vw, 64px); }
  .bx-promise-inner { grid-template-columns: 1fr 1fr; gap: 42px; }
}
@media (max-width: 860px) {
  .bx-header-inner { height: 70px; }
  .bx-logo .logo-full { display: none; }
  .bx-logo .logo-compact { display: block; }
  .bx-hero-inner { grid-template-columns: 1fr; padding-top: 54px; gap: 44px; }
  .bx-hero-art { width: min(100%, 540px); margin: 0 auto; }
  .bx-hero-main { aspect-ratio: 1 / .95; }
  .bx-promise-inner { grid-template-columns: 1fr; }
  .halloween-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .bx-container { padding-inline: 20px; }
  .bx-section { padding: 66px 0 74px; }
  .bx-hero-inner { padding: 38px 20px 50px; gap: 32px; }
  .bx-hero h1 { font-size: clamp(44px, 12vw, 64px); margin-top: 21px; }
  .bx-hero p.sub { font-size: 15px; margin-top: 18px; }
  .bx-hero-ctas { gap: 10px; margin-top: 23px; }
  .bx-hero-ctas .bx-btn { padding-inline: 16px; }
  .bx-hero-trust { margin-top: 21px; gap: 9px 14px; }
  .bx-hero-note { font-size: 17px; margin-top: 20px; }
  .bx-hero-main { aspect-ratio: 1 / 1.08; }
  .bx-hero-caption { right: -5px; bottom: 20px; font-size: 13px; }
  .bx-age-grid { gap: 10px; }
  .bx-age-card { aspect-ratio: 3 / 4; }
  .bx-age-meta { left: 10px; right: 10px; bottom: 12px; }
  .bx-age-meta .t { font-size: 18px; }
  .bx-age-meta .s { font-size: 10px; }
  .bx-collection { grid-auto-rows: 225px; }
  .bx-trust-grid { grid-template-columns: 1fr 1fr; }
  .bx-trust-item { padding: 20px 10px; display: block; }
  .bx-trust-ic { margin-bottom: 10px; }
  .bx-trust-item h4 { font-size: 13px; }
  .bx-trust-item p { font-size: 11px; }
  .halloween-home-grid { gap: 10px; }
  .halloween-home-copy { padding: 12px; }
  .halloween-home-copy strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-marquee-track { animation: none; }
  .bx-age-card, .bx-col-card, .bx-review { transition: none; }
}
