/* ================================================= */
/* ================== MOBILE ======================== */
/* ================================================= */

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    /* HEADER */

    .hero-header {
        min-height: auto;
    }

    .header-content {
        padding: 0px 0px;
    }

    .navigation-wrapper {
        width: 100%;
    }

    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 15px;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        border-bottom: 0px;
    }

    .left-section,
    .right-section {
        width: 100%;
        display: flex;
        /*flex-direction: column;*/
        align-items: flex-start;
        gap: 5px;
    }

    .contact-text {
        font-size: 14px;
        line-height: 1.3;
        word-break: break-word;
    }

    .logo {
        width: 78px;
        height: auto;
    }

    .search-container {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .user-nav {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .hh-not-logged {
        height: auto;
    }

    /* BLOQUES LOGIN */

    .contenedorLogin {
        width: 100%;
        padding: 20px 15px;
        display: grid;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        margin-top: 10px;
    }


    .loginzoho {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .login__row {
        width: 100%;
        min-width: 0;
        padding: 25px 20px;
        box-sizing: border-box;
    }

    .tituloLoginLetras {
        font-size: 2rem;
        line-height: 1.1;
    }

    .loginLetras,
    .titulo_banner_superior_nombre {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    /* INPUTS */

    .form-block input {
        width: 100%;
        box-sizing: border-box;
    }

    .loginzoho form input {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* BOTONES */

    .button {
        display: initial;
        width: 100%;
        text-align: center;
    }

    /* FOOTER */

    .footer .content.grid {
        display: grid;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 var(--space-m);
    }

    .footer .content {
        grid-template-columns: 1fr;
    }

    .footer .content .footer__block {
        padding: 0;
    }

    .footer__item {
        margin-left: 1em;
        float: inline-start;
        font-weight: lighter;
        font-size: small;
    }

    .footer__item_text {
        margin-left: 0em;
        float: inherit;
        font-weight: lighter;
        font-size: 0.8rem;
    }

    body>footer>div>div:nth-child(1)>img {
        width: 22% !important;
        margin-left: 0em;
        float: inline-start;
    }

    /* ocultar elementos desktop */

    .contact-text,
    .search-container,
    .user-nav {
        display: none !important;
    }



    .left-section {
        width: auto;
    }

    /* hamburguesa */

    .mobile-menu-button {
        width: 32px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        margin-left: auto;
        margin-top: -130px;
    }

    .mobile-menu-button span {
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 10px;
    }

    /* HEADER */

    .top-bar-logged {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px;
        font-size: 0.7rem;
        margin-top: -18px;
        margin-left: 26%;
        border-bottom: 0px;

    }

    .cart-icon__numitems {
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        background-color: salmon;
        color: white;
        text-align: center;
    }

    /* ocultar elementos */

    .left-section,
    .search-container,
    .menu_global,
    .titulo_banner_superior {
        display: none !important;
    }

    /* mostrar coins + carrito */

    .right-section {
        display: flex !important;
        align-items: center;
        gap: 15px;
    }

    /* ocultar perfil/salir */

    .menu-item {
        display: none !important;
    }

    .has-submenu {
        display: initial !important;
    }

    /* coins */

    .coffee-coins-counter {
        transform: scale(0.9);
    }

    /* carrito */

    .cart-icon img {
        width: 28px;
    }

    /* hamburguesa */

    .mobile-menu-button {
        width: 32px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        margin-left: auto;
        margin-top: -100px;
    }

    .mobile-menu-button span {
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 10px;
    }

    /* ocultar saludo */

    .banner--superior {
        display: none;
    }

    .slide {
        min-width: 1%;
    }

    /*menu global */
    .close-btn {
        right: 1%;
    }

    .menu-btn {
        width: 350px;
        max-width: 90%;
    }

    .overlay-menu::before {
        background: fixed;
    }

    /* PANEL TITLE (cabecera de página compartida) */
    .panel-title {
        padding: 12px 20px;
    }

    .panel-title h1 {
        font-size: 20px;
    }

    .icon-title img {
        height: 34px;
    }

}