/* Theme controls stay available at every screen width. */
.nav-actions{grid-column:3;grid-row:1;display:flex;align-items:center;gap:9px;}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg2);color:var(--text);font-size:.8rem;font-weight:600;}
.theme-toggle:hover{border-color:var(--accent);}.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
@media(max-width:500px){.nav-actions{grid-column:2;grid-row:1;gap:5px;}.theme-toggle{font-size:.75rem;padding:8px 10px;}}
html[data-theme="dark"]{
 color-scheme:dark;
 --bg:#101917;--bg2:#16221f;--bg3:#1b2a25;--bg4:#22372f;
 --accent:#73dac1;--accent2:#a1ebd8;--text:#edf5ef;--black:#edf5ef;
 --text2:#bdcec5;--text3:#a7bbb0;--slate:#bdcec5;
 --border:#3b5147;--border2:#527467;--dark2:#16221f;--dark3:#1b2a25;
 --violet:#73dac1;--cobalt:#73dac1;--cyan:#73dac1;--gold:#e4c276;--orange:#efb48c;--magenta:#ffa8b8;--red:#ffa8b8;
 --shadow:0 4px 24px #0005;
}
html[data-theme="light"]{color-scheme:light;}
html[data-theme="dark"] :is(body,.hero,.nav,.header-search,.header-help>div,.nav-links.open,.modal-box,.admin-drawer){background:var(--bg);color:var(--text);}
html[data-theme="dark"] :is(.section--alt,.about-section,.header-contact-strip,.hero-side-upgrades,.hero-benefits,.actual-unit-details,.buying-filters,.admin-form-box,.admin-item,.booking-item,.specs-table tr:nth-child(even),.pd-thumb,.photo-slider-controls,.promo-controls button){background:var(--bg2);color:var(--text);border-color:var(--border);}
html[data-theme="dark"] :is(.hero-feature){background:linear-gradient(120deg,#1b2c26,#15221e);border-color:var(--border);}
html[data-theme="dark"] :is(.service-card,.product-card,.category-tile,.policy-card,.booking-form-box,.testi-card,.about-tag,.catalogue-search,.rating-note,.form-success){background:var(--bg3);color:var(--text);border-color:var(--border);}
html[data-theme="dark"] :is(.hero-side-computers){background:#163f34;border:1px solid var(--border);}
html[data-theme="dark"] :is(.hero-banner-brand,.hero-side-upgrades,.hero-benefits span,.hero-side-upgrades a,.category-select-label,.catalogue-search,.booking-contact-item,.map-detail,.pd-breadcrumb,.pd-share,.footer-policy-link){color:var(--slate);border-color:var(--border);}
html[data-theme="dark"] :is(.trust-bar,.product-card-body,.faq-item,.pd-specs,.specs-table td,.admin-header,.admin-tabs,.modal-header){border-color:var(--border);}
html[data-theme="dark"] .trust-bar{background:var(--bg2);}
html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,#checkoutPanel input:not([type=checkbox])){background:var(--bg2);color:var(--text);border-color:var(--border);}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#a7bbb0;opacity:1;}
html[data-theme="dark"] .header-search input{background:transparent;}
html[data-theme="dark"] :is(.btn-primary,.btn-gold,.header-search button,.nav-cta){background:var(--accent)!important;color:#09271f!important;border-color:var(--accent);}
html[data-theme="dark"] :is(.btn-primary:hover,.btn-gold:hover,.header-search button:hover){background:var(--accent2)!important;}
html[data-theme="dark"] :is(.btn-outline,.btn-view,.svc-icon,.why-icon,.booking-perk-icon,.booking-item-svc,.product-badge){background:#223c32;color:var(--accent);border-color:var(--border);}
html[data-theme="dark"] :is(.btn-outline:hover,.btn-view:hover,.header-help a:hover,.category-tile.active){background:#2a4a3d;}
html[data-theme="dark"] .btn-whatsapp{background:#1c3e2c;color:#a7edbe;border-color:#44765a;}
html[data-theme="dark"] .photo-slider-controls button{color:var(--text);}
html[data-theme="dark"] :is(.settings-section h4,.admin-tab,.modal-title){color:var(--text);}
html[data-theme="dark"] :is(.admin-tab.active,.hero h1 em){color:var(--accent);}
html[data-theme="dark"] .hero h1 em{-webkit-text-fill-color:var(--accent);}
html[data-theme="dark"] .hero-contact{color:var(--slate);}
html[data-theme="dark"] .card-ph{background:var(--bg2);color:var(--slate);}
html[data-theme="dark"] .pd-share{background:var(--bg2);border-color:var(--border);}
html[data-theme="dark"] :is(.stock-in,.stock-limited){background:#213d2f;color:#b8ebc8;border-color:#44765a;}
html[data-theme="dark"] .stock-out{background:#442c31;color:#ffd1da;border-color:#82525b;}
html[data-theme="dark"] #bookingAlert{background:#213d2f;color:var(--text);border-color:#44765a;}
html[data-theme="dark"] .cta-band{background:#163b31;}
html[data-theme="dark"] footer{background:#0a1210;}
/* Product photography keeps a neutral light stage; images and logos are never inverted. */
html[data-theme="dark"] :is(.product-card-img,.pd-main-img,.pd-thumb img,.hero-side img,.hero-feature .product-slide .photo-stage){background:#f1f3f0;color:#20342a;color-scheme:light;}
html[data-theme="dark"] .hero-feature .photo-stage .photo-slider-controls{background:#16221fee;color:var(--text);}
html[data-theme="dark"] :is(.section-sub,.catalogue-note,#shop>p,.booking-form-box>p,.buying-filters>p){color:var(--slate)!important;}
/* Paper documents keep their light presentation in either theme. */
html[data-theme="dark"] .invoice-doc{background:white;color:#111;color-scheme:light;--white:#fff;--accent:#075f58;--border:#dfe5e1;--slate:#586460;}
html[data-theme="dark"] .invoice-doc p{color:#333;}
@media print{.nav-actions{display:none!important;}html[data-theme="dark"],html[data-theme="dark"] body{background:#fff!important;color:#111!important;color-scheme:light;}}
/* Cart and order review work in either colour theme. */
#cartDialog{position:fixed;inset:0;margin:auto;width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--border);border-radius:14px;background:var(--bg);color:var(--text);box-shadow:0 20px 80px #0005;}#cartDialog::backdrop{background:#0009;}.cart-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--border);background:var(--bg2);}.cart-header h2{font-size:1.4rem;}.cart-body{padding:24px;}.cart-body>p{margin-bottom:16px;}.cart-item{padding:18px 0;border-bottom:1px solid var(--border);display:flex;gap:12px;align-items:center;flex-wrap:wrap;}.cart-item h3{width:100%;font-size:1rem;}.cart-item p{width:100%;font-size:.85rem;}.cart-item input{width:80px;min-height:44px;padding:9px;border:1px solid var(--border);border-radius:7px;background:var(--bg3);color:var(--text);font:inherit;}.cart-item label{font-size:.85rem;}.cart-summary-lines{list-style:none;}.cart-summary-lines li{display:flex;flex-direction:column;gap:5px;padding:15px 0;border-bottom:1px solid var(--border);font-size:.9rem;}.cart-total{font-size:1.15rem;font-weight:700;color:var(--text);}.cart-body p{margin:12px 0;}.cart-body h3,.cart-body h4{margin:20px 0 12px;}.cart-body summary{cursor:pointer;color:var(--accent);}.cart-body .policy-text{white-space:pre-line;overflow-wrap:anywhere;}.cart-expiry{font-size:.8rem;}#cartSummary{margin:24px 0;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--bg2);scroll-margin-top:15px;}#cartPayForm>input{display:block;width:100%;min-height:46px;border:1px solid var(--border);padding:10px 12px;margin:7px 0 16px;border-radius:7px;background:var(--bg3);color:var(--text);font:inherit;}#cartPaymentStatus{white-space:pre-line;overflow-wrap:anywhere;line-height:1.8;}#cartToast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:5000;width:max-content;max-width:calc(100% - 36px);padding:14px 18px;background:var(--bg3);border:1px solid var(--accent);border-radius:9px;box-shadow:var(--shadow);color:var(--text);font-size:.85rem;}#cartToggle{gap:7px;}#cartCount{border-radius:12px;min-width:21px;text-align:center;background:var(--accent);color:#09271f;}#paymentOrderFilter{margin:10px 0 16px;padding:10px;max-width:100%;}.payment-order ul{padding-left:20px;font-size:.85rem;}.payment-order button{margin:8px 8px 8px 0;}.btn-add-cart{font-size:.76rem;padding:10px 12px;min-height:44px;}.btn-add-cart:disabled{opacity:.5;cursor:not-allowed;}
@media(max-width:500px){.nav-logo-text{display:none!important;}.nav-actions{gap:4px;}.theme-toggle{padding:8px;font-size:.72rem;}#cartDialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);}.cart-header,.cart-body{padding:18px;}.cart-header h2{font-size:1.2rem;}#cartSummary{padding:15px;}.cart-item .btn{margin-left:auto;}}
@media print{#cartDialog,#cartToast{display:none!important;}}
.cart-header{position:sticky;top:0;z-index:2;}#cartSummary{scroll-margin-top:95px;}.cart-body>button{margin:8px 8px 8px 0;}
#cartCount{color:#fff;}html[data-theme="dark"] #cartCount{color:#09271f;}
/* Purchasing layout inspired by the supplied reference, using Vinereel branding. */
.quantity-stepper{display:inline-grid;grid-template-columns:44px minmax(54px,72px) 44px;align-items:stretch;border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--bg3);max-width:100%;}.quantity-stepper button{border:0;background:var(--bg2);color:var(--accent);font-size:1.25rem;min-width:44px;min-height:46px;padding:0;}.quantity-stepper button:disabled{opacity:.4;cursor:not-allowed;}.quantity-stepper .quantity-input,.cart-item .quantity-stepper input,#checkoutPanel .quantity-stepper input{appearance:textfield;-moz-appearance:textfield;display:block;min-width:0;width:100%;max-width:none;margin:0;padding:8px 4px;border:0;border-radius:0;border-inline:1px solid var(--border);text-align:center;min-height:46px;background:var(--bg3);color:var(--text);font:inherit;}.quantity-input::-webkit-inner-spin-button,.quantity-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}.card-quantity{display:flex;justify-content:space-between;gap:8px;align-items:center;}.card-quantity label{font-size:.8rem;}.card-quantity .quantity-stepper{grid-template-columns:36px 46px 36px;}.card-quantity .quantity-stepper button{min-width:36px;}.quantity-stock-hint{font-size:.78rem;color:var(--slate);line-height:1.6;}.checkout-quantity{margin:12px 0;}#checkoutPanel{padding:18px;margin:18px 0;background:var(--bg2);}#checkoutTitle{font-size:.95rem;}#checkoutPanel>p{font-size:.78rem;}#checkoutTotal{font-size:.95rem;}#cartEnquiry{margin:12px 0;}.product-purchase-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(210px,.62fr);gap:26px;align-items:start;}.pd-title{font-size:clamp(1.35rem,2vw,1.9rem);line-height:1.35;}.pd-price{font-size:1.5rem;}.pd-gallery-column{position:sticky;top:170px;display:grid;grid-template-columns:62px minmax(0,1fr);gap:12px;}.pd-gallery-column .pd-main-img{grid-column:2;grid-row:1;margin:0;aspect-ratio:4/5;}.pd-gallery-column .pd-thumbs{grid-column:1;grid-row:1;flex-direction:column;}.pd-gallery-column #pdImageNote{grid-column:1/-1;font-size:.74rem;}.pd-thumb{width:60px;height:66px;}.pd-spec-chips{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0;}.pd-spec-chips span{font-size:.72rem;line-height:1.5;padding:7px 10px;border:1px solid var(--border);border-radius:18px;background:var(--bg2);color:var(--slate);}.pd-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.pd-actions .btn{font-size:.8rem;padding:12px 13px;justify-content:center;text-align:center;}#pdAddToCart{background:var(--accent);color:#fff;border-color:var(--accent);grid-column:1/-1;font-size:.92rem;}#pdWaBtn{grid-column:1/-1;}#pdPhotoRequest{font-size:.74rem;}.pd-shop-sidebar{display:flex;flex-direction:column;gap:24px;}.pd-shop-sidebar section{padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--bg2);min-width:0;}.pd-shop-sidebar h2{font-size:1rem;margin-bottom:18px;}.pd-shop-sidebar p{font-size:.83rem;line-height:1.8;margin:12px 0;overflow-wrap:anywhere;}.pd-shop-sidebar strong{font-size:.85rem;}.pd-shop-sidebar .btn{width:100%;font-size:.76rem;padding:12px;margin-top:9px;justify-content:center;text-align:center;}.pd-description-section{padding:30px 0 40px;border-top:1px solid var(--border);}.pd-description-section h2{font-size:1.4rem;padding-bottom:18px;border-bottom:1px solid var(--border);margin-bottom:24px;}.pd-description-section h3{font-size:1.1rem;margin:32px 0 18px;}.pd-description-section p,.pd-description-section li{font-size:.91rem;line-height:1.9;}.pd-description-section ul{padding-left:22px;}.pd-description-section li{margin:9px 0;}.pd-description-section .pd-specs{margin-top:28px;}.pd-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.pd-feature-grid article{padding:20px;background:var(--bg2);border:1px solid var(--border);border-radius:9px;}.pd-feature-grid h4{font-size:.95rem;margin-bottom:12px;}.pd-description-section .actual-unit-details{margin-top:20px;}.pd-main-img img{padding:14px;}html[data-theme="dark"] #pdAddToCart{color:#09271f;background:var(--accent);}.pd-price{overflow-wrap:anywhere;}
@media(max-width:1200px){.product-purchase-layout{grid-template-columns:1fr 1.1fr;}.pd-shop-sidebar{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;}.pd-gallery-column{top:170px;}}
@media(max-width:800px){.product-purchase-layout{grid-template-columns:1fr;}.pd-gallery-column{position:static;grid-template-columns:58px minmax(0,1fr);}.pd-gallery-column .pd-main-img{aspect-ratio:4/3;}.pd-shop-sidebar{grid-column:1;}.pd-title{font-size:1.6rem;}.pd-feature-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:500px){.pd-shop-sidebar,.pd-feature-grid{grid-template-columns:1fr;}.pd-gallery-column{display:flex;flex-direction:column;}.pd-gallery-column .pd-thumbs{flex-direction:row;order:1;}.pd-gallery-column .pd-main-img{order:0;}.pd-gallery-column #pdImageNote{order:2;}.pd-main-img{aspect-ratio:4/3;width:100%;}.pd-actions .btn{font-size:.76rem;}.card-quantity{flex-wrap:wrap;}.cart-item .quantity-stepper{grid-template-columns:44px 64px 44px;}}
html[data-theme="dark"] .pd-desc{color:var(--slate);}html[data-theme="dark"] .quantity-stepper{background:var(--bg3);}.price-context{display:block;font-size:.72rem;font-weight:400;color:var(--slate);margin-bottom:3px;}.pd-description-section #pdSources{margin:16px 0;}

/* Minimal catalogue previews; full purchasing controls live on product pages. */
.product-preview .product-card-body{padding:16px;gap:0;}
.product-preview .product-card-body h3{font-size:.91rem;line-height:1.5;margin:0 0 18px;min-height:3em;}
.product-preview h3 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.product-preview h3 a:hover{color:var(--accent);}
.product-preview .product-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.product-preview .product-price{font-size:1rem;line-height:1.45;}
.product-preview .product-price small{display:block;font-size:.69rem;margin-top:5px;}
.product-preview .btn-add-cart{min-height:44px;padding:9px 12px;font-size:.74rem;white-space:nowrap;}
.product-preview .product-card-img{height:185px;}
@media(max-width:600px){.product-preview .product-card-body{padding:14px;}.product-preview .product-card-img{height:160px;}}
@media(max-width:420px){.product-preview .product-card-img{height:200px;}.product-preview .product-card-body{padding:18px;}}
