/* ClickResto - demo de commande (style injecte: --p primaire, --a accent, --bg fond, --font) */
:root{--ink:var(--p);--card:#fff;--line:rgba(0,0,0,.1);--muted:rgba(0,0,0,.62);--on-a:#fff;--mono:'JetBrains Mono',ui-monospace,monospace;--r:16px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body{margin:0;background:var(--bg);color:#1a1a1a;font:16px/1.45 var(--font);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--a);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.noscript{padding:40px;text-align:center}

/* barre demo */
.demobar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:8px 16px;background:#141414;color:#e7e5e4;font:12px/1.3 var(--mono)}
.demobar a{color:#fff}
.demobar-msg{flex:1 1 220px;text-align:center;color:#FDBA74}
.demobar-tools{display:flex;align-items:center;gap:10px}
.demobar-tools label{display:flex;align-items:center;gap:6px}
.demobar select{background:#292524;color:#fff;border:1px solid #57534e;border-radius:8px;padding:6px 8px;min-height:36px}
.demobar-lang{border:1px solid #57534e;border-radius:999px;padding:7px 12px;text-decoration:none;font-weight:600}

/* entete resto */
.hdr{background:var(--p);color:#fff;padding:28px 16px 22px}
.hdr .in{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}
.hdr h1{margin:0;font-size:clamp(28px,5vw,44px);line-height:1.05;font-weight:800;letter-spacing:-.02em}
.hdr p{margin:6px 0 0;opacity:.85}
.mode{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.seg{display:inline-flex;background:rgba(255,255,255,.14);border-radius:999px;padding:4px}
.seg button{border:0;background:transparent;color:#fff;border-radius:999px;padding:10px 18px;font-weight:700;min-height:44px}
.seg button[aria-pressed="true"]{background:#fff;color:var(--p)}
.wait{font-size:14px;opacity:.9}

/* rail categories */
.rail{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.rail .in{max-width:1180px;margin:0 auto;display:flex;gap:8px;overflow-x:auto;padding:12px 16px;scrollbar-width:none}
.rail .in::-webkit-scrollbar{display:none}
.rail a{flex:0 0 auto;text-decoration:none;color:inherit;border:1.5px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:600;font-size:15px;min-height:44px;display:inline-flex;align-items:center;background:var(--card)}
.rail a.on{background:var(--p);border-color:var(--p);color:#fff}

/* mise en page */
.wrapc{max-width:1180px;margin:0 auto;padding:0 16px 120px;display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.menu{flex:999 1 560px;min-width:0}
.side{flex:1 1 320px;min-width:0;position:sticky;top:76px;display:none}
@media (min-width:1000px){.side{display:block}.cartbar{display:none!important}}
h2.sec{margin:34px 0 14px;font-size:24px;font-weight:800;letter-spacing:-.01em}

/* favoris */
.favs{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x mandatory}
.fav{flex:0 0 240px;scroll-snap-align:start;background:var(--card);border-radius:var(--r);border:1px solid var(--line);overflow:hidden;text-align:left;padding:0;display:flex;flex-direction:column}
.fav .thumb{height:120px}
.fav .b{padding:12px 14px;display:flex;justify-content:space-between;gap:8px;align-items:baseline}

/* cartes produits */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.prod{background:var(--card);border:1px solid var(--line);border-radius:var(--r);display:flex;gap:12px;padding:12px;text-align:left;align-items:stretch;width:100%}
.prod:hover,.fav:hover{border-color:var(--p)}
.prod .thumb{flex:0 0 92px;height:92px;border-radius:12px}
.prod .b{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.prod .n,.fav .n{font-weight:700}
.prod .d{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod .pr{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-weight:700}
.plus{width:36px;height:36px;border-radius:50%;background:var(--a);color:var(--on-a);display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1;font-weight:700}
.thumb{display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--a) 16%,#fff);color:var(--a)}
.thumb svg{width:44%;height:44%}

/* panier lateral / tiroir */
.cartbox{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 100px);overflow:auto}
.cartbox h2{margin:0;font-size:20px;display:flex;justify-content:space-between;align-items:center}
.empty{color:var(--muted);font-size:15px;margin:0}
.line{display:flex;flex-direction:column;gap:6px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.line .top{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.line .sub{font-size:13px;color:var(--muted)}
.line .act{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.step{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:999px}
.step button{border:0;background:transparent;width:40px;height:40px;font-size:20px;font-weight:700;border-radius:50%}
.step button:disabled{opacity:.3;cursor:default}
.step output{min-width:28px;text-align:center;font-weight:700}
.link{border:0;background:none;padding:6px 2px;text-decoration:underline;font-size:14px;color:inherit;min-height:32px}
.tot{display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:15px}
.tot .g{font-weight:800;font-size:18px;padding-top:6px;border-top:1px solid var(--line)}
.warn{background:#FEF3C7;color:#78350F;border-radius:12px;padding:10px 12px;font-size:14px}
.btn{border:0;border-radius:999px;background:var(--a);color:var(--on-a);font-weight:800;padding:14px 22px;min-height:50px;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn-ghost{background:transparent;color:inherit;border:1.5px solid currentColor}
.btn-block{width:100%}
.cartbar{position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:30;display:flex;justify-content:space-between;align-items:center;background:var(--p);color:#fff;border:0;border-radius:16px;padding:14px 18px;font-weight:800;font-size:17px;box-shadow:0 12px 30px -10px rgba(0,0,0,.5)}
.cartbar .c{background:#fff;color:var(--p);border-radius:999px;padding:2px 10px;margin-right:8px}

/* fenetres */
.ov{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:50;display:flex;align-items:flex-end;justify-content:center}
@media (min-width:700px){.ov{align-items:center}}
.dlg{background:var(--card);width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:20px 20px 0 0;display:flex;flex-direction:column}
@media (min-width:700px){.dlg{border-radius:20px}}
.dlg .thumb{height:150px;flex:0 0 auto}
.dlg .bd{padding:18px 20px;display:flex;flex-direction:column;gap:18px}
.dlg h2{margin:0;font-size:24px;font-weight:800}
.dlg .ft{position:sticky;bottom:0;background:var(--card);padding:14px 20px;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.x{position:absolute;right:12px;top:12px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;font-size:22px;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.rel{position:relative}
fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
legend{font-weight:800;margin-bottom:8px;font-size:16px}
.opt{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;min-height:50px;cursor:pointer}
.opt:has(input:checked){border-color:var(--p);background:color-mix(in srgb,var(--p) 6%,#fff)}
.opt span:first-of-type{display:flex;align-items:center;gap:10px}
.opt input{width:20px;height:20px;accent-color:var(--p)}
.combo{border:2px dashed var(--a);border-radius:14px;padding:12px}
textarea,input[type=text],input[type=tel],select.f{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;min-height:50px;background:#fff}
textarea{min-height:76px;resize:vertical}
.cnt{font-size:12px;color:var(--muted);text-align:right}
.drawer{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.5);display:flex;justify-content:flex-end}
.drawer .cartbox{width:min(440px,100%);height:100%;max-height:none;border-radius:0}

/* checkout + confirmation */
.page{max-width:720px;margin:0 auto;padding:24px 16px 120px;display:flex;flex-direction:column;gap:18px}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;display:flex;flex-direction:column;gap:14px}
.panel h2{margin:0;font-size:19px}
.lbl{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.err{color:#B91C1C;font-size:14px;font-weight:600;margin:0}
.bad{border-color:#B91C1C!important}
.hint{font-size:13px;color:var(--muted);margin:0}
.done{text-align:center;align-items:center}
.done h1{margin:0;font-size:clamp(28px,5vw,40px);font-weight:800}
.no{font:700 28px var(--mono);letter-spacing:.06em}
.ticket{background:#fff;color:#111;font:13px/1.5 var(--mono);width:min(340px,100%);padding:20px 18px;box-shadow:0 18px 40px -18px rgba(0,0,0,.45);text-align:left;border-radius:4px;transform:rotate(-1.2deg)}
.ticket .bars{display:flex;flex-direction:column;gap:5px;margin:4px 0 12px}
.ticket .bars i{display:block;height:3px;background:var(--a)}
.ticket .r{display:flex;justify-content:space-between;gap:10px}
.ticket .m{padding-left:14px;color:#444;font-size:12px}
.ticket hr{border:0;border-top:1px dashed #999;margin:10px 0}
.ticket .big{font-weight:700;font-size:15px}
.stamp{display:inline-block;border:2px solid currentColor;padding:2px 8px;font-weight:700;letter-spacing:.1em;margin-top:8px}
.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);background:#141414;color:#fff;padding:10px 16px;border-radius:999px;font-size:14px;z-index:60;pointer-events:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticket{transform:none}}

/* v1.4 - embleme du resto, vraies photos, banniere */
.brandr{display:flex;align-items:center;gap:14px}
.emblem{width:64px;height:64px;flex:0 0 64px;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
@media (max-width:480px){.emblem{width:52px;height:52px;flex-basis:52px}}
.hdr.has-ban{background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.65)),var(--ban) center/cover no-repeat,var(--p);padding-top:72px}
.thumb.has-img{background:#eee;overflow:hidden}
.thumb.has-img img{width:100%;height:100%;object-fit:cover;display:block}
.tk-emblem{display:block;margin:0 auto 8px;filter:grayscale(1) contrast(1.4)}

/* v1.5 - choix du livreur + suivi */
.crs{display:flex;flex-direction:column;gap:8px}
.opt.dis{opacity:.55;cursor:not-allowed}
.opt small{color:var(--muted);font-weight:400}
.crp{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}
.crp small{font-size:12px}
.crp.off{color:#B91C1C;font-size:13px;font-weight:600;white-space:normal;text-align:right}
.crl{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:9px;font:800 15px/1 var(--font);color:#fff;background:var(--p)}
.crl.uber{background:#000}
.crl.dd{background:#EB1700}
.trackp{text-align:left;width:100%}
.trackp h2{display:flex;align-items:center;gap:8px}
.tbar{height:6px;border-radius:999px;background:var(--line);overflow:hidden}
.tbar i{display:block;height:100%;background:var(--a);transition:width .6s ease}
.track{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.track li{padding-left:26px;position:relative;color:var(--muted)}
.track li::before{content:"";position:absolute;left:4px;top:5px;width:12px;height:12px;border-radius:50%;border:2px solid var(--line);background:#fff}
.track li.ok{color:inherit}
.track li.ok::before{background:var(--a);border-color:var(--a)}
.track li.now{color:inherit;font-weight:700}
.track li.now::before{border-color:var(--a);box-shadow:0 0 0 4px color-mix(in srgb,var(--a) 25%,transparent)}
@media (prefers-reduced-motion:reduce){.tbar i{transition:none}}

/* v1.5 - reglages du restaurateur */
.demobar-rs{display:inline-flex;align-items:center;gap:6px;background:#FDBA74;color:#1c1917;border:0;border-radius:999px;padding:7px 14px;min-height:36px;font:700 12px/1.2 var(--mono)}
.demobar-rs:hover{background:#FED7AA}
.rs-sum{font-weight:400;opacity:.8;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rs-sum:not(:empty)::before{content:"\00b7\00a0"}
@media (max-width:560px){.rs-sum{display:none}}
.cp{display:flex;gap:8px}
.cp input{flex:1;min-width:0;font:13px var(--mono)}
.opt.single{cursor:default}
.seg button:disabled{opacity:.45;cursor:not-allowed}

/* v1.6.2 - articles 50 % plus petits, boutons 2 fois plus petits */
html{scroll-padding-top:70px}
h2.sec{margin:24px 0 10px;font-size:20px}
.favs{gap:7px;padding:2px 1px 8px}
.fav{flex:0 0 120px;border-radius:10px}
.fav .thumb{height:60px}
.fav .b{padding:6px 7px;gap:4px;font-size:12px;flex-direction:column;align-items:flex-start}
.grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:7px}
.prod{gap:6px;padding:6px;border-radius:10px}
.prod .thumb{flex:0 0 46px;height:46px;border-radius:7px}
.prod .b{gap:2px}
.prod .n,.fav .n{font-size:13px;line-height:1.25}
.prod .d{font-size:11.5px;line-height:1.3}
.prod .pr{font-size:12.5px}
.plus{width:18px;height:18px;font-size:13px}
.dlg .thumb{height:75px}
.line{gap:3px;padding-bottom:6px}
.line .top{font-size:13px}
.line .sub{font-size:11.5px}
.line .act{gap:6px}
/* boutons */
.btn{padding:7px 11px;min-height:25px;font-size:12.5px;gap:5px}
.seg{padding:2px}
.seg button{padding:5px 9px;min-height:22px;font-size:12.5px}
.wait{font-size:12px}
.rail .in{gap:4px;padding:6px 16px}
.rail a{padding:4px 8px;min-height:22px;font-size:12.5px;border-width:1px}
.step{border-width:1px}
.step button{width:20px;height:20px;font-size:14px}
.step output{min-width:20px;font-size:12.5px}
.link{padding:3px 1px;min-height:16px;font-size:12px}
.x{width:22px;height:22px;font-size:14px;right:8px;top:8px}
.cartbar{padding:7px 10px;font-size:13px;border-radius:10px}
.cartbar .c{padding:1px 6px;margin-right:5px}
.demobar-rs{padding:3.5px 7px;min-height:18px}
.demobar-lang{padding:3.5px 6px}
.demobar select{min-height:18px;padding:3px 4px;border-radius:5px}
.opt{min-height:25px;padding:6px 8px;border-radius:8px;gap:8px}
.opt input{width:16px;height:16px}
.toast{bottom:56px;font-size:12.5px;padding:6px 12px}
/* sur ecran tactile: la zone qu'on peut toucher reste plus grande que le bouton dessine */
@media (pointer:coarse){
  .btn,.seg button,.rail a,.step button,.link,.demobar-rs,.demobar-lang{position:relative}
  .btn::after,.seg button::after,.step button::after,.link::after,.demobar-rs::after,.demobar-lang::after,.x::after{content:"";position:absolute;inset:-9px -4px}
  .rail a::after{content:"";position:absolute;inset:-6px -2px}
}

/* v1.9 - restos demo complets: bandeau photo, favoris sans defilement, plats 3 de large avec image, panier compact */
.hdr.has-ban{background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.72)),var(--ban) center/cover no-repeat,var(--p);padding:96px 16px 20px}
.hdr.no-ban{background:radial-gradient(120% 140% at 85% -20%,color-mix(in srgb,var(--a) 55%,transparent),transparent 55%),linear-gradient(135deg,var(--p),color-mix(in srgb,var(--p) 65%,#000));padding:34px 16px 20px}
.hdr h1{text-shadow:0 2px 12px rgba(0,0,0,.35)}
.emblem{width:72px;height:72px;flex:0 0 72px;border-radius:50%;box-shadow:0 4px 18px rgba(0,0,0,.35);background:#fff}
.callbtn{background:#fff;color:var(--p);font-weight:800;text-decoration:none;border-radius:999px;padding:7px 14px;font-size:13px}
.qbar{margin:14px 0 4px}
.q{width:100%;max-width:360px;border:1.5px solid var(--line);border-radius:999px;padding:8px 14px;background:#fff;font-size:14px;min-height:36px}
.none{color:var(--muted);text-align:center;padding:30px 0}
.cnote{margin:-4px 0 10px;color:var(--muted);font-size:13px;font-style:italic}
/* favoris: grille qui passe a la ligne, petites cartes */
.favs{display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:8px;overflow:visible;padding:2px 0 4px;scroll-snap-type:none}
.fav{flex:none;width:auto;border-radius:10px}
.fav .thumb{height:62px}
.fav .b{padding:5px 7px 6px;gap:1px;font-size:11.5px;flex-direction:column;align-items:flex-start}
.fav .n{font-size:11.5px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fav .p{font-weight:700;color:var(--muted)}
/* plats: 3 par rangee, image en haut */
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.prod{flex-direction:column;padding:0;gap:0;overflow:hidden;border-radius:12px}
.prod .thumb{flex:none;width:100%;height:auto;aspect-ratio:4/3;border-radius:0}
.prod .thumb svg{width:34%;height:34%}
.prod .b{padding:8px 10px 10px;gap:3px}
.prod .n{font-size:13.5px}
.prod .d{font-size:11.5px}
.prod .pr{padding-top:4px;font-size:13px}
.plus{width:22px;height:22px;font-size:15px}
.prod[hidden],.catsec[hidden],.rail a[hidden]{display:none!important}
.tags{display:flex;flex-wrap:wrap;gap:3px}
.tag{font-size:9.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border:1px solid var(--a);color:color-mix(in srgb,var(--a) 75%,#000);border-radius:4px;padding:0 4px;line-height:1.5}
@media (max-width:640px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* panier: deux fois plus etroit */
.menu{flex:1 1 560px}
.side{flex:0 0 230px;width:230px;top:64px}
.cartbox{padding:12px;gap:9px;border-radius:12px}
.cartbox h2{font-size:15px}
.cartbox .empty{font-size:12.5px}
.cartbox .tot{font-size:12.5px;gap:3px 8px}
.cartbox .tot .g{font-size:14px}
.cartbox .btn{font-size:12px;padding:8px 10px}
.wrapc.solo .menu{flex:1 1 100%}
/* modale */
.dlg .thumb{height:auto;aspect-ratio:16/9;max-height:240px}
.dlg .thumb.has-img img{height:100%}
.sizes{display:flex;flex-direction:column;gap:6px}
/* texto */
.smsopt{margin-top:4px}
.smsp{text-align:left;width:100%}
.phone-sms{background:#F2F2F7;border-radius:18px;padding:12px;max-width:380px}
.sms-list{display:flex;flex-direction:column;gap:8px}
.sms{align-self:flex-start;background:#fff;border-radius:16px 16px 16px 4px;padding:8px 12px;font-size:13.5px;line-height:1.35;box-shadow:0 1px 1px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:2px;max-width:92%;animation:smsin .35s ease}
.sms small{font-size:10.5px;color:#8E8E93}
@keyframes smsin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sms{animation:none}}
/* page Menu: barre du haut */
.menubar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:7px 16px;background:#141414;color:#e7e5e4;font:12px/1.3 var(--mono)}
.menubar a{color:#fff}
.menubar .trial{color:#FDBA74;flex:1 1 220px;text-align:center}
.menubar .acts{display:flex;gap:8px;align-items:center}
.menubar .acts a{border:1px solid #57534e;border-radius:999px;padding:4px 10px;text-decoration:none;font-weight:600}
.menubar .preview{background:#B45309;color:#fff;border-radius:6px;padding:3px 8px}
.demobar-cred{color:#a8a29e!important;font-size:11px}
.prod .thumb{aspect-ratio:16/10;max-height:170px}

/* v1.9.2 - panier colle a droite, page plus large, plats 4 de large (un peu plus petits) */
.hdr .in,.rail .in{max-width:1440px}
.wrapc{max-width:1440px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
@media (min-width:1000px){.wrapc{grid-template-columns:minmax(0,1fr) 230px}.wrapc.solo{grid-template-columns:minmax(0,1fr)}}
.menu,.side{min-width:0}
.side{width:auto;justify-self:end;width:230px}
.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.prod .thumb{aspect-ratio:4/3;max-height:140px}
.prod .b{padding:7px 9px 9px}
.prod .n{font-size:12.5px}
.prod .d{font-size:11px}
.prod .pr{font-size:12px}
@media (max-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.9.2 - panier colle a droite de l'ecran, plats 4 de large un peu plus petits */
@media (min-width:1000px){
  .wrapc{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;padding-left:16px;padding-right:16px}
  .wrapc.solo{grid-template-columns:minmax(0,1fr)}
  .wrapc .menu{width:100%;max-width:1180px;margin:0 auto;flex:none}
  .side{width:auto;flex:none;justify-self:stretch}
}
.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.prod .thumb{aspect-ratio:4/3;max-height:150px}
.prod .b{padding:7px 9px 9px}
.prod .n{font-size:13px}
.prod .d{font-size:11px}
@media (max-width:900px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
