:root {
    --bg: #000000;
    --surface: #0A0A0A;
    --surface-elevada: #121212;
    --rojo: #D90429;
    --rojo-hover: #EF233C;
    --rojo-oscuro: #9B0014;
    --rojo-texto: #FF4D63;
    --borde-sutil: rgba(255, 255, 255, 0.12);
    --texto-principal: #FFFFFF;
    --texto-secundario: rgba(255, 255, 255, 0.76);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 80px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 176px;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

body {
    background-color: var(--bg);
    color: var(--texto-principal);
    overflow-x: hidden;
    line-height: 1.5;
    touch-action: manipulation;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

::selection {
    background: var(--rojo);
    color: #FFFFFF;
}

/* Enlace accesible para saltar al contenido (WCAG 2.2 AA SC 2.4.1) */
.skip-link {
    position: fixed;
    top: -120px;
    left: 1rem;
    background: var(--rojo);
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    font-weight: 800;
    font-size: 0.875rem;
    border-radius: 9999px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(217, 4, 41, 0.45);
    transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

/* Garantía de área táctil mínima 48x48px (ISO 9241 / WCAG 2.2 AA SC 2.5.8) */
.touch-target-48 {
    position: relative;
    min-width: 48px;
    min-height: 48px;
}

/* Barra sticky unificada de búsqueda y chips */
.barra-filtros {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-height: 540px) {
    .cabecera-catalogo,
    .barra-filtros {
        position: static;
    }
}

.campo-select-catalogo {
    appearance: none;
    min-height: 48px;
    padding: 0 2.125rem 0 0.875rem;
    border-radius: 12px;
    background-color: var(--surface-elevada);
    border: 1px solid var(--borde-sutil);
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.2s ease;
}

.campo-select-catalogo:hover,
.campo-select-catalogo:focus-visible {
    border-color: var(--rojo);
}

.campo-select-catalogo option {
    background-color: #121212;
    color: #FFFFFF;
}

/* Segmentador de Género de 1 Toque (Mobile-First) */
.gender-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.35rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    user-select: none;
    touch-action: manipulation;
}

.gender-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.gender-btn.is-active {
    color: #FFFFFF;
    background: var(--rojo);
    border-color: var(--rojo-hover);
    box-shadow: 0 0 12px rgba(217, 4, 41, 0.45);
}

.gender-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
}

.gender-btn.is-active .gender-badge {
    background: rgba(0, 0, 0, 0.35);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.5rem 0.95rem;
    border-radius: 9999px;
    background: var(--surface-elevada);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    touch-action: manipulation;
    flex-shrink: 0;
}

.filter-chip:hover {
    border-color: rgba(217, 4, 41, 0.65);
    color: #FFFFFF;
}

.filter-chip.is-active {
    background: var(--rojo);
    border-color: var(--rojo-hover);
    color: #FFFFFF;
}

.chip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.375rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
}

.filter-chip.is-active .chip-badge {
    background: rgba(0, 0, 0, 0.35);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tarjetas limpias de producto (zero blur, rendimiento óptimo) */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--borde-sutil);
    border-radius: 18px;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 360px;
    transition: border-color 0.22s ease, transform 0.22s var(--ease-out);
}

.product-card:hover {
    border-color: rgba(217, 4, 41, 0.65);
}

.product-card.is-hidden {
    display: none;
}

.product-card.is-highlighted {
    border-color: var(--rojo);
    box-shadow: 0 0 0 2px var(--rojo);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover .product-card-img {
        transform: scale3d(1.03, 1.03, 1);
    }
}

.swatch-pasivo {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: inline-block;
    flex-shrink: 0;
}

