/* =====================================================================
   Tikko: phone design (screens 720 px wide and smaller)
   Loaded only on phones: <link rel="stylesheet" href="mobile.css?v=9c621f40ca" media="(max-width: 720px)">
   Desktop never sees this file. Works together with mobile.js.
   Rule: every spacing value is a multiple of 8 px.
   ===================================================================== */

:root{ --m-gut:16px; --m-sec:64px; }

html{ scroll-padding-top:80px; }
body{ font-size:16px; -webkit-tap-highlight-color:transparent; }
.wrap{ padding:0 var(--m-gut); }
h2{ font-size:28px; line-height:1.15; }
.muted{ font-size:16px; }

/* ---------- header: logo, cart, menu ---------- */
.nav{ flex-wrap:nowrap; padding:8px 0; gap:8px; }
.logo{ font-size:24px; }
.nav-right{ gap:8px; }
.nav-right .pill{ display:none; }
.cart-btn{ width:48px; height:48px; }
.topbar.stuck{ box-shadow:0 8px 24px rgba(27,27,58,.08); }

/* ---------- hero ---------- */
/* the hero's inner box (used for the full-height first screen on wider screens) does nothing on phones */
.h3-stage{ display:contents; }
.hero3{ padding:8px 0 64px; display:flex; flex-direction:column; }
.hero3 .wrap{ order:1; width:100%; }
.h3-copy{ gap:24px; margin-bottom:24px; }
.h3-copy h1{ font-size:36px; line-height:1.08; max-width:340px; }
.h3-cta{ flex-wrap:nowrap; gap:8px; width:100%; justify-content:center; }
.h3-pricecard{ padding:8px 16px; min-height:56px; gap:8px; flex:none; }
.h3-pricecard s{ font-size:16px; }
.h3-pricecard b{ font-size:32px; }
.h3-cta .pill.big{ flex:1 1 auto; justify-content:space-between; max-width:224px; min-height:56px; padding:8px 8px 8px 24px; font-size:16px; }
.hero3 .bf2-art{ max-width:100%; margin:0 -8px; }
.h3-kids{ order:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; height:auto; margin:8px 0 0; padding:0 8px; }
.h3-kids .kid{ position:static; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; object-position:50% 0; animation:none; -webkit-mask-image:none; mask-image:none; }

/* ---------- moving strip ---------- */
main{ margin-top:-48px; }
.strip, main{ border-radius:32px 32px 0 0; }
.strip{ padding:16px 0; }
.strip-track{ gap:32px; font-size:15px; }

/* ---------- sections ---------- */
.sections{ gap:var(--m-sec); padding-top:48px; padding-bottom:64px; }
.stack{ gap:24px; }
/* section intros: left aligned, heading then one line */
#features .intro, .sections > section > .stack:first-child, #colors > .stack, #how > h2, #faq > h2{
  align-items:flex-start !important; text-align:left !important; gap:8px !important;
}
#colors{ align-items:stretch !important; text-align:left !important; }
#features .intro{ flex-direction:column; }
#features .intro > div{ flex:none; gap:8px; }
#features .intro .ghost{ display:none; }

/* ---------- swipe rows (features, used by mobile.js?v=5c24b4837e for dots) ---------- */
.m-swipe{
  display:flex !important; flex-direction:row !important; height:auto !important;
  gap:16px; margin:0 calc(-1 * var(--m-gut)); padding:0 var(--m-gut) 8px;
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding:0 var(--m-gut);
  overscroll-behavior-x:contain; scrollbar-width:none;
}
.m-swipe::-webkit-scrollbar{ display:none; }
.m-dots{ display:flex; justify-content:center; gap:8px; margin-top:-8px; }
.m-dots button{ width:8px; height:8px; padding:0; border:0; border-radius:4px; background:#C9C2E6; transition:width .25s, background .25s; }
.m-dots button[aria-current="true"]{ width:24px; background:var(--ink); }
.m-dots button::after{ content:""; position:absolute; inset:-16px -4px; } /* bigger tap area */
.m-dots button{ position:relative; }

/* feature cards inside the swipe row */
#cards .card{
  flex:0 0 80% !important; scroll-snap-align:start; transform:none !important;
  padding:8px 8px 24px; gap:16px; border-radius:32px; text-align:left;
}
#cards .card .ph{ flex:none !important; height:auto !important; aspect-ratio:4/5; border-radius:24px; }
#cards .card .ph img{ transform:none !important; }
#cards .card b{ padding:0 8px; font-size:18px; white-space:normal; }
#cards .card b svg{ transform:none !important; }
#cards .card small{ display:block; max-height:none; opacity:1; margin:-8px 0 0; padding:0 8px; white-space:normal; font-size:15px; color:var(--muted); }

