/* Цвета Fill Inn поверх вёрстки статьи блога Thorvik (main.min.css):
   бордовый Thorvik заменяется тёмно-синим и пурпурным из макета. */
.fillinn-article .btn-red {
    background: #001D4B;
    border-radius: 0;
}

.fillinn-article .btn-red:hover {
    background: #0a2d66;
    color: #fff;
}

.fillinn-article .articl__res::before {
    background: #E50695;
}

.articl .fillinn-article .bs-title-min,
.articl .fillinn-article .num {
    color: #251FFF;
}

.fillinn-article .articl__title {
    color: #1D2125;
}

/* Баннер товара (blocks/_productHero): фото на всю ширину, текст и кнопки
   площадок поверх слева. Первым блоком стоит вне .dynamic-container —
   выходит за поля .container-fluid, как баннеры на страницах бренда. */
.fillinn-article--hero {
    margin: 0 -15px;
}

.product-hero {
    position: relative;
    overflow: hidden;
    background: #0b1233;
    color: #fff;
    min-height: 420px;
    aspect-ratio: 1920 / 907;
    display: flex;
    align-items: center;
}

.product-hero__bg,
.product-hero picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-hero__bg {
    object-fit: cover;
    object-position: right center;
}

.product-hero__body {
    position: relative;
    /* В макете блок текста чуть ниже середины баннера */
    padding: 3.75rem calc(3vw + 15px) 2.25rem;
    font-family: Roboto, sans-serif;
    line-height: 1.15;
}

.product-hero__code {
    font-size: clamp(1.75rem, 2.6vw, 2.75rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.product-hero__title {
    font-size: clamp(2.25rem, 4.4vw, 4.5rem);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.05;
}

.product-hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 2rem);
    font-weight: 500;
    margin-top: .25rem;
}

.product-hero__note {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    margin-top: 1.25rem;
}

.product-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.product-hero__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, .85);
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.product-hero__btn:hover,
.product-hero__btn:focus {
    background: #fff;
    color: #001D4B;
    text-decoration: none;
}

.product-hero__btn--wb,
.product-hero__btn--ozon {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.product-hero__btn--shop {
    font-size: .95rem;
    line-height: 1.05;
    letter-spacing: .04em;
}

@media (max-width: 991.98px) {
    .product-hero {
        aspect-ratio: auto;
        align-items: flex-end;
    }

    /* Текст ложится на товар — подкладываем затемнение снизу и слева */
    .product-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(8, 14, 45, .9) 0%, rgba(8, 14, 45, .55) 55%, rgba(8, 14, 45, .1) 100%);
    }

    .product-hero__bg {
        object-position: 72% center;
    }

    .product-hero__body {
        z-index: 1;
        padding: 9rem 1rem 1.5rem;
    }

    .product-hero__buttons {
        margin-top: 1.5rem;
        gap: .75rem;
    }

    .product-hero__btn {
        width: 88px;
        height: 64px;
    }
}

/* Карточка товара (blocks/_productCard): текст слева, картинка справа */
.product-card__title {
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: #1D2125;
    margin-bottom: 1.5rem;
}

.product-card__code {
    display: block;
    font-size: .8em;
}

.articl .fillinn-article .product-card__text {
    font-size: 1.25rem;
    line-height: 1.35;
}

.product-card__text b,
.product-card__text strong {
    display: inline-block;
    margin-top: .75rem;
    font-weight: 500;
}
