.cart-add-product{width:100%;margin-top:8px;background:#edf5ef!important;color:#246b51!important}.cart-lines{display:flex;flex-direction:column;gap:12px}.cart-line{display:grid;grid-template-columns:72px 1fr 110px;align-items:center;gap:12px;padding:12px;border:1px solid #dce6df;border-radius:12px}.cart-line>img{width:72px;height:80px;object-fit:contain}.cart-line p{margin:5px 0}.cart-line small{color:#66766c}.cart-line-quantity{display:flex;flex-direction:column;gap:8px}.cart-line-quantity input{width:100%;min-width:0}.cart-line-quantity label{font-size:12px}.cart-error{color:#b53131!important;overflow-wrap:anywhere}.cart-total{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#edf5ef;padding:16px;border-radius:10px;margin:16px 0}.a4-order{max-width:960px;margin:0 auto;background:white;padding:24px}.a4-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.a4-heading h1{font-size:25px}.a4-customer{border-block:1px solid #ccd9cf;padding:14px 0;margin-bottom:16px}.a4-lines{width:100%;border-collapse:collapse;table-layout:fixed}.a4-lines th,.a4-lines td{border:1px solid #bccac0;padding:8px;overflow-wrap:anywhere}.a4-lines th:first-child{width:76px}.a4-lines th:nth-child(2){width:30%}.a4-lines tfoot{font-weight:bold;background:#f2f6f3}.a4-signature{margin-top:36px}#cart-pick-list img{width:100%;height:85px;object-fit:contain}#cart-pick-list button{min-width:0;display:flex;flex-direction:column;gap:6px}#cart-checkout-form{margin-top:20px}@media(max-width:600px){.cart-line{grid-template-columns:55px minmax(0,1fr) 82px;padding:9px;gap:8px}.cart-line>img{width:55px;height:65px}.cart-line small{font-size:11px}.a4-order{padding:10px}.a4-heading h1{font-size:19px}.a4-lines th,.a4-lines td{font-size:10px;padding:4px}.a4-lines th:first-child{width:42px}.a4-lines .order-print-image img{width:36px;height:44px}}@page{size:A4 portrait;margin:12mm}@media print{html,body{background:white!important;width:auto!important;min-width:0!important}.shell,main{display:block!important;padding:0!important;margin:0!important;width:auto!important;max-width:none!important}main>.a4-order{display:block!important;width:100%!important;max-width:none!important;padding:0!important;font-size:10pt}.a4-heading h1{font-size:18pt}.a4-lines th,.a4-lines td{font-size:9pt;padding:2mm}.a4-lines th:first-child{width:22mm}.a4-lines .order-print-image img{width:19mm;height:22mm;object-fit:contain}.a4-lines tr{break-inside:avoid;page-break-inside:avoid}.a4-lines thead{display:table-header-group}.a4-lines tfoot{display:table-row-group}.a4-signature{break-inside:avoid}.no-print{display:none!important}dialog{display:none!important}}

.sale-color-options,.sale-quick-quantities{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.sale-color-options button{min-height:44px;border:1px solid #cbd5e1}.sale-color-options button.selected{background:#eef2ff;color:#3730a3;border-color:#6366f1;box-shadow:0 0 0 1px #6366f1}.sale-quantity-controls{display:flex;align-items:center;gap:8px;margin:8px 0}.sale-quantity-controls input{width:100px;text-align:center;min-height:44px;margin:0}.sale-quantity-controls button{min-width:44px;min-height:44px;font-size:20px}.sale-stock-summary{line-height:1.8;overflow-wrap:anywhere}.sale-color-options button:disabled,.sale-quick-quantities button:disabled{opacity:.45;cursor:not-allowed}
#floating-cart{position:fixed;right:20px;bottom:calc(96px + env(safe-area-inset-bottom,0px));z-index:20;display:flex;align-items:center;gap:9px;border:1px solid #ffffff55;border-radius:28px;padding:12px 18px;background:#234e43;color:#fff;box-shadow:0 6px 24px #163b3540;min-height:56px;transition:transform .18s,box-shadow .18s}#floating-cart:hover{transform:translateY(-3px);box-shadow:0 10px 28px #163b3555}#floating-cart svg{width:24px;height:24px}#floating-cart span{display:flex;flex-direction:column;text-align:left;font-weight:600}#floating-cart small{font-size:11px;font-weight:400;opacity:.85;margin-top:3px}body:has(#floating-cart) main{padding-bottom:100px}@media(prefers-reduced-motion:reduce){#floating-cart{transition:none}}@media print{#floating-cart{display:none!important}}
#cart-checkout-form .field[hidden],#orderform .field[hidden]{display:none!important}

.cart-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:sticky;top:-28px;z-index:2;background:white;padding:10px 0}.cart-dialog-heading h2{margin:5px 0;flex:1}.cart-dialog-close{flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#f4f4f4;color:#555;font-size:28px;line-height:1;cursor:pointer}.cart-dialog-close:hover{background:#ffe9db;color:#ba5127}
