@media screen and (min-width: 1200px) {
    .tour-hotels-swiper-section {
        background: transparent;
        border-radius: 28px;
        box-shadow: none;
        padding: 32px 0 0;
        max-width: 1240px;
        margin: 0 auto 12px;
        position: relative;
    }
}

@media screen and (max-width: 1199px) {
    .tour-hotels-swiper-section {
        background: transparent;
        border-radius: 28px;
        box-shadow: none;
        padding: 12px 0;
        position: relative;
    }
}

.tour-hotels-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 20px;
}

.tour-hotels-title {
    font-size: 2.3rem;
    font-weight: 600;
    color: #222;
    line-height: 1.12;
    letter-spacing: -0.5px;
    padding-left: 16px;
    margin: 0;
}

.tour-hotels-arrows {
    display: flex;
    gap: 12px;
}

.tour-hotels-arrow-prev,
.tour-hotels-arrow-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #222;
    font-size: 21px;
    transition: background 0.15s, color 0.13s;
}

.tour-hotels-arrow-prev:hover,
.tour-hotels-arrow-next:hover {
    background: #e5fbe0;
    color: #52B947;
}

.tour-hotels-arrow-prev.disabled,
.tour-hotels-arrow-next.disabled {
    background: #f0f0f0;
    color: #aaaaaa;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.tour-hotels-arrow-prev.disabled:hover,
.tour-hotels-arrow-next.disabled:hover {
    background: #f0f0f0;
    color: #aaaaaa;
}

.tour-hotels-swiper-wrapper {
    width: 100%;
    height: 100%;
    min-height: 220px;
    position: relative;
}

.mySwiper {
    background: transparent;
    border-radius: 28px;
    box-sizing: border-box;
    min-height: 220px;
    height: 310px;
}

swiper-container .swiper-slide {
    padding: 0 16px;
    box-sizing: border-box;
}

.hotel-card-gradient-link {
    display: block;
    text-decoration: none;
    outline: none;
}

.hotel-card-gradient {
    position: relative;
    height: 310px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(40,60,65,0.11);
    background: #ececec;
    display: flex;
    align-items: stretch;
    margin-bottom: 10px;
    transition: box-shadow 0.19s;
}

.hotel-card-gradient:hover {
    box-shadow: 0 8px 38px rgba(80,185,71,0.13);
}

.hotel-card-img-gradient {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
}

.hotel-card-arrow-gradient {
    position: absolute;
    top: 17px;
    right: 17px;
    background: rgba(255,255,255,0.84);
    border-radius: 100px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 7px rgba(40,60,65,0.07);
    z-index: 5;
    color: #222;
    transition: background 0.16s, color 0.13s;
    text-decoration: none;
}

.hotel-card-arrow-gradient:hover {
    background: #f2fff2;
    color: #52B947;
}

.hotel-card-info-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;
    width: 100%;
    padding: 18px 22px 13px;
    background: linear-gradient(0deg, rgba(24,24,30,0.83) 75%, rgba(40,60,65,0.07) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 0 28px 28px;
    z-index: 2;
}

.hotel-card-stars-gradient {
    margin-bottom: 5px;
    color: #FFD600;
    font-size: 16px;
    letter-spacing: 0.09em;
    display: flex;
    gap: 3px;
}

.hotel-card-stars-gradient svg {
    width: 18px;
    height: 18px;
}

.hotel-card-title-gradient {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 2px;
    text-shadow: 0 2px 8px rgba(18,18,18,0.14);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em;
    max-height: 3.6em;
    white-space: normal;
}

swiper-container::part(pagination) { bottom: 4px; }
swiper-container::part(bullet-active),
swiper-container::part(bullet) { background: #52B947; }
















.widget-page-tour {
    padding-top: clamp(20px, 6vw, 40px);
}

.widget-page-tour .tour-top-content {
    gap: 5px;
}

.widget-page-tour .tour-top-content .subtitle {
    font-size: 14px;
    font-weight: 400;
}

.widget-page-tour h1 {
    text-align: center;
}

.widget-page-tour .tour-top-content .rating {
    gap: 1px;
}

.widget-page-tour .tour-middle-content {
    width: 100%;
}

.widget-page-tour .tour-images {
    z-index: 0;
}

.widget-page-tour .ratio {
    padding: 0;
    overflow: hidden;
}

.widget-page-tour .img-balance {
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-page-tour .swiper-slide img {
    cursor: pointer;
}

.widget-page-tour .responsive-img {
    width: 100%;
    aspect-ratio: 24 / 16;
    object-fit: cover;
}

.widget-page-tour .tour-images-main .swiper-button-prev {
    top: auto;
    right: 51px;
    bottom: 11px;
    left: auto;
    overflow: hidden;
}

.widget-page-tour .tour-images-main .swiper-button-next {
    top: auto;
    right: 21px;
    bottom: 11px;
    left: auto;
    overflow: hidden;
}

.widget-page-tour .tour-images-main .swiper-button-prev img,
.widget-page-tour .tour-images-main .swiper-button-next img,
.widget-page-tour .tour-images-modal .swiper-button-prev img,
.widget-page-tour .tour-images-modal .swiper-button-next img {
    width: 113px;
    height: 113px;
}

.widget-page-tour .tour-images-additional {
    margin-top: 18px;
}

.widget-page-tour .tour-images-additional .swiper-wrapper {
    margin: 0;
    position: relative;
    transform: none !important;
    column-gap: 12px;
    row-gap: 18px;
}

.widget-page-tour .tour-images-additional .swiper-slide {
    width: 47.7% !important;
}

.widget-page-tour .tour-images-additional .swiper-slide:first-child {
    display: none;
}

.widget-page-tour .tour-info .card {
    padding: 19px 24px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.12);
    font-size: 22px;
    line-height: 1.22727;
}

.widget-page-tour .tour-info .card h2 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.22727;
}

.widget-page-tour .tour-info .card .row {
    row-gap: 14px;
}

.widget-page-tour .tour-info .card .icon-container {
    width: 25px;
}

.widget-page-tour .tour-info .card .btn-icon {
    width: 21px;
    height: 21px;
    min-width: 21px;
    min-height: 21px;
}

.widget-page-tour .tour-info .card .btn-icon-bus {
    width: 25px;
}

.widget-page-tour .tour-info .tour-actions {
    margin-top: 31px;
}

.widget-page-tour .tour-actions .tour-price-currency {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.22727;
}

.widget-page-tour .tour-actions .tour-price {
    margin-top: -6px;
    font-size: 40px;
    font-weight: 600;
}

.widget-page-tour .tour-actions .tour-price span {
    color: #ED2D95;
    font-size: 60px;
    line-height: 1.21667;
}

.widget-page-tour .tour-actions .tour-price .price-old {
    padding-top: 0.5em;
}

.widget-page-tour .tour-actions .tour-price .price-old span {
    text-decoration-line: line-through;
    color: #404040;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.21875;
}

.widget-page-tour .tour-actions .tour-buttons {
    margin-top: 27px;
    gap: 23px;
}

.widget-page-tour .tour-buttons .btn {
    height: 62px;
    width: fit-content;
    min-width: 285px;
}

.widget-page-tour .tour-tabs-content {
    width: 100%;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.12);
}

