/* overrides.css — сюда добавляй стили для перезаписи */

/* ревью Anastasiya M: H1 line-height 95% → строки налезали (AZ диакритика ğ/ç/ş
   + золотая строка бренда). Увеличить межстрочный в заголовке hero. */
#start .section__container > .section__column-container > .section__row-container:first-child h1 {
    line-height: 1.18;
}

/* #price (оффер/таймер): вместо кнопки — зелёная плашка «смотрят сейчас» (по макету). */
.watchers-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #E7F1DE;
    border-radius: 999px;
    padding: 7px 20px 7px 10px;
    margin-inline: auto;
}
.watchers-badge__avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.watchers-badge__ava {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter Tight", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.watchers-badge__avatars > :first-child {
    margin-left: 0;
}
.watchers-badge__ava--m {
    background: #F093FB;
}
.watchers-badge__ava--l {
    background: #53B05F;
}
.watchers-badge__text {
    margin: 0;
    font-family: "Inter Tight", sans-serif;
    font-size: 15px;
    line-height: 1.3;
    color: #28261B;
}
.watchers-badge__text b {
    font-weight: 700;
}


.sections__container-bg .section-bg-picture {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.sections__container-bg .section-bg-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#start .section__row-container .flex-row-picture,
#start .section__column-container.mob .flex-row-picture {
    display: contents;
}

#reg .section__image-container .reg-split-picture {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
}

#reg .section__image-container .reg-split-picture .section__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

@media screen and (max-width: 768px) {
    #start .section__image-container>picture .section__image {
        max-width: 300px;
        max-height: 300px;
        margin-inline: auto;
    }
}

/* BeeFlex Forte palette (по макету rKiatt…): бренд-хайлайт ЗОЛОТОЙ #D28F23,
   CTA — голубой градиент #A7D5FE→#71B0FC, цена-ред #F42F29 (уже в стоке). */
.selected {
    color: #D28F23;
}

.big-button {
    background: linear-gradient(90deg, #A7D5FE 0%, #71B0FC 100%);
    color: #28261B;
}

/* бренд в H1 — нормальный регистр «BeeFlex Forte» по макету (не АП-кейс). */
h1 .selected {
    text-transform: none;
}

.section__delivery {
    background: #D5D4D4;
}

/* ============================================================
   GENERIC single-2 layout fixes — запекаются в СТОК (не per-site).
   Источник: проверенные ревью-фиксы из single-2-vigormax (SEOX-2298),
   возвращены в сток на SEOX-2401, чтобы НЕ всплывать на каждом новом
   single-2-сайте. Бренд-зависимое (#reg background-image при дубль-
   флаконе bl15_bg2; точечный recolor) — НЕ здесь, делать per-site.
   ============================================================ */

/* hero: картинка-сцена была на всю ширину (#start .section__image{max-width:100%}),
   форма уезжала ПОД неё. Возвращаем ряд "картинка | форма". */
@media screen and (min-width: 481px) {
    #start .section__image.desk {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 16px;
        max-height: 100%;
    }
}

/* side-by-side "картинка | форма" только ≥1280: на 769–1279 у .section__container
   max-width:694 сжимал картинку в полоску ~42px (iPad 1024 «стиснулась картинка»). */
@media screen and (min-width: 1280px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) {
        flex-wrap: nowrap;
        align-items: stretch;
    }
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        flex: 1 1 0;
        min-width: 0;
        align-self: stretch;
        display: flex;
        overflow: hidden;
        border-radius: 16px;
    }
}

/* 481–1279: картинка hero ОТДЕЛЬНОЙ строкой над формой (центрирована, не сжимается). */
@media screen and (min-width: 481px) and (max-width: 1279px) {
    #start .section__container > .section__column-container > .section__row-container:nth-child(2) > picture {
        width: 100%;
        max-width: 460px;
        margin-inline: auto;
        display: flex;
        overflow: hidden;
        border-radius: 16px;
    }
}

/* reg: базовый .section__image{flex-shrink:0} не давал флакону ужаться под колонку. */
/* object-fit:contain — на десктопе (>1200) у #reg-картинки не было object-fit (contain
   только в @media ≤1200) → портретный пэкшот растягивался по ширине (fill). Теперь contain
   на всех вьюпортах: флакон вписывается без искажения, по бокам — фон bl15_bg2. */
#reg .section__image {
    flex-shrink: 1;
    object-fit: contain;
}

/* лого в шапке: ширина по соотношению сторон (без растяжения от атрибута width). */
.header__logo {
    width: auto;
}

/* отзывы: аватары были 96px → 48px на всех девайсах; блок автора влево. */
#review .section__card .section__row-container.center img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
}
#review .section__card .section__row-container.center {
    justify-content: flex-start;
}

/* #solutions: картинка растягивалась (база object-fit:fill, width=атрибут в узкой колонке) → cover. */
#solutions .section__column-container--relative .section__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

/* мобайл: отступ продукт→форма (gap колонки 48px) выровнять с текст→продукт (40px). */
@media screen and (max-width: 768px) {
    #start .section__container > .section__column-container:first-child {
        gap: 40px;
        row-gap: 40px;
    }
}

/* бренд-хайлайт .selected в #solutions на тёмном фоне — более светлый тон золота
   для читаемости (базовый #D28F23 на тёмном тусклый). */
#solutions .selected {
    color: #E7B85C;
}

/* ============================================================
   BeeFlex Forte per-site доп.элементы по макету (НЕ в стоке single-2):
   зелёный трастбар ×2 + hero-рейтинг.
   ============================================================ */

/* Зелёный трастбар (после шапки + перед блоком заказа) — макет: green #5F9D3C,
   белые круглые иконки + белый текст. */
.trust-bar {
    background: #5F9D3C;
}
.trust-bar__inner {
    max-width: 1200px;
    margin-inline: auto;
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 48px;
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
}
/* иконки трастбара = из макета: зелёный глиф на БЕЛОМ круге (svg-файлы из Figma). */
.trust-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 42px;
}
.trust-bar__icon img {
    display: block;
}
.trust-bar__icon--truck img {
    width: 26px;
    height: auto;
}
.trust-bar__icon--pay img {
    width: 34px;
    height: 34px;
}
.trust-bar__icon--leaf img {
    width: 20px;
    height: 20px;
}
@media screen and (max-width: 560px) {
    .trust-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* hero-интро: рейтинг СВЕРХУ, сабтекст ПРЯМО ПОД ним (отдельной строкой под H1). */
#start .hero-intro {
    flex-basis: 100%;
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
}
#start .hero-intro .hero-rating {
    margin: 0;
}
#start .hero-intro .hero-subtext {
    margin: 0;
}

/* hero-рейтинг "4.9 ★★★★★ N rəy" над сабтекстом (макет block_1). */
.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px;
    flex-wrap: wrap;
}
.hero-rating__value {
    font-weight: 800;
    font-size: 18px;
    color: #28261B;
}
.hero-rating__stars {
    width: 104px;
    height: auto;
}
.hero-rating__text {
    font-size: 15px;
    color: #7C7B79;
}
