:root {
    --text-big: clamp(20px, 1.67vw, 2rem);
}

.mb-70 {
    margin-bottom: 70px;
}

.beauty-sub-block-title {
    text-transform: none;
    text-align: center;
    font-size: clamp(28px, 2.1vw, 2.5rem);
    margin-bottom: clamp(18px, 2.1vw, 40px);
}

.beauty-sub-block-title span {
    text-transform: uppercase;
}

/*--- Loyalty Program ---*/
.loyalty-program__inner {
    position: relative;
    isolation: isolate;
    padding-bottom: 60px;
}

.loyalty-program__image {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.loyalty-program__image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.loyalty-program h1 {
    font-size: clamp(28px, 2.1vw, 2.5rem);
    line-height: 1.25;
    font-weight: 700;
}

.loyalty-program h1 span {
    font-size: clamp(28px, 3.125vw, 3.75rem);
}

.loyalty-program__benefits {
    display: flex;
    gap: clamp(10px, 2vw, 50px);
    width: fit-content;
    padding: clamp(10px, 1.86vw, 35px) clamp(8px, 1.6vw, 30px);
    border-radius: 30px;
    background-color: #FAF6F5;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    margin-block: 25px 40px;

    @media (max-width: 991px) {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        padding: 35px 30px 35px 20.5vw;
        transform: translateX(-20.5vw);
    }
}

.loyalty-program__benefit {
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (max-width: 991px) {
        align-items: flex-start;
    }
}

.loyalty-program__benefit-icon {
    width: clamp(20px, 2.6vw, 50px);
    height: clamp(20px, 2.6vw, 50px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 20px;

    @media (max-width: 991px) {
        width: 50px;
        height: 50px;
    }
}

.loyalty-program__benefit-icon.icon_economy {
    background-image: url('/local/templates/syoss/assets/img/beauty-sub/economy-icon.png');
}

.loyalty-program__benefit-icon.icon_check {
    background-image: url('/local/templates/syoss/assets/img/beauty-sub/check-icon.png');
}

.loyalty-program__benefit-icon.icon_prize {
    background-image: url('/local/templates/syoss/assets/img/beauty-sub/prize-icon.png');
}

.loyalty-program__benefit-icon.icon_suggest {
    background-image: url('/local/templates/syoss/assets/img/beauty-sub/suggest-icon.png');
}

.loyalty-program__benefit-title {
    text-align: center;
    font-size: clamp(8px, 0.94vw, 1.125rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;

    @media (max-width: 991px) {
        text-align: start;
        font-size: clamp(14px, 0.94vw, 1.125rem);
    }
}

.loyalty-program .btn--line-black {
    border-width: 2px;
}

/*---what-is-beauty-sub---*/
.what-is-beauty-sub h2 {
    text-transform: none;
    text-align: center;
    font-size: clamp(28px, 2.1vw, 2.5rem);
    margin-bottom: clamp(18px, 2.1vw, 40px);
}

.what-is-beauty-sub h2 span {
    text-transform: uppercase;
}

.what-is-beauty-sub :is(p, li) {
    font-size: var(--text-big);
    line-height: 1.25;
    font-weight: 400;
}

.what-is-beauty-sub li:not(:last-child) {
    margin-bottom: 0.7em;
}

.detailed-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;

    @media (max-width: 991px) {
        display: none;
    }
}

.detailed-benefit {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    gap: clamp(10px, 1.3vw, 25px);
    padding: clamp(20px, 2.5vw, 60px) clamp(10px, 2vw, 45px);
    background-color: #F4ECE5;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    text-align: center;
    font-size: var(--text-big);
    line-height: 1.25;
}

.detailed-benefit .loyalty-program__benefit-icon {
    width: clamp(20px, 5.2vw, 100px);
    height: clamp(20px, 5.2vw, 100px);
    margin-bottom: 0;
}

.detailed-benefits__title {
    font-weight: 700;
}

.detailed-benefits__desc {
    font-weight: 400;
    font-size: clamp(12px, 1.3vw, 2rem);
}

/*---brands---*/
.brands {
    font-size: var(--text-big);
    line-height: 1.25;
    margin-bottom: 70px;

    a {
        color: inherit;
        text-decoration: underline;

        @media (any-hover: hover) {
            &:hover {
                color: rgba(22, 22, 22, 0.7);
            }
        }
    }
}

.brands__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    @media (max-width: 991px) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 30px;
    background-color: #F4ECE5;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

    img {
        max-width: 100%;
    }

    @media (max-width: 991px) {
        padding-inline: 15px;
    }
}