:root{
  --bg:#F6F7FA; --surface:#EEF0F5; --card:#FFFFFF; --ink:#16171C; --muted:#5A5D68; --line:#E1E4EB;
  --band:#0B0B0D; --red:#D7192D; --red-ink:#FFFFFF; --yellow:#FFC72C; --blue:#1E5BD8; --green:#1C8C43;
  --focus:#1E5BD8; --hl:#FFE48A;
  --shadow:0 1px 2px rgba(20,22,30,.05),0 4px 14px rgba(20,22,30,.06);
  --shadow-lg:0 10px 40px rgba(20,22,30,.18);
  --f-display:"Baloo 2",ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;
  --f-body:"Mulish",system-ui,-apple-system,"Segoe UI",sans-serif;
  --hdr:68px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#101115; --surface:#1B1D24; --card:#1E2028; --ink:#F2F3F6; --muted:#A6AAB6; --line:#2E313A;
  --band:#000; --focus:#7FA6FF; --hl:#6B5A10;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 4px 14px rgba(0,0,0,.3); --shadow-lg:0 10px 40px rgba(0,0,0,.6); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#101115; --surface:#1B1D24; --card:#1E2028; --ink:#F2F3F6; --muted:#A6AAB6; --line:#2E313A;
  --band:#000; --focus:#7FA6FF; --hl:#6B5A10;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 4px 14px rgba(0,0,0,.3); --shadow-lg:0 10px 40px rgba(0,0,0,.6); color-scheme:dark}
*{box-sizing:border-box}
html{scroll-padding-top:150px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:15px;line-height:1.5;-webkit-tap-highlight-color:transparent}
.wrap{max-width:1280px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
mark{background:var(--hl);color:inherit;border-radius:3px;padding:0 1px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ===== Sticky header ===== */
.top{position:sticky;top:0;z-index:15;background:var(--band);color:#fff;padding-top:env(safe-area-inset-top,0px)}
.top .wrap{display:flex;align-items:center;gap:14px;height:var(--hdr)}
.logo{all:unset;cursor:pointer;display:flex;align-items:center;flex:none;border-radius:8px}
.logo img{height:46px;width:auto;display:block}
.logo:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.sbox{flex:1;min-width:0;position:relative;max-width:720px}
.sfield{display:flex;align-items:center;height:46px;background:#fff;border-radius:999px;padding:0 6px 0 16px;gap:8px;border:2px solid transparent;transition:border-color .15s}
.sfield:focus-within{border-color:var(--yellow)}
.sfield svg{flex:none;color:#6B6E78}
.sfield input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#16171C;height:100%;font-size:16px}
.sfield input::placeholder{color:#8A8D97}
.sfield input::-webkit-search-cancel-button{display:none}
.sclear{flex:none;width:34px;height:34px;border-radius:999px;border:0;background:#EEF0F5;color:#16171C;display:grid;place-items:center}
.sclear[hidden]{display:none}
.listbtn{flex:none;height:46px;border:0;border-radius:999px;background:var(--red);color:#fff;font-weight:800;padding:0 16px 0 14px;display:flex;align-items:center;gap:8px}
.listbtn b{background:#fff;color:var(--red);border-radius:999px;min-width:24px;height:24px;display:grid;place-items:center;font-size:13px;padding:0 6px}
.listbtn.bump{animation:bump .35s ease}
@keyframes bump{50%{transform:scale(1.08)}}

/* Suggestions */
.sugg{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--card);color:var(--ink);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden;z-index:30;max-height:min(70vh,560px);overflow-y:auto;border:1px solid var(--line)}
.sugg[hidden]{display:none}
.sugg h4{margin:0;padding:12px 16px 6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sg{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;text-align:left;padding:8px 16px;min-height:52px}
.sg[aria-selected="true"],.sg:hover{background:var(--surface)}
.sg .spr{width:66px;height:30px;flex:none;border-radius:6px;aspect-ratio:auto}
.sg .t{flex:1;min-width:0;font-weight:700;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.sg .t small{display:block;font-weight:600;color:var(--muted);font-size:12px}
.sg .p{font-family:var(--f-display);font-weight:800;white-space:nowrap}
.sg .ic{width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;color:#fff;font-weight:800;font-size:13px}
.sgall{display:block;width:100%;border:0;border-top:1px solid var(--line);background:var(--card);padding:14px 16px;font-weight:800;color:var(--blue);text-align:left}
.sgall[aria-selected="true"],.sgall:hover{background:var(--surface)}
.sgnone{padding:16px;color:var(--muted)}

/* ===== Universe nav ===== */
.nav{position:sticky;top:calc(var(--hdr) + env(safe-area-inset-top,0px));z-index:12;background:var(--card);border-bottom:1px solid var(--line);box-shadow:0 2px 10px rgba(20,22,30,.04)}
.rail{position:relative}
.scroller{display:flex;gap:8px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:10px 2px}
.scroller::-webkit-scrollbar{display:none}
.rail .arr{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);display:none;place-items:center;z-index:2}
.rail .arr.l{left:-6px}.rail .arr.r{right:-6px}
@media (hover:hover) and (min-width:760px){.rail.ol .arr.l,.rail.or .arr.r{display:grid}}
.rail::before,.rail::after{content:"";position:absolute;top:0;bottom:0;width:28px;pointer-events:none;z-index:1;opacity:0;transition:opacity .2s}
.rail::before{left:0;background:linear-gradient(90deg,var(--card),transparent)}
.rail::after{right:0;background:linear-gradient(-90deg,var(--card),transparent)}
.rail.ol::before,.rail.or::after{opacity:1}
.pill{flex:none;height:40px;border-radius:999px;border:1.5px solid var(--line);background:var(--card);padding:0 16px;font-weight:800;display:flex;align-items:center;gap:8px;white-space:nowrap;transition:background .15s,border-color .15s}
.pill small{font-weight:700;color:var(--muted);font-size:12px}
.pill:hover{border-color:var(--ink)}
.pill[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--card)}
.pill[aria-pressed="true"] small{color:inherit;opacity:.75}
.pill .dot{width:10px;height:10px;border-radius:999px;flex:none}
.subs{border-top:1px dashed var(--line)}
.subs[hidden]{display:none}
.subs .pill{height:34px;font-weight:700;font-size:14px;padding:0 13px;background:var(--surface);border-color:transparent}
.subs .pill[aria-pressed="true"]{background:var(--ink);color:var(--card)}

/* ===== Home ===== */
.hero{background:var(--band);color:#fff;overflow:hidden;position:relative}
.hero .wrap{padding-block:26px 30px;display:flex;flex-direction:column;gap:10px;position:relative;z-index:1}
.hero h1{font-family:var(--f-display);font-weight:800;font-size:clamp(30px,5vw,52px);line-height:1;margin:0;text-wrap:balance}
.hero h1 span{color:var(--yellow)}
.hero p{margin:0;color:#D6D8DE;max-width:62ch;font-size:16px}
.hero .stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.hero .stats b{background:rgba(255,255,255,.1);border-radius:999px;padding:6px 14px;font-weight:700;font-size:14px}
.stripes{display:flex;height:6px}.stripes i{flex:1}
.stripes i:nth-child(1){background:var(--red)}.stripes i:nth-child(2){background:var(--yellow)}.stripes i:nth-child(3){background:var(--blue)}.stripes i:nth-child(4){background:#1FA34A}
.sec{padding-block:26px 6px}
.sec h2{font-family:var(--f-display);font-size:26px;line-height:1.1;margin:0 0 14px;display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sec h2 small{font-family:var(--f-body);font-size:14px;font-weight:700;color:var(--muted)}
.quick{display:flex;gap:8px;flex-wrap:wrap}
.qk{height:38px;border-radius:999px;border:1.5px solid var(--line);background:var(--card);padding:0 14px;font-weight:700;display:flex;align-items:center;gap:6px}
.qk:hover{border-color:var(--ink)}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.tile{all:unset;box-sizing:border-box;cursor:pointer;background:var(--card);border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;position:relative}
.tile:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.tile .im{background:#fff;position:relative}
.tile .im .spr{border-bottom:1px solid var(--line)}
.tile .tx{padding:12px 14px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:4px solid var(--c)}
.tile b{font-family:var(--f-display);font-size:21px;line-height:1.1}
.tile span{font-weight:700;font-size:13px;color:var(--muted)}
.tile .go{width:34px;height:34px;border-radius:999px;background:var(--c);color:#fff;display:grid;place-items:center;flex:none}
@media (prefers-reduced-motion:no-preference){.tile,.card{transition:transform .15s ease,box-shadow .15s ease}.tile:hover,.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}}

/* ===== Results toolbar ===== */
.tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding-block:16px 4px}
.ttl{display:flex;flex-direction:column;gap:2px;min-width:0}
.ttl h2{margin:0;font-family:var(--f-display);font-size:26px;line-height:1.1;text-wrap:balance}
.ttl .count{color:var(--muted);font-weight:700;font-size:14px}
.fl{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sel{position:relative}
.sel select{appearance:none;-webkit-appearance:none;height:40px;border:1.5px solid var(--line);border-radius:999px;background:var(--card);padding:0 34px 0 14px;font-weight:700;font-size:14px}
.sel select:hover{border-color:var(--ink)}
.sel::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.sel.on select{background:var(--ink);color:var(--card);border-color:var(--ink)}
.active{display:flex;gap:8px;flex-wrap:wrap;padding-block:6px 2px}
.active[hidden]{display:none}
.ac{height:32px;border-radius:999px;border:0;background:var(--surface);padding:0 8px 0 12px;font-weight:700;font-size:13px;display:flex;align-items:center;gap:6px}
.ac i{font-style:normal;width:20px;height:20px;border-radius:999px;background:var(--line);display:grid;place-items:center;font-size:13px;line-height:1}
.ac.reset{background:none;color:var(--red);text-decoration:underline;text-underline-offset:3px;padding:0 6px}

/* ===== Grid ===== */
main{min-height:60vh}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;padding-block:12px 20px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);position:relative;content-visibility:auto;contain-intrinsic-size:auto 330px}
.card .open{all:unset;cursor:pointer;display:flex;flex-direction:column;flex:1}
.card .open:focus-visible{outline:3px solid var(--focus);outline-offset:-3px;border-radius:16px}
.pic{background:#fff;border-bottom:1px solid var(--line)}
.spr{display:block;width:100%;aspect-ratio:880/400;background-repeat:no-repeat;background-color:#fff}
.body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:5px;flex:1}
.tag{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#fff;border-radius:6px;padding:2px 8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.name{font-weight:800;line-height:1.3;font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.meta{font-size:12.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.price{margin-top:auto;font-family:var(--f-display);font-weight:800;font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums}
.heart{position:absolute;top:8px;right:8px;width:40px;height:40px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.95);display:grid;place-items:center;color:#5A5D68}
.heart[aria-pressed="true"]{color:var(--red);border-color:var(--red)}
.heart[aria-pressed="true"] path{fill:currentColor}
.more{display:flex;justify-content:center;padding:8px 0 40px}
.more[hidden]{display:none}
.btn{height:46px;border-radius:999px;border:2px solid var(--ink);background:var(--ink);color:var(--card);font-weight:800;padding:0 22px}
.btn.ghost{background:transparent;color:var(--ink)}
.btn.red{background:var(--red);border-color:var(--red);color:#fff}
.empty{padding:56px 16px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:12px}
.empty[hidden]{display:none}
.empty strong{display:block;font-family:var(--f-display);font-size:26px;color:var(--ink)}

/* ===== Sheet & drawer ===== */
.scrim{position:fixed;inset:0;background:rgba(5,6,10,.55);z-index:40;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.scrim[hidden],.drawer[hidden],.totop[hidden]{display:none}
.sheet>*{flex-shrink:0}
.sheet{background:var(--card);color:var(--ink);border-radius:20px;max-width:760px;width:100%;max-height:100%;overflow:auto;display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}
.sheet .pic{border-radius:20px 20px 0 0;overflow:hidden}
.sheet .in{padding:18px 20px 22px;display:flex;flex-direction:column;gap:10px}
.sheet h2{font-family:var(--f-display);font-size:28px;line-height:1.1;margin:0;text-wrap:balance}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:4px 0}
.fact{background:var(--surface);border-radius:12px;padding:8px 12px;min-width:0}
.fact span{display:block;font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.fact b{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sheet .bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sheet .price{font-size:32px}
.close{position:sticky;top:0;align-self:flex-end;margin:10px 10px -54px 0;width:44px;height:44px;border-radius:999px;border:0;background:rgba(0,0,0,.7);color:#fff;z-index:2;font-size:22px;line-height:1}
.note{font-size:13px;color:var(--muted)}
.similar h3{margin:8px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.simrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.sim{all:unset;cursor:pointer;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;background:var(--card)}
.sim:focus-visible{outline:3px solid var(--focus)}
.sim span.n{font-size:13px;font-weight:700;padding:6px 8px 0;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sim span.p{font-family:var(--f-display);font-weight:800;padding:0 8px 6px}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:var(--card);z-index:41;display:flex;flex-direction:column;box-shadow:-10px 0 30px rgba(0,0,0,.25);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-right:env(safe-area-inset-right,0px)}
.drawer header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}
.drawer h2{font-family:var(--f-display);margin:0;font-size:26px}
.dl{flex:1;overflow:auto;padding:8px 18px;display:flex;flex-direction:column}
.li{display:grid;grid-template-columns:72px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.li .spr{width:72px;height:33px;aspect-ratio:auto;border-radius:6px}
.li .t{font-weight:700;font-size:14px;line-height:1.3;min-width:0}
.li .p{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.li button{grid-column:2;justify-self:start;background:none;border:0;color:var(--red);font-weight:700;padding:2px 0;font-size:13px}
.drawer footer{padding:14px 18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.total{display:flex;justify-content:space-between;font-family:var(--f-display);font-size:24px;font-weight:800;font-variant-numeric:tabular-nums}
.totop{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));z-index:14;width:48px;height:48px;border-radius:999px;border:0;background:var(--ink);color:var(--card);box-shadow:var(--shadow-lg);display:grid;place-items:center}
footer.site{border-top:1px solid var(--line);color:var(--muted);font-size:13px;background:var(--card)}
footer.site .wrap{padding-block:18px calc(18px + env(safe-area-inset-bottom,0px))}

@media (max-width:640px){
  :root{--hdr:60px}
  html{scroll-padding-top:170px}
  .top .wrap{gap:8px}
  .logo img{height:34px}
  .sfield{height:42px;padding:0 4px 0 12px}
  .sfield input{font-size:16px}
  .listbtn{height:42px;padding:0 10px 0 12px}
  .listbtn span{display:none}
  .scroller{padding:8px 2px;gap:6px}
  .pill{height:36px;padding:0 12px;font-size:14px}
  .subs .pill{height:32px;font-size:13px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tile b{font-size:17px}.tile .go{display:none}.tile .tx{padding:10px 12px 12px}
  .name{font-size:13.5px}.price{font-size:20px}.meta{display:none}.body{padding:8px 10px 10px}
  .heart{width:36px;height:36px;top:6px;right:6px}
  .hero .wrap{padding-block:20px 22px}.hero p{font-size:15px}
  .sec h2{font-size:22px}
  .ttl h2{font-size:22px}
  .tools{flex-direction:column;align-items:stretch;flex-wrap:nowrap}
  .fl{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
  .fl::-webkit-scrollbar{display:none}
  .sel{flex:none}
  .sugg{position:fixed;left:8px;right:8px;top:calc(env(safe-area-inset-top,0px) + 62px)}
  .sheet .in{padding:16px}
  .sheet h2{font-size:24px}
}

/* ======================= SITE (Drive) ======================= */
.pimg{display:block;width:100%;aspect-ratio:880/400;object-fit:contain;background:#fff}
.sg .pimg{width:66px;height:30px;flex:none;border-radius:6px;aspect-ratio:auto}
.li .pimg{width:72px;height:33px;aspect-ratio:auto;border-radius:6px}
a{color:var(--blue)}
.hbtn{flex:none;height:46px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-weight:800;padding:0 14px;display:flex;align-items:center;gap:8px;text-decoration:none}
.hbtn:hover{background:rgba(255,255,255,.2)}
.hbtn.red{background:var(--red)}
.hbtn.red:hover{background:#B91426}
.hbtn b{background:#fff;color:var(--red);border-radius:999px;min-width:24px;height:24px;display:grid;place-items:center;font-size:13px;padding:0 6px}
.hbtn.bump{animation:bump .35s ease}
.topnav{display:flex;gap:4px;align-items:center}
.links{background:var(--band);border-top:1px solid rgba(255,255,255,.08)}
.links .wrap{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;height:40px;align-items:center}
.links .wrap::-webkit-scrollbar{display:none}
.links a{color:#D6D8DE;text-decoration:none;font-weight:700;font-size:14px;padding:6px 12px;border-radius:999px;white-space:nowrap}
.links a:hover,.links a[aria-current="page"]{background:rgba(255,255,255,.12);color:#fff}
.links a.y{color:var(--yellow)}
.badge{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:var(--red);color:#fff;font-size:12px;font-weight:800;padding:0 6px;margin-left:4px}
.view[hidden]{display:none}
.banner{background:var(--yellow);color:#16171C}
.banner .wrap{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;padding-block:9px;font-weight:800;text-align:center;font-size:14px}
.banner a{color:#16171C}
.hero .cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.hero .btn{border-color:#fff;background:#fff;color:#16171C}
.hero .btn.ghost{background:transparent;color:#fff}
.hero .btn.red{background:var(--red);border-color:var(--red);color:#fff}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.step{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow);display:flex;gap:14px;align-items:flex-start}
.step i{font-style:normal;flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;font-family:var(--f-display);font-weight:800;font-size:22px}
.step b{display:block;font-family:var(--f-display);font-size:19px;line-height:1.15}
.step span{color:var(--muted);font-size:14px}
.avail{font-size:12.5px;font-weight:800;display:flex;align-items:center;gap:6px}
.avail::before{content:"";width:8px;height:8px;border-radius:999px;background:currentColor;flex:none}
.avail.ok{color:var(--green)}.avail.low{color:#B45309}.avail.no{color:var(--muted)}
.new{position:absolute;top:8px;left:8px;background:var(--yellow);color:#16171C;font-weight:800;font-size:11px;letter-spacing:.05em;text-transform:uppercase;border-radius:6px;padding:3px 8px;z-index:1}
.addq{position:absolute;top:8px;right:8px;width:40px;height:40px;border-radius:999px;border:0;background:var(--red);color:#fff;display:grid;place-items:center;box-shadow:var(--shadow)}
.addq[disabled]{background:var(--line);color:var(--muted);cursor:not-allowed}
.addq.in{background:var(--green)}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;height:40px;overflow:hidden;background:var(--card)}
.qty button{width:38px;height:100%;border:0;background:none;font-size:20px;font-weight:800}
.qty button[disabled]{opacity:.35;cursor:not-allowed}
.qty span{min-width:30px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.li .qty{height:32px}.li .qty button{width:30px;font-size:17px}
.li .ctl{grid-column:2/4;display:flex;align-items:center;justify-content:space-between;gap:8px}
.li .ctl button.rm{grid-column:auto}
.offer{background:#FFF6D6;color:#5A4500;border-radius:12px;padding:10px 12px;font-weight:700;font-size:13.5px}
.offer.ok{background:#E3F6EA;color:#14532D}
:root[data-theme="dark"] .offer{background:#3A3010;color:#FFE6A0}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .offer{background:#3A3010;color:#FFE6A0}:root:not([data-theme="light"]) .offer.ok{background:#12351F;color:#B9F0CB}}
:root[data-theme="dark"] .offer.ok{background:#12351F;color:#B9F0CB}
.bar{height:8px;border-radius:999px;background:rgba(0,0,0,.08);overflow:hidden;margin-top:6px}
.bar i{display:block;height:100%;background:var(--yellow)}
.row{display:flex;justify-content:space-between;gap:10px;font-weight:700;font-variant-numeric:tabular-nums}
.row.disc{color:var(--green)}
textarea,input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search].in,input[type=number],input[type=date],select.in{width:100%;border:1.5px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:10px 12px;font-size:16px;min-height:46px}
textarea{min-height:80px;resize:vertical}
textarea:focus,input:focus,select.in:focus{outline:none;border-color:var(--focus)}
.page{padding-block:24px 48px}
.page h1{font-family:var(--f-display);font-size:clamp(28px,4vw,40px);line-height:1.05;margin:0 0 8px}
.page h2{font-family:var(--f-display);font-size:24px;margin:26px 0 10px;line-height:1.15}
.page p,.page li{max-width:72ch}
.panel{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:20px}
.narrow{max-width:560px;margin:0 auto}
.form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form .full{grid-column:1/-1}
.form label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:14px}
.form label small{font-weight:600;color:var(--muted)}
.check{display:flex !important;flex-direction:row !important;align-items:flex-start;gap:10px;font-weight:600 !important}
.check input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--red)}
.tabs{display:flex;gap:6px;background:var(--surface);border-radius:999px;padding:4px;margin-bottom:16px}
.tabs button{flex:1;height:40px;border:0;border-radius:999px;background:none;font-weight:800}
.tabs button[aria-selected="true"]{background:var(--card);box-shadow:var(--shadow)}
.err{background:#FDE8EA;color:#8A1020;border-radius:12px;padding:10px 12px;font-weight:700;font-size:14px}
.okmsg{background:#E3F6EA;color:#14532D;border-radius:12px;padding:10px 12px;font-weight:700;font-size:14px}
.err[hidden],.okmsg[hidden]{display:none}
.linkbtn{background:none;border:0;padding:0;color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.orders{display:flex;flex-direction:column;gap:12px}
.order{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow)}
.order header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.order h3{margin:0;font-family:var(--f-display);font-size:20px}
.order ul{margin:8px 0;padding-left:18px}
.order .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.st{border-radius:999px;padding:3px 10px;font-weight:800;font-size:12.5px;color:#fff;white-space:nowrap}
.st.recue{background:#1E5BD8}.st.confirmee{background:#7C3AED}.st.prete{background:#1C8C43}.st.retiree{background:#5A5D68}.st.annulee{background:#9B2C2C}
.btn.sm{height:38px;padding:0 14px;font-size:14px}
.btn.green{background:var(--green);border-color:var(--green);color:#fff}
.btn.purple{background:#7C3AED;border-color:#7C3AED;color:#fff}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.post{all:unset;box-sizing:border-box;cursor:pointer;background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.post:focus-visible{outline:3px solid var(--focus)}
.post img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:var(--surface)}
.post .ph{aspect-ratio:16/9;display:grid;place-items:center;color:#fff;font-family:var(--f-display);font-size:42px;font-weight:800}
.post .tx{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.post b{font-family:var(--f-display);font-size:21px;line-height:1.15}
.post span{color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.kind{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:6px;padding:2px 8px;color:#fff}
.kind.actu{background:#1E5BD8}.kind.nouveaute{background:#D7192D}.kind.evenement{background:#1C8C43}
.article{max-width:760px}
.article img.cover{width:100%;border-radius:18px;margin:10px 0}
.article .bodytxt{white-space:pre-line;font-size:16.5px;line-height:1.65}
.toast{position:fixed;left:50%;bottom:max(20px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;background:var(--ink);color:var(--card);padding:12px 18px;border-radius:14px;font-weight:700;box-shadow:var(--shadow-lg);max-width:calc(100% - 32px)}
.toast[hidden]{display:none}
.adm-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th,.tbl td{text-align:left;padding:8px;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.tbl td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tbl img{width:66px;height:30px;object-fit:contain;background:#fff;border-radius:4px;display:block}
.scrollx{overflow-x:auto}
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.filters .in{width:auto;min-width:220px;flex:1}
.drop{border:2px dashed var(--line);border-radius:16px;padding:28px;text-align:center;color:var(--muted);font-weight:700}
.drop.on{border-color:var(--blue);color:var(--blue)}
.kpis{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.kpi{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px 14px;min-width:120px}
.kpi b{display:block;font-family:var(--f-display);font-size:26px;line-height:1}
.kpi span{font-size:12.5px;color:var(--muted);font-weight:700}
.success{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.success .big{width:72px;height:72px;border-radius:999px;background:var(--green);color:#fff;display:grid;place-items:center}
@media print{.top,.links,.nav,.banner,footer.site,.acts,.filters,.adm-tabs,.kpis,.noprint{display:none !important}.order{break-inside:avoid;box-shadow:none}body{background:#fff}}
@media (max-width:640px){
  .hbtn{height:42px;padding:0 11px}
  .hbtn span{display:none}
  .form{grid-template-columns:1fr}
  .addq{width:36px;height:36px;top:6px;right:6px}
  .avail{font-size:11.5px}
  .panel{padding:16px}
}
.nav{top:calc(var(--hdr) + 40px + env(safe-area-inset-top,0px))}
html{scroll-padding-top:200px}
.banner[hidden]{display:none}
.sugg .sg .pimg{border:1px solid var(--line)}
#poSugg{position:absolute;left:0;right:0;top:100%;background:var(--card);border-radius:12px;box-shadow:var(--shadow-lg);z-index:5}
.badge[hidden]{display:none}
textarea{font:inherit}
.drop{display:block;margin-top:12px;cursor:pointer}
@media (max-width:640px){.banner .wrap{font-size:12.5px;padding-block:6px;gap:4px 8px;line-height:1.3}}
