@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&family=Big+Shoulders+Stencil:opsz,wght@10..72,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Parkinsans:wght@300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: "Roboto";
    src: url("./font/Roboto/Roboto-Regular.ttf") format("truetype");
}

:root[data-theme="minimalista"] {
    --bg-color: #F8F9FA;
    --accent-color: #0a9d10;
    --accent-color-hover: #1fbe29;
    --accent-color-active: #06760e;
    --accent-color-disabled: #9ac19d;
    --navbar-color: #ffffff;
    --navbar-items-color: #000000;
    --header-bg: #ffffff;
    --header-text: #198754;
    --body-text: #2D3436;
    --text-shadow: 1px 1px white;
    --menu-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-header: 'Roboto Condensed';
    --card-title-color: #83766cff;
    --card-body-font: 'Roboto';
    --card-bg-color: white;
    --footer-gradient: linear-gradient(rgb(41, 126, 49, 0), rgb(41, 126, 49, 0) 30%, rgb(41, 126, 49, 0.8) 50%);
    --banner-conoce-background: linear-gradient(to right, #0a9d10, #1fbe29);
    --banner-conoce-font: 'Tangerine', cursive;
    --banner-conoce-font-weight: 500;
    --font-weight-titleProduct: 600;
    --border-radius-main: 4px;
    --card-border: 0;
    --card-font-weight-stock: 100;
    --usermenu-opText-color: #4c4275;
    --usermenu-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

:root[data-theme="techno"] {
    --banner-conoce-background: linear-gradient(to right, #110c37, #2b1870);
    --banner-conoce-font: 'Big Shoulders Stencil', cursive;
    --banner-conoce-font-weight: 500;
    --bg-color: #0a0b10;
    --accent-color: #027dbb;
    --accent-color-hover: #0596fe;
    --accent-color-active: #030b40;
    --accent-color-disabled: #9ac19d;
    --sommelier-border: 1px solid #688faa;
    --navbar-color: #0b0351;
    --navbar-items-color: #ffffff;
    --´eader-bg: #ffffff;
    --header-text: #198754;
    --body-text: #f5fcfd;
    --text-shadow: 0;
    --card-bg-color: #151829;
    --card-header: 'Big Shoulders Stencil-';
    --card-body-font: 'Roboto Mono';
    --card-shadow: 0 0 8px rgba(35, 236, 250, 0.6);
    --card-title-color: rgb(218, 246, 249);
    --card-border: 1px solid rgb(35, 236, 250);
    --card-font-weight-stock: 600;
    --font-weight-titleProduct: 600;
    --border-radius-main: 15px;
    --footer-gradient: linear-gradient(rgb(41, 126, 49, 0), rgba(3, 17, 95, 0) 30%, rgba(14, 2, 42, 0.8) 50%);
    --skeleton-bg: #1e2235;
    --skeleton-shine: #2a3047;
    --usermenu-opText-color: #4c4275;
    --usermenu-box-shadow: 6px 7px 6px rgba(62, 234, 255, 0.7);
}

html {
    scrollbar-gutter: stable;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    scrollbar-color: #0a9d10 #3a713c70;
    scrollbar-width: thin;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

@media (max-width: 800px) {
    body:not(.confirmar-compra) {
        padding-bottom: 60px;
    }
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #3a713c70;
}

body::-webkit-scrollbar-thumb {
    background-color: #0a9d10;
    border-radius: 6px;
    border: 3px solid transparent;
}

html {
    scrollbar-color: #0a9d10 #3a713c70;
    scrollbar-width: thin;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: #3a713c70;
}

html::-webkit-scrollbar-thumb {
    background-color: #0a9d10;
    border-radius: 6px;
    border: 3px solid transparent;
}

menu-del-mate:not(:defined) {
    opacity: 0;
    background-color: rgba(41, 126, 49, 0.8);
    display: block;
    min-height: 70px;
}

portada-img:not(:defined) {
    opacity: 0;
    display: block;
    min-height: 600px;
    background-color: rgb(98, 131, 112);

    @media (width<700px) {
        min-height: 700px;
    }
}

menu-del-mate:defined,
portada-img:defined {
    animation: fadeIn 0.3s ease-in;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.portada {
    height: calc(100vh - 60px);
    position: relative;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom center
    }

    .controles {
        position: absolute;
        width: 95%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: space-between;
        gap: 1em;

        span {
            font-size: 3em;
            cursor: pointer;
            color: white;
            border-radius: 50%;
            padding: 0 15px;

            &:hover {
                background-color: rgba(163, 180, 192, 0.765);
                transition: background-color 0.2s ease;
                box-shadow: 0 0 5px 1px rgb(124, 159, 195);
            }
        }
    }
}

.banner-conoce {
    margin: 1em 0;
    margin-bottom: 2em;
    position: relative;
    background: var(--banner-conoce-background);
    padding: 1em 0;
    background-size: cover;
    background-position: right;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (width<900px) {
        margin-bottom: 0.5em;
        height: 100px;
    }

    h1 {
        color: white;
        font-family: var(--banner-conoce-font);
        font-weight: var(--banner-conoce-font-weight);
        font-size: 5em;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

        @media (width<900px) {
            font-size: 2.5em;
            text-align: center;
        }
    }
}


section.destacados {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    place-content: center;
    margin: auto;
    grid-auto-flow: column;
    gap: 16px;
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    @media (width<900px) {
        width: 100%;
        padding: 20px 0;
        gap: 5px;
        grid-template-rows: repeat(3, 1fr);
    }
}

section.destacados::-webkit-scrollbar {
    display: none;
}

.section.destacados product-card {
    scroll-snap-align: start;
}

.main section.categorias {
    display: flex;
    gap: 3em;
    width: 75%;
    margin: 2em auto;
    margin-top: 3em;
    justify-content: center;

    @media (width<900px) {
        gap: 1.5em;
        width: 90%;
    }
}

.productos .categorias {
    display: flex;
    gap: 2em;
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 0;
    justify-content: center;
}

section.contacto {
    width: 80%;
    display: flex;
    justify-content: space-around;
    font-family: arial;
    margin: 4em auto;
    margin-bottom: 5em;

    @media (width<900px) {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }

    .wa {
        width: 50%;

        @media (width<900px) {
            width: 250px;
        }

        a {
            width: 250px;
            display: grid;
            grid-template-columns: 25% 75%;
            grid-template-rows: 1fr 1fr;
            text-decoration: none;
            color: green
        }

        .icon {
            width: 50px;
            height: 50px;
            grid-row: span 2;
            align-self: center;
            justify-self: end;
        }

        a p {
            margin: 0 0.5em;
        }
    }

    .email {
        @media (width<900px) {
            width: 250px;
        }

        a {
            display: grid;
            grid-template-columns: 25% 75%;
        }

        .icon {
            width: 50px;
            height: 50px;
            grid-row: span 2;
            align-self: center;
            justify-self: end;
        }
    }
}

.filtros-vista-contenedor {
    width: 80%;
    max-width: 800px;
    margin: 30px auto;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contenedor-boton-vista {
    display: flex;
    gap: 1em;
}

.tipo-vista-icon {
    border-radius: 0;
    fill: #84c08b;
}

.contacto-titular {
    font-family: 'Roboto Condensed';
    font-size: 1.5em;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.banner-contacto {
    width: 100%;
    overflow: hidden;
    height: 260px;
    backdrop-filter: blur(10px);

    @media (width<700px) {
        height: 235px;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

}

footer.index {
    position: relative;
}

/* products */
p.notFound {
    text-align: center;
    position: absolute;
    top: 10%;
    left: 10%;
    max-width: 80%;
    font-size: 1.5em;
    color: #4c4c4c;
    font-family: 'Roboto Condensed';
    letter-spacing: 1px;
    margin-top: 2em;
}

.contenedor-boton-filtro {
    display: flex;
    justify-content: start;
    align-items: center;
    max-width: 700px;
    margin-left: 1em;
}

.contenedor-boton-filtro span {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 10px;
    color: #36b1d9;
    display: none;
}

.filtrar-icon {
    display: none;

    @media(width<900px) {
        display: block;
        fill: #84c08b;

    }
}

.filtros.mostrar {
    display: block;
    transform: translateY(0);
    opacity: 1;
    padding: 0;
    pointer-events: auto;
    height: auto;
    z-index: 10;
}

.filtros {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;

    @media (width<900px) {
        max-width: 900px;
        width: 90%;
        transition: opacity 1s ease-out, transform 0.8s ease-in-out, height 1s ease-out;
        transform: translateY(-100px);
        opacity: 0;
        pointer-events: none;
        padding: 0;
        height: 0;
        overflow: hidden;
    }

    ul {
        list-style: none;

        li {
            margin-bottom: 0.5em;
        }
    }
}

.skeleton-card {
    box-sizing: border-box;
    border: 1px solid #30865161;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    position: relative;
    height: 280px;
}


.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: loading-shimmer 1.5s infinite;
}

.skeleton-img {
    width: 100%;
    height: 170px;
    background: #30865161;
    border-radius: 4px;
}

.skeleton-title {
    width: 80%;
    height: 18px;
    background: #30865161;
}

.skeleton-price {
    width: 40%;
    height: 18px;
    background: #30865161;
}

@keyframes loading-shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-card {
    animation: fadeIn 0.5s ease forwards;
}

.busquedas {
    display: grid;
    margin: 1em auto;
    min-height: 450px;
    grid-template-columns: 1fr 5fr;
    max-width: 1200px;
    gap: 10px;

    @media (width<700px) {
        grid-template-columns: 1fr;
        margin: 0;
        min-height: auto;
    }
}

.busquedas .resultados {
    display: grid;
    gap: 1em;
    justify-content: start;
    width: 100%;
}

.busquedas .resultados.grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));

    @media (width<900px) {
        min-height: 80vh;
        box-sizing: border-box;
        /*grid-template-columns: repeat(auto-fill, minmax(min(30%, 170px), 130px));*/
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 5px;
        place-content: start center;
    }
}

.busquedas .resultados.list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto-fill, 185px);
    gap: 0.2em
}

main {
    min-height: 55vh;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.main {}

/* producto detalle*/
.ubicacion-producto {
    max-width: 1000px;
    margin: 3em auto;
}

.producto-detalle {
    display: flex;
    gap: 2em;
    max-width: 1000px;
    margin: 3em auto;
    font-family: Arial, sans-serif;
}

.img-detalle img {
    width: 100%;
    max-width: 400px;
    cursor: pointer;
}

.detalles-producto {
    flex: 1;
}

.detalles-producto p {
    margin-bottom: 1.5em;
}

.disponible-producto {
    margin-left: 15px;
    font-size: 1em;
    color: #555;
}

.product-image {
    transition: transform 0.5s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* Modal para ampliar la imagen del producto */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    display: block;
    margin: auto;
}

.close,
.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3em;
    cursor: pointer;
}

.close {
    top: 10px;
    right: 20px;
    font-size: 2em;
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-prev:hover,
.modal-next:hover,
.close:hover {
    color: #ddd;
}

/*Registro y login */
body.registro,
body.login {
    background-size: cover;
    background-position: center;
    height: 100vh;
}

body.registro {
    background-image: url("../img/banner/registro.jpg");
    background-position: bottom 50% left 46%;
}

body.login {
    background-image: url("../img/banner/login.jpg");
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: left -55% top 30%;

    @media (max-width: 700px) {
        background-image: url("../img/banner/mate-patagonia.jpg");
        background-size: cover;
        background-position: right;
    }
}

main.registro {
    height: calc(100vh - 60px);
    margin: auto;
    max-width: 900px;
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: transparent;
    padding: 2em 0
}

form.registro {
    box-sizing: border-box;
    width: clamp(250px, 100%, 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    background-color: white;
    padding: 1.5em 1em;
    padding-bottom: 1em;
    border-radius: 10px;

    @media (max-width: 700px) {
        margin: 0 2em;
    }

    section {
        label {
            display: block;
            font-weight: 700;
            letter-spacing: 1px;
            color: #738f71;
            font-size: 10px;
            font-family: 'Poppins', sans-serif;
        }
    }

    div {
        width: 90%;
        margin: auto;

        label {
            display: block;
            font-weight: 700;
            letter-spacing: 1px;
            color: #738f71;
            font-size: 10px;
            font-family: 'Poppins', sans-serif;
        }

        input {
            padding: 5px 0.5em;
            border-radius: 5px;
            border: 1px solid #ccc;
            width: clamp(150px, 100%, 280px);
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 14px;
        }
    }

    button {
        background-color: transparent;
        margin-top: 1em;
        width: clamp(200px, 100%, 280px);
    }
}

form.registro {
    button {
        cursor: pointer;
        color: green;
        border: 0;
        border-radius: 5px;
        padding: 0.7em 1em;
        font-weight: 500;
        letter-spacing: 1px;
        font-family: 'Poppins';
        transition:
            all 0.1s ease-in;

        &:hover {
            color: #d3e0d4;
            background-color: #3b913e;
        }
    }

    a {
        text-decoration: none;
        font-family: 'Poppins';
        font-size: 12px;

        &:hover {
            color: #0ae2ff;
        }
    }

    a:visited {
        color: #5492e4;
    }
}

main.login {
    height: calc(100vh - 60px);
    max-width: 1050px;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: transparent;

    .back-container {
        display: none;

        @media (width < 600px) {
            display: block;
        }
    }

    @media (width > 900px) {
        min-height: 100vh;

    }

    @media (max-width: 700px) {
        flex-direction: column;
        margin: 0;
        justify-content: center;
        width: 100%;

        .back-container {
            position: absolute;
            top: 20px;
            left: 20px;
        }
    }
}



form.login {
    background-color: white;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 5em 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;

    @media (width < 900px) {
        padding: 2em 1.5em;
        border-radius: 5px;
        height: auto;
    }

    input {
        max-width: 350px;
        padding: 5px;
        border-radius: 8px;
        border: 1px solid #ccc;
        width: 100%;
        box-sizing: border-box;

        @media (width < 900px) {
            margin-bottom: 0;
        }
    }

    button {
        width: 100%;
        background-color: var(--accent-color);
        color: white;
        border-radius: 5px;
        border: 0;
        padding: 5px 1em;
        font-family: 'Google Sans', sans-serif;
        transition:
            all 0.1s ease-in;

        &:hover {
            background-color: var(--accent-color-hover);
        }
    }

    p {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    @media (max-width: 700px) {
        margin-bottom: 100px;
        margin-top: 50px;
    }
}

.decoration-span {
    width: 10px;
    height: 1px;
    background-color: rgb(67, 138, 67);
}

form.login .google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #6d6d6d;
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

form.login .google-login-btn:hover {
    background-color: #abcec69a;
}

form.login a:visited {
    color: #6d6d6d;
}

.google-login-btn img {
    width: 20px;
    height: 20px;
}

header.index {
    margin-bottom: 0;
}

#error-message {
    color: red;
    display: none;
}

/*Envios*/
.contenedor {
    display: grid;
    min-height: 90vh;
    max-width: 1000px;
    margin: 0 auto;

    @media (max-width: 700px) {
        flex-direction: column;
        justify-content: center;
        padding-top: 10px;
        gap: 10px;
        min-height: 700px
    }
}

.met-pago,
.dire-envio {
    font-family: 'Arial', sans-serif;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 6px;

    @media (max-width: 700px) {
        width: 100%;
        padding: 0;
    }
}

dire-envio {
    display: inline-block;
    margin: 0 auto;

    @media (max-width: 700px) {
        width: 100%;
    }
}

.info-envio {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333333;
    display: flex;
    gap: 20px;
}

.info-envio .column {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.info-envio .column p {
    margin-bottom: 10px;
}

/*CONFIGURAR USUARIO*/
.user-panel {
    margin: 5px auto;
    margin-bottom: 40px;
    max-width: 1200px;
    height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
    padding: 0 20px;

    @media (width < 900px) {
        grid-template-columns: 1fr;
        gap: 15px;
        display: flex;
        flex-direction: column;
    }

    @media (width < 700px) {
        padding: 0;
    }
}

.icon.active {
    display: flex;
    overflow: hidden;
    padding: 0;
    width: 50px;
    height: 50px;
    outline: 0;

    @media (width < 900px) {
        width: 35px;
        height: 35px;
    }

    @media (width < 700px) {
        width: 25px;
        height: 25px;
    }
}

.foto-perfil-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.mobile-tabs {
    display: none;
    width: 100%;
    margin-bottom: 20px;
    background: transparent;
    border-bottom: 1px solid #eee;
    padding: 0;
    box-shadow: none;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #aaa;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 500;
}

.tab-btn.active {
    background: transparent;
    color: #222;
    font-weight: 600;
    box-shadow: none;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0a9d10;
    border-radius: 3px 3px 0 0;
}

.quick-links-mobile {
    display: none;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: var(--usermenu-box-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link:active {
    transform: scale(0.98);
}

.quick-link .text {
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--usermenu-opText-color);
    width: 200px;

    @media (width < 500px) {
        flex: 1;
    }

}

.quick-link .arrow {
    font-size: 1.5rem;
    color: #ccc;
    font-weight: 300;
    line-height: 1;
}

.user-card,
.history-card {
    box-sizing: border-box;
    padding: 20px;
    box-shadow: none;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
    min-height: 200px;
    width: clamp(300px, 100%, 600px);
    box-shadow: var(--usermenu-box-shadow);
    height: fit-content;


    @media (width < 700px) {
        width: 100%;
        padding: 0;
        overflow-y: scroll;
    }
}

@media (width < 900px) {
    .mobile-tabs {
        display: flex;
        gap: 0;
    }

    .quick-links-mobile {
        display: flex;
        flex-direction: column;

        @media (width < 500px) {
            gap: 1.5em;
            margin: 0 15px;
        }
    }



    .profile-image-section {
        background: white;
        padding: 15px;
        border-radius: 15px;
        box-shadow: none;
        border: 1px solid #eee;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .section-hidden-mobile {
        display: none !important;
    }

    .user-form .form-group label {
        font-size: 0.8rem !important;
    }

    .user-form .form-group input {
        font-size: 0.9rem !important;
        padding: 8px !important;
    }

    .user-header h2 {
        font-size: 1.15rem !important;
        margin-bottom: 5px;
    }

    .user-header p {
        font-size: 0.8rem !important;
        margin-bottom: 15px;
    }

}

@media (min-width: 900px) {
    .quick-links-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        padding: 0 20px;
    }

    .quick-link {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 15px 30px;
        border-radius: 12px;
        text-decoration: none;
        color: #333;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #eee;
    }

    .quick-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-color: #ddd;
    }

    .quick-link .text {
        font-family: 'Roboto Condensed', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .quick-link .arrow {
        display: none;
    }
}

.user-header {
    display: flex;
    align-items: center;

    @media (width < 700px) {
        margin-left: 25px;
    }
}

.botones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    width: clamp(300px, 80%, 400px);
}

.cancelarEnvio {
    fill: rgb(184 125 125);
}

.back-arrow {
    width: 25px;
    height: 25px;
    cursor: pointer;
    fill: #0a9d10;
}

.user-header h2 {
    font-family: 'Roboto';
    text-transform: uppercase;
    font-size: 16px;
    margin-left: 2rem;
}

.user-header p {
    font-family: 'Roboto Condensed', sans-serif;
    color: #7f8c8d;
    margin: 5px 0 20px 0;
    font-size: 0.9rem;
}

/* Image Upload */
.profile-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.image-container {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.previewImage {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f2f5;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.camera-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.upload-btn {
    display: none;
    margin-top: 15px;
    padding: 10px 20px;
    background: #0a9d10;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: Roboto, Arial;
    font-size: 12px;
    transition: background 0.2s;
}

.upload-btn:hover {
    background: #088c0d;
}

.edit-icon {
    width: 24px;
    height: 24px;
}

.mensaje-foto-upload {
    font-size: 12px;
    margin-top: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    row-gap: 1em;
    justify-items: center;
}

.form-group {
    padding: 5px 10px;
    border-radius: 12px;
    transition: background 0.2s;
    width: clamp(180px, 100%, 300px);
    margin: auto;
}

.form-group:hover {
    background: #b4e9c6;
}

user-tools {
    width: clamp(200px, 100%, 350px);
    font-family: 'Roboto Condensed', sans-serif;
}


.danger-zone {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.delete-account-btn {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    transition: opacity 0.2s;
}

.delete-account-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}



.active {
    outline: 2px solid rgb(71, 188, 203);
}

.volver {
    text-align: center;
}

.main-user-config {
    width: clamp(280px, 100%, 500px);
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;

    h2 {
        margin-left: 2rem;
    }

    @media (width<900px) {
        display: block;
    }
}

.open {
    opacity: 1;
}

historial-facturas {
    border-radius: 10px;
}

form#editar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding-bottom: 2em;
    margin-bottom: 2em;
    margin-top: 0;
    margin: auto;
}

form#editar section {
    position: relative;
    width: clamp(250px, 90%, 600px);
    height: 50px;
    padding-top: 5px;
}

.container article:hover {
    background-color: #0d89011c;
    border-radius: 5px;
    transition: 0.2s ease;
}

article {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    position: relative;
    padding-left: 1rem;
    padding-top: 5px;
    height: 50px;

    p {
        margin-top: 8px;
        font-size: 12px;
    }
}

form#editar article p {
    text-align: start;
}

form#editar div.container {
    width: 100%;
    height: 170px;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;

    @media (max-width: 600px) {
        grid-template-columns: 50% 50%;
        gap: 1em;

        .imageSection {
            padding-left: 0;
        }
    }
}

form#editar article.imageSection {
    grid-column: 3 / 2;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;

    &:hover {
        background-color: transparent;
        border: none;
    }
}

