﻿.mobile-filter-floating-btn {
    display: none;
    position: fixed;
    bottom: 130px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #3483fa;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(52, 131, 250, 0.4);
    cursor: pointer;
    z-index: 997;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}
    .mobile-filter-floating-btn:hover {
        background: #2968c8;
        transform: scale(1.05);
    }

    .mobile-filter-floating-btn:active {
        transform: scale(0.95);
    }

    .mobile-filter-floating-btn .mobile-filter-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ff4444;
        color: white;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 8px;
        border-radius: 12px;
        min-width: 24px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
.products-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10.833rem;
    background-color: rgb(31, 78, 150); /* Azul oscuro */
    margin-bottom: 2rem;
    color: #ffffff; /* Forzar color texto blanco para todo el banner */
}

    .products-banner #product-heading{
        text-align: center;
        font-size: 2rem;
        color: #ffffff !important; /* !important para asegurar contraste AAA sobre azul */
        margin: 0;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Sombra suave para mejorar lectura */
    }

    .products-banner p {
        text-align: center;
        font-size: 1rem;
        color: #e2e8f0; /* Blanco hueso (AA) en lugar de gris oscuro */
        margin: 0;
    }

/* Modo Alto Contraste para el Banner */
body.high-contrast-mode .products-banner {
    background-color: #000000 !important;
    border-bottom: 2px solid #ffffff;
}

/* ========== CONTENEDORES PRINCIPALES ========== */
.products-container {
    display: flex;
    margin-top: 2rem;
    position: relative;
    justify-content: center;
}

.products-main {
    flex: 1;
    min-width: 0;
}

/* ========== CABECERA DE PRODUCTOS ========== */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}

.products-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    margin: 0;
}

.results-info {
    color: var(--color-text-muted);
    font-size: 14px;
    margin: 8px 0 0 0;
}

/* ========== PAGINACIÓN ========== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-info {
    margin: 0 16px;
    font-size: 14px;
    color: #666;
}

.pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

    .pagination-btn:hover:not(.disabled) {
        background: #3483fa;
        color: white;
        border-color: #3483fa;
    }

    .pagination-btn.active {
        background: #3483fa;
        color: white;
        border-color: #3483fa;
    }

    .pagination-btn.disabled {
        background: #f5f5f5;
        color: #ccc;
        cursor: not-allowed;
        pointer-events: none;
    }

/* ========== ESTADO VACÍO ========== */
.empty-state {
    text-align: center;
    padding: 64px 16px;
    color: #666;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 24px;
}

.filter-btn {
    background: #3483fa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

    .filter-btn:hover {
        background: #2968c8;
        color: white;
        text-decoration: none;
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .container {
        max-width: unset;
    }

    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .pagination-container {
        gap: 4px;
    }

    .pagination-info {
        order: -1;
        width: 100%;
        text-align: center;
        margin: 0 0 16px 0;
    }
}
