/* Scoped additions; no changes to existing panel branding or alarm styles. */
#confirmDialog,#applicationDialog,#cartDialog{max-height:calc(100dvh - 24px);max-height:min(94dvh,1000px);overflow:auto;overscroll-behavior:contain;scroll-padding-block:16px}
#confirmDialog form,#applicationDialog form{padding:24px}
#confirmDialog .dialog-close,#applicationDialog .dialog-close{min-width:44px;min-height:44px;z-index:2;background:#fff;border-radius:10px}
#confirmDialog .dialog-actions,#applicationDialog .dialog-actions{position:sticky;bottom:-1px;background:#fff;padding:12px 0 max(10px,env(safe-area-inset-bottom));margin-top:12px;z-index:1}
#confirmDialog .dialog-actions button,#applicationDialog .dialog-actions button{min-height:48px}
#confirmDialog h2{font-size:24px;padding-right:30px;outline-offset:4px}
#deliverySummary{font-size:14px;line-height:1.5;padding-top:12px}
#deliverySummary h3{font-size:14px;margin:14px 0 4px}
.delivery-choice{display:block;font-weight:700;margin-bottom:12px}
.delivery-choice select,.delivery-choice input,#applicationForm select,#applicationNeighborhoodOther{display:block;width:100%;font:inherit;font-size:16px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#102a4c;padding:12px;margin-top:6px;min-height:46px}
.delivery-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e1e8f0}.delivery-line strong{text-align:right;white-space:nowrap}.delivery-grand-total{font-size:16px;color:#0a5dbd;background:#eef6ff;border-radius:10px;padding:12px;margin:8px 0}
.delivery-help{font-size:12px;line-height:1.55;color:#52637a;margin:10px 0}.delivery-address{font-size:14px;overflow-wrap:anywhere;margin:4px 0}
#deliverySummary details{font-size:12px;color:#52637a;margin:10px 0}#deliverySummary summary{cursor:pointer;padding:6px 0}
.result-card .price{white-space:nowrap;font-variant-numeric:tabular-nums}.result-card .price small[data-try-price]{font-size:12px;letter-spacing:0;font-weight:600;color:#52637a;margin-top:5px}
.delivery-card{border:1px solid #d9e4ef;background:#f4f8fc;border-radius:10px;padding:12px;margin:10px 0;overflow-wrap:anywhere}.delivery-card p{margin:5px 0}.delivery-card h4{margin:0 0 8px}.delivery-card .delivery-help{font-size:12px}
[hidden]{display:none!important}
@media(max-width:600px){.result-card{grid-template-columns:22px minmax(0,1fr);gap:8px 12px}.result-card .product-copy{min-width:0}.result-card .price{grid-column:2;text-align:left;font-size:22px}.result-card .price small{text-align:left}.result-card .product-copy strong{overflow-wrap:anywhere}#confirmDialog form,#applicationDialog form{padding:20px 16px}.delivery-grand-total{flex-wrap:wrap}#confirmDialog .summary{padding:2px 12px}#confirmDialog .summary span{font-size:14px;padding:9px 0}}

#cartDialog .cart-body{padding:24px}#cartDialog h2{margin-top:0}#cartDialog .dialog-actions{position:sticky;bottom:0;background:white;padding:12px 0}
.cart-bar{position:sticky;bottom:8px;z-index:8;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#0d2948;color:white;border-radius:14px;padding:12px 16px;margin-top:12px;box-shadow:0 8px 28px #102a4c33}.cart-bar span{font-size:12px}.cart-row{padding:12px 0;border-bottom:1px solid #dce4ef}.cart-row label{display:inline-flex;gap:8px;align-items:center;margin-right:12px}.cart-row input{width:70px;min-height:44px;font-size:16px;padding:8px;border:1px solid #cbd5e1;border-radius:8px}.cart-row p{margin:8px 0}.cart-confirmation-line{border-bottom:1px solid #dce4ef;padding:10px 0;font-size:14px}.cart-confirmation-line p{margin:5px 0}#cartTotal{font-weight:800;color:#0a5dbd}#applicationForm select:disabled{background:#eef2f6;color:#64748b}
@media(max-width:600px){.cart-bar{flex-wrap:wrap}.cart-bar span{flex-basis:100%;order:3}.cart-body{padding:18px!important}}

#appView.tta-cart-enabled #orderBar{position:static}

/* Brand themes without inline styles. */
#brandGrid .brand-card{--brand-top:#6082a7;--brand-bottom:#263e59;--brand-edge:#14263a;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="apple"]{--brand-top:#34363a;--brand-bottom:#050506;--brand-edge:#000000;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="iphone"]{--brand-top:#34363a;--brand-bottom:#050506;--brand-edge:#000000;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="samsung"]{--brand-top:#2455a4;--brand-bottom:#071b4b;--brand-edge:#020d2c;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="xiaomi"]{--brand-top:#ff9a3d;--brand-bottom:#f05a00;--brand-edge:#b43a00;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="redmi"]{--brand-top:#ff4b4b;--brand-bottom:#a60000;--brand-edge:#700000;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="poco"]{--brand-top:#ffe95a;--brand-bottom:#e7bd00;--brand-edge:#9b7900;--brand-text:#111111;}
#brandGrid .brand-card[data-brand-theme="oppo"]{--brand-top:#2bbf73;--brand-bottom:#006b3f;--brand-edge:#00452b;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="vivo"]{--brand-top:#57a7ff;--brand-bottom:#1454cd;--brand-edge:#0a318c;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="huawei"]{--brand-top:#ef4a5f;--brand-bottom:#a50020;--brand-edge:#710016;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="honor"]{--brand-top:#7069ff;--brand-bottom:#211d63;--brand-edge:#100d3b;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="realme"]{--brand-top:#ffe45e;--brand-bottom:#e3b800;--brand-edge:#997700;--brand-text:#111111;}
#brandGrid .brand-card[data-brand-theme="tecno"]{--brand-top:#4e83ff;--brand-bottom:#1a2b72;--brand-edge:#10194a;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="infinix"]{--brand-top:#a4ef39;--brand-bottom:#397f15;--brand-edge:#24540d;--brand-text:#102000;}
#brandGrid .brand-card[data-brand-theme="general mobile"]{--brand-top:#50a4d8;--brand-bottom:#17608d;--brand-edge:#0c3d5e;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="reeder"]{--brand-top:#ed3655;--brand-bottom:#8d0e28;--brand-edge:#570817;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="oneplus"]{--brand-top:#f04d4d;--brand-bottom:#a40000;--brand-edge:#670000;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="google"]{--brand-top:#58a1ff;--brand-bottom:#2454a6;--brand-edge:#17356d;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="nothing"]{--brand-top:#454545;--brand-bottom:#0b0b0b;--brand-edge:#000000;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="motorola"]{--brand-top:#57a5f5;--brand-bottom:#195aa4;--brand-edge:#0c376b;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="nokia"]{--brand-top:#3158a8;--brand-bottom:#102654;--brand-edge:#08152f;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="hmd"]{--brand-top:#678cff;--brand-bottom:#273c8f;--brand-edge:#17245a;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="tcl"]{--brand-top:#ef5252;--brand-bottom:#a10c18;--brand-edge:#670710;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="zte"]{--brand-top:#4b9ee8;--brand-bottom:#15508c;--brand-edge:#0b3158;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="nubia"]{--brand-top:#ed4c4c;--brand-bottom:#8c1111;--brand-edge:#590909;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="casper"]{--brand-top:#548ee7;--brand-bottom:#173d80;--brand-edge:#0b2755;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="meizu"]{--brand-top:#6ea8ff;--brand-bottom:#275da8;--brand-edge:#173b70;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="sony"]{--brand-top:#4b4d56;--brand-bottom:#13151a;--brand-edge:#050608;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="lg"]{--brand-top:#d94d76;--brand-bottom:#8a1538;--brand-edge:#590c24;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="asus"]{--brand-top:#5d7da5;--brand-bottom:#26384f;--brand-edge:#162131;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="amazfit"]{--brand-top:#ff7e55;--brand-bottom:#bd3516;--brand-edge:#7c210e;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="garmin"]{--brand-top:#579cff;--brand-bottom:#14528d;--brand-edge:#0a335a;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="fitbit"]{--brand-top:#48c4c5;--brand-bottom:#107172;--brand-edge:#084748;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="suunto"]{--brand-top:#575d68;--brand-bottom:#20242b;--brand-edge:#101216;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="polar"]{--brand-top:#e84d5c;--brand-bottom:#9c1221;--brand-edge:#650a14;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="withings"]{--brand-top:#83b7cf;--brand-bottom:#315c72;--brand-edge:#203c4b;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="haylou"]{--brand-top:#6fa5ff;--brand-bottom:#3158a2;--brand-edge:#1c3566;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="qcy"]{--brand-top:#545967;--brand-bottom:#20232a;--brand-edge:#101216;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="mibro"]{--brand-top:#44a7d7;--brand-bottom:#17607f;--brand-edge:#0d3d52;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="kieslect"]{--brand-top:#ff7a5d;--brand-bottom:#b52d18;--brand-edge:#741a0e;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="colmi"]{--brand-top:#728fff;--brand-bottom:#31459b;--brand-edge:#1d2961;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="kospet"]{--brand-top:#737983;--brand-bottom:#2c3036;--brand-edge:#17191d;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="havit"]{--brand-top:#ec5a5a;--brand-bottom:#a01313;--brand-edge:#650b0b;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="wiky"]{--brand-top:#49bfc7;--brand-bottom:#147078;--brand-edge:#0b484e;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="xplora"]{--brand-top:#ff7454;--brand-bottom:#b62e16;--brand-edge:#761b0c;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="jbl"]{--brand-top:#ff8d38;--brand-bottom:#e44b00;--brand-edge:#9c3000;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="anker"]{--brand-top:#53a5e5;--brand-bottom:#1d5e95;--brand-edge:#103d65;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="philips"]{--brand-top:#4d82d4;--brand-bottom:#173e82;--brand-edge:#0c2857;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="bose"]{--brand-top:#53565c;--brand-bottom:#17181b;--brand-edge:#070708;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="marshall"]{--brand-top:#8b7654;--brand-bottom:#3e3222;--brand-edge:#231b11;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="jvc"]{--brand-top:#e34b4b;--brand-bottom:#951010;--brand-edge:#5e0808;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="denon"]{--brand-top:#596375;--brand-bottom:#242a34;--brand-edge:#13171d;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="panasonic"]{--brand-top:#5379cc;--brand-bottom:#183c88;--brand-edge:#0b285e;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="yamaha"]{--brand-top:#7957b8;--brand-bottom:#35205f;--brand-edge:#1d1038;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="nintendo"]{--brand-top:#f15b62;--brand-bottom:#bd1520;--brand-edge:#7e0c13;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="microsoft"]{--brand-top:#5d94d6;--brand-bottom:#27568d;--brand-edge:#16375c;--brand-text:#ffffff;}
#brandGrid .brand-card[data-brand-theme="playstation"]{--brand-top:#416dcc;--brand-bottom:#12347d;--brand-edge:#081f51;--brand-text:#ffffff;}

/* Compact checkout and responsive cart, 20261019-4. */
#confirmDialog{width:min(600px,calc(100% - 24px));overflow:hidden;max-height:calc(100dvh - 24px)}
#confirmDialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);padding:0}
#confirmDialog .checkout-heading{position:relative;padding:20px 24px 8px;flex:none}
#confirmDialog .dialog-icon{display:none}#confirmDialog h2{font-size:21px;margin:0}
#confirmDialog .checkout-content{padding:0 24px;overflow:auto;min-height:0;overscroll-behavior:contain}
#confirmDialog .checkout-footer{padding:8px 24px 12px;flex:none;background:white;border-top:1px solid #e1e8f0}
#confirmDialog .dialog-actions{position:static;padding:0;margin:0}
#confirmDialog .form-error{margin:0 0 8px;max-height:80px;overflow:auto}
#confirmDialog .summary{padding:0 12px}#confirmDialog .summary span{padding:9px 0}
#confirmDialog .cart-confirmation-line{padding:8px 0;font-size:13px}
#confirmDialog .cart-confirmation-line p{margin:3px 0;color:#52637a}
#cartConfirmationItems{max-height:155px;overflow:auto;overscroll-behavior:contain}
#deliverySummary{padding-top:10px}#deliverySummary .delivery-choice{margin-bottom:8px}
#deliverySummary .delivery-choice select,#deliverySummary .delivery-choice input{padding:9px 10px;min-height:44px}
#deliverySummary .delivery-line{padding:7px 0}#deliverySummary .delivery-help{margin:6px 0}
#deliverySummary details{margin:3px 0}#deliverySummary summary{padding:7px 0}
.cart-bar{position:fixed;bottom:12px;left:12px;right:12px;margin:0;border-radius:12px;display:flex;flex-wrap:nowrap;padding:10px 12px;gap:10px}
.cart-bar #cartCount{font-size:13px;flex:1}.cart-bar #cartStatus{position:absolute;bottom:100%;left:0;background:#0d2948;border-radius:8px;padding:3px 8px;font-size:11px}.cart-bar #cartStatus:empty{display:none}
.cart-preview{display:none}.cart-bar #cartOpen{min-height:44px;padding:10px 14px;flex:none}
#appView.tta-cart-enabled{padding-bottom:100px}
@media(min-width:1500px){.cart-bar{left:auto;right:16px;bottom:20px;width:250px;display:grid;grid-template-columns:1fr;gap:10px}.cart-preview{display:grid;gap:7px;font-size:12px;max-height:170px;overflow:auto;overflow-wrap:anywhere}.cart-bar #cartStatus{position:static;padding:0}.cart-bar #cartOpen{width:100%}}
@media(max-width:600px){#confirmDialog .checkout-heading{padding:16px 16px 8px}#confirmDialog .checkout-content{padding:0 16px}#confirmDialog .checkout-footer{padding:8px 16px max(12px,env(safe-area-inset-bottom))}#confirmDialog h2{font-size:20px}#confirmDialog .delivery-grand-total{font-size:15px;flex-wrap:nowrap}#cartConfirmationItems{max-height:125px}.cart-bar span{flex-basis:auto;order:initial}.result-card .price small[data-try-price]{white-space:normal;font-size:11px}}
