/* Layout: sticky storefront header with category tabs. Home view (hero, tiles, top picks) and a shared listing view for category, age, budget, deals, saved and search pages, switched by a hash route. */
:root{
  --font-display:'Bricolage Grotesque','Trebuchet MS',system-ui,sans-serif;
  --font-body:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  --bg:#F6F8FC; --surface:#FFFFFF; --ink:#0F1A33; --muted:#566283; --line:#DBE1ED;
  --accent:#1F5BFF; --on-accent:#FFFFFF; --sun:#FFC83D; --on-sun:#3A2900;
  --good:#0B7A53; --good-bg:#DAF2E8; --heart:#E5484D;
  --t-sky:#D5E7FF; --t-sun:#FFEDB3; --t-mint:#CBEEDD; --t-blush:#FFDBD3; --t-lilac:#E4DDFF;
  --foot-bg:#0F1A33; --foot-fg:#C9D3EC; --foot-head:#FFFFFF;
  --shadow:0 12px 40px rgba(15,26,51,.18);
  --radius:16px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0B1121; --surface:#141C33; --ink:#EDF2FF; --muted:#9CA9C9; --line:#27314D;
    --accent:#7AA0FF; --on-accent:#0B1121; --sun:#FFCF55; --on-sun:#2A1E00;
    --good:#5FD3A4; --good-bg:#12362B; --heart:#FF7C82;
    --t-sky:#1B2B50; --t-sun:#3B3318; --t-mint:#173A2E; --t-blush:#472622; --t-lilac:#2B2650;
    --foot-bg:#070B16; --foot-fg:#9CA9C9; --foot-head:#EDF2FF;
    --shadow:0 12px 40px rgba(0,0,0,.5);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0B1121; --surface:#141C33; --ink:#EDF2FF; --muted:#9CA9C9; --line:#27314D;
  --accent:#7AA0FF; --on-accent:#0B1121; --sun:#FFCF55; --on-sun:#2A1E00;
  --good:#5FD3A4; --good-bg:#12362B; --heart:#FF7C82;
  --t-sky:#1B2B50; --t-sun:#3B3318; --t-mint:#173A2E; --t-blush:#472622; --t-lilac:#2B2650;
  --foot-bg:#070B16; --foot-fg:#9CA9C9; --foot-head:#EDF2FF;
  --shadow:0 12px 40px rgba(0,0,0,.5);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html.lock{overflow:hidden}
body{background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.wrap{max-width:1200px;margin-inline:auto;padding-inline:16px}
@media (min-width:900px){.wrap{padding-inline:32px}}
.section{padding-block:clamp(1.75rem,4.5vw,3.25rem)}
.tone-sky{--tile:var(--t-sky)} .tone-sun{--tile:var(--t-sun)} .tone-mint{--tile:var(--t-mint)} .tone-blush{--tile:var(--t-blush)} .tone-lilac{--tile:var(--t-lilac)}

/* icons */
.ico{display:block;width:100%;height:auto;max-width:100%}
.ico *{stroke:var(--ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ico .fw{fill:var(--surface)} .ico .fa{fill:var(--accent)} .ico .fs{fill:var(--sun)} .ico .fn{fill:none} .ico .ft{fill:var(--tile)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:12px;border:1.5px solid transparent;padding:.8rem 1.25rem;font-weight:700;font-size:.95rem;text-decoration:none;line-height:1.2;transition:transform .15s ease,background-color .15s ease}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--accent);color:var(--on-accent)}
.btn.ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn.ghost:hover{border-color:var(--ink)}
.btn.sm{padding:.55rem .8rem;font-size:.85rem;border-radius:10px}

/* announcement */
.announce{background:var(--ink);color:var(--bg);font-size:.8rem;font-weight:600;letter-spacing:.02em;text-align:center;padding:.5rem 16px}

/* header */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px 24px;padding-block:12px 4px}
.logo{display:inline-flex;align-items:center;gap:.5rem;background:none;border:0;padding:0;font-family:var(--font-display);font-weight:800;font-size:1.5rem;letter-spacing:-.03em;color:var(--ink)}
.logo b{color:var(--accent);font-weight:800}
.logo svg{width:32px;height:32px;flex:none}
.logo svg *{stroke:var(--ink);stroke-width:2.5;stroke-linecap:round}
.search{grid-column:1/-1;order:3;position:relative}
.search input{width:100%;border:1.5px solid var(--line);background:var(--surface);border-radius:999px;padding:.65rem 1rem .65rem 2.6rem;font-size:.95rem}
.search input::placeholder{color:var(--muted)}
.search svg{position:absolute;left:.9rem;top:50%;translate:0 -50%;width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.saved-btn{grid-column:3;display:inline-flex;align-items:center;gap:.45rem;border:1.5px solid var(--line);background:var(--surface);border-radius:999px;padding:.5rem .9rem;font-weight:600;font-size:.9rem}
.saved-btn svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2}
.saved-btn[aria-pressed="true"]{border-color:var(--ink)}
.saved-btn[aria-pressed="true"] svg{fill:var(--heart);stroke:var(--heart)}
.saved-btn .n{min-width:1.35rem;height:1.35rem;border-radius:999px;background:var(--ink);color:var(--bg);font-size:.75rem;display:grid;place-items:center;padding-inline:.35rem;font-variant-numeric:tabular-nums}
@media (min-width:760px){.search{grid-column:2;order:0;max-width:520px;justify-self:center;width:100%}}
.tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;margin-top:4px}
.tabs::-webkit-scrollbar{display:none}
.tabs button{flex:none;background:none;border:0;border-bottom:3px solid transparent;padding:.7rem .8rem;font-size:.75rem;font-weight:600;color:var(--muted)}
.tabs button:hover{color:var(--ink)}
.tabs button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--accent);font-weight:700}

