/* Auto-generated palette overrides — maps theme literal colours to palette roles. */
html[data-palette="custom"] ::selection { color: var(--muted-2) !important; }
html[data-palette="custom"] .skip { color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent)) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-primary:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-outline { background: var(--bg) !important; }
html[data-palette="custom"] .btn-outline:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-ghost:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-light { background: var(--bg) !important; color: var(--text) !important; }
html[data-palette="custom"] .btn-light:hover { color: var(--accent-2) !important; background: var(--bg) !important; }
html[data-palette="custom"] .topbar { background: var(--line-2) !important; border-bottom: 1px solid var(--accent-2) !important; }
html[data-palette="custom"] .demo-bar { background: linear-gradient(90deg, var(--accent), var(--accent)) !important; border-bottom: 1px solid var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .masthead { background: var(--line-2) !important; }
html[data-palette="custom"] .cart-badge { color: var(--muted-2) !important; }
html[data-palette="custom"] .catnav { background: var(--line-2) !important; }
html[data-palette="custom"] .catnav-link:hover, html[data-palette="custom"] .catnav-all:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .catnav-cta { border: 1px solid var(--accent) !important; }
html[data-palette="custom"] .catnav-cta:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .menu-backdrop { background: var(--line-2) !important; }
html[data-palette="custom"] .flash-ok { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
html[data-palette="custom"] .flash-err { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .toast { background: var(--line-2) !important; }
html[data-palette="custom"] .toast.is-ok { border-color: var(--accent) !important; }
html[data-palette="custom"] .toast.is-err { border-color: var(--accent) !important; }
html[data-palette="custom"] .hero { background: var(--line-2) !important; }
html[data-palette="custom"] .hero-bg { background: radial-gradient(900px 520px at 78% 18%, var(--accent), transparent 65%),
    radial-gradient(700px 420px at 12% 8%, var(--accent), transparent 65%),
    linear-gradient(180deg, var(--line-2), var(--line-2)) !important; }
html[data-palette="custom"] .hero-copy h1 em { background: linear-gradient(100deg, var(--accent), var(--accent)) !important; }
html[data-palette="custom"] .pill { border: 1px solid var(--accent) !important; background: var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .hero-product { background: linear-gradient(160deg, var(--line-2), var(--line-2) 70%) !important; }
html[data-palette="custom"] .hero-product:hover { border-color: var(--accent) !important; }
html[data-palette="custom"] .hero-product img { background: radial-gradient(circle at 50% 45%, var(--line-2), var(--line-2) 70%) !important; }
html[data-palette="custom"] .hero-price strong { color: var(--muted-2) !important; }
html[data-palette="custom"] .hero-float { background: var(--line-2) !important; }
html[data-palette="custom"] .badge-cond { background: var(--accent) !important; color: var(--muted-2) !important; border-color: var(--accent) !important; }
html[data-palette="custom"] .badge-featured { background: var(--accent) !important; color: var(--muted-2) !important; border-color: var(--accent) !important; }
html[data-palette="custom"] .badge-ok { background: var(--accent) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
html[data-palette="custom"] .badge-low { background: var(--accent) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
html[data-palette="custom"] .badge-out { background: var(--accent) !important; color: var(--muted-2) !important; border-color: var(--accent) !important; }
html[data-palette="custom"] .trust-strip { background: var(--line-2) !important; }
html[data-palette="custom"] .category-tile::after { background: radial-gradient(circle, var(--accent), transparent 70%) !important; }
html[data-palette="custom"] .category-tile:hover { border-color: var(--accent) !important; }
html[data-palette="custom"] .product-card:hover { border-color: var(--accent) !important; }
html[data-palette="custom"] .product-image { background: radial-gradient(circle at 50% 45%, var(--line-2), var(--line-2) 72%) !important; }
html[data-palette="custom"] .product-specs li { background: var(--bg) !important; }
html[data-palette="custom"] .ai-banner { background: radial-gradient(600px 300px at 85% 25%, var(--accent), transparent 70%),
    linear-gradient(140deg, var(--line-2), var(--line-2) 70%) !important; }
html[data-palette="custom"] .check-list li { color: var(--muted-2) !important; }
html[data-palette="custom"] .ai-visual img { background: radial-gradient(circle, var(--line-2), var(--line-2) 70%) !important; }
html[data-palette="custom"] .ai-badge { background: var(--line-2) !important; border: 1px solid var(--accent) !important; }
html[data-palette="custom"] .brands-band { background: var(--line-2) !important; }
html[data-palette="custom"] .b2b-band { background: radial-gradient(500px 260px at 90% 20%, var(--bg), transparent 70%),
    linear-gradient(120deg, var(--accent), var(--accent) 55%, var(--accent)) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-band h2 { color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-band p { color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-band .eyebrow { color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-band .check-list .icon { color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-band .check-list li { color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-band .btn-light { color: var(--accent-2) !important; }
html[data-palette="custom"] .b2b-stat { background: var(--bg) !important; border: 1px solid var(--surface-3) !important; }
html[data-palette="custom"] .b2b-stat strong { color: var(--muted-2) !important; }
html[data-palette="custom"] .b2b-stat span { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-band { background: var(--line-2) !important; }
html[data-palette="custom"] .site-footer { background: var(--line-2) !important; }
html[data-palette="custom"] .page-head { background: linear-gradient(180deg, var(--line-2), var(--line-2)) !important; }
html[data-palette="custom"] .product-crumbs { background: var(--line-2) !important; }
html[data-palette="custom"] .gallery-main { background: radial-gradient(circle at 50% 45%, var(--line-2), var(--line-2) 72%) !important; }
html[data-palette="custom"] .save-tag { color: var(--muted-2) !important; }
html[data-palette="custom"] .spec-table th { background: var(--bg) !important; }
html[data-palette="custom"] .spec-table td { color: var(--muted-2) !important; }
html[data-palette="custom"] .description { color: var(--muted-2) !important; }
html[data-palette="custom"] .cart-thumb { background: radial-gradient(circle, var(--line-2), var(--line-2) 70%) !important; }
html[data-palette="custom"] .demo-pay-note { background: var(--accent) !important; border: 1px solid var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .order-hero.is-ok { border-color: var(--accent) !important; background: linear-gradient(120deg, var(--accent), var(--surface) 55%) !important; }
html[data-palette="custom"] .order-hero.is-fail { border-color: var(--accent) !important; background: linear-gradient(120deg, var(--accent), var(--surface) 55%) !important; }
html[data-palette="custom"] .is-ok .order-hero-icon { background: var(--accent) !important; }
html[data-palette="custom"] .is-fail .order-hero-icon { background: var(--accent) !important; }
html[data-palette="custom"] .order-card-head { background: var(--bg) !important; }
html[data-palette="custom"] .auth-aside { background: linear-gradient(150deg, var(--line-2), var(--line-2) 70%) !important; }
html[data-palette="custom"] .auth-aside-card { background: var(--accent) !important; border: 1px solid var(--accent) !important; }
html[data-palette="custom"] .order-row:hover { background: var(--bg) !important; }
html[data-palette="custom"] .status-pago { background: var(--accent) !important; color: var(--accent) !important; }
html[data-palette="custom"] .status-processamento { background: var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .status-enviado { background: var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .status-entregue { background: var(--accent) !important; color: var(--accent) !important; }
html[data-palette="custom"] .status-cancelado, html[data-palette="custom"] .status-falhado { background: var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-body { background: var(--line-2) !important; }
html[data-palette="custom"] .admin-side { background: var(--line-2) !important; }
html[data-palette="custom"] .admin-top { background: var(--line-2) !important; }
html[data-palette="custom"] .ico-blue { background: var(--accent) !important; }
html[data-palette="custom"] .ico-green { background: var(--accent) !important; }
html[data-palette="custom"] .ico-purple { background: var(--accent) !important; }
html[data-palette="custom"] .sync-ok { color: var(--accent) !important; }
html[data-palette="custom"] a.admin-tr:hover { background: var(--bg) !important; }
html[data-palette="custom"] .mini-product img { background: var(--line-2) !important; }
html[data-palette="custom"] .pill-filter.is-active { border-color: var(--accent) !important; }
html[data-palette="custom"] .ap-media img { background: var(--line-2) !important; }
html[data-palette="custom"] .switch input:checked + span { background: var(--accent) !important; }
html[data-palette="custom"] .search-suggest { background: var(--line-2) !important; }
html[data-palette="custom"] .ss-head { background: var(--bg) !important; }
html[data-palette="custom"] .ss-cat { border: 1px solid var(--accent) !important; }
html[data-palette="custom"] .ss-item img { background: var(--line-2) !important; }
html[data-palette="custom"] .ss-all { background: var(--bg) !important; }
html[data-palette="custom"] .mobile-buy-bar { background: var(--line-2) !important; }
html[data-palette="custom"][data-theme="light"] .topbar { background: var(--line-2) !important; color: var(--muted-2) !important; }
html[data-palette="custom"][data-theme="light"] .masthead { background: var(--bg) !important; }
html[data-palette="custom"][data-theme="light"] .catnav-cta:hover { color: var(--muted-2) !important; }
html[data-palette="custom"][data-theme="light"] .trust-strip, html[data-palette="custom"][data-theme="light"] .newsletter-band, html[data-palette="custom"][data-theme="light"] .site-footer { background: var(--line-2) !important; }
html[data-palette="custom"][data-theme="light"] .badge-cond { background: var(--bg) !important; color: var(--muted) !important; border-color: var(--surface-3) !important; }
html[data-palette="custom"][data-theme="light"] .badge-featured { color: var(--muted-2) !important; }
html[data-palette="custom"][data-theme="light"] .badge-ok { background: var(--line-2) !important; color: var(--text) !important; border-color: var(--accent-2) !important; }
html[data-palette="custom"][data-theme="light"] .badge-low { background: var(--accent) !important; color: var(--accent-2) !important; border-color: var(--accent) !important; }
html[data-palette="custom"][data-theme="light"] .badge-out { background: var(--accent) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
html[data-palette="custom"][data-theme="light"] .auth-aside { background: var(--line-2) !important; }
html[data-palette="custom"][data-theme="light"] .status-pago, html[data-palette="custom"][data-theme="light"] .status-entregue { background: var(--line-2) !important; color: var(--text) !important; }
html[data-palette="custom"][data-theme="light"] .status-processamento { background: var(--accent) !important; color: var(--accent-2) !important; }
html[data-palette="custom"][data-theme="light"] .status-enviado { background: var(--line-2) !important; color: var(--muted) !important; }
html[data-palette="custom"][data-theme="light"] .status-cancelado, html[data-palette="custom"][data-theme="light"] .status-falhado { background: var(--accent) !important; color: var(--accent) !important; }
html[data-palette="custom"][data-theme="light"] .admin-side { background: var(--line-2) !important; }
html[data-palette="custom"][data-theme="light"] .admin-top { background: var(--bg) !important; }
html[data-palette="custom"][data-theme="light"] .sync-ok { color: var(--text) !important; }
html[data-palette="custom"][data-theme="light"] .mobile-buy-bar { background: var(--bg) !important; }
html[data-palette="custom"] .btn-primary:hover { background: var(--accent-2) !important; }
html[data-palette="custom"] .btn-gold { color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-gold:hover { background: var(--accent-2) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .btn-outline-gold:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .topbar { color: var(--muted-2) !important; }
html[data-palette="custom"] .topbar-inner .icon { color: var(--accent) !important; }
html[data-palette="custom"] .hero-product::after { background: linear-gradient(180deg, transparent 55%, var(--line-2)) !important; }
html[data-palette="custom"] .hero-product-info { color: var(--muted-2) !important; }
html[data-palette="custom"] .hero-product-info .product-brand { color: var(--muted-2) !important; }
html[data-palette="custom"] .hero-price small { color: var(--muted-2) !important; }
html[data-palette="custom"] .hero-caption { color: var(--muted-2) !important; background: var(--line-2) !important; }
html[data-palette="custom"] .era-tile { color: var(--muted-2) !important; }
html[data-palette="custom"] .era-shade { background: linear-gradient(180deg, var(--line-2) 30%, var(--line-2)) !important; }
html[data-palette="custom"] .era-copy small { color: var(--muted-2) !important; }
html[data-palette="custom"] .badge-cond { border: 1px solid var(--surface-3) !important; }
html[data-palette="custom"] .card-featured { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-band { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-band .eyebrow { color: var(--accent) !important; }
html[data-palette="custom"] .newsletter-band h2 { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-band p { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-form { background: var(--bg) !important; border: 1px solid var(--surface-3) !important; }
html[data-palette="custom"] .newsletter-form input { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-form input::placeholder { color: var(--muted-2) !important; }
html[data-palette="custom"] .newsletter-form .icon { color: var(--accent) !important; }
html[data-palette="custom"] .site-footer { color: var(--muted-2) !important; }
html[data-palette="custom"] .site-footer h3 { color: var(--muted-2) !important; }
html[data-palette="custom"] .site-footer a, html[data-palette="custom"] .site-footer span { color: var(--muted-2) !important; }
html[data-palette="custom"] .site-footer a:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .footer-brand p { color: var(--muted-2) !important; }
html[data-palette="custom"] .footer-social a { border: 1px solid var(--surface-3) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .footer-social a:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
html[data-palette="custom"] .brand-footer { color: var(--muted-2) !important; }
html[data-palette="custom"] .brand-footer .wordmark em { color: var(--muted-2) !important; }
html[data-palette="custom"] .pay-chip { border: 1px solid var(--surface-3) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .footer-bottom { border-top: 1px solid var(--surface-3) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .auth-aside { color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-nav a { color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-nav a.is-active { background: var(--accent) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .site-footer .footer-grid > div > a, html[data-palette="custom"] .site-footer .footer-grid > div > span, html[data-palette="custom"] .site-footer .footer-grid small, html[data-palette="custom"] .site-footer .footer-grid p, html[data-palette="custom"] .site-footer .footer-brand p { color: var(--muted-2) !important; }
html[data-palette="custom"] .site-footer .footer-grid h3 { color: var(--muted-2) !important; }
html[data-palette="custom"] .site-footer .footer-grid a:hover { color: var(--muted-2) !important; }
html[data-palette="custom"] .auth-aside .check-list li { color: var(--muted-2) !important; }
html[data-palette="custom"] .breadcrumbs span { color: var(--muted) !important; }
html[data-palette="custom"][data-theme] .auth-aside .check-list li { color: var(--muted-2) !important; }
html[data-palette="custom"] .demo-bar em { color: var(--muted) !important; }
html[data-palette="custom"][data-theme] .auth-aside-card strong { color: var(--muted-2) !important; }
html[data-palette="custom"][data-theme] .auth-aside-card span { color: var(--muted-2) !important; }
html[data-palette="custom"] .demo-bar em, html[data-palette="custom"] .buy-trust em { color: var(--muted) !important; }
html[data-palette="custom"] .complaints-link { background: var(--bg) !important; color: var(--text) !important; border: 1px solid var(--accent-2) !important; }
html[data-palette="custom"] .complaints-link:hover, html[data-palette="custom"] .complaints-link:focus-visible { background: var(--bg) !important; color: var(--text) !important; }
html[data-palette="custom"] .cookie-consent { background: var(--line-2) !important; color: var(--muted-2) !important; border-top: 1px solid var(--surface-3) !important; }
html[data-palette="custom"] .cookie-consent p { color: var(--muted-2) !important; }
html[data-palette="custom"] .cookie-consent a { color: var(--muted-2) !important; }
html[data-palette="custom"] .cookie-btn { border: 1px solid var(--surface-3) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .cookie-btn:hover { background: var(--bg) !important; }
html[data-palette="custom"] .cookie-btn-primary { background: var(--bg) !important; color: var(--text) !important; border-color: var(--surface-3) !important; }
html[data-palette="custom"] .cookie-btn-primary:hover { background: var(--bg) !important; color: var(--text) !important; }
html[data-palette="custom"] .admin-login-body { background: var(--line-2) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-login-art { background: radial-gradient(700px 420px at 20% 10%, var(--accent), transparent 65%), var(--line-2) !important; border-right: 1px solid var(--accent-2) !important; }
html[data-palette="custom"] .admin-login-mark { color: var(--accent) !important; }
html[data-palette="custom"] .admin-login-art p { color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-login-note { color: var(--muted) !important; }
html[data-palette="custom"] .admin-login-panel { background: var(--line-2) !important; }
html[data-palette="custom"] .admin-login-card { background: var(--line-2) !important; border: 1px solid var(--accent-2) !important; }
html[data-palette="custom"] .admin-login-kicker { color: var(--accent) !important; }
html[data-palette="custom"] .admin-login-form label { color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-login-form input { background: var(--line-2) !important; border: 1px solid var(--accent-2) !important; color: var(--muted-2) !important; }
html[data-palette="custom"] .admin-login-form input:focus { border-color: var(--accent) !important; }
html[data-palette="custom"] .admin-login-form .btn { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--text) !important; }
html[data-palette="custom"] .admin-login-form .btn:hover { background: var(--accent) !important; border-color: var(--accent) !important; }
html[data-palette="custom"] .admin-login-error { background: var(--accent) !important; border: 1px solid var(--accent) !important; color: var(--accent) !important; }
html[data-palette="custom"] .admin-login-hint { color: var(--muted) !important; }
html[data-palette="custom"] .admin-login-art { border-bottom: 1px solid var(--accent-2) !important; }
html[data-palette="custom"] .cms-gallery img { background: var(--bg) !important; }
html[data-palette="custom"] .cms-modal::backdrop { background: var(--line-2) !important; }
html[data-palette="custom"] .cms-pick-row img { background: var(--bg) !important; }
html[data-palette="custom"] .hp-hero { color: var(--muted-2) !important; }
html[data-palette="custom"] .hp-hero::after { background: linear-gradient(90deg, var(--line-2), var(--line-2)) !important; }
html[data-palette="custom"] .hp-hero.is-center::after { background: var(--line-2) !important; }
html[data-palette="custom"] .hp-hero h1 { color: var(--muted-2) !important; }
html[data-palette="custom"] .hp-hero p { color: var(--muted-2) !important; }
html[data-palette="custom"] .hp-hero .hp-eyebrow { color: var(--accent) !important; }
html[data-palette="custom"] .hp-hero .btn-ghost { color: var(--muted-2) !important; border-color: var(--surface-3) !important; background: var(--bg) !important; }
html[data-palette="custom"] .hp-banner, html[data-palette="custom"] .hp-cta { color: var(--muted-2) !important; }
html[data-palette="custom"] .hp-banner h2, html[data-palette="custom"] .hp-cta h2 { color: var(--muted-2) !important; }
html[data-palette="custom"] .hp-banner p, html[data-palette="custom"] .hp-cta p { color: var(--muted-2) !important; }
html[data-palette="custom"] .hp-banner .btn-primary, html[data-palette="custom"] .hp-cta .btn-primary { background: var(--bg) !important; color: var(--text) !important; border-color: var(--surface-3) !important; }
html[data-palette="custom"] .hp-preview-badge { background: var(--line-2) !important; color: var(--accent) !important; }
html[data-palette="custom"] .he-canvas iframe { background: var(--bg) !important; }
html[data-palette="custom"] .he-toolbar .he-tab.is-active { color: var(--muted-2) !important; }
html[data-palette="custom"] .he-swatch { border: 1px solid var(--accent-2) !important; }
html[data-palette="custom"] .he-swatch.is-locked::after { color: var(--muted-2) !important; }
