/* =====================================================
   MISIÓN 632 — HAMBURGUESAS AL CARBÓN
   ESTILO CARBÓN + BRASA + NARANJA
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 50% 0%, #2b1608 0%, #111111 40%, #080808 100%);
    color: #ffffff;
    line-height: 1.5;
    min-height: 100vh;
}


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

header {
    width: 100%;
    text-align: center;
    padding: 35px 20px 30px;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 105, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.80) 100%
        );

    border-bottom: 1px solid #6b2e05;
}

.portada-principal {
    width: calc(100% - 40px);
    max-width: 1000px;

    margin: 20px auto 0;

    padding: 0;

    overflow: hidden;

    border: 1px solid #6b2e05;

    border-radius: 18px;

    background: #090909;
}

.imagen-portada {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}

.texto-solo-lector {
    position: absolute;

    width: 1px;

    height: 1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
}

@media (max-width: 600px) {
    .portada-principal {
        width: 100%;

        margin-top: 0;

        border-right: none;

        border-left: none;

        border-radius: 0;
    }
}

.logo {
    width: 188px;
    max-width: 70%;
    height: auto;

    display: block;
    margin: 0 auto 15px;

    filter:
        drop-shadow(0 0 10px rgba(255, 106, 0, 0.25));
}

header h1 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 1px;

    color: #ff7900;

    text-shadow:
        0 0 12px rgba(255, 106, 0, 0.25);
}

.slogan {
    margin-top: 5px;

    color: #dddddd;

    font-size: 17px;

    letter-spacing: 1px;
}


/* =====================================================
   CLIMA ACTUAL
   ===================================================== */

.clima {
    position: relative;

    overflow: hidden;

    isolation: isolate;

    min-height: 210px;

    margin: 0 auto 28px;

    border: 1px solid rgba(255, 184, 101, 0.44);

    border-radius: 18px;

    background: #172331;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.clima-fondo,
.clima-niebla,
.clima-lluvia,
.clima-relampago {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.clima-fondo {
    z-index: -3;

    background-image:
        linear-gradient(
            110deg,
            rgba(8, 16, 21, 0.55),
            rgba(20, 28, 31, 0.20)
        ),
        url("images/iglesia-santa-maria-magdalena.jpeg");
    background-position: center 48%;
    background-size: cover;

    filter: blur(2px) saturate(0.9);

    transform: scale(1.03);

    transition:
        filter 0.8s ease,
        background-color 0.8s ease;
}

.clima::after {
    position: absolute;

    z-index: -2;

    inset: 0;

    content: "";

    background:
        linear-gradient(
            135deg,
            rgba(5, 11, 14, 0.58),
            rgba(7, 12, 16, 0.20) 55%,
            rgba(5, 8, 11, 0.68)
        );

    transition: background 0.8s ease;
}

.clima-contenido {
    position: relative;

    z-index: 2;

    display: flex;

    min-height: 210px;

    flex-direction: column;

    justify-content: center;

    padding: 23px 28px;
}

.clima-etiqueta {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.clima-indicador {
    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #ff9800;

    box-shadow: 0 0 12px #ff9800;

    animation: clima-pulso 2s infinite;
}

.clima-principal {
    display: flex;

    align-items: center;

    gap: 17px;
}

.clima-icono {
    display: inline-flex;

    width: 60px;

    height: 60px;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.28);

    border-radius: 50%;

    background: rgba(9, 15, 18, 0.26);

    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.10);

    font-size: 31px;
}

.clima-temperatura {
    color: #ffffff;

    font-size: 44px;

    font-weight: 900;

    line-height: 0.95;

    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.45);
}