.widget-page-tour .tour-tabs-content .nav-tabs {
    gap: 20px;
    border: none;
}

.widget-page-tour .tour-tabs-content .nav-link,
.widget-page-tour .tour-tabs-content .nav-link:hover {
    color: #404040;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.223;
    border-radius: 15px;
    background: #EFEFEF;
    border: none;
    border-color: unset;
}

.widget-page-tour .tour-tabs-content .nav-link.active,
.widget-page-tour .tour-tabs-content .nav-link.active:hover {
    color: #fff;
    background: #52B947;
}

.widget-page-tour .tour-tabs-content .tab-content {
    padding-top: clamp(30px, 3vw, 43px);
}

.widget-page-tour .tab-content h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.22727;
    text-transform: uppercase;
}

.widget-page-tour .tour-tabs-content .tour-flight-table {
    font-size: 18px;
    line-height: 1.22222;
}

.tour-flight-table tr th {
    padding: 20px 11px;
    background: #EFEFEF;
}

.tour-flight-table tr th {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.widget-page-tour .tour-offers .offer {
    padding: 20px 18px;
    font-size: 22px;
    line-height: 1.22727;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.12);
}

.widget-page-tour .tour-offers .offer:not(:first-child) {
    margin-top: 27px;
}

.widget-page-tour .offer .price {
    font-size: 16px;
    font-weight: 500;
}

.widget-page-tour .offer .price span {
    font-size: 26px;
    line-height: 1.23077;
}

.widget-page-tour .offer .btn {
    min-width: 153px;
    height: 62px;
}

.footer {
    margin-top: clamp(29px, 4vw, 74px);
}

/*max-width: 767px START*/
@media screen and (max-width: 767px) {
    .widget-page-tour .tour-top-content .subtitle {
        margin-top: 13px;
    }

    .widget-page-tour .tour-middle-content {
        margin-top: 23px;
    }

    /* Position navigation buttons below text and to the right on mobile */
    .tour-hotels-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tour-hotels-arrows {
        align-self: flex-end;
        margin-top: 5px;
    }
}

/*max-width: 767px END*/

/*min-width: 375px START*/
@media screen and (min-width: 375px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 48.1% !important;
    }
}

/*min-width: 375px END*/

/*min-width: 425px START*/
@media screen and (min-width: 425px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 48.4% !important;
    }
}

/*min-width: 425px END*/

/*min-width: 460px START*/
@media screen and (min-width: 460px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 48.5% !important;
    }
}

/*min-width: 460px END*/

/*min-width: 768px START*/
@media screen and (min-width: 768px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 32.1% !important;
    }

    .widget-page-tour .tour-top-content .subtitle {
        margin-top: 1px;
    }

    .widget-page-tour .tour-middle-content {
        margin-top: 20px;
    }
}

/*min-width: 768px END*/

