/* =========================
   RESET BÁSICO
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #fffaf5;
    color: #333;
}

/* =========================
   HERO / BIENVENIDA
========================= */
.hero {
    background: linear-gradient(180deg, #ffb703, #fb8500);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.hero .btn {
    display: inline-block;
    margin: 8px;
    padding: 12px 30px;
    background-color: #ff4d6d;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

.hero .btn:hover {
    background-color: #e63950;
}

/* =========================
   PRODUCTOS
========================= */
.productos {
    padding: 60px 40px;
}

.productos h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ff4d6d;
}

/* CONTENEDOR */
.contenedor-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* TARJETA */
.producto-card {
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.producto-card:hover {
    transform: translateY(-5px);
}

/* IMAGEN */
.producto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}

/* TITULO */
.producto-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* MEDIDA */
.medida {
    font-size: 14px;
    color: #777;
}

/* PRECIO */
.precio {
    font-size: 18px;
    font-weight: bold;
    color: #e63950;
    margin: 10px 0;
}

/* BOTONES */
.acciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BOTÓN DETALLES */
.btn-detalles {
    display: inline-block;
    padding: 10px;
    background-color: #43aa8b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-detalles:hover {
    background-color: #2d6a4f;
}

/* =========================
   MENSAJE SIN PRODUCTOS
========================= */
.productos p {
    text-align: center;
    font-size: 18px;
    color: #666;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {
    .productos {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }
}
/* BOTÓN AGREGAR AL CARRITO */
.btn-carrito {
    background: linear-gradient(135deg, #00adfe, #00adfe);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

/* EFECTO HOVER */
.btn-carrito:hover {
    background: linear-gradient(135deg, #206881, #206881);
    transform: scale(1.05);
}

/* EFECTO CLICK */
.btn-carrito:active {
    transform: scale(0.95);
}

