/* hover-wrapped */
/* ==========================================================================
   Enfantillage — kids store redesign
   Palette pulled straight from the balloon logo.
   ========================================================================== */

:root {
  /* logo colors */
  --navy: #25318c;
  --navy-deep: #1a2266;
  --red: #e8222b;
  --green: #3db54a;
  --blue: #00a6e4;
  --pink: #ec1c8c;
  --teal: #12b5c1;
  --sun: #ffc83d;

  /* soft tints of the same colors for backgrounds */
  --red-soft: #ffe7e8;
  --green-soft: #e3f6e5;
  --blue-soft: #def4fd;
  --pink-soft: #fde4f1;
  --teal-soft: #dcf6f8;
  --sun-soft: #fff4d6;
  --navy-soft: #e6e8f7;

  --ink: #1e2459;
  --ink-soft: #5a6090;
  --line: #e6e8f3;
  --paper: #ffffff;
  --cream: #fffaf2;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 6px rgba(37, 49, 140, .08);
  --shadow: 0 10px 30px rgba(37, 49, 140, .12);
  --shadow-lg: 0 24px 60px rgba(37, 49, 140, .18);

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Candy buttons (press down on click) ---------- */
.btn {
  --c: var(--red);
  --c-dark: #b3151c;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .2px;
  box-shadow: 0 5px 0 var(--c-dark);
  transform: translateY(0);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background .2s;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--c-dark); } }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--c-dark); }
.btn--navy { --c: var(--navy); --c-dark: var(--navy-deep); }
.btn--green { --c: var(--green); --c-dark: #2a8a35; }
.btn--blue { --c: var(--blue); --c-dark: #0080b0; }
.btn--pink { --c: var(--pink); --c-dark: #b5126a; }
.btn--white { --c: #fff; --c-dark: rgba(0,0,0,.15); color: var(--navy); }
.btn--sm { padding: 8px 16px; font-size: 15px; box-shadow: 0 3px 0 var(--c-dark); }
@media (hover: hover) and (pointer: fine) { .btn--sm:hover { box-shadow: 0 5px 0 var(--c-dark); } }
.btn--sm:active { box-shadow: 0 0 0 var(--c-dark); transform: translateY(3px); }

.icon { width: 24px; height: 24px; flex: none; }

/* ==========================================================================
   Top promo ticker
   ========================================================================== */
.ticker {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.ticker__track {
  display: flex; gap: 56px; width: max-content;
  padding: 9px 0;
  animation: marquee 38s linear infinite;
}
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker__track { animation-play-state: paused; } }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticker__item b { color: var(--sun); }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--sun)); }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(37,49,140,.10); }
.header__row {
  display: flex; align-items: center; gap: 24px;
  padding-top: 12px; padding-bottom: 12px;
  transition: padding .3s var(--ease-out);
}
.header.is-scrolled .header__row { padding-top: 6px; padding-bottom: 6px; }
.logo { flex: none; display: block; }
.logo img { height: 74px; width: auto; transition: height .3s var(--ease-out), transform .4s var(--ease-bounce); }
.header.is-scrolled .logo img { height: 54px; }
@media (hover: hover) and (pointer: fine) { .logo:hover img { transform: rotate(-4deg) scale(1.05); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 14px; background: var(--navy-soft); color: var(--navy); align-items: center; justify-content: center; }

/* search */
.search { flex: 1; position: relative; max-width: 640px; }
.search__box {
  display: flex; align-items: center;
  background: var(--blue-soft);
  border: 3px solid transparent;
  border-radius: 999px;
  padding: 4px 4px 4px 20px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search__box:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 6px rgba(0,166,228,.12); }
.search__input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 16px; font-weight: 700; padding: 8px 4px; min-width: 0;
}
.search__input::placeholder { color: var(--ink-soft); font-weight: 600; }
.search__btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-bounce), background .2s;
}
@media (hover: hover) and (pointer: fine) { .search__btn:hover { transform: rotate(-12deg) scale(1.08); background: var(--navy); } }
.search__suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .25s var(--ease-out), visibility .2s;
  max-height: 70vh; overflow: auto;
  z-index: 70;
}
.search.is-open .search__suggest { opacity: 1; visibility: visible; transform: none; }
.suggest__label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); padding: 8px 10px 4px; font-weight: 800; }
.suggest__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.suggest__chip { padding: 6px 12px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); font-size: 14px; font-weight: 800; transition: background .2s, color .2s; }
@media (hover: hover) and (pointer: fine) { .suggest__chip:hover { background: var(--navy); color: #fff; } }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; transition: background .15s; }
.suggest__item.is-active { background: var(--blue-soft); }
@media (hover: hover) and (pointer: fine) { .suggest__item:hover { background: var(--blue-soft); } }
.suggest__item img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; }
.suggest__item span { font-size: 14px; line-height: 1.3; }
.suggest__item small { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.suggest__item b { margin-left: auto; color: var(--navy); font-family: var(--font-display); }
.suggest__empty { padding: 16px; text-align: center; color: var(--ink-soft); }

/* header actions */
.actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.action {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 10px; border-radius: 16px;
  font-size: 12px; font-weight: 800; color: var(--navy);
  transition: background .2s, transform .3s var(--ease-bounce);
}
@media (hover: hover) and (pointer: fine) { .action:hover { background: var(--navy-soft); transform: translateY(-2px); } }
.action .icon { width: 28px; height: 28px; }
.action__count {
  position: absolute; top: 0; right: 4px;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; line-height: 22px; text-align: center;
  border: 2px solid #fff;
  transform: scale(0); transition: transform .35s var(--ease-bounce);
}
.action__count.has-items { transform: scale(1); }
.action.bump { animation: bump .6s var(--ease-bounce); }
@keyframes bump { 0%{transform:scale(1)} 30%{transform:scale(1.25) rotate(-8deg)} 60%{transform:scale(.92) rotate(4deg)} 100%{transform:scale(1)} }

/* ---------- Main nav + mega menus ---------- */
.nav { border-top: 1px solid var(--line); background: #fff; }
.nav__list { display: flex; align-items: stretch; gap: 4px; }
.nav__item { position: static; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 14px;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--navy);
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 4px; border-radius: 4px;
  background: var(--c, var(--red));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__item:focus-within .nav__link::after, .nav__link.is-current::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__item:hover .nav__link::after { transform: scaleX(1); } }
.nav__link .caret { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__item:hover .caret { transform: rotate(180deg); } }
.nav__emoji { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c-soft, var(--red-soft)); }
.nav__emoji svg { width: 16px; height: 16px; color: var(--c, var(--red)); }
.nav__item--offer { margin-left: auto; }
.nav__item--offer .nav__link { color: var(--red); }
.nav__pill { background: var(--red); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 13px; animation: wobble 3s ease-in-out infinite; display: inline-block; }
@keyframes wobble { 0%,86%,100%{transform:rotate(0)} 90%{transform:rotate(-8deg)} 94%{transform:rotate(8deg)} 97%{transform:rotate(-4deg)} }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  box-shadow: 0 30px 50px rgba(37,49,140,.15);
  border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
  z-index: 40;
}
.nav__item:focus-within .mega, .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) { .nav__item:hover .mega { opacity: 1; visibility: visible; transform: none; } }
.mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 28px; padding: 28px 20px 32px; }
.mega__col h4 { font-size: 18px; color: var(--c, var(--navy)); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mega__col h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.mega__col a { display: block; padding: 5px 0; color: var(--ink-soft); font-weight: 700; transition: color .2s, transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mega__col a:hover { color: var(--navy); transform: translateX(6px); } }
.mega__promo {
  border-radius: var(--radius); padding: 22px; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--red));
  position: relative; overflow: hidden; min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mega__promo h3 { font-size: 26px; margin-bottom: 4px; }