.clima h2 {
    margin-top: 4px;

    color: #ffffff;

    font-size: 21px;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.clima-detalles {
    display: flex;

    flex-wrap: wrap;

    gap: 5px 18px;

    margin-top: 16px;

    color: rgba(255, 255, 255, 0.89);

    font-size: 14px;

    font-weight: 600;
}

.clima-actualizacion {
    margin-top: 9px;

    color: rgba(255, 255, 255, 0.63);

    font-size: 12px;
}

.clima-niebla {
    z-index: 0;

    opacity: 0;

    background:
        linear-gradient(
            105deg,
            transparent 0%,
            rgba(221, 232, 232, 0.22) 45%,
            transparent 80%
        );

    transform: translateX(-100%);
}

.clima-lluvia {
    z-index: 1;

    opacity: 0;

    background-image:
        repeating-linear-gradient(
            106deg,
            transparent 0 14px,
            rgba(224, 241, 255, 0.34) 15px 16px,
            transparent 17px 28px
        );
    background-size: 42px 42px;

    transform: skewX(-12deg);
}

.clima-relampago {
    z-index: 1;

    opacity: 0;

    background: rgba(211, 231, 255, 0.30);
}

.clima--dia.clima--despejado .clima-fondo,
.clima--dia.clima--parcialmente-nublado .clima-fondo {
    filter: blur(2px) saturate(1.1) brightness(1.12);
}

.clima--dia.clima--despejado::after {
    background:
        linear-gradient(
            118deg,
            rgba(123, 62, 7, 0.54),
            rgba(255, 186, 86, 0.10) 58%,
            rgba(19, 33, 40, 0.54)
        );
}

.clima--dia.clima--parcialmente-nublado::after {
    background:
        linear-gradient(
            120deg,
            rgba(35, 48, 55, 0.52),
            rgba(93, 112, 115, 0.17) 58%,
            rgba(14, 28, 35, 0.64)
        );
}

.clima--noche .clima-fondo {
    filter: blur(2px) saturate(0.7) brightness(0.38) hue-rotate(12deg);
}

.clima--noche::after {
    background:
        linear-gradient(
            115deg,
            rgba(5, 14, 27, 0.77),
            rgba(19, 39, 65, 0.37) 62%,
            rgba(1, 7, 16, 0.84)
        );
}

.clima--nublado .clima-fondo,
.clima--niebla .clima-fondo {
    filter: blur(2px) saturate(0.55) brightness(0.59);
}

.clima--nublado::after,
.clima--niebla::after {
    background:
        linear-gradient(
            115deg,
            rgba(22, 32, 38, 0.73),
            rgba(102, 112, 112, 0.25) 58%,
            rgba(17, 24, 30, 0.76)
        );
}

.clima--niebla .clima-niebla {
    opacity: 1;

    animation: clima-niebla 9s linear infinite;
}

.clima--llovizna .clima-fondo,
.clima--lluvia .clima-fondo {
    filter: blur(2px) saturate(0.66) brightness(0.49);
}

.clima--llovizna::after,
.clima--lluvia::after {
    background:
        linear-gradient(
            115deg,
            rgba(10, 22, 32, 0.76),
            rgba(67, 96, 111, 0.29) 57%,
            rgba(7, 15, 25, 0.80)
        );
}

.clima--llovizna .clima-lluvia {
    opacity: 0.32;

    animation: clima-lluvia 1.3s linear infinite;
}

.clima--lluvia .clima-lluvia {
    opacity: 0.58;

    animation: clima-lluvia 0.78s linear infinite;
}

.clima--tormenta .clima-fondo {
    filter: blur(2px) saturate(0.40) brightness(0.34);
}

.clima--tormenta::after {
    background:
        linear-gradient(
            115deg,
            rgba(5, 9, 17, 0.83),
            rgba(27, 44, 64, 0.41) 55%,
            rgba(4, 8, 15, 0.87)
        );
}

.clima--tormenta .clima-lluvia {
    opacity: 0.66;

    animation: clima-lluvia 0.55s linear infinite;
}

.clima--tormenta .clima-relampago {
    animation: clima-relampago 7s infinite;
}

@keyframes clima-pulso {
    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

@keyframes clima-niebla {
    to {
        transform: translateX(100%);
    }
}

@keyframes clima-lluvia {
    to {
        background-position: -18px 46px;
    }
}

@keyframes clima-relampago {
    0%,
    92%,
    100% {
        opacity: 0;
    }

    93%,
    95% {
        opacity: 0.48;
    }
}

@media (max-width: 600px) {
    .clima {
        min-height: 205px;

        margin-bottom: 28px;
    }

    .clima-contenido {
        min-height: 205px;

        padding: 21px 20px;
    }

    .clima-temperatura {
        font-size: 40px;
    }

    .clima h2 {
        font-size: 19px;
    }

    .clima-icono {
        width: 54px;

        height: 54px;

        font-size: 28px;
    }

    .clima-detalles {
        display: block;

        margin-top: 20px;

        font-size: 13px;
    }

    .clima-detalles p + p {
        margin-top: 4px;
    }
}


/* =====================================================
   CLIMA COMPACTO EN ENCABEZADO
   ===================================================== */

body {
    position: relative;
}

#clima-actual {
    position: absolute;

    z-index: 3;

    top: 14px;

    left: 14px;

    width: 150px;

    min-height: 150px;

    margin: 0;

    border-radius: 12px;

    border-color: rgba(255, 255, 255, 0.42);

    background: #1e2a31;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

#clima-actual .clima-fondo {
    background-color: #1e2a31;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    filter: brightness(0.78) saturate(0.85);

    transform: none;
}

#clima-actual::after {
    background: rgba(4, 11, 16, 0.25);
}

