/* --- ESTILOS DEL BUSCADOR Y CATÁLOGO --- */
.catalog-header {
    margin-bottom: 30px;
}
.catalog-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}
.catalog-header p {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

/* Buscador Inteligente */
.search-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
    position: relative;
}
.search-container input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.search-container input:focus {
    box-shadow: 0 5px 20px rgba(0, 176, 240, 0.3);
}
.search-container i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contenedor Scrollable para Pestañas en Móvil */
.catalog-tabs-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: max-content; 
}
.tab-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Animaciones Tarjetas */
.catalog-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.catalog-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.catalog-item p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Botón Flotante WhatsApp */
.wa-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}
.wa-flotante:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

@media (max-width: 768px) {
    .catalog-tabs {
        justify-content: flex-start;
    }
    .catalog-header h2 { font-size: 2rem; }
    .wa-flotante { width: 50px; height: 50px; font-size: 30px; bottom: 20px; right: 20px; }
}