/* Charte : Montserrat · ardoise #2C364A · texte #131419 · violet #B551FF · fond #F5F5F5 · blanc */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#E9EAEE;color:#131419;font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;line-height:1.4}
button,input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}
a{color:#2C364A}
.app{max-width:560px;margin:0 auto;min-height:100vh;min-height:100dvh;background:#F5F5F5;display:flex;flex-direction:column}
.app.wide{max-width:820px}
.top{position:sticky;top:0;z-index:20;background:#2C364A;color:#fff;padding:10px 14px;display:flex;align-items:center;gap:10px;min-height:64px}
.top .ttl{flex:1;min-width:0;display:flex;flex-direction:column}
.top .sup{font-size:11px;font-weight:600;color:#C9CDD6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top h1{margin:0;font-size:18px;font-weight:800}
.logo{flex:none;width:44px;height:44px;border-radius:8px;background:#fff;object-fit:contain;padding:2px}
.ibtn{flex:none;width:44px;height:44px;border-radius:22px;border:0;background:#3B465E;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cartbtn{flex:none;min-height:44px;padding:0 12px;border-radius:22px;border:0;background:#B551FF;color:#131419;font-weight:800;font-size:15px;cursor:pointer;display:flex;align-items:center;gap:6px}
.strip{padding:8px 14px;font-size:13px;font-weight:700;display:flex;align-items:center;gap:8px}
.strip.entry{background:#EBD6FF;color:#4F1580}
.strip.net{background:#FFEBC7;color:#734400}
.main{flex:1;padding:16px;display:flex;flex-direction:column;gap:12px}
.bar{position:sticky;bottom:0;z-index:15;background:#fff;border-top:1px solid #E1E4EA;padding:12px 16px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px}
h2{margin:0;font-size:26px;font-weight:800;line-height:1.15}
p{margin:0}
.muted{color:#3A4152}
.small{font-size:13px}
.al{font-size:12px;color:#5A6070}
.lbl{font-size:12px;font-weight:800;color:#2C364A;text-transform:uppercase;letter-spacing:.06em}
.row{display:flex;align-items:center;gap:8px}
.wrap{flex-wrap:wrap}
.grow{flex:1;min-width:0}
.sp{justify-content:space-between}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.card{background:#fff;border:1px solid #E1E4EA;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px}
.card.err{border-color:#B42318;box-shadow:inset 0 0 0 1px #B42318}
.card.dark{background:#2C364A;border-color:#2C364A;color:#fff}
.errtxt{color:#B42318;font-weight:700}
.oktxt{color:#1E6B3A;font-weight:700}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;border:0;border-radius:14px;background:#2C364A;color:#fff;font-weight:700;font-size:16px;padding:0 18px;cursor:pointer;text-decoration:none}
.btn:disabled{background:#CDD1D9;color:#4A5060;cursor:not-allowed}
.btn.v{background:#B551FF;color:#131419}
.btn.n{background:#7A4A00;color:#fff}
.btn.g{background:#1E6B3A;color:#fff}
.btn2{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1.5px solid #2C364A;border-radius:12px;background:#fff;color:#2C364A;font-weight:700;font-size:14px;padding:0 14px;cursor:pointer;text-decoration:none}
.btn2:disabled{border-color:#CDD1D9;color:#7A7F8C;cursor:not-allowed}
.btn2.full{width:100%}
.lnk{min-height:44px;background:none;border:0;color:#2C364A;font-weight:700;font-size:14px;text-decoration:underline;cursor:pointer;padding:0 6px}
.lnk.red{color:#B42318}
.lnk.w{color:#fff}
.mrow{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #E1E4EA;border-radius:14px;padding:12px 12px 12px 14px}
.mrow.out{background:#EDEEF1}
.mrow.out .t{color:#5A6070}
.t{font-weight:700;font-size:15px}
.price{font-weight:800;color:#2C364A}
.opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:56px;padding:10px 14px;background:#fff;border:1.5px solid #E1E4EA;border-radius:12px;cursor:pointer;color:#131419;font-size:15px}
.opt.on{border-color:#B551FF;background:#F5EBFF;box-shadow:inset 0 0 0 1px #B551FF}
.opt:disabled{background:#EDEEF1;cursor:not-allowed;color:#5A6070}
.dot{flex:none;width:22px;height:22px;border-radius:11px;border:2px solid #7A7F8C;background:#fff}
.opt.on .dot{border-color:#B551FF;background:#B551FF;box-shadow:inset 0 0 0 4px #fff}
.chip{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:44px;padding:6px 14px;border-radius:12px;border:1.5px solid #D3D6DD;background:#fff;color:#131419;font-weight:600;font-size:14px;cursor:pointer;text-align:left}
.chip.on{border-color:#B551FF;background:#F5EBFF;box-shadow:inset 0 0 0 1px #B551FF}
.chip:disabled{background:#EDEEF1;color:#5A6070;cursor:not-allowed}
.chip .s{font-size:11px;font-weight:500;color:#5A6070}
.chip.c{align-items:center}
.stp{flex:none;width:44px;height:44px;border-radius:22px;border:1.5px solid #2C364A;background:#fff;color:#2C364A;font-size:22px;font-weight:700;cursor:pointer;line-height:1;padding:0}
.stp:disabled{border-color:#D3D6DD;color:#9AA0AC;cursor:not-allowed}
.stpv{min-width:30px;text-align:center;font-weight:700;font-size:17px}
.bd{display:inline-block;padding:3px 9px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap}
.bd-commandee{background:#E3E7EF;color:#2C364A}
.bd-prete{background:#EBD6FF;color:#4F1580}
.bd-livree_reglee{background:#DDF0E4;color:#1A5631}
.bd-livree_a_regler{background:#FFEBC7;color:#734400}
.bd-out{background:#DCDEE3;color:#3F4452}
.bd-low{background:#FFEBC7;color:#734400}
.bd-pf{background:#F0F1F4;color:#2C364A;border:1px solid #D3D6DD}
.fld{display:flex;flex-direction:column;gap:6px}
.fld label{font-size:14px;font-weight:700;color:#2C364A}
.inp{min-height:52px;border:1.5px solid #C5C9D2;border-radius:12px;padding:0 14px;font-size:16px;color:#131419;background:#fff;width:100%}
.inp:focus,button:focus-visible,a:focus-visible{outline:3px solid #B551FF;outline-offset:1px}
textarea.inp{padding:12px 14px;min-height:84px;resize:vertical}
.inp.sm{min-height:44px;font-size:15px}
.tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}
.tab{flex:none;min-height:44px;padding:0 14px;border-radius:22px;border:0;background:#E3E6EC;color:#2C364A;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
.tab.on{background:#2C364A;color:#fff}
.slot{min-height:52px;border-radius:12px;border:1.5px solid #D3D6DD;background:#fff;color:#131419;font-weight:700;font-size:16px;cursor:pointer}
.slot.on{border-color:#B551FF;background:#F5EBFF;box-shadow:inset 0 0 0 1px #B551FF}
.sw{display:inline-flex;align-items:center;gap:10px;min-height:44px;background:none;border:0;cursor:pointer;font-weight:700;font-size:14px;color:#131419;padding:0;text-align:left}
.sw .trk{position:relative;width:46px;height:28px;border-radius:14px;background:#B7BCC6;flex:none}
.sw .trk::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:11px;background:#fff;transition:left .15s}
.sw.on .trk{background:#2C364A}
.sw.on .trk::after{left:21px}
.tl{display:flex;gap:12px;align-items:flex-start}
.tl .b{flex:none;width:26px;height:26px;border-radius:13px;border:2px solid #C5C9D2;background:#fff}
.tl.done .b{background:#2C364A;border-color:#2C364A}
.tl.cur .b{background:#B551FF;border-color:#B551FF;box-shadow:0 0 0 5px #EBD6FF}
.tl .tt{font-weight:700;color:#5A6070}
.tl.done .tt,.tl.cur .tt{color:#131419}
.sub{background:#F5F5F5;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:6px}
.sep{border-top:1px solid #EEF0F3;padding-top:6px}
.cnt{flex:none;min-width:40px;height:36px;border-radius:10px;background:#2C364A;color:#fff;font-weight:800;font-size:17px;display:flex;align-items:center;justify-content:center;padding:0 8px}
.big{font-size:22px;font-weight:800;color:#2C364A}
.pulse{width:10px;height:10px;border-radius:5px;background:#B551FF;animation:pl 1.6s ease-in-out infinite}
@keyframes pl{0%,100%{opacity:1}50%{opacity:.35}}
.overlay{position:fixed;inset:0;z-index:50;background:rgba(19,20,25,.55);display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.sheet{width:100%;max-width:560px;background:#fff;border-radius:20px 20px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;max-height:90vh;overflow-y:auto}
.toast{position:fixed;left:50%;transform:translateX(-50%);top:calc(72px + env(safe-area-inset-top));z-index:60;width:calc(100% - 32px);max-width:520px;background:#131419;color:#fff;border-radius:12px;padding:14px 16px;font-weight:700;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.comment{font-size:13px;font-weight:600;color:#734400;background:#FFF6E5;border-radius:8px;padding:8px 10px}
.foot{text-align:center;padding:4px 0 8px}
@media (prefers-reduced-motion:reduce){.pulse{animation:none}.sw .trk::after{transition:none}}