form#editar .previewImage {
    border-radius: 50%;
    cursor: default;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

form#editar .saveBtn {
    width: 100px;
    height: 100px;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    position: absolute;
    margin-top: 0;
    padding: 0;
    display: block;
    opacity: 0;
}

form#editar section p {
    margin-top: 8px;
    text-align: left;
    font-size: 14px;
}

form#editar .btnPass {
    position: absolute;
    background-color: rgb(52, 92, 48);
    color: white;
    border: 1px solid black;
    width: 120px;
    font-size: 12px;
    padding: 5px;
    right: 10%;
    top: 10%;
}

form#editar section button:hover {
    background-color: rgb(174, 101, 6);
}

form#editar section.sectionAccDel {
    text-align: center;
    width: fit-content;
    padding: 0.7em 1em;
    height: auto;
    border-radius: 5px;

    &:hover {
        border: none;
        background-color: rgba(216, 192, 147, 0.76);
    }

    a {
        color: gray;

        &:hover {
            color: white;
            cursor: pointer;
        }
    }
}

form#editar section.sectionPass {
    &:hover {
        border: none;
        background-color: transparent;

    }
}

form#editar section img {
    display: inline;
    position: absolute;
    left: 90%;
    top: 12px;
    width: 22px;
}

form#editar section img:hover {
    cursor: pointer;
}

