:root{--red:#ed1c24;--dark:#191919;--cream:#fff8ef;--line:#e6e0d9;--green:#177245;--soft:#f4f1ed}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--soft);color:var(--dark)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}header{background:#fff;padding:10px 16px;border-bottom:5px solid var(--red)}.brand{max-width:1100px;margin:auto;display:flex;gap:16px;align-items:center}.brand-logo{width:145px;height:82px;object-fit:contain}.brand-copy h1{margin:0;font-size:23px}.brand-copy p{margin:5px 0 0;font-size:13px;font-weight:700;color:#555}nav{display:flex;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}nav button{flex:1;padding:14px;border:0;background:#fff;font-weight:800}.tab.active{color:var(--red);border-bottom:3px solid var(--red)}main{max-width:1100px;margin:auto;padding:14px}.panel{display:none}.panel.active{display:block}.primary,.secondary{border-radius:12px;padding:13px 16px;font-weight:800}.primary{background:var(--red);color:#fff;border:1px solid var(--red)}.secondary{background:#fff;color:var(--dark);border:1px solid #bbb}.large-button{width:100%;margin-top:12px;padding:16px;font-size:17px}.setup-card{max-width:520px;margin:24px auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 7px 25px #0000000d}.setup-card h2{margin:0 0 6px}.setup-card p{color:#666;margin:0 0 20px}label{display:block;font-size:12px;font-weight:800;margin-top:14px}input,select{width:100%;margin-top:6px;padding:13px;border:1px solid #cfc9c3;border-radius:11px;background:#fff;font-size:16px}.wizard-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.wizard-top strong{font-size:19px}.wizard-top span{color:#666}.text-button,.review-link{border:0;background:transparent;color:var(--red);font-weight:800;padding:8px}.progress{background:#fff;padding:12px;border-radius:13px;border:1px solid var(--line);margin-bottom:10px}.progress-copy{display:flex;justify-content:space-between;font-size:13px;font-weight:800}.progress>div:last-child{height:9px;background:#ece8e3;border-radius:9px;margin-top:8px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:var(--green);transition:width .2s}.wizard-tools{display:grid;grid-template-columns:1fr 110px;gap:8px;margin-bottom:10px}.wizard-tools select{margin:0}.search-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:10px;margin-bottom:10px}.search-panel input{margin:0}.search-panel button{width:100%;text-align:left;display:flex;justify-content:space-between;gap:10px;padding:11px;border:0;border-top:1px solid var(--line);background:#fff}.search-panel button:first-child{margin-top:8px}.search-panel small{color:#666}.product-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px 20px;text-align:center;box-shadow:0 8px 30px #0000000d;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center}.category-pill{background:var(--cream);color:#8b4b00;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.4px}.item-id{margin-top:16px;font-size:13px;font-weight:900;color:#777}.product-card h2{font-size:27px;line-height:1.16;margin:8px 0}.product-card>p{color:#666;margin:0 0 28px}.quantity-label{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.6px}.stepper{display:grid;grid-template-columns:78px 130px 78px;gap:10px;align-items:center;margin:12px 0}.stepper button{height:70px;border-radius:17px;border:1px solid #bbb;background:#fff;font-size:38px;font-weight:500}.stepper input{height:70px;margin:0;text-align:center;font-size:30px;font-weight:900;border:2px solid var(--red)}.quick-steps{display:flex;gap:8px}.quick-steps button{padding:9px 14px;border-radius:999px;border:1px solid #bbb;background:#fff;font-weight:800}.counted-check{font-size:14px;margin-top:22px;display:flex;gap:9px;align-items:center}.counted-check input{width:21px;height:21px;margin:0}.wizard-nav{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;margin-top:12px}.review-link{display:block;margin:8px auto}.review-head{display:flex;justify-content:space-between;align-items:flex-start}.review-head h2{margin:0}.review-head p{margin:5px 0;color:#666}.review-summary{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;margin:12px 0}.review-summary span{padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}.warning{background:#fff3cd;color:#775a00}.complete{background:#e8f7ed;color:#17643b}.group{background:#fff;border:1px solid var(--line);border-radius:14px;margin:12px 0;overflow:hidden}.group h3{margin:0;padding:13px 15px;background:var(--cream);font-size:16px}.review-row{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;padding:13px 15px;border:0;border-top:1px solid var(--line);background:#fff}.review-row span{display:flex;flex-direction:column}.review-row small{color:#666;margin-top:3px}.review-row strong{white-space:nowrap}.review-row.done{border-left:5px solid var(--green)}.review-row.missing{border-left:5px solid #d89b00;background:#fffdf6}.sticky{position:sticky;bottom:10px;width:100%;box-shadow:0 5px 18px #0003}.order-head{display:flex;justify-content:space-between;align-items:center}.order-head h2{margin-bottom:2px}.order-head p{margin-top:0;color:#666}.order-head button,.order-actions button{padding:11px 14px;border-radius:10px;border:1px solid #bbb;background:#fff;font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cards article{background:#fff;border-radius:12px;padding:14px;border:1px solid var(--line)}.cards small{display:block;color:#666}.cards strong{display:block;font-size:24px;margin-top:5px}.controls{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:12px 0}.order-row{display:grid;grid-template-columns:1.5fr repeat(5,.62fr);gap:8px;align-items:center;padding:12px 10px;border-top:1px solid var(--line)}.order-row.header{font-size:11px;font-weight:800;background:#faf8f5}.order-row input{margin:0;padding:9px;font-size:14px}.item-name{font-weight:700}.meta{font-size:12px;color:#666;margin-top:4px}.money{text-align:right;font-weight:700}.order-actions{display:flex;gap:10px;justify-content:flex-end;margin:16px 0}.order-actions .primary{min-width:180px;background:var(--red);color:#fff;border-color:var(--red)}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#222;color:#fff;padding:12px 18px;border-radius:10px;display:none;z-index:50;max-width:90%;text-align:center}
@media(max-width:720px){main{padding:10px}.brand-logo{width:112px;height:68px}.brand-copy h1{font-size:18px}.brand-copy p{font-size:11px}.product-card{min-height:390px;padding:20px 14px}.product-card h2{font-size:24px}.stepper{grid-template-columns:68px 112px 68px}.stepper button,.stepper input{height:64px}.controls{grid-template-columns:1fr}.order-row{grid-template-columns:1.4fr repeat(3,.65fr)}.order-row .hide-mobile{display:none}.cards strong{font-size:19px}.order-head{align-items:flex-start}.review-summary{align-items:flex-start;flex-direction:column}.group{border-radius:10px}}
@media(max-width:380px){.brand-copy{display:none}.brand{justify-content:center}.stepper{grid-template-columns:62px 100px 62px;gap:7px}.stepper button,.stepper input{height:60px}.quick-steps button{padding:8px 11px}}
@media print{header,nav,.controls,.order-actions,#refreshOrder{display:none!important}.panel{display:none!important}#order{display:block!important}body{background:#fff}.group{break-inside:avoid}.order-row input{border:0}}