/* hero */
.hero{display:grid;gap:2rem;align-items:center;padding-block:clamp(1.5rem,4vw,3rem)}
@media (min-width:860px){.hero{grid-template-columns:1.05fr 1fr;gap:3rem}}
.eyebrow{display:flex;align-items:center;gap:.55rem;font-size:.8rem;font-weight:700;color:var(--muted)}
.eyebrow::before{content:"";width:.7rem;height:.7rem;border-radius:50%;background:var(--sun);flex:none}
h1{font-family:var(--font-display);font-weight:800;font-size:clamp(2.4rem,7vw,4.4rem);line-height:1;letter-spacing:-.035em;text-wrap:balance;margin-top:1rem}
h1 em{font-style:normal;color:var(--accent)}
.lead{margin-top:1.1rem;font-size:1.08rem;color:var(--muted);max-width:34rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.6rem}
.facts{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;margin-top:1.6rem;font-size:.88rem;font-weight:600}
.facts li{display:flex;align-items:center;gap:.45rem}
.facts li::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--accent)}
.hero-art{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:repeat(2,minmax(9.5rem,1fr));gap:12px}
.tile{position:relative;background:var(--tile);border-radius:var(--radius);display:grid;place-items:center;padding:1.25rem 1.25rem 3rem;border:0;text-align:left;color:var(--ink)}
.tile.tall{grid-row:span 2}
.tile .ico{width:min(78%,13rem)}
.tile .chip-l{position:absolute;left:10px;bottom:10px;right:10px;background:var(--surface);border-radius:10px;padding:.4rem .65rem;font-size:.78rem;font-weight:600;line-height:1.25}
.tile .chip-l b{font-variant-numeric:tabular-nums}

/* section heads */
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
h2{font-family:var(--font-display);font-weight:800;font-size:clamp(1.5rem,3.6vw,2.2rem);letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
.link-btn{background:none;border:0;padding:0;font-weight:700;font-size:.85rem;color:var(--accent);white-space:nowrap}
.link-btn:hover{text-decoration:underline}
.sub{color:var(--muted);margin-top:.4rem;max-width:36rem}

/* age tiles */
.age-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:12px}
.age-tile{background:var(--tile);border:0;border-radius:var(--radius);padding:1rem;text-align:left;display:flex;flex-direction:column;gap:.15rem;min-height:9rem;transition:transform .18s ease}
.age-tile:hover{transform:translateY(-3px)}
.age-tile .big{font-family:var(--font-display);font-weight:800;font-size:2.3rem;letter-spacing:-.04em;line-height:1}
.age-tile .unit{font-size:.8rem;font-weight:700}
.age-tile .nm{margin-top:auto;padding-top:.8rem;font-weight:600;font-size:.9rem;line-height:1.25}
.age-tile .ct{font-size:.8rem;color:var(--muted)}

