.pass-flex-banner {
    --pass-navy: #103f70;
    --pass-blue: #0875d1;
    --pass-bright-blue: #1684e8;
    --pass-pale-blue: #eaf7ff;
    --pass-border: #c8e6fa;
    box-sizing: border-box;
    padding: 20px clamp(30px, 3.2vw, 60px);
    color: var(--pass-navy);
    font-family: inherit;
    background: linear-gradient(110deg,#edf9ff 0%,#dff3ff 100%);
    border: 2px solid #d3edfc;
    border-radius: 22px;
    margin: -26px 0 0;
}

.pass-flex-banner *,
.pass-flex-banner *::before,
.pass-flex-banner *::after {
    box-sizing: border-box;
}

.pass-flex-icon--plane {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin-top: 2px;
    fill: var(--pass-blue);
}

.pass-flex-banner__benefits {
    margin: clamp(20px, 1.1vw, 40px) 0 0 10px;
}

.pass-flex-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    color: #123f70;
}

.pass-flex-benefit__icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg,#1685e4,#0058b4);
    border-radius: 50%;
}

.pass-flex-benefit__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.pass-flex-benefit strong {
    display: block;
    font-size: clamp(14px, 0.94vw, 17px);
    font-weight: 750;
    line-height: 1.35;
}

.pass-flex-benefit small {
    display: block;
    margin-top: 5px;
    color: #416789;
    font-size: clamp(11px, 0.78vw, 15px);
    line-height: 1.3;
}

.pass-flex-banner__offers {
    min-width: 0;
}

.pass-flex-banner__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 40px;
    margin: 0 0 16px;
    color: #123f70;
}

.pass-flex-banner__brand strong,
.pass-flex-banner__brand small {
    display: block;
}

.pass-flex-banner__brand strong {
    font-size: clamp(19px, 1.45vw, 28px);
    font-weight: 800;
    line-height: 1.2;
}

.pass-flex-banner__brand small {
    margin-top: 3px;
    font-size: clamp(12px, 0.9vw, 17px);
}

.pass-flex-banner__cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
    gap: clamp(25px, 3.8vw, 50px);
}
.pass-flex-banner__cards.showing-only-one-offer{
    border-bottom: 1px solid #c4e2f4;
    border-top: 1px solid #c4e2f4;
    padding-bottom: 10px;
}

.pass-flex-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 10px 15px;
    color: #173f66;
    background: linear-gradient(180deg,#fff,#f9fcff);
    border: 2px solid #d9edfb;
    border-radius: 17px;
    box-shadow: 0 7px 20px rgb(32 104 160 / 10%);
}

.pass-flex-offer--featured {
    border: 2px solid #0875d1;
    box-shadow: 0 7px 22px rgb(0 111 207 / 17%);
    transform: scale(1.05);
    margin-right: 15px;
}
.pass-flex-offer--featured .pass-flex-preview__saving{
    background: #e7f5f3;
}
.pass-flex-offer--featured.show-ony-30-off-offer{
    margin: 23px 0 8px;
}

.pass-flex-offer--featured::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 39px;
    content: "";
    background: linear-gradient(105deg,#0875d1,#0059b8);
    border-radius: 13px 13px 0 0;
}

.pass-flex-offer__best-value {
    position: absolute;
    z-index: 2;
    top: -23px;
    right: -4px;
    padding: 7px 14px;
    color: #163f68;
    background: #ffd33f;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.pass-flex-offer__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    min-height: 19px;
}