form#editar section img.checkIcon {
    display: none;
    top: 14px;
    left: 80%;
    width: 25px;
}

form#editar section img.cancelIcon {
    display: none;
    top: 14px;
    left: 90%;
    width: 25px;
}

#configLine {
    border: 1px solid rgb(122, 80, 53);
    width: 60%;
    margin: 0 auto;
    margin-bottom: 1em;
}

.newElement {
    position: relative;
}

form#editar .configError {
    position: absolute;
    right: 0;
    color: red;
    font-weight: 600;
    font-size: 10px;
    text-wrap: balance;
}

.no-scroll {
    overflow: hidden;
}

.emergente {
    position: fixed;
    flex-direction: column;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    z-index: 2;
    text-wrap: balance;
}

.emergente button {
    display: block;
    width: 100px;
    margin-top: 1em;
}

body.emergente-open {
    overflow: hidden;
    position: relative;
}

body.emergente-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.eye-icon {
    display: inline;
    width: 30px;
    margin-bottom: -0.5em;
}

#img-close-eye {
    display: none;
}

button:hover {
    cursor: pointer;
}

span.close:hover {
    cursor: pointer;
}

span.close {
    align-self: flex-end;
}

.loginError {
    color: red;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    max-width: 390px;
    opacity: 0;
    width: 0;
    height: 0;
    transform: translateX(-100%);
    transition: opacity 0.6s ease-in-out, transform 0.5s ease-in-out, width 0.7s ease-in-out, height 0.5s ease-in-out;
    text-wrap: nowrap;

    p {
        margin: 0;
    }
}

