:root{--blue:#173a80;--blue2:#28529c;--bg:#f1f5fc;--line:#dbe4f2;--text:#112a55}*{box-sizing:border-box}body{margin:0;font:14px/1.5 Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}.brand-header{background:#fff;display:flex;justify-content:center;align-items:center;min-height:155px;border-bottom:1px solid var(--line)}.brand-logo{display:flex;align-items:center;gap:15px;color:var(--blue);letter-spacing:-1px}.brand-icon{background:var(--blue);color:white;width:74px;height:80px;display:grid;place-items:center;font-size:50px;border-radius:16px}.brand-logo strong{display:block;font-size:57px;font-weight:900;line-height:1}.brand-logo em{display:block;font-style:normal;font-size:32px;letter-spacing:8px;text-align:center;line-height:1.2}.container{max-width:550px;padding:16px 14px 40px;margin:auto}.titlebar,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.titlebar h1{font-size:21px;margin:0;color:var(--blue)}.subtitle,.hint{font-size:12px;color:#65758e}.subtitle{margin:9px 0 15px}.categories{display:flex;gap:7px;overflow-x:auto;padding:4px 0 13px;scrollbar-width:thin}.categories button{white-space:nowrap;border:1px solid #b9cbe9;background:#fff;color:var(--blue);border-radius:22px;padding:7px 11px;font-weight:bold;font-size:12px}.categories button.active{color:#fff;background:var(--blue)}.panel{border:1px solid var(--line);border-radius:13px;background:white;margin:0 0 12px;padding:13px}.panel h2{font-size:16px;margin:0 0 14px}.section-heading h2{margin-bottom:10px}.count{font-size:12px;color:#72809a}.product{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e8edf5;padding:17px 0;min-height:103px}.product:last-child{border:0}.product-photo{width:88px;height:82px;flex:0 0 88px;object-fit:contain;border:0;background:#fff;cursor:zoom-in}.placeholder{width:88px;height:82px;flex:0 0 88px;background:#edf3fc;color:#8ea2c3;display:grid;place-items:center;border-radius:8px;font-size:27px}.product-main{min-width:0;flex:1}.product-name{font-weight:700;font-size:13px;overflow-wrap:anywhere}.price{font-weight:800;font-size:20px;color:var(--blue);line-height:1.1}.old-price{font-size:12px;color:#8190a6;text-decoration:line-through;margin-left:6px;font-weight:normal}.label-offer{font-size:10px;color:#8a5100;background:#fff1d8;border-radius:4px;padding:2px 5px;margin-left:6px}.primary{background:var(--blue2);color:#fff;border:0;border-radius:7px;font-weight:bold;padding:8px 11px}.primary:hover{background:#173a80}.outline{border:1px solid #bdcce5;background:white;color:var(--blue);border-radius:7px;padding:8px}.text-button{color:var(--blue);border:0;background:transparent;text-decoration:underline;font-size:12px}.small{font-size:12px;padding:6px 10px}.basket-panel h2 small{font-size:11px;color:#61728d;font-weight:normal}.basket-row{display:flex;justify-content:space-between;gap:7px;padding:7px 0;border-bottom:1px solid #edf0f6}.basket-row strong{font-size:12px}.basket-footer{display:flex;justify-content:space-between;align-items:center;background:#f9fbfe;border-radius:8px;padding:9px 2px}.basket-footer strong{font-size:13px}#basketTotal{font-size:14px}.qty-tools{display:flex;align-items:center;gap:7px}.qty-tools button{border:1px solid #c7d4eb;background:white;color:var(--blue);border-radius:4px;width:24px;height:24px}.admin-panel{margin-top:18px;border-color:#b6c9ec}label{display:block;font-weight:bold;margin:12px 0 4px}input:not([type=checkbox]):not([type=file]),select{width:100%;border:1px solid #bdcbe0;border-radius:7px;padding:9px;background:#fff;color:#15294a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.image-input{display:flex;gap:6px}.image-input input{min-width:0}.image-input button{font-size:11px;flex:0 0 auto}.checkbox-label{display:flex;align-items:center;gap:8px}.form-actions{display:flex;gap:8px;margin-top:15px}.status{font-size:12px;color:#385781}.admin-row{border-top:1px solid #e7edf6;padding:10px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.admin-row span{font-size:12px}.admin-controls{display:flex;gap:5px}footer{text-align:center;font-size:11px;color:#78879c;padding:18px 0}.modal{border:1px solid #d1ddee;border-radius:12px;max-width:400px;width:calc(100% - 32px);padding:22px;box-shadow:0 18px 80px #10254855}.modal::backdrop,.image-dialog::backdrop{background:#06162bcc}.modal-head{display:flex;justify-content:space-between}.modal h2{margin:0 0 10px}.full{width:100%;margin-top:15px}.x{border:0;background:transparent;color:#344a67;font-size:30px;line-height:1}.image-dialog{position:relative;border:0;padding:30px 14px 14px;border-radius:10px;max-width:min(94vw,850px);max-height:95vh}.image-dialog img{display:block;max-width:100%;max-height:80vh;object-fit:contain;margin:auto}.image-dialog .x{position:absolute;right:4px;top:1px}.notice{padding:13px;background:#fff8e4;border:1px solid #f3d893;border-radius:7px;color:#6c530a;font-size:12px}@media(max-width:500px){.brand-header{min-height:126px}.brand-logo strong{font-size:40px}.brand-logo em{font-size:22px;letter-spacing:6px}.brand-icon{width:58px;height:62px;font-size:37px}.container{padding:13px 10px}.image-input{flex-wrap:wrap}.image-input button{width:100%}}

/* Alpha Chemist redesigned branding */
.brand-header{background:#fff;display:block;min-height:0;text-align:center;overflow:hidden}
.brand-banner{display:block;width:min(100%,1150px);height:auto;margin:0 auto;object-fit:contain}
@media(max-width:500px){.brand-header{min-height:0}.brand-banner{width:100%;height:auto}}

/* Responsive customer-first layout. Staff entry and dashboard are below basket. */
html{scroll-behavior:smooth}
body{font-size:16px;overflow-x:hidden}
.container{width:100%;max-width:760px;padding:20px 20px 44px}
.titlebar h1{font-size:clamp(22px,4vw,28px)}
.subtitle{font-size:14px;line-height:1.55}
.panel{padding:18px;border-radius:15px;margin-bottom:16px}
.panel h2{font-size:19px}
.categories{gap:9px;padding:6px 0 17px;overscroll-behavior-x:contain}
.categories button{font-size:14px;min-height:44px;padding:10px 15px;flex-shrink:0}
.product{gap:16px;padding:16px 0;align-items:center}
.product-photo,.placeholder{width:112px;height:112px;flex:0 0 112px;border-radius:10px}
.product-name{font-size:16px;line-height:1.35;margin-bottom:7px}
.price{font-size:23px}
.primary,.outline{min-height:44px;padding:10px 14px}
.product-main .primary{margin-top:8px}
.basket-row{align-items:center;padding:11px 0}
.basket-row strong{font-size:14px}
.basket-footer{padding:13px 10px;gap:12px}
.basket-footer strong,#basketTotal{font-size:16px}
.qty-tools{gap:10px}
.qty-tools button{width:38px;height:38px;font-size:20px}
.staff-entry{display:flex;justify-content:center;padding:15px 0 10px;margin-top:16px;border-top:1px solid var(--line)}
.staff-entry .text-button{font-size:14px;min-height:44px;padding:10px 16px}
.admin-panel{scroll-margin-top:12px}
.admin-row span{font-size:14px;overflow-wrap:anywhere;min-width:0}
.modal{max-height:calc(100dvh - 32px);overflow-y:auto}
.brand-mobile{display:none}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #62a8f1;outline-offset:2px}
@media(max-width:600px){
 .brand-header{padding:12px 12px 14px;background:linear-gradient(135deg,#fff 10%,#e3f5ff 100%);border-bottom:4px solid #168ad3}
 .brand-banner{display:none}
 .brand-mobile{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:430px;margin:auto}
 .brand-mobile-icon{width:59px;height:59px;flex:0 0 59px;display:grid;place-items:center;background:linear-gradient(145deg,#0497db,#082f76);border-radius:15px;color:#fff;font-size:43px;font-weight:700;box-shadow:0 4px 13px #173a8025}
 .brand-mobile-wordmark{min-width:0;text-align:left;color:#123677}
 .brand-mobile-wordmark strong{display:block;font-size:clamp(20px,5.5vw,30px);line-height:1.02;letter-spacing:-.8px;white-space:nowrap}
 .brand-mobile-wordmark strong span{color:#0877bd}
 .brand-mobile-wordmark small{display:block;margin-top:7px;color:white;background:#15518f;font-size:clamp(12px,3vw,16px);font-weight:700;font-style:italic;border-radius:15px;text-align:center;padding:3px 9px}
 .container{padding:16px 12px 32px}
 .panel{padding:13px;margin-bottom:12px;border-radius:12px}
 .panel h2{font-size:18px}
 .subtitle{font-size:13px}
 .categories{margin-right:-12px;padding-right:12px}
 .product{gap:12px;padding:15px 0;min-height:116px;align-items:center}
 .product-photo,.placeholder{width:94px;height:102px;flex:0 0 94px}
 .product-name{font-size:14px;margin-bottom:5px}
 .price{font-size:20px}
 .old-price{font-size:12px}
 .product-main .primary{min-height:40px;margin-top:7px;font-size:13px;padding:8px 12px}
 .form-row{grid-template-columns:1fr;gap:0}
 .image-input{display:flex;flex-direction:column;gap:8px}
 .image-input button{width:100%}
 .basket-footer{align-items:stretch;flex-direction:column}
 #checkoutBtn{width:100%;font-size:15px}
 .admin-row{align-items:flex-start;flex-direction:column}
 .admin-controls{width:100%}
 .admin-controls button{flex:1}
 .form-actions{flex-wrap:wrap}
 .form-actions button{flex:1 1 130px}
 input:not([type=checkbox]):not([type=file]),select{min-height:44px;font-size:16px}
 .modal{padding:18px}
 .image-dialog{padding:38px 10px 10px;max-width:96vw}
 .image-dialog img{max-height:75dvh}
}
@media(max-width:365px){
 .brand-mobile{gap:9px}
 .brand-mobile-icon{width:45px;height:48px;flex-basis:45px;font-size:31px}
 .brand-mobile-wordmark strong{font-size:19px}
 .brand-mobile-wordmark small{font-size:11px}
 .product-photo,.placeholder{width:78px;height:88px;flex-basis:78px}
 .product{gap:9px}
 .product-name{font-size:13px}
 .price{font-size:18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Stock availability, confirmed sales and moderated reviews */
.stock-info{display:flex;gap:6px 10px;align-items:center;flex-wrap:wrap;margin:8px 0 5px;font-size:12px;color:#475d78}
.stock-info .stock-pill{color:#16623e;background:#e8f7ee;padding:3px 8px;border-radius:999px;font-weight:700}
.purchased-label{font-size:12px;color:#6b7690}
.sold-out .product-photo{opacity:.42;filter:grayscale(.85)}
.product-strike{text-decoration:line-through;color:#8b92a0!important}
.out-label{color:#b32631;font-weight:700;display:block}
.contact-order{display:inline-flex;align-items:center;background:#fff1f1;color:#8d1e28;border:1px solid #efc9c9;padding:10px 12px;border-radius:8px;font-weight:700;font-size:13px;text-decoration:none;margin-top:7px;min-height:44px}
.qty-tools button:disabled{opacity:.35;cursor:not-allowed}
.reviews-list{display:grid;gap:12px;margin-bottom:18px}
.review{background:#f8faff;border:1px solid #e3eaf8;border-radius:10px;padding:14px}
.review-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.review-stars{color:#e19b19;letter-spacing:1px}
.review p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.review-form-wrap{border-top:1px solid #e7edf6;padding-top:12px}
.review-form-wrap h3{margin:5px 0}
textarea{width:100%;padding:11px;border:1px solid #bdcbe0;border-radius:8px;color:#15294a;font:inherit;resize:vertical}
.review-admin span{line-height:1.55}
.admin-controls{flex-wrap:wrap}
@media(max-width:600px){.stock-info{font-size:11px;gap:5px}.purchased-label{font-size:11px}.contact-order{font-size:12px;padding:9px 10px}.review{padding:12px}textarea{font-size:16px}.review-form-wrap button{width:100%}}

/* Final revision: compact banner in line with the central page, responsive at every width */
.brand-header{background:transparent;border:0;padding:12px 14px 0;max-width:760px;margin:0 auto;overflow:visible}
.brand-banner{width:100%;max-width:100%;height:clamp(108px,18vw,172px);object-fit:cover;object-position:center;border-radius:14px;box-shadow:0 3px 18px rgba(15,45,94,.10);background:#fff}
.pound-section{border:2px solid #e8c16b;background:linear-gradient(180deg,#fffaf0 0%,#fff 55%)}
.pound-section .section-heading h2{color:#7c4b05}
.pound-tag{display:inline-block;background:#a16b08;color:white;border-radius:999px;padding:5px 11px;font-weight:800;font-size:12px}
.boots-badge{display:inline-block;background:#eff2ff;color:#243b90;border:1px solid #cdd7fb;border-radius:7px;font-size:12px;font-weight:800;padding:4px 8px;margin:2px 0 7px}
.comparison-field{margin:13px 0;background:#f4f7ff;border:1px solid #d8e2f8;padding:10px 12px;border-radius:9px}
.comparison-field[hidden]{display:none}
.comparison-field .checkbox-label{margin:0;font-size:14px}
.comparison-field .hint{margin:6px 0 0;line-height:1.5}
@media(max-width:600px){.brand-header{padding:10px 12px 0;background:transparent;border:0}.brand-banner{display:none}.brand-mobile{max-width:100%;padding:10px 8px;background:linear-gradient(135deg,#fff,#e3f5ff);border-radius:12px;border:1px solid #d5e2ef;box-shadow:0 2px 10px #173a8014}.pound-section{padding:14px}.boots-badge{font-size:11px}}

.offer-end{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;color:#6b4f8b;white-space:nowrap}
#offerEndsOn{min-height:44px}

/* Prominent promotional comparison label, desktop and mobile */
.boots-badge{display:inline-block!important;background:#fff0f0!important;color:#c40017!important;border:2px solid #d31329!important;border-radius:8px!important;font-size:19px!important;font-weight:900!important;line-height:1.25!important;letter-spacing:.15px;padding:8px 12px!important;margin:7px 0 10px!important;text-transform:uppercase;max-width:100%;box-sizing:border-box}
@media(max-width:600px){.boots-badge{font-size:17px!important;padding:8px 10px!important;line-height:1.3!important}}
