html {
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #b3b3b3 transparent;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background-color: #b3b3b3;
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #9e9e9e;
}

/*=============================================
            Хлебные крошки
===============================================*/

.care-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding-top: 24px;
    padding-bottom: 0;
}

.care-breadcrumb-link {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #999999;
    text-decoration: none;
    transition: color 0.15s ease;
}

.care-breadcrumb-link:hover {
    color: #000000;
}

.care-breadcrumb-sep {
    font-size: 13px;
    color: #CCCCCC;
}

.care-breadcrumb-current {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #444444;
}

/*=============================================
            Заголовок подстраниц
===============================================*/

.care-subpage-header {
    padding-top: 16px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.care-subpage-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 400;
    color: #000000;
    line-height: 1.25;
    margin: 0;
}

/*=============================================
            Страница заботы (хаб)
===============================================*/

/* Верхняя часть */
.care-hub-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 8px;
    gap: 20px;
}

.care-hub-label {
    font-family: 'Onest', sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 400;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.care-hub-logo {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

/* Заголовок и описание */
.care-hub-hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 0 40px;
    text-align: center;
}

.care-hub-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.25;
}

.care-hub-desc {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* Двухколоночный блок: навигация + подарок */
.care-hub-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    padding-bottom: 60px;
}

/* Кнопки навигации */
.care-hub-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.care-hub-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #F5F5F5;
    border-radius: 20px;
    padding: 20px 24px;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.care-hub-nav-item:hover {
    background-color: #EBEBEB;
    transform: translateY(-1px);
}

.care-hub-nav-item:active {
    transform: translateY(0);
    background-color: #E0E0E0;
}

.care-hub-nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.care-hub-nav-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
}

.care-hub-nav-sub {
    font-family: 'Onest', sans-serif;
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 400;
    color: #777777;
    line-height: 1.4;
}

.care-hub-nav-arrow {
    color: #AAAAAA;
    flex-shrink: 0;
}

