* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #173b1a;
    background-color: #f7f1e5;
    min-height: 100vh;
}

main {
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   COLORES
===================================================== */

:root {
    --verde-oscuro: #123d18;
    --verde: #285f25;
    --dorado: #c9952e;
    --crema: #f7f1e5;
    --blanco: #ffffff;
    --texto: #173b1a;
}


/* =====================================================
   BARRA SUPERIOR
===================================================== */

.barra-superior {
    min-height: 50px;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    font-size: 13px;
    font-weight: bold;
}

.beneficios {
    display: flex;
    gap: 35px;
}

.ubicacion {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ubicacion a {
    color: var(--blanco);
    font-weight: bold;
    transition: 0.3s;
}

.ubicacion a:hover {
    color: var(--dorado);
}


/* =====================================================
   ENCABEZADO
===================================================== */

.encabezado {
    height: 120px;
    min-height: 120px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--crema);
}

.logo {
    width: 215px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
}

.menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu a {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: var(--verde-oscuro);
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--dorado);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--dorado);
}

.menu a:hover::after {
    width: 100%;
}

.menu .activo {
    color: var(--dorado);
}

.boton-productos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 30px;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.boton-productos:hover {
    background-color: var(--verde);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    width: 100%;
    height: 535px;
    min-height: 535px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero-imagen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center center;
}


/* =====================================================
   TEXTO PRINCIPAL DEL HERO
===================================================== */

.hero-contenido {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 55px 7%;
    text-align: left;
    pointer-events: none;
}

.hero-contenido a {
    pointer-events: auto;
}

.texto-pequeno {
    margin-bottom: 15px;
    color: var(--dorado);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    margin-bottom: 25px;
    color: var(--blanco);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(55px, 8vw, 110px);
    line-height: 0.95;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
    display: block;
    color: var(--dorado);
}

