* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: #2d3748;
            background: #f7fafc;
            line-height: 1.6;
        }

      .container .btn,
.page-header .btn,
.filters-section .btn,
.stores-grid .btn,
.empty-state .btn,
.modal-buttons .btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.container .btn-outline,
.modal-buttons .btn-outline {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.container .btn-outline:hover,
.modal-buttons .btn-outline:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

.container .btn-primary,
.modal-buttons .btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
}

.container .btn-primary:hover,
.modal-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-icon {
    background: transparent;
    color: #718096;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.btn-icon:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 6rem 5% 3rem;
        }

        .page-header {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 3rem 5% 2rem;
            margin-top: 80px;
            text-align: center;
            position: relative;
        }

        .back-button {
            position: absolute;
            left: 5%;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .back-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) translateX(-5px);
        }

        .page-header h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 0.8rem;
        }

        .page-header h1 i {
            color: #ffd700;
        }

        .page-header p {
            font-size: 1.2rem;
            opacity: 0.95;
            font-weight: 300;
        }

        /* FILTROS */
        .filters-section {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        }

        .filters-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0;
            cursor: pointer;
            user-select: none;
        }

        .filters-header h2 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2d3748;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .toggle-filters {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .clear-filters {
            color: #ff6b6b;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }

        .clear-filters:hover {
            transform: translateX(-3px);
        }

        .toggle-arrow {
            width: 40px;
            height: 40px;
            background: #f7fafc;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ff6b6b;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .toggle-arrow:hover {
            background: #ff6b6b;
            color: white;
            transform: scale(1.1);
        }

        .toggle-arrow.rotated {
            transform: rotate(180deg);
        }

        .toggle-arrow.rotated:hover {
            transform: rotate(180deg) scale(1.1);
        }

        .filters-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, margin-top 0.4s ease;
        }

        .filters-content.expanded {
            max-height: 500px;
            margin-top: 1.5rem;
        }

        .filters-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .filter-group label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #4a5568;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .filter-group select,
        .filter-group input {
            padding: 0.8rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.95rem;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
            background: white;
        }

        .filter-group select:focus,
        .filter-group input:focus {
            outline: none;
            border-color: #ff6b6b;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
        }

        .search-bar {
            grid-column: 1 / -1;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
        }

        .search-bar i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #718096;
            font-size: 1.1rem;
        }

        /* RESULTADOS */
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .results-count {
            font-size: 1.1rem;
            color: #4a5568;
        }

        .results-count strong {
            color: #ff6b6b;
            font-weight: 700;
        }

        .view-toggle {
            display: flex;
            gap: 0.5rem;
        }

        .view-btn {
            width: 45px;
            height: 45px;
            border: 2px solid #e2e8f0;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #718096;
            font-size: 1.1rem;
        }

        .view-btn:hover,
        .view-btn.active {
            border-color: #ff6b6b;
            background: #ff6b6b;
            color: white;
        }

        /* GRID DE COMERCIOS */
        .stores-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 2rem;
        }

        .store-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            cursor: pointer;
        }

        .store-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
        }

        /* BADGE PREMIUM */
        .premium-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #2d3748;
            padding: 0.5rem 1.2rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            z-index: 2;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        }

        /* BOTÓN DE SEGUIR */
        .follow-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: white;
            color: #718096;
            padding: 0.6rem 1.2rem;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            z-index: 2;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border: 2px solid transparent;
        }

        .follow-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .follow-btn.following {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }

        .follow-btn.following:hover {
            background: #ff5252;
        }

        .store-header {
            width: 100%;
            height: 180px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            position: relative;
        }

        .store-content {
            padding: 2rem;
        }

        .store-category {
            display: inline-block;
            background: #f7fafc;
            color: #f91313;
            padding: 0.4rem 1rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .store-name {
            font-size: 1.6rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 0.8rem;
        }

        .store-description {
            color: #718096;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .store-stats {
            display: flex;
            gap: 2rem;
            padding-top: 1.5rem;
            border-top: 2px solid #f7fafc;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .stat-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: #ff6b6b;
        }

        .stat-label {
            font-size: 0.8rem;
            color: #718096;
            font-weight: 500;
        }

        .store-footer {
            padding: 0 2rem 2rem;
        }

        .btn-visit-store {
            width: 100%;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
            color: white;
            padding: 1rem;
            border-radius: 15px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 1rem;
        }

        .btn-visit-store:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
        }

        /* ESTADO VACÍO */
        .empty-state {
            text-align: center;
            padding: 5rem 2rem;
            grid-column: 1 / -1;
        }

        .empty-state i {
            font-size: 6rem;
            color: #cbd5e0;
            margin-bottom: 1.5rem;
        }

        .empty-state h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1rem;
        }

        .empty-state p {
            color: #718096;
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .container {
                padding: 5rem 3% 2rem;
            }

            .page-header {
                padding: 4rem 3% 2rem;
                text-align: center;
            }

            .page-header h1 {
                font-size: 2rem;
            }

            .page-header p {
                font-size: 1rem;
            }

            .back-button {
                position: static;
                transform: none;
                margin: 0 auto 1.5rem;
                display: inline-flex;
            }

            .back-button:hover {
                transform: translateX(-5px);
            }

            .filters-section {
                padding: 1.5rem;
            }

            .filters-grid {
                grid-template-columns: 1fr;
            }

            .results-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .stores-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .nav-buttons .btn-outline {
                display: none;
            }

            .nav-buttons .btn-primary {
                display: none;
            }

            .follow-btn {
                font-size: 0.75rem;
                padding: 0.5rem 1rem;
            }
        }

        @media (max-width: 480px) {
            .filters-header {
                flex-direction: row;
                align-items: center;
                gap: 0.5rem;
            }

            .filters-header h2 {
                font-size: 1.1rem;
            }

            .toggle-filters {
                gap: 0.5rem;
            }

            .clear-filters {
                font-size: 0.8rem;
                white-space: nowrap;
            }

            .toggle-arrow {
                width: 35px;
                height: 35px;
            }

            .store-stats {
                gap: 1rem;
            }
        }

        /* ANIMACIÓN DE CARGA */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .store-card {
            animation: fadeIn 0.5s ease;
        }


        /* ================================================================
   VISTA DE LISTA - COMERCIOS
   ================================================================ */