/*max-width: 991px START*/
@media screen and (max-width: 991px) {
    .widget-page-tour .tour-info {
        margin-top: 40px;
    }

    .widget-page-tour .tour-info .tour-actions {
        width: fit-content;
    }

    .widget-page-tour .tour-tabs-content {
        margin-top: 66px;
        padding: 20px 25px;
    }

    .widget-page-tour .tour-tabs-content .tour-flight-table {
        margin-top: 28px;
    }

    .widget-page-tour .tour-tabs-content .tour-offers {
        margin-top: 81px;
    }

    .widget-page-tour .tour-offers h3 {
        margin-bottom: 60px;
    }

    .tour-flight-table,
    .tour-flight-table thead,
    .tour-flight-table tbody,
    .tour-flight-table th,
    .tour-flight-table td,
    .tour-flight-table tr {
        display: block;
    }

    .tour-flight-table thead {
        display: none;
    }

    .tour-flight-table td {
        position: relative;
        padding-left: 50%;
        text-align: left;
        border: none;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .tour-flight-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.2;
        background: #EFEFEF;
        top: 0;
        bottom: 0;
        padding: 15px 0 0 11px;
        z-index: 1;
    }

    .tour-flight-table tr:first-child td:first-child:before {
        border-radius: 15px 15px 0 0;
    }

    .tour-flight-table tr:last-child td:last-child:before {
        border-radius: 0 0 15px 15px;
    }

    .tour-flight-table td:last-child {
        position: relative;
    }

    .tour-flight-table td:last-child:after {
        position: absolute;
        content: '';
        height: 1px;
        width: 90%;
        right: 0;
        bottom: 0;
        border-bottom: 1px solid #C4C3C3;
    }

    .tour-flight-table tr:last-child td:last-child:after {
        content: none;
    }

    .widget-page-tour .tour-offers .offer {
        row-gap: 20px;
    }

    .widget-page-tour .offer .btn {
        width: 100%;
    }
}

/*max-width: 991px END*/

/*min-width: 992px START*/
@media screen and (min-width: 992px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 31.8% !important;
    }

    .widget-page-tour .tour-images {
        position: relative;
    }

    /* .widget-page-tour .tour-images:before {
        position: absolute;
        content: url("/images/tour-images-bg.png");
        z-index: -1;
        top: -50%;
        right: 4%;
        bottom: 0;
    } */

    .widget-page-tour .tour-info {
        top: 90px;
    }

    .widget-page-tour .tour-tabs-content {
        margin-top: 56px;
        padding: 14px;
    }

    .widget-page-tour .tour-tabs-content .tour-flight-table {
        margin-top: 24px;
    }

    .widget-page-tour .tour-tabs-content .tour-offers {
        margin-top: 63px;
    }

    .widget-page-tour .tour-offers h3 {
        margin-bottom: 38px;
    }

    .widget-page-tour .tour-offers .offer {
        width: 93%;
        max-width: 1170px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*min-width: 992px END*/

/*max-width: 459px START*/
@media screen and (max-width: 459px) {
    .widget-page-tour .tour-tabs-content {
        padding-left: clamp(20px, 3vw, 25px);
        padding-right: clamp(20px, 3vw, 25px);
    }

    .widget-page-tour .tour-tabs-content .nav-link {
        padding-left: clamp(8px, 3vw, 16px);
        padding-right: clamp(8px, 3vw, 16px);
    }

    .widget-page-tour .tour-tabs-content .nav-tabs {
        gap: clamp(10px, 2vw, 20px);
    }

    /* Further refinements for smaller mobile screens */
    .tour-hotels-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .tour-hotels-header-row {
        margin-bottom: 15px;
        gap: 8px;
    }

    .tour-hotels-arrows {
        margin-top: 8px;
        margin-right: 5px;
    }
}

/*max-width: 459px END*/

/*min-width: 1200px START*/
@media screen and (min-width: 1200px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 23.7% !important;
    }
}

/*min-width: 1200px END*/

/*min-width: 1400px START*/
@media screen and (min-width: 1400px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 19% !important;
    }

    .tour-flight-table tr th:nth-child(1) {
        width: 26%;
    }

    .tour-flight-table tr th:nth-child(2) {
        width: 20%;
        padding-left: 68px;
        padding-right: 68px;
    }

    .tour-flight-table tr th:nth-child(3),
    .tour-flight-table tr th:nth-child(5) {
        width: 10%;
    }

    .tour-flight-table tr td:nth-child(2) {
        padding: 42px 68px 35px 68px;
    }
}

/*min-width: 1400px END*/

/*min-width: 1600px START*/
@media screen and (min-width: 1600px) {
    .widget-page-tour .tour-images-additional .swiper-slide {
        width: 19.09179% !important;
    }

    .tour-flight-table tr th:nth-child(1) {
        width: 27%;
    }

    .tour-flight-table tr th:nth-child(2) {
        width: 25%;
        padding-left: 111px;
        padding-right: 111px;
    }

    .tour-flight-table tr td:nth-child(2) {
        padding: 42px 111px 35px 111px;
    }
}

/*min-width: 1600px END*/