.btn-card-cta {
    width: 100%;
    min-height: 48px;
    padding: 0.625rem 1rem;
    border-radius: 12px;
    background: var(--surface-elevada);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-card-cta:hover {
    background: var(--rojo);
    border-color: var(--rojo-hover);
    color: #FFFFFF;
}

.btn-luxury {
    background: linear-gradient(135deg, #9B0014 0%, #D90429 100%);
    color: #FFFFFF;
    font-weight: 800;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.btn-luxury:hover {
    filter: brightness(1.1);
}

.btn-luxury:active {
    transform: scale3d(0.98, 0.98, 1);
}

/* Panel Único de Detalle y Pedido (Bottom Sheet móvil / Modal escritorio) */
.panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.panel-backdrop.is-open {
    opacity: 1;
}

.panel-backdrop.hidden {
    display: none;
}

.panel-producto {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    max-height: 92dvh;
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.3s var(--ease-out);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.85);
}

.panel-producto.is-open {
    transform: translate3d(0, 0, 0);
}

.panel-producto.hidden {
    display: none;
}

@media (min-width: 768px) {
    .panel-producto {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: min(880px, 92vw);
        max-height: 90dvh;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 24px;
        opacity: 0;
        transform: translate3d(-50%, calc(-50% + 16px), 0);
        transition: transform 0.26s var(--ease-out), opacity 0.22s ease;
    }

    .panel-producto.is-open {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0);
    }
}

/* Visor con zoom GPU y Gestos Avanzados */
.zoom-visor {
    position: relative;
    overflow: hidden;
    background: #050505;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    touch-action: none;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    aspect-ratio: 1/1;
    max-height: calc(85vh - 120px);
    margin: 0 auto;
}

.zoom-visor.is-zoomed {
    cursor: grab;
    touch-action: none;
}

.zoom-visor.is-dragging {
    cursor: grabbing !important;
}

.zoom-stage {
    width: 100%;
    height: 100%;
    position: relative;
    transform-origin: center center;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    pointer-events: none;
    user-select: none;
}

.zoom-visor.is-zoomed .zoom-stage {
    transition: none;
}

.zoom-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.zoom-layer.zoom-layer-active {
    opacity: 1;
    z-index: 2;
}

.zoom-layer:not(.zoom-layer-active) {
    opacity: 0;
    z-index: 1;
}

/* Botones de navegación del carrusel del visor */
.panel-nav-btn {
    opacity: 0.85;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.panel-nav-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.panel-nav-btn:active {
    transform: translateY(-50%) scale(0.94);
}

/* Dots indicadores del carrusel del visor */
.panel-galeria-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
    will-change: width;
}

.panel-galeria-dot.is-active {
    width: 24px;
    background: rgba(255, 255, 255, 0.2);
}

.panel-galeria-dot .dot-progress-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primario, #D90429);
    border-radius: 9999px;
    transform-origin: left center;
    transform: scaleX(0);
    opacity: 0;
    transition: opacity 0.25s ease;
    will-change: transform, opacity;
    contain: strict;
}

.panel-galeria-dot.is-active .dot-progress-fill {
    opacity: 1;
    animation: dotFillProgressModal 3.5s linear forwards;
}

[data-paused="true"] .panel-galeria-dot.is-active .dot-progress-fill {
    animation-play-state: paused !important;
}

@keyframes dotFillProgressModal {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Miniaturas interactivas (thumbnails) debajo del visor */
.panel-thumb-btn {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #0A0A0A;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    padding: 0;
}

.panel-thumb-btn:hover {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.35);
}

.panel-thumb-btn.is-active {
    opacity: 1;
    border-color: var(--rojo, #D90429);
    box-shadow: 0 0 0 2px rgba(217, 4, 41, 0.35);
    transform: scale(1.04);
}

.panel-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Botones de Talla y Color >= 48x48px dentro del Panel */
.size-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 48px;
    padding: 0 0.875rem;
    border-radius: 12px;
    background: var(--surface-elevada);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.size-btn:hover {
    border-color: rgba(217, 4, 41, 0.75);
}

.size-btn.is-selected {
    background: var(--rojo);
    border-color: var(--rojo-hover);
    color: #FFFFFF;
}

.size-btn.is-soldout,
.size-btn:disabled {
    opacity: 0.35;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.4);
}

.color-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-elevada);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.color-btn:hover {
    border-color: rgba(255, 255, 255, 0.55);
}

.color-btn.is-selected {
    border-color: var(--rojo-hover);
    background: rgba(217, 4, 41, 0.18);
    box-shadow: 0 0 0 1px var(--rojo);
}

.color-btn.is-soldout,
.color-btn:disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.08);
    position: relative;
}

.color-btn.is-soldout::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transform: rotate(-45deg);
    border-radius: 2px;
}

.color-btn-muestra {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.btn-whatsapp-panel {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    background: #25D366;
    color: #000000;
    font-size: 0.9375rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: filter 0.2s ease, transform 0.15s ease;
}

.btn-whatsapp-panel:hover {
    filter: brightness(1.06);
}

.btn-whatsapp-panel:active {
    transform: scale3d(0.99, 0.99, 1);
}

/* Modal de Guía de Tallas */
.modal-guia-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.86);
}

.modal-guia-backdrop.hidden {
    display: none;
}