#clima-actual .clima-contenido {
    min-height: 150px;

    align-items: flex-end;

    justify-content: flex-end;

    padding: 10px;

    text-align: right;
}

#clima-actual .clima-etiqueta,
#clima-actual .clima-detalles,
#clima-actual .clima-actualizacion {
    display: none;
}

#clima-actual .clima-principal {
    align-items: flex-end;

    gap: 5px;
}

#clima-actual .clima-icono {
    width: auto;

    height: auto;

    border: none;

    background: none;

    box-shadow: none;

    font-size: 23px;
}

#clima-actual .clima-temperatura {
    font-size: 28px;

    line-height: 0.9;
}

#clima-actual h2 {
    max-width: 88px;

    margin-top: 3px;

    font-size: 11px;

    line-height: 1.1;
}


/* =====================================================
   CONTADOR DE VISITAS
   ===================================================== */

.contador-visitas {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 0 20px 35px;

    color: #a8a8a8;

    font-size: 13px;

    text-align: center;
}

.contador-visitas strong {
    color: #ff9a45;

    font-size: 15px;
}

.contador-icono {
    font-size: 17px;
}


/* =====================================================
   REDES SOCIALES
   ===================================================== */

.redes-sociales {
    padding: 0 20px 18px;

    text-align: center;
}

.redes-sociales > p {
    margin-bottom: 12px;

    color: #d8d8d8;

    font-size: 15px;

    font-weight: 700;
}

.botones-redes {
    display: flex;

    justify-content: center;

    gap: 10px;
}

.boton-red {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 128px;

    padding: 10px 14px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 9px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}

.boton-red:hover {
    filter: brightness(1.12);

    transform: translateY(-2px);
}

.boton-instagram {
    background:
        linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737);
}

.boton-facebook {
    background: #1877f2;
}

.boton-red span {
    font-size: 20px;

    font-weight: 900;

    line-height: 1;
}

@media (max-width: 600px) {
    #clima-actual {
        position: relative;

        top: auto;

        left: auto;

        width: 124px;

        min-height: 124px;

        margin: 0 0 22px;
    }

    #clima-actual .clima-contenido {
        min-height: 124px;

        padding: 7px;
    }

    #clima-actual .clima-icono {
        font-size: 17px;
    }

    #clima-actual .clima-temperatura {
        font-size: 21px;
    }

    #clima-actual h2 {
        max-width: 60px;

        font-size: 9px;
    }
}


/* =====================================================
   CONTENIDO PRINCIPAL
   ===================================================== */

main {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 30px 20px 100px;
}


/* =====================================================
   TÍTULOS
   ===================================================== */

.menu h2,
.carrito h2,
.confirmacion h2 {
    width: 100%;

    text-align: center;

    font-size: 28px;

    margin-bottom: 25px;

    color: #ff7900;

    text-shadow:
        0 0 10px rgba(255, 106, 0, 0.18);
}


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

