/**
 * Styling for the loyalty program page elements.
 *
 * This CSS file contains all necessary styles for the loyalty program
 * section, including headers, navigation, cards, progress indicators,
 * and the responsive tooltip/popup functionality.
 */

/* ==========================================================================
   Base & Layout Styles
   ========================================================================== */

body.tpl_loyalty {
    background: #eceff4;
    font-family: "Montserrat";
    font-size: 14px;
    color: #000;
    position: relative;
}
@media (max-width: 480px) {
    .tpl_loyalty .registration__btn {
        display: flex;
        width: 112px;
        height: 34px;
        padding: 9.6px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 32px;
        background: #0061AF;
        color: #FFF;
        font-family: Montserrat;
        font-size: 10px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
    }
    .tpl_loyalty .header__logo img {
        height: 34px;
    }
}
.tpl_loyalty a {
    text-decoration: none;
}

.tpl_loyalty .col-10 {
    max-width: 83.3%;
}

.tpl_loyalty .col-9 {
    max-width: 74.97%;
}

.tpl_loyalty .col-2 {
    max-width: 16.66%;
}

.tpl_loyalty .col-3 {
    max-width: 24.99%;
}

.tpl_loyalty .header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 104px;
}

.tpl_loyalty .btn-back {
    font-family: "Montserrat";
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #0061AF;
}

.tpl_loyalty .btn-back-wrap {
    margin-bottom: 20px;
}

.tpl_loyalty .btn-back-wrap img {
    width: 18.5px;
    height: 18.1px;
}

.tpl_loyalty .content-wrap {
    display: flex;
}

.tpl_loyalty .sidebar {
    height: fit-content;
    margin-right: 20px;
    position: sticky;
    top: 20px;
}

.tpl_loyalty .navigation-block {
    padding: 24px;
    border-radius: 12px;
    background: #fff;
    height: max-content;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px 0 #0A24321F;
}

.tpl_loyalty .navigation-block-js {
    list-style-type: none;
    padding-left: 0;
}

.tpl_loyalty .navigation-block li {
    padding: 8px 12px;
}

.tpl_loyalty .navigation-block li:hover {
    border-radius: 8px;
    background-color: #E7F5FF;
}

.tpl_loyalty .navigation-block li:hover a {
    color: #0061AF;
}

.tpl_loyalty .navigation-block li.active {
    padding: 8px 12px;
    border-radius: 8px;
    background: #E7F5FF;
    color: #0061AF;
}

.tpl_loyalty .navigation-block li a {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    color: #758295;
}

.tpl_loyalty .navigation-block li.active a {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    color: #0061AF;
}

.tpl_loyalty .content-block {
    padding: 32px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px 1px #0A24321F;
}

.tpl_loyalty .content-block a:has(img) {
    text-align: center;
    display: flex;
    justify-content: center;
}

.tpl_loyalty .content-block img:not(.warning-message__icon) {
    width: 100%;
}

@media (max-width: 768px) {
    .tpl_loyalty .footer__about-company_mobile,
    .tpl_loyalty .footer__legal-info_mobile {
        display: block;
    }

    .tpl_loyalty .footer__about-company_desktop,
    .tpl_loyalty .footer__legal-info_desktop {
        display: none;
    }
}

@media (min-width: 768px) {
    .tpl_loyalty .footer__about-company_mobile,
    .tpl_loyalty .footer__legal-info_mobile {
        display: none;
    }

    .tpl_loyalty .footer__about-company_desktop,
    .tpl_loyalty .footer__legal-info_desktop {
        display: block;
    }
}

.tpl_loyalty .footer {
    display: flex;
    padding-top: 28px;
    margin-top: 40px;
    margin-bottom: 70px;
    border-top: 1px solid #C1C6D7;
}

.tpl_loyalty .footer__logo {
    width: 14.825%;
    flex-grow: 0;
    flex-shrink: 0;
}

.tpl_loyalty .footer__about-company {
    width: 15.997%;
    flex-grow: 0;
    flex-shrink: 0;
}

.tpl_loyalty .footer__legal-info {
    width: 21.963%;
    flex-grow: 0;
    flex-shrink: 0;
}

.tpl_loyalty .footer__support {
    width: 21.763%;
    flex-grow: 0;
    flex-shrink: 0;
}