.mega__promo img { position: absolute; right: -10px; top: -10px; width: 150px; height: 150px; object-fit: contain; mix-blend-mode: multiply; border-radius: 50%; background: #fff; padding: 10px; transform: rotate(8deg); transition: transform .5s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .mega__promo:hover img { transform: rotate(-4deg) scale(1.08); } }

/* mega: visual tiles (ages / characters / brands) */
.mega__tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding: 26px 20px 30px; }
.mega__tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 10px; border-radius: var(--radius);
  background: var(--c-soft); color: var(--c);
  font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.1;
  transition: transform .35s var(--ease-bounce), box-shadow .3s;
}
@media (hover: hover) and (pointer: fine) { .mega__tile:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow); } }
.mega__tile big { font-size: 34px; line-height: 1; }
.mega__tile small { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.mega__tile img { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; background: #fff; mix-blend-mode: multiply; }
.mega__tiles--chars { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mega__brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 26px 20px 30px; }
.mega__brands a { padding: 14px 10px; border: 2px solid var(--line); border-radius: 16px; text-align: center; font-family: var(--font-display); font-weight: 800; color: var(--c, var(--navy)); transition: border-color .2s, transform .3s var(--ease-bounce), background .2s; }
@media (hover: hover) and (pointer: fine) { .mega__brands a:hover { border-color: currentColor; transform: translateY(-3px); background: var(--c-soft, var(--navy-soft)); } }
.mega__brands a.has-logo { display: grid; place-items: center; min-height: 58px; padding: 8px 10px; }
.mega__brands a.has-logo img { width: 110px; height: 32px; object-fit: contain; }
.mega__foot { grid-column: 1 / -1; text-align: center; }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(26,34,102,.45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 90;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; width: min(420px, 92vw);
  background: #fff; z-index: 100;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), visibility .45s;
  box-shadow: var(--shadow-lg);
  visibility: hidden;
}
/* the menu and cart wait just off screen while closed. They sit in a full-screen frame that clips them,
   so no phone browser can scroll sideways into the empty space where the closed cart waits */
.drawer-clip { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 100; }
.drawer-clip > .drawer { position: absolute; pointer-events: auto; }
.drawer--left { left: 0; transform: translateX(-105%); border-radius: 0 28px 28px 0; }
.drawer--right { right: 0; transform: translateX(105%); border-radius: 28px 0 0 28px; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 2px dashed var(--line); }
.drawer__head h3 { font-size: 24px; color: var(--navy); }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; transition: transform .3s var(--ease-bounce), background .2s; }
@media (hover: hover) and (pointer: fine) { .drawer__close:hover { transform: rotate(90deg); background: var(--red-soft); color: var(--red); } }
.drawer__body { flex: 1; overflow: auto; padding: 12px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 2px dashed var(--line); }

.macc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--navy); border-bottom: 1px solid var(--line); }
.macc__btn .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--red)); margin-right: 10px; display: inline-block; }
.macc__btn svg { transition: transform .3s; }
.macc.is-open .macc__btn svg { transform: rotate(180deg); }
.macc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.macc.is-open .macc__panel { grid-template-rows: 1fr; }
.macc__panel > div { overflow: hidden; }
.macc__panel a { display: block; padding: 9px 4px 9px 22px; color: var(--ink-soft); font-weight: 700; }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.ship-meter { background: var(--green-soft); border-radius: 16px; padding: 12px 14px; margin: 12px 0; font-size: 14px; font-weight: 800; color: #1e7a2a; }
.ship-meter__bar { height: 10px; background: #fff; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.ship-meter__fill { height: 100%; width: 0; border-radius: 99px; background: repeating-linear-gradient(45deg, var(--green), var(--green) 10px, #55c862 10px, #55c862 20px); transition: width .6s var(--ease-out); animation: stripes 1s linear infinite; background-size: 28px 28px; }
@keyframes stripes { to { background-position: 28px 0; } }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: slideInRight .4s var(--ease-out); }
.cart-line img { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; background: #fff; border: 2px solid var(--line); }
.cart-line h5 { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 800; }
.cart-line small { color: var(--ink-soft); font-weight: 800; font-size: 12px; }
.cart-line__price { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 18px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--navy-soft); border-radius: 999px; padding: 3px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--navy); font-weight: 900; display: grid; place-items: center; transition: transform .2s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .qty button:hover { transform: scale(1.15); } }
.qty span { min-width: 26px; text-align: center; font-weight: 900; font-size: 14px; }
.cart-empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); }
.cart-empty svg { width: 120px; height: 120px; margin: 0 auto 12px; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding: 56px 0; position: relative; }
.section--tint { background: var(--cream); }
.section--sky { background: var(--blue-soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section__title { font-size: clamp(28px, 4vw, 42px); color: var(--navy); display: flex; align-items: center; gap: 12px; }
.section__title .squiggle { color: var(--c, var(--red)); width: 44px; height: 44px; flex: none; }
.section__sub { color: var(--ink-soft); font-size: 17px; margin-top: 6px; font-weight: 700; }
.see-all {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); font-weight: 800; font-family: var(--font-display); font-size: 17px;
  padding: 8px 16px; border-radius: 999px; background: var(--navy-soft);
  transition: background .2s, color .2s, gap .3s var(--ease-out);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .see-all:hover { background: var(--navy); color: #fff; gap: 12px; } }

/* wavy dividers */
.wave { display: block; width: 100%; height: 48px; }
.wave--top { margin-bottom: -1px; }
.wave--bottom { margin-top: -1px; }

/* ==========================================================================
   Scroll reveal — elements glide in from the side as you reach them
   ========================================================================== */
.reveal { opacity: 0; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); will-change: transform, opacity; }
.reveal[data-from="left"] { transform: translateX(-80px); }
.reveal[data-from="right"] { transform: translateX(80px); }
.reveal[data-from="up"] { transform: translateY(50px); }
.reveal[data-from="pop"] { transform: scale(.7) rotate(-6deg); transition-timing-function: var(--ease-out), var(--ease-bounce); }
.reveal.is-in { opacity: 1; transform: none; }
/* phones and tablets: nothing slides in from the sides. Elements waiting off to the right made the page wider
   than the screen on some phone browsers (sideways scrolling into white space), so they fade up instead */
@media (max-width: 1024px) {
  .reveal[data-from="left"]:not(.is-in), .reveal[data-from="right"]:not(.is-in) { transform: translateY(36px); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 22px 0 10px; position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 18px; }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; isolation: isolate; box-shadow: var(--shadow); }
.slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  padding: 40px 48px;
  background: var(--bg);
  color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide__text { position: relative; z-index: 3; }
.slide__text > * { opacity: 0; transform: translateX(-50px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.slide.is-active .slide__text > * { opacity: 1; transform: none; }
.slide.is-active .slide__text > *:nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide__text > *:nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide__text > *:nth-child(4) { transition-delay: .3s; }
.slide__kicker { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; margin-bottom: 14px; backdrop-filter: blur(4px); }
.slide__title { font-size: clamp(36px, 5vw, 64px); line-height: .98; margin-bottom: 14px; color: var(--navy); }
.slide__title em { font-style: normal; color: var(--accent); display: inline-block; }
.slide__desc { font-size: 18px; max-width: 420px; margin-bottom: 22px; color: var(--ink-soft); }
.slide__art { position: relative; height: 100%; min-height: 340px; }
.blob {
  position: absolute;
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transform: translateX(80px) scale(.8);
  transition: opacity .7s var(--ease-out), transform 1s var(--ease-bounce);
}
.blob img { width: 64%; height: 64%; object-fit: contain; mix-blend-mode: multiply; }
.slide.is-active .blob { opacity: 1; transform: none; }
.slide.is-active .blob:nth-child(2) { transition-delay: .12s; }
.slide.is-active .blob:nth-child(3) { transition-delay: .24s; }
.blob--a { width: 62%; aspect-ratio: 1; right: 14%; top: 4%; }
.blob--b { width: 34%; aspect-ratio: 1; left: 0; bottom: 4%; }
.blob--c { width: 30%; aspect-ratio: 1; right: 0; bottom: 0; }
/* the white circle and its picture float together, so the toy never drifts outside its circle */
.blob > span { animation: floaty 6s ease-in-out infinite; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.15); overflow: hidden; }
.blob--b > span { animation-delay: -2s; }
.blob--c > span { animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(3deg); } }
.price-burst {
  position: absolute; left: 30%; top: 8%; z-index: 4;
  width: 96px; height: 96px; display: grid; place-items: center; text-align: center;
  background: var(--sun); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; line-height: 1; font-size: 15px;
  clip-path: polygon(50% 0%, 61% 12%, 77% 6%, 80% 22%, 96% 26%, 89% 41%, 100% 54%, 86% 63%, 90% 80%, 73% 80%, 65% 96%, 50% 87%, 35% 96%, 27% 80%, 10% 80%, 14% 63%, 0% 54%, 11% 41%, 4% 26%, 20% 22%, 23% 6%, 39% 12%);
  transform: rotate(-12deg) scale(0);
  transition: transform .8s var(--ease-bounce) .4s;
}
.price-burst b { font-size: 28px; display: block; }
.slide.is-active .price-burst { transform: rotate(-12deg) scale(1); }

/* decorative confetti + balloons inside slides */
.slide__deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.slide__deco i { position: absolute; display: block; border-radius: 50%; opacity: .1; background: var(--accent); }

.slider__nav { position: absolute; z-index: 5; left: 48px; bottom: 26px; display: flex; gap: 8px; align-items: center; }
.dot-btn { width: 12px; height: 12px; border-radius: 99px; background: rgba(37,49,140,.22); transition: width .4s var(--ease-out), background .3s; position: relative; overflow: hidden; }
.dot-btn.is-active { width: 44px; background: rgba(37,49,140,.16); }
.dot-btn.is-active::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: left; animation: fillbar var(--dur, 6s) linear forwards; }
.slider.is-paused .dot-btn.is-active::after { animation-play-state: paused; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider__arrows { position: absolute; z-index: 5; right: 22px; bottom: 20px; display: flex; gap: 10px; }
.arrow-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 4px 0 rgba(0,0,0,.12);
  transition: transform .3s var(--ease-bounce), background .2s, color .2s;
}
@media (hover: hover) and (pointer: fine) { .arrow-btn:hover { transform: scale(1.12); background: var(--sun); } }
.arrow-btn:active { transform: scale(.94); }
.arrow-btn[disabled] { opacity: .35; pointer-events: none; }

.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.promo-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg);
  color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  min-height: 210px;
  transition: transform .4s var(--ease-bounce), box-shadow .3s;
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) and (pointer: fine) { .promo-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); } }
.promo-tile h3 { font-size: 30px; line-height: 1; margin-bottom: 6px; max-width: 60%; position: relative; z-index: 2; color: var(--accent); }
.promo-tile p { font-size: 15px; max-width: 58%; position: relative; z-index: 2; margin-bottom: 12px; color: var(--ink-soft); }
.promo-tile .link-arrow { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; background: var(--accent); color: #fff; width: max-content; padding: 6px 14px; border-radius: 999px; transition: gap .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .promo-tile:hover .link-arrow { gap: 12px; } }
.promo-tile__img { position: absolute; right: -14px; bottom: -14px; width: 52%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .6s var(--ease-bounce); }
.promo-tile__img img { width: 66%; height: 66%; object-fit: contain; mix-blend-mode: multiply; }
@media (hover: hover) and (pointer: fine) { .promo-tile:hover .promo-tile__img { transform: rotate(-10deg) scale(1.06); } }

/* perks strip under hero */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--c-soft); transition: transform .3s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .perk:hover { transform: translateY(-3px); } }
.perk__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--c); color: #fff; display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .perk:hover .perk__icon { transform: rotate(-12deg) scale(1.1); } }
.perk b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.1; color: var(--ink); }
.perk small { color: var(--ink-soft); font-size: 13px; font-weight: 700; }

/* ==========================================================================
   Category bubbles
   ========================================================================== */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 16px 4px 22px; margin: -16px -4px 0; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-wrap { position: relative; }
.rail-wrap .arrow-btn { position: absolute; top: 40%; z-index: 3; box-shadow: var(--shadow); }
.rail-wrap .arrow-btn--prev { left: -18px; }
.rail-wrap .arrow-btn--next { right: -18px; }

.cat-bubble { width: 148px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cat-bubble__img {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--c-soft);
  display: grid; place-items: center;
  position: relative;
  transition: transform .45s var(--ease-bounce), box-shadow .3s;
}
.cat-bubble__img::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 4px dashed var(--c); opacity: 0; transform: rotate(0); transition: opacity .3s; }
@media (hover: hover) and (pointer: fine) { .cat-bubble:hover .cat-bubble__img::before { opacity: 1; animation: spin 8s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.cat-bubble__img img { width: 68%; height: 68%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .cat-bubble:hover .cat-bubble__img { transform: translateY(-8px); } }
@media (hover: hover) and (pointer: fine) { .cat-bubble:hover .cat-bubble__img img { transform: scale(1.12) rotate(-6deg); } }
.cat-bubble span { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.1; color: var(--ink); transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .cat-bubble:hover span { color: var(--c); } }

/* ==========================================================================
   Shop by age
   ========================================================================== */
.ages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.age-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c);
  color: #fff;
  padding: 22px 16px 18px;
  min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center;
  box-shadow: 0 8px 0 var(--c-dark);
  transition: transform .4s var(--ease-bounce), box-shadow .3s;
}
@media (hover: hover) and (pointer: fine) { .age-tile:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 18px 0 var(--c-dark); } }
.age-tile:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--c-dark); }
.age-tile__num { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: .9; letter-spacing: -1px; transition: transform .5s var(--ease-bounce); position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .age-tile:hover .age-tile__num { transform: scale(1.12) rotate(-4deg); } }
.age-tile__unit { font-family: var(--font-display); font-weight: 700; font-size: 18px; position: relative; z-index: 2; }
.age-tile__label { font-size: 13px; font-weight: 800; background: rgba(255,255,255,.25); padding: 4px 12px; border-radius: 999px; margin-top: 10px; position: relative; z-index: 2; }
.age-tile__balloon { position: absolute; top: 18px; left: 50%; width: 50px; margin-left: -25px; transition: transform .8s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .age-tile:hover .age-tile__balloon { transform: translateY(-14px) rotate(8deg); } }
.age-tile::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12); top: -50px; right: -60px; }
.age-tile::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.1); bottom: -30px; left: -30px; }

/* ==========================================================================
   Product cards + rails
   ========================================================================== */
.tabs { display: inline-flex; gap: 6px; background: var(--navy-soft); padding: 5px; border-radius: 999px; position: relative; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--navy); transition: color .3s; white-space: nowrap; }
.tab.is-active { color: #fff; }
.tabs__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--navy); transition: transform .45s var(--ease-bounce), width .45s var(--ease-bounce); }

