:root{--green:#0f5132;--green2:#167448;--lime:#b8d83f;--ink:#17251e;--muted:#6c7972;--line:#dfe6e1;--soft:#f5f7f5;--danger:#b42318;--shadow:0 12px 34px rgba(22,42,31,.12)}*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#edf1ee}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px}.brand,.login-brand{display:flex;align-items:center;gap:11px}.brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,var(--green),#07351f);color:var(--lime);font-weight:900;letter-spacing:-1px}.brand strong,.login-brand strong{display:block;font-size:18px}.brand small,.login-brand small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1.4px}.top-actions{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.online-dot{width:8px;height:8px;border-radius:50%;background:#28a464;box-shadow:0 0 0 3px #dff4e8}.user-pill{margin-left:15px;padding:9px 12px;border-radius:10px;background:var(--soft);color:var(--ink);font-weight:700}.icon-button{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--muted);text-decoration:none;font-size:20px}.pos-layout{height:calc(100vh - 72px);display:grid;grid-template-columns:minmax(0,1fr) 430px}.catalogue-panel{padding:20px 22px;overflow:auto}.catalogue-tools{display:grid;grid-template-columns:minmax(260px,1fr) 280px;gap:14px}.search-wrap{height:52px;background:#fff;border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;padding:0 15px;gap:10px;box-shadow:0 1px 2px rgba(0,0,0,.025)}.search-wrap:focus-within{border-color:var(--green2);box-shadow:0 0 0 3px rgba(22,116,72,.12)}.search-wrap span{font-size:26px;color:var(--muted)}.search-wrap input{border:0;outline:0;width:100%;font-size:16px;background:transparent}.customer-button{height:52px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:6px 12px;display:flex;align-items:center;text-align:left;gap:11px;color:var(--ink)}.customer-button>span:first-child{width:35px;height:35px;border-radius:10px;background:#e5f1ea;display:grid;place-items:center;color:var(--green);font-size:20px}.customer-button>span:nth-child(2){min-width:0;flex:1}.customer-button small,.customer-button strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-button small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px}.customer-button strong{font-size:13px}.customer-button b{font-size:23px;color:var(--muted)}.category-tabs{display:flex;gap:7px;margin:19px 0 17px;overflow:auto;padding-bottom:2px}.category-tabs button{border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 15px;color:#526159;font-size:13px;white-space:nowrap}.category-tabs button.active{background:var(--green);border-color:var(--green);color:#fff;font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:11px;padding-bottom:20px}.product-card{min-height:155px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;text-align:left;display:flex;flex-direction:column;transition:.15s ease;position:relative}.product-card:hover,.product-card:focus-visible{border-color:#9abaaa;box-shadow:0 8px 20px rgba(30,68,46,.09);transform:translateY(-1px)}.product-card .product-icon{height:45px;width:45px;border-radius:12px;background:#e8f1eb;color:var(--green);display:grid;place-items:center;font-weight:900;margin-bottom:11px}.product-card strong{font-size:14px;line-height:1.25}.product-card small{font-size:11px;color:var(--muted);margin-top:4px}.product-card .product-price{margin-top:auto;padding-top:12px;font-weight:850;color:var(--green);font-size:17px}.product-card .vat-label{position:absolute;right:12px;bottom:17px;font-size:9px;color:#8a948f}.basket-panel{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.basket-heading{height:82px;padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.basket-heading small,.drawer header small,.modal-card header small{font-size:10px;letter-spacing:1.2px;color:var(--green);font-weight:800}.basket-heading h1,.drawer h2,.modal-card h2{font-size:22px;margin:2px 0 0}.text-button{background:none;border:0;font-size:13px;font-weight:700}.danger{color:var(--danger)}.basket-lines{overflow:auto;padding:8px 17px;flex:1}.basket-line{display:grid;grid-template-columns:minmax(0,1fr) 102px 76px 24px;gap:7px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0ee}.basket-line .line-name{min-width:0}.basket-line strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.basket-line small{color:var(--muted);font-size:11px}.qty-stepper{height:35px;border:1px solid var(--line);border-radius:9px;display:grid;grid-template-columns:30px 1fr 30px;overflow:hidden}.qty-stepper button{border:0;background:var(--soft);font-weight:800}.qty-stepper input{width:100%;border:0;text-align:center;font-size:12px;font-weight:700;outline:0}.line-total{text-align:right;font-size:13px}.remove-line{border:0;background:none;color:#9ba49f;font-size:18px}.empty-basket,.empty-state{margin:auto;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;padding:40px}.empty-basket span,.empty-state span{font-size:42px;color:#afbbb4}.empty-basket strong,.empty-state strong{color:var(--ink);margin:10px 0 4px}.empty-basket small,.empty-state small{font-size:12px}.basket-footer{border-top:1px solid var(--line);padding:14px 19px 18px;background:#fbfcfb}.fulfilment-row{display:grid;grid-template-columns:1fr 1fr 126px;gap:6px;margin-bottom:13px}.fulfilment{height:36px;border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--muted);font-size:12px;font-weight:700}.fulfilment.active{background:#e4f0e9;color:var(--green);border-color:#aacbb9}.fulfilment-row input{border:1px solid var(--line);border-radius:8px;padding:0 8px;font-size:12px}.totals>div{display:flex;justify-content:space-between;padding:3px 2px;color:var(--muted);font-size:13px}.totals b{color:var(--ink)}.totals .grand-total{border-top:1px solid var(--line);margin-top:8px;padding-top:11px;color:var(--ink);font-size:18px}.grand-total b{font-size:23px}.primary,.secondary{border:0;border-radius:11px;padding:13px 17px;font-weight:800}.primary{background:linear-gradient(135deg,var(--green2),var(--green));color:#fff;box-shadow:0 6px 15px rgba(15,81,50,.18)}.primary:hover{filter:brightness(1.06)}.primary:disabled{background:#b9c5be;box-shadow:none;cursor:not-allowed}.secondary{background:#fff;color:var(--green);border:1px solid #adc8b9}.wide{width:100%}.pay-button{width:100%;margin-top:13px;display:flex;justify-content:space-between;font-size:16px;padding:15px 18px}.overlay{position:fixed;inset:0;background:rgba(7,25,16,.54);z-index:20;display:flex;justify-content:flex-end;backdrop-filter:blur(2px)}.drawer{height:100%;width:min(470px,100%);background:#fff;padding:22px;box-shadow:-20px 0 60px rgba(0,0,0,.18);overflow:auto}.drawer header,.modal-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.close-button{border:0;width:38px;height:38px;background:var(--soft);border-radius:10px;font-size:25px;color:var(--muted)}.drawer .search-wrap{margin-bottom:14px}.customer-result{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;display:flex;align-items:center;gap:11px;text-align:left;margin-bottom:7px}.customer-result.selected{border-color:#7eb092;background:#f0f7f3}.customer-result .avatar{height:38px;width:38px;background:#e5f0e9;border-radius:11px;display:grid;place-items:center;color:var(--green)}.customer-result>span:nth-child(2){flex:1}.customer-result strong,.customer-result small{display:block}.customer-result small{font-size:11px;color:var(--muted);margin-top:2px}.quick-customer{border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.quick-customer summary{font-weight:750;color:var(--green);margin-bottom:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.form-grid .wide{grid-column:1/-1}label{font-size:12px;font-weight:700;color:#445149}label input,label textarea{display:block;width:100%;border:1px solid var(--line);border-radius:9px;padding:10px;margin-top:5px;outline:0;background:#fff}label input:focus,label textarea:focus{border-color:var(--green2);box-shadow:0 0 0 3px rgba(22,116,72,.1)}.modal-card{margin:auto;width:min(560px,calc(100% - 24px));max-height:calc(100vh - 28px);overflow:auto;background:#fff;border-radius:20px;padding:23px;box-shadow:var(--shadow)}.amount-due{text-align:center;background:#f0f6f2;border-radius:14px;padding:14px;margin-bottom:15px}.amount-due span,.amount-due small{display:block;color:var(--muted);font-size:12px}.amount-due strong{display:block;font-size:35px;color:var(--green);letter-spacing:-1px}.payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.payment-method{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 8px;min-height:100px}.payment-method>span{display:block;font-size:24px;color:var(--green);margin-bottom:5px}.payment-method strong,.payment-method small{display:block}.payment-method strong{font-size:12px}.payment-method small{font-size:9px;color:var(--muted);margin-top:3px}.payment-method.active{border:2px solid var(--green2);background:#f0f7f3;padding:11px 7px}.payment-fields{margin-top:13px}.terminal-note{font-size:11px;line-height:1.5;background:#fff8dd;border:1px solid #eadc9c;color:#685a1e;padding:10px;border-radius:9px;margin-top:9px}.change-row{display:flex;justify-content:space-between;background:var(--soft);padding:11px;border-radius:9px}.notes-field{display:block;margin-top:13px}.notes-field span,.payment-fields label span{font-weight:400;color:var(--muted)}.complete-button{margin-top:14px;font-size:15px}.alert{padding:11px 13px;border-radius:9px;margin:12px 0;font-size:13px}.alert.error{background:#fff0ef;color:#9d251d;border:1px solid #f1c2be}.success-card{text-align:center;max-width:430px}.success-icon{height:68px;width:68px;margin:4px auto 14px;border-radius:50%;display:grid;place-items:center;background:#dff3e6;color:var(--green);font-size:35px;font-weight:900}.success-card h2{font-size:26px}.success-card p{color:var(--muted)}.success-card>strong{display:block;font-size:34px;color:var(--green);margin:9px}.change-banner{background:#fff5cd;padding:10px;border-radius:9px;color:#5f5017;font-weight:800}.success-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.login-page{min-height:100%;display:grid;place-items:center;background:radial-gradient(circle at 20% 10%,rgba(184,216,63,.2),transparent 30%),linear-gradient(145deg,#062c1a,#0f5132)}.login-card{width:min(430px,calc(100% - 30px));background:#fff;border-radius:22px;padding:34px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.login-card h1{margin:30px 0 5px;font-size:29px}.login-card>p{color:var(--muted);margin:0 0 23px}.login-card label{display:block;margin:14px 0}.login-card label input{padding:13px}.login-card .primary{margin-top:9px}.login-foot{display:block;text-align:center;margin-top:20px;color:var(--muted)}@media(max-width:980px){.pos-layout{grid-template-columns:minmax(0,1fr) 380px}.catalogue-tools{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}.desktop-only{display:none}}@media(max-width:720px){.topbar{height:60px;padding:0 12px}.brand-mark{width:36px;height:36px}.brand small,.top-actions .user-pill{display:none}.pos-layout{height:calc(100vh - 60px);display:block}.catalogue-panel{height:52%;padding:12px}.catalogue-tools{grid-template-columns:1fr 150px;gap:7px}.search-wrap,.customer-button{height:46px}.customer-button>span:first-child{display:none}.category-tabs{margin:10px 0}.product-grid{grid-template-columns:repeat(3,1fr);gap:7px}.product-card{min-height:118px;padding:10px}.product-card .product-icon{display:none}.product-card .product-price{font-size:14px}.basket-panel{height:48%;border-left:0;border-top:1px solid var(--line)}.basket-heading{height:53px;padding:9px 14px}.basket-heading h1{font-size:18px}.basket-lines{padding:4px 12px}.basket-line{grid-template-columns:minmax(0,1fr) 94px 70px 20px;padding:8px 0}.basket-footer{padding:8px 12px}.fulfilment-row{display:none}.totals>div:not(.grand-total){display:none}.totals .grand-total{margin:0;padding:3px 0;font-size:15px}.pay-button{margin-top:6px;padding:11px 15px}.payment-methods{grid-template-columns:1fr}.payment-method{min-height:66px;text-align:left;display:grid;grid-template-columns:35px 1fr;align-items:center}.payment-method>span{grid-row:1/3;margin:0}.payment-method small{grid-column:2}.modal-card{padding:18px}.amount-due strong{font-size:29px}}

@media print{body>*{display:none!important}#successModal{display:none!important}}

.pricing-notice{margin:13px 0 0;padding:10px 13px;border:1px solid #b8d7c5;border-radius:10px;background:#edf7f1;color:#356048;font-size:12px}.pricing-notice strong{color:var(--green)}.price-badge{position:absolute;top:11px;right:10px;padding:4px 7px;border-radius:99px;background:#dff2e6;color:var(--green);font-size:9px;font-weight:850;letter-spacing:.2px}.product-card:has(.price-badge){border-color:#b8d7c5}.basket-line small{white-space:normal}

/* 10-inch tablet and coarse-pointer ergonomics */
button,a,input,textarea,summary{touch-action:manipulation;-webkit-tap-highlight-color:rgba(15,81,50,.14)}
.search-wrap,.customer-button{height:56px}.category-tabs button{min-height:44px}.icon-button,.close-button{width:44px;height:44px}.basket-line{grid-template-columns:minmax(0,1fr) 112px 80px 44px}.qty-stepper{height:44px;grid-template-columns:40px 1fr 40px}.qty-stepper button{font-size:20px}.qty-stepper input{font-size:16px}.remove-line{width:44px;height:44px;border-radius:10px;background:#fff1f0;color:var(--danger);font-size:23px}.fulfilment{height:44px}.pay-button{min-height:56px}label input,label textarea{font-size:16px}
@media (hover:none){.product-card:hover{transform:none;box-shadow:none}.primary:hover{filter:none}.product-card:active,.customer-result:active,.payment-method:active,.fulfilment:active{transform:scale(.985);filter:brightness(.97)}}
@media (pointer:coarse),(any-pointer:coarse){button,a,summary{min-height:44px}.icon-button,.close-button{width:48px;height:48px}.text-button{min-width:60px;padding:10px}.search-wrap,.customer-button{height:58px}.search-wrap input,label input,label textarea{font-size:16px}.category-tabs{gap:9px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{min-height:46px;padding:10px 18px;font-size:14px}.product-grid{gap:13px}.product-card{min-height:168px;padding:16px}.product-card strong{font-size:15px}.product-card .product-price{font-size:19px}.basket-line{grid-template-columns:minmax(0,1fr) 126px 82px 44px;gap:9px;padding:14px 0}.basket-line strong{font-size:14px}.qty-stepper{height:48px;grid-template-columns:42px 1fr 42px}.qty-stepper button{font-size:22px}.qty-stepper input{font-size:16px}.remove-line{width:44px;height:44px;border-radius:10px;background:#fff1f0;color:var(--danger);font-size:24px}.fulfilment{height:48px;font-size:14px}.fulfilment-row input{min-height:48px;font-size:14px}.pay-button{min-height:58px;font-size:17px}.customer-result{min-height:62px;padding:12px 14px}.customer-result .avatar{height:44px;width:44px}.payment-method{min-height:108px}.complete-button,.success-actions button,.quick-customer button{min-height:54px}.drawer{width:min(520px,100%)}.drawer .search-wrap{position:sticky;top:0;z-index:2}.form-grid{gap:14px}.terminal-note{font-size:13px}.modal-card{padding:26px}}
@media (min-width:901px) and (max-width:1280px) and (pointer:coarse){.topbar{height:68px}.pos-layout{height:calc(100dvh - 68px);grid-template-columns:minmax(0,1fr) 410px}.catalogue-panel{padding:16px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.basket-heading{height:72px;padding:13px 18px}.basket-footer{padding:12px 16px 15px}.totals>div{padding:2px}.pay-button{margin-top:9px}.pricing-notice{margin-top:10px}.category-tabs{margin:13px 0}}
@media (min-width:721px) and (max-width:900px) and (orientation:portrait){.topbar{height:64px;padding:0 14px}.pos-layout{height:calc(100dvh - 64px);display:flex;flex-direction:column}.catalogue-panel{height:56%;padding:14px;overflow:auto}.catalogue-tools{grid-template-columns:minmax(0,1fr) 260px;gap:10px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-card{min-height:150px}.product-card .product-icon{height:38px;width:38px;margin-bottom:8px}.category-tabs{margin:11px 0}.pricing-notice{margin-top:9px}.basket-panel{height:44%;border-left:0;border-top:2px solid var(--line)}.basket-heading{height:58px;padding:9px 16px}.basket-heading h1{font-size:19px}.basket-lines{padding:3px 15px}.basket-line{grid-template-columns:minmax(0,1fr) 130px 90px 48px;padding:8px 0}.basket-footer{padding:8px 16px 12px}.fulfilment-row{grid-template-columns:1fr 1fr 145px;margin-bottom:7px}.totals>div:not(.grand-total){display:none}.totals .grand-total{margin-top:0;padding-top:5px}.pay-button{margin-top:6px}.drawer{width:72vw}.payment-card{width:min(620px,calc(100% - 28px))}}
@media (max-width:720px) and (pointer:coarse){.catalogue-tools{grid-template-columns:minmax(0,1fr) 170px}.product-card{min-height:128px}.basket-line{grid-template-columns:minmax(0,1fr) 112px 76px 44px}.qty-stepper{height:44px;grid-template-columns:38px 1fr 38px}.pay-button{min-height:52px}.drawer{width:100%}}

/* Shared V2 Extranet visual language */
:root{--green:#0f766e;--green2:#0d9488;--lime:#5eead4;--ink:#0f172a;--muted:#475569;--line:#e2e8f0;--soft:#f8fafc;--danger:#ef4444;--shadow:0 16px 40px rgba(15,23,42,.10)}
html,body{background:#f8fafc;color:var(--ink)}
.topbar{background:#fff;border-bottom-color:var(--line);box-shadow:0 8px 24px rgba(15,23,42,.06);position:relative;z-index:5}
.brand{gap:13px;min-width:0}.brand-logo{display:block;width:min(262px,27vw);height:36px;object-fit:contain;object-position:left center}.pos-brand-label{border-left:1px solid #cbd5e1;color:#64748b;font-size:11px;font-weight:800;letter-spacing:1.3px;line-height:22px;padding-left:13px;text-transform:uppercase;white-space:nowrap}
.user-pill{background:#f1f5f9;color:#0f172a}.icon-button{color:#64748b}.online-dot{background:#10b981;box-shadow:0 0 0 3px #d1fae5}
.catalogue-panel{background:#f8fafc}.basket-panel,.product-card,.customer-button,.search-wrap,.modal-card,.drawer{background:#fff}.basket-panel{border-left-color:var(--line)}
.search-wrap:focus-within,label input:focus,label textarea:focus{border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.14)}
.customer-button>span:first-child,.product-card .product-icon,.customer-result .avatar{background:#ecfdf5;color:#0f766e}
.category-tabs button.active{background:linear-gradient(135deg,#0f766e,#0d9488);border-color:#0f766e;box-shadow:0 5px 12px rgba(15,118,110,.18)}
.product-card{border-color:var(--line);box-shadow:0 1px 2px rgba(15,23,42,.04)}.product-card:hover,.product-card:focus-visible{border-color:#5eead4;box-shadow:0 12px 28px rgba(15,118,110,.11);outline:0}.product-card .product-price{color:#0f766e}
.price-badge{background:#ccfbf1;color:#115e59}.product-card:has(.price-badge){border-color:#99f6e4}.pricing-notice{background:#f0fdfa;border-color:#99f6e4;color:#0f766e}.pricing-notice strong{color:#115e59}
.primary{background:linear-gradient(135deg,#0f766e 0%,#0d9488 48%,#10b981 100%);box-shadow:0 12px 24px rgba(15,118,110,.22),inset 0 1px 0 rgba(255,255,255,.2)}.secondary{border-color:rgba(20,184,166,.42);color:#0f766e;background:linear-gradient(135deg,rgba(20,184,166,.08),rgba(16,185,129,.04))}
.fulfilment.active,.customer-result.selected,.payment-method.active{background:#f0fdfa;border-color:#5eead4;color:#0f766e}.amount-due{background:linear-gradient(135deg,#f0fdfa,#ecfdf5)}.amount-due strong{color:#0f766e}
.remove-line{background:#fff7f7}.basket-footer{background:#f8fafc}.qty-stepper button{background:#f1f5f9;color:#334155}.change-row{background:#f1f5f9}
.login-page{background:radial-gradient(circle at 12% 8%,rgba(20,184,166,.22),transparent 32%),radial-gradient(circle at 88% 90%,rgba(16,185,129,.18),transparent 34%),linear-gradient(145deg,#0f172a,#134e4a)}.login-card{border:1px solid rgba(255,255,255,.18);border-top:4px solid #14b8a6;box-shadow:0 30px 80px rgba(2,6,23,.38)}.login-brand{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.login-brand-logo{display:block;width:min(270px,100%);height:42px;object-fit:contain;object-position:left center}.login-brand .pos-brand-label{border-left:0;border-top:1px solid #e2e8f0;line-height:1;padding:10px 0 0;width:100%}
@media(max-width:720px){.brand-logo{width:min(210px,45vw);height:30px}.brand .pos-brand-label{display:none}}

/* Product photography shared from the V2 catalogue */
.product-card{min-height:218px;overflow:hidden}.product-media.card{align-items:center;background:linear-gradient(145deg,#f1f5f9,#ecfdf5);border-radius:11px;display:flex;height:92px;justify-content:center;margin-bottom:12px;overflow:hidden;position:relative;width:100%}.product-media.card .product-icon{height:52px;margin:0;width:52px}.product-image{display:block;height:100%;inset:0;object-fit:cover;position:absolute;width:100%}.product-media.no-image .product-image,.product-media.image-error .product-image{display:none}.product-media.image-error .product-icon,.product-media.no-image .product-icon{display:grid}.product-media:not(.no-image):not(.image-error) .product-icon{display:none}.line-product{align-items:center;display:flex;gap:9px;min-width:0}.line-copy{display:block;min-width:0}.product-media.thumb{align-items:center;background:#ecfdf5;border-radius:9px;display:flex;flex:0 0 42px;height:42px;justify-content:center;overflow:hidden;position:relative;width:42px}.product-media.thumb .product-icon{font-size:11px;height:42px;margin:0;width:42px}.product-media.thumb .product-image{object-fit:cover}.price-badge{z-index:2}
@media (pointer:coarse),(any-pointer:coarse){.product-card{min-height:230px}.product-media.card{height:102px}.product-media.thumb{flex-basis:46px;height:46px;width:46px}.product-media.thumb .product-icon{height:46px;width:46px}}
@media(max-width:720px){.product-card{min-height:186px}.product-media.card{height:68px;margin-bottom:8px}.product-media.card .product-icon{height:42px;width:42px}.product-media.thumb{display:none}.line-product{gap:0}}

/* Compact, count-labelled catalogue navigation */
.category-tabs{position:sticky;top:-20px;z-index:3;background:#f8fafc;padding:13px 0 9px;margin:6px 0 8px}.category-tabs button{align-items:center;display:inline-flex;gap:8px;padding:7px 12px}.category-tabs button small{align-items:center;background:#f1f5f9;border-radius:99px;color:#64748b;display:inline-flex;font-size:10px;font-weight:800;height:20px;justify-content:center;min-width:20px;padding:0 6px}.category-tabs button.active small{background:rgba(255,255,255,.2);color:#fff}.product-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:9px}.product-card{min-height:178px;padding:11px}.product-media.card{height:70px;margin-bottom:8px}.product-card strong{font-size:13px}.product-card small{margin-top:2px}.product-card .product-price{font-size:16px;padding-top:8px}.product-card .vat-label{bottom:14px}.price-badge{font-size:8px;top:7px;right:7px}
@media (pointer:coarse),(any-pointer:coarse){.product-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:10px}.product-card{min-height:190px;padding:12px}.product-media.card{height:76px}.category-tabs{top:-16px}.category-tabs button{padding:8px 14px}}
@media (min-width:721px) and (max-width:900px) and (orientation:portrait){.category-tabs{top:-14px}.product-card{min-height:176px}.product-media.card{height:68px}}
@media(max-width:720px){.category-tabs{position:static;padding:0 0 5px;margin:7px 0}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card{min-height:160px;padding:9px}.product-media.card{height:58px}}

/* In-basket delivery calculator */
.fulfilment small{font-size:9px;font-weight:900;color:#0f766e;margin-left:3px}.fulfilment.active small{color:inherit}.delivery-panel{background:#fff;border:1px solid #ccfbf1;border-radius:11px;margin:0 0 10px;padding:10px}.delivery-calculate-row>label{display:block;font-size:10px;letter-spacing:.5px;margin-bottom:5px;text-transform:uppercase}.delivery-calculate-row>div{display:flex;gap:7px}.delivery-calculate-row input{border:1px solid var(--line);border-radius:9px;font-size:16px;font-weight:750;min-width:0;padding:9px 10px;text-transform:uppercase;width:100%}.delivery-calculate-row input:focus{border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.12);outline:0}.delivery-calculate-row button{flex:0 0 auto;min-height:44px;padding:8px 13px}.delivery-status{color:#64748b;font-size:11px;line-height:1.3;padding:7px 2px 0}.delivery-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.delivery-option{align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;color:var(--ink);display:flex;justify-content:space-between;min-height:52px;padding:7px 9px;text-align:left}.delivery-option>span,.delivery-option strong,.delivery-option small{display:block}.delivery-option strong{font-size:11px}.delivery-option small{color:#64748b;font-size:8px;text-transform:capitalize}.delivery-option>b{color:#0f766e;font-size:13px;text-align:right}.delivery-option>b small{font-weight:500;white-space:nowrap}.delivery-option.active{background:#f0fdfa;border:2px solid #14b8a6;padding:6px 8px;box-shadow:0 3px 10px rgba(15,118,110,.1)}
@media (pointer:coarse),(any-pointer:coarse){.delivery-calculate-row button{min-height:48px}.delivery-option{min-height:58px}.delivery-option strong{font-size:12px}.delivery-status{font-size:12px}}
@media(max-width:720px){.fulfilment-row{display:grid;grid-template-columns:1fr 1fr}.fulfilment-row input{display:none}.delivery-panel{padding:8px}.delivery-options{grid-template-columns:1fr}.delivery-option{min-height:48px}}

/* Denser POS workspace with square product photography */
.catalogue-panel{padding:12px 14px}.catalogue-tools{gap:9px}.pricing-notice{margin-top:8px;padding:8px 10px}.category-tabs{margin:3px 0 6px;padding:8px 0 7px;top:-12px}.category-tabs button{padding:6px 10px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:7px;padding-bottom:12px}.product-card{min-height:0;padding:8px}.product-media.card{aspect-ratio:1 / 1;height:auto;margin-bottom:7px;width:100%}.product-card .product-price{padding-top:6px}.basket-heading{height:68px;padding:11px 14px}.basket-lines{padding:5px 12px}.basket-line{padding:9px 0}.basket-footer{padding:9px 12px 11px}.fulfilment-row{gap:5px;margin-bottom:8px}.delivery-panel{margin-bottom:7px;padding:8px}.pay-button{margin-top:8px}.topbar{padding-left:14px;padding-right:14px}
@media (pointer:coarse),(any-pointer:coarse){.catalogue-panel{padding:10px 12px}.category-tabs{top:-10px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:8px}.product-card{min-height:0;padding:9px}.product-media.card{aspect-ratio:1 / 1;height:auto}.basket-line{padding:10px 0}.basket-footer{padding:9px 12px 11px}}
@media (min-width:721px) and (max-width:900px) and (orientation:portrait){.catalogue-panel{padding:9px 11px}.category-tabs{top:-9px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.product-card{min-height:0;padding:8px}.product-media.card{aspect-ratio:1 / 1;height:auto}}
@media(max-width:720px){.catalogue-panel{padding:8px}.product-grid{gap:6px}.product-card{min-height:0;padding:7px}.product-media.card{aspect-ratio:1 / 1;height:auto;margin-bottom:5px}.basket-heading{padding:7px 10px}.basket-lines{padding:3px 9px}.basket-footer{padding:6px 9px 8px}}

/* Live stock availability */
.stock-badge{background:#fee2e2;border:1px solid #fecaca;border-radius:99px;color:#991b1b;font-size:9px;font-weight:900;padding:4px 7px;position:absolute;right:7px;top:7px;z-index:2}.product-card.out-of-stock{background:#f8fafc;border-color:#e2e8f0;cursor:not-allowed;opacity:.82}.product-card.out-of-stock .product-media{filter:grayscale(.7);opacity:.68}.product-card.out-of-stock .product-price{color:#94a3b8;text-decoration:line-through}.product-card.out-of-stock:disabled{transform:none;box-shadow:none}.product-card.out-of-stock strong{color:#64748b}
@media (pointer:coarse),(any-pointer:coarse){.stock-badge{font-size:10px;padding:5px 8px}}

/* Delivery address and pricing modal */
.delivery-summary{align-items:center;background:#f0fdfa;border:1px solid #99f6e4;border-radius:10px;color:#0f172a;display:flex;justify-content:space-between;margin-bottom:7px;min-height:48px;padding:7px 10px;text-align:left;width:100%}.delivery-summary span,.delivery-summary strong,.delivery-summary small{display:block}.delivery-summary span{min-width:0}.delivery-summary strong{color:#115e59;font-size:12px}.delivery-summary small{color:#64748b;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delivery-summary>b{color:#0f766e;font-size:12px;margin-left:8px;white-space:nowrap}.delivery-modal-card{width:min(760px,calc(100% - 24px))}.delivery-contact-grid,.delivery-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.delivery-address-grid .wide{grid-column:1/-1}.postcode-lookup-box{background:#f8fafc;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;padding:11px}.postcode-search-row{display:flex;gap:8px;margin-top:5px}.postcode-search-row input{border:1px solid var(--line);border-radius:9px;font-size:16px;font-weight:750;min-width:0;padding:10px;text-transform:uppercase;width:100%}.postcode-search-row button{flex:0 0 auto;min-height:44px}.address-results{background:#fff;border:1px solid #99f6e4;border-radius:9px;font-size:14px;margin-top:8px;padding:4px;width:100%}.address-results option{padding:9px 8px;white-space:normal}.delivery-calculator-modal{border-top:1px solid var(--line);margin-top:4px;padding-top:12px}.delivery-calculator-heading{align-items:center;display:flex;justify-content:space-between}.delivery-calculator-heading button{min-height:44px;padding:8px 12px}.delivery-modal-card .delivery-options{grid-template-columns:repeat(2,1fr)}
@media (pointer:coarse),(any-pointer:coarse){.delivery-modal-card{padding:20px}.delivery-contact-grid,.delivery-address-grid{gap:12px}.postcode-search-row button,.delivery-calculator-heading button{min-height:48px}.address-results option{padding:11px 8px}}
@media(max-width:720px){.delivery-modal-card{padding:14px}.delivery-contact-grid,.delivery-address-grid{grid-template-columns:1fr;gap:7px}.delivery-address-grid .wide{grid-column:auto}.postcode-lookup-box{padding:8px}.postcode-search-row{display:grid;grid-template-columns:1fr}.delivery-modal-card .delivery-options{grid-template-columns:1fr}}
