/* =========================================================
   BEBIDAS EMBLEMÁTICAS Y CONCENTRADOS
========================================================= */

.pagina-bebidas,
.pagina-bebidas * {
    box-sizing: border-box;
}

.pagina-bebidas {
    min-height: 100vh;

    color: #3d2a20;

    overflow-x: hidden;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.bebidas-pagina {
    position: relative;

    width: 100%;
    min-height: calc(100svh - 116px);

    padding:
        clamp(38px, 5vw, 72px)
        0
        clamp(65px, 8vw, 100px);
}


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

.bebidas-encabezado {
    width: min(
        1120px,
        calc(100% - 48px)
    );

    margin:
        0
        auto
        clamp(38px, 5vw, 58px);

    text-align: center;
}

.bebidas-encabezado-superior {
    display: grid;

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

    align-items: center;

    gap: 20px;

    margin-bottom: 18px;
}

.bebidas-volver {
    justify-self: start;

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

    gap: 8px;

    padding: 11px 17px;

    color: #fff5e8;
    background: rgba(61, 34, 22, .72);

    border: 1px solid rgba(255, 207, 151, .68);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    box-shadow:
        0 7px 18px
        rgba(61, 29, 13, .24);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.bebidas-volver:hover {
    color: #3e281c;
    background: #ffc37d;

    transform: translateX(-4px);

    box-shadow:
        0 10px 22px
        rgba(74, 35, 15, .30);
}

.bebidas-etiqueta {
    grid-column: 2;

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

    padding: 9px 18px;

    color: #ffd5a1;
    background: rgba(66, 39, 25, .68);

    border: 1px solid rgba(255, 190, 116, .75);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    box-shadow:
        0 6px 18px
        rgba(47, 26, 14, .26);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.bebidas-encabezado h1 {
    margin: 0 0 22px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            44px,
            6vw,
            78px
        );

    font-weight: 700;
    line-height: .98;

    text-shadow:
        0 5px 15px
        rgba(43, 24, 14, .80),
        0 1px 2px
        rgba(0, 0, 0, .95);
}

.bebidas-encabezado h1 span {
    display: block;
}

.bebidas-encabezado > p {
    width: min(
        930px,
        100%
    );

    margin: 0 auto;
    padding: 20px 29px;

    color: #ffffff;
    background: rgba(99, 62, 39, .61);

    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 20px;

    font-size: 17px;
    line-height: 1.72;

    text-shadow:
        0 2px 6px
        rgba(0, 0, 0, .70);

    box-shadow:
        0 13px 32px
        rgba(52, 27, 14, .25);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================================
   LISTADO
========================================================= */

.bebidas-listado {
    width: min(
        1600px,
        calc(100% - 56px)
    );

    margin: 0 auto;
}

.bebidas-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(290px, 390px)
        );

    align-items: stretch;
    justify-content: center;

    gap: 30px;
}


/* =========================================================
   TARJETAS
========================================================= */

.bebida-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .98),
            rgba(255, 249, 244, .96)
        );

    border: 1px solid rgba(106, 65, 41, .15);
    border-radius: 24px;

    box-shadow:
        0 13px 35px
        rgba(58, 31, 16, .25);

    transition:
        transform .30s ease,
        box-shadow .30s ease;
}

.bebida-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 43px
        rgba(58, 31, 16, .34);
}


/* =========================================================
   IMAGEN
========================================================= */

.bebida-imagen {
    position: relative;

    width: 100%;
    height: 275px;

    overflow: hidden;

    background: #d9c5b8;
}

.bebida-imagen img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .55s ease,
        filter .55s ease;
}

.bebida-card:hover .bebida-imagen img {
    transform: scale(1.055);

    filter:
        saturate(1.06)
        contrast(1.03);
}

.bebida-imagen-degradado {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(39, 19, 9, .68) 0%,
            rgba(39, 19, 9, .13) 45%,
            rgba(39, 19, 9, 0) 72%
        );

    pointer-events: none;
}

.bebida-tipo {
    position: absolute;

    left: 18px;
    bottom: 17px;

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

    padding: 8px 14px;

    color: #ffffff;
    background: rgba(61, 35, 24, .83);

    border: 1px solid rgba(255, 255, 255, .43);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;

    box-shadow:
        0 5px 14px
        rgba(0, 0, 0, .22);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* =========================================================
   CONTENIDO DE LA TARJETA
========================================================= */

.bebida-contenido {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 25px 25px 27px;
}

.bebida-contenido h2 {
    margin: 0 0 13px;

    color: #754425;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.bebida-descripcion {
    flex: 1;

    margin: 0 0 19px;

    color: #5d514a;

    font-size: 15px;
    line-height: 1.67;
    text-align: justify;
}

.bebida-datos {
    display: grid;

    gap: 9px;

    margin-bottom: 20px;
    padding: 14px 15px;

    background: #f5ebe3;

    border: 1px solid #ead8ca;
    border-radius: 14px;
}

.bebida-dato {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    color: #654838;

    font-size: 13px;
    line-height: 1.45;
}

.bebida-dato > span:first-child {
    flex: 0 0 auto;
}


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

.bebida-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: min(
        270px,
        100%
    );

    min-height: 50px;

    margin: auto auto 0;
    padding: 13px 22px;

    color: #34251d;
    background:
        linear-gradient(
            135deg,
            #ffc47e,
            #eea458
        );

    border: 1px solid rgba(137, 76, 30, .22);
    border-radius: 14px;

    font-size: 15px;
    font-weight: 800;
    text-decoration: none;

    box-shadow:
        0 8px 17px
        rgba(131, 72, 30, .20);

    transition:
        color .26s ease,
        background .26s ease,
        transform .26s ease,
        box-shadow .26s ease;
}

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

    transition:
        transform .26s ease;
}

