/* GlowBase v3 refinements. Loaded after redesign.css + gb-overrides.css.
 * Scope: palette shift away from golden tans, new logos/imagery, benefit icons.
 * Layout, typography, interactions and the benefits overlay are intentionally unchanged.
 * Contrast (WCAG): ink #3f3a39 on cream 9.9:1 / blush 8.6:1; small muted text #5c5655 on
 * cream 6.4:1 / blush 5.5:1; warm dark gray #6d6767 only for large headings (4.3-4.9:1).
 */
:root{
  --gb-cream:#f6f0e5;--gb-blush:#eedfd6;--gb-gray:#a4a4a4;--gb-warm-gray:#6d6767;--gb-taupe:#917b6d;
  --gb-ink:#3f3a39;--gb-ink-soft:#5c5655;--gb-deep:#2b2726;--gb-focus:#4a3f3a;
  /* remap legacy tokens used throughout redesign.css */
  --tan:var(--gb-blush);--ink:var(--gb-ink);--cream:var(--gb-cream);--muted:var(--gb-warm-gray);--line:rgba(63,58,57,.22)
}

/* Focus: dark ring on light surfaces, white ring on photography/dark surfaces */
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:var(--gb-focus)}
.benefits a:focus-visible,.cinematic a:focus-visible,.site-footer a:focus-visible,.site-footer button:focus-visible,.hero a:focus-visible{outline-color:#fff}

/* Header + logos: render supplied PNGs directly (no blend/invert) */
.site-header{background:var(--gb-blush)}
.logo img{mix-blend-mode:normal}
.footer-logo{filter:none}
.header-support{border-color:rgba(63,58,57,.5)}
.header-support:hover{background:rgba(255,255,255,.45)}

/* Hero: neutral-warm shade instead of golden brown */
.hero{background:var(--gb-warm-gray)}
.hero-shade{background:linear-gradient(90deg,rgba(43,39,38,.46),rgba(43,39,38,.16) 55%,transparent 78%)}
.button-solid{background:var(--gb-cream);border-color:var(--gb-cream);color:var(--gb-ink)}
.button-solid:hover{background:#fff;border-color:#fff}

/* Light sections */
.product-copy .compatibility,.mood-state,.faq details p,.infographic figcaption{color:var(--gb-ink-soft)}
.features{background:var(--gb-blush)}
.swatches button{border-color:var(--gb-cream)}
.retailer{background:var(--gb-blush)}
.button-amazon{background:var(--gb-ink);border-color:var(--gb-ink);color:#fff}
.button-amazon:hover{background:#574f4d;border-color:#574f4d}
.retailer-action p{color:var(--gb-ink-soft)}

/* Product cutout (portrait 1200x1890): re-seat ambient glow behind the new base */
.product-glow{top:34%;width:40%;left:28%;height:90px}

/* Infographic: full portrait, never cropped */
.infographic img{width:auto;max-width:100%;max-height:680px;object-fit:contain}
#overview-dialog img{object-fit:contain}
.overview-full{display:inline-block;margin-top:14px;font-size:13px;color:var(--gb-ink-soft);text-decoration:underline;text-underline-offset:4px;padding:6px 0}

/* Cinematic close-up: the new photo's subject fills the right side, so on desktop the
 * copy moves to the soft-focus left side (shade mirrored) to keep product detail clear. */
.cinematic{background:var(--gb-warm-gray)}
@media(min-width:701px){
  .cinematic-copy{left:8%;right:auto;width:30%}
  .cinematic-shade{background:linear-gradient(270deg,transparent 45%,rgba(36,31,30,.32) 68%,rgba(36,31,30,.62))}
}

/* Tap targets: enlarge hit areas without changing the visual layout */
.hero-secondary,.infographic figcaption a{min-height:44px;display:inline-flex;align-items:center}
.faq details{padding:12px 0}
.faq summary{padding:12px 0}

/* Footer */
.site-footer{background:var(--gb-deep);color:var(--gb-cream)}
.footer-care p,.footer-bottom{color:#d6cfcb}
.footer-bottom{border-top-color:#4a4443}
.archive-links{display:flex;gap:20px}

/* Benefits: icons above headings. Overlay (.benefits-shade) is intentionally untouched.
 * Subgrid aligns label / icon / heading rows across all four columns. */
.benefit-icon{display:block;width:64px;height:64px;margin:0 0 22px}
@supports (grid-template-rows:subgrid){
  .benefit-grid{grid-template-rows:auto 1fr auto auto auto}
  .benefit-grid article{display:grid;grid-row:span 5;grid-template-rows:subgrid;justify-content:stretch;align-content:end}
  .benefit-grid .benefit-number{margin-bottom:0}
  .benefit-grid .benefit-icon{grid-row:3;align-self:end}
  .benefit-grid article h2{grid-row:4;margin-top:0}
  .benefit-grid article p{grid-row:5;align-self:start}
}

@media(max-width:700px){
  .hero-image{object-position:80% top}
  .hero-shade{background:linear-gradient(0deg,#5e524b 3%,#5e524b 37%,rgba(94,82,75,.9) 46%,transparent 68%)}
  .cinematic-shade{background:linear-gradient(0deg,rgba(36,31,30,.78),rgba(36,31,30,.2) 70%)}
  .product-glow{top:32%;left:25%;width:46%;height:75px}
  .benefit-icon{width:48px;height:48px;margin-bottom:14px}
  @supports (grid-template-rows:subgrid){
    .benefit-grid{grid-template-rows:repeat(2,auto 0 auto auto auto)}
    .benefit-grid article{align-content:start}
    .benefit-grid .benefit-number{margin-bottom:22px}
  }
}

/* Amazon badge link (replaces the Ask-about-availability button). Badge is 160x48; shown at native size. */
.gb-amazon-badge{display:inline-flex;align-items:center;min-height:44px;border-radius:6px;transition:opacity .2s}
.gb-amazon-badge img{display:block;width:160px;height:auto}
.gb-amazon-badge:hover{opacity:.85}
.gb-amazon-badge:focus-visible{outline:3px solid var(--gb-focus);outline-offset:4px}