/* Shared correctness: hidden controls must stay hidden in either theme. */
html body [hidden]{display:none!important}
html[data-theme195] body .cart-thumb195{display:block;flex:0 0 64px;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;min-height:64px!important;max-height:64px!important;object-fit:contain!important;border-radius:10px;background:var(--surface195)}
html[data-theme195] body #cartStores .cart-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html[data-theme195] body #cartStores .cart-row>div:first-of-type{flex:1;min-width:130px}
html[data-theme195] body #cartStores .controls{flex-wrap:wrap;gap:5px}
html[data-theme195] body #cartStores{min-width:0;overflow-wrap:anywhere}
html[data-theme195] body .persistent-cart195{bottom:calc(var(--nav-h196,72px) + var(--switch-h196,0px) + 12px)!important;z-index:64;box-sizing:border-box;background:var(--bg195);color:var(--ink195);border:1px solid var(--line195)}
html[data-theme195] body .persistent-cart195 small{color:var(--muted195)}
html[data-theme195] body .persistent-cart195 .primary{background:#dc1935;color:#fff}
html[data-theme195] body :is(.page-admin-switcher,.client-admin-switcher){bottom:calc(var(--nav-h196,72px) + 4px)!important;z-index:65!important;box-sizing:border-box;max-width:calc(100% - 24px)}
html[data-theme195] body.customer195{padding-bottom:calc(var(--nav-h196,0px) + var(--switch-h196,0px) + var(--cart-h196,0px) + 28px)!important}
html[data-theme195] .theme-toggle195{padding:10px 12px;min-height:44px;border-radius:28px;white-space:nowrap;cursor:pointer}
/* Keep original dark colours and gradients from the existing stylesheets. */
html[data-theme195=dark]{--bg195:#111216;--surface195:#1b1c22;--ink195:#f3f3f7;--muted195:#b7b9c4;--line195:#ffffff24}
html[data-theme195=dark] .theme-toggle195{background:#202127;color:#f3f3f7;border:1px solid #ffffff22}
html[data-theme195=dark] .coupon-strip195{display:flex;align-items:center;gap:10px;margin:12px 16px;padding:10px 14px;min-height:46px;background:#352340;border-radius:25px}
html[data-theme195=dark] .coupon-strip195 button{flex:1;border:0;background:transparent;color:#e2b2fa;text-align:left;font-weight:600;display:flex;justify-content:space-between}
html[data-theme195=dark] .pizza-choice195{display:flex!important;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #ffffff24;cursor:pointer}
html[data-theme195=dark] .pizza-dialog190 fieldset{border:0;margin:20px 0;padding:0}
html[data-theme195=dark] .pizza-dialog190 legend{padding:12px;background:#22242c;width:100%;box-sizing:border-box}
html[data-theme195=dark] .pizza-footer195{position:sticky;bottom:0;background:#1b1c22;display:flex;align-items:center;gap:10px;padding:12px 0;z-index:3}
html[data-theme195=dark] .pizza-footer195 .primary{flex:1}
html[data-theme195=dark] .suggestion-rail195{display:flex;overflow-x:auto;gap:14px;padding-bottom:14px}
html[data-theme195=dark] .suggestion-rail195 article>button{background:#ed243b;color:#fff}
html[data-theme195=dark] .customer195 .cart-item{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
html[data-theme195=dark] .customer195 .cart-item>div:first-of-type{flex:1;min-width:120px}
html[data-theme195=dark] .recent-rail195{display:flex;gap:14px;overflow-x:auto}
/* Light theme: replace background images as well as background colours. */
html[data-theme195=light]{background:#fff!important;color:#202124!important}
html[data-theme195=light] body,html[data-theme195=light] body.customer195>main{background:#fff!important;background-image:none!important;color:#202124!important}
html[data-theme195=light] body :is(.category-highlight137,#categoryHighlights137,#broadcastHighlights164,.highlight-message137,.promo-empty,.category-results,.category-product-list,.status,.store-access,.access-state,.order-tabs,.avatar-action,.qr-entry71,.qr-button71,.address-qr-group71,.page-admin-switcher,.client-admin-switcher,.cart-page185>header,.account-actions,.benefit-card,.store-signup-fields,.account-type,.terms-check){background:var(--bg195)!important;background-image:none!important;color:var(--ink195)!important;border-color:var(--line195)!important;box-shadow:none!important}
html[data-theme195=light] body :is(.category-highlight137 h2,.highlight-position137,.highlight-message137,.promo-empty,.status,.page-admin-switcher a,.client-admin-switcher a,.page-address,.page-address b,.cart-page185>header h1){color:var(--ink195)!important;text-shadow:none!important}
html[data-theme195=light] body :is(button,.button,.qr-entry71,.avatar-action){background:var(--surface195)!important;background-image:none!important;color:var(--ink195)!important;border-color:var(--line195)!important;box-shadow:none!important}
html[data-theme195=light] body :is(.primary,.add-product,#finishOrder,.cart-bar button,.order-tabs button.active,.order-tabs button[aria-selected=true],.suggestion-rail195 article>button){background:#dc1935!important;color:#fff!important;border-color:#dc1935!important}
html[data-theme195=light] body :is(.primary,.add-product,#finishOrder,.order-tabs button.active,.order-tabs button[aria-selected=true]) :is(span,b,strong){color:#fff!important}
html[data-theme195=light] body .coupon-strip195 button{background:transparent!important;color:var(--coupon-ink195)!important}
html[data-theme195=light] body :is(.link-button,.text-action,.product-title189,.store-open81){background:transparent!important;color:var(--accent195)!important}
html[data-theme195=light] body .store-open81{color:var(--ink195)!important}
html[data-theme195=light] body .highlight-message137{min-height:80px;border:1px solid var(--line195);border-radius:12px;font-size:20px}
html[data-theme195=light] body .order-tabs button{border:1px solid var(--line195)!important}
html[data-theme195=light] body :is(.page-admin-switcher,.client-admin-switcher) a.active{background:#ffedf0!important;color:#a61128!important;border-color:transparent!important}
html[data-theme195=light] body :is(.client-nav,.client-page-nav,.cart-page-nav) :is(a,button){background:transparent!important;color:var(--muted195)!important}
html[data-theme195=light] body :is(.client-nav,.client-page-nav,.cart-page-nav) .active{color:#b6142c!important}
html[data-theme195=light] body :is(.account-type,.login-role,.signup-role,.store-signup-fields,.terms-check) :is(label,span,b,strong,p,legend){color:var(--ink195)!important;background-color:transparent!important}
html[data-theme195=light] body .account-type label{background:var(--surface195)!important;border:1px solid var(--line195)!important}
html[data-theme195=light] body .account-type label:has(input:checked){background:#ffedf0!important;border-color:#dc1935!important}
html[data-theme195=light] body .form-message:not(:empty){color:#a81829!important}
html[data-theme195=light] body input,html[data-theme195=light] body select,html[data-theme195=light] body textarea{-webkit-text-fill-color:var(--ink195)!important}
html[data-theme195=light] body button:disabled{color:#686b70!important}
html[data-theme195=light] body.cart-page185>header{position:static}
html[data-theme195=light] body.cart-page185>main{max-width:900px;padding:20px 16px;margin:auto}
html[data-theme195=light] body :is(.topbar,.client-page-header,.store-top){position:relative;top:auto}
html[data-theme195=light] body .qr-entry71{border:1px solid var(--line195)!important;border-radius:12px;min-height:44px;min-width:44px}
@media(max-width:480px){html[data-theme195] body #cartStores .controls{width:100%;justify-content:flex-end}html[data-theme195] body .persistent-cart195{left:10px;right:10px}html[data-theme195=light] body .topbar{gap:8px}html[data-theme195=light] body .topbar .actions{gap:4px}}