.modal-guia-panel {
    width: 100%;
    max-width: 600px;
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: 24px;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

/* ==========================================================================
   Selector de Densidad Móvil (Boutique 2-Col vs Lookbook 1-Col) — Estándares 2026
   ========================================================================== */
.density-toggle {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
}

.density-btn {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.density-btn:active {
    transform: scale(0.92);
}

.density-btn.is-active {
    background: var(--rojo, #D90429);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(217, 4, 41, 0.4);
}

/* Modos de densidad en catálogo (móvil < 640px) */
@media (max-width: 639px) {
    /* MODO 2 COLUMNAS BOUTIQUE (POR DEFECTO EN MÓVIL) */
    #catalogo-grid.is-grid-2col {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.625rem !important;
    }

    #catalogo-grid.is-grid-2col .product-card {
        border-radius: 16px;
    }

    #catalogo-grid.is-grid-2col .product-card [class*="aspect-"] {
        aspect-ratio: 1 / 1 !important;
    }

    #catalogo-grid.is-grid-2col .product-card .p-4 {
        padding: 0.625rem !important;
        gap: 0.5rem !important;
    }

    #catalogo-grid.is-grid-2col .product-card h2 {
        font-size: 0.8125rem !important;
        line-height: 1.25 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #catalogo-grid.is-grid-2col .product-card .text-xs {
        font-size: 0.6875rem !important;
    }

    #catalogo-grid.is-grid-2col .product-card .swatch-pasivo {
        width: 10px;
        height: 10px;
    }

    #catalogo-grid.is-grid-2col .product-card button[data-abrir-detalle].min-h-\[48px\] {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.6875rem !important;
        min-height: 38px !important;
    }

    /* MODO 1 COLUMNA LOOKBOOK EDITORIAL */
    #catalogo-grid.is-lookbook {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    #catalogo-grid.is-lookbook .product-card [class*="aspect-"] {
        aspect-ratio: 1 / 1 !important;
    }
}

/* ==========================================================================
   Micro-Animación de Validación Táctil de Talla (gentleShake)
   ========================================================================== */
@keyframes gentleShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.animate-shake {
    animation: gentleShake 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

#panel-talla-alerta {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ==========================================================================
   Indicadores Sutiles de Scroll en Píldoras de Categorías (Fade Edges + Flecha)
   ========================================================================== */
.chips-fade {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    width: 34px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    border: none;
    outline: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.chips-fade svg {
    transition: transform 0.2s ease, color 0.2s ease;
}

.chips-fade:hover svg {
    color: #FFFFFF;
}

.chips-fade-left {
    left: 0 !important;
    right: auto !important;
    justify-content: flex-start !important;
    padding-left: 0.25rem !important;
    background: linear-gradient(to right, #000000 45%, rgba(0, 0, 0, 0) 100%) !important;
}

.chips-fade-left:hover svg {
    transform: translateX(-1px);
}

.chips-fade-right {
    right: 0 !important;
    left: auto !important;
    justify-content: flex-end !important;
    padding-right: 0.25rem !important;
    background: linear-gradient(to left, #000000 45%, rgba(0, 0, 0, 0) 100%) !important;
}

.chips-fade-right:hover svg {
    transform: translateX(1px);
}

.chips-fade.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ==========================================================================
   Drawer Bottom Sheet de Filtros Avanzados (Zero-Result Prevention)
   ========================================================================== */
.drawer-filtros-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-filtros-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-filtros-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 91;
    max-height: 92dvh;
    background: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-filtros-panel.is-open {
    transform: translateY(0);
}

@media (min-width: 640px) {
    #drawer-filtros,
    .drawer-filtros-panel {
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 480px !important;
        width: calc(100vw - 32px) !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95) !important;
        transform: translate(-50%, -46%) scale(0.97) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease !important;
    }
    #drawer-filtros.is-open,
    .drawer-filtros-panel.is-open {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.facet-btn {
    min-height: 34px;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.facet-btn-between {
    justify-content: space-between;
}

.facet-btn:hover:not(:disabled) {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.facet-btn.is-active {
    background: var(--rojo, #D90429) !important;
    border-color: var(--rojo, #D90429) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(217, 4, 41, 0.35);
}

.facet-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    text-decoration: line-through;
}

.facet-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.0625rem 0.3125rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.facet-btn.is-active .facet-badge {
    background: rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
}

/* Preferencia de movimiento reducido (WCAG 2.2 AA / Regla 10) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

