/* Semantic colors apply only after an administrator explicitly saves a theme. */
body.atelier[data-custom-theme]{--ink:var(--theme-text);--muted:var(--theme-muted);--canvas:var(--theme-canvas);--surface:var(--theme-surface);--line:var(--theme-line);--blue:var(--theme-primary);--blue-dark:var(--theme-primary);--orange:var(--theme-accent);--green:var(--theme-success_text);--red:var(--theme-danger_text);color:var(--theme-text)!important;background:var(--theme-canvas)!important}
body[data-custom-theme] :is(h1,h2,h3,h4){color:inherit}
body[data-custom-theme] :is(.product-title-link,.product-body,.related-product-body,.product-detail-info,.cart-item strong,.cart-total,.tracking-total,.tracking-page-result h2,.faq summary,.trust-strip strong,.category-links strong,.home-path-grid strong,.local-service-card h3,.legal-content){color:var(--theme-text)!important}
body[data-custom-theme] :is(.page-hero>p:last-child,.section-heading p,.product-meta,.product-description,.product-detail-description,.product-detail-quickfacts span,.product-detail-help p,.product-detail-help small,.tracking-description,.tracking-updated,.cart-item small,#cart-summary,#cart-step,.cart-empty-content p,.service-grid p,.guide-grid p,.local-service-copy p,.local-service-copy li,.local-service-card p,.local-visit p,.local-nap address,.trust-strip span,.catalog-quick-hint,.legal-meta,.contact-card p,.contact-card span){color:var(--theme-muted)!important}
body[data-custom-theme] :is(.product-card,.product-body,.related-product-card,.product-detail-gallery,.product-detail-info,.filters,.tracking-form,.tracking-page-result,.contact-form,.contact-card,.category-links a,.home-path-grid a,.service-grid article,.guide-grid>div,.local-service-card,.local-visit,.legal-aside,.legal-content,dialog,.cart-panel,.cart-head,.filter-options){background:var(--theme-surface)!important;color:var(--theme-text);border-color:var(--theme-line)!important}
body[data-custom-theme] :is(.buying-guide,.service-preview,.product-detail-quickfacts>div,.product-detail-help,.legal-ack,.tracking-code-input button,.filter-chip,.filter-toggle,#quick-stock,.step-list li>b){background:var(--theme-soft)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] :is(.page-hero,.faq details,.cart-item,.cart-head,.cart-footer,.product-detail-quickfacts,.tracking-total,.tracking-item,.trust-strip,.trust-strip div,.local-nap,.catalog-return,.product-detail-main){border-color:var(--theme-line)!important}
body[data-custom-theme] :is(.product-media,.product-detail-main,.product-thumb,.cart-item-media){background:var(--theme-image)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] .product-monogram{background:var(--theme-soft)!important;color:var(--theme-muted)!important}
body[data-custom-theme] .product-monogram::after{color:var(--theme-muted)!important}
body[data-custom-theme] :is(.product-price,.product-detail-price,.related-product-body>strong,.cart-item-total){color:var(--theme-price)!important}
body[data-custom-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea,.catalog-entry form>div,.tracking-code-input){background:var(--theme-input)!important;color:var(--theme-input_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] input::placeholder,body[data-custom-theme] textarea::placeholder{color:var(--theme-input_text);opacity:.65}
body[data-custom-theme] :is(input[type=checkbox],input[type=radio]){accent-color:var(--theme-primary)!important}
body[data-custom-theme] :is(.checkout-form label,.filters label,.catalog-entry label,.tracking-code-field>label){color:var(--theme-text)!important}
body[data-custom-theme] :is(.primary,.add-button,.cart-button,.catalog-entry button,.mobile-nav-tools form>button,.tracking-steps li.current>span,.product-detail-help>span){background:var(--theme-primary)!important;border-color:var(--theme-primary)!important;color:var(--theme-primary_text)!important;box-shadow:none}
body[data-custom-theme] :is(.primary,.add-button,.cart-button):hover:not(:disabled){filter:brightness(1.1)}
body[data-custom-theme] :is(.secondary,.detail-button,.status-button,.menu-toggle,.local-secondary,.icon-button,.quantity button,.filter-sheet-head button,.mobile-nav-heading button,.product-image-zoom,.product-image-dialog>button){background:var(--theme-secondary)!important;color:var(--theme-secondary_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] :is(button:disabled,.add-button:disabled){background:var(--theme-unavailable)!important;color:var(--theme-unavailable_text)!important;border-color:var(--theme-line)!important;filter:none!important}
body[data-custom-theme] :is(.hero-primary,.cart-button b,.guide-grid>div b){background:var(--theme-accent)!important;color:var(--theme-accent_text)!important}
body[data-custom-theme] :is(.section-kicker,.local-number,.brand small){color:var(--theme-link)!important}
body[data-custom-theme] :is(.section-heading a,.service-grid a,.local-service-card strong,.local-nap a,.checkout-title button,.legal-content a,.legal-aside a,.catalog-return,.tracking-help,.tracking-help summary,.filter-reset){color:var(--theme-link)!important}
body[data-custom-theme] .site-header,body[data-custom-theme] .site-nav{background:var(--theme-header)!important;color:var(--theme-header_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] .site-nav a{color:var(--theme-header_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] .site-nav a:is(.active,:hover){background:var(--theme-soft)!important;color:var(--theme-text)!important;box-shadow:inset 0 -2px var(--theme-accent)!important}
body[data-custom-theme] .announcement{background:var(--theme-announcement)!important;color:var(--theme-announcement_text)!important}
body[data-custom-theme] .intro::before{background:linear-gradient(90deg,rgba(var(--theme-hero-rgb),.97),rgba(var(--theme-hero-rgb),.85) 35%,rgba(var(--theme-hero-rgb),.3) 70%,rgba(var(--theme-hero-rgb),.04))!important}
body[data-custom-theme] :is(.intro h1,#hero-subtitle,.hero-secondary,.api-status){color:var(--theme-hero_text)!important}
body[data-custom-theme] .api-status{background:var(--theme-hero)!important}
body[data-custom-theme] :is(.eyebrow,.info-band .section-kicker){color:var(--theme-accent)!important}
body[data-custom-theme] .info-band{background:var(--theme-band)!important;color:var(--theme-band_text)!important}
body[data-custom-theme] .info-band :is(h2,p){color:var(--theme-band_text)!important}
body[data-custom-theme] footer{background:var(--theme-footer)!important;color:var(--theme-footer_text)!important}
body[data-custom-theme] footer :is(a,button,p,span,strong){color:var(--theme-footer_text)!important}
body[data-custom-theme] .footer-bottom{border-color:var(--theme-line)!important}
body[data-custom-theme] :is(.notice,.legal-disclosure,#delivery-checkout-note){background:var(--theme-notice)!important;color:var(--theme-notice_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] :is(.notice.error,.checkout-error,.tracking-status[data-status=canceled]){background:var(--theme-danger)!important;color:var(--theme-danger_text)!important}
body[data-custom-theme] .tracking-status[data-status=canceled] strong{color:var(--theme-danger_text)!important}
body[data-custom-theme] :is(.order-success,.tracking-status:not([data-status=canceled]),.tracking-steps li.done>span){background:var(--theme-success)!important;color:var(--theme-success_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] .tracking-status:not([data-status=canceled]) strong{color:var(--theme-success_text)!important}
body[data-custom-theme] :is(.tracking-refresh-feedback,.cart-stock-warning){background:var(--theme-warning)!important;color:var(--theme-warning_text)!important}
body[data-custom-theme] :is(.has-shortage small,.remove-item){color:var(--theme-danger_text)!important}
body[data-custom-theme] :is(.card-stock-badge,.product-detail-stock,.related-stock){background:var(--theme-success)!important;color:var(--theme-success_text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] :is(.card-stock-badge,.product-detail-stock,.related-stock)[data-stock-level=last]{background:var(--theme-danger)!important;color:var(--theme-danger_text)!important}
body[data-custom-theme] :is(.card-stock-badge,.product-detail-stock,.related-stock)[data-stock-level=low]{background:var(--theme-warning)!important;color:var(--theme-warning_text)!important}
body[data-custom-theme] :is(.card-stock-badge,.product-detail-stock,.related-stock).out{background:var(--theme-unavailable)!important;color:var(--theme-unavailable_text)!important}
body[data-custom-theme] #quick-stock[aria-pressed=true]{background:var(--theme-primary)!important;color:var(--theme-primary_text)!important}
body[data-custom-theme] :is(a,button,input,select,textarea,summary):focus-visible{outline-color:var(--theme-focus)!important}
body[data-custom-theme] .tracking-code-input:focus-within{outline-color:var(--theme-focus)!important}
body[data-custom-theme] .toast{background:var(--theme-primary)!important;color:var(--theme-primary_text)!important}
body[data-custom-theme] :is(.cms-block-callout,.cms-block-cta){background:var(--theme-soft)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body[data-custom-theme] .cms-custom-content :is(p,li,figcaption){color:var(--theme-muted)!important}
@media(max-width:760px){body[data-custom-theme] .intro::before{background:linear-gradient(180deg,rgba(var(--theme-hero-rgb),.35),rgba(var(--theme-hero-rgb),.95))!important}}

body.atelier[data-custom-theme] :is(.stock-badge,.related-product-visual>b),body.atelier[data-custom-theme] .product-card-link>.card-stock-badge{background:var(--theme-success)!important;color:var(--theme-success_text)!important;border-color:var(--theme-line)!important}
body.atelier[data-custom-theme] :is(.stock-badge,.related-product-visual>b).stock-last,body.atelier[data-custom-theme] .product-card-link>.card-stock-badge.stock-last{background:var(--theme-danger)!important;color:var(--theme-danger_text)!important}
body.atelier[data-custom-theme] :is(.stock-badge,.related-product-visual>b).stock-low,body.atelier[data-custom-theme] .product-card-link>.card-stock-badge.stock-low{background:var(--theme-warning)!important;color:var(--theme-warning_text)!important}
body.atelier[data-custom-theme] :is(.stock-badge,.related-product-visual>b).out,body.atelier[data-custom-theme] .product-card-link>.card-stock-badge.out{background:var(--theme-unavailable)!important;color:var(--theme-unavailable_text)!important}
body[data-page=maintenance][data-custom-theme]{background:var(--theme-canvas)!important;color:var(--theme-text)!important}
body[data-page=maintenance][data-custom-theme] .card{background:var(--theme-surface)!important;border-color:var(--theme-line)!important}
body[data-page=maintenance][data-custom-theme] :is(#message,.foot){color:var(--theme-muted)!important}
body[data-page=maintenance][data-custom-theme] :is(.pill,#eta){background:var(--theme-soft)!important;color:var(--theme-text)!important}
body[data-page=maintenance][data-custom-theme] #maintenance-back{color:var(--theme-link)!important}
