/* Interface-only overrides. Storefront templates retain their original app.css palette. */
:root{--ts-primary:#a63b00;--ts-primary-dark:#a63b00;--ts-bg:#f7f7f7;--ts-text:#0f172a}
.home-hero{background:linear-gradient(145deg,#ffffff 0%,#fff5ee 100%);border:1px solid #ffeadb;border-radius:1.25rem;padding:1.75rem}
.hero-visual{border-radius:1rem;background:radial-gradient(circle at top right,rgba(166,59,0,.18),transparent 46%),linear-gradient(165deg,#ffffff 0%,#fff5ee 100%);border:1px solid #ffe3cf;min-height:240px;display:flex;flex-direction:column;justify-content:center}
.quick-data-item{background:#fffbf8;border:1px solid #ffe9d9;border-radius:.85rem;padding:1rem;display:flex;flex-direction:column;gap:.2rem}
.benefit-card{background:#fff;border:1px solid #f9ece2;border-radius:1rem;padding:1.15rem}
.storefront-topbar{background:#fdf9f7}
.storefront-category-menu .nav-link{color:#a63b00;font-weight:500;padding:.9rem .8rem;white-space:nowrap}
.mega-menu-panel{position:absolute;left:0;top:100%;background:#fff;border:1px solid #f5dfd0;border-radius:0;box-shadow:0 14px 34px rgba(107,42,8,.12);display:none;z-index:1200;overflow:auto;max-width:min(95vw,1200px)}
.mega-menu-item-link:hover,.mega-menu-item-link.is-active{background:#fbf4ee}
.mega-menu-explore a{display:block;text-decoration:none;color:#a63b00;padding:.22rem 0}
@media (max-width:991.98px){.mega-menu-level-root{background:#fdf9f7}}
.storefront-thumb-btn{width:100%;aspect-ratio:1/1;flex:0 0 auto;border:1px solid #f5dfd0;border-radius:12px;padding:0;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.storefront-thumb-btn:hover{border-color:#fdbf93;transform:translateY(-1px)}
.storefront-thumb-btn.is-active{border-color:#a63b00;box-shadow:0 0 0 2px rgba(166,59,0,.16)}
.storefront-lightbox{position:fixed;inset:0;background:rgba(107,42,8,.88);display:none;align-items:center;justify-content:center;z-index:2000;padding:1rem}
.catalog-sidebar-link{display:block;padding:.18rem 0;color:#a63b00;text-decoration:none;font-size:.92rem;line-height:1.25;transition:color .15s ease,background-color .15s ease}
.catalog-sidebar-link:hover,.catalog-sidebar-level.level-0>li>.catalog-sidebar-link:hover,.catalog-sidebar-level .catalog-sidebar-level .catalog-sidebar-link:hover{color:#a63b00;text-decoration:none}
.catalog-sidebar-link.is-active,.catalog-sidebar-level.level-0>li>.catalog-sidebar-link.is-active,.catalog-sidebar-level .catalog-sidebar-level .catalog-sidebar-link.is-active{color:#a63b00;font-weight:700}
.catalog-sidebar-link.is-parent-active,.catalog-sidebar-level.level-0>li>.catalog-sidebar-link.is-parent-active,.catalog-sidebar-level .catalog-sidebar-level .catalog-sidebar-link.is-parent-active{color:#a63b00;font-weight:600}
.catalog-stock-source-filter{border-top:1px solid #f9ece2;margin-top:1.05rem;padding-top:.8rem}
.catalog-stock-source-filter:first-child{border-top:0;margin-top:0;margin-bottom:.9rem;padding-top:0;padding-bottom:.85rem;border-bottom:1px solid #f9ece2}
.catalog-stock-source-filter-after-summary{border-top:0;margin-top:0;margin-bottom:1rem;padding-top:0;padding-bottom:.9rem;border-bottom:1px solid #f9ece2}
.catalog-filter-switch{display:inline-flex;align-items:center;gap:.45rem;padding:.38rem .7rem;border:1px solid #f4dccb;border-radius:999px;background:#fff;color:#a63b00;text-decoration:none;font-size:.9rem;transition:all .15s ease}
.catalog-filter-switch:hover{border-color:#a63b00;color:#a63b00;box-shadow:0 4px 12px rgba(166,59,0,.08)}
.catalog-filter-switch.is-active{border-color:#a63b00;background:#fff5ee;color:#a63b00;font-weight:600}
.catalog-filter-switch-control{position:relative;width:28px;height:16px;border-radius:999px;background:#f1d2bb;transition:background .15s ease;flex:0 0 auto}
.catalog-filter-switch.is-active .catalog-filter-switch-control{background:#a63b00}
.catalog-stock-source-links>li>.catalog-sidebar-level{padding-left:.7rem;margin-top:.08rem;border-left:1px solid #fbf1ea}
.catalog-price-filter{border-top:1px solid #f9ece2;margin-top:1.05rem;padding-top:.9rem}
.catalog-price-filter:first-child{border-top:0;margin-top:0;margin-bottom:.9rem;padding-top:0;padding-bottom:.85rem;border-bottom:1px solid #f9ece2}
.catalog-price-filter-top{border-top:0;margin-top:0;margin-bottom:.9rem;padding-top:0;padding-bottom:.85rem;border-bottom:1px solid #f9ece2}
.catalog-price-slider input[type=range]::-webkit-slider-thumb{width:17px;height:17px;border-radius:50%;border:2px solid #a63b00;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.24);cursor:pointer;pointer-events:auto;appearance:none;-webkit-appearance:none}
.catalog-price-slider input[type=range]::-moz-range-thumb{width:17px;height:17px;border-radius:50%;border:2px solid #a63b00;background:#fff;box-shadow:0 2px 6px rgba(15,23,42,.24);cursor:pointer;pointer-events:auto}
.catalog-price-slider-track{position:absolute;left:0;right:0;top:14px;height:4px;border-radius:999px;background:#f6e2d3;overflow:hidden}
.catalog-price-slider-values span{position:absolute;top:0;white-space:nowrap;padding:.22rem .36rem;border-radius:999px;background:#fff5ee;color:#a63b00;box-shadow:0 1px 3px rgba(15,23,42,.08)}
.catalog-price-slider-track span{position:absolute;left:var(--min-percent);right:calc(100% - var(--max-percent));top:0;bottom:0;background:#a63b00;border-radius:999px}
.checkout-section-card,.checkout-summary-card{background:#fff;border:1px solid #f8e8dd;border-radius:1rem;box-shadow:0 10px 28px rgba(15,23,42,.06);padding:1.15rem}
.checkout-step-number{width:2rem;height:2rem;border-radius:999px;background:#fff5ee;color:#a63b00;display:inline-flex;align-items:center;justify-content:center;font-weight:800;flex:0 0 auto}
.checkout-postal-box{background:#fdf9f7;border:1px solid #f9ece2;border-radius:.85rem;padding:1rem}
.checkout-options-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.8rem;border-bottom:1px solid #faf1ea}
.checkout-method-group h6,.checkout-subtitle{color:#a63b00;font-size:.88rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;margin-bottom:.65rem}
.checkout-method-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:flex-start;border:1px solid #f7e6d9;border-radius:.85rem;background:#fff;padding:.9rem;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}
.checkout-method-card:hover{border-color:#ffc59c;box-shadow:0 8px 20px rgba(166,59,0,.08);transform:translateY(-1px)}
.checkout-method-card.is-selected{border-color:#a63b00;background:#fff9f5;box-shadow:0 0 0 3px rgba(166,59,0,.10)}
.checkout-summary-item img,.checkout-summary-placeholder{width:64px;height:64px;border-radius:.75rem;border:1px solid #f8e9de;background:#fdf9f7}
.checkout-summary-totals{border-top:1px solid #faf1ea;margin-top:1rem;padding-top:1rem;display:flex;flex-direction:column;gap:.65rem}
.checkout-summary-shipping-total{margin-top:.35rem;padding-top:.4rem;border-top:1px solid #faf1ea;font-weight:800}
.checkout-summary-total{border-top:1px solid #faf1ea;margin-top:.2rem;padding-top:.8rem;font-size:1.1rem}
.checkout-multi-delivery-notice{display:flex;flex-direction:column;gap:.2rem;margin-bottom:1rem;border:1px solid #fed9bf;border-radius:.85rem;background:#fff6ef;color:#a63b00;padding:.9rem 1rem}
.checkout-delivery-card{border:1px solid #f8e8dd;border-radius:.95rem;background:#fff;padding:1rem;margin-bottom:.85rem}
.checkout-delivery-card.is-open{border-color:#ffe3cf;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.checkout-delivery-card.is-summary{background:#fffdfb}
.checkout-delivery-prompt{color:#a63b00;font-weight:700;margin-bottom:.8rem}
.checkout-delivery-selected{display:flex;flex-direction:column;gap:.7rem;border-top:1px solid #faf1ea;padding-top:.75rem;margin-top:.35rem}
.delivery-method-note{margin-top:0;padding:10px 12px;border-radius:10px;background:#fdf9f7;border:1px solid #e5e7eb;color:#475569;font-size:.95rem;line-height:1.4}
.checkout-delivery-pending{display:inline-flex;align-items:center;width:max-content;max-width:100%;border-radius:999px;background:#fbf4ee;color:#64748b;font-size:.82rem;font-weight:700;padding:.25rem .65rem}
.cart-origin-group,.cart-summary-card,.cart-empty-card{background:#fff;border:1px solid #f8e8dd;border-radius:1rem;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.cart-origin-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.85rem;border-bottom:1px solid #faf1ea}
.cart-item-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:1rem;border:1px solid #faf1ea;border-radius:.95rem;padding:.9rem;background:#fffdfb}
.cart-item-media img,.cart-item-placeholder{width:112px;height:112px;border-radius:.85rem;border:1px solid #f8e9de;background:#fdf9f7}
.cart-origin-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid #fed9bf;border-radius:999px;background:#fff6ef;color:#a63b00;font-size:.78rem;font-weight:700;line-height:1.2;padding:.35rem .6rem;white-space:nowrap}
.cart-quantity-controls{display:inline-flex;align-items:center;gap:.45rem;border:1px solid #f7e6d9;border-radius:999px;background:#fff;padding:.2rem}
.cart-qty-btn{width:2rem;height:2rem;border:0;border-radius:999px;background:#fff5ee;color:#a63b00;font-size:1.1rem;font-weight:800;line-height:1}
.cart-qty-btn:hover,.cart-qty-btn:focus{background:#feeadb}
.cart-item-actions{display:flex;justify-content:flex-end;border-top:1px solid #faf1ea;padding-top:.55rem}
.cart-summary-total{border-top:1px solid #faf1ea;margin-top:.25rem;padding-top:.85rem;font-size:1.08rem;font-weight:800}
.cart-summary-note-strong{color:#a63b00;font-weight:700}
.cart-multi-origin-notice{display:flex;flex-direction:column;gap:.2rem;margin-bottom:1rem;border:1px solid #fed9bf;border-radius:.85rem;background:#fff6ef;color:#a63b00;padding:.9rem 1rem}
.cart-empty-icon{display:inline-flex;width:4rem;height:4rem;align-items:center;justify-content:center;border-radius:999px;background:#fff5ee;font-size:2rem;margin-bottom:1rem}
.checkout-stepper-item{border:1px solid #f8e8dd;border-radius:999px;background:#fff;color:#64748b;display:flex;align-items:center;justify-content:center;gap:.45rem;font-weight:800;padding:.65rem .75rem;transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.checkout-stepper-item span{width:1.55rem;height:1.55rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fbf4ee;color:#64748b;font-size:.85rem}
.checkout-stepper-item.is-active{border-color:#a63b00;background:#fff9f5;color:#a63b00;box-shadow:0 8px 22px rgba(166,59,0,.08)}
.checkout-stepper-item.is-active span{background:#a63b00;color:#fff}
.checkout-final-block{border:1px solid #faf1ea;border-radius:.9rem;background:#fffdfb;padding:1rem}
.visual-category-badge.badge-nuevo{background:#a63b00}
.visual-category-badge.badge-mas_vendido{background:#a63b00}
.visual-categories-section.visual-categories-layout-quick_access .visual-category-card.category-card:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,23,42,.08);border-color:#fed9bf}
.visual-categories-section.visual-categories-layout-quick_access .visual-category-icon-fallback{width:38px;height:38px;min-width:38px;max-width:38px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:8px;background:#fff6ef;color:#a63b00;font-weight:700;flex:0 0 38px;margin:0!important}
.ts-featured-badge{display:inline-flex;align-items:center;justify-content:center;background:#a63b00;color:#fff;font-size:.72rem;font-weight:700;border-radius:999px;padding:.25rem .55rem;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.storefront-template-v1 .featured-product-badge{left:.5rem;color:#fff;background:#a63b00}
.storefront-template-v1 .featured-carousel-arrow{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid rgba(166,59,0,.2);border-radius:.5rem;color:#a63b00;background:#fff;font-size:1.35rem;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.08);transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.storefront-template-v1 .featured-carousel-arrow:hover,.storefront-template-v1 .featured-carousel-arrow:focus-visible{color:#fff;border-color:#a63b00;background:#a63b00;box-shadow:0 6px 16px rgba(166,59,0,.25)}
.store-floating-contact__button--phone{background:#a63b00;color:#fff}
.store-floating-contact__button--email{background:#a63b00;color:#fff}
.storefront-trust-section{background:linear-gradient(135deg,#fffbf8 0%,#fff5ee 100%);border:1px solid #feeadb;border-radius:1.35rem;padding:2rem;box-shadow:0 12px 34px rgba(15,23,42,.06)}
.storefront-trust-main-icon{width:54px;height:54px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:.75rem;background:#fff3ea;color:#a63b00;font-size:1.55rem;font-weight:700;box-shadow:0 8px 20px rgba(166,59,0,.12)}
.storefront-template-v1 .storefront-trust-card,.storefront-trust-card{background:#fff;border:1px solid #f9ece3;border-radius:1rem;padding:1.25rem 1rem;text-align:center;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;box-shadow:0 8px 22px rgba(15,23,42,.055);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.storefront-template-v1 .storefront-trust-card:hover,.storefront-trust-card:hover{transform:translateY(-2px);border-color:#fed9bf;box-shadow:0 14px 30px rgba(15,23,42,.08)}
.storefront-trust-icon{width:62px;height:62px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:.85rem;background:#fff5ee;color:#a63b00;font-size:1.75rem;line-height:1}
.storefront-trust-more{margin-top:auto;padding-top:.75rem;color:#a63b00;font-size:.84rem;font-weight:700}
.benefits-admin-preview-icon{width:42px;height:42px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff5ee;color:#a63b00;font-size:1.35rem}
.trust-admin-card{background:#fff;border:1px solid #f5dfd0;border-radius:1rem;padding:1rem;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.trust-admin-icon-preview{width:44px;height:44px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff5ee;color:#a63b00;font-size:1.45rem}
.trust-admin-card .form-label,.trust-admin-section .form-label{font-size:.86rem;font-weight:700;color:#a63b00}
.icon-picker-button{width:100%;border:1px solid #f5dfd0;background:#fff;border-radius:.85rem;padding:.65rem .75rem;display:flex;align-items:center;gap:.7rem;font-weight:700;color:#0f172a}
.icon-picker-button:hover{border-color:#a63b00;background:#fffbf8}
.icon-picker-current{width:38px;height:38px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff5ee;color:#a63b00;font-size:1.35rem;flex:0 0 auto}
.icon-picker-panel{display:none;position:absolute;z-index:30;left:0;right:0;top:calc(100% + .45rem);max-height:340px;overflow:auto;background:#fff;border:1px solid #f5dfd0;border-radius:1rem;padding:.75rem;box-shadow:0 18px 45px rgba(15,23,42,.16)}
.icon-picker-option{position:relative;border:1px solid #f5dfd0;background:#fff;border-radius:.85rem;padding:.8rem .5rem;text-align:center;cursor:pointer;transition:all .15s ease}
.icon-picker-option:hover{border-color:#ffbb8b;background:#fffbf8}
.icon-picker-option.is-selected{border-color:#a63b00;background:#fff5ee;box-shadow:0 0 0 2px rgba(166,59,0,.12)}
.icon-picker-option.is-selected::after{content:"✓";position:absolute;top:.35rem;right:.45rem;width:1.15rem;height:1.15rem;border-radius:999px;background:#a63b00;color:#fff;font-size:.75rem;line-height:1.15rem;font-weight:800}
.icon-picker-option-icon{font-size:1.7rem;color:#a63b00;display:block;margin-bottom:.35rem}
.ts-store-footer__link{color:var(--ts-footer-link, var(--bs-primary, #a63b00));text-decoration:none;display:inline-flex;align-items:center;gap:.45rem;max-width:100%}
.ts-store-footer__address-line i{color:var(--ts-footer-link, var(--bs-primary, #a63b00));flex:0 0 auto}
.ts-contact-page__group-title{margin:0 0 .65rem;font-size:.9rem;font-weight:800;color:#a63b00}
a.ts-contact-page__method:hover{border-color:rgba(var(--bs-primary-rgb, 255, 106, 0),.45);box-shadow:0 8px 20px rgba(15,23,42,.08);transform:translateY(-1px)}
.ts-contact-page__method i{width:1.25rem;min-width:1.25rem;text-align:center;color:var(--bs-primary, #a63b00);font-size:1.15rem}
.ts-contact-page__social-link:hover{border-color:rgba(var(--bs-primary-rgb, 255, 106, 0),.45);text-decoration:none}
.ts-contact-page__website-link i{width:1.25rem;min-width:1.25rem;text-align:center;color:var(--bs-primary, #a63b00);font-size:1.15rem}
a.ts-contact-page__website-link:hover{border-color:rgba(var(--bs-primary-rgb, 255, 106, 0),.45);box-shadow:0 8px 20px rgba(15,23,42,.08);transform:translateY(-1px);text-decoration:none}
.ts-contact-page__address-item.is-main{border-color:rgba(var(--bs-primary-rgb, 255, 106, 0),.35)}
.ts-contact-page__address-location{display:flex;align-items:center;gap:.35rem;color:#a63b00;font-weight:600;margin-bottom:.25rem}
.ts-contact-page__address-location i{color:var(--bs-primary, #a63b00)}
.ts-contact-page__map-link,.ts-contact-page__branch-website{display:inline-flex;align-items:center;gap:.35rem;font-weight:700;color:var(--bs-primary, #a63b00);text-decoration:none}
:root{--customer-sidebar-expanded-width:260px;--customer-sidebar-compact-width:64px;--customer-content-max:1200px;--customer-topbar-height:64px;--customer-radius-card:8px;--customer-radius-control:6px;--customer-account-accent:#a63b00}
.customer-account-page,.seller-panel-page{background:#f6f6f6;color:#1f2937;min-height:100vh}
.customer-account-mobile-toggle:focus-visible,.customer-account-sidebar-toggle:focus-visible,.customer-account-button:focus-visible,.customer-account-nav-item:focus-visible,.customer-account-drawer-close:focus-visible{outline:3px solid rgba(166,59,0,.28);outline-offset:2px}
.customer-account-main-area{background:#f6f6f6;min-height:calc(100vh - var(--customer-topbar-height));padding:24px;width:100%}
.customer-account-table td,.customer-account-table th{border-color:#fbf1ea;vertical-align:middle}
.customer-checkout-addresses{background:#fdf9f7;border:1px solid #e5e7eb;border-radius:14px;padding:1rem}
.catalog-quick-filters{margin-top:1rem;padding-top:1rem;border-top:1px solid #f9ece2}
.catalog-active-filter-chip{display:inline-flex;align-items:center;gap:.45rem;max-width:100%;padding:.45rem .65rem;border:1px solid rgba(15,23,42,0.12);border-radius:.35rem;background:#fff;color:#a63b00;font-size:.875rem;line-height:1;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,0.04)}
.catalog-sidebar-summary{margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #f9ece2}
.storefront-featured-brands-style-quick-access .storefront-featured-brand-card{display:flex;align-items:center;justify-content:center;min-height:58px;width:100%;border:1px solid #f6e2d4;border-radius:10px;background:#fff;padding:.75rem 1rem;box-shadow:0 8px 20px rgba(15,23,42,.06);text-align:center;font-weight:700}
