/* ==========================================================================
   AsdinEc - Estilos Base, Header & Menú Móvil Profesional (Amazon-like)
   ================================================================          */

:root {
    --bg-base: #ffffff;
    --bg-surface: #f8fafc;
    --border-color: #e2e8f0;

    /* Color corporativo unificado para botones y elementos interactivos */
    --brand-primary: #C21C34;
    --brand-dark: #a01529;
    --brand-light: #fdf2f4;

    --text-main: #0f172a;
    --text-muted: #475569;

    /* Redondeo mejorado y moderno en elementos interactivos */
    --radius-btn: 10px;
    --radius-input: 10px;

    --transition-all: all 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 0.95rem;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
}

/* ==========================================================================
   Header Principal & Navegación (Optimizado PC y Móvil)
   ================================================================          */

.nexora-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Banner Superior de Envío */
.nexora-top-ticker {
    background: var(--text-main);
    color: #f8fafc;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nexora-top-ticker span {
    color: #7dd3fc;
    font-weight: 700;
}

/* Cuerpo Principal del Header */
.nexora-main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

/* Logo */
.nexora-logo .logo {
    height: 34px;
    max-width: 130px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.nexora-logo:hover .logo {
    transform: scale(1.02);
}

/* Botón Hamburguesa Móvil */
.nexora-toggler-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-btn);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-all);
}

.nexora-toggler-btn:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Buscador con redondeo */
.nexora-search-container .input-group {
    background: var(--bg-surface);
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-input);
    overflow: hidden;
    transition: var(--transition-all);
}

.nexora-search-container .input-group:focus-within {
    background: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(194, 28, 52, 0.12);
}

.nexora-search-input {
    color: var(--text-main);
    font-size: 0.85rem;
    padding-left: 4px;
}

.nexora-search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.nexora-search-btn {
    background-color: var(--brand-primary) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-btn) !important;
    transition: var(--transition-all);
}

.nexora-search-btn:hover {
    background-color: var(--brand-dark) !important;
}

/* Enlaces de Menú Rápido (Desktop) */
.nexora-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nexora-nav-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: var(--transition-all);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Contenedor scrollable para la barra lateral de categorías */
/* Estructura por defecto para móviles (columna única vertical) */
.asd-catalog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* A partir de pantallas medianas (tablets y escritorio), pasa a dos columnas */
@media (min-width: 992px) {
    .asd-catalog-layout {
        grid-template-columns: 260px 1fr;
        gap: 1.5rem;
    }
}

.asd-category-sidebar-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: fit-content;
    z-index: 90;
}

/* 2. El contenedor interno maneja el scroll si la lista de categorías excede la pantalla */
.asd-category-sidebar-container {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 4px;
}

/* 3. Control adaptable para que el menú de escritorio y móvil no choquen */
.asd-mobile-cat-wrapper {
    display: none;
}

@media (max-width: 991px) {
    .asd-desktop-categories-only {
        display: none;
    }
    .asd-mobile-cat-wrapper {
        display: block;
    }
    .asd-category-sidebar-wrapper {
        position: relative !important;
        top: auto !important;
    }
}
/* 1. Por defecto, TODAS las subcategorías deben estar ocultas */
.asd-category-group .asd-subnav-list {
    display: none !important;
}

/* 2. Solo se muestran si el grupo tiene la clase .open (añadida por JS al hacer clic o al detectar la URL activa) */
.asd-category-group.open .asd-subnav-list {
    display: block !important;
}

/* 3. Estilo visual para el elemento principal cuando su grupo está abierto/activo */
.asd-category-group.open .asd-nav-item {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
}

/* 4. Resaltar la subcategoría activa actual */
.asd-subnav-item.active-sub {
    font-weight: 600;
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.nexora-nav-link:hover {
    color: var(--brand-primary);
    background: var(--brand-light);
}

/* Botón Carrito Universal */
.nexora-cart-btn {
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 0.85rem;
    border-radius: var(--radius-btn);
    border: none;
    padding: 7px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition-all);
    box-shadow: 0 2px 10px rgba(194, 28, 52, 0.25);
    white-space: nowrap;
}

.nexora-cart-btn:hover {
    background-color: var(--brand-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 28, 52, 0.35);
}

