/* /css/boulevar-fixes.css */
/* Versión limpia - sin reglas innecesarias */

/* ============================================
   ESTILOS PARA EL HEADER MODERNO DE BOULEVAR
   ============================================ */

/* Header principal */
.boulevar-header {
    background: #ffffff;
    border-bottom: 1px solid #eef2f8;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header desktop */
.boulevar-header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1440px;
    margin: 0 auto;
    gap: 20px;
}

.boulevar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.boulevar-logo-img {
    height: 40px;
    width: auto;
}

/* Controles centrales */
.boulevar-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
}

/* Selector de tiendas */
.boulevar-store-selector {
    min-width: 220px;
}

.boulevar-store-selector select {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    background: #f8fafc;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.boulevar-store-selector select:focus {
    outline: none;
    border-color: #ff6b4a;
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

/* Selector de vistas */
.boulevar-view-selector {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 40px;
}

.boulevar-view-btn {
    background: none;
    border: none;
    padding: 8px 14px;
    border-radius: 32px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.boulevar-view-btn i {
    font-size: 1rem;
}

.boulevar-view-btn.active {
    background: #ff6b4a;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
}

/* Botón de filtros */
.filter-trigger {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-trigger:hover {
    background: #f1f5f9;
    border-color: #ff6b4a;
    color: #ff6b4a;
}

.filter-trigger.active {
    background: #ff6b4a;
    color: white;
    border-color: #ff6b4a;
}

/* Acciones del header */
.boulevar-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.boulevar-icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #334155;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boulevar-icon-btn:hover {
    background: #f1f5f9;
    color: #ff6b4a;
}

/* Header móvil (se oculta al scroll) */
.boulevar-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.boulevar-header-mobile .boulevar-logo-img {
    height: 36px;
}

.boulevar-header-hidden {
    transform: translateY(-100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .boulevar-header-desktop {
        display: none;
    }
    
    .boulevar-header-mobile {
        display: flex;
    }
    
    .boulevar-controls {
        padding: 12px 16px;
        background: #ffffff;
        border-bottom: 1px solid #eef2f8;
        justify-content: space-between;
    }
    
    .boulevar-store-selector {
        flex: 1;
        min-width: auto;
    }
    
    .boulevar-store-selector select {
        width: 100%;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .boulevar-view-selector {
        flex-shrink: 0;
    }
    
    .boulevar-view-btn span {
        display: none;
    }
    
    .boulevar-view-btn {
        padding: 6px 10px;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .boulevar-header-desktop {
        display: flex;
    }
    
    .boulevar-header-mobile {
        display: none;
    }
}

/* ============================================
   MODAL DE TIENDAS
   ============================================ */
.stores-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    z-index: 1100;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stores-modal.active {
    transform: translateY(0);
}

.stores-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 80vh;
}

.stores-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f8;
}

.stores-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1f36;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.stores-modal-header h3 i {
    color: #ff6b4a;
   font-size: 1.4rem;
}

.stores-modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #94a3b8;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.stores-modal-close:hover {
    background: #f1f5f9;
    color: #334155;
}

.stores-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.stores-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 10px 16px;
    margin-bottom: 20px;
}

.stores-search i {
    color: #94a3b8;
    font-size: 1rem;
}

.stores-search input {
    flex: 1;
    border: none;
    background: none;
    font-size: 0.9rem;
    outline: none;
}

.stores-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.store-item:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.store-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    flex: 1;
}

.store-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1f36;
    margin-bottom: 4px;
}

.store-info p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.store-item i {
    color: #94a3b8;
    font-size: 0.9rem;
}

.stores-loading, .stores-empty {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.stores-empty i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.stores-empty p {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.stores-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.stores-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .stores-modal {
        border-radius: 24px 24px 0 0;
    }
    
    .store-item {
        padding: 10px;
    }
    
    .store-logo {
        width: 44px;
        height: 44px;
    }
    }



.stores-section-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f8;

}
