.section__signature--dishes img {
    width: 100%;
}

.signature__dishes--info>.container {
    max-width: 100%;
    padding: 0;
}

.header__signature--dishes {
    margin-top: 180px;
}

.header__signature--dishes-wrapper .content {
    max-width: 548px;
    margin: 0 auto;
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    margin-top: 43px;
}

.header__signature--dishes-wrapper .signature__dishes--title {
    max-width: 626px;
    margin: 0 auto;
    position: relative;
    padding-top: 43px;
    text-align: center;
}

.header__signature--dishes-wrapper .signature__dishes--title:before {
    content: '';
    width: 326px;
    height: 1px;
    background: #73674C;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    pointer-events: none;
}


/* Disable scroll on desktop - use transform on items instead */
@media (min-width: 992px) {
    .signature__dishes--gallery-viewport {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        gap: 1px;
    }
    
    /* Hide scrollbar for all browsers */
    .signature__dishes--gallery-viewport {
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
        scrollbar-width: none;
        /* Firefox */
    }
    
    .signature__dishes--gallery-viewport::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }
    
    .signature__dishes--gallery-viewport {
        overflow: hidden;
        pointer-events: auto;
        cursor: grab;
        /* Optimize touch behavior for desktop touch screens */
        touch-action: pan-x pan-y pinch-zoom;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        -ms-touch-action: pan-x pan-y;
    }

    .signature__dishes--gallery-viewport:active {
        cursor: grabbing;
    }

    .signature__dishes--gallery-viewport.dragging {
        cursor: grabbing;
    }

    /* Disable transitions during drag for smooth dragging */
    .signature__dishes--gallery-viewport.dragging .item__image {
        transition: none !important;
    }

    /* Add transitions only on desktop */
    .signature__dishes--gallery-viewport {
        -webkit-transition: -webkit-transform 1.5s ease-out;
        transition: -webkit-transform 1.5s ease-out;
        -o-transition: transform 1.5s ease-out;
        transition: transform 1.5s ease-out;
        transition: transform 1.5s ease-out, -webkit-transform 1.5s ease-out;
    }

    .signature__dishes--gallery {
        -webkit-transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -o-transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .signature__dishes--gallery .item__image {
        -webkit-transition: -webkit-transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: -webkit-transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -o-transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

.signature__dishes--gallery .item__image {
    width: 472px;
    height: 732px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.section__signature--dishes .signature__dishes--wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    /* min-height: 732px; */
    /* Commented out - let height be auto */
}

.signature__dishes--gallery {
    position: relative;
    z-index: 2;
}

/* Mobile Swiper styles */
@media (max-width: 991px) {
    .signature__dishes--gallery.mobile {
        width: 100%;
        overflow: hidden;
    }

    .signature__dishes--gallery.mobile .swiper-slide {
        width: 374px;
        height: 580px;
        flex-shrink: 0;
    }

    .signature__dishes--gallery.mobile .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.section__signature--dishes .header__signature--dishes-wrapper {
    margin-bottom: 100px;
}

.section__signature--dishes .signature__dishes--details {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.section__signature--dishes .signature__dishes--details {
    opacity: 1;
    pointer-events: auto;
}

.signature__dishes--details-wrapper .details__text p {
    margin: 0;
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
}


.section__signature--dishes .signature__dishes--details .signature__dishes--details-wrapper {
    padding: 20px 10px 20px 0;
    max-width: 565px;
}

.section__signature--dishes .signature__dishes--details a:focus {
    outline: none;
    background: transparent;
}

.section__signature--dishes .signature__dishes--details .signature__dishes--details-wrapper .button__action {
    display: flex;
    gap: 30px;
    flex-direction: column;
    width: max-content;
}

.signature__dishes--gallery.mobile {
    display: none;
}

@media(min-width: 1630px) {
    .section__signature--dishes .signature__dishes--details .container {
        margin: 0;
        margin-left: 60px;
    }
}

@media(min-width: 1930px) {
    .section__signature--dishes .signature__dishes--details .container {
        margin: 0;
    }

    .section__signature--dishes .signature__dishes--details .signature__dishes--details-wrapper {
        max-width: 775px;
        width: 100%;
        padding-left: 100px;
    }
}

@media(max-width: 1280px) {
    .section__signature--dishes .signature__dishes--details .signature__dishes--details-wrapper {
        padding: 20px 10px 20px 80px;
    }
}

@media (max-width: 991px) {
    .signature__dishes--gallery.desktop {
        display: none;
    }

    .signature__dishes--gallery.mobile {
        display: block;
    }

    .header__signature--dishes-wrapper .signature__dishes--title:before {
        width: 100%;
    }

    .header__signature--dishes {
        margin-top: 114px;
    }

    .header__signature--dishes-wrapper .signature__dishes--title {
        font-size: 50px;
        line-height: 50px;
        text-align: center;
    }

    .section__signature--dishes .signature__dishes--details {
        position: static;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        margin-top: 42px;
    }

    .section__signature--dishes .header__signature--dishes-wrapper {
        margin-bottom: 42px;
    }

    .signature__dishes--details-wrapper .details__text p {
        margin-bottom: 31px;
    }

    .section__signature--dishes .signature__dishes--details .signature__dishes--details-wrapper {
        padding: 0;
        padding-bottom: 20px;
    }
}