/* Shared storefront / brand presentation palette controls. */
:root{--bt-on-accent:#fff;--bt-on-muted:#ddd6ff;--bt-on-line:#7963ff;--bt-control-bg:#5e42ff;--bt-logo-filter:none;--bt-accent-ink:#3d21d7;--bt-accent-hover:#3d21d7;--bt-tint:#eeebff;--bt-dark:#191525;--bt-dark-glow:#33306d;--bt-section-tint:#eeebf8}
/* A non-modal palette chooser keeps the storefront visible while comparing colors. */
.theme-switcher{position:fixed;right:24px;bottom:25px;z-index:45;font-size:14px;line-height:1.5}
.theme-trigger{display:flex;align-items:center;gap:11px;min-height:50px;padding:10px 15px 10px 12px;border:1px solid var(--line-strong);border-radius:13px;background:var(--surface);color:var(--ink);box-shadow:0 5px 25px var(--shadow-medium);font-weight:600}
.theme-trigger:hover{background:var(--soft)}.theme-trigger>svg{width:16px;height:16px;stroke:var(--accent-ink);stroke-width:1.8;fill:none;transition:transform .2s}.theme-trigger[aria-expanded=true]>svg{transform:rotate(90deg)}
.theme-trigger-mark{display:grid;grid-template-columns:repeat(2,9px);gap:3px;transform:rotate(-9deg);padding:3px}.theme-trigger-mark>i{width:9px;height:9px;border-radius:3px;background:var(--accent)}.theme-trigger-mark>i:nth-child(2){background:var(--lime)}.theme-trigger-mark>i:nth-child(3){background:var(--dark)}.theme-trigger-mark>i:nth-child(4){background:var(--tint-strong)}
.theme-panel{position:absolute;right:0;bottom:calc(100% + 12px);width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 115px);overflow:auto;overscroll-behavior:contain;padding:23px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 15px 55px var(--shadow-deep);color:var(--ink)}
.theme-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.theme-panel-kicker{display:block;color:var(--accent-ink);font-size:12px;letter-spacing:1.25px;font-weight:650;margin-bottom:5px}.theme-panel h2{font-size:22px;font-weight:650;line-height:1.35;letter-spacing:-.5px}.theme-close{width:35px;height:35px;display:grid;place-items:center;flex:none;border-radius:50%;color:var(--muted);background:var(--soft)}.theme-close:hover{background:var(--tint)}.theme-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none}.theme-panel-intro{font-size:14px;color:var(--muted);margin:10px 0 19px}
.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;border:0;min-width:0}.theme-option{position:relative;display:block;cursor:pointer;min-width:0}.theme-option>input{position:absolute;left:12px;top:12px;width:1px;height:1px;margin:0;opacity:0}.theme-option-content{display:flex;flex-direction:column;position:relative;gap:10px;padding:12px 11px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);height:100%}.theme-option:hover .theme-option-content{border-color:var(--line-strong);background:var(--soft)}.theme-option>input:checked+.theme-option-content{border-color:var(--accent);background:var(--tint);box-shadow:0 0 0 1px var(--accent)}.theme-option>input:focus-visible+.theme-option-content{outline:2px solid var(--accent-ink);outline-offset:4px}.theme-option-name{font-size:14px;line-height:1.4;font-weight:500}.theme-preview{display:flex;width:73px;height:17px;border-radius:5px;overflow:hidden;box-shadow:0 0 0 1px #00000008}.theme-preview>i:first-child{background:var(--swatch);flex:2}.theme-preview>i:nth-child(2){background:var(--swatch-dark);flex:1}.theme-preview>i:nth-child(3){background:var(--swatch-light);flex:1}.theme-option-check{display:none;position:absolute;right:9px;top:11px;width:18px;height:18px;border-radius:50%;background:var(--accent);color:var(--on-accent);align-items:center;justify-content:center}.theme-option-check>svg{width:13px;height:13px;stroke:currentColor;stroke-width:2;fill:none}.theme-option>input:checked+.theme-option-content .theme-option-check{display:flex}
.theme-panel-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px;padding-top:14px;font-size:12px;color:var(--muted)}.theme-panel-footer strong{font-weight:550;color:var(--ink)}.theme-reset{color:var(--accent-ink);font-size:14px;min-height:36px;padding:4px}.theme-reset:hover{text-decoration:underline}.theme-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:640px){.theme-switcher{right:16px;bottom:calc(79px + env(safe-area-inset-bottom,0px))}.theme-trigger{min-height:45px;gap:8px;padding:8px 11px;font-size:14px;border-radius:11px}.theme-panel{max-height:calc(100dvh - 160px - env(safe-area-inset-bottom,0px));padding:20px;border-radius:16px}.theme-panel h2{font-size:21px}.theme-options{gap:9px}.theme-option-content{padding:11px 10px 9px}.theme-option-name{font-size:14px}.theme-panel-intro{margin-bottom:16px}.theme-panel-footer{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.theme-trigger>svg{transition:none}}

.theme-switcher button{font-family:inherit}.theme-close,.theme-reset{border:0}.theme-reset{background:transparent}.theme-panel[hidden]{display:none!important}.theme-switcher :focus-visible{outline-color:var(--accent-ink)}
.bt-store .bg-brand{background-color:var(--bt-accent);color:var(--bt-on-accent)}
.bt-store .text-brand,.bt-store .hover\:text-brand:hover{color:var(--bt-accent-ink)}
.bt-store .bg-brandlt{background:var(--bt-tint)}.bt-store .bg-ink{background:var(--bt-dark)}
.bt-store .hover\:bg-branddk:hover{background:var(--bt-accent-hover)}
.bt-store [class~="bg-brand/10"]{background:var(--bt-tint)}
.bt-store .bt-logo{background:transparent;border-radius:0;padding:0}
.bt-store .bt-logo img{filter:var(--bt-logo-filter);object-fit:contain}
.bt-store .bt-utility,.bt-store header.bt-header,.bt-store .bt-header>nav>div>a,.bt-store .bt-hero-main,.bt-store .bt-hero-side,.bt-store .bt-footer{color:var(--bt-on-accent)}
.bt-store .bt-utility .text-brand,.bt-store .bt-header .bt-header-actions :is(.text-mute,.text-graphite,.text-brand),.bt-store .bt-header [data-drawer=menu],.bt-store .bt-header [data-drawer=catalog],.bt-store .bt-header [data-mega-trigger],.bt-store .bt-header [data-search-toggle],.bt-store .bt-header [data-search-wrap] input,.bt-store .bt-header [data-search-wrap] button{color:var(--bt-on-accent)}
.bt-store .bt-utility .text-mute,.bt-store .bt-header [data-search-wrap] input::placeholder,.bt-store .bt-hero-copy p,.bt-store .bt-hero-main .bt-eyebrow,.bt-store .bt-hero-side .bt-eyebrow,.bt-store .bt-hero-bottom,.bt-store .bt-footer-bottom{color:var(--bt-on-muted)}
.bt-store .bt-header [data-search-wrap] form,.bt-store .bt-header [data-search-wrap] button,.bt-store .bt-header .bt-header-actions>a[href='/cart'],.bt-store .bt-hero-main,.bt-store .bt-hero-side{background:var(--bt-control-bg)}
.bt-store .bt-header .bt-header-actions>a,.bt-store .bt-header>nav>div>a,.bt-store .bt-header [data-mega-trigger],.bt-store .bt-header [data-drawer=catalog],.bt-store .bt-outline-link,.bt-store .bt-footer-bottom{border-color:var(--bt-on-line)}
.bt-store .bt-button:not(.bt-button-white){color:var(--bt-on-accent)}.bt-store .bt-button:not(.bt-button-white):hover{background:var(--bt-accent-hover)}
.bt-store .bt-footer h3,.bt-store .bt-footer a:hover{color:var(--bt-on-accent)}
.bt-store .bt-video-band{background:radial-gradient(ellipse at 88% 0,var(--bt-dark-glow) 0,transparent 50%),var(--bt-dark)}
.bt-store .bt-tasks-band,.bt-store .bt-info-nav a[aria-current=page]{background:var(--bt-section-tint)}
.bt-store :focus-visible{outline-color:var(--bt-accent-ink)}
/* The mark sits directly on the selected background; its counter stays open. */
.brand-gallery .topbar{background:var(--accent);color:var(--on-accent);border-color:var(--bt-on-line)}
.brand-gallery .topbar nav a,.brand-gallery .store-link{color:var(--bt-on-muted)}
.brand-gallery .topbar nav a:hover,.brand-gallery .topbar nav a[aria-current=page]{background:var(--bt-control-bg);color:var(--on-accent)}
.brand-gallery .approved-wordmark img{object-fit:contain;transform:none;filter:var(--bt-logo-filter)}
.brand-gallery .store-link{border-color:var(--bt-on-line)}.brand-gallery .takeaway{background:var(--dark)}
.brand-color-section{padding-top:40px}.brand-color-section .section-head{margin-bottom:24px}
.brand-color-previews{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}
.brand-color-tile{border:0;border-radius:14px;padding:34px;min-height:220px;display:flex;align-items:center;justify-content:center;position:relative;background:var(--accent);color:var(--on-accent);cursor:zoom-in;width:100%}
.brand-color-tile img{width:100%;height:130px;object-fit:contain;filter:var(--bt-logo-filter)}
.brand-color-tile span{position:absolute;left:22px;top:16px;font-size:12px}
.brand-color-tile.is-silver{background:var(--dark);color:#fff}.brand-color-tile.is-silver img{filter:none}
.brand-color-generated{max-width:1050px;margin-inline:auto}.brand-color-generated img{aspect-ratio:3/2;object-fit:contain}
@media(max-width:700px){.brand-color-previews{grid-template-columns:1fr;gap:14px}.brand-color-tile{min-height:175px;padding:25px}.brand-color-tile img{height:110px}.brand-gallery .theme-switcher{bottom:20px}.brand-gallery .theme-panel{max-height:calc(100dvh - 120px)}}
@media print{.theme-switcher{display:none!important}}

.brand-gallery .lightbox-head{background:var(--surface);color:var(--ink)}