.loginError.show {
    opacity: 1;
    width: 100%;
    height: 1em;
    transform: translateX(0);
}

factura-del-mate,
remito-del-mate {
    display: none;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #dedede;
    z-index: 9999;
    font-family: Roboto Condensed;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top-color: #2a43cc;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

.sommelier {
    border: var(--sommelier-border);
    border-radius: var(--border-radius-main);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
    background-color: var(--card-bg-color);
    max-width: 1100px;
    margin: 100px auto;

    @media (width< 600px) {
        height: 185px;
        align-items: end;
        flex-direction: row-reverse;
        margin-top: 0px;
    }
}

.sommelier:first-child {
    margin-top: 30px;
}

.contenedor-imagen-sommelier {
    max-width: 300px;
    max-height: 300px;
    overflow: hidden;
    position: relative;

    @media (width<600px) {
        max-width: 150px;
        max-height: 150px;
    }
}

.imagen-sommelier {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;

    @media (max-width: 700px) {
        max-height: 310px;
        object-position: center;
    }
}

.sommelier.reverse {
    flex-direction: row-reverse;
}

.tip {
    width: clamp(280px, 70%, 650px);
    position: relative;
    max-height: 290px;

    @media (width<900px) {
        padding: 5px;
    }

    p.nombre-sommelier {
        position: absolute;
        bottom: -35px;
        right: 40px;
        border-radius: 10px;
        text-transform: uppercase;
        font-size: 16px;
        font-family: var(--card-header);
        font-weight: 300;

        @media (max-width: 900px) {
            font-size: 10px;
        }
    }

    h3 {
        font-family: var(--card-header);
        text-transform: uppercase;
        color: var(--body-text);

        @media (max-width: 900px) {
            font-size: 14px;
        }
    }

    p {
        font-family: var(--card-body-font);
        color: var(--body-text);
        font-size: 20px;
        line-height: 1.5em;
        text-shadow: var(--text-shadow);

        @media (max-width: 900px) {

            backdrop-filter: blur(5px);
            font-size: 12px;
        }
    }
}