/* category tiles */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.75rem,1fr));gap:12px}
.cat-tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:0;overflow:hidden;text-align:left;display:flex;flex-direction:column;transition:border-color .15s ease}
.cat-tile:hover{border-color:var(--ink)}
.cat-tile .pic{background:var(--tile);aspect-ratio:1/1;max-width:100%;display:grid;place-items:center}
.cat-tile .pic .ico{width:62%}
.cat-tile .lbl{padding:.7rem .8rem .8rem;display:flex;flex-direction:column}
.cat-tile .lbl b{font-size:.95rem}
.cat-tile .lbl span{font-size:.8rem;color:var(--muted)}

/* gifts by budget */
.gift-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:12px}
.gift{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius);padding:1rem;text-align:left;display:flex;flex-direction:column;gap:.15rem}
.gift:hover{border-color:var(--ink)}
.gift small{font-size:.75rem;font-weight:700;color:var(--muted)}
.gift b{font-family:var(--font-display);font-size:1.7rem;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.1}
.gift span{font-size:.82rem;color:var(--muted)}

/* shop + listing */
#shop{scroll-margin-top:8.5rem}
.toolbar{display:flex;flex-direction:column;gap:.9rem;margin-bottom:1.1rem}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);padding:.5rem .95rem;border-radius:999px;font-weight:600;font-size:.85rem}
.chip:hover{border-color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.controls{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem .9rem}
.controls label{display:flex;align-items:center;gap:.5rem;font-size:.82rem;font-weight:600;color:var(--muted)}
.controls select{border:1.5px solid var(--line);background:var(--surface);border-radius:10px;padding:.5rem .6rem;font-size:.88rem;font-weight:600;color:var(--ink);max-width:100%}
.count{margin-left:auto;font-size:.88rem;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,10.5rem),1fr));gap:12px}
@media (min-width:700px){.grid{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:16px}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.thumb{position:relative;background:var(--tile);aspect-ratio:1/1;max-width:100%;display:grid;place-items:center}
.thumb .ico{width:58%}
.badge{position:absolute;left:10px;top:10px;border-radius:8px;padding:.2rem .5rem;font-size:.7rem;font-weight:800}
.b-top{background:var(--sun);color:var(--on-sun)}
.b-price{background:var(--good-bg);color:var(--good)}
.b-new{background:var(--ink);color:var(--bg)}
.heart{position:absolute;right:8px;top:8px;width:36px;height:36px;border-radius:50%;border:0;background:var(--surface);display:grid;place-items:center;padding:0}
.heart svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
.heart[aria-pressed="true"] svg{fill:var(--heart);stroke:var(--heart)}
.info{padding:.75rem .8rem .85rem;display:flex;flex-direction:column;gap:.3rem;flex:1;min-width:0}
.meta{font-size:.74rem;font-weight:600;color:var(--muted);letter-spacing:.02em}
.info h3{font-size:.95rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.spec{font-size:.8rem;color:var(--muted);line-height:1.35}
.price{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem .5rem;margin-top:auto;padding-top:.4rem;font-variant-numeric:tabular-nums}
.price strong{font-family:var(--font-display);font-size:1.25rem;font-weight:800;letter-spacing:-.02em}
.price s{color:var(--muted);font-size:.85rem}
.price .off{color:var(--good);font-weight:700;font-size:.8rem}
.info .btn{margin-top:.5rem;width:100%}
.empty{border:1.5px dashed var(--line);border-radius:var(--radius);padding:2.5rem 1rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.9rem}
.empty p{color:var(--muted)}

/* listing page */
.crumbs{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--muted);padding-block:1rem .75rem}
.crumbs button{background:none;border:0;padding:0;font-weight:600;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.crumbs button:hover{color:var(--ink)}
.crumbs [aria-current]{color:var(--ink);font-weight:600}
.banner{display:grid;gap:1.25rem;background:var(--tile);border-radius:calc(var(--radius) + 6px);padding:clamp(1.25rem,4vw,2.5rem);align-items:center}
@media (min-width:720px){.banner.has-art{grid-template-columns:1.5fr 1fr}}
.banner .art{display:none;max-width:12rem;width:100%;justify-self:center}
@media (min-width:720px){.banner .art{display:block}}
.banner .lead{color:var(--ink)}
.banner .chips{flex-wrap:wrap;overflow:visible;margin-top:1.25rem}
.page-title{font-size:clamp(2rem,6vw,3.4rem);margin-top:.6rem}
.page-title:focus{outline:none}
.lp-list{padding-block:1.75rem 0}

/* curation */
.how{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.5rem 2rem}
.how li{border-top:2px solid var(--ink);padding-top:.9rem}
.how h3{font-family:var(--font-display);font-size:1.25rem;font-weight:800;letter-spacing:-.02em}
.how p{margin-top:.4rem;color:var(--muted);font-size:.95rem}

/* journal */
.posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:12px}
.post{display:flex;flex-direction:column;gap:.6rem;text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;min-width:0}
.post:hover{border-color:var(--ink)}
.post .tag{align-self:flex-start;background:var(--tile);border-radius:8px;padding:.15rem .5rem;font-size:.72rem;font-weight:800}
.post h3{font-size:1.02rem;font-weight:700;line-height:1.3}
.post .mins{margin-top:auto;font-size:.8rem;color:var(--muted)}

/* newsletter */
.nl{background:var(--t-sun);border-radius:calc(var(--radius) + 6px);padding:clamp(1.5rem,5vw,3rem);display:grid;gap:1.25rem}
@media (min-width:800px){.nl{grid-template-columns:1.1fr 1fr;align-items:center}}
.nl form{display:flex;flex-wrap:wrap;gap:.6rem}
.nl input{flex:1 1 14rem;min-width:0;border:1.5px solid var(--line);background:var(--surface);border-radius:12px;padding:.8rem 1rem}
.nl input::placeholder{color:var(--muted)}
.nl .msg{flex-basis:100%;font-size:.85rem;font-weight:600;min-height:1.3em}

/* footer */
footer{background:var(--foot-bg);color:var(--foot-fg);margin-top:1rem}
.foot{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:2rem;padding-block:2.5rem 1.5rem}
.foot h4{margin:0 0 .8rem;font-size:.75rem;color:var(--foot-head)}
.foot li+li{margin-top:.5rem}
.foot a,.flink{color:var(--foot-fg);text-decoration:none;font-size:.9rem;background:none;border:0;padding:0;text-align:left}
.foot a:hover,.flink:hover{color:var(--foot-head);text-decoration:underline}
.foot .logo{color:var(--foot-head)}
.foot .logo svg *{stroke:var(--foot-head)}
.foot .logo b{color:var(--sun)}
.foot p{font-size:.88rem;margin-top:.8rem;max-width:20rem}
.legal{border-top:1px solid rgba(255,255,255,.14);padding-block:1.25rem calc(1.25rem + env(safe-area-inset-bottom,0px));font-size:.8rem;display:flex;flex-direction:column;gap:.5rem}

/* sheet */
.sheet-wrap{position:fixed;inset:0;z-index:50;display:grid;align-items:end;justify-items:center}
.scrim{position:absolute;inset:0;background:rgba(8,12,24,.55)}
.sheet{position:relative;background:var(--surface);color:var(--ink);width:min(100%,32rem);max-height:88%;overflow:auto;border-radius:20px 20px 0 0;padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom,0px));box-shadow:var(--shadow)}
@media (min-width:700px){.sheet-wrap{align-items:center}.sheet{border-radius:20px;padding:1.5rem}}
.sheet .x{position:absolute;right:10px;top:10px;width:38px;height:38px;border-radius:50%;border:0;background:var(--bg);font-size:1.4rem;line-height:1;display:grid;place-items:center;padding:0}
.sh-head{display:flex;gap:1rem;align-items:center;padding-right:2.5rem}
.sh-head .thumb{width:72px;flex:none;border-radius:12px}
.sh-head .thumb .ico{width:70%}
.sh-head h2{font-size:1.2rem;margin-top:.15rem;letter-spacing:-.01em}
.offers{margin-top:1.1rem;display:flex;flex-direction:column;gap:8px}
.offers li{display:grid;grid-template-columns:1fr auto;gap:.5rem .8rem;align-items:center;border:1.5px solid var(--line);border-radius:12px;padding:.7rem .8rem}
.offers li.best{border-color:var(--accent)}
.offers .st{font-weight:700;display:flex;flex-wrap:wrap;gap:.2rem .5rem;align-items:center}
.offers .pill{background:var(--good-bg);color:var(--good);border-radius:6px;font-size:.68rem;font-weight:800;padding:.1rem .4rem}
.offers .sh{font-size:.8rem;color:var(--muted);grid-column:1}
.offers .pr{font-family:var(--font-display);font-weight:800;font-size:1.2rem;font-variant-numeric:tabular-nums;text-align:right}
.offers .go{grid-column:2;grid-row:2}
.note{margin-top:1rem;font-size:.78rem;color:var(--muted)}

