/* =====================================
   RESET GENERAL
===================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#f5f6f8;
    color:#222;
}

/* =====================================
   TITULO
===================================== */
h1{
    text-align:center;
    margin:30px 0;
    font-size:28px;
    font-weight:bold;
}

/* =====================================
   CONTENEDOR PRODUCTOS
===================================== */
.productos{
    width:95%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
    gap:20px;
    padding-bottom:50px;
}

/* =====================================
   CARD PRODUCTO
===================================== */
.card{
    background:#fff;
    border-radius:14px;
    padding:15px;
    box-shadow:0 6px 15px rgba(0,0,0,0.08);
    transition:0.25s ease;
    position:relative;
    display:flex;
    flex-direction:column;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:200px;
    object-fit:contain;
    margin-bottom:10px;
}

/* =====================================
   TEXTO
===================================== */
.card h3{
    font-size:16px;
    margin-bottom:5px;
    min-height:40px;
}

.card small{
    color:#777;
    margin-bottom:8px;
}

/* =====================================
   PRECIOS MEJORADOS 🔥
===================================== */

/* Precio normal tachado */
.precio-normal{
    font-size:14px;
    color:#8a8a8a;
    text-decoration:line-through;
    margin-bottom:2px;
}

/* Precio oferta verde grueso */
.precio-oferta{
    font-size:22px;
    font-weight:900;
    color:#00a650;
    margin-bottom:8px;
}

/* =====================================
   SELECT VARIANTES
===================================== */
select{
    margin-top:8px;
    padding:8px;
    border-radius:6px;
    border:1px solid #ccc;
    font-size:14px;
    width:100%;
    background:#fff;
    cursor:pointer;
}

/* =====================================
   CANTIDAD GOLD STYLE
===================================== */
.qty{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
    gap:6px;
}

/* Botones - y + */
.qty button{
    width:34px;
    height:34px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-size:18px;
    font-weight:bold;
    background:#ffcc00;   /* 🔥 amarillo fuerte */
    color:#000;
    transition:0.2s ease;
}

.qty button:hover{
    filter:brightness(0.92);
}

.qty button:active{
    transform:scale(0.95);
}

/* Input negro centro */
.qty input{
    width:50px;
    height:34px;
    text-align:center;
    border:none;
    border-radius:6px;
    background:#000;
    color:#fff;
    font-weight:700;
    font-size:15px;
    outline:none;
}

/* =====================================
   INDICADOR EN CARRITO
===================================== */
.en-carrito{
    position:absolute;
    top:10px;
    right:10px;
    background:#00a650;
    color:#fff;
    padding:4px 8px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
}

/* =====================================
   EFECTO RESPONSIVE EXTRA
===================================== */
@media (max-width:600px){

    h1{
        font-size:22px;
    }

    .card img{
        height:170px;
    }

    .card h3{
        font-size:14px;
    }

    .precio-oferta{
        font-size:18px;
    }

}
