/* .header {
    padding: 24px 32px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
} */

.header{
    position: relative;
    width: 100%;
    z-index: 10;

     background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.catalogo{
    width:90%;
    max-width:1400px;
    margin:auto;
    padding:80px 0;
}

.catalogo__titulo{
    text-align:center;
    margin-bottom:50px;
}

.productos-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.producto-card{
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: .3s;
}

.hero-productos{
    width: 100%;
    min-height: 420px;

    display: flex;
    align-items: center;

    background: url("../images/productosCabecera.png") no-repeat right center;
    background-size: cover;

    position: relative;
    overflow: hidden;
}
/* .hero-productos{
    position: relative;
    height: 420px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image: url("../images/productosCabecera.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;    
    background-color: #fff;
} */

.hero-productos__overlay{
    position:absolute;
    inset:0;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.96) 15%,
        rgba(255,255,255,0.88) 30%,
        rgba(255,255,255,0.55) 45%,
        rgba(255,255,255,0.15) 65%,
        rgba(255,255,255,0.00) 90%
    );
}

.hero-productos__content{
    position:relative;
    z-index:2;

    width:min(600px,90%);
    margin-left:8%;

    color:#17365d;
}

.hero-productos__content h1{
    font-size:56px;
    font-weight:800;
    margin-bottom:18px;
}

.hero-productos__content p{
    font-size:20px;
    line-height:1.6;
    color:#4f5b67;
}

/* 

.hero-productos{
    margin-top: 80px;
}

.hero-productos{
    padding-top: 80px;
} */

.producto-card:hover{
    transform:translateY(-8px);
}

/* .producto-card__imagen{
    height:250px;
    overflow:hidden;
} */
.producto-card__imagen{
    height: 180px;
    overflow: hidden;         /* Alto fijo */
    display: flex;
    align-items: center;    /* Centrado vertical */
    justify-content: center;/* Centrado horizontal */
    background: #f7f7f7;
    padding: 15px;
}


/* .producto-card__imagen img{
    width:100%;
    height:100%;
    object-fit:cover;
} */


.producto-card__imagen img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.producto-card__contenido{
    padding: 18px;
    color: #0a0101;
    /* color: #f7f7f7; */
}
.producto-card__contenido h3{
    font-size: 20px;
    margin-bottom: 10px;
}

.producto-card__contenido p{
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* .btn{
    width:100%;
    text-align:center;
} */


.btn {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    padding: 14px 20px;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;

    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}

.btn--primary:hover {
    background: #4b4d50; /* Cambiá este color por el azul que prefieras */
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1200px){
    .productos-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px){
    .productos-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .productos-grid{
        grid-template-columns: 1fr;
    }
}


/*=========================================
POPUP PRODUCTO
=========================================*/

.popup{

    position:fixed;
    inset:0;

    display:none;

    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.55);

    z-index:9999;

    padding:30px;

}

.popup.activo{

    display:flex;

}

.popup__box{

    position:relative;

    background:#fff;

    width:100%;
    max-width:1050px;

    border-radius:22px;

    overflow:hidden;

    display:grid;

    grid-template-columns:42% 58%;

    box-shadow:0 25px 60px rgba(0,0,0,.25);

    animation:popup .30s ease;

}

@keyframes popup{

    from{

        opacity:0;
        transform:translateY(25px) scale(.96);

    }

    to{

        opacity:1;
        transform:none;

    }

}

.popup__imagen{

    background:#f5f7fb;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:40px;

}

.popup__imagen img{

    width:100%;
    max-height:420px;

    object-fit:contain;

}

.popup__contenido{

    padding:50px;

}

.popup__categoria{

    color:#0A5DB8;

    font-weight:700;

    letter-spacing:2px;

    font-size:13px;

}

.popup__contenido h2{

    margin-top:15px;

    font-size:40px;

    color:#1a2d4a;

}

.popup__contenido p{

    margin-top:25px;

    color:#5d6775;

    font-size:18px;

    line-height:1.8;

}

.popup__botones{

    margin-top:40px;

    display:flex;

    gap:15px;

}

.popup__cerrar{

    position:absolute;

    right:18px;
    top:18px;

    width:45px;
    height:45px;

    border:none;

    border-radius:50%;

    background:#0A5DB8;

    color:#fff;

    cursor:pointer;

    font-size:18px;

}

.popup__cerrar:hover{

    background:#003c82;

}

.btn--secondary{

    background:#6c757d;

    color:#fff;

}

.btn--secondary:hover{

    background:#565e64;

}

@media(max-width:900px){

.popup__box{

    grid-template-columns:1fr;

}

.popup__contenido{

    padding:30px;

}

.popup__contenido h2{

    font-size:32px;

}

.popup__imagen{

    padding:25px;

}

.popup__botones{

    flex-direction:column;

}

}