/* ----------------------------- */
/* PÁGINA CATÁLOGO               */
/* ----------------------------- */

/* Banner principal */
.catalogo-banner {
    position: relative;
    min-height: 400px;
    background-image: url('https://web.archive.org/web/20230529223741im_/https://budilafkenmapu.cl/wp-content/uploads/2020/09/00011-1024x923.png');
    background-size: cover;
    background-position: 80% 19%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 3rem;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.divider {
    width: 67px;
    height: 5px;
    background: #4DB7B3;
    margin: 0 auto;
}

/* Sección filtro */
.filtro-section {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.filtro-titulo {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.filtro-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #4DB7B3;
}

.filtro-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filtro-btn {
    background: transparent;
    border: 2px solid #4DB7B3;
    color: #4DB7B3;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 30px;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: #4DB7B3;
    color: #fff;
}

/* Grid de productos */
.productos-grid-section {
    padding: 60px 20px;
    background: #fff;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.producto-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.producto-link {
    text-decoration: none;
    display: block;
}

.producto-imagen {
    overflow: hidden;
    background: #f5f5f5;
}

.producto-imagen img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

.producto-info {
    padding: 20px;
    text-align: center;
}

.producto-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.producto-categoria {
    font-size: 0.8rem;
    color: #4DB7B3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sección destacada */
.destacado-section {
    padding: 60px 20px;
    background: #f0f0f0;
}

.destacado-titulo {
    text-align: center;
    font-size: 2rem;
    color: #4DB7B3;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.destacado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.destacado-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.destacado-item:hover {
    transform: translateY(-5px);
}

.destacado-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.destacado-descripcion {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-top: 40px;
    font-style: italic;
}

/* Sección pronto tienda en línea */
.tienda-online-section {
    padding: 50px 20px;
    background: #4DB7B3;
    text-align: center;
}

.tienda-online-section h3 {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Mensaje tienda física */
.tienda-fisica-mensaje {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.tienda-fisica-mensaje p {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

/* Link activo en menú */
.nav a.active {
    color: #4DB7B3;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 850px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .destacado-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 550px) {
    .banner-content h1 {
        font-size: 1.6rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .filtro-titulo {
        font-size: 1.4rem;
    }
    
    .filtro-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .destacado-titulo {
        font-size: 1.5rem;
    }
    
    .destacado-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tienda-online-section h3 {
        font-size: 1.3rem;
    }
}