.productos {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.producto {
    width: 100%;

    background:
        linear-gradient(
            145deg,
            #252525 0%,
            #181818 55%,
            #111111 100%
        );

    border: 1px solid #4a260f;

    border-radius: 16px;

    padding: 20px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

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

    border-color: #ff6a00;

    box-shadow:
        0 12px 35px rgba(255, 92, 0, 0.14);
}

.producto img {
    width: 100%;
    max-width: 300px;

    height: 220px;

    object-fit: contain;

    display: block;

    margin: 0 auto 15px;

    filter:
        drop-shadow(0 10px 10px rgba(0, 0, 0, 0.45));
}

.producto h3 {
    font-size: 22px;

    margin-bottom: 10px;

    color: #ffffff;
}

.descripcion {
    color: #c9c9c9;

    font-size: 15px;

    min-height: 48px;
}

.precio {
    font-size: 29px;

    font-weight: 900;

    color: #ff7900;

    margin: 15px 0;

    text-shadow:
        0 0 8px rgba(255, 106, 0, 0.18);
}


/* =====================================================
   BOTÓN AGREGAR
   ===================================================== */

.boton-agregar {
    width: 100%;

    border: none;

    border-radius: 10px;

    padding: 14px 12px;

    background:
        linear-gradient(
            135deg,
            #ff8a00,
            #f45100
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(255, 90, 0, 0.20);

    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

.boton-agregar:hover {
    filter: brightness(1.08);

    box-shadow:
        0 7px 20px rgba(255, 90, 0, 0.30);
}

.boton-agregar:active {
    transform: scale(0.98);
}


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

.carrito {
    width: 100%;

    margin-top: 50px;

    background:
        linear-gradient(
            145deg,
            #202020,
            #121212
        );

    border: 1px solid #4a260f;

    border-radius: 16px;

    padding: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.40);
}

.carrito-vacio {
    width: 100%;

    text-align: center;

    color: #999999;

    padding: 15px;
}


/* =====================================================
   ITEMS DEL CARRITO
   ===================================================== */

.item-carrito {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid #39200f;
}

.item-info {
    min-width: 0;
}

.item-nombre {
    font-size: 18px;

    font-weight: 800;

    color: #ffffff;
}

.item-precio {
    font-size: 14px;

    color: #999999;

    margin-top: 3px;
}

.item-ingredientes {
    font-size: 13px;

    color: #ff9a45;

    margin-top: 5px;

    line-height: 1.4;
}

.controles-cantidad {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    white-space: nowrap;
}

.controles-cantidad button {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border: 1px solid #8a3f0a;

    border-radius: 50%;

    background: #21150e;

    color: #ff7900;

    font-size: 20px;

    font-weight: 900;

    cursor: pointer;
}

.controles-cantidad button:hover {
    background: #4a2108;
}

.cantidad {
    min-width: 22px;

    text-align: center;

    font-weight: 900;

    color: #ffffff;
}

.subtotal {
    min-width: 75px;

    text-align: right;

    font-size: 17px;

    font-weight: 800;

    color: #ff7900;
}


/* =====================================================
   RESUMEN DEL PEDIDO
   ===================================================== */

.resumen-pedido {
    width: 100%;

    margin-top: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;
}


/* =====================================================
   TOTAL — CENTRADO
   ===================================================== */

.total {
    width: 100%;

    display: block;

    text-align: center;

    font-size: 25px;

    font-weight: 900;

    color: #ffffff;

    white-space: nowrap;
}

.total span {
    color: #ff7900;
}


/* =====================================================
   BOTÓN CONTINUAR
   ===================================================== */

.boton-continuar {
    border: none;

    border-radius: 10px;

    padding: 15px 22px;

    background:
        linear-gradient(
            135deg,
            #ff8a00,
            #f45100
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(255, 90, 0, 0.22);
}

.boton-continuar:hover {
    filter: brightness(1.08);
}


/* =====================================================
   CONFIRMACIÓN
   ===================================================== */

.confirmacion {
    width: 100%;

    margin-top: 40px;

    background:
        linear-gradient(
            145deg,
            #202020,
            #121212
        );

    border: 1px solid #4a260f;

    border-radius: 16px;

    padding: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.40);
}

.resumen-confirmacion {
    width: 100%;

    background: #0d0d0d;

    border: 1px solid #321a0b;

    border-radius: 10px;

    padding: 18px;

    margin-bottom: 25px;

    line-height: 1.8;
}

.resumen-confirmacion strong {
    color: #ff7900;
}


/* =====================================================
   OPCIONES DE ENTREGA
   ===================================================== */

.opciones-entrega {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.opcion-entrega {
    display: block;

    padding: 18px;

    background:
        linear-gradient(
            145deg,
            #252525,
            #181818
        );

    border: 1px solid #49301f;

    border-radius: 12px;

    cursor: pointer;
}

.opcion-entrega:hover {
    border-color: #ff6a00;
}

.opcion-entrega input {
    margin-right: 8px;

    accent-color: #ff6a00;
}

.opcion-entrega strong {
    font-size: 17px;

    color: #ffffff;
}

.opcion-entrega p {
    color: #aaaaaa;

    font-size: 14px;

    margin-top: 8px;
}


/* =====================================================
   DIRECCIÓN
   ===================================================== */

.direccion {
    width: 100%;

    margin-top: 20px;

    background: #0d0d0d;

    border: 1px solid #321a0b;

    border-radius: 12px;

    padding: 20px;
}

.direccion label {
    display: block;

    font-weight: 800;

    color: #ff7900;

    margin-bottom: 10px;
}

.direccion p {
    color: #cccccc;

    margin-bottom: 12px;
}

.direccion a {
    color: #ff7900;

    font-weight: 800;

    text-decoration: none;
}

.direccion a:hover {
    text-decoration: underline;
}

.direccion textarea {
    width: 100%;

    min-height: 100px;

    resize: vertical;

    margin-top: 10px;

    padding: 12px;

    border: 1px solid #4b2b18;

    border-radius: 8px;

    background: #181818;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    outline: none;
}

.direccion textarea:focus {
    border-color: #ff6a00;

    box-shadow:
        0 0 0 2px rgba(255, 106, 0, 0.10);
}

.direccion textarea::placeholder {
    color: #777777;
}


/* =====================================================
   BOTONES DE CONFIRMACIÓN
   ===================================================== */

.botones-confirmacion {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}

.botones-confirmacion button {
    width: 100%;

    border: none;

    border-radius: 10px;

    padding: 14px 10px;

    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}

.botones-confirmacion button:hover {
    filter: brightness(1.10);
}

.boton-modificar {
    background: #353535;

    color: #ffffff;

    border: 1px solid #555555 !important;
}

.boton-cancelar {
    background: #241814;

    color: #ff7900;

    border: 1px solid #71350d !important;
}

.boton-confirmar {
    background:
        linear-gradient(
            135deg,
            #ff8a00,
            #f45100
        );

    color: #ffffff;

    box-shadow:
        0 5px 15px rgba(255, 90, 0, 0.20);
}


/* =====================================================
   WHATSAPP FLOTANTE
   ===================================================== */

.whatsapp-flotante {
    position: fixed;

    right: 18px;

    bottom: 18px;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: transparent;

    border-radius: 50%;

    padding: 0;

    border: 2px solid #ff7900;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.50),
        0 0 10px rgba(255, 106, 0, 0.20);

    z-index: 9999;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.icono-whatsapp {
    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

    border-radius: 50%;
}

.whatsapp-flotante:hover {
    transform: scale(1.08);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.55),
        0 0 15px rgba(255, 106, 0, 0.30);
}

.whatsapp-flotante:active {
    transform: scale(0.94);
}


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

@media (max-width: 900px) {

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

    .opciones-entrega {
        grid-template-columns: 1fr;
    }

    .botones-confirmacion {
        grid-template-columns: 1fr;
    }

}


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

@media (max-width: 600px) {

    header {
        padding: 25px 15px;
    }

    .logo {
        width: 125px;
    }

    header h1 {
        font-size: 30px;
    }

    .slogan {
        font-size: 15px;
    }

    main {
        width: 100%;

        padding: 25px 12px 90px;
    }

    .menu h2,
    .carrito h2,
    .confirmacion h2 {
        font-size: 24px;
    }

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

        gap: 18px;
    }

    .producto {
        padding: 18px;
    }

    .producto img {
        height: 210px;
    }


    /* =================================================
       CARRITO EN CELULAR
       ================================================= */

    .carrito {
        width: 100%;

        padding: 20px 15px;
    }

    .item-carrito {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr auto;

        gap: 8px 12px;
    }

    .item-info {
        grid-column: 1;
        grid-row: 1;
    }

    .subtotal {
        grid-column: 2;
        grid-row: 1;

        min-width: 65px;
    }

    .controles-cantidad {
        grid-column: 1 / -1;

        grid-row: 2;

        justify-content: flex-start;

        padding-top: 5px;
    }


    /* =================================================
       TOTAL CENTRADO EN CELULAR
       ================================================= */

    .resumen-pedido {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 15px;
    }

    .total {
        width: 100%;

        display: block;

        text-align: center;

        font-size: 24px;

        margin-left: 0;

        margin-right: 0;
    }

    .boton-continuar {
        width: 100%;
    }


    /* =================================================
       CONFIRMACIÓN
       ================================================= */

    .confirmacion {
        width: 100%;

        padding: 18px 15px;
    }

    .resumen-confirmacion {
        width: 100%;
    }

    .opciones-entrega {
        width: 100%;

        grid-template-columns: 1fr;
    }

    .botones-confirmacion {
        width: 100%;

        grid-template-columns: 1fr;
    }


    /* =================================================
       WHATSAPP
       ================================================= */

    .whatsapp-flotante {
        width: 46px;

        height: 46px;

        right: 14px;

        bottom: 14px;
    }

}


/* =====================================================
   CELULARES PEQUEÑOS
   ===================================================== */

@media (max-width: 380px) {

    header h1 {
        font-size: 27px;
    }

    .producto img {
        height: 185px;
    }

    .carrito {
        padding: 18px 12px;
    }

    .whatsapp-flotante {
        width: 44px;

        height: 44px;

        right: 12px;

        bottom: 12px;
    }

}


/* =====================================================
   PERSONALIZACIÓN DE HAMBURGUESA
   ===================================================== */

.personalizacion {
    width: 100%;

    margin-top: 30px;

    background:
        linear-gradient(
            145deg,
            #202020,
            #121212
        );

    border: 1px solid #4a260f;

    border-radius: 16px;

    padding: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.40);

    text-align: center;
}

.personalizacion h2 {
    width: 100%;

    font-size: 28px;

    margin-bottom: 10px;

    color: #ff7900;

    text-shadow:
        0 0 10px rgba(255, 106, 0, 0.18);
}

#producto-personalizando {
    display: inline-block;

    font-size: 21px;

    font-weight: 900;

    color: #ffffff;

    margin: 0 auto 10px;

    padding: 8px 18px;

    background:
        linear-gradient(
            135deg,
            #2b1a10,
            #181818
        );

    border: 1px solid #71350d;

    border-radius: 20px;

    box-shadow:
        0 0 12px rgba(255, 106, 0, 0.10);

    text-shadow:
        0 0 8px rgba(255, 106, 0, 0.15);
}

