#lottie {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background-color: #fff;
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    text-align: center;
    opacity: 1;
}

#lottie svg {
    width: 40vh !important;
    height: 40vh !important;
    transform: translate3d(0px, 0px, 0px);
    margin: 0 auto;
    margin-top: 10vh;
}

.flight-result .owl-carousel {
    z-index: 0;
}

:is(.flight-result, .hotel-result, .flight-hotel-result, .hotel-details) .section-search {
    margin-top: 0;
}

:is(.flight-filter, .hotel-filter, .flight-rules-modal) .accordion-button:not(.collapsed) {
    background-color: #f9f9f9;
    color: #333333;
    border-radius: 7px;
}

:is(.flight-filter, .hotel-filter, .flight-rules-modal) .accordion-button:not(.collapsed)::after {
    filter: brightness(0);
}

:is(.flight-filter, .hotel-filter, .flight-rules-modal) .accordion-item:last-child {
    margin-bottom: 0;
}

:is(.flight-filter, .hotel-filter) .select-deselect-all button {
    min-height: 30px;
}

:is(.flight-filter, .hotel-filter) .select-deselect-all {
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px;
}

:is(.flight-filter, .hotel-filter) input[type="checkbox"] {
    width: 18px;
    height: 18px;

}

:is(.flight-filter, .hotel-filter) :is(.flight-filter-list, .hotel-filter-list) li {
    margin-bottom: 15px;
}

:is(.flight-filter, .hotel-filter) :is(.flight-filter-list, .hotel-filter-list) li:last-child {
    margin-bottom: 0;
}

:is(.flight-filter, .hotel-filter) :is(.flight-filter-list, .hotel-filter-list) li img,
.flight-result .flight-calendar img {
    width: 50px;
    margin: 0;
}

:is(.flight-card, .hotel-card, .flight-hotel-card) .btn {
    min-height: 40px;
    height: 40px;
    line-height: 15px;
}

#flightHotelResultRoot .flight-hotel-search-card > .row > .col-9 > .d-flex {
    height: 100%;
    align-content: space-between;
}

#flightHotelResultRoot .flight-hotel-search-card .flighCardLeft {
    padding-block: 12px;
    overflow-wrap: anywhere;
}

#flightHotelResultRoot .flight-hotel-search-card .flighCardLeft > div > .btn {
    height: auto;
    padding-block: 4px;
}

#flightHotelResultRoot .flight-hotel-search-card .flight-hotel-card-footer {
    flex-wrap: wrap;
}

#flightHotelResultRoot .flight-hotel-search-card .flight-hotel-card-footer > .btn {
    height: auto;
}

@media (max-width: 767px) {
    #flightHotelResultRoot .flight-hotel-search-card > .row > .col-9 { width: 70%; }
    #flightHotelResultRoot .flight-hotel-search-card > .row > .col-3 { width: 30%; }
    #flightHotelResultRoot .flight-hotel-search-card .flighCardLeft > div > .btn {
        width: min(100%, max(75%, 10rem)) !important;
    }
    #flightHotelResultRoot .flight-hotel-search-card .col-63 { overflow-wrap: anywhere; }
    #flightHotelResultRoot .flight-hotel-search-card .flightInfo > .d-flex { flex-wrap: wrap; }
    #flightHotelResultRoot .flight-hotel-search-card .flight-hotel-card-footer > .btn { padding-inline: 8px; }
}

@media (max-width: 479px) {
    #flightHotelResultRoot .flight-hotel-search-card > .row > :is(.col-9, .col-3) { width: 100%; }
    #flightHotelResultRoot .flight-hotel-search-card .flighCardLeft {
        border-right: 0 !important;
        border-top: 1px dashed rgb(0 0 0 / 9%);
    }
    #flightHotelResultRoot .flight-hotel-search-card .flighCardLeft::before,
    #flightHotelResultRoot .flight-hotel-search-card .flighCardLeft::after { content: none; }
}

:is(.flight-card, .hotel-card, .flight-hotel-card) .flight-card-plane {
    width: 100px;
}

:is(.flight-result, .flight-hotel-result, .group-tour-result) :is(.flight-card, .flight-hotel-card) img {
    display: block;
    margin: auto;
}

:is(.hotel-result, .flight-hotel-result, .group-tour-result) :is(.hotel-card img, .flight-hotel-card .hotel-image) {
    position: relative;
    /* aspect-ratio: 1 / 1; */
    aspect-ratio: 2 / 1.5;
    display: block;
}

:is(.hotel-result, .flight-hotel-result, .group-tour-result) :is(.hotel-card img, .flight-hotel-card .hotel-image)::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../../images/hotel-image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hotel-result .hotel-card .hotel-card-btns {
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 0;
    right: 0;
    left: 0;
}

.flight-result .flight-calendar .accordion-item {
    background-color: transparent;
}

.flight-result .flight-calendar .accordion-button {
    width: auto;
    border-radius: 7px;
    background-color: var(--color-gold);
}

.flight-result .flight-calendar .accordion-button::after {
    margin-right: 10px;
    margin-left: unset;
}

.flight-result .flight-calendar .flight-calendar-item {
    position: relative;
    background-color: #ffffff;
    border-radius: 7px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 120px;
}

.flight-result .flight-calendar .flight-calendar-item .airline {
    font-size: .8rem;
}

.flight-result .flight-calendar .flight-calendar-item.today {
    border: 2px solid #333333;
}

.flight-result .flight-calendar .flight-calendar-item.current {
    border: 2px solid var(--color-blue);
}

.flight-result .flight-calendar .flight-calendar-item.cheapest {
    border: 2px solid #17b817;
    background-color: #ebf9eb;
}

/* .flight-result .flight-calendar .flight-calendar-item i {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 20px;
    height: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
} */
.flight-result .flight-calendar .flight-calendar-item b {
    font-size: 15px;
    text-align: center;
}

.flight-result .flight-calendar.cal-gregorian .flight-calendar-item b, .flight-result .flight-calendar.cal-gregorian .flight-calendar-item span {
    font-family: 'iransans-en-num';
}

.flight-result .flight-calendar .flight-calendar-item i {
    position: absolute;
    left: calc(50% - 10px);
    bottom: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
}

.flight-result .flight-calendar .flight-calendar-item.today i {
    background-color: #333333;
}

.flight-result .flight-calendar .flight-calendar-item.current i {
    background-color: var(--color-blue);
}

.flight-result .flight-calendar .flight-calendar-item.cheapest i {
    background-color: #17b817;
}

.flight-result .flight-calendar .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: -1;
}

.flight-result .flight-calendar .owl-carousel .owl-nav .owl-prev {
    margin-right: -10px;
}

.flight-result .flight-calendar .owl-carousel .owl-nav .owl-next {
    margin-left: -10px;
}

:is(.flight-result, .hotel-result) .result-sort :is(.sort-time, .sort-price, .sort-change-day, .sort-rate) {
    display: grid;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
}

:is(.flight-result, .hotel-result) .result-sort :is(.sort-time, .sort-price, .sort-rate) {
    grid-template-columns: auto auto auto;
}

:is(.flight-result, .hotel-result) .result-sort .sort-change-day {
    grid-template-columns: auto auto;
}

.flight-result .flight-card .flight-card-type {
    position: absolute;
    width: 70px;
    text-align: center;
    padding: 5px;
    border-radius: 7px 7px 0 0;
    right: -22px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

@media only screen and (max-width: 450px) {
    .flight-result .flight-card .flight-card-type {
        right: -35px;
        /* font-size: 11px; */
    }
}

.flight-result .flight-card.flight-card-mobile .flight-card-type {
    width: 60px;
    padding: 0;
    font-size: 13px;
}

.flight-result .flight-card .flight-card-type.charter {
    background-color: #86c844;
    color: #ffffff;
}

.flight-result .flight-card .flight-card-type.system {
    background-color: #d6d8e5;
    color: #333333;
}

:is(.flight-result, .flight-hotel-result) .flight-details {
    font-size: .8rem;
}

:is(.flight-result, .flight-hotel-result) .flight-details .plane-seperator i {
    color: #929292;
}

:is(.flight-result, .flight-hotel-result, .group-tour-result) .flight-details .plane-seperator span {
    width: 1px;
    height: 100%;
    display: block;
    border-right: 1px dashed #2f40797a;
    margin-left: 1px;
}

.hotel-filter-map {
    background-image: url('../../images/map.jpeg');
    background-size: cover;
    cursor: pointer;
}

.sidebar-box-container .hotel-filter-map {
    background-image: url('../../images/newMap.jpg') !important;
    background-size: cover;
    cursor: pointer;
}

:is(.hotel-result, .flight-hotel-result, .hotel-details) .hotel-rooms table .btn {
    min-height: 30px;
}

:is(.hotel-result, .flight-hotel-result, .hotel-details) .hotel-rooms table td {
    vertical-align: middle;
}

.slider.slider-horizontal {
    width: 100%;
    margin-bottom: 10px;
}

.slider.slider-horizontal .slider-track {
    background-color: #e1e1e1;
    background-image: unset;
    box-shadow: none;
}

.slider.slider-horizontal .slider-selection {
    background-color: #f7d94d;
    background-image: unset;
    box-shadow: none;
}

.slider.slider-horizontal .slider-handle {
    background-color: var(--color-gold);
    background-image: unset;
}

.marker-cluster span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-blue);
    color: #ffffff;
    border: 3px solid #575e9a;
    border-radius: 50%;
}

:is(.hotel-result, .flight-hotel-result) .hotel-filter .hotel-map-card {
    width: 250px;
}

:is(.hotel-result, .flight-hotel-result) .hotel-filter .hotel-map-card .btn {
    min-height: 30px;
}

.leaflet-popup {
    font-family: 'iransans-fa-num', sans-serif;
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .5rem;
    background-color: #fff7cf;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: .85rem;
}

.card-footer img {
    width: 20px;
}

.flight-hotel-change-flight-modal .modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.flight-hotel-change-flight-modal .modal-header .btn {
    min-height: 35px;
}

.flight-hotel-change-flight-modal .modal-content {
    background-color: #f5f5f5;
    height: 100%;
    border: none;
    border-radius: 0;
}

@media only screen and (max-width: 768px) {

    .group-tour-date-price-wrapper {
        margin-bottom: 1.5rem !important;
    }

    .group-tour-date-price-mobile .group-tour-date-price-title {
        font-size: 11px !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 6rem;
    }

    .group-tour-filter-bottomsheet .slider.slider-horizontal .slider-handle {
        border: 4px solid #343c7b;
        background: white;
    }

    .group-tour-details-scroll.mobile {
        max-height: unset;
    }

    .group-tour-details-scroll.group-tour-details-scroll-mobile {
        max-height: unset;
    }

    .flight-hotel-change-flight-modal .modal-dialog {
        align-items: stretch;
    }

    .flight-hotel-change-flight-modal .modal-content {
        height: auto;
    }
}

.filter-modal-btns {
    box-shadow: 0 -5px 20px #00000052;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    font-size: 1rem;
    border-radius: 0;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 5px;
    padding: 5px;
}

:is(.flight-result, .hotel-result):has(#searchRoot .modal[aria-modal="true"]) .filter-modal-btns {
    display: none;
}

:is(.flight-result, .hotel-result, .flight-hotel-result, .group-tour-result) > .section-search:has(#searchRoot .search-group-tour :is(.gt-start-range-dropdown, .select2-dropdown)) + .container {
    isolation: isolate;
}

.flight-hotel-result .filter-modal-btns {
    grid-template-columns: auto;
}

