@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    line-height: 1;
    text-size-adjust: 100%;
    width: 100%;
    font-weight: 400;
}

input {
    font-family: inherit;
}

textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
    color: var(--color-main);
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

html {
    scroll-behavior: smooth;
}

p {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

:root {
    --fz-h1: 48px;
    --fz-h2: 26px;
    --fz-p: 16px;
    --fz-link: 18px;
    --color-main: #3b82f6;
}

@media (max-width: 768px) {
    :root {
        --fz-h1: 24px;
        --fz-h2: 16px;
        --fz-p: 12px;
        --fz-link: 15px;
    }
}

.container {
    max-width: calc(1200px + 32px);
    padding-inline: 16px;
    margin-inline: auto;
}
.narrowContainer {
    max-width: calc(960px + 32px);
    padding-inline: 16px;
    margin-inline: auto;
}
.extraNarrowContainer {
    max-width: calc(744px + 32px);
    padding-inline: 16px;
    margin-inline: auto;
}
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.checkbox {
    appearance: none;
}
.checkbox::before {
    display: block;
    width: 20px;
    height: 20px;
    content: ' ';
    background-image: url('./assets/unchecked.svg');
}
.checkbox:checked::before {
    background-image: url('./assets/checked.svg');
}
.radio {
    appearance: none;
}
.radio::before {
    display: block;
    width: 20px;
    height: 20px;
    content: ' ';
    background-image: url('./assets/radioUnchecked.svg');
}
.radio:checked::before {
    background-image: url('./assets/radioChecked.svg');
}
.modalsContainer {
    position: relative;
    z-index: 9999;
}
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0000007a;
    align-items: center;
    justify-content: center;
    z-index: 2;
    display: none;
}
.modal.active {
    display: flex;
}
.modal > form,
.modal > div {
    position: relative;
    margin-inline: 16px;
    flex: 0 1 486px;
    width: max-content;
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
}
.popup {
    position: absolute;
    top: 100%;
    background-color: #fff;
    box-shadow: 0px 4px 16px 0px #0000001f;
    display: none;
    z-index: 1;
}
.active .popup {
    display: block;
}
.modalTitle {
    margin-top: 26px;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}
.price::after {
    content: 'с';
    margin-left: 0.8ch;
    text-decoration: underline;
}
.button {
    height: 56px;
    padding-inline: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
}
.button img {
    max-height: 1em;
}
.button > span {
    display: flex;
    align-items: center;
    justify-content: center;
}
.button > span > img {
    margin-left: 10px;
}
button:disabled {
    filter: grayscale(1);
    opacity: 0.5;
    pointer-events: none;
}
button:active:not(:disabled) {
    filter: brightness(1.3);
}
.buttonPrimary {
    color: white;
    background-color: var(--color-main);
}
.buttonPrimary:hover {
    background-image: linear-gradient(173.78deg, #3b82f6 -51.25%, #2152a2 193.8%);
}
.buttonSecondary {
    color: var(--color-main);
    background-color: #3b82f61a;
}
.buttonSecondary:hover,
.buttonDanger:hover {
    filter: contrast(2);
}
.buttonOutlined {
    background-color: transparent;
    border: 1px solid var(--color-main);
    color: var(--color-main);
}
.buttonOutlined:hover {
    background-color: #3b83f60c;
}
.buttonDanger {
    background-color: #ff4e4e26;
    color: #ff4e4e;
}
.modalCloseButton {
    position: absolute;
    padding: 18px;
    top: 0;
    right: 0;
    background-color: transparent;
}
.valid {
    background-color: #e6f2ed !important;
}
.invalid {
    background-color: #ffefed !important;
}
@media (max-width: 768px) {
    .desktopOnly {
        display: none !important;
    }
    .button {
        height: 46px;
    }
    .popup:not(.datepicker):not(.pagination) {
        width: 100%;
    }
}
@media (min-width: 769px) {
    .mobileOnly {
        display: none !important;
    }
}

.header {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 8px 32px 0px rgba(0, 27, 71, 0.05);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    background-color: white;
}
.headerTopbar {
    width: 100%;
    padding-block: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.headerAccount {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 18px;
    letter-spacing: -0.3px;
    cursor: pointer;
}
.headerAvatar {
    width: 40px;
    height: 40px;
}
.headerAvatarInitials {
    display: none;
    border-radius: 50%;
    background-color: #3b82f61a;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    font-weight: 500;
}
.headerAvatar.loggedIn .headerAvatarIcon {
    display: none;
}
.headerAvatar.loggedIn .headerAvatarInitials {
    display: flex;
}
.headerAvatarIcon,
.headerAvatarInitials {
    width: 100%;
    height: 100%;
}
.headerLogo {
    margin-right: auto;
    color: var(--color-main);
    font-weight: 600;
    letter-spacing: -0.8px;
    font-size: 24px;
}
.headerBorder {
    width: 100%;
    height: 1px;
    background-color: rgb(226, 226, 226);
}
.headerNav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-block: 25px;
}
.headerNavLinks {
    display: flex;
    gap: 36px;
    align-items: center;
}
.headerNavLinks .headerNavLink {
    color: #001b47;
    text-decoration: none;
}
.headerNavLink.active {
    color: var(--color-main);
    text-decoration: underline;
}
.headerBalance {
    margin-right: 50px;
    font-size: 18px;
    color: var(--color-main);
}
.headerBalanceValue {
    font-weight: 700;
}

@media (max-width: 768px) {
    .header {
        border-radius: 0;
    }
    .headerLogo {
        font-size: 18px;
    }

    .headerTopbar {
        padding-block: 12px;
        gap: 17px;
    }
}

.locale {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.3px;
}
.localeLabel {
    padding: 16px;
    cursor: pointer;
}
#langs-mobile:checked ~ .localeDropdownContent {
    display: flex;
}
.localeDropdownContent {
    position: absolute;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0px 0px 32px 0px rgba(0, 27, 71, 0.1);
}
.localeOption {
    width: 60px;
    height: 40px;
    background-color: #fff;
    font-size: inherit;
}
.localeOption:not(:last-child) {
    border-bottom: 1px solid #0000001a;
}
.localeOption:hover {
    background-color: #3b82f61a;
}
@media (max-width: 768px) {
    .locale {
        font-size: 14px;
    }
}