.personalizacion > p:not(#producto-personalizando) {
    color: #aaaaaa;

    font-size: 14px;

    margin-bottom: 20px;
}


/* =====================================================
   COMPLEMENTO OBLIGATORIO — PAPAS
   ===================================================== */

.complemento-obligatorio {
    width: 100%;

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 15px 18px;

    background:
        linear-gradient(
            145deg,
            #2b1a10,
            #181818
        );

    border: 1px solid #71350d;

    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.30);
}

.complemento-info {
    flex: 1;

    min-width: 0;
}

.complemento-check {
    display: flex !important;

    align-items: center;

    gap: 12px;

    padding: 0 !important;

    background: transparent !important;

    border: none !important;

    border-radius: 0 !important;

    color: #ffffff !important;

    cursor: default !important;

    transform: none !important;

    opacity: 1 !important;

    text-decoration: none !important;
}

.complemento-check:hover {
    background: transparent !important;

    border: none !important;

    transform: none !important;
}


/* =====================================================
   CHECKBOX PAPAS — NARANJA DESTACADO
   ===================================================== */

.complemento-check input {
    width: 22px;

    height: 22px;

    flex-shrink: 0;

    appearance: none;

    -webkit-appearance: none;

    border: 2px solid #ff7900;

    border-radius: 5px;

    background: #1a1008;

    position: relative;

    cursor: not-allowed;

    box-shadow:
        0 0 7px rgba(255, 121, 0, 0.45);

    opacity: 1;
}

