/* th-built *//* Growth Gusto — Boutique (js/ep.js): catalogue scanné, stock, vente en ligne, anti-gaspi, scan en caisse.
   Composants partagés : base.css, v2.css, nx.css. Ici seulement ce qui est propre à la boutique. */

/* ───────── hero ───────── */
.ep-hero{position:relative;display:flex;gap:22px;align-items:flex-end;padding:24px 22px 20px;border-radius:28px;overflow:hidden;margin-bottom:12px;box-shadow:0 4px 0 var(--accent-edge,#2A0BA6)}
.ep-ht{flex:1;min-width:0}
.ep-kick{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.82}
.ep-h1{display:block;font-size:clamp(26px,4.4vw,38px);line-height:1.04;letter-spacing:-.03em;margin:6px 0 8px}
.ep-hero p{margin:0 0 16px;max-width:520px;font-size:14.5px;line-height:1.45;opacity:.9}
.ep-hacts{display:flex;flex-wrap:wrap;gap:8px}
.ep-hacts .btn{min-height:48px}
.ep-hero .btn.ep-big{background:#fff;color:var(--accent-ink,#3A10D8);box-shadow:0 3px 0 rgba(0,0,0,.18)}:where(html[data-theme=dark]) .ep-hero .btn.ep-big{background:rgb(23, 20, 37);color:var(--accent-ink,rgb(165, 180, 255));box-shadow:0 3px 0 rgba(0, 0, 0, 0.422)}
.ep-hero .btn.soft{background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3)}:where(html[data-theme=dark]) .ep-hero .btn.soft{background:rgba(23, 20, 37, 0.16);box-shadow:inset 0 0 0 1.5px rgba(255, 255, 255, 0.042)}
.ep-hero .btn svg{width:20px;height:20px}
.ep-stats{flex:none;display:grid;grid-template-columns:repeat(2,minmax(84px,1fr));gap:8px}
.ep-stats div{padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.13);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}:where(html[data-theme=dark]) .ep-stats div{background:rgba(23, 20, 37, 0.13);box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.025)}
.ep-stats b{display:block;font-size:24px;line-height:1.05}
.ep-stats em{display:block;font-style:normal;font-size:12px;opacity:.85}
.ep-stats .w{background:rgba(246,185,59,.28)}.ep-stats .b{background:rgba(229,72,42,.32)}
@media (max-width:720px){.ep-hero{flex-direction:column;align-items:stretch;padding:20px 18px 18px}.ep-stats{grid-template-columns:repeat(4,1fr)}.ep-stats div{padding:8px}.ep-stats b{font-size:19px}.ep-stats em{font-size:11px}.ep-hacts .btn{flex:1 1 auto;justify-content:center}}

/* ───────── shop card ───────── */
.ep-shop{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:12px}
.ep-shop .tx{flex:1;min-width:0}.ep-shop b{display:block;font-size:15px}.ep-shop em{display:block;font-style:normal;font-size:12.5px;color:var(--muted)}
.ep-sic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--tint-acc,var(--tint));color:var(--accent)}
.ep-sic svg{width:22px;height:22px}
.ep-shop.off .ep-sic{background:var(--well);color:var(--muted)}
@media (max-width:520px){.ep-shop{flex-wrap:wrap}.ep-shop .tx{flex-basis:calc(100% - 56px)}}

/* ───────── search, rayons, filter ───────── */
.ep-bar{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.ep-q{position:relative;display:block}.ep-q svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.ep-q .input{padding-left:42px;width:100%}
.ep-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px;margin:0 -2px}
.ep-chips::-webkit-scrollbar{display:none}
.ep-chips.wrap{flex-wrap:wrap;overflow:visible}
.ep-seg{overflow-x:auto;scrollbar-width:none}.ep-seg button{white-space:nowrap}