.descripcion {
    max-width: 600px;
    margin: 0 0 30px 0;
    color: var(--blanco);
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-botones {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.boton-verde,
.boton-blanco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.boton-verde {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
}

.boton-verde:hover {
    background-color: var(--verde);
}

.boton-blanco {
    border: 2px solid var(--blanco);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--blanco);
}

.boton-blanco:hover {
    background-color: var(--blanco);
    color: var(--verde-oscuro);
}



/* =====================================================
   BARRA DE VALORES
===================================================== */

.valores {
    width: 100%;
    min-height: 105px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background-color: var(--crema);

    border-bottom: 6px solid var(--verde);
}

.valor {
    min-height: 105px;
    padding: 15px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border-right: 1px solid #d8cfbd;
}

.valor:last-child {
    border-right: none;
}

.icono {
    min-width: 50px;
    text-align: center;
    color: #a87825;
    font-size: 35px;
    line-height: 1;
}

.valor h3 {
    margin: 0 0 5px 0;
    color: var(--verde);
    font-size: 15px;
    font-weight: 800;
}

.valor p {
    margin: 0;
    color: #405344;
    font-size: 13px;
    font-weight: 600;
}


/* =====================================================
   SECCIONES GENERALES
===================================================== */

.seccion {
    padding: 90px 7%;
    background-color: var(--crema);
}

.contenido-seccion {
    max-width: 1100px;
    margin: auto;
}

.titulo-seccion {
    margin-bottom: 15px;
    color: var(--verde-oscuro);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.titulo-seccion.dorado,
.dorado {
    color: var(--dorado);
}

.seccion h2 {
    margin-bottom: 30px;
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.1;
}

.seccion p {
    max-width: 700px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

.nosotros {
    background-color: var(--crema);
}



/* =====================================================
   COMPROMISO
===================================================== */

.compromiso {
    padding: 100px 7%;
    background-color: var(--blanco);
}

.compromiso-contenido {
    max-width: 1200px;
    margin: 0 auto;
}

.compromiso > .compromiso-contenido > h2 {
    max-width: 900px;
    margin-bottom: 65px;
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
}

.compromiso-bloque {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 55px;
    align-items: center;
    margin-bottom: 85px;
}

.compromiso-invertido .compromiso-imagen {
    order: 2;
}

.compromiso-invertido .compromiso-texto {
    order: 1;
}

.compromiso-imagen {
    width: 100%;
    min-height: 390px;
    overflow: hidden;
    border-radius: 18px;
    background-color: var(--crema);
    border: 1px solid #ded5c4;
}

.compromiso-imagen img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.compromiso-texto h3 {
    margin-bottom: 22px;
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.12;
}

.compromiso-texto p {
    margin-bottom: 20px;
    color: #405344;
    font-size: 17px;
    line-height: 1.75;
}

.compromiso-cierre {
    max-width: 850px;
    margin: 10px auto 0;
    padding: 45px 50px;
    text-align: center;
    border-top: 2px solid var(--dorado);
    border-bottom: 2px solid var(--dorado);
}

.compromiso-cierre p {
    margin: 0 auto 12px;
    color: var(--verde-oscuro);
    font-size: 18px;
    line-height: 1.65;
}

.compromiso-cierre p:first-child {
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
}


/* =====================================================
   PRODUCTOS DESTACADOS
===================================================== */

.productos {
    padding: 80px 5%;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
}

.productos-contenido {
    max-width: 1200px;
    margin: auto;
}

.productos h2 {
    margin-bottom: 40px;
    color: var(--blanco);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 55px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.producto {
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 15px;
    background-color: rgba(255,255,255,0.06);
    transition: 0.3s ease;
}

.producto:hover {
    transform: translateY(-8px);
}

.producto-imagen {
    width: 100%;
    min-height: 300px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background-color: rgba(255,255,255,0.08);
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.producto h3 {
    margin-bottom: 10px;
    color: var(--blanco);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.producto p {
    margin-bottom: 15px;
    color: #e9e9e9;
    font-size: 14px;
}

.producto a {
    color: var(--dorado);
    font-weight: bold;
}


/* =====================================================
   TIENDA
===================================================== */

.tienda {
    padding: 90px 5%;
    background-color: var(--crema);
    color: var(--texto);
}

.tienda-contenido {
    max-width: 1200px;
    margin: auto;
}

.tienda h2 {
    margin-bottom: 40px;
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 55px;
}

.categoria-tienda {
    margin-bottom: 70px;
}

.titulo-categoria {
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dorado);
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
}

.tienda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.producto-tienda {
    padding: 20px;
    border: 1px solid #ddd0b8;
    border-radius: 14px;
    background-color: var(--blanco);
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.imagen-tienda {
    width: 100%;
    height: 260px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.imagen-tienda img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.producto-tienda h3 {
    min-height: 48px;
    margin-bottom: 10px;
    color: var(--verde-oscuro);
    font-size: 17px;
}

.ingredientes {
    min-height: 45px;
    margin-bottom: 12px;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.precio {
    margin-bottom: 15px;
    color: var(--dorado);
    font-size: 24px;
    font-weight: bold;
}

.boton-carrito {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    font-weight: bold;
    cursor: pointer;
}

.boton-carrito:hover {
    background-color: var(--verde);
}


/* =====================================================
   CARRITO
===================================================== */

.carrito {
    position: relative;
    margin-bottom: 50px;
}

.boton-carrito-principal {
    padding: 14px 25px;
    border: none;
    border-radius: 30px;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    font-weight: bold;
    cursor: pointer;
}

.boton-carrito-principal:hover {
    background-color: var(--verde);
}

.boton-carrito-principal span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 6px;
    border-radius: 50%;
    background-color: var(--dorado);
    color: var(--verde-oscuro);
    font-size: 12px;
}

.carrito-contenido {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    z-index: 1000;
    width: min(400px, 95vw);
    padding: 25px;
    border-radius: 12px;
    background-color: var(--blanco);
    color: var(--texto);
    box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

.carrito-contenido.activo {
    display: block;
}

.carrito-contenido h3 {
    margin-bottom: 20px;
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.carrito-vacio {
    color: #666;
    font-size: 14px;
}

.item-carrito {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.item-carrito strong {
    color: var(--verde-oscuro);
}

.item-carrito p,
.item-carrito small {
    display: block;
    margin-top: 5px;
    color: #666;
}

.item-carrito button {
    border: none;
    background: transparent;
    color: #a33;
    font-size: 18px;
    cursor: pointer;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: var(--verde-oscuro);
    font-size: 20px;
}

.vaciar-carrito,
.finalizar-compra {
    width: 100%;
    margin-top: 12px;
    padding: 13px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.vaciar-carrito {
    background-color: #eee;
    color: #555;
}

.finalizar-compra {
    background-color: var(--dorado);
    color: var(--verde-oscuro);
}

.finalizar-compra:hover {
    background-color: var(--verde);
    color: var(--blanco);
}


/* =====================================================
   DISTRIBUIDORES
===================================================== */

.distribuidores {
    padding: 40px 7%;
    text-align: center;
    background-color: var(--crema);
}

.btn-distribuir,
.btn-punto-venta {
    background-color: #184d03;
    color: var(--dorado);
    border: 2px solid var(--dorado);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-distribuir:hover,
.btn-punto-venta:hover {
    background-color: var(--dorado);
    color: #035226;
}

.lista-distribuidoras,
.lista-puntos-venta {
    display: none;
    margin: 20px auto 0;
    max-width: 600px;
}

.distribuidora,
.comercio-venta {
    background-color: var(--blanco);
    border: 1px solid var(--dorado);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
    text-align: left;
}

.distribuidora h3,
.comercio-venta h3 {
    margin-bottom: 8px;
    color: #02501c;
    font-size: 18px;
}

.distribuidora p,
.comercio-venta p {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.distribuidora a {
    color: #033d16;
    font-weight: bold;
}

.btn-mapa {
    display: inline-block;
    background-color: #184d03;
    color: var(--dorado);
    border: 1px solid var(--dorado);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 11px;
}

.btn-mapa:hover {
    background-color: var(--dorado);
    color: #184d03;
}

.puntos-venta {
    margin-top: 30px;
    text-align: center;
}


/* =====================================================
   TIENDAS / CONTACTO / FOOTER
===================================================== */

.tiendas {
    background-color: var(--blanco);
}

.centrado {
    text-align: center;
}

.centrado p {
    margin-left: auto;
    margin-right: auto;
}

.contacto {
    padding: 90px 7%;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
}

.contacto-contenido {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contacto h2 {
    margin-bottom: 20px;
    color: var(--blanco);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
}

.contacto p {
    font-size: 17px;
    line-height: 1.6;
}

#formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#formulario-contacto label {
    font-weight: bold;
}

#formulario-contacto input,
#formulario-contacto textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 15px;
}

#formulario-contacto textarea {
    resize: vertical;
}

footer {
    min-height: 120px;
    padding: 10px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0b2b10;
    color: var(--blanco);
}

footer p {
    margin: 0;
}

footer a {
    color: var(--dorado);
    font-weight: bold;
}

.logo-diseño {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-diseño img {
    width: 150px;
    height: 110px;
    object-fit: contain;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 12px;
    }

    .boton-productos {
        padding: 12px 15px;
        font-size: 10px;
    }

    .tienda-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 800px) {

    .barra-superior {
        display: none;
    }

    .encabezado {
        height: auto;
        min-height: auto;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .logo {
        width: 180px;
    }

    .menu {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .boton-productos {
        width: auto;
    }

    .hero {
        height: 700px;
        min-height: 700px;
    }

    .hero-imagen {
        height: 100%;
    }

    .hero-contenido {
        padding: 35px 7%;
        background: linear-gradient(
            to bottom,
            rgba(18,61,24,0.00) 0%,
            rgba(18,61,24,0.08) 35%,
            rgba(247,241,229,0.90) 72%,
            rgba(247,241,229,0.98) 100%
        );
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .hero h1 {
        font-size: clamp(45px, 10vw, 70px);
        color: var(--blanco);
    }

    .descripcion {
        color: var(--blanco);
    }

    .hero-botones {
        flex-direction: column;
    }

    .hero-botones a {
        width: 100%;
    }


    .valores {
        grid-template-columns: 1fr 1fr;
    }

    .valor {
        border-bottom: 1px solid #d8cfbd;
    }

    .compromiso {
        padding: 70px 7%;
    }

    .compromiso-bloque,
    .compromiso-invertido {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 65px;
    }

    .compromiso-invertido .compromiso-imagen,
    .compromiso-invertido .compromiso-texto {
        order: initial;
    }

    .compromiso-imagen,
    .compromiso-imagen img {
        min-height: 300px;
        height: 300px;
    }

    .compromiso-cierre {
        padding: 35px 20px;
    }

    .productos-grid {
        grid-template-columns: 1fr;
    }

    .tienda-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-contenido {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer {
        min-height: 150px;
        flex-direction: column;
        gap: 15px;
        padding: 25px;
        text-align: center;
    }

}


/* =====================================================
   CELULAR PEQUEÑO
===================================================== */

@media (max-width: 550px) {

    .beneficios {
        display: none;
    }

    .ubicacion {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .encabezado {
        padding: 15px;
    }

    .menu {
        flex-direction: column;
        gap: 12px;
    }

    .boton-productos {
        width: 100%;
    }

    .hero {
        height: 720px;
        min-height: 720px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .valores {
        grid-template-columns: 1fr;
    }

    .tienda-grid {
        grid-template-columns: 1fr;
    }

    .productos h2,
    .tienda h2 {
        font-size: 42px;
    }

    .seccion {
        padding: 60px 7%;
    }

    .contacto {
        padding: 60px 7%;
    }

    .contacto h2 {
        font-size: 45px;
    }

}



/* =====================================================
   INGREDIENTES — DESPLEGABLE INTERACTIVO
===================================================== */
.boton-ingredientes {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    margin:8px 0 10px; padding:10px 16px;
    border:1px solid var(--dorado); border-radius:24px;
    background:transparent; color:var(--verde-oscuro);
    font-size:11px; font-weight:700; letter-spacing:.3px;
    cursor:pointer; transition:all .25s ease;
}
.boton-ingredientes span { font-size:16px; line-height:10px; }
.boton-ingredientes:hover, .boton-ingredientes.abierto { background:var(--verde-oscuro); color:#fff; }
.ingredientes-contenido { display:none; margin:0 0 14px; padding:14px 16px; border-left:3px solid var(--dorado); border-radius:0 10px 10px 0; background:var(--crema); color:#555; font-size:12px; line-height:1.55; text-align:left; }

/* =====================================================
   RECICLAJE
===================================================== */
.btn-reciclaje { display:inline-flex; align-items:center; justify-content:center; margin-top:6px; padding:12px 20px; border:2px solid var(--dorado); border-radius:28px; background:var(--verde-oscuro); color:#fff; font-size:12px; font-weight:700; letter-spacing:.4px; transition:.25s ease; }
.btn-reciclaje:hover { background:var(--dorado); color:var(--verde-oscuro); }

/* =====================================================
   PEDIDO — MODAL CON ESTILO JHAN
===================================================== */
.modal-pedido { position:fixed; inset:0; z-index:10000; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(18,61,24,.72); backdrop-filter:blur(5px); }
.modal-pedido.activo { display:flex; animation:aparecerPedido .22s ease-out; }
@keyframes aparecerPedido { from { opacity:0; } to { opacity:1; } }
.modal-pedido-contenido { position:relative; width:min(570px,94vw); max-height:92vh; overflow-y:auto; padding:0; border-radius:24px; background:#fff; box-shadow:0 24px 80px rgba(0,0,0,.28); overflow:hidden; }
.pedido-cabecera { padding:30px 34px 22px; background:var(--crema); border-bottom:1px solid #e7dfd0; }
.pedido-paso { display:inline-block; padding:6px 11px; border-radius:20px; background:var(--verde-oscuro); color:#fff; font-size:10px; font-weight:700; letter-spacing:1px; margin-bottom:13px; }
.pedido-cabecera .titulo-seccion { margin:0 0 5px; }
.modal-pedido-contenido h2 { margin:0 0 10px; color:var(--verde-oscuro); font-family:Georgia,"Times New Roman",serif; font-size:clamp(32px,5vw,45px); line-height:1.03; }
.modal-ayuda { margin:0; color:#526054; font-size:14px; line-height:1.55; }
.cerrar-modal { position:absolute; top:16px; right:17px; z-index:2; width:38px; height:38px; border:1px solid #ddd4c4; border-radius:50%; background:rgba(255,255,255,.88); color:var(--verde-oscuro); font-size:26px; line-height:1; cursor:pointer; transition:.2s; }
.cerrar-modal:hover { transform:rotate(90deg); background:var(--verde-oscuro); color:#fff; }
.modal-pedido-contenido form { display:flex; flex-direction:column; gap:7px; padding:25px 34px 32px; }
.modal-pedido-contenido label { margin-top:5px; color:var(--verde-oscuro); font-size:12px; font-weight:700; letter-spacing:.2px; }
.modal-pedido-contenido input, .modal-pedido-contenido select, .modal-pedido-contenido textarea { width:100%; padding:14px 15px; margin-bottom:7px; border:1px solid #dcd4c6; border-radius:11px; outline:none; background:#faf9f6; color:#263c2b; font:15px Arial,sans-serif; transition:border-color .2s, box-shadow .2s, background .2s; box-sizing:border-box; }
.modal-pedido-contenido input:focus, .modal-pedido-contenido select:focus, .modal-pedido-contenido textarea:focus { border-color:var(--dorado); background:#fff; box-shadow:0 0 0 3px rgba(201,149,46,.13); }
.modal-pedido-contenido textarea { resize:vertical; min-height:82px; }
.modal-confirmar { width:100%; margin-top:12px; padding:14px 18px; border:0; border-radius:12px; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:3px; }
.modal-confirmar small { font-size:11px; font-weight:400; opacity:.85; }
@media(max-width:550px){ .modal-pedido{padding:8px}.pedido-cabecera{padding:25px 20px 19px}.modal-pedido-contenido form{padding:20px 20px 25px}.cerrar-modal{top:11px;right:11px} }


/* =====================================================
   AJUSTES FINALES — INGREDIENTES Y CHECKOUT INTEGRADO
===================================================== */
.ingredientes-contenido[hidden],
.vista-checkout[hidden],
#vista-carrito[hidden] {
    display: none !important;
}

.carrito-cabecera,
.checkout-cabecera {
    margin-bottom: 18px;
}
.carrito-etiqueta {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 8px;
    border-radius: 18px;
    background: var(--verde-oscuro);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}
.carrito-cabecera h3,
.checkout-cabecera h3 {
    margin: 0;
    color: var(--verde-oscuro);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
}
.checkout-cabecera p {
    margin: 8px 0 0;
    color: #59655b;
    font-size: 13px;
    line-height: 1.5;
}
.checkout-volver {
    display: block;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--verde-oscuro);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.carrito-acciones {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 9px;
    margin-top: 15px;
}
.vista-checkout form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.campo-checkout {
    position: relative;
}
.campo-checkout label {
    display: block;
    margin: 0 0 5px;
    color: var(--verde-oscuro);
    font-size: 11px;
    font-weight: 700;
}
.campo-checkout input,
.campo-checkout select,
.campo-checkout textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #ded7ca;
    border-radius: 10px;
    outline: none;
    background: #faf9f6;
    color: #263c2b;
    font: 14px Arial, sans-serif;
    transition: .2s ease;
}
.campo-checkout input:focus,
.campo-checkout select:focus,
.campo-checkout textarea:focus {
    border-color: var(--dorado);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,149,46,.12);
}
.campo-checkout textarea {
    resize: vertical;
    min-height: 68px;
}
.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding: 14px 15px;
    border-radius: 12px;
    background: var(--crema);
}
.checkout-total span {
    color: #59655b;
    font-size: 12px;
}
.checkout-total strong {
    color: var(--verde-oscuro);
    font-size: 20px;
}
.checkout-enviar {
    width: 100%;
    margin-top: 2px;
    padding: 13px 18px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.checkout-enviar small {
    font-size: 10px;
    font-weight: 400;
    opacity: .85;
}
@media(max-width:550px) {
    .carrito-acciones { grid-template-columns: 1fr; }
}
