@media (max-width: 480px) {

    nav.nav-statica img {
        width: 100px;
        filter: opacity(1) invert(0.5);
    }

    nav.nav-menu {
        position: relative;
    }


    /* Hide desktop slider */
    .hero-slider {
        display: none;
    }

    /* Mobile slider styles */
    .mobile-slider {
        display: block;
        position: relative;
        width: 100%;
        height: 70dvh;
        overflow: hidden;        
        margin-top: 95px;
    }

    .mobile-slider .swiper {
        height: 70dvh;
    }


    .mobile-slider .swiper-slide {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        color: white;
        padding: 1.5rem;
        box-sizing: border-box;
        background-size: cover;
        background-position: center;
        box-shadow: none;
    }

    .mobile-slider .swiper-slide::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
        z-index: 1;

        border-radius: 8px;
    }

    .mobile-slider .slide-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding-bottom: 2rem;
        }

    .mobile-slider .slide-prefix {
        font-size: 0.9rem;
        margin-bottom: 0;
        opacity: 0.9;
    }

    .mobile-slider h1 {
        font-size: 3rem;
        margin: 5px 0 20vh;
        font-family: 'PP Editorial Old', serif;
        line-height: 1;
    }


    .mobile-slider .button-group a {
        display: inline-flex;
        text-decoration: none;
        color: black;
        font-size: 12px;
        transition: background-color 0.3s, color 0.3s;
    }

    .mobile-slider .button-group a span {
        margin-left: 0.25rem;
    }

    .mobile-slider .button-group a:hover {
        background-color: white;
        color: black;
    }

    .mobile-slider .swiper-pagination {
        bottom: 1rem;
    }

    .mobile-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background-color: rgba(255, 255, 255, 0.5);
        opacity: 1;
    }

    .mobile-slider .swiper-pagination-bullet-active {
        background-color: white;
    }

    /* Preloader adjustments for mobile */
    .preloader {
        font-size: 1rem;
    }

    .preloader-text {
        font-size: 1.5rem;
    }
    
    .preloader-logo img {
        max-width: 100px;
    }

    nav.nav-statica {
        justify-content: center;
    }


    .nav-statica .button-group {
        display: none;
    }

    .mobile-button-group {
        position: fixed;
        width: 100%;
        display: flex;
        justify-content: center;
        bottom: 20px;
        z-index: 10;
    }

    .mobile-button-group .button-group{
        grid-auto-columns: auto;
    }

    .mobile-button-group .button-group .a{
        display: flex;
        gap: 25px;
    }

    .banner-link-ristorante {
        grid-template-columns: 1fr;
    }

    .banner-link-ristorante div {
        border-right: none;
        border-bottom: 1px solid #80808059;
    }


    .banner-link-ristorante div a {
        font-size: 25pt;
    }


    .newsletter-banner {
        height: initial;
        border-top: 0;
        padding-top: 50px;
        font-size: 12px;
        padding-bottom: 50px;
        z-index: 100;
        position: relative;
    }


    .newsletter-banner h4 {
        line-height: 45px;
        padding-bottom: 20px;
        font-size: 30pt;
        max-width: 80%;
    }

    .newsletter-banner p {
        max-width: 70%;

        padding-bottom: 20px;
    }


    .feedback-menu h3 {
        font-size: 30pt;
        max-width: 80%;
        line-height: 40px;
        margin-bottom: 50px;
    }


    .intolleranze-menu {
        font-size: 12px;
    }

    .grid-menu {
        grid-template-columns: 1fr;
        margin-top: 5vh;
    }

    .grid-piatti {
        grid-template-columns: 1fr;
    }

    .piatti-head {
        margin-top: 5vh;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        z-index: 100;
        position: relative;
    }

    .nav-singolo {
        grid-template-columns: 1fr;
    }

    .nav-singolo div {
        display: none;
    }

    .hero-ristorante {
        margin: 20px;
        border-radius: 50px;
        overflow: hidden;
    }


    .hero-ristorante p {
        font-size: 55pt;
    }


    .storia-ristorante {
        padding: 8vw 8vw;
    }

    .storia-ristorante h1 {
        font-size: 12pt;
        color: #574A3E;
    }


    .storia-ristorante > div * {
        font-size: 18pt;
        line-height: 32px;
    }


    .gallery-ristorante__text {
        font-size: 35pt;
        top: initial;
        line-height: 45px;
    }

    aside.adesk {
        display: none;
    }

    aside.amobile {
        display: flex;
        z-index: 10;
    }


    .contatti-ristorante {
        height: 100%;
    }

    .container-contatti {
        height: initial;        
        width: 85vw;
        margin-bottom: 10vh;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .container-contatti > img {
        width: calc(85vw - 20px);
        display: none;
    }

    .container-contatti > div:first-of-type,
    .container-contatti > div:nth-of-type(2) {
        width: calc(85vw - 80px);
        margin: 10px 10px;
        height: 90%;
        padding: 30px;
        justify-content: space-around;
    }

    .container-contatti > div:nth-of-type(2) img {
        max-width: 100%;
    }

    .contatti-ristorante__text {
        margin-top: 5vh;
    }

    .fornitori-ristorante {
        height: 100%;
        padding-top: 5vh;
    }

    .fornitori-ristorante__text h2 {
        font-size: 35pt;
        line-height: 45px;
    }

    .fornitori-ristorante__text p {
        max-width: 85vw;
    }

    .prenota-banner {
        height: 100%;
        padding-top: 5vh;
        padding-bottom: 5vh;
        z-index: 100;
        position: relative;
    }

    .banner-link-ristorante {
        height: 100%;
        z-index: 100;
        position: relative;
    }

    .careers-partners-section {
        grid-template-columns: 1fr;
    }

    .head-sec h1 {
        font-size: 55pt;
        margin-top: 20vh;
        margin-bottom: 20vh;
    }

    .head-sec p {
        max-width: 85vw;
        font-size: 15px;
    }

    .body-sect {
        padding: 8vw 8vw;
    }

    .body-sect p {
        font-size: 18pt;
        line-height: 32px;
    }

    .feature-text {
        font-size: 30pt;
    }

    .careers-partners-section .button-group.single {
        align-self: center;
    }

    .body-sect-contatti .button-group {
        grid-template-columns: 1fr;
        grid-auto-flow: dense;
    }

    .mobile-offset-menu {
        background: #231B13;
        position: fixed;
        width: calc(85% - 30px);
        display: flex;
        justify-content: center;
        margin-left: calc(7.5% - 15px);
        margin-right: calc(7.5% - 15px);
        flex-direction: column;
        z-index: 2;
        color: white;
        border-radius: 10px;
        padding: 30px 30px 100px;
        bottom: -50vh;
        transition: .7s cubic-bezier(0.56, 0.29, 0, 0.98) bottom;
    }

    .mobile-offset-menu.visibile {
        bottom: 10px;
    }


    .mobile-offset-menu a{
        color: white;
        text-decoration: none;
        font-family: 'PP Editorial Old';
        font-size: 40px;
        text-align: center;
    }

    .gallery-swiper .swiper-slide:not(.swiper-slide-active) {
        width: 100% !important;
    }

    .explore_menu {
        width: calc(100vw - 10% - 40px);
    }

    .modal-content {
        max-height: 75vh;
    }

    .listmonk-form > div > input[type="email"] {
        width: 100%;
    }

    .restaurant-card-content {
        flex-direction: column;
        background: #fffefb;
    }

    .restaurants-grid {
        padding: 15vh 5vw 15vh;
        background: #f4f4f4;

    }

}