.widget-hotel-price {
    background-color: #F2F6FA;
    text-align: center;
    padding-top: 45px;
    padding-bottom: clamp(37px, 4vw, 70px);
    /* Contain the full-bleed (100vw) carousel so it never causes horizontal page scroll */
    overflow-x: hidden;
}

.widget-hotel-price .block-content {
    margin-top: clamp(20px, 2vw, 35px);
}

.widget-hotel-price .card {
    text-align: left;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.12);
    padding: clamp(12px, 2vw, 20px);
}

.widget-hotel-price .card .card-img-top {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.widget-hotel-price .card-img-top .ratio {
    padding: 0;
    overflow: hidden;
}

.widget-hotel-price .card-img-top .img-balance {
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-hotel-price .card-img-top .responsive-img {
    width: 100%;
    aspect-ratio: 419 / 249;
    object-fit: cover;
}

.widget-hotel-price .card .card-body {
    padding: 18px 0 23px 0;
    display: flex;
    flex-direction: column;
}

.widget-hotel-price .card .country {
    font-size: 14px;
    line-height: 1.21429;
    font-weight: 400;
}

.widget-hotel-price .card .rating {
    gap: 1px;
}

.widget-hotel-price .card .title {
    margin-top: 17px;
    font-size: 22px;
    line-height: 1.22728;
    font-weight: 500;
    min-height: 54px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-hotel-price .card .card-text {
    margin-top: 22px;
    font-size: 22px;
    line-height: 1.22728;
}

.widget-hotel-price .card .card-text > .row > [class*="col"] {
    height: 27px;
}

.widget-hotel-price .card .card-text > .row > [class*="col"]:last-child {
    height: auto;
}

.widget-hotel-price .card-text .btn-icon {
    margin-top: 3px;
    width: 19px;
    height: 20px;
    min-width: 19px;
    min-height: 20px;
}

.widget-hotel-price .card .card-footer {
    background-color: unset;
    border-top: none;
    padding: 0;
}

.widget-hotel-price .card .price {
    font-size: 22px;
    font-weight: 400;
}

.widget-hotel-price .card .price span {
    color: #ED2D95;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.21875;
}

/* Centered "prices for your dates" CTA under the carousel */
.widget-hotel-price .hotel-price-footer {
    margin-top: clamp(16px, 2vw, 28px);
}

/*min-width: 1200px START*/
@media screen and (min-width: 1200px) {
    .widget-hotel-price .card-text .btn-icon {
        background: #A8A8A8;
    }
}
/*min-width: 1200px END*/

/* ===== Tours slideshow (carousel) START ===== */
.hotel-price-carousel {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw); /* break out of .container to the full screen width */
    padding-top: 20px;
    padding-bottom: clamp(40px, 2vw, 54px);
    padding-left: clamp(16px, 7vw, 110px);
    padding-right: clamp(16px, 7vw, 110px);
}

.hotel-price-carousel .swiper-slide {
    height: auto; /* let .card.h-100 stretch to equal height */
}

/* Center the slides when they all fit (few tours on a wide screen) */
.hotel-price-carousel.is-centered .swiper-wrapper {
    justify-content: center;
}

.hotel-price-carousel.is-centered .swiper-slide:last-child {
    margin-right: 0 !important; /* drop Swiper's trailing gap so centering is exact */
}

.hotel-price-carousel .swiper-pagination {
    bottom: 0;
}

.hotel-price-carousel .swiper-pagination-bullet-active {
    background-color: #28A745;
}

/* Navigation: big round white buttons, shown on all screens (incl. mobile) */
.hotel-price-carousel .swiper-button-prev,
.hotel-price-carousel .swiper-button-next {
    width: clamp(44px, 6vw, 64px);
    height: clamp(44px, 6vw, 64px);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.hotel-price-carousel .swiper-button-prev {
    left: clamp(8px, 2vw, 40px);
}

.hotel-price-carousel .swiper-button-next {
    right: clamp(8px, 2vw, 40px);
}

/* Self-contained chevron (no font/sprite dependency so it always renders) */
.hotel-price-carousel .swiper-button-prev::after,
.hotel-price-carousel .swiper-button-next::after {
    content: "";
    display: block;
    width: clamp(10px, 1.4vw, 14px);
    height: clamp(10px, 1.4vw, 14px);
    border-top: 3px solid #404040;
    border-right: 3px solid #404040;
}

.hotel-price-carousel .swiper-button-next::after {
    transform: rotate(45deg);
    margin-left: -4px;
}

.hotel-price-carousel .swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-right: -4px;
}
/* ===== Tours slideshow (carousel) END ===== */