@media only screen and (max-width: 768px) {

    #flightResultAsyncRoot,
    #hotelResultAsyncRoot {
        padding-bottom: 76px;
    }

    .flight-result .filter-modal-btns.flight-result-mobile-actions,
    .hotel-result .filter-modal-btns.hotel-result-mobile-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 12px max(10px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #eef0f4;
        box-shadow: 0 -4px 14px rgba(31, 41, 51, 0.12);
    }

    .flight-result .flight-result-mobile-actions .flight-result-mobile-action-btn,
    .hotel-result .hotel-result-mobile-actions .hotel-result-mobile-action-btn {
        min-width: 0;
        min-height: 42px;
        padding: 8px 6px;
        color: #20242c;
        background: #fff;
        border: 1px solid #e6e9ef;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(31, 41, 51, 0.06);
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
    }

    .flight-result .flight-result-mobile-actions .flight-result-mobile-next-day,
    .hotel-result .hotel-result-mobile-actions .hotel-result-mobile-next-day {
        border-color: #343c7b;
    }

    .flight-result .flight-result-mobile-actions .flight-result-mobile-action-btn:focus,
    .flight-result .flight-result-mobile-actions .flight-result-mobile-action-btn:active,
    .hotel-result .hotel-result-mobile-actions .hotel-result-mobile-action-btn:focus,
    .hotel-result .hotel-result-mobile-actions .hotel-result-mobile-action-btn:active {
        color: #20242c;
        background: #fff;
        border-color: #343c7b;
        box-shadow: none;
    }

    .flight-result .flight-result-mobile-actions .flight-result-mobile-action-btn:disabled,
    .hotel-result .hotel-result-mobile-actions .hotel-result-mobile-action-btn:disabled {
        color: #9aa2ae;
        background: #fff;
        border-color: #e6e9ef;
        opacity: 1;
    }
}

.result-mobile-modal {
    padding: 0;
}

.result-mobile-modal .modal-dialog {
    width: 100%;
    height: 100%;
    align-items: stretch;
    margin: 0;
    overflow: hidden;
}

.result-mobile-modal .modal-dialog .modal-content {
    border: none;
    border-radius: 0;
}

.result-mobile-modal .modal-dialog .modal-content .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.result-mobile-modal .modal-dialog .modal-content .modal-body::-webkit-scrollbar {
    width: 3px;
}

.result-mobile-modal :is(.sort-time, .sort-price, .sort-rate) {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.result-mobile-modal :is(.sort-time, .sort-price, .sort-rate) .btn {
    width: 100%;
    margin: 0 5px;
}

.hotel-rooms-item-mobile .btn {
    min-height: 30px;
}

.hotel-details-images {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 10px;
}

.hotel-details-images a {
    position: relative;
}

.hotel-details-images img {
    height: 250px;
}

.hotel-details-images a span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000094;
    border-radius: 7px;
    color: #ffffff;
    font-size: 3rem;
}

.hotel-details-accordions .accordion-item {
    margin-bottom: 0;
    border-radius: 0;
    border-bottom: 1px solid #e1e1e1;
}

.hotel-details-accordions .accordion-item:first-child,
.hotel-details-accordions .accordion-item:first-child .accordion-button:not(.collapsed) {
    border-radius: 7px 7px 0 0;
}

.hotel-details-accordions .accordion-item:last-child {
    border-radius: 0 0 7px 7px;
    border-bottom: none;
}

.hotel-details-accordions .accordion-item .accordion-button:not(.collapsed) {
    border-radius: 0;
}

.hotel-details-map {
    width: 100%;
    height: 300px;
}

.hotel-poi-marker {
    background: transparent;
    border: none;
}

.hotel-poi-marker-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    border: 2px solid #ffffff;
}

.hotel-poi-popup {
    font-size: .8rem;
    min-width: 140px;
}

.hotel-poi-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
}

.hotel-poi-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
}

.my-custom-pagination {
    gap: 8px;
}

.my-custom-pagination button {
    background-color: #ffffff;
    color: #333333;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: .2s;
}

.my-custom-pagination button:hover,
.my-custom-pagination button.active {
    background-color: var(--color-blue);
    color: #ffffff;
}

.my-custom-pagination button:disabled {
    cursor: not-allowed;
    opacity: .7;
    ;
}

.my-custom-pagination button:disabled:hover {
    background-color: #ffffff;
    color: #333333;
}

.filter-range-slider .accordion-body .btn {
    min-height: 25px;
    height: 25px;
    line-height: 10px;
}

.hotel-manual-price-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.hotel-manual-price-field {
    position: relative;
    min-width: 0;
}

.hotel-manual-price-field>label {
    position: absolute;
    top: -8px;
    right: 12px;
    z-index: 1;
    margin: 0;
    padding: 0 6px;
    color: #555d6b;
    background: #fff;
    font-size: 11px;
    line-height: 16px;
}

.hotel-manual-price-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3eb;
    border-radius: 9px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hotel-manual-price-control:focus-within {
    border-color: #343c7b;
    box-shadow: 0 0 0 2px rgba(52, 60, 123, .1);
}

.hotel-manual-price-control input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 0 0 8px;
    color: #20242c;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 13px;
    font-weight: 600;
    direction: ltr;
    text-align: right;
}

.hotel-manual-price-control input::placeholder {
    color: #a2a8b2;
    font-weight: 400;
}

.hotel-manual-price-control span {
    color: #7a818c;
    font-size: 11px;
    white-space: nowrap;
}

.hotel-manual-price-error {
    margin-top: 8px;
    color: #dc3545;
    font-size: 11px;
    line-height: 1.7;
}

.hotel-map-modal .modal-dialog {
    width: 95%;
    max-width: 95%;
    height: 90%;
}

.hotel-map-modal .modal-dialog .modal-content {
    height: 100%;
}

.hotel-details-room-terms .btn {
    font-size: .8rem;
}

.hotel-details-map {
    z-index: 0;
}

.hotel-reservation-step3 table {
    font-size: 0.95rem;
}

.hotel-reservation-step3 table tr,
.hotel-reservation-step3 table th,
.hotel-reservation-step3 table td {
    border: 1px solid #cccccc;
}

.hotel-reservation-step3 table th,
.hotel-reservation-step3 table td {
    padding: .8rem;
    width: 50%;
}

#HotelMapModal {
    z-index: 1056 !important;
}

.leaflet-popup-content {
    margin: 8px 24px 8px 8px;
}

@media only screen and (max-width: 450px) {
    .leaflet-popup-content {
        width: 75vw !important;
    }
}

.filter-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 0;
    padding: 5px;
}

table.table.hotelRooms tbody>tr.hidden {
    display: none;
}

.hotel-rooms .hotelRooms .hidden {
    display: none;
}

.flight-result .flight-calendar .flight-calendar-item i.currentLoading {
    position: relative;
    top: unset;
    bottom: unset;
    right: unset;
    background: unset;
    color: var(--color-blue);
}

.rounded-16 {
    border-radius: 16px
}

.rounded-12 {
    border-radius: 12px
}

.object-fit-cover {
    object-fit: cover
}

.tg-hero {
    aspect-ratio: 16/11.3;
}

.tg-thumb {
    aspect-ratio: 1/1
}

.tg-thumb-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    /* font-weight: 500; */
    font-size: 2.5rem;
}

.tg-thumb-caption {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: 8px;
    text-align: center;
    font-size: .85rem;
    color: #fff
}

.shadow-sm {
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06)
}

.btn-primary {
    background: #343c7b;
    border-color: #343c7b;
}

.btn-primary:hover {
    background: #5f6dd7;
    border-color: #5f6dd7;
}

.galleryCont {
    flex-direction: row-reverse;
}

.hotelHeaderRight {
    display: flex;
    flex-direction: column;
}

span.hotelCountry {
    padding-right: .5rem;
    border-right: 1px solid #0000002b;
}

span.hotelCountry, span.hotelCity {
    font-size: 14.5px;
    font-weight: 500;
}

.hotelHeaderLeft {
    justify-content: center;
    /* height: 100%;
    height: -webkit-fill-available; */
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
}