#hamburger-mobile:checked ~ .hamburgerDropdown {
    display: flex;
}
#hamburger-mobile-label {
    position: relative;
    z-index: 5;
}
.hamburgerCloseIcon {
    display: none;
}
#hamburger-mobile:checked ~ #hamburger-mobile-label .hamburgerCloseIcon {
    display: inline-block;
}
#hamburger-mobile:checked ~ #hamburger-mobile-label .hamburgerMenuIcon {
    display: none;
}
.hamburgerDropdown {
    z-index: 4;
    position: fixed;
    display: none;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    background-color: #fff;
    box-shadow: 0px 0px 32px 0px rgba(0, 27, 71, 0.1);
}
.hamburgerList {
    width: 100%;
    margin-top: 70px;
    margin-left: 16px;
}
.hamburgerDropdown .hamburgerLink {
    width: 100%;
    padding: 12px 12px 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    border-bottom: 1px solid rgb(226, 226, 226);
}
.hamburgerRightArrowIcon {
    transform: rotate(-90deg);
}

.footer {
    --fz-content: 24px;
    --social-link-size: 50px;
    margin-top: auto;
    padding-block: 46px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px 24px;
    width: 100%;
}
.footerSection {
    display: flex;
    flex-direction: column;
    gap: 24px;
    white-space: nowrap;
}
.footerSectionTitle {
    font-size: 24px;
    font-weight: 600;
}
.footerSectionContent {
    font-size: 18px;
    font-weight: 600;
    color: #00000099;
    display: flex;
    gap: 10px;
}
.footerSocialLink {
    width: var(--social-link-size);
    height: var(--social-link-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c5dafd;
}
.footerSocialLinkImage {
    width: calc(var(--social-link-size) / 3);
    height: calc(var(--social-link-size) / 3);
}

@media (max-width: 768px) {
    .footer {
        --fz-content: 14px;
        --social-link-size: 28px;
        flex-direction: column;
        gap: 24px;
    }
    .footerSection {
        gap: 12px;
    }
    .footerSectionTitle,
    .footerSectionContent {
        font-size: 14px;
        font-weight: 500;
        color: black;
    }
    .footerEmail {
        order: 1;
    }
    .footerPhone {
        order: 2;
    }
    .footerSocials {
        order: 3;
    }
}

.homepage {
    padding-block: 73px;
}
.homepageTitle {
    font-size: var(--fz-h1);
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;
}
.homepageCardContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-auto-rows: 1fr;
    gap: 60px;
}
.homepageCard {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #0000001a;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.homepageCardContent {
    padding-block: 18px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
}
.homepageCardTitle {
    font-weight: 500;
    font-size: var(--fz-h2);
    height: calc(var(--fz-h2) * 2.6);
}
.homepageCardDescription {
    margin-top: 8px;
    font-weight: 400;
    font-size: var(--fz-p);
    color: #00000080;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 16px;
}
.homepageCardLink {
    margin-top: auto;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    font-size: var(--fz-link);
    color: #3b82f6;
}
.homepageCardImage {
    align-self: end;
}

