/* ===== PRODUCTOS ===== */

.productos{
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 6%;
    background: #f8f8f8;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 200px));
    justify-content: center;
    gap: 14px;
    align-items: stretch;
}

.producto{
    max-width: 200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.producto:hover{
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0,0,0,.12);
}

.producto img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #fff;
}

.producto h3{
    color: #003B66;
    font-size: 20px;
    font-weight: 600;
    margin: 16px 16px 8px;
    letter-spacing: 0.4px;
}

.precio{
    color: #111;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 18px;
}

.comprar{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 36px);
    max-width: 220px;
    margin: 0 auto 18px;
    padding: 10px 0;
    text-decoration: none;
    background: #c1121f;
    color: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: background .3s ease, transform .3s ease;
}

.comprar::before{
    content: "🛍";
}

.comprar:hover{
    background: #9b0d1a;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .productos{
        padding: 40px 6%;
    }

    .producto img{
        height: 200px;
    }
}

.titulo-seccion{
    text-align: center;
    margin-bottom: 50px;
}

.titulo-seccion h2{
    font-size: 50px;
    color: #003B66;
    margin-bottom: 10px;
}

.titulo-seccion p{
    color: #666;
    font-size: 20px;
}

/* CATEGORÍAS */

.categorias{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;

    margin-bottom: 50px;
}

.categoria{
    border: none;
    background: white;
    padding: 15px 28px;
    border-radius: 40px;

    cursor: pointer;
    font-size: 17px;
    transition: .3s;
}

.categoria:hover,
.categoria.active{
    background: #C6A540;
    color: #003B66;
}

/* CARDS */

.productos-grid{
    display: grid;
    grid-template-columns:
    repeat(auto-fit, minmax(300px,1fr));

    gap: 30px;
}

.producto-card{
    background: white;
    border-radius: 25px;
    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.producto-card:hover{
    transform: translateY(-8px);
}

.producto-card img{
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.producto-info{
    padding: 25px;
}

.producto-info h3{
    color: #003B66;
    margin-bottom: 10px;
}

.producto-info p{
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-producto{
    display: inline-block;
    background: #003B66;
    color: white;

    text-decoration: none;
    padding: 12px 22px;
    border-radius: 30px;

    transition: .3s;
}

.btn-producto:hover{
    background: #003B66;
}