.hotelHeaderLeft div {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hotelHeaderLeft .showOnMap {
    font-size: 13px;
    font-weight: 500;
}

.hotelTabs li button {
    color: black;
    border: 1px solid #0000001f !important;
}

.hotelTabs li button:hover {
    background: #343c7b1a;
    color: black;
}

input.hotelSearchByName {
    padding-right: 30px;
    background: white !important;
    border: 1px solid #80808042 !important;
}

input.hotelSearchByName::placeholder {
    color: #808080b0;
}

.newDesignMobile .card-footer {
    background: #f4f6fa;
    border-radius: 0 0 7px 7px;
}

.mobileDashedCard {
    border-bottom: 2px dashed rgb(0 0 0 / 9%) !important;
    position: relative;
    border-radius: 7px;
    margin-bottom: .75rem;
    padding-bottom: 3px;
}

/* .mobileDashedCard::before {
    content: "";
    display: block;
    position: absolute;
    right: -17px;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    background: #eeeeee;
    z-index: 0;
    bottom: calc(0px - 17px);
} */
.group-tour-card-v2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.group-tour-card-v2 .gt-main {
    min-height: 368px;
}

.group-tour-card-v2 .gt-price {
    min-height: 368px;
    border-right: 1px dashed #dee2e6;
    position: relative;
}

.group-tour-card-v2 .gt-price:before, .group-tour-card-v2 .gt-price:after {
    content: "";
    position: absolute;
    right: -21px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eeeeee;
    z-index: 0;
}

.group-tour-card-v2 .gt-price:before {
    top: -21px;
}

.group-tour-card-v2 .gt-price:after {
    bottom: -21px;
}

.group-tour-card-v2 .gt-level {
    min-width: 130px;
    height: 45px;
    background: #f6f7fb;
    border-radius: 0 0 12px 12px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.group-tour-card-v2 .gt-image {
    width: 152px;
    height: 126px;
    object-fit: cover;
    border-radius: 12px;
}

.group-tour-card-v2 .gt-download {
    font-size: 21px;
    line-height: 1;
}

.group-tour-card-v2 .gt-badge-green {
    background: #e4f8ef;
    color: #198754;
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 13px;
}

.group-tour-card-v2 .gt-tabs {
    background: #f4f6fb;
    min-height: 41px;
}

.group-tour-card-v2 .gt-tab-btn {
    color: #243c8f;
    font-weight: 700;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.group-tour-card-v2 .gt-tab-btn.active {
    border-radius: 0;
    border-bottom-color: #2f4079;
}

.group-tour-prices-head {
    background: #f3f4f7;
}

.group-tour-prices-head-cell {
    border-left: 1px solid #d9dde5;
}

.group-tour-prices-row {
    border-bottom: 1px solid #eceef2;
}

.group-tour-prices-row:last-of-type {
    border-bottom: none;
}

.group-tour-prices-box .text-primary {
    color: #2f4079 !important;
}

.group-tour-prices-box .gt-price-count {
    min-width: 26px;
    display: inline-block;
    color: black;
}

.group-tour-details-wrapper {
    padding: 20px 17px;
}

.group-tour-details-scroll {
    max-height: 185px;
    overflow-y: auto;
    direction: rtl;
    padding-left: 18px;
    padding-right: 0;
    scrollbar-width: thin;
    scrollbar-color: #2f4079 #eef0f4;
}

.group-tour-details-scroll::-webkit-scrollbar {
    width: 5px;
}

.group-tour-details-scroll::-webkit-scrollbar-track {
    background: #eef0f4;
    border-radius: 10px;
}

.group-tour-details-scroll::-webkit-scrollbar-thumb {
    background: #2f4079;
    border-radius: 10px;
}

.group-tour-details-text {
    text-align: right;
    line-height: 2.1 !important;
}

.group-tour-services {
    min-height: 145px;
    padding: 20px 17px;
}

.group-tour-services .row {
    max-width: unset;
    margin-left: auto;
    margin-right: 0;
}

.group-tour-services i {
    color: #6c757d !important;
}

/* .group-tour-result .custom-tabs .custom-tab-link.active {
    background: #2f4079;
    color: white;
} */

:is(.flight-result, .flight-hotel-result, .group-tour-result) .flight-details .plane-seperator i {
    color: #2f4079;
}

.group-tour-hotels {
    direction: rtl;
}

.group-tour-hotel-item {
    background: #f4f6fb;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.group-tour-hotel-item:last-child {
    margin-bottom: 0 !important;
}

.group-tour-hotel-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.group-tour-hotel-meta {
    min-width: 170px;
}

.group-tour-hotel-meta .fa-star {
    font-size: 14px;
}

.group-tour-documents {
    overflow: hidden;
}

.gtm-card {
    direction: rtl;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: none;
}

.gtm-body {
    padding: 17px;
}

.gtm-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    direction: ltr;
}

.gtm-download {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #1d1d1d;
    font-size: 24px;
    position: absolute;
    top: 13px;
}

.gtm-content {
    flex: 1;
    min-width: 0;
    direction: rtl;
}

.gtm-top {
    display: flex;
    /* flex-direction: row-reverse; */
    align-items: flex-start;
    gap: 14px;
}

.gtm-image {
    width: 104px;
    height: 86px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.gtm-title-box {
    flex: 1;
    min-width: 0;
    text-align: right;
    padding-top: 2px;
}

.gtm-title {
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    line-height: 1.6;
    max-width: 90%;
}

.gtm-rate-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: wrap;
    line-height: 1.7;
    font-size: 13px;
}

.gtm-rate-blue {
    color: #2f4079;
    font-weight: 500;
    font-size: 14px;
}

.gtm-rate-muted {
    color: #5f6368;
    font-weight: 400;
}

.gtm-rate-sep {
    color: #b7bdc7;
    padding: 0 2px;
}

.gtm-route {
    text-align: right;
    color: #828791;
    font-size: 13px;
    margin-top: 17px;
}

.gtm-solid-line {
    height: 1px;
    background: #eceff3;
    margin: 10px 0 12px;
}

.gtm-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: right;
    row-gap: 1rem;
}

.gtm-info-cell {
    min-width: 0;
    padding-left: 3px;
}

.gtm-info-title {
    display: block;
    color: #868b93;
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.gtm-info-value {
    display: block;
    color: #1f1f1f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    white-space: nowrap;
}

.gtm-dashed-wrap {
    position: relative;
    margin: 17px -12px 0;
}

.gtm-dashed-line {
    border-top: 2px dashed #e8ebef;
    height: 1px;
}

.gtm-dashed-wrap::before,
.gtm-dashed-wrap::after {
    content: '';
    position: absolute;
    top: -17px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eeeeee;
    z-index: 2;
}

.gtm-dashed-wrap::before {
    right: -29px;
}

.gtm-dashed-wrap::after {
    left: -29px;
}

.gtm-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: -1px;
    margin-bottom: 18px;
}

.gtm-badge {
    min-width: 120px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
}

.gtm-badge-green {
    background: #e5f7ed;
    color: #202124;
    border-radius: 0 0 10px 10px;
}

.gtm-badge-gray {
    background: #f3f4f7;
    color: #202124;
    border-radius: 0 0 10px 10px;
}

.gtm-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    direction: ltr;
}

.gtm-action-box {
    width: 125px;
    min-width: 125px;
    text-align: center;
    direction: rtl;
}

.gtm-action-btn {
    width: 122px;
    height: 47px;
    background: #314495 !important;
    color: #fff !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 15px;
    font-weight: 400;
    padding: 0 !important;
    box-shadow: none !important;
}

.gtm-action-btn:hover,
.gtm-action-btn:focus {
    background: #314495 !important;
    color: #fff !important;
}

.gtm-capacity {
    margin-top: 11px;
    color: #ff0000;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.gtm-price-box {
    flex: 1;
    min-width: 0;
    text-align: right;
    direction: rtl;
    padding-bottom: 8px;
}

.gtm-price-label {
    color: #7a8087;
    font-size: 15px;
    margin-bottom: 7px;
    font-weight: 300;
}

.gtm-price-value {
    color: #202124;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    white-space: normal;
}

.gtm-price-main {
    font-weight: 600;
    color: #202124;
}

.gtm-price-unit,
.gtm-price-plus {
    color: #5f6368;
    font-weight: 400;
}

.group-tour-mobile-expanded-box {
    direction: rtl;
}

.group-tour-mobile-tabs::-webkit-scrollbar {
    display: none;
}

.group-tour-info-bottomsheet .modal-content {
    border-radius: 18px 18px 0 0;
    max-height: 86vh;
    overflow: hidden;
}

.group-tour-info-bottomsheet .modal-body {
    min-height: 0;
}

.group-tour-info-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: #6c757d;
    font-size: 13px;
    padding: 10px 12px;
}

.group-tour-info-tabs .nav-link.active {
    color: #2f4079 !important;
    border-bottom-color: #2f4079;
}

.group-tour-info-content {
    max-height: calc(86vh - 155px);
    overflow-y: auto;
}

.group-tour-info-content .group-tour-prices-box,
.group-tour-info-content .group-tour-details-wrapper,
.group-tour-info-content .group-tour-documents,
.group-tour-info-content .group-tour-hotels,
.group-tour-info-content .flight-hotel-services {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.group-tour-prices-mobile {
    padding: 0 !important;
    box-shadow: none !important;
}

.group-tour-prices-mobile-head {
    background: #f5f6fa;
    color: #222;
    font-size: 11px;
    padding: 10px 0;
}

.group-tour-prices-mobile-head-cell {
    border-left: 1px solid #d8dce5;
    border-right: 1px solid #d8dce5;
}

.group-tour-prices-mobile-row {
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 11px;
}

.gt-mobile-passenger-title {
    color: #222;
    font-weight: 500;
    line-height: 1.8;
}

.gt-mobile-price-value {
    color: #6c757d;
    line-height: 1.7;
    font-size: 11px;
}

.gt-mobile-count {
    display: block;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
}

.group-tour-prices-mobile-summary {
    padding: 14px 0 18px;
    font-size: 12px;
}

.group-tour-prices-mobile-summary .text-primary {
    color: #2f4079 !important;
}

.group-tour-prices-mobile-desc {
    padding-top: 8px;
    font-size: 11px;
}

.group-tour-prices-mobile-desc .text-muted {
    color: #7d8593 !important;
}

.group-tour-info-bottomsheet .modal-bottom-sheet .nav-tabs button.active {
    border-bottom: 2px solid;
}

.group-tour-hotels-mobile {
    direction: rtl;
    /* padding: 8px !important; */
}

.group-tour-hotel-mobile-item {
    background: #f4f6fb;
    min-height: 130px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.group-tour-hotel-mobile-item:last-child {
    margin-bottom: 0 !important;
}

.group-tour-hotel-mobile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.group-tour-hotel-mobile-content {
    min-width: 0;
    padding-top: 2px;
}

.group-tour-hotel-mobile-title {
    font-size: 15px;
    line-height: 1.7;
}

.group-tour-hotel-mobile-room {
    font-size: 12px;
    line-height: 1.4;
    row-gap: .3rem;
}

.group-tour-hotel-mobile-stars .fa-star,
.group-tour-hotel-mobile-stars .far {
    font-size: 12px;
}

.group-tour-hotels-mobile .fs-9 {
    font-size: 10px;
}

.group-tour-hotel-mobile-detail {
    font-size: 12px;
    line-height: 1.5;
}

.group-tour-hotel-mobile-footer {
    font-size: 12px;
    color: #676d73;
    margin-top: 5px;
    padding-right: 4px;
}

.group-tour-hotel-mobile-footer span {
    white-space: nowrap;
}

.group-tour-filter {
    direction: rtl;
    font-size: 12px;
}

.group-tour-filter .btn-link {
    font-size: 11px;
    color: #f20d18;
}

.gt-filter-section {
    /* border-top: 1px solid #f0f0f0; */
    padding: 12px 0;
}

.gt-filter-section-title {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-weight: 600;
    font-size: 12px;
}

.gt-filter-section-title i {
    font-size: 10px;
    color: #555;
}

.gt-range-box {
    position: relative;
    height: 26px;
    margin: 8px 0 12px;
}

.gt-range-track {
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    height: 3px;
    background: #dfe3ef;
    border-radius: 10px;
}

.gt-range-selected {
    position: absolute;
    top: 0;
    height: 3px;
    background: #2f4079;
    border-radius: 10px;
}

.gt-range-box input[type="range"] {
    position: absolute;
    top: 4px;
    right: 0;
    width: 100%;
    pointer-events: none;
    appearance: none;
    background: transparent;
}

.gt-range-box input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #2f4079;
    cursor: pointer;
}

.gt-range-box input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #2f4079;
    cursor: pointer;
}

.gt-price-inputs label {
    display: block;
    margin-bottom: 8px;
}

.gt-price-inputs label>span {
    display: block;
    color: #2f4079;
    font-size: 10px;
    margin-bottom: 3px;
}

.gt-price-input {
    height: 34px;
    border: 1px solid #eef0f4;
    border-radius: 7px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.gt-price-input span {
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-left: 1px solid #eef0f4;
    font-size: 11px;
}

.gt-price-input input {
    border: 0;
    outline: 0;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    font-size: 11px;
    text-align: left;
    color: #333;
}

.gt-filter-check-list {
    max-height: 210px;
    overflow-y: auto;
    padding-left: 2px;
}

.gt-filter-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    cursor: pointer;
    color: #333;
    font-size: 11px;
    line-height: 1.4;
}

.gt-filter-check-item input {
    width: 14px;
    height: 14px;
    accent-color: #2f4079;
    flex-shrink: 0;
}

.gt-filter-check-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    text-align: right;
}

.gt-filter-stars {
    direction: ltr;
    display: inline-flex;
    gap: 1px;
    font-size: 10px;
}

.gt-filter-submit {
    min-height: 42px;
    font-size: 12px;
    font-weight: 600;
}

.group-tour-filter {
    background: transparent;
}

.group-tour-filter .sidebar-box-container {
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.group-tour-filter h6 {
    font-size: 17px;
}

.group-tour-filter .btn-link.text-danger {
    color: #ff4b55 !important;
}

.gt-filter-section {
    border-bottom: 1px solid #f0f0f0;
    padding: 11px 0;
}

.gt-filter-section:last-child {
    border-bottom: 0;
}

.gt-filter-section-title {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
}

.gt-filter-section-title i {
    font-size: 15px;
    color: #666;
}

.gt-filter-section-body {
    padding: 0;
}

.gt-filter-check-row {
    width: 100%;
    min-height: 25px;
    margin: 0;
    padding: 2px 0;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.9;
}

.gt-filter-check-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: #2f4079;
}

.gt-filter-label-text {
    flex: 1;
    text-align: right;
    direction: rtl;
    color: #333;
}

.gt-filter-label-text:has(:only-child) {
    direction: ltr;
    text-align: left;
    display: flex;
    justify-content: end;
}