@media (max-width: 768px) {
    .homepageTitle {
        margin-bottom: 24px;
    }
    .homepageCardImage {
        width: 100px;
    }
    .homepageCardContainer {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .homepageCardDescription {
        margin-top: 6px;
        margin-bottom: 12px;
    }
    .homepageCardLink {
        padding: 6px;
        gap: 12px;
    }
}

.authForm {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: 50px;
    align-items: stretch;
    gap: 24px;
}
.authTitle {
    font-size: var(--fz-h2);
    font-weight: 500;
    text-align: center;
    line-height: 34px;
}
.authInputLabel {
    padding-inline: 16px;
    background-color: #f7f7fa;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: center;
    cursor: text;
    line-height: 18px;
    font-weight: 400;
    font-size: var(--fz-p);
}
.authInputLabel.hasValue,
.authInputLabel:focus-within {
    grid-template-columns: 1fr;
}
.authInputLabel.hasValue .authLabelText,
.authInputLabel:focus-within .authLabelText {
    font-size: 0.75em;
}
.authLabelText {
    color: #00000066;
}
.authInput {
    background-color: transparent;
    width: 100%;
    min-width: 0;
}
.authButton {
    font-weight: 500;
    font-size: var(--fz-link);
}
.authOptions {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 8px;
    font-size: var(--fz-link);
    font-weight: 500;
}
.authOption {
    display: flex;
    align-items: center;
    padding-inline: 16px;
}
.authForgot {
    color: #3b82f6;
}
.authRememberLabel {
    gap: 8px;
    cursor: pointer;
    color: #6d6f71;
}

@media (max-width: 768px) {
    .authOptions {
        --fz-link: 12px;
    }
}

.datepicker {
    --color-lightblue: #ecf3ff;
    --grid-col-width: 43px;
    padding: 12px;
}
.datepicker button {
    border: none;
    background-color: transparent;
    border-radius: 9999px;
}
.datepickerMonthControls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 18px;
}
.datepickerMonthButton {
    width: 48px;
    height: 48px;
}
.datepickerWeekDayRow {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #757575;
    font-size: 16px;
}
.datepickerWeekDayRow p {
    width: 100%;
    text-align: center;
}
.datepickerMonthDayGrid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, var(--grid-col-width));
    grid-auto-rows: var(--grid-col-width);
    row-gap: 7px;
    align-items: center;
    justify-items: center;
}
.datepickerDayCell {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 16px;
}
.datepickerDayCell button {
    position: absolute;
    background-color: var(--grid-col-width);
    inset: 0;
    border-radius: 50%;
    z-index: 1;
}
.datepickerSelected button {
    color: #fff;
    background-color: var(--color-main);
    transform: scale(1.1);
}
.datepickerToday button {
    background-color: #3b82f61a;
}
.datepickerStart::before {
    position: absolute;
    display: block;
    content: '';
    background-color: var(--color-lightblue);
    height: var(--grid-col-width);
    width: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.datepickerEnd::before {
    position: absolute;
    display: block;
    content: '';
    background-color: var(--color-lightblue);
    height: var(--grid-col-width);
    width: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.datepickerRange {
    background-color: var(--color-lightblue);
}

.flightFormWrapper {
    margin-bottom: 40px;
    padding: 24px 16px;
    border-radius: 12px;
    box-shadow: 0px 8px 32px 0px #5d5d5d14;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.flightForm {
    display: flex;
    align-items: end;
    gap: 1px;
}
.flightInputContainer {
    flex: 1 1 auto;
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 1px;
}
.flightFormSubmit {
    flex: 0 1 207px;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
}
@media (min-width: 769px) {
    .flightForm label .flightInputWrapper {
        border-radius: 0;
    }
    .flightForm label:first-of-type .flightInputWrapper {
        border-radius: 8px 0 0 8px;
    }
}
@media (max-width: 768px) {
    .flightFormWrapper {
        border-radius: 0;
        padding-inline: 0;
        box-shadow: none;
    }
    .flightForm {
        gap: 16px;
        flex-wrap: wrap;
    }
    .flightInputContainer {
        gap: 16px;
        grid-auto-flow: row;
    }
    .flightFormSubmit,
    .flightFormSubmit.wide {
        border-radius: 8px;
        flex: 1 1 100%;
    }
}

.insuranceHero {
    margin-top: 46px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}
.insuranceHeroText {
    flex-basis: 595px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.insuranceHeroTitle {
    font-size: 34px;
    font-weight: 500;
    line-height: 52px;
}
.insuranceHeroDescription {
    font-size: 18px;
    line-height: 23px;
}

@media (max-width: 768px) {
    .insuranceHero {
        margin-top: 24px;
    }
    .insuranceHeroTitle {
        font-size: 18px;
        line-height: 23px;
    }
    .insuranceHeroDescription {
        font-size: 12px;
        line-height: 15px;
    }
    .insuranceHeroImage {
        width: 138px;
        height: 138px;
    }
}

.noSearchResults {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 58px;
}
.noSearchResultsText {
    font-size: 24px;
    font-weight: 500;
    line-height: 52px;
    text-align: center;
}
@media (max-width: 768px) {
    .noSearchResults {
        margin-top: 37px;
    }
    .noSearchResultsImage {
        height: 176px;
    }
    .noSearchResultsText {
        font-size: 20px;
        line-height: 25px;
    }
}

.popup.passengers {
    padding-inline: 12px;
}
.passengerSection {
    padding-block: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.passengerSection:not(:last-child) {
    border-bottom: 1px solid #e2e2e2;
}
.passengerTitle {
    font-size: 14px;
    font-weight: 500;
}
.passengerSubtitle {
    min-width: 107px;
    margin-top: 3px;
    line-height: 20px;
    font-size: 12px;
    color: #545454;
}
.passengerControls {
    display: flex;
    align-items: center;
}
.passengerIncrement,
.passengerDecrement {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f61a;
    margin: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}
.buttonSecondary.passengerIncrement:disabled,
.buttonSecondary.passengerDecrement:disabled {
    opacity: 0.5;
    filter: none;
}
.passengerQuantity {
    width: 33px;
    text-align: center;
}

.understandingSection {
    background-color: #3b82f60a;
    margin-top: 131px;
    margin-bottom: 86px;
    padding-block: 96px;
}
.understandingTitle {
    font-size: var(--fz-h1);
    font-weight: 500;
    max-width: 843px;
    margin-inline: auto;
    text-align: center;
}
.understandingCardContainer {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
    align-content: stretch;
}
.understandingCard {
    background-color: #fff;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #0000001a;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}
.understandingCardIndex {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
}
.understandingCard:nth-child(1) .understandingCardIndex {
    color: #feb72f;
    background-color: #feb72f21;
}
.understandingCard:nth-child(2) .understandingCardIndex {
    color: #5f62e2;
    background-color: #5f62e21a;
}
.understandingCard:nth-child(3) .understandingCardIndex {
    color: #2ab691;
    background-color: #2ab6911a;
}
.understandingCardTitle {
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
    font-family: Mulish;
    letter-spacing: -0.8px;
}
.understandingCardDescription {
    font-size: 17px;
    color: #00000080;
    line-height: 25px;
    letter-spacing: -0.7px;
}
@media (max-width: 768px) {
    .understandingSection {
        margin-block: 0;
        padding-block: 24px;
    }
    .understandingCardContainer {
        grid-template-columns: 1fr;
    }
    .understandingCard {
        gap: 13px;
    }
    .understandingCardTitle {
        font-size: 20px;
        line-height: 28px;
    }
    .understandingCardDescription {
        font-size: 14px;
        line-height: 20px;
    }
}

.resultsTitle {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    line-height: 52px;
    margin-block: 46px;
}
.resultsList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (max-width: 768px) {
    .resultsTitle {
        font-size: 24px;
        line-height: 30px;
        margin-block: 24px 0;
    }
    .resultsList {
        gap: 24px;
    }
}

.resultCard {
    border: 1px solid #0000001a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}
.resultCardTitleRow {
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}
.resultCardTitle {
    margin-right: auto;
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
}
.resultCardPrice {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}
.resultCardInfoIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    background-color: #3b82f61a;
}
.resultCardTagList {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 4px;
}
.resultCardTagList li {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 35px;
    padding-inline: 6px;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #475569;
}
.resultCardButtonRow {
    display: flex;
    gap: 12px;
}
.resultCardButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 35px;
    border-radius: 8px;
    padding-inline: 12px;
    font-size: 15px;
    font-weight: 600;
}
.resultCardButton.info {
    display: none;
    background-color: #3b82f61a;
    color: var(--color-main);
}
.resultCardButton.buy {
    background-color: var(--color-main);
    color: white;
}
@media (max-width: 768px) {
    .resultCard {
        border-radius: 8px;
        padding: 8px;
        gap: 20px;
    }
    .resultCardInfoIcon {
        display: none;
    }
    .resultCardButtonRow {
        width: 100%;
    }
    .resultCardButton.info {
        display: flex;
    }
    .resultCardButton {
        flex-grow: 1;
        height: 46px;
        font-size: 18px;
        font-weight: 400;
        & img {
            display: none;
        }
    }
}

.infoModalWindow {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.infoModalHeading {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 72px;
}
.infoModalTitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
}
.infoModalSubtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 15px;
    color: #000000cc;
}
.infoModalSectionTitle {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.infoModalSectionList {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    color: #000000cc;
}
.infoModalSectionList.vip {
    color: #000000;
}
.infoModalListItem {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.infoModalValue {
    white-space: nowrap;
}
.infoModalButton {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    padding-inline: 8px;
    border-radius: 8px;
    background-color: var(--color-main);
    color: white;
    font-size: 18px;
    font-weight: 500;
}
.infoModalClose {
    position: absolute;
    padding: 18px;
    top: 0;
    right: 0;
    background-color: transparent;
}
@media (max-width: 768px) {
    .infoModalValue {
        max-width: 50%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.orderHeading {
    margin-block: 47px;
}
.orderCard.resultCard {
    display: grid;
    grid-template-areas:
        'title button'
        'tags button';
}
.orderCard .resultCardTitleRow {
    grid-area: title;
}
.orderCard .resultCardTagList {
    grid-area: tags;
}
.orderCard .resultCardButtonRow {
    grid-area: button;
}
.orderCard .resultCardButton.info {
    display: block;
}
.orderTitleWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 34px;
}
.orderTitle {
    font-size: 40px;
    font-weight: 500;
}
.orderFormAddSection {
    color: var(--color-main);
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    padding-block: 15px;
    margin-block: 16px;
    font-size: 18px;
    font-weight: 500;
}
.orderTitleWrapper .orderFormAddSection {
    margin-block: 0;
}
.orderFormAgree {
    margin-block: 26px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #757575;
}
.orderFormSummary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.orderFormTotal {
    display: flex;
    align-items: center;
    gap: 8px 24px;
    font-size: 24px;
    font-weight: 500;
}
.orderFormTotalValue {
    font-weight: 700;
}
@media (min-width: 769px) {
    .orderCard .resultCardButton.info {
        align-self: center;
        height: 53px;
        font-size: 18px;
        padding-inline: 20px;
    }
}
@media (max-width: 768px) {
    .orderTitleWrapper {
        margin-bottom: 18px;
    }
    .orderHeading {
        margin-block: 30px 39px;
    }
    .orderTitle {
        font-size: 24px;
    }
    .orderFormAddSection {
        font-size: 14px;
        padding-block: 8px;
    }
    .orderCard.resultCard {
        justify-content: stretch;
        grid-template-areas:
            'title'
            'tags'
            'button';
    }
    .orderButton {
        flex: 0 1 165px;
        height: 46px;
    }
    .orderFormTotal {
        flex-direction: column;
        align-items: start;
        font-size: 14px;
        color: #212121b2;
    }
    .orderFormTotalValue {
        font-size: 20px;
        color: black;
    }
}

.orderFormSection:not(:first-of-type) {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid #0000001a;
}
.orderSectionHeading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 500;
}
.orderSectionIndex {
    background-color: var(--color-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: 700;
}
.orderSectionDeleteButton {
    color: #ff4e4e;
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
}
.orderSectionDeleteButton img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff4e4e24;
    object-fit: none;
    object-position: center;
}
.orderFormSection:first-of-type .orderSectionDeleteButton {
    display: none;
}
.orderSectionFields {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.orderInputLabel {
    flex: 1 1 30%;
}
.orderInputLabel.wide {
    flex: 1 1 45%;
}
.orderInput {
    font-size: 18px;
    font-weight: 400;
}
.orderInputTitle {
    margin-bottom: 8px;
}
.orderInputField {
    width: 100%;
    min-width: none;
    font-size: inherit;
    font-weight: inherit;
    height: 56px;
    padding-inline: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    background-color: #f7f7fa;
}
.orderInputError {
    margin-top: 4px;
    padding-left: 16px;
    visibility: hidden;
    font-size: 12px;
    line-height: 20px;
    color: #e11900;
}
.orderInputField.invalid ~ .orderInputError {
    visibility: visible;
}
@media (max-width: 768px) {
    .orderInputLabel,
    .orderInputLabel.wide {
        flex: 1 1 100%;
    }
    .orderSectionFields {
        gap: 6px;
    }
}

.inputModalWindow {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.inputModalTitle {
    margin-top: 16px;
    font-size: 24px;
    line-height: 36px;
    color: #e11900;
    text-align: center;
}
.inputModalMessage {
    margin-top: 8px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}
.inputModalButton {
    margin-top: 40px;
    width: 100%;
}
@media (max-width: 768px) {
    .inputModalTitle {
        margin-top: 14px;
        font-size: 20px;
        line-height: 25px;
    }
    .inputModalMessage {
        margin-top: 4px;
        font-size: 13px;
        line-height: 16px;
        font-weight: 600;
    }
    .inputModalButton {
        margin-top: 16px;
    }
}

.deleteModalTitle {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.8px;
    text-align: center;
}
.deleteModalButtons {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.deleteModalButtons button {
    flex: 1 1 40%;
}
/* confirm */
.confirmModalWindow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.confirmModalWindow .infoModalValue {
    font-weight: 600;
}
@media (max-width: 768px) {
    .deleteModalTitle {
        font-size: 18px;
    }
    .deleteModalButtons {
        margin-top: 24px;
        gap: 12px;
    }
}

.checkoutHeading {
    margin-top: 65px;
}
.checkoutTitle {
    font-size: 40px;
    font-weight: 500;
}
.checkoutSubtitle {
    margin-top: 24px;
    font-size: 24px;
    font-weight: 500;
}
.checkoutDescription {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.25;
    color: #64748b;
}
.paymentSection {
    margin-top: 40px;
}
.checkoutForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    gap: 16px 50px;
}
.radioFieldset {
    border: 1px solid #e5e3e3;
    border-radius: 12px;
}
.checkoutSummaryWrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}
.checkoutSummary {
    border-radius: 12px;
    box-shadow: 0px 4px 46px 0px #5d5d5d1f;
    background-color: white;
}
.checkoutSummaryHeading {
    padding-top: 34px;
    padding-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
@media (max-width: 769px) {
    .checkoutTitle {
        font-size: 24px;
        text-align: center;
    }
    .checkoutSubtitle {
        font-size: 18px;
    }
    .checkoutDescription {
        font-size: 12px;
    }
    .checkoutForm {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }
}

.radioOption {
    display: flex;
    cursor: pointer;
}
.radioOption:not(:last-of-type) .radioOptionBorderWrapper {
    border-bottom: 1px solid #e2e2e2;
}
.radioOptionBorderWrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.radioOptionImage {
    width: 48px;
    height: 48px;
    margin: 12px;
    border-radius: 10px;
    background-color: #3b82f60d;
    padding: 6px;
    object-fit: contain;
    object-position: center;
}
.radioOptionLabel {
    font-size: 17px;
}
.radioOptionRadio {
    margin-left: auto;
    margin-right: 18px;
}

.checkoutSummaryItem {
    position: relative;
    padding-inline: 16px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    letter-spacing: -0.24px;
    overflow: hidden;
}
.checkoutSummaryItemKey {
    color: #343434;
}
.checkoutSummaryItemValue {
    color: #2d465b;
}
.checkoutSummaryItem.hasBorders {
    border-block: 1px dashed #cbcbcb;
}
.checkoutSummaryItem.isBold {
    font-size: 17;
    font-weight: 600;
    color: #000000;
}
.checkoutSummaryItem.cutout::before,
.checkoutSummaryItem.cutout::after {
    content: '';
    width: 18px;
    height: 18px;
    background-color: #b3b3b31f;
    border-radius: 50%;
    position: absolute;
}
.checkoutSummaryItem.cutout::before {
    left: -9px;
}
.checkoutSummaryItem.cutout::after {
    right: -9px;
}

.flightInputLabelText {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}
.flightInputWrapper {
    position: relative;
    display: flex;
    background-color: #f7f7fa;
    border-radius: 8px;
    flex: 1 1 100%;
}
.active .flightInputChevron {
    transform: rotate(180deg);
}
.flightInput {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: 56px;
    background-color: transparent;
    font-size: 18px;
    font-weight: 400;
    padding-left: 16px;
}
.flightInputChevron {
    width: 64px;
    object-fit: none;
    object-position: center;
}

.selectInputList {
    max-height: 288px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.selectInputItem {
    padding: 12px 16px;
    width: 240px;
}
.wideSelectList {
    width: 100%;
}

.checkoutModalContent {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.checkoutModalSectionTitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
}
.checkoutModalSectionDescription {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 400;
    line-height: 18.75px;
    color: #64748b;
}
.checkoutModalCode {
    margin-top: 10px;
    background-color: transparent;
    width: 100%;
    height: 51px;
    border: 1px solid #94a3b8;
    color: black;
    font-size: 18px;
    font-weight: 600;
}
.checkoutModalConfirm {
    margin-top: 16px;
    width: 100%;
}

.blogCardsSection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 46px 24px;
}
.blogCard {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0px 8.752137184143066px 35.008548736572266px 0px #5d5d5d14;
    background-color: white;
}
.blogCardImage {
    height: 168px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(2.44deg, rgba(0, 0, 0, 0.2) 31.59%, rgba(0, 0, 0, 0) 98.25%);
}
.blogCardText {
    padding: 13px;
    padding-bottom: 17px;
}
.blogCardDate {
    font-size: 14px;
    font-weight: 600;
    line-height: 18.6px;
    color: #767a80;
}
.blogCardTitle {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 21.88px;
    letter-spacing: -0.29px;
    color: #131415;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.blogCardBadge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #26a482;
    color: white;
    border-radius: 4px;
    padding: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18.6px;
}
@media (max-width: 768px) {
    .blogCardsSection {
        gap: 16px;
    }
}

.blogpostHeroImageWrapper {
    width: 100%;
    position: relative;
    top: -68px;
    z-index: -1;
}
.blogpostHeroImage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}
.blogpostHeroImageShade {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25%;
    background-image: linear-gradient(to top, white, transparent);
}
.blogpostTitle {
    font-size: 46px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 55px;
}
.blogpostSection {
    margin-block: 46px;
    font-size: 18px;
    line-height: 22.59px;
}
.blogpostSection p {
    white-space: pre-line;
}
.blogpostSection ul {
    padding-left: 30px;
}
.blogpostSection li {
    list-style-type: disc;
}
.blogpostSectionTitle {
    font-size: 32px;
    font-weight: 600;
    line-height: 52px;
    text-align: center;
    color: var(--color-main);
    margin-bottom: 35px;
}
@media (max-width: 768px) {
    .blogpostHeroImageWrapper {
        top: 0;
    }
    .blogpostHeroImage {
        height: 120px;
    }
    .blogpostTitle {
        margin-top: 40px;
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
    }
    .blogpostSection {
        margin-block: 32px;
        font-size: 18px;
    }
    .blogpostSectionTitle {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 16px;
    }
}

.blogpostHeroSection {
    margin-top: 46px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}
.blogpostHeroSectionText {
    flex: 1 1 60%;
}
.blogpostHeroSectionTitle {
    font-size: 34px;
    font-weight: 500;
    line-height: 52px;
}
.blogpostHeroSectionList {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 24px;
    font-weight: 600;
    padding-left: 30px;
    line-height: 40px;
}
.blogpostHeroSectionImage {
    min-width: 0;
    flex: 0 1 auto;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 768px) {
    .blogpostHeroSection {
        flex-direction: column-reverse;
        align-items: start;
        margin-top: 8px;
    }
    .blogpostHeroSectionTitle {
        font-size: 20px;
        line-height: 23px;
    }
    .blogpostHeroSectionList {
        font-size: 16px;
        line-height: 24px;
        padding-left: 20px;
    }
    .blogpostHeroSectionImage {
        height: 138px;
        width: 100%;
    }
}

.howToBuy {
    display: flex;
    flex-direction: column;
}
.howToBuyTitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 52px;
    color: #2ab691;
}
.howToBuyList {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.howToBuyListItem {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
}
.howToBuyIcon {
    width: 27px;
    height: 27px;
}
.howToBuyButton {
    align-self: end;
    margin-top: 24px;
    font-size: 24px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .howToBuyTitle {
        line-height: 32px;
    }
    .howToBuyListItem {
        align-items: start;
    }
    .howToBuyButton {
        width: 100%;
        margin-top: 16px;
        font-size: 16px;
    }
}

.historyTitle {
    margin-top: 46px;
    font-size: 40px;
    font-weight: 500;
    line-height: 52px;
}
.historyResultsTitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 52px;
    margin-bottom: 16px;
}
.historyTableSection {
    margin-top: 46px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.historyTable {
    width: 1200px;
    border-collapse: collapse;
    text-align: left;
}
.historyTableRow {
    height: 50px;
    vertical-align: middle;
    cursor: pointer;
}
.historyTable th,
.historyTable td {
    max-width: 144px;
    padding-right: 8px;
}
.historyTable th {
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: -0.7px;
    color: #000000cc;
}
.historyTable td {
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: -0.7px;
}
.historyTable tbody tr {
    border-bottom: 1px solid #0000001a;
}
.historyTableId {
    color: var(--color-main);
}
.historyTablePhone,
.historyTablePrice {
    color: #5658cb;
}
.historyTableStatusCell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.historyTableBadge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: -0.2px;
    background-color: #fc1607;
    color: white;
}
.historyTableBadge.positive {
    background-color: #2ab691;
}
.historyChevronButton {
    height: 100%;
    min-height: 50px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.historyPagination {
    margin-top: 24px;
}
@media (max-width: 768px) {
    .historyTitle {
        margin-top: 32px;
        font-size: 24px;
        line-height: 30.12px;
        text-align: center;
    }
    .historyTableSection {
        margin-top: 26px;
    }
}

.paginationRow {
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 26px;
}
.paginationSelect {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
}
.paginationSelect .popup {
    right: 0;
}
.paginationSelect input {
    width: 2ch;
    font-size: inherit;
    font-weight: inherit;
}
.paginationOptionsList {
    max-height: 96px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.paginationOptionButton {
    background-color: white;
    width: 30px;
    height: 23px;
    font-size: 12px;
    letter-spacing: 0.3px;
}
.paginationOptionButton:hover {
    background-color: #3b82f61a;
}
.paginationOption:not(:last-child) {
    border-bottom: 1px solid #0000001a;
}
.paginationInfo {
    display: flex;
    gap: 1ch;
}
.paginationButton {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
}
.paginationButton:disabled {
    pointer-events: none;
    opacity: 0.5;
}
.paginationButton.previous img {
    transform: rotate(180deg);
}

.historyForm {
    position: relative;
    margin-top: 28px;
}
.historyFieldset {
    position: relative;
    display: flex;
    z-index: 3;
}
.historyClearButton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 25px;
    background-color: transparent;
    visibility: hidden;
}
.historyInputWrapper {
    overflow: hidden;
}
.historyInputWrapper input:not(:placeholder-shown) + .historyClearButton {
    visibility: visible;
}
.historySearchDropdown {
    --dropdownOptionHeight: 36px;
    position: absolute;
    top: calc(56px + 8px);
    width: 100%;
    background-color: white;
    visibility: hidden;
    max-height: calc(var(--dropdownOptionHeight) * 5);
    overflow-y: auto;
    scrollbar-width: thin;
}
.historySearchDropdown.active {
    visibility: visible;
}
.historyOptionMatch {
    font-weight: 700;
}
.historyOptionButton {
    width: 100%;
    height: var(--dropdownOptionHeight, 36px);
    display: flex;
    align-items: center;
    justify-content: start;
    padding-inline: 16px;
    border: 1px solid transparent;
    font-size: inherit;
    font-weight: inherit;
    background-color: transparent;
    cursor: pointer;
}
.historyOptionButton:hover {
    background-color: #3b82f60d;
    border-color: #eeeeee;
}
@media (max-width: 768px) {
    .historyForm {
        margin-top: 24px;
    }
    .historyFieldset {
        flex-direction: column;
        gap: 16px;
    }
}
@media (min-width: 769px) {
    .historySearchButton {
        flex-basis: 148px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .historyInputWrapper {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.policySection {
    margin-top: 50px;
}
.policyTitleWrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 28px;
    font-weight: 700;
}
.policyTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 600;
}
.policyList:first-of-type {
    margin-top: 28px;
    margin-bottom: 38px;
}
.policyList:last-of-type {
    padding-top: 38px;
    border-top: 2px dashed #00000066;
}
.policyList {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.policyListItem {
    display: flex;
    align-items: center;
    gap: 8px;
}
.policyListItemKey {
    flex: 0 0 220px;
    font-size: 24px;
    font-weight: 500;
    line-height: 30.12px;
}
.policyListItemValue {
    font-size: 20px;
    line-height: 25.1px;
}
.policyButtons {
    margin-top: 31px;
    display: flex;
    gap: 8px 24px;
}
.policyButtons .button {
    flex-basis: 343px;
}
@media (max-width: 768px) {
    .policyMobileWrapper {
        padding: 24px 12px;
        border-radius: 10px;
        box-shadow: 0px 4px 30px 0px #3629b712;
    }
    .policyListItem {
        justify-content: space-between;
    }
    .policyTitleWrapper {
        font-size: 20px;
    }
    .policyListItemKey {
        flex: auto;
        font-size: 15px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: -0.24px;
    }
    .policyListItemValue {
        font-size: 15px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.24px;
        color: #2d465b;
    }
    .policyButtons {
        margin-top: 20px;
        flex-direction: column;
    }
    .policyButtons .button {
        flex-basis: auto;
        width: 100%;
    }
}

.notFound {
    margin-top: 160px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.notFoundTitle {
    margin-top: 70px;
    font-size: 46px;
    font-weight: 500;
    line-height: 52px;
    text-align: center;
}
.notFoundButtonWrapper {
    margin-top: 90px;
    width: 100%;
    display: flex;
    gap: 24px;
}
.notFoundButtonLink {
    flex: 1 1 40%;
}
.notFoundButton {
    width: 100%;
}
@media (max-width: 768px) {
    .notFound {
        margin-top: 97px;
    }
    .notFoundImage {
        width: 240px;
    }
    .notFoundTitle {
        margin-top: 28px;
        font-size: 24px;
    }
    .notFoundButtonWrapper {
        margin-top: 46px;
        flex-direction: column;
        gap: 8px;
    }
    .notFoundButtonLink {
        flex-basis: 100%;
    }
}

body {
    visibility: visible !important;
}
