/* V186: shared visual system for customer, store and management pages. */
:root{--nd-bg:#111216;--nd-surface:#1b1c22;--nd-muted:#b7b9c4;--nd-border:#ffffff14;--red:#ed243b;--gold:#f4cb73;color-scheme:dark}
body{background:#111216;color:#f3f3f7;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.45}
body .content,body .promo-strip,body .food-categories{background:#111216}
body .topbar,body .client-page-header,body .panel-topbar,body .store-top{background:#15161bdd;border-bottom:1px solid #ffffff12;box-shadow:none;backdrop-filter:blur(14px)}
body .page-card,body .panel-card,body .review-card110,body .card,body .admin-product,body .item-card,body .product-card{background:#1b1c22;border:1px solid #ffffff14;border-radius:14px;box-shadow:0 3px 12px #00000012}
body .page-card p,body .panel-card p,body .review-card110 p,body .item-card p,body .product-copy p{color:#b7b9c4}
body h1,body h2,body h3{letter-spacing:-.025em;font-weight:700;text-shadow:none}
body .eyebrow,body .panel-eyebrow{letter-spacing:.08em;font-size:.7rem}
body .primary,body #promotions .promo-card-copy button{background:#ed243b;font-weight:650;border-radius:9px;box-shadow:none}
body .primary:hover,body #promotions .promo-card-copy button:hover{background:#d81d33}
body .panel-nav,body .manager-nav{gap:6px;background:#15161b;border-color:#ffffff12}
body .panel-nav button,body .manager-nav button{border-radius:9px;font-size:.875rem;box-shadow:none}
body .panel-nav button.active,body .manager-nav button.active{background:#ed243b18;border-color:#ed243b55;color:#ffb4be}
body .modal-form,body .modal-card,body .cart-dialog{padding:20px}
body dialog{background:#1b1c22;border-color:#ffffff24;border-radius:16px}
body input:not([type=checkbox]):not([type=radio]):not([type=file]),body select,body textarea{border-radius:9px;border-color:#ffffff26;font-size:16px}
body label{font-size:.875rem}
body .metric-grid>article,body .metric-card{border-radius:12px;border-color:#ffffff14;background:#1b1c22;padding:14px}
body .metric-grid strong{font-size:1.55rem}
body .address-chip{background:#202127;border-color:#ffffff19;box-shadow:none}
body .notification-button,body .header-notification{box-shadow:none;border-color:#ffffff22;background:#202127;border-radius:11px}
body .food-category{min-height:54px;padding-block:5px;gap:3px;border-radius:9px;background:#1b1c22;border-color:#ffffff15;box-shadow:none}
body .food-category>span{font-size:1.3rem;line-height:1.1;filter:none}
body .food-category b{font-weight:600}
body .food-category.active{background:#ed243b18;border-color:#ed243b66;box-shadow:none}
body .food-category .category-watermark{padding-block:2px;font-size:.5rem;border-color:#ffffff20;background:#22232ce6}
body .category-highlight-card137,body #promotions .promo-card{min-height:168px;background:#1b1c22;border-color:#ffffff17;border-radius:13px;align-items:stretch}
body .highlight-picture137,body #promotions .promo-picture{min-height:0;height:auto;background:#22232a;overflow:hidden;position:relative}
body .highlight-picture137 img,body #promotions .promo-picture img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
body .highlight-copy137,body #promotions .promo-card-copy{padding:12px;justify-content:flex-start}
body .highlight-copy137 h3,body #promotions .promo-card-copy h3{font-size:1rem;margin:5px 0;line-height:1.3}
body .highlight-copy137 .eyebrow,body #promotions .promo-card-copy .eyebrow{font-size:.7rem;line-height:1.3;color:#ff9ca9}
body .highlight-description137,body #promotions .promo-card-copy>p:not(.eyebrow){font-size:.8rem;line-height:1.4;margin:5px 0;min-height:0}
body .highlight-prices137,body .promo-prices92{margin:7px 0}
body .highlight-prices137 strong,body #promotions .promo-card-copy strong{font-size:1.2rem;margin:0;color:#f4cb73}
body .highlight-copy137 button,body #promotions .promo-card-copy button{min-height:44px;padding:8px 12px;font-size:.8rem;line-height:1.2;width:fit-content}
body .highlight-controls137{margin-top:6px}
body #stores .store-row81{border-color:#ffffff14;padding:12px 0}
body #stores h3{font-size:1rem}
body #stores .store-meta,body #stores .store-description81{color:#b7b9c4}
body .page-admin-switcher,body .client-admin-switcher{border-color:#ffffff24;background:#191a20}
body #clientNav,body .client-nav,body .client-page-nav,body .cart-page-nav{background:#17181e;border-top-color:#ffffff19;box-shadow:none}
body #clientNav>.active,body .client-nav>.active,body .client-page-nav>.active,body .cart-page-nav>.active{background:#f4cb7310;border-color:#f4cb7340;color:#f4cb73}
@media(min-width:900px){body .category-highlight-card137,body #promotions .promo-card{min-height:210px}body .highlight-copy137,body #promotions .promo-card-copy{padding:20px}body .food-category{min-height:66px}}
@media(max-width:600px){
 body .food-category{height:54px;min-height:54px}
 body .category-highlight-card137,body #promotions .promo-card{grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr)}
 body .category-highlight137 h2,body .promo-title h2{font-size:1.1rem}
 body .section-title h2{font-size:1.35rem}
 body .page-main,body .panel-content{padding-top:16px}
 body .modal-form,body .modal-card,body .cart-dialog{padding:16px}
}
/* V188: customer subpages use the bottom navigation; home controls stay intact. */
body .client-page-header .nav-back185,
body .client-page-header .nav-home185,
body .client-page-header .address-qr-group71,
body .client-page-header .page-address,
body .client-page-header .qr-entry71,
body.cart-page185 header .nav-back185,
body.cart-page185 header .cart-home-link{display:none!important}
body .client-page-header{min-height:56px;flex-wrap:nowrap;padding:8px 14px}
body .client-page-header .page-brand{flex:1;gap:9px}
body .client-page-header .page-brand strong{display:block;font-size:.9rem}
body.cart-page185 header{min-height:56px;padding:12px 14px}
body .product-title189{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:44px}
body .product-title189:focus-visible{outline:2px solid #f4cb73;outline-offset:3px}
body .product-details189{width:min(520px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:20px;color:#f3f3f7}
body .details-head189{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body .details-head189 h2{margin:0;font-size:1.3rem}
body .product-details189 button{min-height:44px;padding:10px 12px;border-radius:9px;cursor:pointer}
body .details-description189{white-space:pre-wrap;overflow-wrap:anywhere;color:#d0ccd3;font-size:1rem;line-height:1.6}
body .details-category189{color:#ff9ca9;font-size:.8rem}
body .details-price189{display:block;color:#f4cb73;font-size:1.3rem;margin:14px 0}
body .details-actions189{display:flex;flex-wrap:wrap;gap:10px}
body .pizza-dialog190 label,body #pizzaEditor190 label{display:grid;gap:6px;margin:10px 0;font-size:.9rem}
body .pizza-dialog190 fieldset,body #pizzaEditor190{border:1px solid #ffffff25;border-radius:10px;padding:12px;margin:12px 0}
body .pizza-dialog190 fieldset label{display:flex;align-items:center;gap:8px;min-height:44px}
body .pizza-dialog190 input[type=checkbox],body #pizzaEditor190 input[type=checkbox]{width:20px;height:20px}
body #pizzaEditor190 textarea{width:100%;padding:10px}
/* V191: explicit compact controls prevent inherited store button styling. */
body .product-details189 .details-head189{align-items:flex-start;gap:12px}
body .product-details189 .details-head189 h2{flex:1;min-width:0;font-size:1.15rem;line-height:1.3}
body .product-details189 .details-head189>button{
 flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
 width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;
 margin:0;padding:0;border:1px solid #ffffff26;border-radius:9px;
 background:#292a32;color:#e7e7ee;font:400 24px/1 system-ui;white-space:nowrap;box-shadow:none
}
body .product-details189 .details-actions189{gap:8px;align-items:center}
body .product-details189 .details-actions189>button{
 flex:0 1 auto;width:auto;min-height:44px;margin:0;padding:10px 12px;
 border:1px solid #ffffff26;border-radius:9px;background:#292a32;
 color:#eeeef4;font:600 .85rem/1.2 system-ui;white-space:normal;box-shadow:none
}
body .product-details189 .details-actions189>.primary{background:#ed243b;border-color:transparent}
body .product-details189 .details-head189>button:hover,body .product-details189 [data-details-photos]:hover{background:#363740}
body .product-details189 button:focus-visible{outline:2px solid #f4cb73;outline-offset:3px}
body #pizzaEditor190 .pizza-option192{padding:12px;border:1px solid #ffffff20;border-radius:10px;margin:8px 0;background:#15161b}
body #pizzaEditor190 input,body #pizzaEditor190 select{width:100%;padding:10px;min-height:44px}
body #pizzaEditor190 .pizza-enable192{display:flex;align-items:center;gap:8px}
body #pizzaEditor190 .pizza-enable192 input{width:20px;min-height:20px;flex:none}
body .pizza-add192,body .pizza-remove192{min-height:44px;padding:9px 12px;border:1px solid #ffffff25;border-radius:9px;background:#292a32;color:#eee;font-size:.85rem;cursor:pointer}
body .pizza-remove192{color:#ffb4be}
body .pizza-dialog190 select{width:100%;padding:10px;min-height:44px}
body .flavor-description192{color:#b7b9c4;line-height:1.4}
/* V193: explicit light form controls in checkout, including autofill. */
body #cartDialog .checkout-fields input,
body #cartDialog .checkout-fields select,
body #cartDialog .checkout-fields textarea,
body #cartDialog #checkoutAddressPicker{
 background:#f7f7fa;color:#24232a;-webkit-text-fill-color:#24232a;
 border:1px solid #d7d7df;caret-color:#24232a;color-scheme:light;
}
body #cartDialog .checkout-fields input::placeholder,
body #cartDialog .checkout-fields textarea::placeholder{color:#666571;opacity:1;-webkit-text-fill-color:#666571}
body #cartDialog .checkout-fields select option{background:#f7f7fa;color:#24232a}
body #cartDialog .checkout-fields input:-webkit-autofill,
body #cartDialog .checkout-fields input:-webkit-autofill:hover,
body #cartDialog .checkout-fields input:-webkit-autofill:focus{
 -webkit-text-fill-color:#24232a;caret-color:#24232a;
 box-shadow:0 0 0 1000px #f7f7fa inset;
}
body #cartDialog #clearStoreCart,body #cartDialog #clearAllCarts{color:#ff9ca9}