.gt-filter-check-row .fa-star {
    font-size: 10px;
    margin: 0 1px;
}

.gt-filter-price-section {
    padding-top: 6px;
}

.group-tour-filter .slider.slider-horizontal {
    width: 93% !important;
    margin: 4px 0 12px;
}

.group-tour-filter .slider-track {
    height: 5px !important;
    background: #e5e9f5 !important;
    box-shadow: none !important;
}

.group-tour-filter .slider-selection {
    background: #2f4079 !important;
    box-shadow: none !important;
}

.group-tour-filter .slider-handle {
    width: 14px !important;
    height: 14px !important;
    background: #fff !important;
    border: 2px solid #2f4079 !important;
    box-shadow: none !important;
    margin-top: 0px !important;
}

.gt-filter-price-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 22px;
}

.gt-filter-price-input-box {
    position: relative;
    width: 100%;
}

.gt-filter-price-input-box>label {
    position: absolute;
    top: -9px;
    right: 18px;
    z-index: 2;
    margin: 0;
    padding: 0 7px;
    background: #fff;
    color: #2f4079;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.gt-filter-price-input {
    width: 100%;
    height: 52px;
    border: 1px solid #dfe3eb;
    border-radius: 9px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: none;
    flex-direction: row-reverse;
}

.gt-filter-price-input span {
    color: #9aa0aa;
    font-size: 15px;
    font-weight: 400;
}

.gt-filter-price-input b {
    color: #202020;
    font-size: 15px;
    font-weight: 500;
    direction: ltr;
    text-align: right;
}

.group-tour-filter .btnFilterBox {
    padding-top: 10px;
}

.group-tour-filter .btnFilterBox .btn {
    min-height: 38px !important;
    height: 38px;
    border-radius: 5px !important;
    font-size: 12px !important;
    font-weight: 500;
}

.group-tour-filter-bottomsheet .modal-dialog {
    margin: 0;
}

.group-tour-filter-bottomsheet .modal-content {
    border-radius: 18px 18px 0 0;
    border: 0;
    max-height: 88vh;
    overflow: hidden;
}

.group-tour-filter-mobile .modal-header {
    min-height: 58px;
    padding: 14px 16px;
}

.group-tour-filter-mobile .modal-title {
    font-size: 15px;
    color: #222;
}

.group-tour-filter-mobile-content {
    max-height: calc(88vh - 132px);
    padding-bottom: 16px !important;
    overflow-x: hidden !important;
}

.group-tour-filter-mobile .gt-filter-section:first-child {
    padding-top: 0;
}

.group-tour-filter-mobile .gt-filter-section-title {
    min-height: 38px;
}

.group-tour-filter-mobile .gt-filter-section-body {
    padding-bottom: 14px;
}

.group-tour-filter-mobile .gt-filter-check-row {
    min-height: 30px;
}

.group-tour-filter-mobile .gt-filter-price-inputs {
    margin-top: 16px;
}

.group-tour-filter-mobile .modal-footer {
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.04);
}

.group-tour-filter-bottomsheet .slider.slider-horizontal .slider-selection {
    background-color: #343c7b;
}

.group-tour-date-price-wrapper {
    direction: rtl;
    z-index: 0;
    position: relative;
}

.group-tour-date-price-box {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 104px;
    overflow: hidden;
    padding: 10px 72px;
    box-shadow: none;
}

.group-tour-date-price-carousel {
    width: 100%;
}

.group-tour-date-price-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.group-tour-date-price-carousel .owl-item {
    display: flex;
    align-items: stretch;
}

.group-tour-date-price-card {
    width: 100%;
    min-height: 84px;
    padding: 13px 10px;
    text-align: center;
    cursor: pointer;
    border-left: 1px solid #eef0f4;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.group-tour-date-price-carousel .owl-item:first-child .group-tour-date-price-card {
    border-right: 1px solid #eef0f4;
}

.group-tour-date-price-card.active {
    background: #f4f6fb;
    border-radius: 6px;
    /* border-left-color: transparent; */
}

.group-tour-date-price-title {
    font-size: 15px;
    font-weight: 800;
    color: #20242c;
    line-height: 1.7;
    margin-bottom: 6px;
    white-space: nowrap;
}

.group-tour-date-price-subtitle {
    font-size: 13px;
    color: #8b95a5;
    line-height: 1.7;
    margin-bottom: 5px;
    white-space: nowrap;
}

.group-tour-date-price-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #20242c;
    white-space: nowrap;
    line-height: 1.6;
}

.group-tour-date-price-amount b {
    font-size: 14px;
    font-weight: 800;
}

.group-tour-date-price-amount span {
    font-size: 12px;
    color: #8b95a5;
}

.group-tour-date-price-arrow {
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 58px;
    border: 0;
    background: #ffffff;
    color: #1f2933;
    font-size: 26px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.group-tour-date-price-arrow:hover {
    color: #2f4079;
}

.group-tour-date-price-arrow-right {
    right: 0;
    /* border-left: 1px solid #eef0f4; */
}

.group-tour-date-price-arrow-left {
    left: 0;
    /* border-right: 1px solid #eef0f4; */
}

/* Mobile */
.group-tour-date-price-mobile .group-tour-date-price-box {
    min-height: 92px;
    padding: 8px 46px;
    border-radius: 14px !important;
}

.group-tour-date-price-mobile .group-tour-date-price-arrow {
    width: 42px;
    top: 8px;
    bottom: 8px;
    font-size: 20px;
}

.group-tour-date-price-mobile .group-tour-date-price-card {
    min-height: 76px;
    padding: 10px 7px;
}

.group-tour-date-price-mobile .group-tour-date-price-title {
    font-size: 12px;
    margin-bottom: 4px;
}

.group-tour-date-price-mobile .group-tour-date-price-subtitle {
    font-size: 11px;
    margin-bottom: 3px;
}

.group-tour-date-price-mobile .group-tour-date-price-amount b {
    font-size: 11px;
}

.group-tour-date-price-mobile .group-tour-date-price-amount span {
    font-size: 10px;
}

.group-tour-timeout-box {
    min-height: 58px;
    direction: rtl;
}

.group-tour-timeout-icon {
    font-size: 22px;
    color: #1f2933;
}

.group-tour-timeout-title {
    font-size: 16px;
    line-height: 1.6;
}

.group-tour-timeout-value {
    font-size: 17px;
    color: #ff9900;
    direction: ltr;
    min-width: 48px;
    text-align: left;
}

.group-tour-timeout-box-mobile {
    min-height: 56px;
}

.group-tour-timeout-box-mobile .group-tour-timeout-title {
    font-size: 16px;
}

.group-tour-timeout-box-mobile .group-tour-timeout-value {
    font-size: 21px;
}

.gt-filter-section-title .fa-chevron-up {
    transition: transform 0.2s ease;
}

.gt-filter-section-title.collapsed .fa-chevron-up {
    transform: rotate(180deg);
}

#GroupTourResultRootNode .custom-tabs .custom-tab-link.active {
    background-color: #2f4079;
    color: white;
}

.gt-reservation-card {
    justify-content: space-between !important;
}


.group-tour-price-static-slider {
    position: relative;
    width: 100%;
    height: 26px;
    margin: 8px 0 14px;
    pointer-events: none;
}

.group-tour-price-static-track {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 10px;
    background-color: #d5d5d5;
    transform: translateY(-50%);
}

.group-tour-price-static-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 18px;
    border: 3px solid #2f4079;
    border-radius: 50%;
    background-color: #fff;
    transform: translateY(-50%);
}
/* Compact five-day calendar; desktop calendar styles stay unchanged. */
.flight-result .flight-calendar.flight-calendar-mobile {
    background: #fff;
    border-radius: 10px;
    padding: 5px 18px;
}

.flight-result .flight-calendar.flight-calendar-mobile .flight-calendar-item {
    min-height: 102px;
    padding: 8px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.flight-result .flight-calendar.flight-calendar-mobile .flight-calendar-item.selected {
    background: #f5f6fa;
}

.flight-result .flight-calendar.flight-calendar-mobile .owl-item:not(:last-child) .flight-calendar-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #e9ebf2;
}

.flight-calendar-mobile-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.flight-calendar-mobile-date {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(8px, 2.45vw, 12px);
    line-height: 20px;
}

.flight-calendar-mobile-price {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(9px, 2.8vw, 14px);
    font-weight: 700;
    line-height: 20px;
    color: #25262b;
}

.flight-calendar-mobile .flight-calendar-mobile-price.no-price {
    color: #8c909e;
}

.flight-calendar-mobile .flight-calendar-mobile-price.cheapest-price {
    color: #08cc65;
}

.flight-calendar-mobile-airline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.flight-calendar-mobile .selected .flight-calendar-mobile-airline {
    border-radius: 50%;
    background: #fff;
}

.flight-result .flight-calendar.flight-calendar-mobile img {
    width: 40px;
    height: 30px;
    object-fit: contain;
}

.flight-result .flight-calendar.flight-calendar-mobile .flight-calendar-item i {
    position: static;
    width: auto;
    height: auto;
    display: inline-block;
    background: none;
    color: inherit;
}

.flight-result .flight-calendar.flight-calendar-mobile .owl-carousel .owl-nav {
    z-index: 1;
    margin: 0;
    pointer-events: none;
}

.flight-result .flight-calendar.flight-calendar-mobile .owl-carousel .owl-nav button {
    margin: 0;
    width: 18px;
    height: 32px;
    background: transparent;
    color: #50545f;
    font-size: 22px;
    pointer-events: auto;
}

.flight-result .flight-calendar.flight-calendar-mobile .owl-carousel .owl-nav .owl-prev {
    margin-right: -18px;
}

.flight-result .flight-calendar.flight-calendar-mobile .owl-carousel .owl-nav .owl-next {
    margin-left: -18px;
}

/* Desktop async-flight search only. Loaded by the existing page stylesheet loader. */
.flight-search-desktop,
.fs-modal {
    --fs-blue: #303f8e;
    --fs-muted: #9399aa;
    --fs-surface: #f5f6fa;
    --fs-line: #e9ebf1;
    --fs-yellow: #fbefc4;
    color: #292a2e;
    direction: rtl;
    font-size: 14px;
}

.flight-search-desktop { margin-bottom: 18px; }
.flight-search-desktop .fs-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 205px;
    position: relative;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}