@media (max-width: 991.98px) {
    .nexora-cart-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        gap: 8px;
        border-radius: 10px;
        margin-right: 28px;
    }

    .d-lg-none .nexora-search-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .d-lg-none .nexora-search-container .input-group {
        margin: 0 !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   Menú Lateral Móvil Profesional (Drawer Desplegable)
   ================================================================          */

.nexora-mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 290px;
    height: 100vh;
    background: #ffffff;
    z-index: 1200;
    box-shadow: 10px 0 30px rgba(15, 23, 42, 0.15);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.nexora-mobile-drawer.open {
    left: 0;
}

.nexora-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nexora-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.nexora-drawer-header {
    background: var(--text-main);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nexora-drawer-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexora-drawer-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-all);
}

.nexora-drawer-close:hover {
    background: var(--brand-primary);
}

.nexora-drawer-body {
    padding: 16px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nexora-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: var(--transition-all);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
}

.nexora-drawer-link:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
    border-color: rgba(194, 28, 52, 0.3);
    padding-left: 20px;
}

#autocomplete-list-main,
#autocomplete-list-mobile {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-btn);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    margin-top: 8px;
    overflow: hidden;
}

#autocomplete-list-main .list-group-item,
#autocomplete-list-mobile .list-group-item {
    transition: background 0.15s ease;
}

#autocomplete-list-main .list-group-item:hover,
#autocomplete-list-mobile .list-group-item:hover {
    background: var(--bg-surface) !important;
}

@media (max-width: 991.98px) {
    .nexora-main-header {
        padding: 8px 0;
    }
}

/* ==========================================================================
   AsdinEc - Estilos Main E-Commerce (Fondo 100% Blanco e Impoluto)
   ========================================================================== */

.asd-main-wrapper {
    background-color: #ffffff !important;
    color: var(--text-main);
    padding: 2.5rem 0;
    position: relative;
}

.asd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.asd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.65rem;
    background: #ffffff !important;
}

.asd-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
}

.asd-section-title i {
    color: var(--brand-primary);
}

/* ==========================================================================
   Estructura Bento Grid Principal (Sidebar de Categorías + Hero Banner)
   ========================================================================== */

.asd-bento-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
    .asd-bento-grid {
        grid-template-columns: 1fr;
    }
}

/* Tarjeta Sidebar con soporte para Subcategorías Desplegables */
.asd-sidebar {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-btn);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%; /* Toma la altura del grid para igualar al banner */
    min-height: 480px;
    max-height: 520px; /* Evita que crezca desproporcionadamente */
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.asd-sidebar-header {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Lista scrollable optimizada dentro del sidebar */
.asd-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 4px;
}