/* directory pages */
.chips.wrapchips{flex-wrap:wrap;overflow:visible}
.res-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:12px}
.res-card{background:var(--tile);border:0;border-radius:var(--radius);padding:1rem;text-align:left;display:flex;flex-direction:column;gap:.35rem;color:var(--ink);transition:transform .18s ease}
.res-card:hover{transform:translateY(-3px)}
.res-card .pic{width:4.5rem;margin-bottom:.4rem}
.res-card b{font-family:var(--font-display);font-size:1.2rem;letter-spacing:-.02em}
.res-card span{font-size:.88rem}
.city-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:10px}
.city{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;padding:.85rem 1rem;text-align:left;font-weight:600}
.city:hover{border-color:var(--ink)}
.notice{background:var(--t-sun);color:var(--ink);border-radius:12px;padding:.7rem 1rem;font-size:.88rem;margin-bottom:1rem}
.dir-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:12px}
.dir-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;display:flex;flex-direction:column;gap:.55rem;min-width:0}
.dir-card h3{font-size:1.05rem;font-weight:700;line-height:1.3}
.dir-card .sample{align-self:flex-start;background:var(--ink);color:var(--bg);border-radius:6px;padding:.1rem .45rem;font-size:.68rem;font-weight:800}
.feats{display:flex;flex-wrap:wrap;gap:6px}
.feats li{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:.15rem .6rem;font-size:.78rem;font-weight:600}
.dir-card .btn{margin-top:auto}