/* Блок подарка */
.care-hub-gift {
    background-color: #CBD9D9;
    border-radius: 24px;
    padding: 40px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.care-hub-gift-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.care-hub-gift-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

.care-hub-gift-text {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.care-hub-gift-btn {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 600;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 100px;
    transition: opacity 0.2s ease;
    margin-top: 4px;
}

.care-hub-gift-btn:hover {
    opacity: 0.8;
}

/* Нижние вторичные кнопки */
.care-hub-secondary-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.care-hub-secondary-nav-item {
    display: block;
    font-family: 'Onest', sans-serif;
    font-size: clamp(14px, 1.5vw, 15px);
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    border: 1.5px solid #E0E0E0;
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.care-hub-secondary-nav-item:hover {
    background-color: #F5F5F5;
    border-color: #C8C8C8;
}

/*=============================================
        Логотип на подстраницах (под заголовком)
===============================================*/

.care-loyalty-logo-wrap {
    display: flex;
    justify-content: center;
}

.care-loyalty-logo {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 1142 / 388;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.care-loyalty-logo--natural {
    aspect-ratio: unset;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/*=============================================
        Страница программы лояльности
===============================================*/

.care-loyalty-content {
    padding: 20px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 769px) {
    .care-loyalty-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        align-items: start;
    }
}

/* Основной текстовый блок */
.care-loyalty-text-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.care-loyalty-text-block p {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #000000;
    line-height: 1.7;
    margin: 0;
}

.care-loyalty-text-block strong {
    font-weight: 600;
}

/* Блок Telegram */
.care-loyalty-tg-block {
    background-color: #F5F5F5;
    border-radius: 20px;
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.care-loyalty-tg-desc {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #000000;
    line-height: 1.7;
    margin: 0;
}

.care-loyalty-tg-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 16px;
    padding: 16px 20px;
    transition: opacity 0.2s ease;
}

.care-loyalty-tg-btn:hover {
    opacity: 0.82;
}

.care-loyalty-tg-btn svg {
    flex-shrink: 0;
}

.care-loyalty-tg-btn-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.care-loyalty-tg-btn-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 600;
    line-height: 1.3;
}

.care-loyalty-tg-btn-sub {
    font-family: 'Onest', sans-serif;
    font-size: clamp(12px, 1.3vw, 13px);
    font-weight: 400;
    color: #AAAAAA;
    line-height: 1.3;
}

/*=============================================
        Страница обратной связи
===============================================*/

.care-feedback-content {
    padding: 20px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.care-feedback-platforms {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 769px) {
    .care-feedback-platforms {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

.care-feedback-intro {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 4px 0;
}

/* Кнопка-директор (красная рамка) */
.care-feedback-btn--director {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #FFFFFF;
    color: #D32F2F;
    border: 2px solid #D32F2F;
    border-radius: 16px;
    padding: 14px 18px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.care-feedback-btn--director:hover {
    background-color: #FFF5F5;
}

.care-feedback-btn--director .care-feedback-platform-label {
    color: #D32F2F;
    font-weight: 600;
    font-size: clamp(15px, 1.7vw, 17px);
}

.care-feedback-btn--director .care-hub-nav-arrow {
    color: #D32F2F;
}

/* Платформенные кнопки (без цвета, с лого) */
.care-feedback-platform-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #F5F5F5;
    border-radius: 16px;
    padding: 14px 18px;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s ease;
}

.care-feedback-platform-btn:hover {
    background-color: #EBEBEB;
}

.care-feedback-platform-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 6px;
}

.care-feedback-platform-label {
    font-family: 'Onest', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    color: #000000;
    flex: 1;
    line-height: 1.3;
}

/*=============================================
        Страница гарантий
===============================================*/

.care-guarantees-content {
    padding: 20px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.care-guarantees-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400;
    color: #000000;
    line-height: 1.3;
    margin: 0;
}

.care-guarantees-subtitle {
    font-family: 'Onest', sans-serif;
    font-size: clamp(17px, 1.9vw, 21px);
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
    margin: 4px 0 0 0;
}

.care-guarantees-text {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #444444;
    line-height: 1.75;
    margin: 0;
}

.care-guarantees-text-block {
    background-color: #F5F5F5;
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.care-guarantees-text-block p {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 400;
    color: #222222;
    line-height: 1.75;
    margin: 0;
}

.care-guarantees-shop-logo-wrap {
    display: flex;
    justify-content: center;
}

.care-guarantees-shop-logo {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 1142 / 388;
    object-fit: cover;
    border-radius: 24px;
}

.care-guarantees-contacts-btn {
    text-align: center;
}

/*=============================================
        Юридические страницы
===============================================*/

.care-legal-wrap {
    padding: 20px 0 60px;
}

.care-legal-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.care-legal-edition {
    font-family: 'Onest', sans-serif;
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 400;
    color: #888888;
    margin: 0 0 32px 0;
}

.care-legal-section {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.care-legal-section h2.care-legal-section-title {
    font-family: 'Onest', sans-serif;
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 600;
    color: #000000;
    margin: 8px 0 4px 0;
    line-height: 1.4;
}

.care-legal-section p {
    font-family: 'Onest', sans-serif;
    font-size: clamp(14px, 1.5vw, 15px);
    font-weight: 400;
    color: #222222;
    line-height: 1.75;
    margin: 0;
}

.care-legal-num {
    font-weight: 600;
    margin-right: 4px;
}

.care-legal-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.care-legal-list li {
    font-family: 'Onest', sans-serif;
    font-size: clamp(14px, 1.5vw, 15px);
    font-weight: 400;
    color: #222222;
    line-height: 1.7;
}

.care-legal-link {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.care-legal-link:hover {
    opacity: 0.65;
}

.care-legal-btns {
    margin-top: 16px;
    gap: 12px;
}

.care-legal-btns .care-hub-gift-btn {
    text-align: center;
}

/*=============================================
            Адаптивность
===============================================*/

@media (max-width: 900px) {
    .care-hub-body {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 40px;
    }

    .care-hub-gift {
        position: static;
    }
}

@media (max-width: 768px) {
    .care-loyalty-logo,
    .care-guarantees-shop-logo {
        aspect-ratio: 602 / 257;
        border-radius: 16px;
    }

    .care-hub-top {
        padding-top: 36px;
    }

    .care-hub-hero {
        padding: 24px 0 32px;
    }

    .care-hub-gift {
        padding: 32px 24px;
    }

    .care-breadcrumbs {
        padding-top: 20px;
    }

    .care-subpage-header {
        padding-top: 12px;
    }
}

@media (max-width: 480px) {
    .care-hub-nav-item {
        padding: 16px 18px;
        border-radius: 16px;
    }

    .care-hub-gift {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .care-hub-gift-btn {
        display: block;
        text-align: center;
    }

    .care-guarantees-text-block {
        padding: 20px;
    }

    .care-loyalty-tg-block {
        padding: 20px;
    }
}