/* ---------- kids and parents: tabs ---------- */
.m-tabs{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; background:var(--white); border-radius:32px; padding:8px; }
.m-tabs button{ min-height:48px; border:0; border-radius:24px; background:none; color:var(--ink); font-family:var(--body); font-weight:800; font-size:15px; transition:background .2s, color .2s; }
.m-tabs button[aria-selected="true"]{ background:var(--ink); color:var(--white); }
.duo{ display:block; }
.duo[data-show="kid"] .duo-parent, .duo[data-show="parent"] .duo-kid{ display:none; }
.duo-card{ padding:8px 8px 24px; gap:16px; border-radius:32px; transform:none !important; animation:m-fade .35s ease; }
.duo-pic{ height:auto; aspect-ratio:4/3; border-radius:24px; }
.duo-card .duo-pic img{ transform:none !important; }
.duo-tag{ display:none; }
.duo-card h3{ font-size:24px; padding:8px 16px 0; }
.duo-card ul{ padding:0 16px; gap:16px; font-size:16px; }
@keyframes m-fade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

/* ---------- colors: three tiles in a row ---------- */
.tiles{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:8px; }
.tile{ flex-direction:column !important; justify-content:flex-start !important; align-items:center; gap:8px !important; padding:16px 8px !important; border-radius:24px; }
.tile::before{ display:block !important; width:88px; height:88px; margin-left:-44px; top:24px; }
.tile img{ height:112px !important; }
.tile:hover{ transform:none; }
.tile:hover img{ transform:none; }
.tinfo{ align-items:center !important; gap:0; }
.tinfo b{ font-size:18px; }
.tile .tprice{ display:flex; flex-direction:column; align-items:center; font-size:18px; line-height:1.2; }
.tile .tprice s{ font-size:13px; }
.tadd{ width:100%; min-height:44px; padding:8px; font-size:14px; border-radius:24px; margin-top:8px; }

