/* Product surfaces only: semantic theme tokens, no layout or data changes. */
:root{--ept-product-ink:#102B46;--ept-product-muted:#526475;--ept-product-surface:#fff;--ept-product-icon:#27689c;--ept-product-label:#22649b;--ept-card-price:linear-gradient(130deg,#edf7ff 0%,#e2f1ff 62%,#d8edff 100%);--ept-card-finance:linear-gradient(140deg,#f7fbff,#e4f2ff);--ept-card-monthly:linear-gradient(135deg,#f4fffb,#e4f8f0);--ept-detail-price:linear-gradient(135deg,#f4fcf7,#e9f9f1);--ept-chat-bg:linear-gradient(135deg,#eff8ff,#dbedff);--ept-chat-ink:#226aa7;--ept-loan-bg:linear-gradient(135deg,#e2f8e9,#c2ead5);--ept-loan-ink:#12623f;--ept-spec-color-bg:var(--spec-bg,#f5f6f7)}
html[data-theme="dark"]{--ept-product-ink:#F1F5F9;--ept-product-muted:#CBD5E1;--ept-product-surface:#0b2748;--ept-product-icon:#b9dbff;--ept-product-label:#CBD5E1;--ept-card-price:linear-gradient(130deg,#123a63,#0b2748);--ept-card-finance:linear-gradient(140deg,#123a63,#0b2748);--ept-card-monthly:linear-gradient(135deg,#123a63,#073e36);--ept-detail-price:linear-gradient(135deg,#123a63,#073e36);--ept-chat-bg:linear-gradient(135deg,#123a63,#0b2748);--ept-chat-ink:#F1F5F9;--ept-loan-bg:linear-gradient(135deg,#006c3b,#073e36);--ept-loan-ink:#F1F5F9}
/* ID-scoped selectors intentionally beat older !important catalog rules. */
body.catalog-grid-view #productGrid .product-info h3,body.catalog-grid-view #productGrid .price-panel .price,body.catalog-grid-view #productGrid .price-panel .catalog-finance-cell strong{color:var(--ept-product-ink)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .product-card,body.catalog-grid-view #productGrid .product-info,body.catalog-grid-view #productGrid .product-media{background:var(--ept-product-surface)!important}
body.catalog-grid-view #productGrid .price-panel{background:var(--ept-card-price)!important}
body.catalog-grid-view #productGrid .price-panel .catalog-finance-cell{background:var(--ept-card-finance)!important}
body.catalog-grid-view #productGrid .price-panel .catalog-finance-cell:last-child{background:var(--ept-card-monthly)!important}
body.catalog-grid-view #productGrid .price-panel .catalog-price-label{color:var(--ept-product-label)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .price-panel .catalog-finance-cell small{color:var(--ept-product-muted)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .catalog-finance-cell>svg{color:var(--ept-product-icon)!important}
body.catalog-grid-view #productGrid .product-actions .catalog-chat{background:var(--ept-chat-bg)!important;color:var(--ept-chat-ink)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .product-actions .buy-cash{background:var(--ept-product-surface)!important;color:var(--ept-product-ink)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .product-actions .buy-loan{background:var(--ept-loan-bg)!important;color:var(--ept-loan-ink)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .product-actions .button span,body.catalog-grid-view #productGrid .product-actions .button svg{color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view #productGrid .product-gallery-nav{background:var(--ept-product-surface)!important;color:var(--ept-product-ink)!important;-webkit-text-fill-color:currentColor!important}
body.catalog-grid-view :is(#catalogTitle,.catalog-footer p,.empty-state h3){color:var(--ept-product-ink)!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"] body.catalog-grid-view :is(.catalog-eyebrow,.catalog-footer,.empty-state p){color:var(--ept-product-muted)!important;-webkit-text-fill-color:currentColor!important}
/* Keep the original night canvas, including its existing brand-colored glows. */
html[data-theme="dark"] body[data-page="product"]{background:radial-gradient(ellipse at 0 0,#00884945,transparent 45%),radial-gradient(ellipse at 100% 35%,#123a6370,transparent 50%),#071b2e}
body[data-page="product"] #productDetail .detail-copy h1,body[data-page="product"] #productDetail :is(.ep-cash,.ep-cash strong,.ep-finance-value,.ep-finance-value strong,.ep-spec-content strong,.ep-fact-copy strong,.flaws h2),body[data-page="product"] .back-link{color:var(--ept-product-ink)!important;-webkit-text-fill-color:currentColor!important}
body[data-page="product"] #productDetail :is(.ep-price-label,.ep-cash small,.ep-finance-content>small,.ep-finance-value small,.ep-spec-content small,.ep-fact-copy small,.detail-note){color:var(--ept-product-muted)!important;-webkit-text-fill-color:currentColor!important}
body[data-page="product"] #productDetail .detail-price.ep-price{background:var(--ept-detail-price);color:var(--ept-product-ink)}
body[data-page="product"] #productDetail :is(.ep-finance-cell,.ep-spec-card,.ep-fact){background:var(--ept-product-surface)}
body[data-page="product"] #productDetail .ep-spec-color{background:var(--spec-bg,#f5f6f7)}
html[data-theme="dark"] body[data-page="product"] #productDetail .ep-spec-color{background:color-mix(in srgb,#0b2748 92%,var(--spec-bg,#f5f6f7) 8%)}
body[data-page="product"] .ep-header-tool{color:var(--ept-product-ink);-webkit-text-fill-color:currentColor}
body[data-page="product"] .ep-header-tool span{color:inherit;-webkit-text-fill-color:currentColor}
html[data-theme="dark"] body[data-page="product"] #productDetail :is(.ep-price-icon,.ep-spec-icon,.ep-fact-icon){background:#123a63;color:var(--ept-product-icon)}
html[data-theme="dark"] body[data-page="product"] #productDetail :is(.ep-finance-cell:not(.ep-monthly) .ep-price-icon,.ep-fact-warranty .ep-fact-icon){color:#fcd34d}
html[data-theme="dark"] body[data-page="product"] #productDetail .detail-gallery{background:linear-gradient(145deg,#123a63,#0b2748)}
html[data-theme="dark"] body[data-page="product"] #productDetail .ep-action-chat{--action-from:#382953;--action-to:#493666;--action-ink:var(--ept-product-ink)}
html[data-theme="dark"] body[data-page="product"] #productDetail .ep-action-cash{--action-from:#4c273a;--action-to:#69334b;--action-ink:var(--ept-product-ink)}
html[data-theme="dark"] body[data-page="product"] #productDetail .ep-action-loan{--action-from:#073e36;--action-to:#006c3b;--action-ink:var(--ept-product-ink)}
body[data-page="product"] #productDetail .detail-actions .button :is(span,svg){color:inherit;-webkit-text-fill-color:currentColor}
html[data-theme="dark"] body[data-page="product"] .ep-header-notice{background:#0b2748;color:var(--ept-product-ink);-webkit-text-fill-color:currentColor}
body[data-page="product"] #productDetail .detail-actions .button:focus-visible,body.catalog-grid-view #productGrid .button:focus-visible{outline-color:var(--ept-product-ink)}
html[data-theme="dark"] body[data-page="product"] #productDetail :is(.detail-loading,.detail-error){color:var(--ept-product-ink)}
/* Keep action hues, deepen only the two light-mode labels that missed 4.5:1. */
body[data-page="product"] #productDetail .ep-action-cash{--action-ink:#9b2e5b}
body[data-page="product"] #productDetail .ep-action-loan{--action-ink:#12623f}
body[data-page="product"] #productDetail :is(.ep-finance-cell:not(.ep-monthly) .ep-price-icon,.ep-fact-warranty .ep-fact-icon){color:#986d00}
body[data-page="product"] #productDetail .ep-fact-battery .ep-fact-icon{color:#128057}
body[data-page="product"] #productDetail .ep-fact-repair .ep-fact-icon{color:#b54f45}
:is(body.catalog-grid-view,body[data-page="product"]) .site-header .header-account :is(.account-login,.account-login>span,.account-login>svg,.account-cart,.account-cart>svg){color:var(--ept-product-ink)!important;-webkit-text-fill-color:currentColor!important}
html:not([data-theme="dark"]) body[data-page="product"] #productDetail .ep-spec-storage .ep-spec-icon{color:#128057}
html:not([data-theme="dark"]) body[data-page="product"] #productDetail .ep-monthly .ep-price-icon{color:#167bb3}
/* Status/type/genuine-box badges, swatches, photographs and layout are untouched. */
