.qmv-sheet-bg{position:fixed;inset:0;z-index:100020;background:rgba(20,21,25,.45);display:flex;align-items:flex-end;justify-content:center;animation:qmv-fade .18s ease-out}
.qmv-sheet{width:100%;max-width:480px;max-height:88vh;overflow:auto;background:#fbfaf7;border-radius:28px 28px 0 0;padding:18px 18px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 40px rgba(20,21,25,.25);animation:qmv-up .26s cubic-bezier(.2,.9,.3,1);direction:rtl;color:#141519;font-family:inherit}
@media(min-width:768px){.qmv-sheet-bg{align-items:center}.qmv-sheet{border-radius:28px}}
.qmv-grab{min-height:0;width:42px;height:5px;border-radius:3px;background:rgba(20,21,25,.18);margin:-6px auto 12px}
.qmv-head{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.qmv-head img{width:64px;height:64px;border-radius:16px;object-fit:cover;background:#eee;flex:none}
.qmv-head b{display:block;font-size:16px;font-weight:800}
.qmv-head span{font-size:13px;color:#6b6e75}
.qmv-lbl{font-size:13px;font-weight:800;margin:14px 0 8px;display:flex;justify-content:space-between}
.qmv-lbl em{font-style:normal;font-weight:600;color:#E85743;font-size:12px}
.qmv-chips{display:flex;flex-wrap:wrap;gap:8px}
.qmv-chip{min-width:46px;height:42px;padding:0 14px;border-radius:14px;border:1.5px solid rgba(20,21,25,.16);background:#fff;font:inherit;font-weight:800;font-size:14px;color:#141519;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .12s,background .15s,border-color .15s}
.qmv-chip:active{transform:scale(.94)}
.qmv-chip.on{background:#141519;color:#fff;border-color:#141519}
.qmv-dot{width:18px;height:18px;border-radius:50%;border:1px solid rgba(20,21,25,.25);flex:none}
.qmv-go{margin-top:20px;width:100%;height:50px;border-radius:999px;border:0;background:linear-gradient(135deg,#E85743,#C8402F);color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer;box-shadow:0 8px 20px rgba(200,64,47,.32)}
.qmv-go[disabled]{background:#cfcdc8;box-shadow:none;cursor:not-allowed}
.qmv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:40px;border-radius:12px;border:1.5px solid #141519;background:#fff;color:#141519;font:inherit;font-weight:800;font-size:13.5px;cursor:pointer;flex:1}
.qmv-btn svg{width:16px;height:16px}
.qmv-hide{display:none!important}
.qmv-note{font-size:12px;color:#6b6e75;margin-top:6px}
.qmv-m{grid-column:1/-1;flex:0 0 100%;width:100%;max-width:100%;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;gap:10px;margin-top:4px;padding:8px 0 0;border-top:1px dashed rgba(20,21,25,.14)}
.qmv-m .qmv-sum{font-size:12px;color:#6b6e75;flex:1 1 auto;min-width:0;width:auto;text-align:start;line-height:1.5}
.qmv-m button{flex:none;width:auto;min-width:0;height:34px;padding:0 14px;border-radius:10px;border:1.5px solid #141519;background:#fff;font:inherit;font-weight:800;font-size:12.5px;cursor:pointer;white-space:nowrap}
.qmv-m button.on{background:#141519;color:#fff}
.qmv-sw{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid rgba(20,21,25,.1);font-weight:800;font-size:14px}
.qmv-sw i{width:46px;height:28px;border-radius:14px;background:#cfcdc8;position:relative;transition:background .2s;flex:none}
.qmv-sw i:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.qmv-sw.on i{background:#E85743}.qmv-sw.on i:after{transform:translateX(-18px)}
.qmv-add{display:flex;gap:8px;margin-top:8px}
.qmv-add input{flex:1;height:42px;border-radius:12px;border:1.5px solid rgba(20,21,25,.16);padding:0 12px;font:inherit;font-size:14px;background:#fff;color:#141519;min-width:0}
.qmv-add button{height:42px;padding:0 16px;border-radius:12px;border:0;background:#141519;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.qmv-chip.rm:after{content:"×";margin-inline-start:4px;opacity:.6}
.qmv-cartline{display:block;font-size:11.5px;color:#E85743;font-weight:700;margin-top:2px}
@keyframes qmv-fade{from{opacity:0}to{opacity:1}}
@keyframes qmv-up{from{transform:translateY(60px);opacity:.4}to{transform:none;opacity:1}}
html.qm-night .qmv-sheet{background:#1d1e24;color:#f2eee2}
html.qm-night .qmv-chip,html.qm-night .qmv-add input,html.qm-night .qmv-sw{background:#2a2b33;color:#f2eee2;border-color:rgba(255,255,255,.14)}
html.qm-night .qmv-chip.on{background:#f2eee2;color:#141519}

.qmv-chip small.qmv-pp{font-size:11px;font-weight:800;color:#E85743;margin-inline-start:2px}
.qmv-chip.on small.qmv-pp{color:#ffb4a8}
html.qm-night .qmv-chip.on small.qmv-pp{color:#C8402F}
.qmv-g{margin-top:14px;padding:12px;border-radius:18px;background:#fff;border:1.5px solid rgba(20,21,25,.12)}
.qmv-g-h{display:flex;gap:8px;align-items:center}
.qmv-g input[type=text],.qmv-g input:not([type]),.qmv-g input[type=number]{height:42px;border-radius:12px;border:1.5px solid rgba(20,21,25,.16);padding:0 12px;font:inherit;font-size:14px;background:#fbfaf7;color:#141519;min-width:0;box-sizing:border-box}
.qmv-gn{flex:1;font-weight:800!important}
.qmv-x{flex:none;width:36px;height:36px;border-radius:12px;border:0;background:rgba(232,87,67,.12);color:#C8402F;font-size:20px;line-height:1;font-weight:800;cursor:pointer;padding:0}
.qmv-g-o{display:flex;gap:16px;margin:10px 0;flex-wrap:wrap}
.qmv-ck{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.qmv-ck input{width:18px;height:18px;accent-color:#E85743}
.qmv-c{display:flex;gap:8px;align-items:center;margin-top:8px}
.qmv-cn{flex:1 1 auto}
.qmv-pw{display:inline-flex;align-items:center;gap:4px;flex:none}
.qmv-pw .qmv-cp{width:68px;text-align:center}
.qmv-pw em{font-style:normal;font-size:11.5px;color:#6b6e75;white-space:nowrap}
.qmv-addc,.qmv-newg{margin-top:10px;height:38px;padding:0 14px;border-radius:12px;border:1.5px dashed rgba(20,21,25,.3);background:transparent;font:inherit;font-weight:800;font-size:13px;color:#141519;cursor:pointer}
.qmv-newg{width:100%;margin-top:14px;height:44px}
html.qm-night .qmv-g{background:#25262d;border-color:rgba(255,255,255,.14)}
html.qm-night .qmv-g input{background:#2f3039!important;color:#f2eee2!important;border-color:rgba(255,255,255,.16)!important}
html.qm-night .qmv-addc,html.qm-night .qmv-newg{color:#f2eee2;border-color:rgba(255,255,255,.3)}
html[lang=en] .qmv-sheet{direction:ltr}