.flight-search-desktop .fs-journeys { min-width: 0; }
.flight-search-desktop .fs-leg {
    min-height: 174px;
    padding: 24px 28px 24px 32px;
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}
.flight-search-desktop .fs-journeys-multi .fs-leg { min-height: 112px; padding-top: 16px; padding-bottom: 16px; }
.flight-search-desktop .fs-card-offer .fs-leg { padding-right: 68px; }
.flight-search-desktop .fs-airline {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    border-left: 1px solid var(--fs-line);
    padding-left: 14px;
    min-width: 0;
}
.flight-search-desktop .fs-airline-logo-frame { position: relative; width: 58px; height: 40px; flex-shrink: 0; }
.flight-search-desktop .fs-airline .fs-airline-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.flight-search-desktop .fs-airline-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: center; flex: 1; }
.flight-search-desktop .fs-airline-name { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.flight-search-desktop .fs-muted,
.fs-modal .fs-muted { color: var(--fs-muted); font-size: 11px; line-height: 1.5; }
.flight-search-desktop .fs-baggage,
.fs-modal .fs-baggage { display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--fs-muted); font-size: 11px; line-height: 1.5; }
.flight-search-desktop .fs-leg-checkbox { position: absolute; right: -21px; width: 15px; height: 15px; accent-color: var(--fs-blue); }
.flight-search-desktop .fs-route { display: grid; grid-template-columns: 76px minmax(40px, 1fr) 76px; align-items: center; gap: 9px 12px; min-width: 0; text-align: center; }
.flight-search-desktop .fs-endpoint,
.flight-search-desktop .fs-path { display: contents; }
.flight-search-desktop .fs-time { grid-row: 1; font-size: 24px; font-weight: 700; line-height: 1.5; }
.flight-search-desktop .fs-location { grid-row: 2; font-size: 12px; color: var(--fs-muted); line-height: 1.6; overflow-wrap: anywhere; }
.flight-search-desktop .fs-endpoint:first-child > * { grid-column: 1; }
.flight-search-desktop .fs-endpoint:last-child > * { grid-column: 3; }
.flight-search-desktop .fs-location bdi { font-family: 'iransans-en-num', sans-serif; font-size: 11px; }
.flight-search-desktop .fs-duration { grid-area: 1 / 2; font-size: 12px; color: #8d91a0; line-height: 1.7; }
.flight-search-desktop .fs-path-line { grid-area: 2 / 2; position: relative; height: 1px; background: repeating-linear-gradient(to right, #bfc4cd 0 4px, transparent 4px 8px); }
.flight-search-desktop .fs-path-line::after { content: ''; position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: #bbbfc7; border-radius: 50%; }
.flight-search-desktop .fs-path-plane { position: absolute; right: 0; top: 50%; color: #bbbfc7; font-size: 18px; line-height: 1; transform: translate(50%, -50%) rotate(180deg); }
.flight-search-desktop .fs-stop-dot { position: absolute; top: 50%; transform: translate(50%, -50%); width: 8px; height: 8px; border: 1px solid #bbbfc7; border-radius: 50%; background: #fff; }
.flight-search-desktop .fs-expand { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 46px; border: 0; background: var(--fs-surface); color: var(--fs-blue); font: inherit; cursor: pointer; }
.flight-search-desktop .fs-expand i { font-size: 13px; }
.flight-search-desktop .fs-purchase { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; border-right: 1px dashed #e3e6ee; padding: 45px 20px 22px; }
.flight-search-desktop .fs-purchase::before,
.flight-search-desktop .fs-purchase::after { content: ''; position: absolute; right: -13px; width: 26px; height: 26px; border-radius: 50%; background: #eee; }
.flight-search-desktop .fs-purchase::before { top: -13px; }
.flight-search-desktop .fs-purchase::after { bottom: -13px; }
.flight-search-desktop .fs-type { position: absolute; top: 0; padding: 10px 16px; background: var(--fs-surface); border-radius: 0 0 10px 10px; font-size: 12px; }
.flight-search-desktop .fs-price-block { width: 100%; text-align: center; }
.flight-search-desktop .fs-price { display: flex; flex-wrap: nowrap; justify-content: center; align-items: baseline; gap: 5px; white-space: nowrap; margin-bottom: 14px; }
.flight-search-desktop .fs-price b { font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; }
.flight-search-desktop .fs-price > span { color: var(--fs-muted); font-size: 14px; }
.flight-search-desktop .fs-old-price { display: block; color: #c54a50; font-size: 12px; }
.flight-search-desktop .fs-select,
.fs-modal .fs-select { display: inline-flex; justify-content: center; align-items: center; background: var(--fs-blue); color: #fff; border: 0; border-radius: 7px; min-height: 43px; padding: 10px 19px; font: inherit; cursor: pointer; white-space: nowrap; }
.flight-search-desktop .fs-select { width: 100%; }
.flight-search-desktop .fs-expand:disabled,
.flight-search-desktop .fs-select:disabled,
.fs-modal .fs-select:disabled { opacity: .55; cursor: wait; }
.flight-search-desktop .fs-cabin { display: block; margin-top: 8px; font-size: 11px; color: var(--fs-muted); }
.flight-search-desktop .fs-visa { display: table; margin: 10px auto 0; padding: 3px 10px; border-radius: 30px; background: #e5fbef; color: #25b971; font-size: 11px; line-height: 1.5; }
.flight-search-desktop .fs-official-rate { display: block; font-size: 11px; color: var(--fs-blue); margin-top: 5px; }
.flight-search-desktop .fs-offer { position: absolute; z-index: 1; right: 0; top: 28px; bottom: 74px; min-height: 118px; width: 40px; border-radius: 10px 0 0 10px; background: var(--fs-yellow); color: var(--fs-blue); pointer-events: none; }
.flight-search-desktop .fs-offer > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font-size: 12px; }
.flight-search-desktop .fs-expanded { background: #fff; border-radius: 9px; padding: 16px; margin-top: 12px; }

.flight-search-desktop .fs-details,
.fs-modal .fs-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.flight-search-desktop .fs-details-roundtrip,
.fs-modal .fs-details-roundtrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flight-search-desktop .fs-detail-leg,
.fs-modal .fs-detail-leg { min-width: 0; }
.flight-search-desktop .fs-detail-heading,
.fs-modal .fs-detail-heading { display: flex; align-items: center; justify-content: space-between; min-height: 42px; background: var(--fs-surface); padding-right: 15px; font-size: 13px; }
.flight-search-desktop .fs-stop-label,
.fs-modal .fs-stop-label { padding: 12px 15px; background: var(--fs-yellow); white-space: nowrap; }
.flight-search-desktop .fs-segment,
.fs-modal .fs-segment { display: grid; grid-template-columns: minmax(0, 1.2fr) 28px minmax(0, 1fr); max-width: 540px; margin: 0 auto; min-height: 286px; padding: 18px 16px; font-size: 12px; }
.flight-search-desktop .fs-segment-place,
.fs-modal .fs-segment-place { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding-right: 7px; }
.flight-search-desktop .fs-airport,
.fs-modal .fs-airport { display: flex; flex-direction: column; gap: 3px; line-height: 1.7; }
.flight-search-desktop .fs-airport > b,
.fs-modal .fs-airport > b { font-size: 14px; font-weight: 600; }
.flight-search-desktop .fs-segment-airline,
.fs-modal .fs-segment-airline { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.5; }
.flight-search-desktop .fs-segment-airline img,
.fs-modal .fs-segment-airline img { width: 36px; height: 36px; object-fit: contain; margin: 0 12px 5px 0; }
.flight-search-desktop .fs-segment-track,
.fs-modal .fs-segment-track { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; margin: 8px 0 12px; color: #c3c6ce; }
.flight-search-desktop .fs-segment-track::before,
.fs-modal .fs-segment-track::before { content: ''; position: absolute; top: 20px; bottom: 9px; border-left: 1px dashed #cdd1da; }
.flight-search-desktop .fs-segment-track i,
.fs-modal .fs-segment-track i { transform: rotate(90deg); font-size: 18px; }
.flight-search-desktop .fs-segment-track > span,
.fs-modal .fs-segment-track > span { width: 10px; height: 10px; border-radius: 50%; background: #c3c6ce; }
.flight-search-desktop .fs-segment-meta,
.fs-modal .fs-segment-meta { display: flex; flex-direction: column; justify-content: space-between; text-align: left; gap: 18px; padding-left: 7px; }
.flight-search-desktop .fs-detail-time,
.fs-modal .fs-detail-time { display: block; font-size: 14px; margin-bottom: 3px; }
.flight-search-desktop .fs-date-fa,
.fs-modal .fs-date-fa { display: block; font-size: 11px; color: #747b8b; line-height: 1.6; }
.flight-search-desktop .fs-date-en,
.fs-modal .fs-date-en { display: block; font: 10px/1.8 'iransans-en-num', sans-serif; color: #747b8b; }
.flight-search-desktop .fs-flight-meta,
.fs-modal .fs-flight-meta { display: flex; flex-direction: column; gap: 5px; font-size: 11px; }
.flight-search-desktop .fs-layover,
.fs-modal .fs-layover { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--fs-yellow); padding: 13px 8px; font-size: 12px; text-align: center; }
.flight-search-desktop .fs-layover i,
.fs-modal .fs-layover i { font-size: 16px; }

.fs-modal .modal-dialog { width: calc(100% - 48px); max-width: 1120px; margin: 24px auto; min-height: calc(100% - 48px); }
.fs-modal .modal-content { background: #f8f9fd; border: 0; border-radius: 12px; padding: 22px 22px 16px; max-height: calc(100dvh - 48px); }
.fs-modal .fs-modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fs-modal .fs-modal-heading h5 { font-size: 18px; margin: 0; }
.fs-modal .fs-modal-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: #fff; color: #606572; border: 1px solid var(--fs-line); border-radius: 7px; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.fs-modal .fs-tabs { align-self: flex-start; display: flex; background: #fff; padding: 0 12px; border-radius: 12px 12px 0 0; flex-shrink: 0; }
.fs-modal .fs-tabs button { padding: 17px 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; font: inherit; font-size: 12px; color: #8b90a0; cursor: pointer; }
.fs-modal .fs-tabs button.active { color: var(--fs-blue); border-bottom-color: var(--fs-blue); }
.fs-modal .fs-tabs button:disabled { opacity: .55; cursor: wait; }
.fs-modal .fs-modal-body { padding: 22px; background: #fff; min-height: 340px; overflow-y: auto; overscroll-behavior: contain; border-radius: 10px 0 0 0; }
.fs-modal .fs-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; padding: 22px; box-shadow: 0 -8px 20px #00000005; border-top: 1px solid #f5f5f8; border-radius: 0 0 10px 10px; flex-shrink: 0; }
.fs-modal .fs-modal-footer .fs-select { min-width: 110px; }
.fs-modal .fs-total { font-size: 14px; color: #8b90a0; }
.fs-modal .fs-total b { font-size: 17px; color: #292a2e; white-space: nowrap; }
.fs-modal .fs-passengers { font-size: 12px; }
.fs-modal .fs-fares { display: flex; flex-wrap: wrap; gap: 20px; }
.fs-modal .fs-fare-card { width: 26%; min-width: 0; border: 1px solid var(--fs-line); border-radius: 7px; padding: 18px 15px 0; }
.fs-modal .fs-fare-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.fs-modal .fs-fare-heading > i { font-size: 21px; }
.fs-modal .fs-fare-heading > div { display: flex; flex-direction: column; gap: 5px; }
.fs-modal .fs-fare-heading b { font-weight: 500; font-size: 15px; }
.fs-modal .fs-fare-heading > div > span { font-size: 11px; color: #858b9a; }
.fs-modal .fs-fare-heading > small { font-size: 11px; margin-right: auto; }
.fs-modal .fs-fare-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 52px; padding: 16px 0; font-size: 12px; color: #858b9a; }
.fs-modal .fs-fare-row + .fs-fare-row { border-top: 1px solid #f4f5f8; }
.fs-modal .fs-fare-row b { color: #292a2e; font-size: 12px; white-space: nowrap; }
.fs-modal .fs-fare-row small { font-size: 10px; color: #969cab; }
.fs-modal .fs-fare-total { color: #292a2e; }
.fs-modal .fs-fare-discount { display: block; color: #c54a50; font-size: 11px; text-align: left; }
.fs-modal .fs-rules .modal-body { padding: 0; }
.fs-modal .fs-rules .accordion-button { font-family: inherit; }
.fs-modal .fs-rules-loading { text-align: center; padding: 40px; color: var(--fs-muted); }
.flight-search-desktop button:focus-visible,
.fs-modal button:focus-visible { outline: 2px solid var(--fs-blue); outline-offset: 3px; }

@media (max-width: 1199px) {
    .flight-search-desktop .fs-card { grid-template-columns: minmax(0, 1fr) 165px; }
    .flight-search-desktop .fs-leg { min-height: 142px; grid-template-columns: 143px minmax(0, 1fr); gap: 10px; padding: 20px 18px; }
    .flight-search-desktop .fs-journeys-multi .fs-leg { min-height: 100px; }
    .flight-search-desktop .fs-card-offer .fs-leg { padding-right: 60px; }
    .flight-search-desktop .fs-airline { gap: 8px; padding-left: 9px; }
    .flight-search-desktop .fs-airline-logo-frame { width: 52px; height: 36px; }
    .flight-search-desktop .fs-airline-name { font-size: 11px; }
    .flight-search-desktop .fs-route { grid-template-columns: 62px minmax(30px, 1fr) 62px; column-gap: 9px; }
    .flight-search-desktop .fs-time { font-size: 22px; }
    .flight-search-desktop .fs-duration { font-size: 10px; }
    .flight-search-desktop .fs-location { font-size: 10px; }
    .flight-search-desktop .fs-purchase { padding-left: 16px; padding-right: 16px; }
    .flight-search-desktop .fs-offer { width: 30px; top: 24px; min-height: 100px; bottom: 60px; }
    .flight-search-desktop .fs-offer > span { font-size: 11px; }
    .flight-search-desktop .fs-expand { min-height: 38px; font-size: 12px; }
    .flight-search-desktop .fs-select { font-size: 12px; padding-left: 10px; padding-right: 10px; }
    .flight-search-desktop .fs-price > span { font-size: 12px; }
    .flight-search-desktop .fs-segment,
    .fs-modal .fs-segment { padding-left: 8px; padding-right: 8px; font-size: 11px; }
}

/* Narrow desktop windows still use the desktop component; mobile files are separate. */
@media (max-width: 991px) {
    .flight-search-desktop .fs-card { grid-template-columns: minmax(0, 1fr) 145px; }
    .flight-search-desktop .fs-leg { grid-template-columns: 120px minmax(0, 1fr); padding-left: 12px; gap: 8px; }
    .flight-search-desktop .fs-airline { gap: 6px; }
    .flight-search-desktop .fs-airline-logo-frame { width: 44px; height: 32px; }
    .flight-search-desktop .fs-route { grid-template-columns: 50px minmax(30px, 1fr) 50px; }
    .flight-search-desktop .fs-time { font-size: 20px; }
    .flight-search-desktop .fs-purchase { padding-left: 10px; padding-right: 10px; }
    .flight-search-desktop .fs-price { gap: 4px; }
    .flight-search-desktop .fs-price b { font-size: 16px; }
    .flight-search-desktop .fs-price > span { font-size: 11px; }
    .fs-modal .fs-modal-body { padding: 16px; min-height: 220px; }
    .fs-modal .fs-fares { gap: 14px; }
    .fs-modal .modal-dialog { width: calc(100% - 28px); margin: 14px auto; min-height: calc(100% - 28px); }
    .fs-modal .modal-content { padding: 14px; max-height: calc(100dvh - 28px); }
    .fs-modal .fs-modal-heading { margin-bottom: 12px; }
    .fs-modal .fs-modal-heading h5 { font-size: 16px; }
    .fs-modal .fs-tabs button { padding-top: 14px; padding-bottom: 14px; }
    .fs-modal .fs-modal-footer { padding: 16px; }
    .fs-modal .fs-fare-card { padding: 14px 10px 0; }
    .fs-modal .fs-fare-heading { gap: 7px; margin-bottom: 12px; }
    .fs-modal .fs-fare-heading b { font-size: 12px; }
    .fs-modal .fs-fare-heading > i { font-size: 18px; }
    .fs-modal .fs-fare-row { font-size: 10px; gap: 4px; min-height: 42px; padding: 12px 0; }
    .fs-modal .fs-fare-row > span { white-space: nowrap; }
    .fs-modal .fs-fare-row b { font-size: 10px; }
    .fs-modal .fs-fare-row small { font-size: 8px; }
}

/* Mobile async flight results. These classes are only rendered by the new card and modal. */
.flight-result .flight-async-desktop-sort { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-block: 14px; color: #282b33; font-size: 13px; }
.flight-result .flight-calendar + .flight-async-desktop-sort { padding-top: 6px; }
.flight-result .fs-dsort-main { display: flex; align-items: center; gap: 14px; }
.flight-result .fs-dsort-label { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.flight-result .fs-dsort-controls { display: inline-flex; align-items: stretch; min-height: 36px; padding: 0 9px; border-radius: 7px; background: #fff; }
.flight-result .fs-dsort-dropdown { display: flex; }
.flight-result .fs-dsort-control { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 9px; border: 0; background: transparent; color: inherit; font: inherit; white-space: nowrap; }
.flight-result .fs-dsort-dropdown > .fs-dsort-control[aria-expanded="true"] > .fa-chevron-down { transform: rotate(180deg); }
.flight-result .fs-dsort-control.active::after { content: ''; position: absolute; inset: auto 9px 0; border-bottom: 2px solid #343c7b; }
.flight-result .fs-dsort-dropdown .dropdown-menu { min-width: 108px; padding: 4px; border-color: #e8eaf0; border-radius: 7px; box-shadow: 0 3px 12px #24263114; text-align: right; font-size: inherit; }
.flight-result .fs-dsort-dropdown .dropdown-item { padding: 6px 8px; border-radius: 4px; font: inherit; }
.flight-result .fs-dsort-dropdown .dropdown-item.active { background: #f1f3fa; color: #303f8e; }
.flight-result .fs-dsort-days { display: flex; align-items: center; gap: 6px; }
.flight-result .fs-dsort-day { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 8px; border: 1px solid #e4e7ed; border-radius: 6px; background: #fff; color: #353b53; font: inherit; font-size: 12px; white-space: nowrap; }
.flight-result .flight-async-desktop-sort button:disabled { opacity: .55; }
.flight-result .flight-async-desktop-sort button:focus-visible { outline: 2px solid #343c7b; outline-offset: 1px; }

#flightResultAsyncRoot :is(.fs-dsort-main, .fs-dsort-controls) {
    max-width: 100%;
    flex-wrap: wrap;
}

#flightResultAsyncRoot .flight-search-desktop .fs-price {
    flex-wrap: wrap;
    white-space: normal;
    overflow-wrap: anywhere;
}

#flightResultAsyncRoot .flight-search-mobile .fs-m-price b {
    white-space: normal;
    overflow-wrap: anywhere;
}

body:has(#flightResultAsyncRoot) .fs-modal:not(.fs-modal-mobile) .fs-fare-card {
    width: max(26%, min(100%, 160px));
}

body:has(#flightResultAsyncRoot) .fs-modal .fs-fare-row {
    flex-wrap: wrap;
}

@media (max-width: 520px) {
    #flightResultAsyncRoot .fs-dsort-main { row-gap: 6px; }
    #flightResultAsyncRoot .flight-search-desktop :is(.fs-card, .fs-leg, .fs-details-roundtrip),
    body:has(#flightResultAsyncRoot) .fs-modal .fs-details-roundtrip { grid-template-columns: minmax(0, 1fr); }
    #flightResultAsyncRoot .flight-search-desktop .fs-airline { border-left: 0; }
    #flightResultAsyncRoot .flight-search-desktop .fs-airline-copy { flex: 0 1 auto; }
    #flightResultAsyncRoot .flight-search-desktop .fs-purchase {
        padding: 12px 16px 16px;
        border-right: 0;
        border-top: 1px dashed #e3e6ee;
    }
    #flightResultAsyncRoot .flight-search-desktop .fs-purchase::before,
    #flightResultAsyncRoot .flight-search-desktop .fs-purchase::after { content: none; }
    #flightResultAsyncRoot .flight-search-desktop .fs-type {
        position: static;
        margin-bottom: 8px;
        padding: 4px 12px;
        border-radius: 6px;
    }
    #flightResultAsyncRoot .flight-search-desktop .fs-select { max-width: 13rem; }
}

:is(.flight-result, .hotel-result) {
    --result-mobile-header-offset: 50px;
}

body:not(:has(header.header-mobile:not(.is-hidden))) :is(.flight-result, .hotel-result) {
    --result-mobile-header-offset: 0px;
}

.flight-result :is(.flight-async-mobile-summary, .flight-async-mobile-tools),
.hotel-result :is(.hotel-mobile-summary, .hotel-mobile-tools) {
    position: sticky;
    background-color: #eeeeeea6;
    transition: top 260ms ease;
}

.flight-result .flight-async-mobile-summary,
.hotel-result .hotel-mobile-summary {
    top: var(--result-mobile-header-offset);
    z-index: 1001;
    padding: 10px 10px 0;
}

.flight-result .flight-async-mobile-tools {
    top: calc(var(--result-mobile-header-offset) + var(--flight-search-summary-height, 0px));
}

.hotel-result .hotel-mobile-tools {
    top: calc(var(--result-mobile-header-offset) + var(--hotel-search-summary-height, 0px));
}

.flight-result .flight-async-mobile-tools,
.hotel-result .hotel-mobile-tools {
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding-block: 6px;
}

.flight-result:has(#searchRoot .modal[aria-modal="true"]) :is(.flight-async-mobile-summary, .flight-async-mobile-tools),
.hotel-result:has(#searchRoot .modal[aria-modal="true"]) :is(.hotel-mobile-summary, .hotel-mobile-tools) {
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .flight-result :is(.flight-async-mobile-summary, .flight-async-mobile-tools),
    .hotel-result :is(.hotel-mobile-summary, .hotel-mobile-tools) {
        transition: none;
    }
}

.flight-result .flight-async-mobile-tools button,
.hotel-result .hotel-mobile-tools button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 12px; border: 0; border-radius: 7px; background: #fff; color: #292a2e; font: inherit; font-size: 13px; }
.flight-result .flight-async-mobile-tools button:disabled { opacity: .55; }

.flight-result .flight-selected-leg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #ebedf0;
    border-radius: 8px;
    background: #fff;
    color: #242528;
    font: 400 14px/1.4 'iransans-fa-num', sans-serif;
}

.flight-selected-leg-route,
.flight-selected-leg-airline {
    display: flex;
    align-items: center;
}

.flight-selected-leg-route { gap: 4px; flex-shrink: 0; white-space: nowrap; }
.flight-selected-leg-date { font-weight: 600; }
.flight-selected-leg-check {
    width: 24px;
    height: 24px;
    margin-inline-end: 4px;
    flex-shrink: 0;
    background: url('../../images/flight-leg-selected.svg') center / contain no-repeat;
}

.flight-selected-leg-airline { gap: 8px; min-width: 0; }
.flight-selected-leg-airline-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'iransans-en-num', sans-serif;
    font-weight: 500;
}

.flight-selected-leg-airline .fs-airline-logo-frame {
    display: block;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 50%;
}

.flight-selected-leg-airline .fs-airline-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.flight-selected-leg-airline .fs-airline-logo-padded { object-fit: cover; }

.flight-result .flight-selected-legs-mobile .flight-selected-leg {
    min-height: 44px;
    margin-bottom: 12px;
    padding: 8px;
}

.flight-selected-legs-mobile .flight-selected-leg-check { width: 18px; height: 18px; margin-inline-end: 0; }
.flight-selected-legs-mobile .flight-selected-leg-airline .fs-airline-logo-frame { width: 24px; height: 24px; }

.flight-async-filter { padding: 12px !important; border-radius: 14px !important; color: #25282d; font-size: 14px; }
.flight-async-filter .sidebar-box > .bg-light { background: #f7f7f7 !important; padding: 12px 6px !important; margin-bottom: 10px !important; }
.flight-async-filter #countDown { font-size: 20px; }
.flight-async-filter .accordion-item { border: 0; margin-bottom: 10px; }
.flight-async-filter .accordion-header { font-size: inherit; }
.flight-async-filter .accordion-button,
.flight-async-filter .accordion-button:not(.collapsed) { min-height: 44px; padding: 9px 12px; background: #f7f7f7; border-radius: 7px; box-shadow: none; color: inherit; font: inherit; }
.flight-async-filter .accordion-button::after { width: 14px; height: 14px; background-size: 14px; margin-inline: auto 0; }
.flight-async-filter .accordion-button:focus-visible { outline: 2px solid #303876; outline-offset: -2px; }
.flight-async-filter .accordion-body { font-size: inherit; }
.flight-async-filter .flight-filter-list li { margin-bottom: 8px; }
.flight-async-filter .flight-filter-list li:last-child { margin-bottom: 0; }
.flight-async-filter .accordion-body label { min-height: 23px; gap: 8px; cursor: pointer; }
.flight-async-filter :is(input[type="checkbox"], input[type="radio"]) { appearance: none; display: grid; place-items: center; flex: 0 0 15px; width: 15px; height: 15px; margin: 0 !important; border: 1px solid #bfc4ce; border-radius: 3px; background: #fff; }
.flight-async-filter :is(input[type="checkbox"], input[type="radio"]):checked { background: #303876; border-color: #303876; }
.flight-async-filter :is(input[type="checkbox"], input[type="radio"]):checked::after { content: ''; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.flight-async-filter :is(input[type="checkbox"], input[type="radio"]):focus-visible { outline: 2px solid #303876; outline-offset: 2px; }
.flight-async-filter :is(input[type="checkbox"], input[type="radio"]):disabled { opacity: .5; }
.flight-async-filter .flight-filter-select-all { display: flex; align-items: center; margin-bottom: 8px; }
.flight-async-filter :is(.times-went-checkbox, .times-return-checkbox) label > i { display: none; }
.flight-async-filter .flight-filter-list li img.flight-filter-airline-logo,
.flight-async-filter :is(.airlines-went-checkbox, .airlines-return-checkbox) li img {
    order: -1;
    flex-shrink: 0;
    width: 38px;
    height: 23px;
    object-fit: contain;
}
.flight-async-filter .flight-filter-list label:has(img) input { order: -2; }
.flight-async-filter .flight-filter-route-group + .flight-filter-route-group { margin-top: 14px; }
.flight-async-filter .flight-filter-route-label { color: #747c8b; margin-bottom: 8px; }
.flight-async-filter .filter-range-slider { overflow: clip; }
.flight-async-filter .filter-range-slider .row { --bs-gutter-x: 0; align-items: center; flex-wrap: nowrap; gap: 10px; }
.flight-async-filter .filter-range-slider .col-9 { flex: 1; min-width: 0; padding-inline: 12px; }
.flight-async-filter .filter-range-slider .col-3 { width: auto; }
.flight-async-filter .filter-range-slider .btn { min-height: 26px; padding: 2px 6px; font-size: 12px; }
.flight-async-filter .filter-range-slider b { font-size: 12px; }
.flight-async-filter .filter-range-slider .justify-content-between { gap: 4px 8px; flex-wrap: wrap; }

.flight-async-filter-modal .modal-dialog { width: calc(100% - 24px); max-width: 520px; height: calc(100% - 24px); min-height: 0; margin: 24px auto 0; }
.flight-async-filter-modal .modal-dialog .modal-content { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; border-radius: 12px 12px 0 0; overflow: hidden; }
.flight-async-filter-modal .modal-dialog .modal-body { padding: 8px 0 0 !important; min-height: 0; }
.flight-async-filter-modal .modal-body > .col-lg-3 { width: 100%; margin: 0 !important; }
.flight-async-filter-modal .flight-async-filter { padding: 0 10px !important; font-size: 13px; }
.flight-async-filter-modal .flight-async-filter .sidebar-box > .bg-light { padding-inline: 28px !important; }
.flight-async-filter-modal .modal-header { position: absolute; top: 16px; left: 15px; z-index: 1; padding: 0; border: 0; }
.flight-async-filter-modal .modal-header .btn-close { margin: 0 !important; padding: 4px; font-size: 10px; }
.flight-async-filter-modal .modal-footer { background: #fff; padding: 8px 12px max(8px, env(safe-area-inset-bottom)); border: 0; }
.flight-async-filter-modal .modal-footer .btn { min-height: 38px; margin: 0; background: #303876; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) { overflow: hidden; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .modal-dialog { display: flex; align-items: flex-end; width: 100%; max-width: none; min-height: 100vh; min-height: 100dvh; margin: 0; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .modal-content { gap: 10px; max-height: 100vh; max-height: 100dvh; padding: 15px 14px max(14px, env(safe-area-inset-bottom)); border: 0; border-radius: 10px 10px 0 0; background: #fff; color: #242631; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-heading h6 { margin: 0; font-size: 14px; font-weight: 700; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #e6e9ef; border-radius: 7px; background: #fff; color: #272b36; font: 20px/1 Arial, sans-serif; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-options { min-height: 0; margin: 0; padding: 0; border: 0; overflow: auto; overscroll-behavior: contain; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-option { display: flex; align-items: center; gap: 8px; min-height: 29px; margin: 0; color: #30303a; font-size: 13px; cursor: pointer; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-option input { appearance: none; display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; border: 1px solid #cdd1db; border-radius: 50%; background: #fff; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-option input:checked { border: 5px solid #303f8e; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) .fs-sort-apply { width: 100%; flex-shrink: 0; min-height: 38px; padding: 8px; border: 0; border-radius: 6px; background: #343c7b; color: #fff; font: inherit; font-size: 13px; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) button:focus-visible,
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) input:focus-visible { outline: 2px solid #303f8e; outline-offset: 2px; }
:is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet) :disabled { opacity: .55; }

@media (prefers-reduced-motion: no-preference) {
    :is(.flight-async-sort-sheet, .hotel-mobile-sort-sheet).show .modal-content { animation: flight-async-mobile-slide-in 250ms ease-out; }
}

.flight-result .filter-modal-btns.flight-result-mobile-actions.flight-async-mobile-days,
.hotel-result .filter-modal-btns.hotel-result-mobile-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flight-search-mobile {
    --fs-m-blue: #303f8e;
    --fs-m-muted: #8992a4;
    --fs-m-line: #bbc0c9;
    background: #fff;
    color: #292a2e;
    direction: rtl;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 12px;
}
.flight-search-mobile .fs-m-legs { position: relative; padding: 0 20px; }
.flight-search-mobile .fs-m-leg { padding: 24px 0 22px; }
.flight-search-mobile .fs-m-leg + .fs-m-leg { border-top: 1px solid #e9ebf1; }
.flight-search-mobile .fs-m-with-type .fs-m-leg:first-of-type { padding-top: 32px; }
.flight-search-mobile .fs-m-type,
.flight-search-mobile .fs-m-offer { position: absolute; top: 0; padding: 5px 12px; border-radius: 0 0 6px 6px; font-size: 12px; line-height: 1.35; }
.flight-search-mobile .fs-m-type { left: 19px; background: #f2f4f8; }
.flight-search-mobile .fs-m-offer { right: 19px; background: #fbefc4; color: #303f8e; font-size: 10px; }
.flight-search-mobile .fs-m-airline { display: flex; align-items: center; gap: 8px; min-height: 38px; }
.flight-search-mobile .fs-m-filter { width: 14px; height: 14px; flex: 0 0 14px; accent-color: var(--fs-m-blue); }
.flight-search-mobile .fs-airline-logo-frame,
.fs-modal.fs-modal-mobile .fs-airline-logo-frame { position: relative; display: block; width: 46px; height: 30px; flex-shrink: 0; }
.flight-search-mobile .fs-airline-logo-frame .fs-airline-logo,
.fs-modal.fs-modal-mobile .fs-airline-logo-frame .fs-airline-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.flight-search-mobile .fs-m-carrier,
.flight-search-mobile .fs-m-equipment { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 3px; text-align: center; overflow-wrap: anywhere; }
.flight-search-mobile .fs-m-airline-name { font-size: 14px; line-height: 1.45; }
.flight-search-mobile .fs-m-equipment { flex: 1; color: var(--fs-m-muted); font-size: 12px; line-height: 1.35; }
.flight-search-mobile .fs-baggage { display: flex; align-items: center; gap: 4px; color: var(--fs-m-muted); font-size: 11px; }
.flight-search-mobile .fs-m-route { display: grid; grid-template-columns: minmax(56px, 16%) minmax(0, 1fr) minmax(56px, 16%); grid-template-rows: auto auto auto; align-items: center; gap: 5px 12px; margin-top: 23px; text-align: center; }
.flight-search-mobile .fs-m-route b { font-size: 21px; line-height: 1.45; }
.flight-search-mobile .fs-m-departure-time { grid-area: 1 / 1; }
.flight-search-mobile .fs-m-arrival-time { grid-area: 1 / 3; }
.flight-search-mobile .fs-m-duration { grid-area: 1 / 2; font-size: 13px; line-height: 1.5; color: var(--fs-m-muted); }
.flight-search-mobile .fs-m-departure-code { grid-area: 2 / 1; }
.flight-search-mobile .fs-m-arrival-code { grid-area: 2 / 3; }
.flight-search-mobile :is(.fs-m-departure-code, .fs-m-arrival-code) { color: var(--fs-m-muted); font: 14px/1.5 'iransans-en-num', sans-serif; }
.flight-search-mobile .fs-m-track { grid-area: 2 / 2; position: relative; height: 1px; background: repeating-linear-gradient(to right, var(--fs-m-line) 0 4px, transparent 4px 8px); margin: 0 8px; }
.flight-search-mobile .fs-m-track::after { content: ''; position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: var(--fs-m-line); border-radius: 50%; }
.flight-search-mobile .fs-m-track > i { position: absolute; right: 0; top: 50%; transform: translate(50%, -50%) rotate(180deg); color: var(--fs-m-line); font-size: 18px; line-height: 1; background: #fff; }
.flight-search-mobile .fs-m-track-dot { position: absolute; top: 50%; transform: translate(50%, -50%); background: #fff; border: 1px solid var(--fs-m-line); border-radius: 50%; width: 8px; height: 8px; }
.flight-search-mobile .fs-m-stops { grid-area: 3 / 1 / 4 / 4; font-size: 13px; }
.flight-search-mobile .fs-m-stops bdi { color: var(--fs-m-muted); font: 12px 'iransans-en-num', sans-serif; }
.flight-search-mobile .fs-m-purchase { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 29px; padding: 16px 0 14px; min-height: 86px; }
.flight-search-mobile .fs-m-purchase::before { content: ''; position: absolute; inset: 0 8px auto; height: 1px; background: repeating-linear-gradient(to right, #e2e6ee 0 9px, transparent 9px 19px); }
.flight-search-mobile .fs-m-legs::before,
.flight-search-mobile .fs-m-legs::after { content: ''; position: absolute; bottom: -11px; width: 22px; height: 22px; border-radius: 50%; background: #eee; pointer-events: none; }
.flight-search-mobile .fs-m-legs::before { right: -11px; }
.flight-search-mobile .fs-m-legs::after { left: -11px; }
.flight-search-mobile .fs-m-price { min-width: 0; }
.flight-search-mobile .fs-m-price > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; }
.flight-search-mobile .fs-m-price b { font-size: clamp(15px, 4.7vw, 22px); line-height: 1.5; white-space: nowrap; }
.flight-search-mobile .fs-m-price span { color: var(--fs-m-muted); font-size: 15px; }
.flight-search-mobile .fs-m-price del { display: block; font-size: 11px; color: #b42637; }
.flight-search-mobile .fs-m-price small { display: block; margin-top: 4px; font-size: 10px; color: var(--fs-m-blue); }
.flight-search-mobile .fs-m-actions { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.flight-search-mobile .fs-m-visa { background: #e6f5fc; color: #1581b7; border-radius: 18px; padding: 5px 10px; font-size: 11px; }
.flight-search-mobile .fs-m-select { background: var(--fs-m-blue); color: #fff; border: 0; border-radius: 7px; min-height: 38px; padding: 7px 12px; font: inherit; font-size: 13px; white-space: nowrap; }
.flight-search-mobile .fs-m-select:disabled { opacity: .55; cursor: wait; }
.flight-search-mobile .fs-m-select:focus-visible { outline: 2px solid var(--fs-m-blue); outline-offset: 3px; }

.fs-modal.fs-modal-mobile { height: 100vh; height: 100dvh; overflow: hidden; }
.fs-modal.fs-modal-mobile .modal-dialog { width: 100%; height: 100%; max-width: none; min-height: 0; margin: 0; }
.fs-modal.fs-modal-mobile .modal-content { padding: 0 10px; background: #fff; height: 100%; max-height: none; border-radius: 14px 14px 0 0; overflow: hidden; }
.fs-modal.fs-modal-mobile .fs-modal-heading { padding: max(10px, env(safe-area-inset-top)) 2px 10px; margin: 0; border-bottom: 1px solid #f2f3f6; flex-shrink: 0; }
.fs-modal.fs-modal-mobile .fs-modal-heading h5 { font-size: 14px; }
.fs-modal.fs-modal-mobile .fs-modal-close { width: 33px; height: 33px; font-size: 20px; }
.fs-modal.fs-modal-mobile .fs-tabs { align-self: stretch; justify-content: flex-start; padding: 5px 0 0; }
.fs-modal.fs-modal-mobile .fs-tabs button { padding: 10px 8px; font-size: 12px; }
.fs-modal.fs-modal-mobile .fs-modal-body { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 0 10px; border-radius: 0; }
.fs-modal.fs-modal-mobile .fs-modal-footer { flex: none; padding: 10px 0 max(10px, env(safe-area-inset-bottom)); border-radius: 0; gap: 10px; }
.fs-modal.fs-modal-mobile .fs-modal-footer .fs-select { min-width: 0; min-height: 40px; padding: 8px 14px; font-size: 13px; }
.fs-modal.fs-modal-mobile .fs-total { display: flex; flex-direction: column; gap: 4px; font-size: 11px; line-height: 1.4; }
.fs-modal.fs-modal-mobile .fs-total b { font-size: 14px; }
.fs-modal.fs-modal-mobile .fs-passengers { font-size: 10px; }
.fs-modal.fs-modal-mobile .fs-fares { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.fs-modal.fs-modal-mobile .fs-fare-card { width: 100%; padding: 13px 13px 0; }
.fs-modal.fs-modal-mobile .fs-fare-heading { gap: 7px; margin-bottom: 13px; }
.fs-modal.fs-modal-mobile .fs-fare-heading b { font-size: 13px; }
.fs-modal.fs-modal-mobile .fs-fare-row { min-height: 44px; padding: 12px 0; font-size: 12px; }
.fs-modal.fs-modal-mobile .fs-fare-row > span { white-space: normal; }
.fs-modal.fs-modal-mobile .fs-fare-row b { font-size: 12px; }
.fs-modal.fs-modal-mobile .fs-fare-row small { font-size: 10px; }
.fs-modal.fs-modal-mobile .fs-details-roundtrip { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
.fs-modal.fs-modal-mobile .fs-detail-heading { min-height: 34px; padding-right: 10px; font-size: 12px; }
.fs-modal.fs-modal-mobile .fs-stop-label { padding: 8px 10px; }
.fs-modal.fs-modal-mobile .fs-segment { min-height: 200px; padding: 11px 0; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); font-size: 11px; }
.fs-modal.fs-modal-mobile .fs-segment-place,
.fs-modal.fs-modal-mobile .fs-segment-meta { gap: 12px; }
.fs-modal.fs-modal-mobile .fs-airport > b,
.fs-modal.fs-modal-mobile .fs-detail-time { font-size: 12px; }
.fs-modal.fs-modal-mobile .fs-date-fa,
.fs-modal.fs-modal-mobile .fs-date-en,
.fs-modal.fs-modal-mobile .fs-flight-meta { font-size: 10px; }
.fs-modal.fs-modal-mobile .fs-segment-airline { align-items: center; align-self: flex-start; padding: 0 5px; }
.fs-modal.fs-modal-mobile .fs-segment-airline .fs-airline-logo-frame { width: 38px; height: 25px; }
.fs-modal.fs-modal-mobile .fs-layover { padding: 9px 4px; font-size: 11px; }

@media (prefers-reduced-motion: no-preference) {
    .fs-modal.fs-modal-mobile.show .modal-dialog { animation: flight-async-mobile-slide-in 300ms cubic-bezier(.22, .61, .36, 1); }
}

@keyframes flight-async-mobile-slide-in {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Flight reservation uses the same card layout with two actions. */
.flight-search-desktop.fs-reservation-card .fs-card { grid-template-columns: minmax(0, 1fr) 178px; }
.flight-search-desktop.fs-reservation-card .fs-journeys { display: flex; flex-direction: column; }
.flight-search-desktop.fs-reservation-card .fs-leg { min-height: 136px; padding-top: 18px; padding-bottom: 18px; }
.flight-search-desktop.fs-reservation-card .fs-journeys-multi .fs-leg { min-height: 105px; }
.flight-search-desktop.fs-reservation-card .fs-expand { min-height: 38px; margin-top: auto; }
.flight-search-desktop.fs-reservation-card .fs-purchase { padding: 36px 15px 15px; }
.flight-search-desktop.fs-reservation-card .fs-price { margin-bottom: 8px; }
.flight-search-desktop.fs-reservation-card .fs-price b { font-size: clamp(16px, 1.4vw, 20px); }
.flight-search-desktop.fs-reservation-card .fs-price > span { font-size: 12px; }
.flight-search-desktop.fs-reservation-card .fs-offer { top: 22px; bottom: auto; height: 104px; min-height: 0; }
.flight-search-desktop.fs-reservation-card .fs-select,
.flight-search-mobile.fs-reservation-card .fs-m-select { min-height: 36px; }
.flight-search-desktop.fs-reservation-card .fs-change-flight,
.flight-search-mobile.fs-reservation-card .fs-change-flight {
    width: 100%; min-height: 36px; padding: 5px 10px; border: 1px solid #303f8e;
    border-radius: 7px; background: #fff; color: #303f8e; font: inherit;
    font-size: 13px; white-space: nowrap; cursor: pointer;
}
.flight-search-desktop.fs-reservation-card .fs-change-flight { margin-bottom: 6px; }
.flight-search-mobile.fs-reservation-card .fs-m-actions { min-width: 104px; }
.flight-search-mobile.fs-reservation-card .fs-m-select { width: 100%; }
.flight-search-mobile.fs-reservation-card .fs-change-flight:focus-visible { outline: 2px solid #303f8e; outline-offset: 3px; }
.flight-reservation .fs-reservation-price-panel { padding: 0 14px 1px; margin-bottom: 16px; background: #fff; border-radius: 12px; overflow: hidden; }
.flight-reservation .fs-reservation-price-panel > summary { padding: 10px 0; color: #303f8e; cursor: pointer; }
.flight-reservation .fs-reservation-price-panel .flight-price { margin-top: 0 !important; }
.flight-reservation .fs-reservation-price-panel .flight-price h6 { display: none; }

@media (max-width: 991px) {
    .flight-search-desktop.fs-reservation-card .fs-card { grid-template-columns: minmax(0, 1fr) 145px; }
    .flight-search-desktop.fs-reservation-card .fs-purchase { padding-right: 10px; padding-left: 10px; }
}

@media (max-width: 359px) {
    .flight-search-mobile .fs-m-legs { padding-right: 14px; padding-left: 14px; }
    .flight-search-mobile .fs-m-purchase { margin: 0 18px; }
    .flight-search-mobile .fs-m-airline-name,
    .flight-search-mobile .fs-m-duration { font-size: 12px; }
    .flight-search-mobile .fs-m-equipment,
    .flight-search-mobile .fs-m-select { font-size: 11px; }
    .flight-search-mobile .fs-m-price span { font-size: 12px; }
}

/* Baggage and fare rules in search results. */
.result-rules-sections {
    display: grid;
    grid-template-columns: minmax(9rem, 28%) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: .5rem 1rem;
    padding: .75rem;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: .75rem;
}

.result-rules-button {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.9rem;
    padding: .65rem .85rem;
    color: #28353f;
    background: #f5f7f9;
    border: 1px solid #e8edf2;
    border-radius: .5rem;
    text-align: start;
    font: inherit;
}

.result-rules-button-baggage { grid-row: 1; }
.result-rules-button-fare { grid-row: 2; }

.result-rules-button[aria-expanded="true"] {
    color: #fff;
    background: var(--color-blue, #2c3b80);
    border-color: transparent;
}

.result-rules-button:focus-visible {
    outline: 2px solid var(--color-blue, #2c3b80);
    outline-offset: 2px;
}

.result-rules-chevron { display: none; }

.result-rules-content {
    grid-area: 1 / 2 / 4 / 3;
    min-width: 0;
    padding: .4rem .7rem;
    overflow-wrap: anywhere;
}

.result-baggage-route + .result-baggage-route {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e8edf2;
}

.result-baggage-route h6 { margin: 0 0 .8rem; }
.result-baggage-segment + .result-baggage-segment { margin-top: 1rem; }

.result-baggage-meta,
.result-baggage-airline,
.result-baggage-allowance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .75rem;
}

.result-baggage-meta {
    margin-bottom: .45rem;
    color: #4d5966;
    font-size: .875em;
}

.result-baggage-airline img {
    width: 2.25rem;
    height: 1.35rem;
    object-fit: contain;
}

.result-baggage-allowance { align-items: flex-start; }

.result-baggage-allowance i {
    padding: .45rem;
    color: #28353f;
    background: #eef1f8;
    border-radius: .35rem;
}

.result-baggage-allowance ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.result-baggage-empty { margin: 0; }

@media (max-width: 767px) {
    .result-rules-sections { display: flex; flex-direction: column; }
    .result-rules-content { padding: .5rem .25rem; }
    .result-rules-button i { display: none; }

    .result-rules-chevron {
        display: block;
        width: .55rem;
        height: .55rem;
        margin-inline-start: auto;
        margin-inline-end: .2rem;
        border: solid currentColor;
        border-width: 0 1px 1px 0;
        transform: rotate(45deg);
    }

    .result-rules-button[aria-expanded="true"] .result-rules-chevron {
        transform: rotate(225deg);
    }
}
