* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}


/* CABECERA */

header {
    background: #111;
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 10%;
}


header h1 {
    font-size: 28px;
}


nav a {
    color: white;
    text-decoration: none;

    margin-left: 25px;

    font-size: 16px;
}


nav a:hover {
    opacity: 0.7;
}


/* PORTADA */

.hero {
    text-align: center;

    padding: 100px 20px;

    background: white;
}


.hero h2 {
    font-size: 45px;

    margin-bottom: 20px;
}


.hero p {
    font-size: 18px;

    margin-bottom: 30px;
}


/* BOTONES */

button {
    background: #111;

    color: white;

    border: none;

    padding: 12px 20px;

    border-radius: 6px;

    cursor: pointer;

    font-size: 15px;
}


button:hover {
    opacity: 0.75;
}


/* PRODUCTOS */

#productos {
    padding: 80px 10%;

    text-align: center;
}


#productos h2 {
    font-size: 32px;

    margin-bottom: 40px;
}


.productos {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;
}


.producto {
    background: white;

    width: 260px;

    padding: 20px;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

    transition: 0.3s;
}


.producto:hover {
    transform: translateY(-8px);
}


.producto img {
    width: 100%;

    border-radius: 10px;

    margin-bottom: 20px;
}


.producto h3 {
    font-size: 22px;

    margin-bottom: 15px;
}


.producto p {
    margin-bottom: 15px;
}


.precio {
    font-size: 22px;

    font-weight: bold;
}


/* CARRITO */

#carrito {
    background: white;

    max-width: 800px;

    margin: 50px auto;

    padding: 40px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}


#carrito h2 {
    text-align: center;

    margin-bottom: 30px;
}


.producto-carrito {
    background: #f4f4f4;

    padding: 20px;

    margin-bottom: 15px;

    border-radius: 10px;
}


#total {
    font-size: 25px;

    font-weight: bold;
}


/* FOOTER */

footer {
    background: #111;

    color: white;

    text-align: center;

    padding: 30px;

    margin-top: 50px;
}


footer p {
    margin: 8px;
}


/* MOVIL */

@media (max-width: 600px) {

    header {
        flex-direction: column;

        gap: 15px;
    }


    nav a {
        margin: 10px;
    }


    .hero h2 {
        font-size: 32px;
    }


    #carrito {
        margin: 30px 15px;

        padding: 25px;
    }
.cantidad {
    font-weight: bold;
    margin-bottom: 10px;
}
}/* =========================
   NUEVA CABECERA
========================= */

.logo h1 {
    font-size: 24px;
    letter-spacing: 2px;
}


.logo p {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 5px;
}


/* =========================
   NUEVA PORTADA
========================= */

.hero {

    min-height: 500px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 80px 20px;

}


.hero-contenido {

    max-width: 700px;

}


.hero-pequeno {

    font-size: 14px;

    letter-spacing: 4px;

    margin-bottom: 20px;

    font-weight: bold;

}


.hero h2 {

    font-size: 55px;

    margin-bottom: 25px;

}


.hero-texto {

    font-size: 19px;

    line-height: 1.6;

    margin-bottom: 40px;

}


.hero-boton {

    display: inline-block;

    background: #111;

    color: white;

    text-decoration: none;

    padding: 16px 30px;

    border-radius: 30px;

    font-size: 16px;

    transition: 0.3s;

}


.hero-boton:hover {

    transform: translateY(-3px);

}


/* =========================
   MOVIL
========================= */

@media (max-width: 600px) {

    .hero h2 {

        font-size: 38px;

    }


    .hero-texto {

        font-size: 16px;

    }


    .logo {

        text-align: center;

    }

}/* =========================
   VENTAJAS
========================= */

.ventajas {

    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;

    padding: 70px 10%;

    background: white;

}


.ventaja {

    width: 280px;

    text-align: center;

    padding: 30px 20px;

}


.ventaja h3 {

    font-size: 20px;

    margin-bottom: 15px;

}


.ventaja p {

    line-height: 1.6;

}


/* VENTAJAS EN MOVIL */

@media (max-width: 600px) {

    .ventajas {

        padding: 40px 20px;

    }
/* BOTÓN CONTINUAR PEDIDO */

#boton-pedido {

    width: 100%;

    margin-top: 25px;

    padding: 16px;

    font-size: 17px;

    border-radius: 8px;

}
}/* =========================
   FORMULARIO DEL PEDIDO
========================= */

.titulo-datos {

    margin-top: 50px;

    margin-bottom: 25px;

}


#formulario-pedido {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 20px;

}


#formulario-pedido label {

    font-weight: bold;

    margin-top: 10px;

}


#formulario-pedido input {

    padding: 14px;

    border: 1px solid #ccc;

    border-radius: 8px;

    font-size: 16px;

}


#formulario-pedido button {

    margin-top: 25px;

    padding: 16px;

}/* =========================
   CONFIRMACIÓN DEL PEDIDO
========================= */

.confirmacion {

    min-height: 70vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 60px 20px;

}


.confirmacion-contenido {

    background: white;

    max-width: 600px;

    width: 100%;

    text-align: center;

    padding: 50px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

}


.icono-confirmacion {

    font-size: 60px;

    margin-bottom: 20px;

}


.confirmacion h2 {

    font-size: 35px;

    margin-bottom: 20px;

}


.mensaje-confirmacion {

    line-height: 1.6;

    margin-bottom: 30px;

}


.resumen-confirmacion {

    background: #f4f4f4;

    padding: 25px;

    border-radius: 10px;

    text-align: left;

    margin-bottom: 30px;

}


.resumen-confirmacion h3 {

    margin-bottom: 20px;

}


.resumen-confirmacion p {

    margin-bottom: 12px;

}/* =========================
   SELECCIÓN DE SABORES
========================= */

.ventana-sabores {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,0.6);

    justify-content: center;

    align-items: center;

    padding: 20px;

    z-index: 1100;

}


.contenido-sabores {

    background: white;

    width: 100%;

    max-width: 500px;

    padding: 35px;

    border-radius: 15px;

    position: relative;

}


.cerrar-sabores {

    position: absolute;

    top: 10px;

    right: 10px;

    width: auto;

    background: none;

    color: black;

    font-size: 28px;

}


.selector-sabor {

    margin-bottom: 20px;

}


.selector-sabor label {

    display: block;

    font-weight: bold;

    margin-bottom: 8px;

}


.selector-sabor select {

    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 8px;

    font-size: 16px;

}/* =========================
   SABORES EN EL CARRITO
========================= */

.sabores-carrito {

    background: #f5f5f5;

    padding: 12px;

    border-radius: 8px;

    line-height: 1.6;

}/* =========================
   PANEL ADMIN
========================= */

.admin-login,
.panel-admin {

    max-width: 700px;

    margin: 80px auto;

    padding: 30px;

}


.admin-caja {

    background: white;

    padding: 40px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

}


.admin-caja form {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 25px;

}


.admin-caja input {

    padding: 14px;

    border: 1px solid #ccc;

    border-radius: 8px;

    font-size: 16px;

}


.admin-caja button,
.panel-admin button {

    margin-top: 20px;

    padding: 14px;

}


#mensaje-admin {

    margin-top: 20px;

}