/* footer resources */
.res{border-bottom:1px solid rgba(255,255,255,.14);padding-block:2.5rem 1.75rem}
.res-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1rem}
.res-head h3{font-family:var(--font-display);font-size:1.4rem;font-weight:800;letter-spacing:-.02em;color:var(--foot-head)}
.res-all{color:var(--sun);font-size:.85rem;font-weight:700;text-decoration:none}
.res-all:hover{text-decoration:underline}
.res-sub{font-size:.9rem;margin-top:.35rem;max-width:36rem}
.res-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.5rem 2rem;margin-top:1.25rem}
.res-grid details{border-top:1px solid rgba(255,255,255,.14);padding-block:.5rem}
.res-grid summary{cursor:pointer;list-style:none;font-size:.75rem;font-weight:700;color:var(--foot-head);padding-block:.35rem;display:flex;justify-content:space-between}
.res-grid summary::-webkit-details-marker{display:none}
.res-grid summary::after{content:"+";font-weight:600}
.res-grid details[open] summary::after{content:"\2212"}
.res-grid ul{margin-top:.4rem}
.res-grid li+li{margin-top:.4rem}
.res-grid a{color:var(--foot-fg);font-size:.85rem;text-decoration:none}
.res-grid a:hover{color:var(--foot-head);text-decoration:underline}

