/* TIPOGRAFÍA GENERAL */
body {
    margin: 0;
    background: #000;
    font-family: 'Just Another Hand', cursive;

    /* alternativas */
    /* font-family: 'Bebas Neue', sans-serif; */
    /* font-family: 'Oswald', sans-serif; */
    /* font-family: 'Pacifico', cursive; */
}

/* CONTENEDOR */
.carta {
    width: 900px;
    max-width: 900px;
    margin: auto;
}

/* IMÁGENES */
.carta img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* HERO */
.hero {
    position: relative;
    margin-bottom: 10px;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    /* efecto vidrio */
    /* backdrop-filter: blur(3px); */

    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

/* OVERLAY */
.layout {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;

    padding: 5px;
    box-sizing: border-box;
}

/* CONTENEDOR SUPERIOR */
.top {
    background: transparent;
    color: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 12px;
}

/* TITULO PRINCIPAL */
.titulo {
    font-family: 'Just Another Hand', cursive;

    display: block;

    font-size: 90px;
    line-height: 1;
    letter-spacing: 2px;

    color: #ffe066;

    margin-bottom: -10px;

    text-shadow:
        2px 2px 0 #000,
        4px 4px 8px rgba(0, 0, 0, 0.6);
}

/* TITULOS */
.box h3 {
    font-family: 'Just Another Hand', cursive;

    margin: 0 0 10px 0;

    font-size: 40px;
    line-height: 1;

    color: #ffe066;

    text-shadow:
        2px 2px 0 #000,
        4px 4px 8px rgba(0, 0, 0, 0.6);
}

/* SUBTITULO */
.subtitulo {
    display: block;

    font-size: 35px;
    font-weight: bold;
    letter-spacing: 2px;

    color: #000;
}

/* CONTENEDORES */
.bottom {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* CAJAS */
.box {
    flex: 1;

    background: transparent;

    color: #fff;

    padding: 15px;
    padding-top: 0;

    text-align: center;

    border-radius: 8px;

    cursor: pointer;
    transition: 0.2s;
}

/* BOTÓN SUBIR */
#topBtn {
    display: none;

    position: fixed;
    bottom: 20px;
    right: 20px;

    background: #ff2b2b;
    color: white;

    border: none;

    padding: 12px 15px;

    border-radius: 50%;

    font-size: 18px;

    cursor: pointer;
}

/* LISTAS */
.box ul {
    list-style: none;

    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;

    /* separación entre productos */
    gap: 8px;
}

/* PRODUCTOS */
.box li {
    font-family: 'Poppins', sans-serif;

    font-size: 22px;
    font-weight: 700;

    color: #000;

    text-align: left;

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* NOMBRE Y PRECIO */
.box li>.nombre,
.box li>.precio {
    display: inline-block;
}

/* DETALLES */
.detalle {
    font-family: Arial, sans-serif;

    font-size: 20px;
    font-weight: normal;

    margin-top: 0;

    color: #000;

    display: flex;
    flex-direction: column;
}

.almuerzos .detalle {
    text-align: left;
}

/* FILA */
.fila {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* PRECIO */
.precio {
    font-weight: bold;
}

/* MENÚ NIÑOS */
.menu-ninos {
    display: block;
}

.menu-ninos .fila {
    display: flex;
    justify-content: space-between;
}

/* OCULTAR PRECIOS VACÍOS */
.precio:empty,
.precio[data-precio="0"] {
    display: none;
}

/* AGOTADOS */
.agotado {
    opacity: .45;
}

.agotado h3,
.agotado h4,
.agotado p,
.agotado .nombre,
.agotado .precio {
    text-decoration: line-through;
}