﻿* {
    font-family: 'Poppins', sans-serif;
}

:root {
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    color: rgba(0, 0, 0, 0.87);
    background-color: #f3f4f6;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll; /* asegura que el espacio esté reservado */
    background-color: transparent; /* igual al fondo de tu app */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #111111;
    color: #fefefe;
}

/* Estructura principal de la app */

#body-content {
    padding-top: 150px;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar Sticky */

.main-container {
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}

.content-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 161px 0 100px 0;
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

button:focus,
button:focus-visible {
    outline: none;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


h2, h3, p, li {
    margin: 0;
}

input {
    outline: none;
}

textarea {
    outline: none;
}

.oculto {
    display: none;
}

.visible {
    display: block;
}

/* ESTILOS SIMPLES */

.ali-ite-cen {
    align-items: center;
}

.ali-ite-end {
    align-items: end;
}

.ali-sel-str {
    align-self: stretch;
}

.back-none {
    background: none;
}

.backcol-111111 {
    background-color: #111111;
}

.backcol-212121 {
    background-color: #212121;
}

.backcol-31341a {
    background-color: #31341a;
}

.backcol-3c401d {
    background-color: #3c401d;
}

.backcol-434343 {
    background-color: #434343;
}

.backcol-46ed89 {
    background-color: #46ed89;
}

.backcol-e6fa4d {
    background-color: #e6fa4d;
}

.backcol-transp {
    background-color: transparent;
}

.bor-col-e6fa4d {
    border-color: #e6fa4d;
}

.bor-none {
    border: none;
}

.bor-rad-12 {
    border-radius: 12px;
}

.bor-rad-8 {
    border-radius: 8px;
}

.bor-rad-6 {
    border-radius: 6px;
}

.bor-rad4 {
    border-radius: 4px;
}

.bor-rad-3 {
    border-radius: 3px;
}

.bor-rad-50-per {
    border-radius: 50%;
}

.bor-sty-sol {
    border-style: solid;
}

.bor-wid-2 {
    border-width: 2px;
}

.box-siz-bor-box {
    box-sizing: border-box;
}

.col-111111 {
    color: #111111;
}

.col-cacaca {
    color: #cacaca;
}

.col-fefefe {
    color: #fefefe;
}

.col-white {
    color: white;
}

.col-ddd {
    color: #ddd;
}

.col-e6fa4d {
    color: #e6fa4d;
}

.col-e6fa4d {
    color: #e6fa4d;
}

.cur-point {
    cursor: pointer;
}

.dis-blo {
    display: block;
}

.dis-flex {
    display: flex;
}

.dis-none {
    display: none !important;
}

.dis-web-box {
    display: -webkit-box;
}

.ellipsis {
    text-overflow: ellipsis;
}

.flex1 {
    flex: 1;
}

.flex-dir-col {
    flex-direction: column;
}

.flex-dir-row {
    flex-direction: row;
}

.flex-wrap-wrap {
    flex-wrap: wrap;
}

.fon-siz-22 {
    font-size: 22px;
}

.fon-siz-20 {
    font-size: 20px;
}

.fon-siz-16 {
    font-size: 16px;
}

.fon-siz-14 {
    font-size: 14px;
}

.fon-siz-12 {
    font-size: 12px;
}

.fon-size-1em {
    font-size: 1em;
}

.fon-size-085em {
    font-size: 0.85em;
}

.fon-size-1em {
    font-size: 1em;
}

.fon-size-08em {
    font-size: 0.8em;
}

.fon-size-07em {
    font-size: 0.7em;
}

.fon-wei-bold {
    font-weight: bold;
}

.fon-wei-500 {
    font-weight: 500;
}

.fon-wei-300 {
    font-weight: 300;
}

.fon-wei-200 {
    font-weight: 200;
}

.gap-16 {
    gap: 16px;
}

.gap12 {
    gap: 12px;
}

.gap-6 {
    gap: 6px;
}

.gap-0 {
    gap: 0px;
}

.height200 {
    height: 200px;
}

.height120 {
    height: 120px;
}

.height100 {
    height: 100px;
}

.height80 {
    height: 80px;
}

.height60 {
    height: 60px;
}

.height-100-per {
    height: 100%;
}

.jus-con-cen {
    justify-content: center;
}

.jus-con-end {
    justify-content: end;
}

.jus-con-fle-end {
    justify-content: flex-end;
}

.jus-con-spa-aro {
    justify-content: space-around;
}

.jus-con-spa-bet {
    justify-content: space-between;
}

.jus-con-sta {
    justify-content: start;
}

.lef16 {
    left: 16px;
}

.left-50-per {
    left: 50%;
}

.margin0 {
    margin: 0;
}

.mar-auto {
    margin: auto;
}

.mar-32 {
    margin: 32px;
}

.mar-bot-128 {
    margin-bottom: 128px;
}

.mar-bot-16 {
    margin-bottom: 16px;
}

.mar-lef-16 {
    margin-left: 16px;
}

.mar-rig-16 {
    margin-right: 16px;
}

.mar-top-64 {
    margin-top: 64px;
}

.mar-top-16 {
    margin-top: 16px;
}

.mar-top-auto {
    margin-top: auto;
}

.max-hei-100-100 {
    max-height: 100%;
}

.max-wid-100-100 {
    max-width: 100%;
}

.obj-fit-cov {
    object-fit: cover;
}

.out-none {
    outline: none;
}

.over-hid {
    overflow: hidden;
}

.pad-32 {
    padding: 32px;
}

.pad-24 {
    padding: 24px;
}

.pad-20 {
    padding: 20px;
}

.pad-16 {
    padding: 16px;
}


.pad12 {
    padding: 12px;
}

.pad10 {
    padding: 10px;
}

.pad7 {
    padding: 7px;
}

.pad-bot-16 {
    padding-bottom: 16px;
}

.pad-bot-10 {
    padding-bottom: 10px;
}

.pad-bot-8 {
    padding-bottom: 8px;
}

.pad-bot-6 {
    padding-bottom: 6px;
}

.pad-lef-16 {
    padding-left: 16px;
}

.pad-lef-12 {
    padding-left: 12px;
}

.pad-lef-0 {
    padding-left: 0px;
}

.pad-rig-16 {
    padding-right: 16px;
}

.pad-rig-12 {
    padding-right: 12px;
}

.pad-top-32 {
    padding-top: 32px;
}

.pad-top-16 {
    padding-top: 16px;
}

.pad-top-10 {
    padding-top: 10px;
}

.pad-top-8 {
    padding-top: 8px;
}

.pad-top-6 {
    padding-top: 6px;
}

.pos-abs {
    position: absolute;
}

.pos-fix {
    position: fixed;
}

.pos-rel {
    position: relative;
}

.rig-16 {
    right: 16px;
}

.rig-10 {
    right: 10px;
}

.tex-ali-cen {
    text-align: center;
}

.tex-ali-rig {
    text-align: right;
}

.top-38 {
    top: 38px;
}

.top16 {
    top: 16px;
}

.top-20-per {
    top: 20%;
}

.tra-tra--50-per--50-per {
    transform: translate(-50%, -50%);
}

.web-box-ori-ver {
    -webkit-box-orient: vertical;
}

.web-lin-cla-3 {
    -webkit-line-clamp: 3;
}

.web-lin-cla-2 {
    -webkit-line-clamp: 2;
}

.web-lin-cla-1 {
    -webkit-line-clamp: 1;
}

.width200 {
    width: 200px;
}

.width100 {
    width: 100px;
}

.width80 {
    width: 80px;
}

.width50 {
    width: 50px;
}

.width-100-per {
    width: 100%;
}

.wid-100-100 {
    width: 100%;
}

.width-80-per {
    width: 80%;
}

.wid-fit-con {
    width: fit-content;
}

.whi-spa-nowrap {
    white-space: nowrap;
}

.z-ind-100005 {
    z-index: 100005;
}

.z-ind-200 {
    z-index: 200;
}


/* ESTILOS SIMPLES */

.boxShadow {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.textoSombreado {
    text-shadow: 0 0 3px #373434, 0 0 3px #000, 0 0 10px #000;
}


.precio-producto-sube {
    color: #0FFF00 !important;
    transform: rotate(45deg);
    transition: transform 0.5s ease, background-color 1s ease-out;
}

    /*.precio-producto-sube i {
        transform: rotate(45deg);
    }*/

.precio-producto-baja {
    color: #FF0000 !important;
    transform: rotate(45deg);
    transition: transform 0.5s ease-in-out;
}

    /*.precio-producto-baja i {
        transform: rotate(-135deg);
    }*/

.precio-producto-igual {
    color: #e6fa4d !important;
    transition: background-color 1s ease-out;
}

    .precio-producto-igual i {
        transform: rotate(45deg);
    }

.categoriaSeleccionada {
    background-color: #e6fa4d !important;
}

.categoria {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #111111;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    min-width: 100px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

@keyframes kfParpadeoCambioPrecio {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.parpadeoCambioPrecio {
    animation: kfParpadeoCambioPrecio 1s linear infinite;
}

.color-wall-drink {
    color: #e6fa4d;
}

.carousel {
    position: relative;
    max-width: 400px;
    width: 100%;
    height: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%; /* 3 imágenes */
}

.carousel-slide {
    flex: 1 0 100%;
}

    .carousel-slide img {
        /*width: 100%;
        height: 100%;*/
        object-fit: cover; /* o contain, según lo que prefieras */
    }

.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

    .carousel-buttons button {
        background-color: #cacaca52;
        border: none;
        color: #e6fa4d;
        padding: 10px;
        cursor: pointer;
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }


.carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-color: #e6fa4d;
    border-width: 1px;
    border-style: solid;
}

.dot.active-dot {
    background-color: #e6fa4d;
}

.info-container {
    display: flex;
    flex-direction: column;
}

.tabs-mobile {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tab-btn {
    flex: 1;
    padding-top: 10px;
    padding-bottom: 10px;
    background: transparent;
    color: #cacaca;
    border: none;
    cursor: pointer;
}

    .tab-btn.active-tab-btn {
        background: transparent;
        color: #e6fa4d;
        text-decoration: underline;
        text-underline-offset: 6px;
    }

.popup-error {
    background-color: #f44336; /* Rojo */
}

.popup-exito {
    background-color: #46ed89; /* Azul */
}

.popup-info {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100005;
    width: clamp(300px, 80%, 400px);
    animation: fadeIn 1s ease forwards;
}

    .popup-info .close-btn {
        position: absolute;
        top: 10px;
        right: 14px;
        color: #040d37;
        font-size: 24px;
        cursor: pointer;
    }

.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

    /* Ocultar el checkbox original */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Caja personalizada */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #31341a;
    border-radius: 4px;
    transition: background 0.3s;
}

/* Tick: crear una marca con un pseudo-elemento */
.checkbox-container input:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid yellow;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Cambiar tamaño */
.checkbox-container .checkmark {
    width: 24px;
    height: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}

.fade-out {
    animation: fadeOut 1s ease forwards;
}


.presentacion-productos {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 32px;
}

.pres-producto {
    margin: 32px;
}

@media (max-width: 600px) {
    .carousel {
        max-width: 100%;
        height: 250px;
    }

    #body-content {
        padding-top: 0px;
        padding-bottom: 60px;
    }

    .presentacion-productos {
        display: flex;
        flex-direction: row;
        justify-content: start;
        flex-wrap: wrap;
        padding: 32px;
    }

    .pres-producto {
        margin: 0px;
        width: 50%;
    }
}