
/* ===== FINAL banner pass (owner, 2026-12-04, latest word) =====
   The owner repeats: on mobile the banner photo's LEFT and RIGHT
   sides are being cut off — the photo must stay fully responsive
   and EXACTLY as it is on the website (desktop): the whole
   picture inside the frame, nothing cropped on any side, and the
   text exactly the same too; and the top moving strip (carousel)
   must not hide when the page is scrolled.
   ROOT CAUSE of the crop: the supplied photo is 2170x725 (about
   3:1), but the <=1024px banner frame was forced to 1280x720
   (16:9) with object-fit:cover — filling a 16:9 frame from a 3:1
   photo MUST slice the left and right edges away. No focal point
   can undo that geometry. So the frame now takes the PHOTO'S OWN
   2170x725 shape at every phone/tablet width (<=1024px): the
   photo fills its frame edge to edge with zero crop on any side,
   no empty bands, no blurred filler — the complete picture, same
   as on desktop, scaled to the screen width. Desktop (>1024px)
   is untouched.
   TEXT SAME-TO-SAME: the copy is the desktop copy, unchanged —
   the same 3-line headline, the same sub-headline (shown again
   on phones too, it is part of the banner), and the same Shop
   Now button — overlaid on the photo's left side, vertically
   centred, exactly as on desktop. On phones every size is in vw
   units, so the whole copy block scales in direct proportion to
   the photo and always fits inside it at 360 / 375 / 390 / 412 /
   440 alike; a soft pale halo behind the glyphs only (no veil,
   no overlay on the photo) keeps the words readable where they
   cross the toys, and the photo itself shows in its exact
   original colours. Tablets (641-1024) get the same full copy
   at comfortable fixed sizes inside the taller frame.
   TOP STRIP: the strip + header stay-on-scroll treatment from
   the earlier blocks (strip position:fixed in its own right at
   <=1024px, header pinned by the script below, keep-alive
   repaint) is re-asserted here so this final block leaves the
   whole top — moving strip, logo row and search — visible at
   the top of the screen at every scroll position. */
@media (max-width:1024px){
  section.hero{aspect-ratio:2170/725;width:100%;min-height:0;max-height:none;position:relative;overflow:hidden;background:#EAF1EF}
  section.hero>img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center center}
  .hero .hero-veil{display:none}
  .hero .hero-in{position:absolute;inset:0;z-index:2;display:flex;align-items:center}
  /* TOP STRIP STAYS — by STICKY, not fixed (final mechanism,
     probe-verified below): every fixed-based treatment left the
     strip's layout box in place but its paint blank after
     scrolling (only a 2px sliver of navy survived at the top
     edge; an unrelated repaint, e.g. opening the menu, brought
     it back). The strip therefore goes back INSIDE the header
     (the pin script no longer moves it out or pins anything),
     and the whole header — strip, logo row, search — sticks
     with the header's own native position:sticky, the same
     mechanism the desktop header has always used. The earlier
     fixed offsets (strip fixed at top:0, header pushed to
     top:34/52px, body padding reserving their heights) are
     all stood down here. */
  .topbar{position:static}
  header.site, header.site.hdr-pinned{top:0}
  body{padding-top:0}
}
@media (max-width:640px){
  .hero .hero-in .wrap{width:100%;padding:0 12px}
  .hero .hero-copy{max-width:66%;margin:0;padding:0}
  .hero .hero-copy h1{font-size:4.15vw;line-height:1.24;margin:0 0 1vw;text-shadow:0 0 6px rgba(250,246,230,.85),0 0 2px rgba(250,246,230,.9)}
  .hero .hero-copy p{display:block;font-size:2.15vw;line-height:1.45;font-weight:700;margin:0 0 1.5vw;max-width:100%;text-shadow:0 0 5px rgba(250,246,230,.9),0 0 2px rgba(250,246,230,.95)}
  .hero .hero-copy .btn-shopnow{padding:1.2vw 4.2vw;min-height:0;font-size:2.9vw;line-height:1.25;border-width:2px}
}
@media (min-width:641px) and (max-width:1024px){
  .hero .hero-copy{max-width:min(480px,60vw);padding:14px 18px 14px 2px}
  .hero .hero-copy h1{font-size:clamp(1.6rem,3.9vw,2.6rem);line-height:1.25;margin:0 0 8px}
  .hero .hero-copy p{display:block;font-size:clamp(.8rem,1.45vw,.98rem);line-height:1.5;margin:0 0 14px;max-width:430px}
  .hero .hero-copy .btn-shopnow{padding:10px 24px;min-height:44px;font-size:.92rem}
}
/* STRIP REPAINT, corrected mechanism (verified in a live probe at
   390px after scrolling ~1400px): the strip's layout box stayed
   exactly at the top (text spans at y=8, social icons at y=2),
   but its PAINT was blank — only a 2px sliver of navy at the top
   edge — until any unrelated change (opening the menu) forced a
   repaint and the whole strip came back at the same scroll
   position. Both earlier defences failed for the same reason:
   they only ever touched background-color. The mq-keepalive CSS
   animation tweens background-color, which the compositor can
   run WITHOUT re-rasterising the layer's texture (so a dropped
   texture stays blank), and the same animation overrides the
   pin script's inline background-color flips, neutralising them
   too. The keep-alive below instead tweens an INVISIBLE inset
   box-shadow (fully transparent, zero spread): box-shadow
   cannot be composited, so the strip — navy ground, moving
   text and icons together — is genuinely repainted every
   frame, at rest and at every scroll position. The strip looks
   identical (the shadow is transparent); the pin script's
   scroll nudge now also flips the strip's text colour by one
   unit (below), a real style change no animation overrides. */
@keyframes mq-paint-keepalive{from{box-shadow:inset 0 0 0 0 rgba(18,63,134,0)}to{box-shadow:inset 0 0 0 0 rgba(18,63,135,0)}}
/* ...and the box-shadow keep-alive above was itself removed
   again (probe, same scroll test): ANY running animation on
   the strip — colour or shadow — promotes the strip to its
   OWN composited layer, and it is precisely that layer whose
   texture the compositor drops on scroll (the header, which
   has no animation, paints fine in the same frames). The
   strip now carries NO animation of its own: it is plain
   content of the sticky header and paints on the header's
   layer, while the pin script's scroll nudge (real inline
   colour flips, no longer overridden by any animation)
   invalidates that layer's paint on every scroll frame. The
   marquee track's own movement is untouched — it lives on
   the track, not on the strip. */
.topbar{animation:none}