.complemento-check input:checked {
    background:
        linear-gradient(
            135deg,
            #ff9800,
            #f45100
        );

    border-color: #ffad42;

    box-shadow:
        0 0 9px rgba(255, 121, 0, 0.65);
}

.complemento-check input:checked::after {
    content: "✓";

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -54%);

    color: #ffffff;

    font-size: 17px;

    font-weight: 900;

    line-height: 1;
}

.complemento-check input:disabled {
    opacity: 1;

    filter: none;
}

.complemento-check span {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 2px;
}

.complemento-check strong {
    color: #ffffff;

    font-size: 17px;

    font-weight: 900;
}

.complemento-check small {
    color: #ff9a45;

    font-size: 13px;

    font-weight: 600;
}

.imagen-papas {
    width: 90px;

    height: 70px;

    object-fit: contain;

    flex-shrink: 0;

    border-radius: 8px;

    filter:
        drop-shadow(0 5px 7px rgba(0, 0, 0, 0.45));
}

.separador-complementos {
    width: 100%;

    grid-column: 1 / -1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #5a2b0d,
            transparent
        );

    margin: 2px 0 4px;
}


/* =====================================================
   INGREDIENTES
   ===================================================== */

.ingredientes {
    width: 100%;

    display: grid;

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

    gap: 12px;

    margin: 20px auto;
}

