/* Два блока главной страницы: плашка «Проверить этикетки» в карточке
   продукта и блок «Остерегайтесь подделок» перед подвалом.

   На старом сайте эти правила лежали тегом <style> внутри самой разметки —
   вынесены сюда в задаче 0249 (шаг 3). Файл подключается только на своей
   странице: поле `pageStyles` в шапке `src/index.njk`.

   Это обычный CSS, а не SCSS, и намеренно: sass переписывает записи вида
   min(1080px, calc(100vw - 40px)). Пока файл лежит как есть, собранное
   остаётся ровно тем, что работало на сайте; что вид не поехал, показывают
   попиксельные снимки (`npm run check:screens` и `check:states`).
   Как это выглядело на старом сайте: `reference/styles/inline-glavnaya.css`. */

/* Geladrink label note */
.label-note {
    margin-top: 20px;
    padding: 14px 16px 15px;
    border-radius: 10px;
    background: rgba(111, 159, 79, 0.08);
    color: #555b64;
    font-size: 15px;
    line-height: 1.55;
}

.label-note__text {
    margin-bottom: 10px;
}

.label-note__link {
    display: inline-flex;
    align-items: center;
    color: #6f9f4f !important;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(111, 159, 79, 0.45);
    transition: color .2s ease, border-color .2s ease;
}

.label-note__link::after {
    content: "→";
    margin-left: 8px;
    transition: transform .2s ease;
}

.label-note__link:hover,
.label-note__link:focus {
    color: #557f3b !important;
    border-bottom-color: #557f3b;
    text-decoration: none !important;
}

.label-note__link:hover::after,
.label-note__link:focus::after {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .label-note {
        margin-top: 16px;
        padding: 13px 14px;
        font-size: 14px;
    }
}

.antifake-cta {
    padding: 34px 0;
    background: #f4f8ef;
}

.antifake-cta__box {
    max-width: 980px;
    margin: 0 auto;
    box-sizing: border-box;
}

.antifake-cta__box * {
    box-sizing: border-box;
}

.antifake-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.antifake-cta__content {
    max-width: 690px;
}

.antifake-cta__label {
    margin: 0 0 8px;
    color: #78ad43;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.antifake-cta__title {
    margin: 0 0 10px;
    color: #333333;
    font-size: 24px;
    line-height: 1.28;
    font-weight: 400;
}

.antifake-cta__text {
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}

.antifake-cta__link {
    flex: 0 0 auto;
    display: inline-block;
    min-width: 230px;
    padding: 12px 22px;
    border-radius: 24px;
    border: 1px solid #78ad43;
    background: #ffffff;
    color: #6f9e43;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.antifake-cta__link:hover {
    background: #eef6e7;
    color: #5f8f35;
    text-decoration: none;
}

@media (max-width: 900px) {
    .antifake-cta {
        padding: 30px 0;
    }

    .antifake-cta__inner {
        display: block;
    }

    .antifake-cta__link {
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .antifake-cta {
        padding: 26px 0;
    }

    .antifake-cta__label {
        font-size: 11px;
    }

    .antifake-cta__title {
        font-size: 21px;
    }

    .antifake-cta__text {
        font-size: 14px;
    }

    .antifake-cta__link {
        display: block;
        width: 100%;
        min-width: 0;
        margin-top: 16px;
    }
}