.bebida-boton:hover {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #8d2e93,
            #a33daf
        );

    transform: translateY(-3px);

    box-shadow:
        0 12px 23px
        rgba(99, 37, 107, .28);
}

.bebida-boton:hover span {
    transform: translateX(4px);
}


/* =========================================================
   MENSAJE SIN REGISTROS
========================================================= */

.bebidas-vacio {
    grid-column: 1 / -1;

    width: min(
        680px,
        100%
    );

    margin: 0 auto;
    padding: 48px 30px;

    color: #5e4638;
    background: rgba(255, 255, 255, .91);

    border: 1px solid rgba(117, 70, 42, .17);
    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 14px 36px
        rgba(62, 32, 16, .22);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.bebidas-vacio-icono {
    display: block;

    margin-bottom: 12px;

    font-size: 52px;
}

.bebidas-vacio h2 {
    margin: 0 0 11px;

    color: #744425;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 33px;
}

.bebidas-vacio p {
    margin: 0 auto 24px;

    max-width: 500px;

    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   FOOTER
========================================================= */

.pagina-bebidas .footer-tepos-compacto {
    margin-top: 0 !important;
}


/* =========================================================
   TABLETA
========================================================= */

@media (max-width: 1050px) {

    .bebidas-encabezado {
        width: min(
            900px,
            calc(100% - 36px)
        );
    }

    .bebidas-encabezado-superior {
        grid-template-columns:
            auto
            1fr;

        justify-content: center;
    }

    .bebidas-etiqueta {
        grid-column: 2;

        justify-self: end;
    }

    .bebidas-listado {
        width: min(
            900px,
            calc(100% - 36px)
        );
    }

}


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

@media (max-width: 768px) {

    .bebidas-pagina {
        min-height: calc(100svh - 72px);

        padding:
            28px
            0
            60px;
    }

    .bebidas-encabezado {
        width: calc(100% - 24px);

        margin-bottom: 30px;
    }

    .bebidas-encabezado-superior {
        display: flex;
        flex-direction: column-reverse;

        gap: 12px;

        margin-bottom: 16px;
    }

    .bebidas-volver,
    .bebidas-etiqueta {
        justify-self: auto;
    }

    .bebidas-volver {
        align-self: flex-start;

        padding: 9px 14px;

        font-size: 12px;
    }

    .bebidas-etiqueta {
        align-self: center;

        padding: 8px 14px;

        font-size: 10px;
    }

    .bebidas-encabezado h1 {
        margin-bottom: 17px;

        font-size:
            clamp(
                38px,
                11vw,
                54px
            );

        line-height: 1.02;
    }

    .bebidas-encabezado > p {
        padding: 17px 18px;

        font-size: 14px;
        line-height: 1.67;
        text-align: justify;
    }

    .bebidas-listado {
        width: calc(100% - 24px);
    }

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

        gap: 24px;
    }

    .bebida-card {
        width: min(
            470px,
            100%
        );

        margin: 0 auto;
    }

    .bebida-imagen {
        height: 235px;
    }

    .bebida-contenido {
        padding: 22px 20px 24px;
    }

    .bebida-contenido h2 {
        font-size: 25px;
    }

    .bebida-descripcion {
        font-size: 14px;
    }

}


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

@media (max-width: 480px) {

    .bebidas-pagina {
        padding-top: 23px;
    }

    .bebidas-encabezado h1 {
        font-size:
            clamp(
                34px,
                12vw,
                45px
            );
    }

    .bebidas-encabezado > p {
        padding: 15px;

        font-size: 13px;
    }

    .bebida-imagen {
        height: 215px;
    }

    .bebida-tipo {
        left: 13px;
        bottom: 13px;

        padding: 7px 11px;

        font-size: 9px;
    }

    .bebida-contenido {
        padding: 20px 17px 21px;
    }

    .bebida-contenido h2 {
        font-size: 23px;
    }

    .bebida-datos {
        padding: 12px;
    }

    .bebida-boton {
        min-height: 47px;

        padding: 12px 16px;

        font-size: 14px;
    }

}
