/* Tema compartido: las imágenes y la identidad de marca conservan sus colores. */
.theme-toggle{display:inline-grid!important;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:6px!important;border:1px solid #dfe5ef!important;border-radius:50%!important;background:#f5f7fc!important;color:#34405a!important;cursor:pointer;line-height:1}
.theme-toggle svg{display:block;width:20px;height:20px}
.theme-toggle:focus-visible{outline:2px solid #537cff;outline-offset:3px}
header.has-theme-toggle{position:relative}
.checkout-brand.has-theme-toggle .theme-toggle{position:absolute;right:max(18px,calc((100% - 1080px)/2));top:50%;transform:translateY(-50%)}
.theme-toggle-floating{position:fixed;right:18px;bottom:18px;z-index:60}
@media(max-width:650px){header nav #theme-toggle{margin-left:auto}.header nav{justify-content:flex-start}}
html[data-theme=dark],html[data-theme=dark] body{color-scheme:dark;--ink:#e5ecf8;--muted:#a4b0c4;--paper:#0e1523;--soft:#182237;--line:#2b3850;--green:#a2b9ff;--sage:#233653;--sand:#3c3022;--brand-blue:#8faaff;--brand-blue-soft:#1d2d4d;--blue:#8faaff;--admin-blue:#6486ff;--admin-ink:#e5ecf8;--admin-line:#2b3850;background:#0e1523;color:#e5ecf8}
html[data-theme=dark] :is(h1,h2,h3,h4,legend,label){color:#e5ecf8}
html[data-theme=dark] :is(.header,.checkout-brand,.account-header,.support-footer,.footer){background:#0e1523;border-color:#2b3850;color:#a4b0c4}
html[data-theme=dark] header{color:#e5ecf8}
html[data-theme=dark] :is(.trivex-logo,.checkout-brand img,.account-header img,.admin-brand){background:white;border-radius:6px;padding:5px;box-sizing:content-box;max-width:calc(100% - 10px)}
html[data-theme=dark] .theme-toggle{background:#202c43!important;border-color:#3b4b69!important;color:#dce6ff!important}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#121c2d!important;color:#e5ecf8!important;border-color:#35445f!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#91a0b9;opacity:1}
html[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:#e5ecf8!important;box-shadow:0 0 0 1000px #121c2d inset!important}
html[data-theme=dark] :is(.header-search,.search-form,.search-box,.catalog-search-row,.search-suggestions,.header-search-results){background:#162137;border-color:#35445f;color:#e5ecf8}
html[data-theme=dark] :is(.header-search button,.header-icon){color:#e5ecf8;background:transparent}
html[data-theme=dark] :is(.button,.favorites-cta,button[type=submit],#profile-save,#account-submit,#profile-password-save,#pay,#download-receipt){background:#345bff!important;color:#fff!important;border-color:#345bff!important}
html[data-theme=dark] :is(.cart-secondary,#refresh,.secondary,#logout,.profile-back){background:#202d46!important;color:#d5e0f5!important;border-color:#35445f!important}
html[data-theme=dark] :is(.cart-items,.order-box,.cart-item,.purchase-card,.product-card,.recovery,.result,.faq,.help-contact,.support-card,.support-hero,.application-form,.interest-card,.admin-section,.order-card,.sales-card,.admin-card,.product-editor,.product-list-item,.stock-panel,.product-info){background:#141f32!important;border-color:#2b3850!important;color:#e5ecf8}
html[data-theme=dark] #account-dialog{background:#141f32;color:#e5ecf8;border-color:#34445e}
html[data-theme=dark] #account-dialog :is(.account-member-profile,.account-favorites-link,.account-admin-link,.account-tabs button,.account-tabs,.account-close){background:#1b2941;border-color:#34445e;color:#dce6ff}
html[data-theme=dark] #account-dialog :is(.account-member-profile:hover,.account-favorites-link:hover,.account-admin-link:hover,.account-tabs button[aria-pressed=true]){background:#26395c;border-color:#688aff}
html[data-theme=dark] #account-dialog :is(#account-subtitle,#account-email-display,.account-security-note,.account-recovery-link,#profile-message){color:#aebcd5}
html[data-theme=dark] #account-dialog .account-intro-icon{background:#22375b;color:#a8bdff}
html[data-theme=dark] #account-dialog::backdrop{background:#030712b3}
html[data-theme=dark] :is(.muted,.product-category,.product-description,.cart-item-info>p,.purchase-more-products,.recovery p,.admin-section p){color:#a4b0c4}
html[data-theme=dark] :is(.card-favorite,.favorite,.quantity button,.purchase-remove,.purchase-navigation>button){background:#22314a;border-color:#3c4e6d;color:#dce6ff}
html[data-theme=dark] :is(.purchase-state,.badge,.cart-items-heading>span,#favorites-page-count){background:#213754;color:#bdd1ff}
html[data-theme=dark] #purchases-list article.purchase-card{background:#141f32;border-color:#34445e}
html[data-theme=dark] #purchases-list :is(.purchase-detail,.purchase-card-header h3){background:#18263e;color:#b4c7ec;border-color:#34445e}
html[data-theme=dark] :is(.purchase-photo,.payment-product img,.product-image){background:#fff;border-radius:10px}
html[data-theme=dark] .cart-purchases{border-color:#34445e}
html[data-theme=dark] .payment-page .payment-delivery{background:#1c2940;border-color:#34445e}
html[data-theme=dark] .payment-page :is(#status,#reference,#order-date,#order-delivery,#order-customer,.payment-product span){color:#aebbd2}
html[data-theme=dark] .payment-page .payment-state-icon{background:#243859;color:#a9c1ff}
html[data-theme=dark] .payment-page :is(.payment-details-grid,.payment-product){border-color:#34445e}
html[data-theme=dark] :is(.delivery-address-choices,.admin-tip,.sales-summary,.account-terms,.favorites-empty){background:#1b2c49!important;color:#c0d0f2!important;border-color:#354b70!important}
html[data-theme=dark] :is(.admin-nav,.admin-sidebar,table,th,td,#login){background:#141f32;border-color:#34445e;color:#e5ecf8}
html[data-theme=dark] :is(.admin-nav button,.admin-subnav button){color:#b5c5e0}
html[data-theme=dark] :is(.category-flyout,.category-submenu,.search-results,.search-result,.search-result:hover){background:#19263e!important;color:#e5ecf8!important;border-color:#35445f!important}
html[data-theme=dark] #inicio :is(.home-category,.home-services a){background:#19263e;border-color:#35445f;color:#e5ecf8}
html[data-theme=dark] #inicio .home-category img{background:#fff}
html[data-theme=dark] #inicio :is(.home-hero,.home-printing){background:#142039}
html[data-theme=dark] #inicio :is(.home-hero .hero-copy,.home-printing>div){z-index:2}
html[data-theme=dark] #inicio :is(.home-hero p,.home-printing p){color:#c4cfe5}
html[data-theme=dark] #inicio .home-printing img{z-index:0}
html[data-theme=dark] #inicio :is(.home-hero,.home-printing)::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#142039 0%,#142039ed 33%,#14203966 59%,transparent 83%)}
@media(max-width:650px){html[data-theme=dark] #inicio :is(.home-hero,.home-printing)::after{background:linear-gradient(180deg,#142039 0%,#142039f2 25%,#142039bb 44%,transparent 75%)}}
@media print{.theme-toggle{display:none!important}html[data-theme=dark],html[data-theme=dark] body{background:white!important;color:black!important}}
html[data-theme=dark] :is(.site-header,.careers-hero,.info-hero,.application-fields,.interest-grid article,.contact,.help-layout>section,.price-box,.order-summary,.shipping-card,.color-section,.category-order-actions,.sale-details,#category-create){background:#17243b!important;color:#e5ecf8;border-color:#34445e!important}
html[data-theme=dark] :is(.intro,.careers p,.help-page p,.legal p,.application-disclosure,.price-bottom,.metadata){color:#aebbd2}
html[data-theme=dark] button{background:#202d46;color:#dce6ff;border-color:#35445f}
html[data-theme=dark] #account-dialog #account-logout{background:#345bff;color:#fff}
html[data-theme=dark] .badge.order{background:#3c3022;color:#f4cc99}
html[data-theme=dark] :is(.info-button,.careers-button){background:#345bff;color:#fff}
html[data-theme=dark] .site-header{border-color:#34445e}
html[data-theme=dark] .admin-nav button[aria-current=page]{background:#263d65!important;color:#c0d3ff!important}
html[data-theme=dark] #notice.error,html[data-theme=dark] .error{color:#ffb1ac}
html[data-theme=dark] #inicio .home-services svg{color:#c2d3ff}
html[data-theme=dark] #inicio .home-services a{background:#19263e;border-color:#35445f}
html[data-theme=dark] :is(.terms p,details p,#features,.purchase-notice,.purchase-card-header h3,.search-results-heading){color:#aebbd2}
html[data-theme=dark] .search-view-all{background:#21375c;color:#bfd1ff}
html[data-theme=dark] :is(.price-label,.shipping,.availability,.price-bottom){color:#aebbd2}
html[data-theme=dark] .payment-page .actions>a:last-child{color:#b8c8e5}
html[data-theme=dark] #inicio .home-printing{border-color:#35445f}

/* Superficies y contraste compartidos, incluidos los paneles administrativos. */
.theme-toggle,html[data-theme=dark] .theme-toggle{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme=dark],html[data-theme=dark] body{--surface:#19263e;--admin-surface:#141f32;--admin-soft:#1b2941;--admin-muted:#aebbd2}
html[data-theme=dark] .store-info{--surface:#19263e;--ink:#e5ecf8;--muted:#aebbd2;--line:#34445e}
html[data-theme=dark] .catalog-search-row{background:transparent!important}
html[data-theme=dark] :is(.header-search,#catalogo .search){background:#162137!important;border-color:#35445f!important;color:#e5ecf8}
html[data-theme=dark] :is(.header-search,#catalogo .search) input{background:transparent!important;border:0!important;box-shadow:none!important;color:#e5ecf8!important}
html[data-theme=dark] :is(.header-search,#catalogo .search) input:-webkit-autofill{box-shadow:0 0 0 1000px #162137 inset!important}
html[data-theme=dark] .header-search button{background:transparent!important;border:0!important;color:#dce6ff!important;box-shadow:none!important}
html[data-theme=dark] #account-dialog .account-member-profile strong,html[data-theme=dark] #account-dialog #account-security summary{color:#e5ecf8!important}
html[data-theme=dark] #account-dialog #account-security{border-color:#34445e}
html[data-theme=dark] :is(.cart-empty,.application-help){background:#19263e!important;color:#e5ecf8!important;border-color:#34445e!important}
html[data-theme=dark] .application-help :is(p,strong){color:#c4d2eb!important}
html[data-theme=dark] #catalogo .category-row:is(:hover,:focus-within,:has(details[open])){background:#213351}
html[data-theme=dark] #catalogo .category-submenu{background:transparent!important}
html[data-theme=dark] #catalogo .category-submenu>div{background:#19263e;border-color:#35445f;box-shadow:0 10px 28px #0006}
html[data-theme=dark] #catalogo fieldset:has(input[name=category]) :is(label:has(>input[name=category]),.category-submenu button){color:#d8e2f3}
html[data-theme=dark] #catalogo .category-submenu button{background:transparent}
html[data-theme=dark] #catalogo .category-submenu button:is(:hover,:focus-visible){background:#293e60;color:#fff}
#catalogo .filters input[name=availability]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;width:14px;height:14px;flex:0 0 14px;border:1px solid #788078;border-radius:50%;background:transparent;vertical-align:middle;cursor:pointer}
#catalogo .filters input[name=availability]::before{content:'';width:8px;height:8px;border-radius:50%;background:#003aff;transform:scale(0)}
#catalogo .filters input[name=availability]:checked{border-color:#003aff}
#catalogo .filters input[name=availability]:checked::before{transform:scale(1)}
#catalogo .filters input[name=availability]:focus-visible{outline:2px solid #6486ff;outline-offset:3px}
html[data-theme=dark] #catalogo .filters input[name=availability]{border-color:#a4b0c4}
html[data-theme=dark] #catalogo .filters input[name=availability]::before{background:#91adff}
html[data-theme=dark] :is(.audit-entry,.admin-person,.product-list-row,#applications>article){color:#e5ecf8;border-color:#34445e}
html[data-theme=dark] :is(.audit-entry,.admin-person,.product-list-row,#applications>article) :is(strong,h3){color:#e5ecf8}
html[data-theme=dark] main>header a{color:#b8c8e5}

html[data-theme=dark] :is(.admin-person span,.audit-entry>span,#notice:not(.error):not(:empty)){color:#bdd1ff}
html[data-theme=dark] :is(.category-row button,.photo-item button,#cancel-product){color:#dce6ff}

html[data-theme=dark] form.header-search:has(#header-search-input) button[type=submit]{background:transparent!important;color:#dce6ff!important;border:0!important;box-shadow:none!important}

/* Contraste de los recorridos de compra y controles recientes. */
html[data-theme=dark] :is(#favorites-count,#mobile-cart-count,#cart-count){background:#345bff!important;color:#fff!important}
html[data-theme=dark] #toggle-filters{background:#202d46;color:#dce6ff;border-color:#35445f}
html[data-theme=dark] #catalogo .category-submenu summary{color:#b8caff}
html[data-theme=dark] #carrito .remove{color:#bdcbe2}
html[data-theme=dark] .purchase-navigation .purchase-refresh{background:#202d46;color:#e5ecf8;border-color:#415371}
html[data-theme=dark] .purchase-navigation .purchase-refresh:hover:enabled{background:#2a3d60;color:#fff;border-color:#8faaff}
html[data-theme=dark] .purchase-navigation .purchase-hidden-toggle{background:transparent;color:#b8caff}
html[data-theme=dark] :is(.metadata #category,#stock-text){color:#b8caff}
html[data-theme=dark] .price-bottom small{color:#aebbd2}
html[data-theme=dark] .stock-rule{background:#415e9f;border-color:#415e9f}
html[data-theme=dark] footer>span{color:#aebbd2}
html[data-theme=dark] .checkout-page{--blue:#a9c1ff}
html[data-theme=dark] .checkout-page .checkout-layout>:is(form,aside){background:#141f32;color:#e5ecf8;border-color:#34445e}
html[data-theme=dark] .checkout-page main>a{color:#b8caff}
html[data-theme=dark] .checkout-page :is(.checkout-section,.total,.checkout-item){border-color:#34445e}
html[data-theme=dark] .checkout-page :is(.muted,#delivery-saved-address,.checkout-item small){color:#aebbd2}
html[data-theme=dark] .checkout-page .check a{color:#b8caff}
html[data-theme=dark] .checkout-page :is(.checkout-item-quantity,.delivery-methods label){background:#203452;color:#c3d3f5;border-color:#415371}
html[data-theme=dark] .checkout-page .delivery-methods label:has(input:checked){background:#283e65;color:#e5ecf8;border-color:#8faaff}
html[data-theme=dark] .checkout-page #pay:disabled{background:#26334b!important;color:#aebbd2!important;border-color:#35445f!important}
html[data-theme=dark] .checkout-terms-message{background:#38252e;color:#ffb8bd;border-color:#80505a}
html[data-theme=dark] .comparison-page .comparison-details:hover{color:#d9e4ff}
html[data-theme=dark] .orders-avatar{color:#b8caff}
html[data-theme=dark] :is(.stock-sales,.admin-install-dialog,.photo-sort-status){background:#1b2941;color:#c4d4f5;border-color:#34445e}
html[data-theme=dark] :is(.stock-search p,#stock-search-status,#editor-message:not(.error),#discount-preview){color:#bbcfed}
html[data-theme=dark] .error{color:#ffb1ac!important}
html[data-theme=dark] :is(.product-loading-photo,.product-loading-info>i,.product-loading-info>div,.catalog-loading i,.catalog-loading b,.catalog-loading span:not(.sr-only),.catalog-loading-search){background-image:linear-gradient(100deg,#19263c 20%,#25344e 45%,#19263c 70%);background-color:#19263c}
html[data-theme=dark] .catalog-loading-filters{border-color:#34445e}

html[data-theme=dark] #catalogo .catalog-views button[aria-pressed=true]{background:#345bff;color:#fff;border-color:#345bff}
html[data-theme=dark] .comparison-page main>p{color:#b7c5dc}
html[data-theme=dark] .comparison-page .comparison-details{color:#b7c5dc!important}

html[data-theme=dark] .experience-page>header>a>img{background:#fff;border-radius:6px;padding:5px;box-sizing:content-box}
html[data-theme=dark] .rating-options span{color:#a9c1ff}
html[data-theme=dark] .rating-options input:checked+span{color:#c3d3ff}
html[data-theme=dark] .rating-options input:focus-visible+span{outline-color:#a9c1ff}

html[data-theme=dark] .purchase-card-footer{border-color:#34445e}
html[data-theme=dark] .order-tracking .current .tracking-dot{border-color:#8faaff;box-shadow:0 0 0 4px #8faaff18}
html[data-theme=dark] .order-tracking .complete .tracking-dot{background:#345bff;border-color:#345bff;color:#fff}
html[data-theme=dark] .order-tracking :is(.current,.complete):before{background:#8faaff}

html[data-theme=dark] .terms :is(.back,.eyebrow){color:#b7c5dc}