/* Contenedor en modo lista */
.stores-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card en modo lista */
.stores-grid.list-view .store-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    grid-template-rows: auto;
    grid-template-areas: 
        "header content footer";
    border-radius: 16px;
    overflow: hidden;
    min-height: auto;
    max-height: none;
}

/* Header (imagen/icono) en modo lista */
.stores-grid.list-view .store-header {
    grid-area: header;
    width: 200px;
    height: 100%;
    min-height: 180px;
    border-radius: 16px 0 0 16px;
    font-size: 3rem;
}

/* Contenido en modo lista */
.stores-grid.list-view .store-content {
    grid-area: content;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stores-grid.list-view .store-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.stores-grid.list-view .store-description {
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stores-grid.list-view .store-stats {
    padding-top: 1rem;
    gap: 2.5rem;
    flex-direction: row;
    flex-wrap: wrap;
}

.stores-grid.list-view .stat-item {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.stores-grid.list-view .stat-number {
    font-size: 1.4rem;
}

.stores-grid.list-view .stat-label {
    font-size: 0.85rem;
}

/* Footer en modo lista */
.stores-grid.list-view .store-footer {
    grid-area: footer;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #f0f0f0;
    background: #fafafa;
}

.stores-grid.list-view .btn-visit-store {
    width: auto;
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* Badge premium en modo lista */
.stores-grid.list-view .premium-badge {
    top: 10px;
    left: 10px;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
}

/* Botón seguir en modo lista */
.stores-grid.list-view .follow-btn {
    top: auto;
    bottom: 10px;
    right: auto;
    left: 10px;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

/* ================================================================
   VISTA DE LISTA - RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 992px) {
    .stores-grid.list-view .store-card {
        grid-template-columns: 160px 1fr;
        grid-template-areas: 
            "header content"
            "footer footer";
    }
    
    .stores-grid.list-view .store-header {
        width: 160px;
        min-height: 160px;
        font-size: 2.5rem;
    }
    
    .stores-grid.list-view .store-footer {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding: 1rem 1.5rem;
    }
    
    .stores-grid.list-view .btn-visit-store {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .stores-grid.list-view .store-card {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "content"
            "footer";
    }
    
    .stores-grid.list-view .store-header {
        width: 100%;
        height: 140px;
        min-height: 140px;
        border-radius: 16px 16px 0 0;
        font-size: 3rem;
    }
    
    .stores-grid.list-view .store-content {
        padding: 1.5rem;
    }
    
    .stores-grid.list-view .store-name {
        font-size: 1.3rem;
    }
    
    .stores-grid.list-view .store-stats {
        gap: 1.5rem;
    }
    
    .stores-grid.list-view .stat-item {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .stores-grid.list-view .store-footer {
        padding: 0 1.5rem 1.5rem;
        background: transparent;
    }
    
    /* Badges en mobile lista */
    .stores-grid.list-view .premium-badge {
        top: 10px;
        left: 10px;
    }
    
    .stores-grid.list-view .follow-btn {
        top: 10px;
        right: 10px;
        bottom: auto;
        left: auto;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .stores-grid.list-view .store-header {
        height: 120px;
        min-height: 120px;
        font-size: 2.5rem;
    }
    
    .stores-grid.list-view .store-content {
        padding: 1rem;
    }
    
    .stores-grid.list-view .store-name {
        font-size: 1.2rem;
    }
    
    .stores-grid.list-view .store-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
    }
    
    .stores-grid.list-view .store-footer {
        padding: 0 1rem 1rem;
    }
}

/* ================================================================
   MEJORAS VISUALES PARA BOTONES DE VISTA
   ================================================================ */

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: #f7fafc;
    padding: 0.3rem;
    border-radius: 14px;
}

.view-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #718096;
    font-size: 1rem;
}

.view-btn:hover {
    background: #e2e8f0;
    color: #4a5568;
}

.view-btn.active {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Transición suave al cambiar de vista */
.stores-grid {
    transition: all 0.3s ease;
}

.store-card {
    transition: all 0.3s ease;
}

/* Empty state en modo lista */
.stores-grid.list-view .empty-state {
    grid-column: 1;
    padding: 4rem 2rem;
}

/* ================================================================
   ESTILOS PARA BOTONES DE ACCIÓN - VARIANTES
   ================================================================ */

/* Botón Ver ofertas (cuando no tiene página propia) */
.btn-visit-store.btn-view-offers {
    background: linear-gradient(135deg, #bc1616 0%, #e50303 100%);
}
    
.btn-visit-store.btn-view-offers:hover {
    background: linear-gradient(135deg, #ea0000 0%, #e50303 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Botón deshabilitado - Sin ofertas activas */
.btn-visit-store.btn-no-offers {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-visit-store.btn-no-offers:hover {
    transform: none;
    box-shadow: none;
    background: #e2e8f0;
}

.btn-visit-store.btn-no-offers i {
    color: #94a3b8;
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */

.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transition: bottom 0.3s ease;
    min-width: 280px;
    max-width: 90%;
}

.toast.show {
    bottom: 30px;
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.toast-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #64748b;
}

/* ================================================================
   MODAL LOGIN
   ================================================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon i {
    font-size: 1.75rem;
    color: white;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modal-buttons .btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    border: none;
}

.modal-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.modal-buttons .btn-outline {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.modal-buttons .btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */

@media (max-width: 480px) {
    .toast {
        min-width: auto;
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-icon {
        width: 56px;
        height: 56px;
    }
    
    .modal-icon i {
        font-size: 1.5rem;
    }
}

/* ================================================================
   BANNER EN STORE HEADER - COMERCIOS
   ================================================================ */

/* Store header con banner */
.store-header.has-banner {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Ocultar icono cuando hay banner */
.store-header.has-banner i {
    display: none;
}

/* Overlay sutil para mejorar legibilidad de badges sobre banner */
.store-header.has-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        transparent 40%,
        transparent 60%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
}

/* Asegurar que badges estén sobre el overlay */
.store-card .premium-badge,
.store-card .follow-btn {
    z-index: 3;
}

/* ================================================================
   RESPONSIVE - BANNER EN STORE HEADER
   ================================================================ */

/* Vista de lista - banner */
.stores-grid.list-view .store-header.has-banner {
    background-size: cover !important;
    background-position: center !important;
}

/* Tablet */
@media (max-width: 992px) {
    .stores-grid.list-view .store-header.has-banner {
        min-height: 160px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .store-header.has-banner {
        background-position: center center !important;
    }
    
    .stores-grid.list-view .store-header.has-banner {
        height: 140px;
        min-height: 140px;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .stores-grid.list-view .store-header.has-banner {
        height: 120px;
        min-height: 120px;
    }
}

/* PWA Standalone */
@media (display-mode: standalone) {
    .store-header.has-banner {
        background-size: cover !important;
    }
}

/* ================================================================
   INDICADOR ABIERTO/CERRADO
   ================================================================ */

.store-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.store-status.open {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.store-status.closed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.store-status.open .status-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-green 2s infinite;
}

.store-status.closed .status-dot {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.status-text {
    line-height: 1;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
    }
}

/* Vista de lista - ajustes */
.stores-grid.list-view .store-status {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 480px) {
    .store-status {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
        gap: 0.4rem;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
}

/* ================================================================
   BADGE EXPRESS EN VERIFICACIÓN
   ================================================================ */
.store-card .badge-express-verificacion {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-card .badge-express-verificacion i {
    font-size: 0.65rem;
    animation: pulse-clock 2s infinite;
}

@keyframes pulse-clock {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Ajustar premium badge cuando hay badge de verificación */
.store-card:has(.badge-express-verificacion) .premium-badge {
    top: 50px;
}