.p-rail { gap: 18px; }
.p-rail .card { width: 248px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-bounce), box-shadow .3s, border-color .3s;
}
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; } }
.card__media {
  position: relative; aspect-ratio: 1;
  margin: 8px; border-radius: 16px;
  background: #fff;
  display: grid; place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.card__media img { width: 88%; height: 88%; max-width: 100%; min-width: 0; object-fit: contain; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__media img { transform: scale(1.08); } }
.card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--c, var(--red)); width: max-content; letter-spacing: .3px; }
.badge--new { --c: var(--green); }
.badge--sale { --c: var(--red); }
.badge--hot { --c: var(--pink); }
.badge--age { --c: var(--blue); }
.card__fav {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--ink-soft);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-bounce), color .2s;
}
@media (hover: hover) and (pointer: fine) { .card__fav:hover { transform: scale(1.15); color: var(--pink); } }
.card__fav.is-on { color: var(--pink); animation: heart .6s var(--ease-bounce); }
.card__fav.is-on svg { fill: currentColor; }
@keyframes heart { 0%{transform:scale(1)} 30%{transform:scale(1.45)} 60%{transform:scale(.9)} 100%{transform:scale(1)} }
.card__quick {
  position: absolute; left: 50%; bottom: 10px; z-index: 2;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--navy); color: #fff;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: transform .35s var(--ease-bounce), opacity .25s, background .2s;
}
.card__quick:focus-visible { transform: translate(-50%, 0); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .card:hover .card__quick { transform: translate(-50%, 0); opacity: 1; } }
@media (hover: hover) and (pointer: fine) { .card__quick:hover { background: var(--blue); } }
.card__body { padding: 4px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: 12px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; color: var(--c, var(--blue)); margin-bottom: 4px; }
.card__name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; margin-bottom: 10px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .card__name:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; } }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1; }
.price s { display: block; font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.price--sale { color: var(--red); }
.add-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 4px 0 #b3151c;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .3s, width .4s var(--ease-bounce);
  position: relative; overflow: hidden;
}
@media (hover: hover) and (pointer: fine) { .add-btn:hover { transform: translateY(-2px) rotate(-8deg); box-shadow: 0 6px 0 #b3151c; } }
.add-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #b3151c; }
.add-btn .i-check { display: none; }
.add-btn.is-added { background: var(--green); box-shadow: 0 4px 0 #2a8a35; }
.add-btn.is-added .i-cart { display: none; }
.add-btn.is-added .i-check { display: block; animation: pop .5s var(--ease-bounce); }
@keyframes pop { from { transform: scale(0) rotate(-45deg); } to { transform: none; } }

/* flying image to cart */
.fly { position: fixed; z-index: 200; width: 70px; height: 70px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); pointer-events: none; display: grid; place-items: center; overflow: hidden; }
.fly img { width: 85%; height: 85%; object-fit: contain; }

/* ==========================================================================
   Brands marquee (two rows sliding in opposite directions)
   ========================================================================== */
.brands { overflow: hidden; padding: 60px 0; background: #fff; position: relative; }
.brands__row { display: flex; width: max-content; gap: 18px; padding: 10px 0; animation: marquee var(--speed, 45s) linear infinite; }
.brands__row--rev { animation-name: marquee-rev; }
@media (hover: hover) and (pointer: fine) { .brands:hover .brands__row { animation-play-state: paused; } }
.brands__mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-chip {
  flex: none; width: 190px; height: 96px;
  border-radius: 24px; background: #fff;
  border: 3px solid var(--line);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.3px;
  color: var(--c);
  padding: 10px;
  transition: transform .35s var(--ease-bounce), border-color .25s, background .25s, color .25s;
}
@media (hover: hover) and (pointer: fine) { .brand-chip:hover { transform: translateY(-6px) scale(1.05) rotate(-2deg); border-color: var(--c); background: var(--c); color: #fff; } }
.brand-chip small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: 1px; opacity: .7; margin-top: 4px; text-transform: uppercase; }
.brand-chip.has-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-soft); }
.brand-chip__logo { width: 140px; height: 44px; object-fit: contain; transition: transform .45s var(--ease-bounce); }
.brand-chip.has-logo small { margin-top: 0; }
@media (hover: hover) and (pointer: fine) { .brand-chip.has-logo:hover { background: var(--c-soft); color: var(--c); box-shadow: var(--shadow); } }
@media (hover: hover) and (pointer: fine) { .brand-chip.has-logo:hover .brand-chip__logo { transform: scale(1.1) rotate(2deg); } }

/* ==========================================================================
   Characters
   ========================================================================== */
.chars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px 16px; }
.char { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.char__ring {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 30%, transparent);
  padding: 8px;
  position: relative;
  transition: transform .5s var(--ease-bounce);
}
/* clean coloured ring: no white shine spilling onto the colour */
.char__img { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.char__img img { width: 68%; height: 68%; object-fit: contain; transition: transform .6s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .char:hover .char__ring { transform: translateY(-8px) rotate(6deg); } }
@media (hover: hover) and (pointer: fine) { .char:hover .char__img img { transform: scale(1.15) rotate(-6deg); } }
.char__name { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.1; color: var(--ink); }
.char__count { font-size: 12px; color: var(--ink-soft); font-weight: 800; margin-top: -6px; }

/* ==========================================================================
   Gift finder (interactive)
   ========================================================================== */
.finder { border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: 40px; position: relative; overflow: hidden; }
.finder__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 36px; position: relative; z-index: 2; }
.finder h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.finder h2 em { font-style: normal; color: var(--sun); }
.finder > .finder__grid > div > p { opacity: .85; margin-bottom: 20px; }
.finder__step { margin-bottom: 18px; }
.finder__step label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.finder__step label span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--navy); font-size: 15px; margin-right: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
  font-weight: 800; font-size: 14px;
  border: 2px solid transparent;
  transition: background .2s, transform .3s var(--ease-bounce), border-color .2s, color .2s;
}
@media (hover: hover) and (pointer: fine) { .chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); } }
.chip.is-on { background: #fff; color: var(--navy); border-color: var(--sun); transform: scale(1.05); }
.finder__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-content: start; min-height: 360px; }
.finder__results .card { border: 0; animation: cardIn .5s var(--ease-bounce) both; animation-delay: var(--d, 0s); }
.finder__count { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 20px; }
.finder__count a { color: var(--sun); font-size: 16px; }
.finder__empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; background: rgba(255,255,255,.08); border-radius: var(--radius); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; transform: none; } }
.finder__balloon { position: absolute; z-index: 1; opacity: .9; }

/* ==========================================================================
   Split banners
   ========================================================================== */
.splits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.split {
  position: relative; overflow: hidden; min-height: 300px;
  border-radius: var(--radius-lg); padding: 36px;
  background: var(--bg); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .4s var(--ease-bounce);
}
@media (hover: hover) and (pointer: fine) { .split:hover { transform: scale(1.015); } }
.split h3 { font-size: clamp(30px, 3.6vw, 44px); max-width: 55%; margin-bottom: 8px; position: relative; z-index: 2; }
.split p { max-width: 50%; margin-bottom: 18px; font-size: 17px; position: relative; z-index: 2; }
.split .btn { width: max-content; position: relative; z-index: 2; }
.split__imgs { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.split__imgs .blob { opacity: 1; transform: none; aspect-ratio: 1; }
.split__imgs .blob:nth-child(1) { width: min(78%, 240px); right: 6%; top: 10%; }
.split__imgs .blob:nth-child(2) { width: min(38%, 120px); left: 0; bottom: 8%; }

/* ==========================================================================
   Budget coins
   ========================================================================== */
.budgets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.coin {
  aspect-ratio: 1.6; border-radius: var(--radius-lg);
  background: var(--c-soft); color: var(--c);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border: 3px dashed var(--c);
  transition: transform .4s var(--ease-bounce), background .3s, color .3s;
}
@media (hover: hover) and (pointer: fine) { .coin:hover { transform: translateY(-6px) rotate(-2deg); background: var(--c); color: #fff; } }
.coin small { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.coin b { font-family: var(--font-display); font-size: 44px; line-height: 1; }

/* ==========================================================================
   Newsletter + footer
   ========================================================================== */
.club {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue), var(--teal));
  color: #fff; padding: 48px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center;
}
.club h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.club p { font-size: 17px; opacity: .95; }
.club form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; position: relative; z-index: 2; }
.club input { flex: 1; border: 0; outline: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; min-width: 0; color: var(--ink); }
.club__note { font-size: 13px; margin-top: 10px; opacity: .9; position: relative; z-index: 2; }
.club__kicker { display: inline-block; background: var(--sun); color: var(--navy); font-weight: 900; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.club form .btn { justify-content: center; white-space: nowrap; flex: none; }
/* cashback voucher shown after signing up: a little ticket */
.voucher { position: relative; z-index: 2; display: grid; gap: 4px; background: #fff; color: var(--navy); border-radius: 20px; padding: 18px 22px; border: 3px dashed var(--sun); box-shadow: 0 10px 24px rgba(0,0,0,.15); text-align: left; }
.voucher::before, .voucher::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--teal); }
.voucher::before { left: -14px; } .voucher::after { right: -14px; }
.voucher__kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 13px; color: var(--red); text-transform: uppercase; letter-spacing: .5px; }
.voucher__kicker .icon { width: 18px; height: 18px; }
.voucher__big { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); line-height: 1; color: var(--navy); }
.voucher__for { font-size: 14px; color: var(--ink-soft); word-break: break-all; }
.voucher__how { font-size: 14px; font-weight: 800; color: var(--ink); }
.voucher__again { justify-self: start; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--ink-soft); text-decoration: underline; }
.club__balloons { position: absolute; right: 30px; top: -10px; display: flex; gap: 10px; pointer-events: none; }

.confetti { position: fixed; z-index: 300; width: 10px; height: 14px; pointer-events: none; border-radius: 2px; }