/* ───────── list ───────── */
.ep-list{padding:6px}
.ep-row{display:flex;align-items:center;gap:6px;border-radius:16px}
.ep-row+.ep-row{box-shadow:0 -1px 0 var(--line,rgba(27,21,48,.08))}:where(html[data-theme=dark]) .ep-row+.ep-row{box-shadow:0 -1px 0 var(--line,rgba(0, 0, 0, 0.232))}
.ep-rb{all:unset;box-sizing:border-box;cursor:pointer;flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px;border-radius:14px;transition:background .2s,transform .2s var(--spring)}
.ep-rb:hover{background:var(--well)}.ep-rb:active{transform:scale(.985)}.ep-rb:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.ep-th{flex:none;width:52px;height:52px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:var(--t,var(--well));color:#fff;font-weight:800;font-size:15px}
.ep-th img{width:100%;height:100%;object-fit:cover;background:#fff}:where(html[data-theme=dark]) .ep-th img{background:rgb(23, 20, 37)}
.ep-rt{flex:1;min-width:0}.ep-rt b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-rt em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-rr{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.ep-rr b{font-size:15px}
.ep-none{padding:22px;text-align:center;color:var(--muted)}

/* the switch (list + sheet) */
.ep-sw{all:unset;box-sizing:border-box;cursor:pointer;flex:none;position:relative;width:48px;height:30px;margin:0 8px;border-radius:999px;background:rgb(var(--k,14 19 48) / .16);transition:background .3s}
.ep-sw i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 0 rgba(14,19,48,.15);transition:transform .45s var(--spring)}:where(html[data-theme=dark]) .ep-sw i{background:rgb(23, 20, 37);box-shadow:0 2px 0 rgba(0, 0, 0, 0.365)}
.ep-sw.on{background:var(--accent)}.ep-sw.on i{transform:translateX(18px)}
.ep-sw:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ep-tog{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:12px 8px 12px 14px;border-radius:16px;background:var(--well)}
.ep-tog.on{background:color-mix(in srgb,var(--accent) 10%,transparent)}
.ep-tog .tx{flex:1;min-width:0}.ep-tog b{display:block;font-size:14.5px}.ep-tog em{display:block;font-style:normal;font-size:12.5px;color:var(--muted)}
.ep-tog .ep-sw{margin:0}

/* ───────── product sheet ───────── */
.ep-ed .field{margin:0}
.ep-edh{display:flex;gap:14px;align-items:center}
.ep-edph{position:relative;flex:none;width:92px;height:92px;border-radius:22px;background:var(--t,var(--well));display:grid;place-items:center;overflow:visible}
.ep-edph img{width:100%;height:100%;object-fit:cover;border-radius:22px;background:#fff}:where(html[data-theme=dark]) .ep-edph img{background:rgb(23, 20, 37)}
.ep-edph>b{color:#fff;font-size:26px}
.ep-phb{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;cursor:pointer;box-shadow:0 3px 0 var(--accent-edge,#2A0BA6)}
.ep-phb svg{width:20px;height:20px}
.ep-edt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.ep-cut{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:13px;color:var(--ink-2,var(--muted))}.ep-cut svg{width:16px;height:16px;flex:none;color:var(--accent)}.ep-cut.ok{color:#0E8A5F}:where(html[data-theme=dark]) .ep-cut.ok{color:rgb(90, 194, 148)}.ep-cut .btn{min-height:30px}
.ep-found{margin:0;display:flex;gap:6px;align-items:center;font-size:13px;color:var(--accent-ink,var(--accent))}.ep-found svg{width:16px;height:16px;flex:none}
.ep-found.n{color:var(--muted)}
.ep-ean{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.ep-ean svg{width:16px;height:16px}
.ep-eur{position:relative}.ep-eur .input{width:100%;padding-right:30px}.ep-eur i{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--muted);font-weight:700}
.ep-stp{display:flex;align-items:center;gap:6px}
.ep-stp .input{flex:1;min-width:0;text-align:center}
.ep-stp button{all:unset;box-sizing:border-box;cursor:pointer;flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--well);color:var(--ink)}
.ep-stp button:active{transform:scale(.94)}.ep-stp svg{width:18px;height:18px}
.ep-quick{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ep-quick .lbl{margin-right:4px}
.ep-more{border-radius:16px;background:var(--well);padding:0 14px}
.ep-more summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:700;font-size:14px;color:var(--ink-2)}
.ep-more summary::-webkit-details-marker{display:none}
.ep-more[open]{padding-bottom:14px}.ep-more[open]>*+*{margin-top:12px}
.ep-codes{flex-wrap:wrap;gap:8px}
.ep-edacts{display:flex;gap:8px;align-items:center;position:sticky;bottom:0;padding-top:8px;background:linear-gradient(transparent,var(--sheet-bg,var(--paper,#fff)) 30%)}:where(html[data-theme=dark]) .ep-edacts{background:linear-gradient(transparent,var(--sheet-bg,var(--paper,rgb(23, 20, 37))) 30%)}
.ep-edacts .btn.block{flex:1}

/* anti-gaspi */
.ep-agb{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;border-radius:16px;background:color-mix(in srgb,var(--bad,#E5482A) 8%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--bad,#E5482A) 22%,transparent)}
.ep-agb .tx{flex:1;min-width:0}.ep-agb b{display:block;font-size:14.5px}.ep-agb em{display:block;font-style:normal;font-size:12.5px;color:var(--muted)}
.ep-agb>svg{width:18px;height:18px;color:var(--muted)}
.ep-agi{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--bad,#E5482A);color:#fff;font-weight:900;font-size:16px}
.ep-ag{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;background:color-mix(in srgb,var(--bad,#E5482A) 7%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--bad,#E5482A) 26%,transparent)}
.ep-agh{display:flex;align-items:center;gap:10px}.ep-agh b{flex:1;font-size:15px}
.ep-agp{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:10px}
.ep-agp s{color:var(--muted);font-size:15px}.ep-agp b{font-size:22px;color:var(--bad,#E5482A)}:where(html[data-theme=dark]) .ep-agp b{color:var(--bad,rgb(249, 133, 109))}.ep-agp em{flex-basis:100%;font-style:normal;font-size:12.5px;color:var(--muted)}

/* ───────── scanner ───────── */
.ep-camw{position:relative;width:100%;aspect-ratio:4/3;max-height:52vh;border-radius:22px;overflow:hidden;background:#0E1330}:where(html[data-theme=dark]) .ep-camw{background:rgb(56, 52, 75)}
.ep-camw video{width:100%;height:100%;object-fit:cover;display:block}
.ep-camw.off{aspect-ratio:auto;height:90px;background:var(--well)}.ep-camw.off video,.ep-camw.off .ep-aim{display:none}
.ep-aim{position:absolute;inset:22% 12%;border-radius:16px;box-shadow:0 0 0 999px rgba(14,19,48,.38);pointer-events:none}:where(html[data-theme=dark]) .ep-aim{box-shadow:0 0 0 999px rgba(0, 0, 0, 0.802)}
.ep-aim::before,.ep-aim::after{content:"";position:absolute;inset:0;border-radius:16px;border:3px solid #fff;clip-path:polygon(0 0,22% 0,22% 4px,4px 4px,4px 30%,0 30%,0 70%,4px 70%,4px calc(100% - 4px),22% calc(100% - 4px),22% 100%,78% 100%,78% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 70%,100% 70%,100% 30%,calc(100% - 4px) 30%,calc(100% - 4px) 4px,78% 4px,78% 0,100% 0,100% 100%,0 100%)}:where(html[data-theme=dark]) .ep-aim::before, :where(html[data-theme=dark]) .ep-aim::after{border:3px solid rgb(33, 29, 47)}
.ep-aim::after{display:none}
.ep-aim b{position:absolute;left:6%;right:6%;top:50%;height:2px;background:#FF4D3D;box-shadow:0 0 12px #FF4D3D;animation:epLine 1.6s ease-in-out infinite}
@keyframes epLine{0%,100%{transform:translateY(-30px)}50%{transform:translateY(30px)}}
.ep-scan.look .ep-aim b{animation-duration:.5s}
.ep-scan .sub{margin:0;display:flex;gap:8px;align-items:center}
.ep-recvn{margin:0;font-weight:800;font-size:15px;color:var(--accent-ink,var(--accent))}
.ep-type{gap:8px}.ep-type .input{flex:1;min-width:0}
.ep-scmode{display:flex;justify-content:center}.ep-scmode .btn.on{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent)}
.ep-spin{flex:none;width:16px;height:16px;border-radius:50%;border:2.5px solid color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent);animation:epSpin .8s linear infinite}
@keyframes epSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ep-aim b,.ep-spin{animation:none}}

/* till button */
.ep-tscan{gap:6px}.ep-tscan svg{width:18px;height:18px}

/* settings */
.ep-rays{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.ep-rayc{display:flex;gap:6px;align-items:center}.ep-rayc .input{flex:1;min-width:0}

/* ───────── takeaway validation (js/commande.js « À valider ») ───────── */
.cm-ask{margin:0 0 14px;padding:14px;border-radius:24px;background:color-mix(in srgb,var(--saffron,#F6B93B) 16%,var(--paper,#fff));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--saffron,#F6B93B) 55%,transparent)}:where(html[data-theme=dark]) .cm-ask{background:color-mix(in srgb,var(--saffron,#F6B93B) 16%,var(--paper,rgb(23, 20, 37)));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--saffron,rgb(5, 3, 14)) 55%,transparent)}
.cm-ask header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}
.cm-ask header svg{width:20px;height:20px;color:var(--saffron-ink,#7A5A1A)}:where(html[data-theme=dark]) .cm-ask header svg{color:var(--saffron-ink,rgb(205, 170, 109))}
.cm-ask header b{font-size:16px}.cm-ask header span{font-weight:800;padding:2px 9px;border-radius:999px;background:var(--saffron,#F6B93B);color:#3B2A05}
.cm-ask header em{flex-basis:100%;font-style:normal;font-size:13px;color:var(--muted)}
.cm-ask-in{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.cm-o.ask{animation-name:cmRise}
.cm-ask-b{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}.cm-ask-b .btn{min-height:50px;justify-content:center}
.cm-askf{display:flex;flex-direction:column;gap:12px}.cm-askf .sub{margin:0}
.cm-askf .cm-f{display:flex;flex-direction:column;gap:6px}.cm-askf .cm-f>span{font-size:13px;font-weight:700;color:var(--ink-2)}
.cm-ask-t{display:flex;flex-wrap:wrap;gap:8px}
.cm-ask-t .chip{flex-direction:column;align-items:flex-start;gap:0;min-height:54px;padding:8px 14px}
.cm-ask-t .chip b{font-size:16px}.cm-ask-t .chip em{font-style:normal;font-size:11.5px;color:var(--muted);font-weight:600}
.cm-ask-w{display:flex;flex-wrap:wrap;gap:8px}.cm-ask-w .chip{white-space:normal;text-align:left}
@media (max-width:520px){.cm-ask{margin-left:-6px;margin-right:-6px;padding:12px}.cm-ask-in{grid-template-columns:1fr}}
.ep-tva button{white-space:nowrap;padding-left:6px;padding-right:6px}

/* ───────── préréglage (js/ep-preset.js), dans « Votre maison » ───────── */
.ep-pre{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;background:var(--well);margin:0 0 12px;box-shadow:inset 0 0 0 1.5px var(--edge,rgba(27,21,48,.08))}:where(html[data-theme=dark]) .ep-pre{box-shadow:inset 0 0 0 1.5px var(--edge,rgba(0, 0, 0, 0.232))}
.ep-pre .tx{flex:1;min-width:0}.ep-pre b{display:block;font-size:15px}.ep-pre em{display:block;font-style:normal;font-size:13px;color:var(--muted);line-height:1.4}
.ep-pre-i{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.ep-pre-i svg{width:20px;height:20px}
.ep-pre-f{display:flex;gap:8px;margin-top:10px}.ep-pre-f .input{flex:1;min-width:0;letter-spacing:.08em;text-transform:uppercase}
.ep-pre-e{margin:6px 0 0;font-size:12.5px;color:var(--bad);min-height:1em}
.ep-pre.on{background:color-mix(in srgb,var(--accent) 8%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 30%,transparent)}
.ep-pre.on .ep-pre-i{background:var(--accent);color:#fff}
.ep-link{padding:12px;border-radius:16px;background:color-mix(in srgb,var(--accent) 7%,transparent)}.ep-link .hstack{gap:8px;margin-top:6px}.ep-link select{flex:1;min-width:0}

/* photo par le nom (produit inconnu des bases par son code) */
.ep-findb{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;border-radius:14px;border:1px dashed var(--line,rgba(0,0,0,.15));background:transparent;color:inherit;margin:4px 0 12px;cursor:pointer}
.ep-findb svg{width:20px;height:20px;flex:none;opacity:.8}.ep-findb .tx{display:flex;flex-direction:column;gap:2px}.ep-findb em{font-style:normal;font-size:13px;opacity:.7}
.ep-find{margin:4px 0 12px}.ep-findl{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-top:6px}
.ep-findi{display:flex;flex-direction:column;gap:4px;padding:4px;border-radius:12px;border:1px solid var(--line,rgba(0,0,0,.12));background:var(--card,#fff);cursor:pointer;color:inherit;min-width:0}:where(html[data-theme=dark]) .ep-findi{background:var(--card,rgb(23, 20, 37))}
.ep-findi img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#fff}:where(html[data-theme=dark]) .ep-findi img{background:rgb(23, 20, 37)}.ep-findi em{font-style:normal;font-size:11px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* sold by weight (Vendu au poids) */
.ep-kgh{display:block;margin-top:6px;font-size:12.5px;font-style:normal;color:var(--mute)}
/* « Gérer les rayons » */
.ep-rayl{display:grid;gap:8px;margin:6px 0 10px}
.ep-rayr{display:grid;grid-template-columns:1fr auto auto;gap:6px 8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--glass,rgba(255,255,255,.5))}:where(html[data-theme=dark]) .ep-rayr{background:var(--glass,rgba(23, 20, 37, 0.5))}
.ep-rayr .input{grid-column:1/-1}
.ep-rayn{font-size:12px;color:var(--mute)}
.ep-rayo{display:flex;gap:2px;justify-self:end}
.ep-rayo .iconbtn[disabled]{opacity:.3}
.chip.ep-raye{display:inline-flex;gap:4px;align-items:center;border-style:dashed}
.chip.ep-raye svg{width:14px;height:14px}
@media(min-width:700px){.ep-rayr{grid-template-columns:1fr auto auto auto}.ep-rayr .input{grid-column:auto}}

/* ───────── Commandes à préparer (js/ep-preparer.js) ───────── */
.pr-head{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.pr-hic{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--tint);color:var(--accent);flex:none}
.pr-hic .ico{width:26px;height:26px}
.pr-head b{display:block;font-size:17px;font-weight:760;letter-spacing:-.01em}
.pr-head em{font-style:normal;font-size:13.5px;color:var(--muted)}
.pr-sec{display:flex;gap:8px;align-items:center;margin:18px 2px 10px}
.pr-sec .mono{font-size:12px;color:var(--muted)}
.pr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;align-items:start}
.pr-o{padding:16px;border-radius:22px;display:flex;flex-direction:column;gap:12px;transition:box-shadow .3s}
.pr-o.full{box-shadow:0 0 0 2px #0E8A5F inset}
.pr-o header{display:flex;gap:12px;align-items:center}
.pr-n{min-width:40px;height:40px;padding:0 8px;border-radius:13px;display:grid;place-items:center;background:var(--ink);color:#fff;font-size:17px}:where(html[data-theme=dark]) .pr-n{background:var(--th-inkfill)}
.pr-hw{flex:1;min-width:0}.pr-hw b{display:block;font-size:15.5px;font-weight:740;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-hw em{font-style:normal;font-size:12.5px;color:var(--muted)}.pr-hw a{color:inherit}
.pr-cnt{font-size:13px;font-weight:700;padding:5px 9px;border-radius:999px;background:var(--well);color:var(--ink-2)}
.pr-cnt.ok{background:#DDF5EA;color:#0E8A5F}:where(html[data-theme=dark]) .pr-cnt.ok{background:rgb(35, 32, 50);color:rgb(90, 194, 148)}
.pr-food{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:650;color:var(--saffron-ink);background:var(--saffron-tint);border-radius:12px;padding:8px 11px}
.pr-food.ok{color:#0E8A5F;background:#DDF5EA}:where(html[data-theme=dark]) .pr-food.ok{color:rgb(90, 194, 148);background:rgb(35, 32, 50)}.pr-food .ico{width:16px;height:16px;flex:none}
.pr-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.pr-t{all:unset;box-sizing:border-box;cursor:pointer;width:100%;display:flex;gap:11px;align-items:center;min-height:48px;padding:8px 10px;border-radius:14px;background:var(--well);transition:background .2s,transform .12s}
.pr-t:active{transform:scale(.985)}
.pr-t:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.pr-bx{width:26px;height:26px;border-radius:9px;flex:none;display:grid;place-items:center;box-shadow:0 0 0 2px var(--line) inset;background:#fff;color:transparent;transition:background .2s,color .2s,box-shadow .2s}:where(html[data-theme=dark]) .pr-bx{background:rgb(23, 20, 37)}
.pr-bx .ico{width:16px;height:16px}
.pr-t.on .pr-bx{background:#0E8A5F;color:#fff;box-shadow:none}
.pr-t > b{font-size:15px;min-width:22px}
.pr-nm{flex:1;min-width:0;font-size:14.5px;font-weight:620}
.pr-nm em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);font-weight:500}
.pr-t.on .pr-nm{color:var(--muted);text-decoration:line-through}
.pr-f{display:flex;justify-content:space-between;align-items:center}
.pr-go{min-height:50px}
.pr-wait{display:flex;gap:10px;align-items:center;border-radius:14px;background:var(--well);padding:10px 12px}
.pr-wait .ico{width:20px;height:20px;flex:none;color:var(--accent)}
.pr-wait b{display:block;font-size:14px}.pr-wait em{font-style:normal;font-size:12.5px;color:var(--muted)}
.pr-tag{all:unset;cursor:pointer;display:flex;gap:7px;align-items:center;margin-top:8px;font-size:12.5px;font-weight:700;color:var(--accent-ink);background:var(--tint);border-radius:10px;padding:7px 10px}
.pr-tag .ico{width:15px;height:15px}
@media (prefers-reduced-motion:reduce){.pr-t,.pr-bx{transition:none}}

/* the list says it opens: a product sheet holds its price, photo, stock (Marceau 21/11 « je trouve pas où c'est ») */
.ep-hint{display:flex;align-items:center;gap:8px;margin:2px 4px 8px;font-size:13.5px;color:var(--ink-2,var(--muted))}.ep-hint svg{width:16px;height:16px;flex:none;color:var(--accent)}
.ep-rgo{flex:none;display:grid;place-items:center;margin-left:2px;color:var(--muted);opacity:.7}.ep-rgo svg{width:16px;height:16px}
/* menus et lots (js/ep-formules.js) */
.epf{display:flex;flex-direction:column;gap:12px;padding:16px}.epf-h{display:flex;align-items:center;gap:12px}.epf-h .tx{display:flex;flex-direction:column;min-width:0}.epf-h em{font-style:normal;font-size:13px;color:var(--muted)}
.epf-l{display:flex;flex-direction:column;gap:6px}.epf-r{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px 10px;border-radius:14px;background:var(--well);border:0;color:inherit;font:inherit;cursor:pointer;min-height:56px}
.epf-r.off{opacity:.6}.epf-r img,.epf-ini{width:44px;height:44px;border-radius:12px;object-fit:cover;flex:none}.epf-ini{display:grid;place-items:center;background:var(--t,#eee);font-weight:700;font-size:14px}:where(html[data-theme=dark]) .epf-ini{background:var(--t,rgb(35, 32, 50))}
.epf-r .tx{flex:1;min-width:0;display:flex;flex-direction:column}.epf-r .tx em{font-style:normal;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epf-p{font-weight:700}.epf-r>svg{width:16px;height:16px;color:var(--muted);flex:none}
.epf-add{gap:8px;flex-wrap:wrap}
/* « Composer son plateau » (js/ep-formules.js): the board sizes and their price */
.epl-phs{gap:8px;flex-wrap:wrap}.epl-sz{display:flex;flex-direction:column;gap:8px}.epl-z{display:grid;grid-template-columns:1fr 120px auto;gap:8px;align-items:center}.epl-z .ep-eur{margin:0}
@media (max-width:380px){.epl-z{grid-template-columns:1fr 96px auto}}
.epf-sl{display:block;margin-top:6px}.epf-st{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:var(--well)}.epf-sth{display:flex;align-items:center;gap:8px}.epf-sth .input{flex:1}
.epf-k{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:13px;flex:none}
.epf-pk summary{cursor:pointer;font-size:13.5px;color:var(--accent);padding:4px 0}.epf-pl{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;max-height:220px;overflow:auto}
.epf-n{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.epf-n .ep-stp{display:flex;align-items:center;gap:8px}.epf-n .ep-stp b{min-width:22px;text-align:center}.epf-n em{font-style:normal;font-size:12.5px;color:var(--muted)}
/* Boutique › Fond des photos */
.ep-bg{display:grid;gap:12px;padding:16px}.ep-bg .note{margin:0}

/* Onglets du site (js/ep-onglets.js) */
.ept-l{display:grid;gap:12px;margin:8px 0 12px}
.ept-r{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.ept-h{display:flex;align-items:center;gap:8px}
.ept-h .input{flex:1;min-width:0;font-weight:600}
.ept-i{width:22px;text-align:center;color:var(--ink-3,var(--mute))}
.ept-d{font-size:14px}
.ept-c{display:flex;flex-wrap:wrap;gap:6px}
.ept-c .chip.ept-else{opacity:.5}
.ept-n{font-size:12.5px;color:var(--ink-3,var(--mute))}
.ept-empty{display:grid;gap:10px;justify-items:start;padding:14px;border:1px dashed var(--line);border-radius:16px;margin:8px 0 12px}
.ept-empty p{margin:0}
/* ───────── « Dates courtes » (js/ep-dates.js) ───────── */
.dt-head{display:flex;gap:14px;align-items:center;padding:14px 16px;margin-bottom:14px}
.dt-head b{display:block;font-size:17px}.dt-head em{display:block;font-style:normal;font-size:13px;color:var(--muted);margin-top:2px}
.dt-hic{flex:none;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--tint);color:var(--accent)}
.dt-hic svg{width:24px;height:24px}.dt-hic.s{width:40px;height:40px;border-radius:13px}.dt-hic.s svg{width:20px;height:20px}
.dt-sec{display:flex;align-items:center;gap:8px;margin:16px 4px 8px}.dt-sec .mono{opacity:.6}
.dt-list{padding:4px 8px;margin-bottom:8px}
.dt-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0}
.dt-row+.dt-row{box-shadow:0 -1px 0 var(--line,rgba(27,21,48,.08))}:where(html[data-theme=dark]) .dt-row+.dt-row{box-shadow:0 -1px 0 var(--line,rgba(0, 0, 0, 0.232))}
.dt-rb{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;flex:1 1 260px;min-width:0;padding:4px;border-radius:14px}
.dt-rt{min-width:0;display:flex;flex-direction:column;gap:2px}.dt-rt b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dt-rt em{font-style:normal;font-size:13px;color:var(--muted)}.dt-rt em i{font-style:normal;font-weight:700}
.dt-row.bad .dt-rt em i{color:var(--bad,#E5482A)}:where(html[data-theme=dark]) .dt-row.bad .dt-rt em i{color:var(--bad,rgb(249, 133, 109))}.dt-row.warn .dt-rt em i{color:#C77A0A}
.dt-agon{font-size:12px;font-weight:700;color:var(--bad,#E5482A)}:where(html[data-theme=dark]) .dt-agon{color:var(--bad,rgb(249, 133, 109))}
.dt-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.dt-acts .btn{white-space:nowrap}
.dt-acts .ep-agi{width:20px;height:20px;border-radius:7px;font-size:11px;margin-right:2px}
@media (max-width:560px){.dt-acts{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px}.dt-acts .btn{padding-inline:8px;font-size:13px;justify-content:center;min-width:0}.dt-acts .btn:only-child{grid-column:1/-1}}
.dt-todo{display:flex;flex-direction:column;gap:12px;padding:16px;margin-top:14px}
.dt-todoh{display:flex;gap:12px;align-items:center}.dt-todoh b{display:block}.dt-todoh em{display:block;font-style:normal;font-size:13px;color:var(--muted)}
.dt-card{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;margin-bottom:12px;border-radius:20px}
.dt-card .tx{flex:1;min-width:0}.dt-card b{display:block}.dt-card em{display:block;font-style:normal;font-size:13px;color:var(--muted)}
.dt-card.warn .ep-sic{background:color-mix(in srgb,#E8A317 18%,transparent);color:#B86E00}.dt-card.bad .ep-sic{background:color-mix(in srgb,var(--bad,#E5482A) 14%,transparent);color:var(--bad,#E5482A)}:where(html[data-theme=dark]) .dt-card.bad .ep-sic{color:var(--bad,rgb(249, 133, 109))}
.dt-sh{display:flex;flex-direction:column;gap:12px}
.dt-shp{height:4px;border-radius:4px;background:var(--well);overflow:hidden}.dt-shp i{display:block;height:100%;background:var(--accent);transition:width .3s var(--ease)}
.dt-shh{display:flex;gap:14px;align-items:center}.dt-shh .ep-th.big{width:76px;height:76px;border-radius:20px}
.dt-shh em{display:block;font-style:normal;font-size:13px;color:var(--muted)}.dt-shq{margin:4px 0 0;font-size:14px}
.dt-chs{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.dt-ch{display:flex;flex-direction:column;align-items:center;gap:1px;min-height:58px;padding:8px}.dt-ch b{font-size:16px}.dt-ch em{font-style:normal;font-size:12px;opacity:.75}
.dt-chs.sm{grid-template-columns:repeat(4,1fr)}.dt-chs.sm .dt-ch{min-height:46px;padding:6px 4px}.dt-chs.sm .dt-ch b{font-size:14px}
.dt-shd .input{flex:1}.dt-shm{justify-content:space-between}
.dt-ed{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;background:var(--well);margin-bottom:12px}
.dt-ed.off{gap:4px}.dt-ed.off em,.dt-edn{font-style:normal;font-size:13px;color:var(--muted)}
.dt-edh{display:flex;align-items:center;justify-content:space-between;gap:8px}.dt-edh b{display:flex;align-items:center;gap:8px}.dt-edh b svg{width:18px;height:18px}.dt-edh b em{font-style:normal;font-size:12px;color:var(--muted);font-weight:600}
.dt-lots{display:flex;flex-wrap:wrap;gap:6px}
.dt-lot{display:inline-flex;align-items:center;gap:6px;padding:4px 4px 4px 10px;border-radius:12px;background:var(--glass-hi,#fff);font-size:13.5px}:where(html[data-theme=dark]) .dt-lot{background:var(--glass-hi,rgb(23, 20, 37))}
.dt-lot.bad{color:var(--bad,#E5482A)}:where(html[data-theme=dark]) .dt-lot.bad{color:var(--bad,rgb(249, 133, 109))}.dt-lot.warn{color:#B86E00}:where(html[data-theme=dark]) .dt-lot.warn{color:rgb(229, 151, 66)}
.dt-lot button{all:unset;cursor:pointer;display:grid;place-items:center;width:24px;height:24px;border-radius:8px;opacity:.55}.dt-lot button svg{width:14px;height:14px}
.dt-edx{all:unset;cursor:pointer;align-self:flex-start;font-size:12.5px;color:var(--muted);text-decoration:underline}
.dt-recvgo{margin-top:4px}
/* « Livraison reçue » : quantité libre + prix d'achat facultatif */
.ep-rcv{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end;padding:12px;border-radius:16px;background:var(--well);margin-top:-4px}
.ep-rcv .btn{grid-column:1/-1}
.ep-quick .btn.on{background:var(--accent);color:#fff}

/* ───────── les produits en touches dans la caisse (js/ep-caisse.js) : photo en haut, nom, prix ───────── */
.ec-dgrid .ec-d.ep-tk{padding:8px 10px 10px;gap:4px;min-height:0}
.ec-dgrid .ec-d.ep-tk::before{display:none}
.ep-tkph{position:relative;display:grid;place-items:center;height:76px;margin:0 -2px 2px;border-radius:15px;background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px var(--rim)}:where(html[data-theme=dark]) .ep-tkph{background:rgb(23, 20, 37)}
.ep-tkph img{position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);object-fit:contain}
.ep-tkph b{font:760 19px var(--d);color:var(--ink-2);letter-spacing:.02em}
.ep-tkph:not(:has(img)){background:var(--t,var(--cream-2));box-shadow:none}
.ep-tkph img+b{display:none}
.ec-d.ep-tk .ec-dn{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}
.ec-d.ep-tk .ec-dp{margin-top:auto}
.ec-d.ep-tk .ec-dp small{font-size:.78em;font-weight:650;color:var(--muted)}
.ec-d.ep-tk.nop .ec-dp{font-family:inherit;font-size:13px;font-weight:700;color:var(--accent)}
.ec-d.ep-tk .ep-tko{color:var(--tomato);font-style:normal;font-size:12px;font-weight:700}
.ec-d.ep-tk .ec-dq{top:10px;right:10px;bottom:auto}
.ec-cats .chip.ec-epcat{border-style:dashed}
.ec-cats .chip.ec-epcat.on{border-style:solid}
.ep-tksph{display:grid;place-items:center;height:96px;margin:-2px 0 10px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px var(--rim)}:where(html[data-theme=dark]) .ep-tksph{background:rgb(23, 20, 37)}
.ep-tksph img{max-height:84px;max-width:70%;object-fit:contain}
.ep-tkgs{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0 0 10px}
.ep-tkgs .chip{justify-content:center;padding-left:4px;padding-right:4px}
.ep-tkno{margin-top:6px}
.ep-tksh .nx-tog{margin:4px 0 10px}
@media (max-width:600px){.ep-tkph{height:62px}}
html[data-theme=dark] .ep-tkph,html[data-theme=dark] .ep-tksph{background:#fff}
/* Vos rayons : « À emporter », « Au poids », « TVA » sur une ligne à part (Marceau 2026-11-23) */
.ep-rayr .ep-rayf{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;order:5}
.ep-rayr .ep-rayf .chip{min-height:36px}

/* « Modifier plusieurs produits » (js/ep-lot.js) */
.epx-bar{display:flex;justify-content:flex-end;margin:0 0 8px}
.epx{display:grid;gap:14px}
.epx-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.epx-blk{display:grid;gap:8px}
.epx-pct{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.epx-pct .input{width:110px;height:46px;text-align:center}
.epx-pct>span{font-weight:700;color:var(--muted)}
.epx-lh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.epx-list{max-height:min(42vh,360px);overflow:auto;-webkit-overflow-scrolling:touch;display:grid;gap:2px;border-radius:14px;border:1px solid var(--rim,rgba(0,0,0,.08));padding:4px}
.epx-r{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;cursor:pointer}
.epx-r input{width:20px;height:20px;flex:none;accent-color:var(--v,#5B2BFF)}:where(html[data-theme=dark]) .epx-r input{accent-color:var(--v,rgb(157, 162, 249))}
.epx-r .tx{display:grid;min-width:0}
.epx-r b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epx-r em{font-style:normal;font-size:12.5px;color:var(--muted)}
.epx [data-act="epxGo"]{white-space:normal;height:auto;min-height:52px;line-height:1.25;padding-block:10px}