/* Transición fluida para la apertura de subcategorías */
.asd-subnav-list {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 8px 8px 30px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.asd-category-group.open .asd-subnav-list {
    display: flex;
    animation: fadeInDropdown 0.2s ease-in-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenedor de Categoría Principal con Subcategorías */
.asd-category-group {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    transition: var(--transition-all);
    overflow: hidden;
}

.asd-category-group:hover {
    border-color: rgba(194, 28, 52, 0.25);
}

.asd-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    color: var(--text-muted);
    background: transparent;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: var(--transition-all);
}

.asd-nav-item span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asd-nav-item i:first-child {
    color: var(--brand-primary);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.asd-nav-item .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    color: var(--text-muted);
}

/* Estado Activo / Desplegado del Acordeón */
.asd-category-group.open .asd-nav-item {
    color: var(--brand-primary);
    background: var(--brand-light);
}

.asd-category-group.open .asd-nav-item .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

/* Subcategorías ocultas por defecto que despliegan con animación limpia */
.asd-subnav-list {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 8px 8px 30px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.asd-category-group.open .asd-subnav-list {
    display: flex;
}

.asd-subnav-item {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition-all);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.asd-subnav-item:hover {
    color: var(--brand-primary);
    background: #ffffff;
    padding-left: 14px;
}

.asd-subnav-item.active {
    color: var(--brand-primary);
    font-weight: 700;
    background: var(--brand-light);
}

/* Estilos para ocultar/mostrar según la pantalla y dar soporte al acordeón móvil */
.asd-mobile-cat-wrapper {
    display: none;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.asd-mobile-cat-toggle {
    width: 100%;
    background: #f8fafc;
    border: none;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.92rem;
    color: #1e293b;
    cursor: pointer;
}

.asd-mobile-cat-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.asd-mobile-cat-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    border-top: 1px solid transparent;
}

.asd-mobile-cat-wrapper.open .asd-mobile-cat-content {
    max-height: 500px;
    overflow-y: auto;
    border-top-color: #e2e8f0;
    padding: 0.5rem 0;
}

.asd-mobile-cat-wrapper.open .asd-mobile-cat-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .asd-desktop-categories-only {
        display: none;
    }
    .asd-mobile-cat-wrapper {
        display: block;
    }
}

/* Control de visibilidad base */
.asd-mobile-only {
    display: none;
}
.asd-desktop-only {
    display: flex;
}

/* Estilos específicos para el Mini-Banner de Móvil */
@media (max-width: 991.98px) {
    .asd-desktop-only {
        display: none !important;
    }
    .asd-mobile-only {
        display: flex !important;
    }

    .asd-hero-banner-mobile {
        width: 100%;
        background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
        border-radius: 14px;
        padding: 1.15rem 1rem;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .asd-hero-slide-mob {
        display: none;
        flex-direction: column;
        gap: 0.85rem;
        width: 100%;
    }

    .asd-hero-slide-mob.active {
        display: flex;
    }
    .asd-hero-slide-mob h2,
    .asd-hero-slide-mob h1 {
        font-size: 1.1rem !important; /* Ajustado para que el titular clave quepa de una sola línea */
    }
    .asd-slide-content-mob {
        width: 100%;
    }

    /* Imagen del banner móvil con altura ideal y sin cortes (150px) */
    .asd-slide-media-mob {
        width: 100%;
        height: 150px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
        background: rgba(255,255,255,0.02);
    }

    .asd-slide-media-mob img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}


/* Ajustes para la barra lateral de categorías */
.sidebar-categories, .list-group-item, .categoria-item {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Opcional: Permitir máximo 2 líneas controladas para nombres muy largos */
.sidebar-categories a, .categoria-link {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Forzar a una sola línea limpia */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Espaciado más cómodo en cada fila de la lista de categorías */
.sidebar-categories li, .category-list-item {
    padding: 0.5rem 0.75rem !important;
    transition: background-color 0.2s ease;
}

.sidebar-categories li:hover {
    background-color: #f1f5f9;
    border-radius: 6px;
}

/* Estilos para los Paneles de Valor Asimétricos */
.asd-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.asd-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.asd-feature-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.asd-feature-card.highlight {
    border-color: #0284c7;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

/* ==========================================
   BOTONES DE LOS PANELES DE VALOR
   ================================---------- */
.asd-btn-solid {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background-color: #a01529 !important;
    border: 1px solid #a01529 !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.asd-btn-solid:hover {
    background-color: #841021 !important;
    border-color: #841021 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================
   FOOTER PRINCIPAL (COLOR INSTITUCIONAL)
   ================================---------- */
.asd-main-footer {
    background: #a01529;
    color: #ffffff;
    padding: 40px 0 20px 0;
    margin-top: 4rem;
    font-size: 0.85rem;
}

.asd-main-footer h4,
.asd-main-footer h5,
.asd-main-footer b {
    color: #ffffff !important;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.asd-main-footer p,
.asd-main-footer span,
.asd-main-footer small {
    color: rgba(255, 255, 255, 0.85);
}

/* Forzar color blanco en todos los enlaces y tachar el azul */
.asd-main-footer a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.asd-main-footer a:hover {
    color: #ffffff !important;
    opacity: 0.75;
    text-decoration: underline;
}

.asd-main-footer ul.list-unstyled {
    line-height: 2;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 20px 0;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ==========================================================================
   Banner Secundario Compacto para Móvil (Ocupa el espacio justo sin desbordar)
   ========================================================================== */
.asd-hero-banner {
    width: 100%;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 2.2rem 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.asd-hero-banner p,
.asd-hero-banner-mobile p {
    color: rgba(255, 255, 255, 0.85) !important;
}
.asd-hero-slide {
    position: absolute;
    inset: 0;
    padding: 2.2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
    box-sizing: border-box;
}

.asd-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.asd-slide-content {
    max-width: 380px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.asd-badge-clean {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    letter-spacing: 0.3px;
}

.asd-slide-media {
    width: 58%;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,0.55);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    display: block;
    background: rgba(255,255,255,0.02);
}

.asd-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.asd-btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.asd-btn-custom.cyan {
    background: #38bdf8;
    color: #0f172a;
}
.asd-btn-custom.cyan:hover {
    background: #0ea5e9;
    color: #fff;
}
.asd-btn-custom.green {
    background: #34d399;
    color: #0f172a;
}
.asd-btn-custom.green:hover {
    background: #10b981;
    color: #fff;
}

/* ==========================================================================
   Adaptabilidad Móvil: Banner Compacto Integrado y Fluido
   ========================================================================== */
@media (max-width: 991.98px) {
    .asd-hero-banner {
        padding: 1.25rem 1rem;
        min-height: auto;
        border-radius: 14px;
    }

    .asd-hero-slide {
        position: relative;
        inset: auto;
        flex-direction: column;
        padding: 0;
        gap: 1rem;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .asd-hero-slide.active {
        display: flex;
    }

    .asd-slide-content {
        max-width: 100%;
        width: 100%;
    }

    /* Títulos y textos optimizados para pantallas pequeñas */
    .asd-hero-slide h1 {
        font-size: 1.35rem !important;
        margin-bottom: 0.5rem !important;
    }

    .asd-hero-slide p {
        font-size: 0.82rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }

    /* Imagen compacta de 160px para que encaje perfectamente en la pantalla móvil */
    .asd-slide-media {
        width: 100%;
        height: 160px;
        border-radius: 10px;
        margin-top: 0.25rem;
    }

    .asd-btn-custom {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   Categorías Home Panel (Desktop/Mobile)
   ========================================================================== */
.home-category-panel {
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 36px 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.home-category-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 12px;
    text-decoration: none !important;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-category-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
}

.home-category-card-media {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.home-category-card-media img {
    max-height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.home-category-card:hover .home-category-card-media img {
    transform: scale(1.06);
}

.home-category-card-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: auto;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-category-panel {
        padding: 24px 16px;
    }
}

/* Botones CTA Modernos y Limpios con espaciado mejorado */
.home-cta-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    position: relative;
}

.home-cta-btn:hover {
    background: #0f172a;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
}

.home-cta-btn:hover .cta-icon-box {
    background: #38bdf8;
    color: #0f172a;
}

.home-cta-btn:hover .cta-text-title {
    color: #ffffff;
}

.cta-icon-box {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cta-text-content {
    display: flex;
    flex-direction: column;
}

.cta-text-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.cta-text-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    transition: color 0.2s ease;
}

/* ==========================================================================
   Carrusel Top Más Vendidos
   ========================================================================== */
.asd-carousel-section {
    margin: 2rem 0 3rem 0;
}

.asd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.6rem;
}

.asd-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.asd-carousel-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.asd-carousel-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.asd-carousel-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.asd-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.25rem 0;
}

.asd-carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.asd-carousel-track::-webkit-scrollbar {
    display: none;
}

.asd-product-card-compact {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem;
    flex: 0 0 210px;
    min-width: 210px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.asd-product-card-compact:hover {
    transform: translateY(-3px);
    border-color: #0284c7;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.asd-badges-container {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.asd-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.asd-badge-sale {
    background: #fee2e2;
    color: #991b1b;
}

.asd-badge-new {
    background: #dcfce7;
    color: #166534;
}

.asd-badge-shipping {
    background: #e0f2fe;
    color: #0369a1;
}

.asd-product-img-box {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
}

.asd-product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.asd-product-card-compact:hover .asd-product-img {
    transform: scale(1.05);
}

.asd-product-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.3em;
}

.asd-product-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    padding-top: 0.4rem;
}

.asd-price {
    font-size: 1rem;
    font-weight: 700;
    color: #0284c7;
}

/* Acciones flotantes al hacer Hover */
.asd-card-hover-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 3;
}

.asd-product-card-compact:hover .asd-card-hover-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.asd-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.asd-action-icon:hover {
    transform: scale(1.1);
}

.asd-cart-action {
    background: #0284c7;
}

.asd-cart-action:hover {
    background: #0369a1;
}

.asd-wa-action {
    background: #25d366;
}

.asd-wa-action:hover {
    background: #20ba5a;
}

.asd-btn-outline {
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.asd-btn-outline:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f8fafc;
}

/* ==========================================================================
   Buscador en Tiempo Real
   ========================================================================== */
.search-full-container {
    border: 2px solid #0284c7 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    padding: 32px !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.08) !important;
}

.search-overlay__title {
    font-size: 1.75rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.search-overlay__subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.search-bar {
    margin-top: 18px;
}

.search-input {
    border: 2px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    width: 100% !important;
    outline: none !important;
    background: #ffffff !important;
    font-size: 1rem !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
}

.search-input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.search-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.u-hidden {
    display: none !important;
}

@media (max-width: 991.98px) {
    .search-full-container {
        padding: 20px 16px !important;
    }
}

.product-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.product-card-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1 !important;
}

/* Cuadrícula compacta y ordenada */
.product-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

/* Tarjeta individual más pequeña y limpia */
.product-card-item-compact {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card-item-compact:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-card-item-compact .product-img-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-item-compact .product-img-wrap img {
    max-height: 95px;
    max-width: 100%;
    object-fit: contain;
}

.product-info-compact {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.product-title {
    font-size: 0.78rem;
    line-height: 1.2;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-footer {
    margin-top: auto;
    padding-top: 4px;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #dc3545;
}

/* Ocultar botones por defecto y mostrarlos al hacer hover */
.product-actions-hover {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card-item-compact:hover .product-actions-hover {
    opacity: 1;
    max-height: 40px;
}

/* Efecto Global para las tarjetas de productos */
.product-grid, .row-products { /* Ajusta la clase según el contenedor de tu tienda */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
    gap: 20px;
    justify-content: start; /* O 'center' si prefieres que se centren cuando sobren espacios */
}
.product-item {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    overflow: hidden;
}

.product-item .card-body {
    flex: 1 1 auto;
    padding-bottom: 10px !important;
}

.product-item .product-pricing {
    transition: opacity 0.2s ease;
}

.product-item .product-action-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease-in-out;
    z-index: 20;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    padding: 10px !important;
    border-top: 1px solid #f1f1f1;
}

/* Escritorio (Hover tradicional con mouse) */
@media (min-width: 992px) {
    .product-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
        z-index: 10;
    }

    .product-item:hover .product-pricing {
        opacity: 0;
    }

    .product-item:hover .product-action-footer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Dispositivos Móviles y Tablets Táctiles */
@media (max-width: 991.98px) {
    /* Al tocar o enfocar la tarjeta (o contenedores internos), se muestran los botones */
    .product-item:active .product-action-footer,
    .product-item:focus-within .product-action-footer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .product-item:active .product-pricing,
    .product-item:focus-within .product-pricing {
        opacity: 0;
    }
}

/* Estilos Base del Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.08);
}

/* Posición para Dispositivos Móviles (más arriba para que no tape los botones inferiores) */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Posición para Escritorio */
@media (min-width: 769px) {
    .whatsapp-float {
        bottom: 40px;
        right: 40px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

.card-custom {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
}

.thumb-img {
    border: 2px solid #dc3545;
    border-radius: 6px;
    cursor: pointer;
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.price-badge-red {
    background-color: #dc3545;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.qty-box {
    background-color: #dc3545;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    font-weight: bold;
    border-radius: 4px;
}
.qty-box:hover {
    background-color: #bb2d3b;
    color: white;
}

.btn-add-red {
    background-color: #dc3545;
    border: none;
    color: white;
    font-weight: 600;
}
.btn-add-red:hover {
    background-color: #bb2d3b;
    color: white;
}

.btn-wa-green {
    background-color: #75ec9c;
    border: none;
    color: #0f5132;
    font-weight: 600;
}
.btn-wa-green:hover {
    background-color: #5edb85;
    color: #0f5132;
}

.product-card-sm, .brand-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card-sm:hover, .brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08);
}

/* ==========================================================================
   Checkout & Purchase Flow Styles
   ================================================================          */
.asd-confirm-card {
    border: 1px solid var(--border-color);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: var(--transition-all);
}

.asd-confirm-card:hover {
    box-shadow: var(--shadow-lg);
}

.asd-icon-success,
.asd-icon-error {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.asd-icon-success {
    background: var(--light-bg);
}

.asd-icon-error {
    background: #f8d7da;
}

.checkout-step .step-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.checkout-step .step-section h4 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.btn-wa-green {
    background-color: #75ec9c;
    border: none;
    color: #0f5132;
    font-weight: 600;
}

.btn-wa-green:hover {
    background-color: #5edb85;
    color: #0f5132;
}

/* Payment and cart buttons */
.btn-checkout {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--radius-btn);
    padding: 0.75rem 1.5rem;
    transition: var(--transition-all);
}

.btn-checkout:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn-prev-step {
    border-radius: var(--radius-btn);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-all);
}
.shopping-cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.shopping-cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.close-cart {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

.cart-items {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.cart-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-price {
    color: #D19C97;
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.cart-item-quantity button {
    padding: 2px 8px;
    background: #eee;
    border: none;
    cursor: pointer;
}

.cart-item-quantity span {
    margin: 0 10px;
}

.cart-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #D19C97;
    border: none;
    color: white;
    font-weight: bold;
}

.checkout-btn:hover {
    background: #c88e88;
}

@media (max-width: 480px) {
    .shopping-cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
/* --- Estilos para el Buscador en Tiempo Real --- */
.search-full-container {
    background: #ffffff;
    border: 2px solid #007bff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.dashboard-hero {
    position: relative;
    padding: 2.5rem 1.5rem;
}

.dashboard-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.search-overlay__title {
    font-size: 1.8rem;
    color: #212529;
    margin-bottom: 0.5rem;
}

.search-overlay__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar {
    position: relative;
    max-width: 800px;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
    color: #495057;
    background-color: #f8f9fa;
    border: 2px solid #ced4da;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.search-input:focus {
    background-color: #ffffff;
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

.search-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    padding: 0 0.25rem;
}

.search-meta__hint {
    color: #6c757d;
}

.search-meta__status {
    font-weight: 600;
}

/* Clases de utilidad y contenedores internos */
.u-hidden {
    display: none !important;
}

.product-grid {
    width: 100%;
}

.product-grid__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
#rgbar {
  background: rgba(255, 0, 89, 1);
  background: -webkit-linear-gradient(
    45deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 0, 255, 1) 18%,
    rgba(0, 0, 255, 1) 30%,
    rgba(0, 240, 255, 1) 45%,
    rgba(0, 255, 0, 1) 63%,
    rgba(255, 255, 0, 1) 80%,
    rgba(255, 120, 0, 1) 90%,
    rgba(255, 0, 0, 1) 100%
  );
  background: -moz-linear-gradient(
    45deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 0, 255, 1) 18%,
    rgba(0, 0, 255, 1) 30%,
    rgba(0, 240, 255, 1) 45%,
    rgba(0, 255, 0, 1) 63%,
    rgba(255, 255, 0, 1) 80%,
    rgba(255, 120, 0, 1) 90%,
    rgba(255, 0, 0, 1) 100%
  );
  background: -ms-linear-gradient(
    45deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 0, 255, 1) 18%,
    rgba(0, 0, 255, 1) 30%,
    rgba(0, 240, 255, 1) 45%,
    rgba(0, 255, 0, 1) 63%,
    rgba(255, 255, 0, 1) 80%,
    rgba(255, 120, 0, 1) 90%,
    rgba(255, 0, 0, 1) 100%
  );
  background: -o-linear-gradient(
    45deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 0, 255, 1) 18%,
    rgba(0, 0, 255, 1) 30%,
    rgba(0, 240, 255, 1) 45%,
    rgba(0, 255, 0, 1) 63%,
    rgba(255, 255, 0, 1) 80%,
    rgba(255, 120, 0, 1) 90%,
    rgba(255, 0, 0, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 0, 255, 1) 18%,
    rgba(0, 0, 255, 1) 30%,
    rgba(0, 240, 255, 1) 45%,
    rgba(0, 255, 0, 1) 63%,
    rgba(255, 255, 0, 1) 80%,
    rgba(255, 120, 0, 1) 90%,
    rgba(255, 0, 0, 1) 100%
  );
  background-size: 400% 400%;
  animation: rgbBg 20s linear infinite;
  -moz-animation: rgbBg 20s linear infinite;
  -webkit-animation: rgbBg 20s linear infinite;
  height: 3px;
  position: relative;
}
#rgbar.active {
  position: fixed;
  top: 63px;
  width: 100%;
  z-index: 150;
}
.hyperx-land #rgbar.active {
  top: 61px;
}
#rgbar::before {
  content: "";
  width: 0;
  transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
  -webkit-transition: all ease 0.4s;
}
#rgbar.act::before {
  background: var(--accent);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
  -webkit-transition: all ease 0.4s;
}