/* ---------- 3 steps: one card, a dotted line between numbers ---------- */
.steps{ flex-direction:column; gap:0; background:var(--white); border-radius:32px; padding:24px 16px; }
.step{ flex:none; display:grid; grid-template-columns:48px minmax(0,1fr); column-gap:16px; row-gap:0; padding:0 0 24px; background:none; border-radius:0; position:relative; transform:none !important; }
.step:last-child{ padding-bottom:0; }
.step i{ grid-row:span 2; }
.step:not(:last-child)::before{ content:""; position:absolute; left:23px; top:56px; bottom:8px; border-left:2px dashed #D8D2E8; }
.step h3{ font-size:18px; align-self:end; }
.step p{ font-size:15px; }

/* ---------- buy panel ---------- */
.buy{ padding:16px 16px 24px; gap:24px; border-radius:32px; }
.buy-photo{ min-height:0; height:304px; padding:16px; flex:none; width:100%; }
.buy-photo img{ max-height:240px; max-width:80%; }
.buy-sticker{ width:80px; height:80px; font-size:14px; top:16px; right:16px; }
.buy-info{ gap:24px; flex:none; width:100%; }
.buy-head h2{ font-size:28px; }
.buy-sub{ font-size:16px; }
.price{ font-size:40px; }
.swatches{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.swatch{ justify-content:center; padding:4px 8px; min-height:48px; font-size:14px; gap:8px; }
.swatch i{ width:24px; height:24px; flex:none; }
.buy-actions{ flex-wrap:nowrap; gap:8px; }
.bqty{ flex:none; min-height:56px; padding:8px; gap:0; }
.bqty span{ min-width:32px; }
.add{ flex:1 1 auto !important; min-width:0; min-height:56px; padding:8px 16px; font-size:16px; align-self:stretch !important; }
.perks{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:8px; }
.perks li{ flex-direction:column !important; align-items:center !important; text-align:center; gap:8px !important; padding:16px 8px !important; border-radius:24px; }
.perks li span{ font-size:12px; line-height:1.35; }
.perks li b{ font-size:13px; }

/* ---------- questions ---------- */
.faq{ gap:8px; }
.faq details{ padding:0 16px; border-radius:24px; }
.faq summary{ min-height:64px; font-size:17px; line-height:1.3; padding:8px 0; gap:16px; }
.faq summary::after{ width:32px; height:32px; font-size:20px; }
.faq p{ font-size:15px; padding-bottom:16px; margin-top:-8px; }

/* ---------- footer ---------- */
.band{ display:none; }
footer{ padding-top:16px; }
footer > .wrap{ padding-bottom:calc(32px + env(safe-area-inset-bottom)) !important; }
.foot{ padding:24px 16px !important; border-radius:32px !important; gap:32px !important; }
.news{ gap:16px; flex-direction:column; align-items:stretch; }
.news h2{ font-size:22px; line-height:1.2; flex:none; width:100%; }
.news form{ flex-wrap:wrap !important; flex:none; width:100%; gap:8px; }
.news input{ flex:1 1 160px; min-width:0; min-height:48px; padding:8px 16px; }
.news button{ flex:none !important; min-height:48px; padding:8px 24px; }
.news .ok{ display:none; }
.news .ok:not(:empty){ display:block; flex:none; }
.cols{ display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px !important; }
.cols > div:first-child, .cols > div:last-child{ grid-column:1 / -1; }
.cols div{ gap:8px !important; }
.cols a, .cols .linkbtn{ padding:4px 0; }

/* ---------- sticky buy bar (added by mobile.js?v=5c24b4837e) ---------- */
.m-bar{
  position:fixed; left:8px; right:8px; bottom:calc(8px + env(safe-area-inset-bottom)); z-index:15;
  display:flex; align-items:center; gap:16px; padding:8px 8px 8px 8px;
  background:var(--ink); color:var(--white); border-radius:32px;
  box-shadow:0 16px 40px rgba(27,27,58,.32);
  transform:translateY(calc(100% + 24px)); transition:transform .35s cubic-bezier(.2,.9,.3,1);
}
.m-bar.show{ transform:none; }
.m-bar-thumb{ flex:none; width:48px; height:48px; border-radius:24px; background:var(--lilacp); display:flex; align-items:center; justify-content:center; overflow:hidden; transition:background .3s; }
.m-bar-thumb img{ width:40px; height:40px; object-fit:contain; }
.m-bar-txt{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; line-height:1.15; }
.m-bar-txt b{ font-family:var(--display); font-weight:600; font-size:22px; }
.m-bar-txt b s{ font-family:var(--body); font-weight:700; font-size:13px; color:#B8B8CC; margin-left:8px; }
.m-bar-txt small{ font-size:12px; font-weight:700; color:#C9C6E0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.m-bar-go{ flex:none; min-height:48px; padding:8px 24px; border:0; border-radius:24px; background:var(--sun); color:var(--ink); font-family:var(--body); font-weight:800; font-size:15px; }
.m-bar-go:active{ transform:scale(.97); }

/* ---------- menu button and menu sheet (added by mobile.js?v=5c24b4837e) ---------- */
.m-menu-btn{ width:48px; height:48px; border-radius:24px; border:0; background:var(--ink); display:inline-flex; align-items:center; justify-content:center; flex:none; }
.m-scrim{ position:fixed; inset:0; z-index:30; background:rgba(27,27,58,.5); opacity:0; pointer-events:none; transition:opacity .3s; }
.m-scrim.open{ opacity:1; pointer-events:auto; }
.m-sheet{
  position:fixed; left:0; right:0; bottom:0; z-index:31; max-height:88dvh; overflow-y:auto;
  background:var(--cream); border-radius:32px 32px 0 0; padding:8px 16px calc(24px + env(safe-area-inset-bottom));
  display:flex; flex-direction:column; gap:16px;
  transform:translateY(100%); visibility:hidden; transition:transform .4s cubic-bezier(.2,.9,.3,1), visibility 0s .4s;
}
.m-sheet.open{ transform:none; visibility:visible; transition:transform .4s cubic-bezier(.2,.9,.3,1); }
.m-grab{ align-self:center; width:40px; height:4px; border-radius:2px; background:#D8D2E8; margin:8px 0; flex:none; }
.m-sheet-head{ display:flex; align-items:center; justify-content:space-between; }
.m-sheet-head .logo{ font-size:24px; }
.m-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; background:var(--white); border-radius:24px; overflow:hidden; }
.m-links a{ display:flex; align-items:center; justify-content:space-between; min-height:56px; padding:8px 16px; font-family:var(--display); font-weight:600; font-size:20px; color:var(--ink); }
.m-links li + li a{ border-top:1px solid #EFEAF6; }
.m-links a:active{ background:var(--lilacp); }
.m-sheet .pill.big{ width:100%; justify-content:space-between; min-height:56px; font-size:16px; }
.m-sheet-perks{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 16px; font-weight:800; font-size:13px; color:var(--muted); }

/* ---------- cart: bottom sheet ---------- */
.drawer{
  top:auto; left:0; right:0; bottom:0; width:100%; max-height:92dvh;
  border-radius:32px 32px 0 0; padding:0 16px calc(16px + env(safe-area-inset-bottom)); gap:16px;
  transform:translateY(100%);
}
.drawer::before{ content:""; align-self:center; flex:none; width:40px; height:4px; border-radius:2px; background:#D8D2E8; margin-top:8px; }
.drawer header h2{ font-size:24px; }
.drawer .ship{ padding:8px 16px; font-size:14px; }
.items{ min-height:0; }
.item{ padding:8px; gap:16px; }
.thumb{ width:72px; height:72px; }
.sumcard{ padding:16px; gap:8px; border-radius:24px; }
.sumcard .total{ font-size:24px; padding-top:8px; }
.checkout{ min-height:56px; }

/* ---------- checkout: bottom sheet ---------- */
.co{ width:100%; max-width:100%; margin:auto 0 0; border-radius:32px 32px 0 0; max-height:94dvh; }
.co[open]{ animation:m-up .4s cubic-bezier(.2,.9,.3,1); }
@keyframes m-up{ from{ transform:translateY(100%); } to{ transform:none; } }
.co-step{ padding:24px 16px calc(24px + env(safe-area-inset-bottom)); gap:16px; }
.co h2{ font-size:26px; }
.co-grid{ grid-template-columns:minmax(0,1fr) !important; gap:16px; }
.co-go{ position:sticky; bottom:16px; box-shadow:0 8px 24px rgba(27,27,58,.16); }
.co-done{ padding-top:48px; }

/* ---------- cookie banner: a card along the bottom ----------
   mobile.js?v=5c24b4837e hides the sticky buy bar while the banner is open, so they never overlap.
   The cart and menu sheets sit above it, and checkout is a modal, so it never covers them. */
.ck{ left:8px; right:8px; bottom:calc(8px + env(safe-area-inset-bottom)); width:auto; padding:16px; gap:16px; border-radius:32px; }
.ck h2{ font-size:20px; }

/* large phones and small tablets: keep cards and photos from getting too big */
@media (min-width:540px){
  :root{ --m-gut:24px; }
  .h3-copy h1{ max-width:480px; font-size:40px; }
  .hero3 .bf2-art{ max-width:520px; margin:0 auto; }
  .h3-kids{ max-width:560px; margin:8px auto 0; width:100%; }
  #cards .card{ flex-basis:56% !important; }
  .duo-pic{ aspect-ratio:16/9; }
  .tile img{ height:136px !important; }
  .buy-photo{ height:360px; }
}

@media (max-width:360px){
  .h3-copy h1{ font-size:32px; }
  .h3-pricecard b{ font-size:28px; }
  .h3-cta .pill.big{ font-size:15px; padding-left:16px; }
  .tinfo b{ font-size:16px; }
  .tadd{ font-size:13px; }
  .m-bar-go{ padding:8px 16px; }
}

@media (prefers-reduced-motion:reduce){
  .m-bar, .m-sheet, .drawer, .m-scrim{ transition:none; }
  .co[open], .duo-card{ animation:none; }
}