.pass-flex-offer__heading h3 {
    margin: 0;
    color: #123f70;
    font-size: clamp(13px, 0.75vw, 17px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.pass-flex-offer--featured .pass-flex-offer__heading h3 {
    color: #fff;
}

.pass-flex-offer__discount {
    padding: 2px 12px;
    color: #fff;
    background: #1684e8;
    border-radius: 9px;
    font-size: clamp(12px, 0.8vw, 17px);
    font-weight: 800;
    white-space: nowrap;
}

.pass-flex-offer__field {
    display: grid;
    gap: 7px;
    color: #234e75;
    font-size: 14px;
    font-weight: 600;
}

.pass-flex-offer__field select {
    display: block;
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 8px 36px 8px 13px;
    color: #183f66;
    background-color: #fff;
    border: 1.5px solid #c7d9e8;
    border-radius: 8px;
    box-shadow: none;
    font: inherit;
}

.pass-flex-offer__selections {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.pass-flex-offer__note {
    margin: 0;
    color: #54728c;
    font-size: 12px;
    line-height: 1.4;
}

.pass-flex-offer__button {
    display: block;
    width: 100%;
    padding: 6px 12px;
    color: #066cc7;
    background: #fff;
    border: 2px solid #1684e8;
    border-radius: 8px;
    font: inherit;
    font-size: clamp(12px, 0.7vw, 16px);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.pass-flex-offer--featured .pass-flex-offer__button {
    position: relative;
    z-index: 1;
    color: #fff;
    background: linear-gradient(100deg, #0875d1, #0059b8);
    border-color: #0875d1;
}

.woocommerce button.pass-flex-offer__button:hover,
.woocommerce button.pass-flex-offer__button:focus {
    background: #1889e9;
    color: #fff;
    filter: none;
}

.pass-flex-preview {
    display: grid;
    gap: 10px;
    color: #315c83;
    font-size: 13px;
    margin-top: auto;
}

.pass-flex-preview__items {
    display: grid;
    gap: 7px;
    padding: 12px 0;
    border-bottom: 1px solid #d8e8f3;
}

.pass-flex-preview__row,
.pass-flex-preview__total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    line-height: 1.35;
}
.pass-flex-preview__total .total-before-discount{
    text-decoration: line-through;
}

.pass-flex-preview__row strong,
.pass-flex-preview__total strong {
    flex: 0 0 auto;
    color: #244f76;
    font-weight: 600;
    text-align: right;
}

.pass-flex-preview__total {
    font-size: 13px;
}

.pass-flex-preview__total--discounted {
    margin-top: -7px;
    color: #123f70;
    font-size: 18px;
    font-weight: 700;
}

.pass-flex-preview__total--discounted strong {
    color: #0875d1;
    font-size: 18px;
    font-weight: 800;
}

.pass-flex-preview__saving {
    padding: 5px;
    color: #4CAF50;
    background: #dff3fd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}
.pass-flex-preview__saving .fa-tag{
    transform: scaleX(-1);
}
.pass-flex-package-dialog {
    width: min(92vw, 420px);
    max-width: 420px;
    max-height: 85vh;
    padding: 24px;
    color: #173f66;
    background: #fff;
    border: 1px solid #cfe4f3;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgb(12 44 72 / 28%);
}
.pass-flex-package-dialog:not([open]) {
    display: none;
}

.pass-flex-package-dialog[open] {
    display: block;
}
.pass-flex-package-dialog::backdrop {
    background: rgb(12 32 52 / 48%);
    backdrop-filter: blur(2px);
}

.pass-flex-package-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.pass-flex-package-dialog__header h3 {
    margin: 0;
    color: #123f70;
    font-size: 19px;
}

.pass-flex-package-dialog__header [data-close-package-dialog] {
    width: 34px;
    height: 34px;
    padding: 0;
    color: #315c83;
    background: #eef7fd;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.pass-flex-package-dialog__header [data-close-package-dialog]:hover{
    background: transparent;
    color: #ad2323;
}

.pass-flex-package-dialog .pass-flex-offer__field {
    margin-bottom: 14px;
}

.pass-flex-package-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.pass-flex-package-dialog__actions button {
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pass-flex-package-dialog__actions [data-close-package-dialog] {
    color: #315c83;
    background: #fff;
    border: 1px solid #c7d9e8;
}
.pass-flex-package-dialog__actions [data-close-package-dialog]:hover{
    background: #eef7fd;
    color: #0875d1;
}
.pass-flex-package-dialog__actions [data-close-package-dialog]:focus{
    background: #eef7fd;
    color: #0875d1;
    border: 1px solid #c7d9e8;
}

.pass-flex-package-dialog__actions .pass-flex-offer__button {
    width: auto;
    margin: 0;
    color: #fff;
    background: #0875d1;
    border: 1px solid #0875d1;
}
.pass-flex-package-dialog__actions .pass-flex-offer__button:hover{
    background: #1889e9;
}

.pass-flex-faq {
    border-bottom: 1px solid #e4e8ec;
}

.pass-flex-faq summary {
    position: relative;
    padding: 15px 35px 15px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    font-size: 20px;
    line-height: 22px;
    font-weight: 600;
    color: #e37142;
    background: #fff;
    border: none;
    margin: 10px 0;
}

.pass-flex-faq summary::-webkit-details-marker {
    display: none;
}

.pass-flex-faq summary::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 20px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #e37142;
    border-bottom: 2px solid #e37142;
    transform: rotate(45deg);
    transition: transform 250ms ease;
}

.pass-flex-faq[open] summary::after {
    transform: rotate(225deg);
}

.pass-flex-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.pass-flex-faq[open] .pass-flex-faq-answer {
    grid-template-rows: 1fr;
}

.pass-flex-faq .faq-answer-inner {
    overflow: hidden;
    padding: 0 40px 0 0;
    opacity: 0;
    transition: opacity 200ms ease, padding 300ms ease;
}

.pass-flex-faq[open] .faq-answer-inner {
    padding-bottom: 20px;
    opacity: 1;
}

@media (max-width: 520px) {
    .pass-flex-faq summary {
        font-size: 16px;
    }

    .pass-flex-faq .faq-answer-inner {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pass-flex-faq-answer,
    .pass-flex-faq .faq-answer-inner,
    .pass-flex-faq summary::after {
        transition: none;
    }
}

/** Woocommerce chang checkout button bg color **/
.wc-proceed-to-checkout .checkout-button{
    background-color: #015ebd!important;
}
.wc-proceed-to-checkout .checkout-button:hover{
    background-color: #064b91!important;
}

@media (min-width: 768px) {
    .pass-flex-banner__cards > *:only-child{
        grid-column: span 2;
        justify-self: center;
        width: calc(50% - (clamp(25px, 3.8vw, 50px) / 2));
        margin-inline: auto;
    }
}

@media (max-width: 1100px) {
    .pass-flex-banner {
        grid-template-columns: 1fr;
    }

    .pass-flex-banner__benefits {
        margin-top: 28px;
    }

    .pass-flex-banner__brand {
        margin-top: 0;
    }
}

@media (max-width: 650px) {
    .pass-flex-banner__cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pass-flex-banner__benefits {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-left: 0;
    }

    .pass-flex-benefit small br {
        display: none;
    }
}

@media (max-width: 420px) {
    .pass-flex-banner {
        padding: 18px;
        border-radius: 14px;
    }

    .pass-flex-icon--plane {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .pass-flex-offer {
        padding: 17px;
    }
}