.ingredientes label {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 10px;

    padding: 13px 14px;

    background:
        linear-gradient(
            145deg,
            #292929,
            #181818
        );

    border: 1px solid #49301f;

    border-radius: 10px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.15s ease,
        opacity 0.2s ease;
}

.ingredientes label:hover {
    border-color: #ff6a00;

    background: #2a1a10;

    transform: translateY(-2px);
}

.ingredientes input {
    width: 19px;

    height: 19px;

    flex-shrink: 0;

    accent-color: #ff6a00;

    cursor: pointer;
}


/* =====================================================
   INGREDIENTE DESACTIVADO
   ===================================================== */

.ingredientes label:has(input:not(:checked)) {
    opacity: 0.55;

    background: #111111;

    border-color: #333333;

    color: #888888;

    text-decoration: line-through;
}

.ingredientes label:has(input:not(:checked)) input {
    accent-color: #666666;
}


/* =====================================================
   BOTONES DE PERSONALIZACIÓN
   ===================================================== */

.botones-personalizacion {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 20px;
}

.botones-personalizacion button {
    width: 100%;

    border: none;

    border-radius: 10px;

    padding: 14px 10px;

    font-size: 15px;

    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}

.botones-personalizacion button:hover {
    filter: brightness(1.10);
}

.botones-personalizacion button:active {
    transform: scale(0.98);
}


/* =====================================================
   PERSONALIZACIÓN EN CELULAR
   ===================================================== */

@media (max-width: 600px) {

    .personalizacion {
        width: 100%;

        margin-top: 25px;

        padding: 20px 15px;
    }

    .personalizacion h2 {
        font-size: 24px;
    }

    #producto-personalizando {
        font-size: 18px;

        padding: 7px 15px;
    }

    .ingredientes {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .ingredientes label {
        padding: 13px 8px;

        font-size: 14px;
    }

    .complemento-obligatorio {
        padding: 13px 12px;

        gap: 10px;
    }

    .complemento-check strong {
        font-size: 16px;
    }

    .complemento-check small {
        font-size: 12px;
    }

    .complemento-check input {
        width: 21px;

        height: 21px;
    }

    .complemento-check input:checked::after {
        font-size: 16px;
    }

    .imagen-papas {
        width: 75px;

        height: 60px;
    }

    .botones-personalizacion {
        grid-template-columns: 1fr;
    }

}