.tpl_loyalty .footer__social {
    width: max-content;
    flex-grow: 0;
    flex-shrink: 0;
}

.tpl_loyalty .footer__social p {
    text-align: left;
    color: #343434;
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
}

.tpl_loyalty .footer__social .social-icons-row {
    display: flex;
}

.warning-message {
    display: flex;
    padding: 12px;
    border: 1px solid #F2A000;
    background: #FFF4E2;
    border-radius: 8px;
    margin-bottom: 10px;
}

.warning-message__wrap {
    margin-left: 10px;
}

.warning-message__title {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 18.2px;
    margin-bottom: 5px;
}

.warning-message__text {
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 400;
    line-height: 18.2px;
}

.registration__btn_nav {
    display: flex;
    justify-content: center;
}

.tpl_loyalty .shops-wrap {
    padding: 32px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px 0 #0A24321F;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tpl_loyalty .shops-wrap:last-child {
    margin-bottom: 0;
}

.tpl_loyalty .shops-wrap .shops-wrap__shops_icon {
    width: 134px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.tpl_loyalty .shops-wrap a {
    display: block;
    justify-content: center;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    color: #0061AF;
    align-items: baseline;
    text-decoration: underline;
    text-align: center;
}

.tpl_loyalty .shops-wrap__arrow_icon {
    margin-left: 5px;
    width: 12px;
    height: 12px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 52px;
    height: 52px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 50px;
}

.tpl_loyalty .navigation-block-js-mobile {
    display: none;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .tpl_loyalty .footer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .tpl_loyalty .footer__logo {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tpl_loyalty .footer__about-company,
    .tpl_loyalty .footer__legal-info,
    .tpl_loyalty .footer__support,
    .tpl_loyalty .footer__social {
        display: flex;
        flex-direction: column;
    }

    .tpl_loyalty .footer__about-company {
        width: 21%;
    }

    .tpl_loyalty .footer__legal-info {
        width: 31%;
    }

    .tpl_loyalty .footer__support {
        width: 30%;
    }

    .tpl_loyalty .footer__social {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .tpl_loyalty .header__container {
        height: 66px;
        margin-bottom: 0;
    }

    .tpl_loyalty .btn-back-wrap {
        display: none;
    }

    .tpl_loyalty .footer {
        flex-direction: column;
        padding-left: 16px;
        gap: 20px;
        margin-top: 40px;
    }

    .tpl_loyalty .footer__logo {
        order: 1;
        display: flex;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 14px;
    }

    .tpl_loyalty .footer__about-company {
        order: 5;
        width: 100%;
    }

    .tpl_loyalty .footer__legal-info {
        order: 6;
        width: 100%;
    }

    .tpl_loyalty .footer__support {
        order: 2;
        width: 100%;
    }

    .tpl_loyalty .footer__social {
        order: 4;
        width: 100%;
    }

    .tpl_loyalty .footer__social p {
        display: none;
    }

    .tpl_loyalty .content-wrap {
        flex-direction: column;
    }

    .tpl_loyalty .navigation-block {
        background: none;
        width: 100%;
        padding: 0;
        box-shadow: none;
        position: relative;
    }

    .tpl_loyalty .navigation-block-js {
        display: none;
    }

    .tpl_loyalty .registration__btn_nav {
        display: none;
    }

    .tpl_loyalty .navigation-block-js-mobile {
        display: block;
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #CAD3DF;
        border-radius: 8px;
        text-align: left;
        background-color: white;
        font-weight: 400;
        color: #0A2432;
        position: relative;
    }

    .tpl_loyalty .navigation-block-js-mobile::after {
        content: "";
        display: block;
        width: 9px;
        height: 9px;
        border-right: 2px solid #758295;
        border-bottom: 2px solid #758295;
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%) rotate(45deg);
    }

    .tpl_loyalty .navigation-block-js-mobile.chevron-up::after {
        top: 18px;
        border-right: 2px solid #758295;
        border-bottom: 2px solid #758295;
        transform: rotate(-135deg);
    }

    .tpl_loyalty .navigation-list {
        margin: 0;
        padding: 8px 0;
        border-radius: 8px;
        border: 1px solid #CAD3DF;
        background-color: white;
        list-style: none;
        position: absolute;
        top: 62px;
    }

    .tpl_loyalty .navigation-list.hide-list {
        display: none;
    }

    .tpl_loyalty .navigation-list li {
        padding: 0;
        list-style: none;
    }

    .tpl_loyalty .navigation-list li:hover {
        background-color: transparent !important;
    }

    .tpl_loyalty .navigation-list li.active-item a {
        background-color: #F5F6FA;
    }

    .tpl_loyalty .navigation-list li a {
        display: block;
        padding: 10px 12px;
        font-weight: 400;
        color: #0A2432;
    }

    .tpl_loyalty .navigation-list li a:hover {
        color: #0A2432 !important;
    }

    .tpl_loyalty .sidebar {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        height: initial;
        position: initial;
        top: initial;
    }

    .tpl_loyalty .shops-wrap {
        width: 100%;
    }

    .tpl_loyalty .shops-wrap:last-child {
        margin-bottom: 20px;
    }

    .tpl_loyalty .content-block {
        max-width: 100%;
        width: 100%;
    }
}

.loyalty-program {
    background-color: #ECEFF4;
    font-family: "Montserrat", sans-serif;
    margin-top: 150px;
}

.loyalty-program .container {
    padding: 0;
}

@media (max-width: 768px) {
    .loyalty-program {
        margin-bottom: 14px;
        padding-top: 0;
    }
}

.loyalty-program__header {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .loyalty-program__header {
        margin-bottom: 16px;
    }
}

.loyalty-program__main-title {
    color: #0061af;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .loyalty-program__main-title {
        font-size: 16px;
    }
}

.loyalty-program__subtitle {
    color: #343434;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}

@media (max-width: 768px) {
    .loyalty-program__subtitle {
        font-size: 32px;
    }
}

.loyalty-program .loyalty-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 450px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .loyalty-program .loyalty-cards {
        grid-template-columns: repeat(5, 1fr);
        max-width: none;
    }
}

.loyalty-program .loyalty-card {
    background-color: #fff;
    border: 2px solid;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.loyalty-program .loyalty-card__content {
    flex-grow: 1;
}

.loyalty-program .loyalty-card__name {
    color: #343434;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 150%;
    margin: 0;
}

.loyalty-program .loyalty-card__condition {
    color: #343434;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 32px;
}

.loyalty-program .loyalty-card__price {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.loyalty-program .loyalty-card__price-amount {
    color: #0061af;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-transform: uppercase;
}

.loyalty-program .loyalty-card__price-unit {
    color: #0061af;
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-transform: lowercase;
}

.loyalty-program .loyalty-card__delivery {
    color: #758295;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 40px;
}

.loyalty-program .loyalty-card__button {
    background-color: #0061af;
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.loyalty-program .loyalty-card__button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.2s ease-in-out;
}

.loyalty-program .loyalty-card__button:hover {
    background-color: #004d8b;
    transform: translateY(-2px);
}

.loyalty-program .loyalty-card__button:hover svg {
    transform: translateX(3px);
}

/* Base styles for the tooltip */
.tooltip-popup {
    display: none;
    position: absolute;
    z-index: 2000;
    font-family: 'Montserrat', sans-serif;
    top: -101px;
    left: 153px;
    transform: translateX(-50%) translateY(10px);
    white-space: normal;
    min-width: 305px;
}

.tooltip-popup.active {
    display: block;
}
.tooltip-icon {
    cursor: pointer;
}
.tooltip-icon-wrap {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    background-color: #fff;
    padding: 7px 10px;
    color: #333;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: stretch;
    border-radius: 4px;
    border: 0.5px solid #C8CBCD;
    box-shadow: 0 2px 10px 0 rgba(114, 144, 169, 0.20);
}

.tooltip-content p {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #333;
    margin: 0;
}
@media (max-width: 768px) {
    .tooltip-content p {
        font-size: 14px;
    }
}

/* Desktop styles for tooltip */
@media (min-width: 769px) {
    .tooltip-content .close-icon,
    .tooltip-content .ok-button {
        display: none;
    }
}

/* Mobile styles for popup */
@media (max-width: 768px) {
    .tooltip-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.20);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        transform: none;
        min-width: auto;
    }

    .tooltip-popup.active {
        display: flex;
    }

    .tooltip-content {
        max-width: 100%;
        width: 100%;
        padding: 20px 16px;
        position: relative;
        text-align: center;
        height: auto;
        margin: auto;
        border-radius: 15px;
    }

    .tooltip-content p {
        margin-bottom: 16px;
    }

    .tooltip-content .close-icon {
        position: absolute;
        top: 6px;
        right: 11px;
        font-size: 29px;
        width: 24px;
        height: 24px;
        cursor: pointer;
        color: #758295;
    }

    .tooltip-content .ok-button {
        display: block;
        width: 100%;
        background-color: #0061af;
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 130%;
        height: 44px;
        padding: 0 16px;
    }

    body.tooltip-active-body {
        overflow: hidden;
    }
}

.case-studies-block {
    padding: 0 0 40px;
    background-color: #ECEFF4;
    font-family: "Montserrat", sans-serif;
}

.case-studies-block .container {
    padding: 0;
}

@media (max-width: 768px) {
    .case-studies-block {
        padding: 0 0 0;
    }
}

.case-studies-block__header {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .case-studies-block__header {
        margin-bottom: 16px;
    }
}

.case-studies-block__super-title {
    color: #0061AF;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

@media (max-width: 768px) {
    .case-studies-block__super-title {
        font-size: 16px;
    }
}

.case-studies-block__title {
    color: #343434;
    font-size: 40px;
    font-weight: 600;
    line-height: 150%;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    position: relative;
}

.case-studies-block__title::after {
    content: "";
    width: 112px;
    height: 100px;
    position: absolute;
    top: 10px;
    right: -14%;
    background-image: url(../images/Group.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 1024px) {
    .case-studies-block__title::after {
        content: "";
        width: 80px;
        height: 72px;
        position: absolute;
        top: 23px;
        right: -75px;
    }
}

@media (max-width: 820px) {
    .case-studies-block__title::after {
        top: 116px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .case-studies-block__title {
        font-size: 32px;
    }
    .case-studies-block__title::after {
        width: 50px;
        height: 49px;
        top: 50px;
        right: 92px;
    }
}

@media (max-width: 480px) {
    .case-studies-block__title {
        max-width: 358px;
    }
    .case-studies-block__title::after {
        width: 62px;
        height: 69px;
        top: 109px;
        right: -12px;
    }
}

.case-studies-block__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .case-studies-block__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.case-study-item {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.case-study-item__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.case-study-item__content {
    padding: 24px;
    flex-grow: 1;
}

.case-study-item__title {
    color: #0A2432;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .case-study-item__title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

.case-study-item__description {
    color: #0A2432;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.case-study-item__description p {
    margin: 0 0 1em 0;
    color: #0A2432;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

@media (max-width: 768px) {
    .case-study-item__description p {
        font-size: 14px;
    }
}

.case-study-item__description p:last-child {
    margin-bottom: 0;
}

.loyalty-program-section {
    font-family: "Montserrat", sans-serif;
    color: #333;
    padding: 0 0 40px;
}

.loyalty-program-section .container {
    margin: 0 auto;
    padding: 0;
}

.loyalty-program-section__wrap {
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
}

.main-loyalty-program-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
}

.main-loyalty-program-title {
    margin-bottom: 8px;
    color: #0A2432;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    text-align: left;
}

.main-loyalty-program-description {
    color: #0A2432;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-align: left;
    margin-bottom: 0;
}

.loyalty-levels-block {
    border-radius: 8px;
}

.loyalty-levels-block__header {
    text-align: center;
    margin-bottom: 24px;
}

.loyalty-levels-block__main-title {
    color: #0A2432;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 8px;
}

.loyalty-levels-block__description {
    color: #0A2432;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.loyalty-levels-progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 65%;
    margin: 0 auto 40px;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.loyalty-progress-line {
    position: absolute;
    top: 3px;
    height: 6px;
    background-color: #0061AF;
    z-index: 1;
    border-radius: 2px;
    transition: left 0.3s ease, width 0.3s ease;
}

.loyalty-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 5px;
    min-width: 100px;
    flex-shrink: 0;
}

.loyalty-progress-item-circle {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #0061AF;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.loyalty-progress-item.active .loyalty-progress-item-circle {
    background-color: #0061AF;
    border-color: #0061AF;
}

.loyalty-progress-item:not(.active) .loyalty-progress-item-circle {
    background-color: #fff;
    border-color: #0061AF;
}

.loyalty-progress-item-circle.has-image {
    background-color: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-bottom: 15px;
}

.loyalty-progress-item-circle.has-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    top: -10px;
    position: absolute;
}

.loyalty-progress-item-title {
    color: #0A2432;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-bottom: 4px;
}

.loyalty-progress-item-condition {
    color: #0A2432;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.loyalty-levels-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.loyalty-level-card-item {
    background-color: #fff;
    border: 1.064px solid #DBE4F0;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /*overflow: hidden;*/
}

@media (max-width: 768px) {
    .loyalty-level-card-item {
        min-height: 330px;
    }
}

.loyalty-level-card-header {
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.loyalty-level-card-icon {
    width: 56px;
    height: 56px;
    margin-right: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loyalty-level-card-icon img {
    display: block;
}

.loyalty-level-card-title {
    color: #0A2432;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 4px;
}

.loyalty-level-card-desc {
    color: #0A2432;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 0;
}

.loyalty-level-card-details {
    margin-bottom: 20px;
}

.loyalty-detail-category-title {
    color: #0A2432;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .loyalty-detail-category-title {
        margin-bottom: 0;
    }
}

.tariff-details {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #DBE4F0;
}

.tariff-details .detail-row:first-child {
    margin-bottom: 0;
}

.commission-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-row {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 8px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row--split {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.detail-row--split .detail-group {
    flex: 1;
    display: flex;
    flex-direction: column; /* Add this line to make a vertical flex container */
}

.detail-row--split .detail-group:first-child {
    flex: 0 0 40%;
    border-right: 1px solid #DBE4F0;
    padding-right: 12px;
}
@media (max-width: 768px) {
    .detail-row--split {
        align-items: normal;
    }
    .detail-row--split .detail-group:first-child {
        flex: 0 0 45%;
    }
}

.detail-row--split .detail-group:last-child {
    padding-left: 16px;
}

.detail-label {
    color: #758295;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 4px;
}

.loyalty-air-label {
    color: #0A2432;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 8px;
}

.detail-value {
    color: #0A2432;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-top: auto; /* Add this line to push the element to the bottom */
}

.detail-value span {
    color: #758295;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    vertical-align: text-top;
    margin-left: 2px;
}

.loyalty-card-note-item p {
    margin-bottom: 0;
}

.loyalty-card-note-item {
    display: flex;
    align-items: center;
    color: #0061AF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .loyalty-card-note-item {
        align-items: center;
    }
}

.loyalty-card-note-item:last-child {
    margin-bottom: 0;
}

.loyalty-note-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
    vertical-align: middle;
}

.section-divider {
    border: none;
    border-top: 1.5px solid #DBE4F0;
    margin: 40px auto 24px auto;
    width: 100%;
}

.tariff-conditions-block {
    border-radius: 8px;
}

.tariff-conditions-block__header {
    text-align: center;
    margin-bottom: 40px;
}

.tariff-conditions-block__main-title {
    margin-bottom: 24px;
    color: #0A2432;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-align: left;
}

.tariff-conditions-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
}

.tariff-tab-button {
    background-color: #fff;
    border: 1.5px solid #DBE4F0;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #0A2432;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: none;
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
}

.tariff-tab-button.active {
    background-color: #F5F6FA;
    color: #0A2432;
    font-weight: 600;
    box-shadow: none;
    border: none;
}

.tariff-tab-select {
    width: 100%;
    background-color: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M7%2010.0002L11.2929%2014.2931C11.6834%2014.6837%2012.3166%2014.6837%2012.7071%2014.2931L17%2010.0002%22%20stroke%3D%22%23758295%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
    display: flex;
    height: 44px;
    padding: 8px 12px;
    align-items: center;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #DBE4F0;
    color: #0A2432;
    text-overflow: ellipsis;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 18.2px */
}

.tariff-conditions-content-wrapper {
    /* No changes */
}

.tariff-condition-group-item {
    display: none;
    padding: 0;
}

.tariff-condition-group-item.active {
    display: block;
    border-radius: 0 8px 16px 16px;
    background: #F5F6FA;
    padding: 16px;
}

.tariff-condition-group-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.tariff-group-intro-text {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

.tariff-conditions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tariff-condition-list-item {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.tariff-condition-list-item:last-child {
    margin-bottom: 0;
}

.condition-item-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    vertical-align: middle;
}

.tariff-general-info-box {
    background-color: #e6f2ff;
    border: 1px solid #cce5ff;
    border-radius: 5px;
    padding: 15px;
    font-size: 14px;
    color: #004085;
    margin-top: 25px;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .loyalty-levels-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 820px) {
    .loyalty-program-section {
        padding: 30px 0;
    }

    .main-loyalty-program-header {
        margin-bottom: 30px;
    }

    .main-loyalty-program-title {
        font-size: 30px;
    }

    .main-loyalty-program-description {
        font-size: 16px;
    }

    .loyalty-levels-block,
    .tariff-conditions-block {
        padding: 20px;
    }

    .tariff-conditions-block__header {
        margin-bottom: 20px;
    }
    .loyalty-levels-block__header {
        margin-bottom: 24px;
    }

    .loyalty-levels-block__main-title,
    .tariff-conditions-block__main-title {
        font-size: 24px;
    }

    .loyalty-levels-block__description {
        font-size: 16px;
    }

    .loyalty-levels-progress-indicator {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-top: 10px;
        margin-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .loyalty-progress-line {
        display: block;
        top: 14px;
    }

    .loyalty-progress-item-circle.has-image {
        margin-top: -20px;
    }

    .loyalty-progress-item {
        flex-shrink: 0;
        width: auto;
        padding: 0 15px;
        min-width: 100px;
        margin-bottom: 0;
    }

    .loyalty-progress-item::after {
        display: none;
    }

    .loyalty-progress-item-circle {
        margin-bottom: 8px;
    }

    .loyalty-progress-item-circle.has-image {
        width: 24px;
        height: 24px;
    }

    .loyalty-progress-item-title {
        font-size: 14px;
    }

    .loyalty-progress-item-condition {
        font-size: 12px;
    }

    .loyalty-levels-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tariff-conditions-tabs-nav {
        border-bottom: none;
        padding-bottom: 0;
        gap: 0;
    }

    .tariff-tab-button {
        display: none;
    }

    .tariff-tab-select {
        display: block;
        width: 100%;
        margin-bottom: 0;
        border-radius: 8px;
    }

    .tariff-condition-group-item-title {
        font-size: 16px;
    }

    .tariff-group-intro-text,
    .tariff-conditions-list,
    .tariff-general-info-box {
        font-size: 13px;
    }

    .tariff-general-info-box p {
        margin-bottom: 0;
    }
    .loyalty-program-section__wrap {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .tariff-conditions-tabs-nav {
        background: #F5F6FA;
        padding: 16px;
        border-radius: 16px 16px 0 0;
    }
    .tariff-condition-group-item.active {
        padding-top: 0;
        border-radius: 0 0 16px 16px;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .main-loyalty-program-header {
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .main-loyalty-program-title {
        font-size: 32px;
    }

    .main-loyalty-program-description {
        font-size: 16px;
    }

    .tariff-conditions-block {
        padding: 0;
    }

    .loyalty-levels-block {
        padding: 0;
    }

    .tariff-conditions-block__main-title {
        font-size: 20px;
    }

    .loyalty-levels-block__main-title {
        font-size: 24px;
    }

    .loyalty-level-card-title {
        font-size: 18px;
    }

    .loyalty-detail-row {
        font-size: 12px;
    }

    .tariff-group-intro-text {
        font-size: 14px;
        font-weight: 500;
    }
    .tariff-general-info-box,
    .tariff-condition-list-item,
    .loyalty-card-note-item {
        font-size: 14px;
    }
    .tariff-general-info-box p {
        margin-bottom: 0;
    }
    .loyalty-program-section__wrap {
        padding: 16px;
    }
}

/* Breadcrumbs styling */
.breadcrumbs {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 12px;
    color: #758295;
}

.breadcrumbs__link {
    text-decoration: none;
    white-space: nowrap;
    color: #0A2432;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.breadcrumbs__separator {
    content: '';
    width: 6px;
    height: 14px;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"%3e%3cpath d="M9.5 16.5L13.7929 12.2071C14.1834 11.8166 14.1834 11.1834 13.7929 10.7929L9.5 6.5" stroke="%23758295" stroke-width="1.5" stroke-linecap="round"/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 8px;
    display: inline-block;
}

.breadcrumbs__current {
    white-space: nowrap;
    color: #0061AF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-bottom: 15px;
        padding: 0;
    }
}