/* Extracted from inline <style> blocks — tour */

/* from tour/_graphics.php */
.functionBox .priceBlock .price .price__title .ico {
        position: relative;
        top: 0;
    }
    .functionBox .priceBlock .price .price__title {
        width: auto;
    }
    .functionBox .priceBlock {
        height: auto;
    }
    .functionBox .priceBlock .container {
        overflow: inherit;
    }

/* from tour/index.php */
.tour-search-pagination .page-link {
        color: var(--red-color) !important;
        outline: none !important;
        border: 0 !important;
        padding: 10px 18px;
    }
    .tour-search-pagination .active>.page-link {
        background: var(--red-color);
        border: 1px solid var(--red-color) !important;
        color: white !important;
    }
    .tour-search-pagination .page-link.active {
        background: #fff;
    }
    .page-item:first-child .page-link {
        border: 0 !important;
        background: #ffffff;
    }
    .tour-search-pagination .page-link:focus {
        box-shadow: none !important;
    }

/* from tour/old-skeleton.php */
.skeleton-card-final {
        display: flex;
        justify-content: space-between;
        background-color: #f7f7f7;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
        z-index: 55555555;
    }

    .skeleton-image, .skeleton-title, .skeleton-feature, .skeleton-hotel,
    .skeleton-icon, .skeleton-flight-time, .skeleton-price {
        background: linear-gradient(180deg, #e0e0e0 30%, #f5f5f5 50%, #e0e0e0 70%);
        background-size: 100% 200%;
        animation: loading-gradient-vertical 3.5s infinite;
    }

    .skeleton-image {
        width: 260px;
        height: 225px;
        border-radius: 8px;
    }

    .skeleton-details {
        flex-grow: 2;
        margin-left: 20px;
        margin-right: 20px;
    }

    .skeleton-header {
        margin-bottom: 15px;
    }

    .skeleton-title {
        width: 40%;
        height: 20px;
        margin-bottom: 10px;
        border-radius: 4px;
    }

    .skeleton-features {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 50px;
    }

    .skeleton-feature {
        width: 100px;
        height: 20px;
        border-radius: 4px;
    }

    .skeleton-hotels {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .skeleton-hotel {
        width: 150px;
        height: 20px;
        border-radius: 4px;
    }

    .skeleton-icons {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        justify-content: flex-end;
    }

    .skeleton-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }

    .skeleton-flights {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .skeleton-flight-time {
        width: 210px;
        height: 40px;
        border-radius: 4px;
    }

    .skeleton-price-block {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 20px;
    }

    .skeleton-price {
        width: 250px;
        height: 100%;
        border-radius: 8px;
    }


    @keyframes loading-gradient-vertical {
        0% {
            background-position: 0 200%;
        }
        100% {
            background-position: 0 -200%;
        }
    }


    @media (max-width: 1200px) {
        .skeleton-flights, .skeleton-hotels, .skeleton-price-block {
            display: none;
        }
    }

    @media (max-width: 800px) {
        .skeleton-image {
            width: 50%;
        }
        .skeleton-feature {
            width: 100px;
        }
    }

    @media (max-width: 600px) {
        .skeleton-image {
            display: none;
        }
        .skeleton-details {
            flex-grow: 1;
            margin-left: 10px;
            margin-right: 10px;
        }
    }

/* from tour/_items-skeleton.php */
.skeleton-box {
        background: linear-gradient(100deg, #f0f0f0 30%, #e2e2e2 50%, #f0f0f0 70%);
        background-size: 200% 100%;
        animation: skeleton-loading 1.5s infinite linear;
        border-radius: 4px;
    }

    .skeleton-box.short {
        width: 60%;
        height: 22px;
    }
    .skeleton-box.medium {
        width: 70%;
        height: 18px;
    }
    .skeleton-box.wide {
        width: 120px;
        height: 24px;
    }
    .skeleton-box.small {
        width: 140px;
        height: 18px;
    }
    .skeleton-box.button {
        width: 180px;
        height: 36px;
    }

    .margin-top {
        margin-top: 15px;
    }
    .margin-top-small {
        margin-top: 10px;
    }

    .skeleton * {
        pointer-events: none;
        user-select: none;
    }

    @keyframes skeleton-loading {
        0% {
            background-position: 200% 0;
        }
        100% {
            background-position: -200% 0;
        }
    }

    .skeleton-price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        text-align: right;
        gap: 10px;
    }

.st0 {
    fill: var(--red-color);
}

/* from tour/_search-tour-item2.php */
.show-agent-sale-price,
    .show-subagent-sale-price {
        display: block;
        margin: 0 auto;
        background: transparent;
        color: var(--red-color);
        cursor: pointer;
    }

    .show-agent-sale-price:hover,
    .show-subagent-sale-price:hover {
        text-decoration: underline;
    }

    .show-agent-sale-price__content {
        display: none;
    }

    .functionBox .search .search__union .search__block .search__items .search__item .search__discaunt {
        background: var(--red-color);
        opacity: 0.8;
        position: relative;
        top: 0;
        left: -30px;
    }

    .functionBox .search .search__union .search__block .search__items .search__item .hotels__results {
        z-index: 45;
    }

    @media (min-width: 1024.1px) {
        .functionBox .search .search__union .search__block .search__items .search__unnion_buttom.has_tour_logo {
            margin-bottom: -30px !important;
        }

        .functionBox .search .search__union .search__block .search__items .search__unnion_buttom.has_tour_not_logo {
            margin-bottom: initial !important;
        }
    }

    .search__image img {
        width: 200px;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
    }

    .search__block-information {
        display: flex;
        gap: 15px;
        overflow: hidden;
    }

    .description__short-body {
        font-size: 16px;
        width: 100%;
        height: 115px;
        font-weight: 400;
        overflow: hidden;
    }

    .block-plains {
        height: auto;
        margin: 0;
    }

    .block-plains:last-child::after {
        background: none;
    }

    .departure-arrival {
        width: 100%;
        padding: 0.75rem 0;
    }

    .departure-arrival__body {
        grid-template-columns: initial;
    }

    .item-plane__city {
        width: 70px;
        word-break: break-word;
    }

    .item-plane {
        justify-content: space-between;
        gap: 0.875rem;
    }

    .first-block-plains__line {
        margin: 17px 0;
    }

    .description-short {
        white-space: pre-line;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .block-description-button {
        display: inline-block;
        padding: 10px 20px;
        background: var(--red-color);
        opacity: 0.8;
        color: #fff;
        border-radius: 10px;
    }

    .block-description-button:hover {
        text-decoration: underline;
    }

    .description-short {
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;
    }

    .search__image img {
        width: 400px;
        height: 145px;
        object-fit: cover;
        border-radius: 10px;
    }

    .block-description-button {
        display: inline-block;
        padding: 0;
        background: transparent;
        color: #fff;
        border-radius: 10px;
        color: var(--red-color) !important;
        margin-top: 4px;
        font-weight: 500;
        font-size: 11px;
    }

    .search_tor_item_tour_image_sidebar {
        width: 100%;
        object-fit: contain;
        border: 0px solid #4bef37;
    }

    .search__block_item-transfer {
        width: max-content;
    }

    .search_tour-transfer-img {
        margin: 10px 0 0 0;
    }

    .search_tour-transfer-img img {
        width: 50px;
        height: 50px;
    }
    @media (max-width: 1024px) {
        .item-plane {
            justify-content: center;
        }
    }

/* from tour/view.php */
.col-xl-4 {
        display: flex;
        flex-direction: column;
    }
    .row.g-4 {
        flex-grow: 1;
    }
    .link.property-gallery img {
        height: 43vh;
        object-fit: cover;
    }
    .search__button.btn {
        font-size: 16px;
        padding: 5px;
        min-width: 180px;
    }
    .search__button.btn:focus,
    .search__button.btn:hover,
    .search__button.btn.active {
        background-color: var(--red-color);
        opacity: 0.9;
        color: #FFFFFF;
    }
    .tour .tour__hero {
        position: relative;
        height: auto;
        min-height: 313px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

/* from tour/old-view/view.php */
.col-xl-4 {
        display: flex;
        flex-direction: column;
    }
    .row.g-4 {
        flex-grow: 1;
    }
    .link.property-gallery img {
        height: 43vh;
        object-fit: cover;
    }
    .search__button.btn {
        font-size: 16px;
        padding: 5px;
        min-width: 180px;
    }
    .search__button.btn:focus,
    .search__button.btn:hover,
    .search__button.btn.active {
        background-color: var(--red-color);
        opacity: 0.9;
        color: #FFFFFF;
    }

/* from tour/modal/index.php */
.modal {
        top: 30vh;
    }

    .modal.tour-options .search__block_item-tour-options {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .modal.tour-options .modal-body {
        padding: 2rem 1rem;
    }

    .modal.tour-options .search__option-item {
        display: flex;
        padding: 4px 9px;
        background: #EBEBEB;
        border-radius: 20px;
        gap: 2px;
        align-items: center;
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }

    .modal.tour-options .search__option-item span {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #101010;
    }

    .modal.tour-options .search__option-item span svg {
        width: 15px;
        margin-right: 3px;
    }

    .modal.tour-options .modal-title {
        font-size: 24px;
        font-weight: 600;
    }

/* SVG icon fill used in tour cards/modals */
svg .st0 {
    fill: var(--svg-color);
}

svg .st0-muted {
    fill: #6b6b6b;
}
