/* Theme controls are the last normal-flow section, clear of the fixed help launcher. */
.theme-switcher{border-top:1px solid var(--line);padding:25px 0 100px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.theme-switcher h2{font-family:var(--display);font-size:18px;letter-spacing:-.04em;margin:0 0 5px}
.theme-switcher p{font-size:12px;color:var(--muted);margin:0}
.theme-options{display:flex;flex-wrap:wrap;gap:9px}
.theme-options button{display:flex;align-items:center;gap:9px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:11px 14px;font-size:12px;font-weight:700;min-height:44px}
.theme-options button[aria-pressed="true"]{border-color:var(--theme-accent);box-shadow:inset 0 0 0 1px var(--theme-accent);background:var(--theme-soft);color:var(--theme-deep)}
.theme-options button:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
.theme-swatch{width:21px;height:21px;border:1px solid #0002;border-radius:50%;background:linear-gradient(135deg,var(--swatch) 50%,white 50%);flex:none}
[data-theme-choice="green"]{--swatch:#176443}[data-theme-choice="red"]{--swatch:#b52c38}[data-theme-choice="mono"]{--swatch:#202020}
/* All palettes keep white surfaces. Existing layout, product data, and behavior stay shared. */
:root[data-theme="green"]{--theme-accent:#176443;--theme-deep:#125236;--theme-soft:#edf5ef;--line:#dfe8e1}
:root[data-theme="red"]{--theme-accent:#b52c38;--theme-deep:#97212c;--theme-soft:#fcf0f0;--line:#eedfdf}
:root[data-theme="mono"]{--theme-accent:#202020;--theme-deep:#101010;--theme-soft:#f1f1f1;--line:#e1e1e1}
/* The hero image fades into the white catalog across every palette. */
[data-theme] .market-hero{isolation:isolate;background:white}
[data-theme] .market-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-position:center;background-size:cover;background-repeat:no-repeat}
[data-theme] .market-hero::before{background-image:url("../assets/images/banners/market-hero-white.webp");-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 82%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 82%,transparent 100%)}
[data-theme] .announcement,[data-theme] .hero-main h1 mark,[data-theme] .hero-search button,[data-theme] .cart-trigger span,[data-theme] .filters button.active,[data-theme] .product-bottom button,[data-theme] .checkout-button,[data-theme] .seller-promo,[data-theme] .coach-widget-launcher{background:var(--theme-accent);color:white}
[data-theme] .filters button.active,[data-theme] .product-bottom button{border-color:var(--theme-accent)}
[data-theme] .header-help{color:var(--theme-deep);border-color:var(--theme-accent);background:#ffffffb3}
[data-theme] .header-help:hover,[data-theme] .hero-search button:hover,[data-theme] .product-bottom button:hover,[data-theme] .coach-widget-launcher:hover{background:var(--theme-deep);color:white}
[data-theme] .section-eyebrow,[data-theme] .product-brand,[data-theme] .answer-label,[data-theme] .welcome-icon,[data-theme] .prompt-chips span,[data-theme] .rec-arrow{color:var(--theme-deep)}
[data-theme] .category-rail button:hover,[data-theme] .category-rail button.active{color:var(--theme-deep);border-bottom-color:var(--theme-accent)}
[data-theme] .filters button:hover,[data-theme] .rec-card:hover,[data-theme] .chat-composer:focus-within{border-color:var(--theme-accent)}
[data-theme] .seller-promo .section-eyebrow{color:white}
[data-theme] .seller-promo p:last-child{color:#ffffffe0}
[data-theme] .seller-promo-link,[data-theme] .coach-widget-pulse{background:white;color:var(--theme-accent)}
[data-theme] .coach-widget-expand,[data-theme] .coach-widget-close{color:var(--theme-deep);background:var(--theme-soft)}


/* Match both the full Seller page and its live popup, without reinitializing chat.js. */
[data-theme] .chat-sidebar{background:var(--theme-accent);border-color:var(--theme-deep)}
[data-theme] .sidebar-intro,[data-theme] .sidebar-copy,[data-theme] .sidebar-label,[data-theme] .sidebar-bottom,[data-theme] .sidebar-bottom a{color:white}
[data-theme] .session-item{background:#ffffff1f}
[data-theme] .sidebar-bottom{border-color:#ffffff4d}
[data-theme] .new-conversation,[data-theme] .status-dot{background:white;color:var(--theme-deep)}
[data-theme] .new-conversation:hover,[data-theme] .prompt-chips button:hover{background:var(--theme-soft);border-color:var(--theme-accent)}
[data-theme] .seller-avatar,[data-theme] .message-avatar,[data-theme] .composer-bottom button,[data-theme] .message.user .message-bubble{background:var(--theme-accent);color:white;border-color:var(--theme-accent)}
[data-theme] .message:not(.user) .message-bubble,[data-theme] .rec-icon{background:var(--theme-soft)}
@media(max-width:650px){.theme-switcher{align-items:flex-start;flex-direction:column;gap:16px}.theme-options{gap:7px}.theme-options button{font-size:11px;padding:10px}.theme-swatch{width:18px;height:18px}[data-theme] .market-hero::before{background-image:url("../assets/images/banners/market-hero-mobile-white.webp");background-position:center bottom}}