/* toast */
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));translate:-50% 12px;opacity:0;pointer-events:none;background:var(--ink);color:var(--bg);padding:.7rem 1rem;border-radius:12px;font-size:.88rem;font-weight:600;max-width:min(92vw,26rem);text-align:center;z-index:60;transition:opacity .2s ease,translate .2s ease}
.toast.show{opacity:1;translate:-50% 0}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---- multi-page additions ---- */
[hidden]{display:none!important}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--bg);padding:.6rem 1rem;z-index:100;border-radius:0 0 10px 0}
.skip:focus{left:0}
a.logo,a.saved-btn,a.age-tile,a.cat-tile,a.gift,a.res-card,a.city,a.tile,a.post,a.btn,.info h3 a,.thumb a{text-decoration:none;color:var(--ink)}
a.btn.primary{color:var(--on-accent)}
a.link-btn{color:var(--accent)}
.logo{cursor:pointer}
.actions{grid-column:3;display:flex;align-items:center;gap:8px}
.icon-btn{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:var(--surface);display:grid;place-items:center;padding:0}
.icon-btn svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
.tabs a{flex:none;border-bottom:3px solid transparent;padding:.7rem .8rem;font-size:.75rem;font-weight:600;color:var(--muted);text-decoration:none;white-space:nowrap}
.tabs a:hover{color:var(--ink)}
.tabs a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--accent);font-weight:700}
.crumbs a{color:var(--muted);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.crumbs a:hover{color:var(--ink)}
.age-tile,.res-card,.gift,.cat-tile,.tile{display:flex;flex-direction:column}
.tile{display:grid}
.thumb a{display:grid;place-items:center;width:100%;height:100%}
.info h3 a:hover{text-decoration:underline}
.info .btn{margin-top:.5rem;width:100%}
.price.big{padding-top:.9rem}
.price.big strong{font-size:2rem}
.pdp{display:grid;gap:1.5rem;padding-bottom:1rem}
@media (min-width:860px){.pdp{grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}}
.pdp-art{position:relative;background:var(--tile);border-radius:calc(var(--radius) + 6px);aspect-ratio:1/1;display:grid;place-items:center;max-width:32rem;width:100%}
.pdp-art .ico{width:56%}
.pdp .lead{margin-top:.6rem}
.pdp .spec{margin-top:.2rem}
.offers{padding:0;margin-top:1.1rem;display:flex;flex-direction:column;gap:8px}
.offers .go{white-space:nowrap}
span.btn[aria-disabled]{opacity:.7;cursor:not-allowed}
.details{display:grid;gap:.6rem;margin:1.5rem 0 0;border-top:1px solid var(--line);padding-top:1rem}
.details div{display:grid;grid-template-columns:7rem 1fr;gap:.5rem}
.details dt{font-weight:700;font-size:.85rem;color:var(--muted)}
.details dd{margin:0}
.details a{color:var(--accent)}
.article{max-width:42rem;padding-block:1rem 2rem}
.article h2{font-size:1.4rem;margin-top:2rem}
.article p{margin-top:.6rem}
.article .lead{font-size:1.15rem}
.step-head{margin-bottom:1rem;max-width:40rem}
.step-head h2{margin-top:.4rem}
.nl .stack{display:grid;gap:.6rem}
.nl textarea,.nl .stack input{border:1.5px solid var(--line);background:var(--surface);border-radius:12px;padding:.8rem 1rem;width:100%;font:inherit}
.dir-card .spec{margin:0}
.res-card .pic{display:block}
.banner .page-title{margin-top:.6rem}
.step{padding-block:1.25rem}
.lp-list .count{margin-left:0}
main{min-height:60vh}
.eyebrow{display:flex}
.bar{gap:10px 12px}
@media (max-width:520px){.saved-btn .lbl{display:none}.saved-btn{padding:.5rem .65rem}.logo{font-size:1.3rem}}
html,body{overflow-x:hidden}
@media (max-width:699px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* sentence case labels: sizes adjusted after removing uppercase */
.tabs a{font-size:.9rem}
.eyebrow{font-size:.85rem}
.link-btn{font-size:.92rem}
.badge{font-size:.75rem}
.offers .pill{font-size:.75rem}
.post .tag,.dir-card .sample{font-size:.75rem}
.gift small,.age-tile .unit{font-size:.82rem}
.foot h4,.res-grid summary{font-size:.88rem}
.res-all{font-size:.9rem}
.foot .logo b{color:#7AA0FF}
