/* Store palettes are scoped to public pages. The editor keeps its readable defaults. */
.theme-store .store-header,.theme-store .product-card,.theme-store .card-media,.theme-store .detail-image,.theme-store .image-zoom,.theme-store .thumbnails button,.theme-store .option-chip,.theme-store .image-dialog,.theme-store .promo-panel,.theme-store .panel,.theme-store .mega-menu,.theme-store .pagination a{background:var(--surface);border-color:var(--line)}
.theme-store .topline,.theme-store .site-footer{background:var(--footer);border-color:var(--line)}
.theme-store .search,.theme-store .demo-label,.theme-store .card-cta,.theme-store .option-chip.unavailable{background:var(--soft);border-color:var(--line)}
.theme-store .card-cta{color:var(--ink)}
.theme-store input,.theme-store select,.theme-store textarea{color:var(--ink);background-color:var(--surface);border-color:var(--line)}
.theme-store .search input{background:transparent}
.theme-store .navigation-band,.theme-store .button:not(.secondary),.theme-store .option-chip.selected,.theme-store .category-tabs a.active,.theme-store .pagination a.active,.theme-store .search button,.theme-store .dialog-close{background:var(--primary);border-color:var(--primary);color:var(--on-primary,#fff)}
.theme-store .navigation-band nav>a,.theme-store .departments summary,.theme-store .category-tabs a.active:hover{color:var(--on-primary,#fff)}
.theme-store .button:not(.secondary):hover,.theme-store .search button:hover,.theme-store .card-cta:hover{background:var(--primary-hover);color:var(--on-primary,#fff);border-color:var(--primary-hover)}
.theme-store .button.secondary{color:var(--ink);background:transparent;border-color:var(--line)}
.theme-store .button.secondary:hover{background:var(--soft)}
.theme-store .card-cta{background:var(--soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
.theme-store .card-cta:hover{background:var(--primary)!important;color:var(--on-primary,#fff)!important;border-color:var(--primary)!important}
.theme-store :is(.topline,.hero-copy p,.hero-caption,.hero-footnote,.card-specs,.card-pricing small,.card-pricing del,.product-price del,.product-price>span,.notice-demo,.product-stock,.product-sku,.purchase-note,.product-highlights li,.zoom-label,.option-group legend,.spec-table dd,.prose,.footer-grid p,.footer-bottom,.breadcrumbs,.catalog-title p,.results-toolbar p,.results-toolbar label,.demo-label,.stock-dot,.category-tabs a){color:var(--muted)}
.theme-store .footer-grid>div>a:not(.brand),.theme-store .filter-group a{color:var(--muted)}
.theme-store .footer-grid a:hover,.theme-store .filter-group a:hover,.theme-store .hero-caption a,.theme-store .product-price .selection-label{color:var(--ink)}
.theme-store .header-actions b{background:var(--red);color:var(--on-red,#fff);box-shadow:0 0 0 2px var(--surface)}
.theme-store .favorite{background:var(--surface);color:var(--muted)}
.theme-store .favorite:hover,.theme-store .favorite[aria-pressed=true],.theme-store .offer{background:var(--red-soft);color:var(--red)}
.theme-store .stock-dot.empty,.theme-store .product-stock.empty,.theme-store .product-highlights li>span,.theme-store .nav-offers span{color:var(--red)}
.theme-store .navigation-band nav>a::after{background:var(--accent)}
.theme-store .stock-dot::before{background:var(--muted)}
.theme-store .stock-dot.empty::before{background:var(--red)}
.theme-store .accent-dot{background:var(--accent);box-shadow:none}
.theme-store :is(.store-hero,.service-row,.advice-strip,.product-price,.product-description,.product-secondary,.spec-table>div,.footer-bottom,.filters-details,.mega-nested){border-color:var(--line)}
.theme-store .product-card:hover{border-color:var(--primary)}
.theme-store .thumbnails button.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
.theme-store .option-chip.selected{color:var(--on-primary,#fff)}
.theme-store .hero-picture img,.theme-store .brand img{mix-blend-mode:var(--image-blend,multiply)}
/* Appearance controls */
.appearance-intro{max-width:800px;color:var(--muted);margin-bottom:25px}
.appearance-workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;align-items:start}
.appearance-form{padding:22px}.appearance-form fieldset{border:0;padding:0;margin:0 0 26px;min-width:0}.appearance-form legend{font-weight:700;font-size:15px;margin-bottom:15px;padding:0}
.theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-choices legend{grid-column:1/-1}
.theme-choice{position:relative;border:1px solid #dce1e8;border-radius:8px;padding:11px;cursor:pointer;margin:0}.theme-choice input{position:absolute;top:11px;right:10px;accent-color:#142440;width:15px;height:15px;margin:0}.theme-choice strong{display:block;font-size:12px;margin-top:9px}.theme-choice:has(input:checked){border-color:#142440;box-shadow:0 0 0 1px #142440;background:#f6f8fa}.theme-choice:focus-within{outline:2px solid #142440;outline-offset:3px}
.theme-swatches{display:flex;gap:4px;padding-right:25px}.theme-swatches i{height:19px;width:19px;border-radius:50%;border:1px solid #00000012}
.color-control{display:grid;grid-template-columns:minmax(0,1fr) 37px 84px;gap:8px;align-items:center;margin:0 0 11px}.color-control>span{font-size:12px}.color-control input[type=color]{width:37px;height:36px;padding:3px;border-radius:6px;margin:0;cursor:pointer}.color-control .color-hex{font:12px/1.4 monospace;padding:8px 6px;margin:0;width:84px;text-transform:uppercase}
.appearance-hint{font-size:12px;line-height:1.6;color:#657084}.appearance-sizes label{font-size:13px;margin:0 0 18px}.appearance-sizes output{float:right;font-weight:600;color:#142440}.appearance-sizes input{accent-color:#142440;width:100%;padding:0;margin-top:12px}
.appearance-form-actions{display:grid;gap:10px}.appearance-form-actions .button{width:100%;font-size:13px}.appearance-form-actions .text-button{font-size:12px;text-align:center;padding:6px}.appearance-form-actions [data-appearance-status]{font-size:11px;text-align:center;color:#657084;min-height:18px}
.appearance-preview{position:sticky;top:20px;min-width:0}.appearance-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.appearance-preview-heading h2{margin:0;font-size:23px}.appearance-preview-heading p{font-size:12px;color:#657084;margin:4px 0}.preview-width-controls{display:flex;gap:5px}.preview-width-controls .button{font-size:11px;padding:8px}.preview-width-controls [aria-pressed=true]{background:#142440;color:white;border-color:#142440}
.appearance-preview-frame{border:1px solid #dfe3e9;background:#e9edf2;border-radius:10px;padding:8px;display:flex;justify-content:center;overflow:hidden}.appearance-preview-frame iframe{display:block;border:0;background:white;width:100%;height:800px;border-radius:5px;transition:width .2s}.appearance-preview-frame.mobile iframe{width:390px;max-width:100%}
.product-tools{justify-content:flex-end}.delete-link{color:#b62135}.button.secondary.delete-link{color:#b62135;border-color:#e6b8c0}.delete-panel{max-width:750px;border-left:3px solid #b62135}.button.danger{background:#b62135;border-color:#b62135;color:white}.button.danger:hover{background:#961b2c}.delete-panel h2{overflow-wrap:anywhere}
/* Printed quotations keep their document typography and surfaces. */
.quote-document{--font-scale:1;--heading-scale:1;--ink:#142440;--muted:#657084;--paper:#fff;--surface:#fff;--line:#e1e4e9;color:#142440;background:white!important}
.offline-appearance{margin:0;background:#fff;color:#142440;border-bottom:1px solid #dce1e8;padding:13px 24px;--font-scale:1;--heading-scale:1;--primary:#142440;--ink:#142440;--muted:#657084;--paper:#fff;--surface:#fff;--line:#e1e4e9;--on-primary:#fff}.offline-appearance>summary{font:600 14px Arial,sans-serif;cursor:pointer}.offline-appearance .appearance-form{margin:14px auto 0;max-width:1120px;padding:0;display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:transparent!important;border:0;box-shadow:none}.offline-appearance .appearance-form label{font-size:12px;margin:0}.offline-appearance .appearance-form input[type=color]{height:35px;padding:2px}.offline-appearance .appearance-form select{font-size:13px}.offline-appearance .appearance-form>p{font-size:12px;flex-basis:100%;margin:0;color:#657084}
@media(max-width:1100px){.appearance-workspace{grid-template-columns:320px minmax(0,1fr);gap:18px}.appearance-form{padding:17px}.appearance-preview-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:850px){.appearance-workspace{grid-template-columns:1fr}.appearance-preview{position:static}.appearance-form{max-width:none}.appearance-colors{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.appearance-colors legend{grid-column:1/-1}.appearance-preview-heading{flex-direction:row}.appearance-preview-frame iframe{height:700px}}
@media(max-width:620px){.appearance-colors{grid-template-columns:1fr}.appearance-preview-heading{flex-direction:column}.appearance-preview-frame{padding:4px}.product-tools{justify-content:flex-start}.delete-panel .button{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.appearance-preview-frame iframe{transition:none}}