.footer { background: var(--navy); color: #c9cdf0; margin-top: 60px; position: relative; }
.footer .wave { position: absolute; top: -47px; left: 0; color: var(--navy); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; padding: 56px 20px 36px; }
.footer__logo { background: #fff; border-radius: 24px; padding: 10px 16px; display: inline-block; margin-bottom: 14px; }
.footer__logo img { height: 70px; }
.footer h4 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer a { transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--sun); } }
.footer li { padding: 4px 0; font-weight: 700; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; flex: none; color: var(--sun); margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: transform .3s var(--ease-bounce), background .2s; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--pink); color: #fff; } }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 96px 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pay { display: flex; gap: 8px; }
.pay span { background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 12px; color: #fff; }

/* back to top balloon */
.to-top {
  position: fixed; right: 20px; bottom: 16px; z-index: 45;
  width: 64px; height: 96px;
  opacity: 0; transform: translateY(40px); pointer-events: none;
  transition: opacity .3s, transform .5s var(--ease-bounce);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { .to-top:hover { animation: floaty 1.6s ease-in-out infinite; } }
/* back-to-top: Tillo, flipped so he points left toward the page */
.to-top__tillo { display: block; width: 100%; height: 100%; object-fit: contain; transform: scaleX(-1); filter: drop-shadow(0 6px 8px rgba(30,40,90,.25)); }
.to-top__up { position: absolute; top: -4px; left: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.to-top__up svg { width: 14px; height: 14px; }

/* ==========================================================================
   Quick view modal
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26,34,102,.5); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative; width: min(880px, 100%); max-height: 90vh; overflow: auto;
  background: #fff; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  transform: translateY(40px) scale(.95); opacity: 0;
  transition: transform .45s var(--ease-bounce), opacity .3s;
}
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__media { background: #fff; padding: 30px; display: grid; place-items: center; border-right: 2px dashed var(--line); }
.modal__media img { width: 100%; max-height: 380px; object-fit: contain; }
.modal__info { padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; }
.modal__info h3 { font-size: 28px; color: var(--navy); }
.modal__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.modal__meta span { background: var(--c-soft, var(--navy-soft)); color: var(--c, var(--navy)); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.modal__price { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--navy); }
.modal__price s { font-size: 20px; color: var(--ink-soft); margin-left: 8px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #1e7a2a; font-size: 14px; }
.stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.stock.is-out { color: var(--red); }
.stock.is-out::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 250; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 800; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease-bounce), opacity .3s, visibility .3s; max-width: calc(100vw - 32px); opacity: 0; visibility: hidden; }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast i { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-style: normal; flex: none; }

/* floating decorative balloons that drift with scroll (parallax) */
.para { position: absolute; pointer-events: none; z-index: 0; will-change: transform; }

/* ==========================================================================
   Shop page
   ========================================================================== */
.shop-hero { background: var(--c-soft, var(--blue-soft)); padding: 34px 0 30px; position: relative; overflow: hidden; }
.crumbs { font-size: 14px; color: var(--ink-soft); font-weight: 800; margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--navy); } }
.shop-hero h1 { font-size: clamp(34px, 5vw, 56px); color: var(--c, var(--navy)); }
.shop-hero p { color: var(--ink-soft); font-size: 17px; margin-top: 4px; }
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; padding: 30px 20px 60px; }
.filters { position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.fgroup { border-bottom: 2px dashed var(--line); padding: 14px 0; }
.fgroup__title { display: flex; justify-content: space-between; align-items: center; width: 100%; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy); }
.fgroup__title svg { transition: transform .3s; }
.fgroup.is-closed .fgroup__title svg { transform: rotate(-90deg); }
.fgroup__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease-out); }
.fgroup.is-closed .fgroup__body { grid-template-rows: 0fr; }
.fgroup__body > div { overflow: hidden; }
.fgroup__inner { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.fgroup__inner--scroll { max-height: 240px; overflow: auto; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 15px; transition: background .15s; }
@media (hover: hover) and (pointer: fine) { .check:hover { background: var(--navy-soft); } }
.check input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 2.5px solid #c5c9e6; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s var(--ease-bounce); flex: none; margin: 0; }
.check input:checked { background: var(--c, var(--navy)); border-color: var(--c, var(--navy)); transform: scale(1.08); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-soft); background: var(--navy-soft); padding: 1px 8px; border-radius: 99px; }
.age-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.age-chips button { padding: 8px 4px; border-radius: 12px; font-weight: 900; font-size: 14px; background: var(--c-soft); color: var(--c); border: 2px solid transparent; transition: transform .25s var(--ease-bounce), background .2s, color .2s; }
@media (hover: hover) and (pointer: fine) { .age-chips button:hover { transform: translateY(-2px); } }
.age-chips button.is-on { background: var(--c); color: #fff; }
.range { display: flex; gap: 8px; align-items: center; }
.range input { width: 100%; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--line); font-weight: 800; }
.range input:focus { outline: none; border-color: var(--blue); }
.toggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; padding: 6px 0; }
.toggle input { appearance: none; width: 48px; height: 28px; border-radius: 99px; background: #d5d8ee; position: relative; transition: background .25s; margin: 0; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: transform .35s var(--ease-bounce); box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.toggle input:checked { background: var(--red); }
.toggle input:checked::after { transform: translateX(20px); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar__count { font-weight: 800; color: var(--ink-soft); }
.toolbar__count b { color: var(--navy); font-family: var(--font-display); font-size: 20px; }
.select { padding: 10px 40px 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2325318c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 800; color: var(--navy); cursor: pointer; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.afilter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--c-soft, var(--navy-soft)); color: var(--c, var(--navy)); font-weight: 800; font-size: 14px; animation: pop .35s var(--ease-bounce); }
.afilter button { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; line-height: 1; transition: transform .25s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .afilter button:hover { transform: rotate(90deg) scale(1.1); } }
.clear-all { font-weight: 800; color: var(--red); font-size: 14px; padding: 6px 10px; }
.filter-btn { display: none; }
.p-grid .card { animation: cardIn .5s var(--ease-bounce) both; animation-delay: var(--d, 0s); }
.load-more { display: flex; justify-content: center; margin-top: 30px; }
.empty-state { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }
.empty-state h3 { font-size: 28px; color: var(--navy); margin: 14px 0 6px; }

/* mobile bottom bar */
.mbar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .chars { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mega__tiles--chars { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .finder__grid { grid-template-columns: 320px minmax(0, 1fr); }
  .finder__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .budgets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 90vw); max-height: none; background: #fff; z-index: 100; padding: 20px; transform: translateX(-105%); transition: transform .45s var(--ease-out); border-radius: 0 28px 28px 0; box-shadow: var(--shadow-lg); top: 0; }
  .filters.is-open { transform: none; }
  .filter-btn { display: inline-flex; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .club { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .header__row { flex-wrap: wrap; gap: 10px 12px; }
  .logo img { height: 52px; }
  .header.is-scrolled .logo img { height: 44px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header.is-scrolled .search { display: none; }
  .action__label { display: none; }
  .action--hide-sm { display: none; }
  .section { padding: 40px 0; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .slider { min-height: 520px; border-radius: 24px; }
  .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding: 26px 22px 78px; align-items: start; }
  .slide__art { min-height: 0; height: 190px; align-self: end; }
  .blob--a { width: 170px; right: auto; left: 50%; margin-left: -85px; top: 0; }
  .blob--b { width: 96px; left: 0; bottom: 6px; }
  .blob--c { width: 90px; right: 0; bottom: 6px; }
  .price-burst { width: 78px; height: 78px; font-size: 12px; left: 4%; top: -10px; }
  .price-burst b { font-size: 22px; }
  .slide__deco span { display: none; }
  .slide__title { font-size: 40px; }
  .slide__desc { font-size: 16px; }
  .slider__nav { left: 22px; bottom: 22px; }
  .slider__arrows { right: 16px; bottom: 14px; }
  .arrow-btn { width: 42px; height: 42px; }
  .hero__side { grid-template-columns: minmax(0, 1fr); }
  .promo-tile { min-height: 170px; }
  .perks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .perk { padding: 10px; gap: 8px; }
  .perk__icon { width: 38px; height: 38px; border-radius: 12px; }
  .perk__icon svg { width: 20px; height: 20px; }
  .perk b { font-size: 15px; }
  .perk small { font-size: 12px; }
  .cat-bubble { width: 112px; }
  .cat-bubble__img { width: 104px; height: 104px; }
  .cat-bubble span { font-size: 15px; }
  .rail-wrap .arrow-btn { display: none; }
  .ages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .age-tile { min-height: 180px; }
  .age-tile__num { font-size: 44px; }
  .p-rail .card { width: 196px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 2px 12px 12px; }
  .card__name { font-size: 14px; }
  .price { font-size: 19px; }
  .add-btn { width: 40px; height: 40px; }
  .card__quick { display: none; }
  .brand-chip { width: 150px; height: 80px; font-size: 18px; }
  .brand-chip__logo { width: 110px; height: 34px; }
  .chars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .char__name { font-size: 15px; }
  .finder { padding: 26px 18px; border-radius: 24px; }
  .finder__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .finder__results { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .splits { grid-template-columns: minmax(0, 1fr); }
  .split { min-height: 280px; padding: 26px; }
  .split h3, .split p { max-width: 60%; }
  .budgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin b { font-size: 34px; }
  .club { padding: 30px 22px; border-radius: 24px; }
  .club__balloons { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .modal__card { grid-template-columns: minmax(0, 1fr); }
  .modal__media { border-right: 0; border-bottom: 2px dashed var(--line); padding: 20px; }
  .modal__media img { max-height: 240px; }
  .shop-layout { padding: 20px 16px 60px; }
  .mbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 48; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 6px; justify-content: space-around; }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--navy); padding: 6px 10px; border-radius: 14px; position: relative; }
  .mbar .is-current { background: var(--navy-soft); }
  .mbar .action__count { top: -2px; right: 2px; }
  body { padding-bottom: 80px; }
  .to-top { bottom: 88px; right: 10px; width: 48px; height: 72px; }
  .to-top__up { width: 22px; height: 22px; left: -6px; }
  .to-top__up svg { width: 12px; height: 12px; }
  .toast { bottom: 96px; }
}

/* ==========================================================================
   Pricing extras, quick-view gallery, all-brands page
   ========================================================================== */
.price small { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.price--ask { font-size: 16px; color: var(--teal); }
.modal__price.price--ask { font-size: 22px; }
.ask-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 4px 0 #0b8a93; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ask-btn:hover { transform: translateY(-2px) rotate(-8deg); } }

.modal__media { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.gallery__main { display: grid; place-items: center; flex: 1; }
.gallery__main img { width: 100%; max-height: 360px; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gallery__thumb { width: 58px; height: 58px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 3px; transition: border-color .2s, transform .25s var(--ease-bounce); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) and (pointer: fine) { .gallery__thumb:hover { transform: translateY(-2px); } }
.gallery__thumb.is-on { border-color: var(--blue); }
.modal__desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-height: 170px; overflow: auto; padding-right: 6px; }
.modal__desc small { display: block; margin-top: 6px; font-weight: 800; color: var(--ink-soft); opacity: .8; }
.modal__loading { opacity: .6; }
.modal__note { font-size: 13px; color: var(--ink-soft); }
.modal__note b { color: var(--red); }

.brands-page { padding: 26px 20px 60px; }

/* ---------- help & store info page ---------- */
.info { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; padding: 30px 20px 70px; align-items: start; }
.info__nav { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 4px; }
.info__nav a { padding: 9px 14px; border-radius: 999px; font-weight: 800; color: var(--ink-soft); transition: background .2s, color .2s, transform .3s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .info__nav a:hover { background: #fff; color: var(--navy); transform: translateX(4px); box-shadow: var(--shadow-sm); } }
.info__nav a.is-on { background: var(--navy); color: #fff; }
.info__body { display: grid; gap: 22px; min-width: 0; }
.info__card { background: #fff; border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow-sm); border-top: 6px solid var(--c); scroll-margin-top: 130px; }
.info__card h2 { font-size: clamp(26px, 3vw, 34px); color: var(--c); margin-bottom: 8px; }
.info__card h3 { font-size: 19px; color: var(--navy); margin: 18px 0 4px; }
.info__card p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin-top: 8px; }
.info__card p b { color: var(--ink); }
.info__card a:not(.btn) { color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--navy) 30%, transparent); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .info__card a:not(.btn):hover { text-decoration-color: currentColor; } }
.info__contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.info__contact li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--pink-soft, #fde4f1); }
.info__contact li > span:last-child { display: block; font-size: 15px; line-height: 1.7; }
.info__contact b { display: block; color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.info__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--c); }
.info__ic .icon { width: 20px; height: 20px; }
.info__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.info__facts li { padding: 14px 16px; border-radius: 18px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.info__facts b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--c); }
.info__list { margin: 8px 0 0 4px; color: var(--ink-soft); }
.info__list li { position: relative; padding-left: 22px; margin-top: 4px; font-weight: 700; }
.info__list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.info details { border-bottom: 2px dashed var(--line); }
.info summary { cursor: pointer; list-style: none; padding: 14px 34px 14px 0; font-weight: 800; color: var(--ink); position: relative; }
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); display: grid; place-items: center; font-weight: 900; transition: transform .3s var(--ease-bounce); }
.info details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.info details p { margin: 0 0 14px; }
@media (max-width: 860px) {
  .info { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .info__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
  .info__nav a { white-space: nowrap; background: #fff; box-shadow: var(--shadow-sm); }
  .info__card { padding: 22px 18px; }
}
.brands-tools { position: sticky; top: 130px; z-index: 5; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding: 12px 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-bottom: 2px dashed var(--line); margin-bottom: 10px; }
.brands-search input { width: min(340px, 100%); padding: 11px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; background: var(--blue-soft); }
.brands-search input:focus { outline: none; border-color: var(--blue); background: #fff; }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-family: var(--font-display); font-weight: 800; color: var(--navy); background: var(--navy-soft); font-size: 15px; transition: background .2s, color .2s, transform .25s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .az a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); } }
.brand-group { padding: 18px 0 6px; scroll-margin-top: 210px; }
.brand-group__letter { font-size: 34px; color: var(--navy); margin-bottom: 12px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.brand-tile { height: 110px; border-radius: 22px; border: 3px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; text-align: center; transition: transform .35s var(--ease-bounce), border-color .25s, background .25s, box-shadow .25s; }
@media (hover: hover) and (pointer: fine) { .brand-tile:hover { transform: translateY(-5px) rotate(-1.5deg); border-color: var(--c); background: var(--c-soft); box-shadow: var(--shadow); } }
.brand-tile__mark { display: grid; place-items: center; height: 54px; }
.brand-tile__logo { width: 140px; height: 50px; object-fit: contain; }
.brand-tile__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1; color: var(--c); }
.brand-tile small { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.brands-empty { text-align: center; padding: 40px; color: var(--ink-soft); font-weight: 700; }
.fbrand-search { width: 100%; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line); font-weight: 700; margin-bottom: 6px; }
.fbrand-search:focus { outline: none; border-color: var(--blue); }
@media (max-width: 760px) {
  .brands-tools { top: 110px; gap: 10px; }
  .brands-search, .brands-search input { width: 100%; }
  .az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .az::-webkit-scrollbar { display: none; }
  .az a { flex: none; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-tile { height: 96px; }
  .brand-tile__logo { width: 120px; height: 40px; }
  .gallery__thumb { width: 48px; height: 48px; }
  .modal__desc { max-height: 120px; }
}

/* ==========================================================================
   Sold-out states, product page, checkout
   ========================================================================== */
.badge--out { --c: #6b7096; }
.card.is-out .card__media img { opacity: .55; filter: grayscale(.5); }
.card__link { display: grid; place-items: center; width: 100%; height: 100%; }
.card__name a { color: inherit; }
@media (hover: hover) and (pointer: fine) { .card__name a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; } }
.count-out { margin-left: 8px; font-weight: 800; font-size: 13px; color: var(--navy); background: var(--navy-soft); padding: 3px 10px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .count-out:hover { background: var(--navy); color: #fff; } }
.modal__more { font-weight: 800; color: var(--blue); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.modal__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .modal__more:hover .icon { transform: translateX(4px); } }
.cart-pay { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.btn--teal { --c: var(--teal); --c-dark: #0b8a93; }
.brand-tile.is-out { opacity: .6; }
@media (hover: hover) and (pointer: fine) { .brand-tile.is-out:hover { opacity: 1; } }

/* product page */
.pdp { padding: 22px 20px 10px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; margin-top: 12px; align-items: start; }
.pdp__media { position: sticky; top: 150px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pdp__media::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 20% 10%, var(--c-soft), transparent 55%); pointer-events: none; }
.pdp__badges { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; gap: 6px; }
.pdp__media .gallery__main { min-height: 360px; position: relative; }
.pdp__media .gallery__main img { max-height: 460px; }
.pdp__media .gallery__thumb { width: 70px; height: 70px; }
.pdp__brand { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--c); padding: 6px 14px; border-radius: 14px; background: var(--c-soft); margin-bottom: 10px; transition: transform .3s var(--ease-bounce); }
.pdp__brand.has-logo { background: #fff; border: 2px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .pdp__brand:hover { transform: translateY(-2px); } }
.pdp__brand-logo { width: 130px; height: 40px; object-fit: contain; }
.pdp__title { font-size: clamp(28px, 3.4vw, 42px); color: var(--navy); margin-bottom: 12px; line-height: 1.08; }
.pdp .modal__meta a { background: var(--c-soft); color: var(--c); padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; transition: transform .25s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .pdp .modal__meta a:hover { transform: translateY(-2px); } }
.pdp__price { margin: 18px 0 8px; font-family: var(--font-display); color: var(--navy); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp__price b { font-size: 40px; line-height: 1; }
.pdp__price s { font-size: 20px; color: var(--ink-soft); }
.pdp__price small { font-size: 16px; color: var(--ink-soft); }
.pdp__note { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.pdp__buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0; }
.qty--lg { margin: 0; padding: 5px; }
.qty--lg button { width: 38px; height: 38px; font-size: 18px; }
.qty--lg span { min-width: 34px; font-size: 18px; }
.pdp__add { flex: 1; min-width: 200px; }
.pdp__perks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pdp__perks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 16px; background: var(--c-soft); font-size: 13px; color: var(--ink-soft); font-weight: 700; line-height: 1.35; }
.pdp__perks .icon { color: var(--c); flex: none; width: 22px; height: 22px; }
.pdp__perks b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.pdp__about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; margin: 46px 0 10px; padding: 30px; border-radius: var(--radius-lg); background: var(--cream); }
.pdp__about h2 { font-size: 28px; color: var(--navy); margin-bottom: 12px; }
.pdp__desc { color: var(--ink-soft); line-height: 1.65; font-size: 15px; }
.pdp__desc small { display: block; margin-top: 10px; font-weight: 800; }
.pdp__specs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; align-content: start; background: #fff; border-radius: var(--radius); padding: 20px; margin: 0; font-size: 14px; }
.pdp__specs dt { font-weight: 900; color: var(--navy); }
.pdp__specs dd { margin: 0; color: var(--ink-soft); font-weight: 700; }
.pdp__specs a { color: var(--blue); }
.pdp-rail { padding: 34px 0; }

/* checkout */
.checkout { padding: 26px 20px 60px; }
.co-preview { display: flex; gap: 12px; align-items: flex-start; background: var(--sun-soft); border: 2px dashed var(--sun); border-radius: 18px; padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.co-preview .icon { color: #d99a00; flex: none; }
.co-preview a { color: var(--red); font-weight: 900; }
.co-title { font-size: clamp(32px, 4vw, 46px); color: var(--navy); margin-bottom: 16px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.co-steps { display: flex; flex-direction: column; gap: 18px; }
.co-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.co-card h2 { font-size: 22px; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.co-card h2 span { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 16px; }
.co-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.co-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 800; font-size: 14px; color: var(--ink); }
.co-field em { color: var(--red); font-style: normal; }
.co-field input, .co-field textarea, .co-select { font: inherit; width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); font-weight: 700; background-color: #fff; resize: vertical; }
.co-field input:focus, .co-field textarea:focus, .co-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,166,228,.12); }
.co-hintline { color: var(--ink-soft); font-weight: 700; font-size: 12px; }
.co-err { display: none; color: var(--red); font-size: 12px; font-weight: 800; }
.co-field.is-bad input, .co-field.is-bad select { border-color: var(--red); background-color: var(--red-soft); }
.co-field.is-bad .co-err { display: block; }
.co-field.is-bad .co-hintline { display: none; }
.co-check { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; cursor: pointer; padding: 10px 14px; border-radius: 14px; background: var(--pink-soft); color: var(--pink); }
.co-check input { width: 18px; height: 18px; accent-color: var(--pink); }
.co-check .icon { width: 20px; height: 20px; }
.co-hint { display: flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: 13px; margin-top: 14px; }
.co-hint .icon { color: var(--green); width: 20px; height: 20px; flex: none; }
.co-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.co-card__head h2 { margin-bottom: 0; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; color: #1e7a2a; background: var(--green-soft); padding: 5px 12px; border-radius: 999px; letter-spacing: .3px; }
.co-pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.co-pay__opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "radio brand" "text text" "tags tags"; align-items: center; gap: 10px 12px; padding: 16px 16px 14px; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; background: #fff; transition: border-color .2s, box-shadow .25s, background .2s, transform .3s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .co-pay__opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); } }
.co-pay__opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-pay__opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.co-pay__radio { grid-area: radio; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #c5c9e6; display: grid; place-items: center; transition: border-color .2s; }
.co-pay__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .3s var(--ease-bounce); }
.co-pay__opt.is-on { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(37,49,140,.08); }
.co-pay__opt.is-on .co-pay__radio { border-color: var(--navy); }
.co-pay__opt.is-on .co-pay__radio::after { transform: scale(1); }
.co-pay__brand { grid-area: brand; height: 34px; display: flex; align-items: center; justify-content: flex-end; }
.co-pay__brand img { height: 26px; width: auto; }
.co-pay__text { grid-area: text; }
.co-pay__text b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--navy); line-height: 1.2; }
.co-pay__text small { color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.co-pay__tags { grid-area: tags; }
.co-pay__tags em { font-style: normal; font-size: 11px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-soft); background: var(--navy-soft); padding: 3px 9px; border-radius: 999px; }
.co-pay__opt.is-on .co-pay__tags em { background: var(--navy); color: #fff; }
.co-pay__opt--whish.is-on { border-color: #ff0050; box-shadow: 0 0 0 4px rgba(255,0,80,.1); }
.co-pay__opt--whish.is-on .co-pay__radio { border-color: #ff0050; }
.co-pay__opt--whish .co-pay__radio::after, .co-pay__opt--whish.is-on .co-pay__tags em { background: #ff0050; }
.co-pay__opt--cod.is-on { border-color: var(--green); box-shadow: 0 0 0 4px rgba(61,181,74,.12); }
.co-pay__opt--cod.is-on .co-pay__radio { border-color: var(--green); }
.co-pay__opt--cod .co-pay__radio::after, .co-pay__opt--cod.is-on .co-pay__tags em { background: var(--green); }
.co-pay__detail[data-for="cod"] { background: var(--green-soft); }
.co-pay__detail { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--navy-soft); font-size: 14px; color: var(--ink); font-weight: 700; animation: slideInRight .35s var(--ease-out); }
.co-pay__detail[hidden] { display: none; }
.co-pay__detail[data-for="whish"] { background: #fff0f3; }
.co-steps-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.co-steps-list li { display: flex; gap: 10px; align-items: center; }
.co-steps-list li > span { width: 24px; height: 24px; border-radius: 50%; background: #ff0050; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 900; flex: none; }
.co-whish-ico { width: 18px; height: 18px; border-radius: 5px; vertical-align: -4px; display: inline-block; }
.co-field--inline { margin: 0; }
.co-field--inline small { font-weight: 700; color: var(--ink-soft); }
.co-accept { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.co-accept__cod { display: inline-flex; align-items: center; gap: 4px; color: #1e7a2a; }
.co-accept__cod svg { width: 26px; height: 18px; }
.co-inline-logo { height: 16px; width: auto; display: inline-block; vertical-align: -3px; }
.pay-logo { height: 18px; width: auto; display: block; }
.pay .pay__whish { background: #fff; padding: 3px 8px; }
.cart-pay img { height: 14px; width: auto; display: inline-block; vertical-align: -3px; }
@media (max-width: 760px) {
  .co-pay { grid-template-columns: minmax(0, 1fr); }
}
.co-summary { position: sticky; top: 150px; }
.co-lines { display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow: auto; margin-bottom: 14px; padding-right: 4px; }
.co-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.co-line img { width: 56px; height: 56px; object-fit: contain; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.co-line a { font-weight: 800; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-line small { display: block; color: var(--ink-soft); font-weight: 700; font-size: 12px; }
.co-line b { font-family: var(--font-display); color: var(--navy); }
.co-promo { display: flex; gap: 8px; }
.co-promo input { flex: 1; min-width: 0; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); font-weight: 800; text-transform: uppercase; }
.co-promo-msg { display: block; min-height: 18px; font-weight: 800; font-size: 12px; margin: 4px 0 6px 6px; }
.co-promo-msg.is-ok { color: #1e7a2a; }
.co-promo-msg.is-bad { color: var(--red); }
.co-totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 6px 0 10px; font-weight: 800; color: var(--ink-soft); }
.co-totals dd { margin: 0; text-align: right; color: var(--ink); }
.co-totals .co-total { font-family: var(--font-display); font-size: 24px; color: var(--navy); padding-top: 8px; border-top: 2px dashed var(--line); }
.co-save { color: var(--green) !important; }
.co-free { color: var(--green); }
.co-place { width: 100%; margin-top: 8px; font-size: 19px; padding: 14px; }
.co-small { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.co-small a { color: var(--blue); }
.co-done { max-width: 640px; margin: 20px auto; text-align: center; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 36px 28px; }
.co-done h1 { font-size: 40px; color: var(--navy); margin: 10px 0 4px; }
.co-done__no { color: var(--ink-soft); font-weight: 800; margin-bottom: 20px; }
.co-done__no b { color: var(--navy); }
.co-done__next { text-align: left; background: var(--green-soft); border-radius: 20px; padding: 18px 22px; margin-bottom: 22px; }
.co-done__next h2 { font-size: 20px; color: #1e7a2a; margin-bottom: 8px; }
.co-done__next ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-weight: 700; color: var(--ink); }

@media (max-width: 1024px) {
  .pdp__grid, .co-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp__media, .co-summary { position: static; }
  .pdp__about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pdp { padding: 16px 16px 0; }
  .pdp__media { padding: 14px; }
  .pdp__media .gallery__main { min-height: 260px; }
  .pdp__media .gallery__thumb { width: 54px; height: 54px; }
  .pdp__perks { grid-template-columns: minmax(0, 1fr); }
  .pdp__about { padding: 20px; margin-top: 30px; }
  .co-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .co-card { padding: 18px; }
  .checkout { padding: 18px 16px 60px; }
}

/* ==========================================================================
   Animated logo
   ========================================================================== */
.logo__stack { position: relative; display: block; height: 74px; aspect-ratio: 700 / 400; transition: height .3s var(--ease-out), transform .45s var(--ease-bounce); }
.header.is-scrolled .logo__stack { height: 54px; }
.logo__stack img { position: absolute; inset: 0; width: 100%; height: 100% !important; transform: none !important; }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo__stack { transform: translateY(-2px) rotate(-3deg) scale(1.04); } }
.logo__sway { position: absolute; inset: 0; transform-origin: 51.2% 58%; animation: logoSway 4.8s ease-in-out infinite; }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo__sway { animation-duration: 1.3s; } }
@keyframes logoSway { 0%, 100% { transform: rotate(-1.6deg) translateY(0); } 50% { transform: rotate(1.6deg) translateY(-1.5px); } }
.logo__spark { position: absolute; width: 9%; aspect-ratio: 1; background: var(--sun); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: sparkle 3.6s ease-in-out infinite; pointer-events: none; }
.logo__spark--1 { left: 22%; top: 8%; animation-delay: .2s; }
.logo__spark--2 { left: 74%; top: 2%; width: 7%; animation-delay: 1.4s; background: #fff; filter: drop-shadow(0 0 2px var(--pink)); }
.logo__spark--3 { left: 64%; top: 40%; width: 6%; animation-delay: 2.5s; background: var(--pink); }
@keyframes sparkle { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: .6; transform: scale(.8) rotate(80deg); } }
.logo__hat { display: none; position: absolute; width: 17%; left: 40.5%; top: -7%; transform: rotate(-12deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }

/* ==========================================================================
   Tillo (figure, idle life, tap reaction)
   ========================================================================== */
.tillo { position: relative; display: block; margin: 0 auto 8px; pointer-events: none; transform-origin: 50% 100%; animation: tilloBreathe 3.4s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.tillo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(30,40,90,.22)); transform-origin: 50% 100%; animation: tilloIdle 6s ease-in-out infinite 1.5s; }
.tillo__hat { display: none; position: absolute; z-index: 2; left: 20%; top: -9%; width: 62%; aspect-ratio: 64 / 56; transform: rotate(-14deg); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cpath d='M8 44 C14 22 30 6 52 8 C46 16 44 26 46 40 Z' fill='%23c8102e'/%3E%3Ccircle cx='57' cy='20' r='6' fill='%23fff'/%3E%3Crect x='2' y='40' width='50' height='12' rx='6' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }
.tillo--tiny { display: inline-block; margin: 0 0 4px; }
.tillo--wave img { animation: tilloWave 2.6s ease-in-out infinite; }
.tillo--jump { animation: tilloJump 1.1s var(--ease-bounce) infinite; }
.tillo.is-boing { animation: tilloBoing .9s var(--ease-bounce); }
@keyframes tilloBreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .985); } }
@keyframes tilloIdle { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(-7deg); } 87% { transform: rotate(6deg); } 92% { transform: rotate(-3deg); } }
@keyframes tilloWave { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) translateY(-4px); } }
@keyframes tilloJump { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-18px) scale(.97, 1.03); } 60% { transform: translateY(0) scale(1.04, .96); } }
@keyframes tilloBoing { 0% { transform: none; } 20% { transform: scale(1.06, .94); } 45% { transform: scale(.97, 1.04) rotate(-5deg); } 70% { transform: scale(1.02, .98) rotate(3deg); } 100% { transform: none; } }
.tillo-quip { position: fixed; z-index: 260; transform: translate(-50%, -100%); background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 16px; padding: 6px 14px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow); pointer-events: none; white-space: nowrap; animation: quip 1.6s var(--ease-out) forwards; }
@keyframes quip { 0% { opacity: 0; transform: translate(-50%, -60%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -100%) scale(1.05); } 80% { opacity: 1; transform: translate(-50%, -130%); } 100% { opacity: 0; transform: translate(-50%, -150%); } }

/* toast avatar */
.toast__tillo { width: 34px; height: 34px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; display: grid; place-items: start center; animation: pop .5s var(--ease-bounce); }
.toast__tillo img { width: 30px; margin-top: 1px; }

/* cart drawer title */
.drawer__title-tillo { display: flex; align-items: center; gap: 4px; }
.drawer__title-tillo .tillo { width: 46px !important; height: 46px; margin: -6px 0 0; overflow: hidden; border-radius: 50%; background: var(--sun-soft); flex: none; animation: none; }
.drawer__title-tillo .tillo img { width: 140%; max-width: none; margin: 4px 0 0 -20%; filter: none; }
.drawer__title-tillo .tillo__hat { top: -4%; left: 18%; width: 70%; }

/* ---------- corner buddy (bigger, with a "new tip" badge) ---------- */
.tillo-peek { --peek-w: clamp(104px, 15.5vh, 150px); position: fixed; left: 14px; bottom: 0; z-index: 46; pointer-events: none; }
.tillo-peek__body .tillo { width: var(--peek-w) !important; pointer-events: auto; cursor: pointer; }
.tillo-peek__body { pointer-events: auto; display: block; position: relative; transform: translateY(115%); transition: transform .9s var(--ease-bounce); }
.tillo-peek__body .tillo { margin: 0; }
.tillo-peek.is-up .tillo-peek__body { transform: translateY(18%); }
@media (hover: hover) and (pointer: fine) { .tillo-peek.is-up .tillo-peek__body:hover { transform: translateY(8%); } }
@media (hover: hover) and (pointer: fine) { .tillo-peek.is-up .tillo-peek__body:hover img { animation: tilloWave .9s ease-in-out infinite; } }
.tillo-peek__badge { position: absolute; top: 4px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: 14px; display: grid; place-items: center; border: 3px solid #fff; transform: scale(0); transition: transform .4s var(--ease-bounce); }
.tillo-peek.has-news .tillo-peek__badge { transform: scale(1); animation: badgePulse 1.6s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,34,43,.5); } 50% { box-shadow: 0 0 0 10px rgba(232,34,43,0); } }
.tillo-peek__bubble { pointer-events: auto; position: absolute; left: calc(var(--peek-w) * .86); bottom: var(--peek-w); width: clamp(220px, 20vw, 270px); background: #fff; border-radius: 24px 24px 24px 6px; padding: 16px 18px 14px; box-shadow: var(--shadow-lg); border: 3px solid var(--sun); transform: scale(0) translateY(20px); transform-origin: 0% 100%; opacity: 0; transition: transform .5s var(--ease-bounce), opacity .25s; }
.tillo-peek.is-talking .tillo-peek__bubble { transform: none; opacity: 1; animation: bubbleWiggle 4s ease-in-out infinite 1s; }
@keyframes bubbleWiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-2deg); } 96% { transform: rotate(2deg); } }
.tillo-peek__name { display: block; font-family: var(--font-display); color: var(--red); font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
.tillo-peek__msg { font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.35; padding-right: 18px; }
.tillo-peek__cta { margin-top: 10px; }
.tillo-peek__cta[hidden] { display: none; }
.tillo-peek__x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); background: var(--navy-soft); }
.tillo-peek__x .icon { width: 14px; height: 14px; }
.tillo-peek.is-hidden { visibility: hidden; }
.tillo-peek.is-away .tillo-peek__body { transform: translateY(115%); }
.tillo-peek.is-away .tillo-peek__bubble { opacity: 0; transform: scale(0); }
@media (max-height: 820px) {
  .tillo-peek__bubble { padding: 12px 14px 11px; border-radius: 20px 20px 20px 6px; }
  .tillo-peek__msg { font-size: 14px; }
  .tillo-peek__name { font-size: 12px; }
  .tillo-peek__cta { margin-top: 8px; }
  .tillo-peek__badge { width: 22px; height: 22px; font-size: 12px; right: 4px; }
}

/* ---------- homepage welcome card ---------- */
.tillo-hello { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 22px; padding: 18px 28px 18px 10px; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 12% 70%, #fff7d6 0 30%, transparent 31%), linear-gradient(120deg, var(--sun-soft), var(--blue-soft)); overflow: hidden; }
.tillo-hello::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.5); }
.tillo-hello__fig { height: 232px; position: relative; }
.tillo-hello__fig .tillo { position: absolute; left: 24px; bottom: -26px; margin: 0; }
.tillo-hello.is-in .tillo-hello__fig .tillo { animation: tilloEnter 1.1s var(--ease-bounce) both, tilloBreathe 3.4s ease-in-out 1.2s infinite; }
@keyframes tilloEnter { 0% { transform: translateY(120px) rotate(-12deg); } 60% { transform: translateY(-16px) rotate(4deg); } 100% { transform: none; } }
.tillo-hello__text { position: relative; z-index: 1; }
.tillo-hello__kicker { display: inline-block; background: var(--red); color: #fff; font-weight: 900; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.tillo-hello h2 { font-size: clamp(24px, 3vw, 34px); color: var(--navy); }
.tillo-hello p { color: var(--ink-soft); font-size: 16px; margin: 6px 0 14px; }
.tillo-hello__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 rgba(37,49,140,.12); transition: transform .3s var(--ease-bounce), background .2s, color .2s; }
.chip-link .icon { width: 18px; height: 18px; color: var(--red); }
@media (hover: hover) and (pointer: fine) { .chip-link:hover { transform: translateY(-3px); background: var(--navy); color: #fff; } }
@media (hover: hover) and (pointer: fine) { .chip-link:hover .icon { color: var(--sun); } }

/* ---------- head popping over section titles ---------- */
.tillo-ledge { position: absolute; right: 150px; bottom: 100%; height: 76px; width: 110px; pointer-events: auto; }
.tillo-ledge__win { position: absolute; inset: 0; overflow: hidden; }
.tillo-ledge .tillo { position: absolute; left: 6px; top: 100%; margin: 0; transition: top .8s var(--ease-bounce) .2s; }
.tillo-ledge.is-in .tillo { top: 4px; }
.tillo-ledge__say { position: absolute; right: 100%; top: 6px; white-space: nowrap; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 14px 14px 4px 14px; opacity: 0; transform: scale(.6); transition: opacity .3s .9s, transform .4s var(--ease-bounce) .9s; }
.tillo-ledge.is-in .tillo-ledge__say { opacity: 1; transform: none; }
.section__head { overflow: visible; }

/* ---------- gift finder, club, heroes, tips, checkout, footer ---------- */
.finder .finder__balloon { display: none; }
.finder__tillo { position: absolute; z-index: 3; left: 26px; bottom: -8px; width: 160px; }
.finder__tillo .tillo { margin: 0; }
.finder__say { position: absolute; left: 124px; top: 0; z-index: 3; white-space: nowrap; background: var(--sun); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 14px 14px 14px 4px; box-shadow: 0 3px 0 rgba(0,0,0,.12); animation: bubbleWiggle 5s ease-in-out infinite; }
.finder__grid > div:first-child { padding-bottom: 210px; }
.club { position: relative; }
.club:has(.club__tillo) { grid-template-columns: 118px minmax(0, 1.2fr) minmax(0, 1fr); }
.club__tillo { order: -1; align-self: center; justify-self: center; width: 118px; margin-left: -18px; position: relative; z-index: 1; }
.club__tillo .tillo { margin: 0; width: 118px !important; }
.shop-hero { position: relative; }
.hero-tillo { position: absolute; right: 7%; bottom: -30px; z-index: 1; width: 130px; }
.hero-tillo .tillo { margin: 0; }
.hero-tillo__say { position: absolute; right: 100%; top: 20px; white-space: nowrap; background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-sm); animation: bubbleWiggle 5s ease-in-out infinite; }
.shop-hero { overflow: hidden; }
.tillo-tip { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 8px; margin-bottom: 12px; border-radius: 18px; background: var(--sun-soft); border: 2px dashed var(--sun); }
.tillo-tip .tillo { width: 64px; height: 64px; margin: 0; overflow: hidden; border-radius: 50%; background: #fff; flex: none; animation: none; }
.tillo-tip .tillo img { width: 130%; max-width: none; margin: 4px 0 0 -15%; filter: none; animation: none; }
.tillo-tip .tillo__hat { top: -4%; left: 16%; width: 70%; }
.tillo-tip p { font-weight: 700; color: var(--ink); font-size: 14px; }
.tillo-tip b { color: var(--red); }
.co-tillo { position: absolute; right: 18px; top: -62px; width: 84px; height: 64px; overflow: hidden; }
.co-tillo .tillo { margin: 0; }
.footer-tillo { position: absolute; right: max(6%, 160px); top: -150px; width: 120px; z-index: 2; }
.footer-tillo .tillo { margin: 0; }
.footer-tillo .tillo img { animation: tilloWave 2.8s ease-in-out infinite; }
.footer-tillo__say { position: absolute; right: 100%; top: 10px; white-space: nowrap; background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-sm); }
.footer { margin-top: 140px; }

/* ==========================================================================
   Christmas theme
   ========================================================================== */
html.theme-xmas {
  --navy: #0f5c3a; --navy-deep: #0a3f28; --navy-soft: #e2f1e7;
  --red: #c8102e; --red-soft: #fde6e8;
  --green: #1f8a3e; --green-soft: #e1f3e5;
  --pink: #d6336c; --pink-soft: #fce4ec;
  --sun: #f2b705; --sun-soft: #fff4d1;
  --ink: #17302a; --ink-soft: #4e6159;
  --cream: #fbf7ef;
}
.theme-xmas body { background: linear-gradient(#fff, #f3f8fc 900px); }
.theme-xmas .ticker { background: repeating-linear-gradient(-45deg, #b10e27 0 16px, #c8102e 16px 32px); }
.theme-xmas .btn { --c-dark: color-mix(in srgb, var(--c) 72%, #000); }
.theme-xmas .btn--red { --c: var(--red); --c-dark: #8e0b21; }
.theme-xmas .add-btn { background: var(--red); box-shadow: 0 4px 0 #8e0b21; }
.theme-xmas .add-btn.is-added { background: var(--green); box-shadow: 0 4px 0 #156a2e; }
.theme-xmas .logo__hat { display: block; }
.theme-xmas .header { padding-bottom: 8px; }
.theme-xmas .tillo-hello { background: radial-gradient(circle at 12% 70%, #fff 0 30%, transparent 31%), linear-gradient(120deg, #fde6e8, #e1f3e5); }

/* draped string lights */
.xmas-drape { position: absolute; left: 0; top: 100%; margin-top: -6px; pointer-events: none; z-index: 3; overflow: hidden; max-width: 100%; }
.xd-bulb { animation: bulbBlink 1.8s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bulbBlink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* hanging baubles */
.xmas-baubles { position: absolute; left: 0; right: 0; top: 100%; height: 0; pointer-events: none; z-index: 3; }
.xmas-baubles span { position: absolute; top: 8px; width: 22px; transform-origin: 50% 0; animation: baubleSwing 3.2s ease-in-out infinite; animation-delay: var(--d); }
.xmas-baubles span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: var(--len); background: #c9a227; transform: translateX(-50%); }
.xmas-baubles svg { display: block; width: 22px; margin-top: var(--len); }
@keyframes baubleSwing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.header-tree { display: block; width: 44px; margin-left: -12px; margin-right: -6px; align-self: flex-end; }
.header-tree .xtree { width: 100%; display: block; }

/* trees, star and lights */
.xb { animation: treeBulb 1.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes treeBulb { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.xtree__star { transform-box: fill-box; transform-origin: 50% 55%; animation: starPulse 2.4s ease-in-out infinite; }
@keyframes starPulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(8deg); } }
.xmini-tree { width: 40px; height: 40px; }

/* sleigh + reindeer */
.xsleigh { display: block; width: 100%; overflow: visible; }
.xs-legs { transform-box: fill-box; transform-origin: 50% 0; }
.xs-legs--f { animation: gallopF .42s ease-in-out infinite alternate; }
.xs-legs--b { animation: gallopB .42s ease-in-out infinite alternate; }
@keyframes gallopF { from { transform: rotate(-26deg); } to { transform: rotate(18deg); } }
@keyframes gallopB { from { transform: rotate(22deg); } to { transform: rotate(-24deg); } }
.xs-deer:nth-of-type(2) .xs-legs { animation-delay: -.14s; }
.xs-deer:nth-of-type(3) .xs-legs { animation-delay: -.28s; }
.xs-nose { animation: rudolph 1.2s ease-in-out infinite; }
@keyframes rudolph { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.xs-arm { transform-box: fill-box; transform-origin: 0% 100%; animation: santaWave .7s ease-in-out infinite alternate; }
@keyframes santaWave { from { transform: rotate(-18deg); } to { transform: rotate(16deg); } }
.xsm-arm { transform-box: fill-box; }
.xsm-arm--l { transform-origin: 100% 60%; animation: snowArmL 2.4s ease-in-out infinite; }
.xsm-arm--r { transform-origin: 0% 60%; animation: snowArmR 2.4s ease-in-out infinite; }
@keyframes snowArmL { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(14deg); } }
@keyframes snowArmR { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }

@keyframes sleighBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* off-screen decorations stop animating */
.xpaused, .xpaused * { animation-play-state: paused !important; }

/* homepage night scene */
.xscene { position: relative; margin: 34px 0 10px; min-height: 470px; overflow: hidden; color: #fff; background: linear-gradient(180deg, #0a1a3a 0%, #17306a 52%, #3a5ea6 100%); }
.xscene__sky { position: absolute; inset: 0; pointer-events: none; }
.xscene__sky i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; animation: starTwinkle 2.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes starTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.xscene__moon { position: absolute; right: 9%; top: 34px; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffbe8, #f3e2a6); box-shadow: 0 0 40px 10px rgba(255,240,180,.35); }
.xscene__moon::after { content: ""; position: absolute; left: 22px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: rgba(210,190,120,.4); box-shadow: 22px 20px 0 -2px rgba(210,190,120,.35), 10px 34px 0 -4px rgba(210,190,120,.3); }
.xscene__shoot { position: absolute; left: 20%; top: 60px; width: 120px; height: 2px; background: linear-gradient(90deg, #fff, transparent); transform: rotate(-20deg); opacity: 0; animation: shoot 7s ease-in infinite 2s; }
@keyframes shoot { 0%, 85% { opacity: 0; transform: translate(0, 0) rotate(-20deg); } 88% { opacity: 1; } 100% { opacity: 0; transform: translate(-260px, 90px) rotate(-20deg); } }
.xscene__fly { position: absolute; top: 70px; left: 0; width: 280px; animation: sceneFly 16s linear infinite; }
.xscene__fly .xsleigh { animation: sleighBob 1.6s ease-in-out infinite; }
@keyframes sceneFly { 0% { transform: translateX(-320px) translateY(40px); } 100% { transform: translateX(calc(100vw + 40px)) translateY(-30px); } }
.xscene__content { position: relative; z-index: 3; padding-top: 130px; padding-bottom: 240px; max-width: var(--wrap); }
.xscene__content > * { max-width: 520px; }
.xscene__kicker { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; backdrop-filter: blur(4px); }
.xscene h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1; margin: 12px 0 10px; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.xscene h2 em { font-style: normal; color: #ffd54a; }
.xscene p { font-size: 17px; opacity: .92; margin-bottom: 18px; }
.xscene__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.xscene__cta .btn--white { --c: #fff; --c-dark: rgba(0,0,0,.25); color: var(--navy); }
.xscene__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 250px; pointer-events: none; }
.xscene__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 130px; }
.xscene__tree { position: absolute; bottom: 30px; }
.xscene__tree--1 { left: 1%; width: 150px; bottom: 26px; }
.xscene__tree--2 { left: 10%; width: 96px; bottom: 44px; }
.xscene__tree--3 { right: 30%; width: 120px; bottom: 36px; }
.xscene__tree--4 { right: 4%; width: 170px; bottom: 22px; }
.xscene__tree--5 { right: 19%; width: 80px; bottom: 54px; }
.xscene__snowman { position: absolute; right: 42%; bottom: 34px; width: 92px; }
.xscene__gifts { position: absolute; right: 13%; bottom: 26px; display: flex; align-items: flex-end; gap: 2px; }
.xscene__gifts .xgift { width: 46px; } .xscene__gifts .g2 { width: 36px; } .xscene__gifts .g3 { width: 30px; }
.xscene__tillo { position: absolute; left: 22%; bottom: 18px; width: 130px; pointer-events: auto; }
.xscene__tillo .tillo { margin: 0; width: 130px !important; }
.xscene__tillo .tillo img { animation: tilloWave 2.4s ease-in-out infinite; }

/* footer snow scene */
.xfooter { position: absolute; left: 0; right: 0; top: -118px; height: 120px; pointer-events: none; }
.xfooter__tree { position: absolute; bottom: 0; }
.xfooter__tree.t1 { left: 3%; width: 90px; } .xfooter__tree.t2 { left: 10%; width: 62px; } .xfooter__tree.t3 { left: 28%; width: 74px; }
.xfooter__snowman { position: absolute; left: 18%; bottom: 0; width: 62px; }
.xfooter__gifts { position: absolute; left: 34%; bottom: 0; display: flex; gap: 2px; }
.xfooter__gifts .xgift { width: 34px; }
.theme-xmas .footer .wave { filter: drop-shadow(0 -7px 0 #fff); }

/* snow on things */
.xmas-snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 52; pointer-events: none; }
.xmas-snow-toggle { position: fixed; right: 20px; bottom: 128px; z-index: 47; background: #fff; color: var(--navy); border: 2px solid var(--navy-soft); border-radius: 999px; padding: 6px 12px; font-weight: 900; font-size: 13px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-bounce); }
@media (hover: hover) and (pointer: fine) { .xmas-snow-toggle:hover { transform: translateY(-2px); } }
.xmas-snow-toggle span { color: #4aa8ff; }
.theme-xmas .card::before, .theme-xmas .age-tile::before { content: ""; position: absolute; z-index: 3; left: 10px; right: 10px; top: -7px; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 9px 9px, #fff 8px, transparent 9px) 0 0 / 18px 14px repeat-x; filter: drop-shadow(0 1px 1px rgba(30,60,90,.15)); }
.theme-xmas .brand-chip { position: relative; --orn: #d6233c; }
/* brand tiles: a little bauble hanging in the corner (string, gold cap, shiny ball); it swings on hover */
.theme-xmas .brand-chip::after { content: ""; position: absolute; z-index: 3; top: -9px; right: 7px; width: 18px; height: 28px; pointer-events: none;
  transform-origin: 50% 0;
  background:
    radial-gradient(circle at 6px 16px, rgba(255,255,255,.9) 0 1.7px, transparent 2.6px),
    linear-gradient(#f3d368, #b98d1c) 50% 7px / 6px 4px no-repeat,
    linear-gradient(#c9a227, #c9a227) 50% 0 / 1.5px 8px no-repeat,
    radial-gradient(circle at 50% 19px, var(--orn) 0 7.5px, transparent 8.2px);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.theme-xmas .brand-chip:nth-child(4n+2) { --orn: #1f8a3e; }
.theme-xmas .brand-chip:nth-child(4n+3) { --orn: #e8a800; }
.theme-xmas .brand-chip:nth-child(4n+4) { --orn: #2a78d0; }
@media (hover: hover) and (pointer: fine) { .theme-xmas .brand-chip:hover::after { animation: ornSwing 1.2s var(--ease-bounce, ease) both; } }
@keyframes ornSwing { 0% { transform: rotate(0); } 25% { transform: rotate(18deg); } 50% { transform: rotate(-12deg); } 75% { transform: rotate(6deg); } 100% { transform: rotate(0); } }
.theme-xmas .age-tile::before { width: auto; height: 14px; border-radius: 0; top: -6px; }
.xbauble--tile { width: 44px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.slide--xmas .slide__deco i { background: #fff; opacity: .55; }
.slide--xmas::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 12px 0, #fff 14px, transparent 15px) 0 0 / 34px 26px repeat-x; filter: drop-shadow(0 2px 2px rgba(0,0,0,.06)); }
.theme-xmas .promo-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 10px 0, #fff 10px, transparent 11px) 0 0 / 26px 18px repeat-x; }
.theme-xmas .section--tint { background: #f6fbf7; }

/* countdown chip */
.xmas-count { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 12px 18px; border-radius: var(--radius); background: linear-gradient(90deg, var(--red-soft), var(--green-soft)); border: 2px dashed color-mix(in srgb, var(--red) 40%, transparent); }
.xmas-count b { font-family: var(--font-display); font-size: 22px; color: var(--red); }
.xmas-count span:not(.xmas-count__tree) { color: var(--ink-soft); font-weight: 700; flex: 1; min-width: 180px; }
.xmas-count__tree svg { width: 30px; height: 30px; display: block; animation: tilloWave 3s ease-in-out infinite; }

@media (max-width: 1180px) {
  .finder__tillo { width: 130px; }
  .finder__say { left: 100px; font-size: 13px; }
  .finder__grid > div:first-child { padding-bottom: 180px; }
  .tillo-ledge { right: 120px; }
}
@media (max-width: 1024px) {
  .header-tree { display: none; }
  .club__tillo { display: none; }
  .club:has(.club__tillo) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .logo__stack { height: 52px; }
  .header.is-scrolled .logo__stack { height: 44px; }
  .tillo-peek { left: 4px; bottom: 72px; }
  .tillo-peek { --peek-w: 92px; }
  .tillo-peek.is-up .tillo-peek__body { transform: translateY(30%); }
  .tillo-peek__bubble { width: min(250px, calc(100vw - 92px)); padding: 12px 14px; }
  .tillo-peek__msg { font-size: 14px; }
  .tillo-hello { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 0; text-align: center; }
  .tillo-hello__fig { order: 2; height: 176px; }
  .tillo-hello__fig .tillo { left: 50%; margin-left: -70px; width: 140px !important; bottom: -40px; }
  .tillo-hello__chips { justify-content: center; }
  .tillo-ledge { right: 0; height: 60px; width: 84px; }
  .tillo-ledge .tillo { width: 76px !important; }
  .tillo-ledge__say { display: none; }
  .finder__tillo { display: none; }
  .finder__grid > div:first-child { padding-bottom: 0; }
  .hero-tillo { width: 92px; right: 4%; bottom: -24px; }
  .hero-tillo .tillo { width: 92px !important; }
  .hero-tillo__say { display: none; }
  .shop-hero:has(.hero-tillo) h1, .shop-hero:has(.hero-tillo) p { padding-right: 100px; }
  .footer-tillo { width: 90px; top: -112px; right: 70px; }
  .footer__bottom { padding-right: 20px; padding-bottom: 96px; }
  .footer-tillo .tillo { width: 90px !important; }
  .footer-tillo__say { font-size: 12px; }
  .footer { margin-top: 110px; }
  .xmas-snow-toggle { right: 12px; bottom: 174px; width: 38px; height: 38px; padding: 0; font-size: 0; display: grid; place-items: center; }
  .xmas-snow-toggle span { font-size: 18px; }
  .xmas-snow-toggle[aria-pressed="false"] span { opacity: .4; }
  .xmas-baubles span:nth-child(n+4) { display: none; }
  .xscene { min-height: 560px; }
  .xscene__content { padding-top: 120px; padding-bottom: 240px; text-align: center; }
  .xscene__content > * { margin-left: auto; margin-right: auto; }
  .xscene__cta { justify-content: center; }
  .xscene__moon { width: 54px; height: 54px; top: 22px; }
  .xscene__fly { width: 200px; top: 40px; }
  .xscene__tree--2, .xscene__tree--3, .xscene__tree--5 { display: none; }
  .xscene__tree--1 { width: 100px; } .xscene__tree--4 { width: 110px; }
  .xscene__snowman { right: 30%; width: 64px; }
  .xscene__gifts { right: 26%; } .xscene__gifts .g3 { display: none; }
  .xscene__tillo { left: 26%; width: 104px; }
  .xscene__tillo .tillo { width: 104px !important; }
  .xfooter__tree.t3, .xfooter__gifts { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logo__sway, .logo__spark, .tillo, .tillo img, .xb, .xtree__star, .xs-legs, .xs-arm, .xs-nose, .xd-bulb ellipse, .xmas-baubles span, .xscene__fly, .xscene__sky i, .xscene__shoot, .xsm-arm { animation: none !important; }
  .logo__spark, .xscene__fly, .xscene__shoot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .brands__row, .ticker__track { animation: none; }
  .brands__mask { overflow-x: auto; }
}

/* ==========================================================================
   Phone fixes (review Nov 2026)
   ========================================================================== */
@media (max-width: 760px) {
  /* hero: room for the toys AND the dots, arrows hidden (swipe works) */
  .slider { min-height: 620px; }
  .slide { padding-bottom: 54px; }
  .slide__art { height: 176px; }
  .blob--a { width: 158px; margin-left: -79px; }
  .blob--b { width: 88px; }
  .blob--c { width: 84px; }
  .slider__arrows { display: none; }
  .slider__nav { left: 50%; transform: translateX(-50%); bottom: 20px; }
  /* outdoor / arts blocks: the small second circle sat under the button */
  .split__imgs .blob:nth-child(2) { display: none; }
  /* club + cashback voucher: stack the email field and the button */
  .club, .club:has(.club__tillo) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .club form { flex-direction: column; border-radius: 22px; padding: 8px; }
  .club input { padding: 12px 14px; text-align: center; }
  .club form .btn { width: 100%; }
  .club__note { text-align: center; }
  .voucher { text-align: center; justify-items: center; }
  .voucher__again { justify-self: center; }
  /* back-to-top Tillo: smaller on phones so it hides less of the page */
  .to-top { width: 40px; height: 60px; right: 8px; }
  .to-top__up { width: 20px; height: 20px; left: -8px; top: -6px; border-width: 2px; }
  .to-top__up svg { width: 11px; height: 11px; }
}
@media (max-width: 760px) {
  /* product page: Wishlist under Add to cart, full width and centred */
  .pdp__fav { flex: 1 1 100%; }
  /* Christmas: the hanging baubles covered the breadcrumb at the top of the shop/brands/info pages */
  .theme-xmas .shop-hero { padding-top: 64px; }
}
@media (max-width: 1180px) {
  /* outdoor / arts blocks: on narrower screens the small second circle bumps into the button */
  .split__imgs .blob:nth-child(2) { display: none; }
}

/* gift finder cards: one grid on big screens */
.finder__cards { display: contents; }
@media (max-width: 760px) {
  /* iPhones zoom the whole page when you tap a text field under 16px: keep every field at 16px */
  input, select, textarea, .search input, .co-field input, .co-field textarea, .co-select { font-size: 16px !important; }
  /* character rings a touch thicker on small circles */
  .char__ring { padding: 6px; }
  /* gift finder on phones: every option visible at once (no sideways scrolling), results as a 2-column grid */
  .finder { padding: 24px 16px 22px; }
  .finder__grid > div:first-child > p { margin-bottom: 14px; font-size: 15px; }
  .finder__step { margin-bottom: 16px; }
  .finder__step label { font-size: 16px; }
  .finder .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .finder .chips[data-group="interest"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder .chip { padding: 10px 6px; text-align: center; font-size: 14px; line-height: 1.15; }
  .finder .chip.is-on { transform: none; }
  .finder__grid { gap: 6px; grid-template-columns: minmax(0, 1fr); }
  .finder__grid > * { min-width: 0; }
  .finder__results { display: block; min-height: 0; }
  .finder__count { margin-bottom: 12px; font-size: 18px; gap: 10px; }
  .finder__count a { font-size: 15px; white-space: nowrap; }
  .finder__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .finder__empty { margin: 0; }
}
@media (max-width: 1024px) {
  /* filter panel on phones/tablets: fill the screen height and scroll inside, so "Show N toys" is always reachable */
  .filters { align-self: stretch; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 28px; }
}
@media (max-width: 760px) {
  /* budgets: the last tile ("100 $+") takes the full row instead of sitting alone */
  .budgets .coin:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* phone numbers never break in the middle */
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 1024px) {
  /* checkout on small phones: let the form shrink to the screen instead of its widest field */
  .pdp__grid, .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-steps, .co-card, .co-summary { min-width: 0; }
}
@media (max-width: 360px) {
  /* very small phones: footer Tillo moves right so he doesn't sit on the footer logo */
  .footer-tillo { right: 46px; width: 80px; top: -104px; }
  .footer-tillo .tillo { width: 80px !important; }
  .co-card { padding: 16px 14px; }
}

/* grid items may always shrink to their column (Safari otherwise grows a column to fit a loaded photo) */
.card, .char, .cat-bubble, .coin, .perk, .brand-chip, .brand-tile { min-width: 0; }
@media (max-width: 760px) {
  /* hero: the faint see-through circles sat on top of the toy pictures on phones */
  .slide__deco i { display: none; }
  /* Tillo a size smaller on phones */
  .tillo-peek { --peek-w: 72px; }
  .tillo-hello__fig { height: 136px; }
  .tillo-hello__fig .tillo { width: 104px !important; margin-left: -52px; bottom: -34px; }
  .footer-tillo { width: 74px; top: -94px; }
  .footer-tillo .tillo { width: 74px !important; }
}
@media (max-width: 360px) {
  .footer-tillo { width: 66px; top: -86px; }
  .footer-tillo .tillo { width: 66px !important; }
}
@media (max-width: 760px) {
  /* corner Tillo sits fully above the bottom menu bar on phones (it used to hide his legs) */
  .tillo-peek { bottom: 84px; }
  .tillo-peek.is-up .tillo-peek__body { transform: none; }
}
@media (max-width: 760px) {
  /* Tillo's speech bubble: compact on phones */
  .tillo-peek__bubble { width: min(210px, calc(100vw - 96px)); padding: 9px 12px 10px; border-width: 2px; border-radius: 18px 18px 18px 5px; }
  .tillo-peek__name { font-size: 11px; }
  .tillo-peek__msg { font-size: 13px; line-height: 1.3; padding-right: 16px; }
  .tillo-peek__cta { margin-top: 7px; padding: 6px 12px; font-size: 12.5px; }
  .tillo-peek__x { width: 22px; height: 22px; top: 6px; right: 6px; }
  .tillo-peek__x .icon { width: 12px; height: 12px; }
}

/* ==========================================================================
   Just 2 Tillos (corner buddy + homepage welcome card): replacements for the others
   ========================================================================== */
/* no Tillo in the Gift Finder or above the footer: give the space back */
.finder__grid > div:first-child { padding-bottom: 0 !important; }
.footer { margin-top: 72px; }
/* back-to-top: a plain round arrow */
.to-top.to-top--plain { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(37,49,140,.3); }
.to-top--plain .to-top__up { position: static; width: auto; height: auto; border: 0; background: none; box-shadow: none; }
.to-top--plain .to-top__up svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .to-top.to-top--plain:hover { animation: none; background: var(--red); transform: translateY(-3px); } }
/* small gift icon where Tillo's face used to be */
.drawer__title-icon, .toast__icon { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--sun-soft); color: var(--red); flex: none; }
.drawer__title-icon .icon, .toast__icon .icon { width: 20px; height: 20px; }
.drawer__title-tillo { gap: 10px; }
/* product page tip without a picture */
.tillo-tip--plain { padding: 12px 14px; }
.tillo-tip__icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--red); flex: none; }
.tillo-tip__icon .icon { width: 18px; height: 18px; }
/* empty pages: a little bunch of balloons */
.empty-art { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: 0 auto 10px; }
.empty-art > *:nth-child(2) { margin-bottom: 14px; }
@media (max-width: 760px) {
  .footer { margin-top: 56px; }
  .to-top.to-top--plain { width: 44px; height: 44px; right: 12px; }
  .to-top--plain .to-top__up svg { width: 20px; height: 20px; }
}
