/* ===== HOMEPAGE ===== */

/* ===== BOTONES y AJUSTES GENERALES del BANNER HERO ===== */

.hero-catalogo {
    background-size: cover;              /* ← La imagen cubre todo */
    background-position: 70% 30%;        /* ← Posición personalizada */
    background-repeat: no-repeat;
    padding: 5rem 0rem;                     /* ← Padding generoso */
    width: 100%;                          /* ← Ocupa todo el ancho */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn-filtrar,
.hero-buttons .btn-limpiar {
    padding: 0.6rem 2rem !important;
    font-size: 0.95rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    width: auto;
}

.hero-buttons .btn-filtrar {
    background: var(--color-primario);
    color: white;
    border: 1px solid transparent;
}

.hero-buttons .btn-limpiar {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* ===== AVISOS ===== */
.aviso {
    background: white;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1rem auto;
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
}

.aviso-alta {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.aviso-normal {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.aviso-baja {
    border-left-color: #3b82f6;
    background: #eff6ff;
}

.aviso-icono {
    font-size: 1.5rem;
}

.aviso-contenido {
    flex: 1;
}

.aviso-titulo {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.aviso-texto {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.aviso-link {
    color: var(--color-primario);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.aviso-link:hover {
    text-decoration: underline;
}


/* ===== GRID DE PRODUCTOS ===== */
.grid-catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 0rem;
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

@media (max-width: 768px) {
    .grid-catalogo {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
}