/* Black Friday banners, Figma 2026. Scoped to the campaign component. */
.bf-banner {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(180deg, #000 0%, rgba(27, 26, 126, .8) 100%);
    color: #fff;
    font-family: Onest, sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}
section.header article > .bf-banner { margin-top: 36px; }
section.carousel article .placeholder .banner[data-type="banner--black-friday-2026"] {
    padding: 0;
    background: transparent;
}
.bf-banner .bf-banner__content {
    position: relative;
    z-index: 2;
    padding: 24px 64px 38px;
}
.bf-banner .bf-banner__breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 18px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 18px;
}
.bf-banner__breadcrumb a { color: inherit; text-decoration: none; }
.bf-banner__breadcrumb img { flex: 0 0 16px; }
.bf-banner .bf-banner__period { font-size: 22px; line-height: 28px; font-weight: 600; }
.bf-banner .bf-banner__offer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}
.bf-banner .bf-banner__headline {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}
.bf-banner .bf-banner__discount {
    display: inline-flex;
    align-items: center;
    width: max-content;
    flex: none;
    padding: 10px;
    border-radius: 8px;
    background: #BEB400;
    color: #fff;
    font-size: 36px;
    line-height: .7;
    font-weight: 900;
    text-transform: uppercase;
}
.bf-banner .bf-banner__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 26px;
    max-width: 600px;
}
.bf-banner .bf-banner__title {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 56px;
    line-height: normal;
    font-weight: 700;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}
.bf-banner .bf-banner__description { max-width: 523px; font-size: 22px; line-height: 28px; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.bf-banner__description-mobile { display: none; }
.bf-banner--optima .bf-banner__description { max-width: 500px; }
.bf-banner .bf-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: 51px;
    padding: 16px 32px;
    border: 0;
    border-radius: 8px;
    background: #BEB400;
    color: #fff;
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.bf-banner__button:hover { filter: brightness(.95); }
.bf-banner__button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.bf-banner .bf-banner__picture {
    position: absolute;
    z-index: 1;
    top: 24px;
    left: calc(50% - 73px);
    width: 635px;
    height: 423px;
    pointer-events: none;
}
.bf-banner .bf-banner__people { display: block; width: 100%; height: 100%; max-width: none; object-fit: fill; transform: scaleX(-1); }
.bf-banner .bf-banner__sphere { position: absolute; z-index: 0; max-width: none; pointer-events: none; }
.bf-banner__sphere--bottom { width: 50px; height: 51.367px; right: 56.0833%; top: 370px; }
.bf-banner__sphere--middle { width: 79px; height: 81px; right: 39.9167%; top: 16px; }
.bf-banner__sphere--corner { width: 158px; height: 162px; right: -43px; top: -81px; }
.bf-banner--annual-russia .bf-banner__picture { left: calc(50% - 56px); top: 26px; }
.bf-banner--premium .bf-banner__picture { left: calc(50% - 23px); width: 585px; }
.bf-banner--premium .bf-banner__people { transform: none; }
.bf-banner--premium .bf-banner__offer { margin-top: -4px; }
.bf-banner--premium .bf-banner__content { padding-bottom: 24px; }
.bf-banner--premium .bf-banner__details { margin-top: 14px; max-width: 631px; gap: 12px; }
.bf-banner--premium .bf-banner__title { max-width: 600px; line-height: 50px; }
.bf-banner--premium .bf-banner__description { max-width: 631px; line-height: 20px; }
.bf-banner--home .bf-banner__content { padding: 21px 45px 27px; }
.bf-banner--home .bf-banner__offer { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 18px; }
section.carousel article .placeholder .banner .bf-banner__headline { display: block; color: #fff; font-size: 56px; line-height: 56px; font-weight: 900; }
.bf-banner--home .bf-banner__discount { padding: 14px 16px; }
.bf-banner--home .bf-banner__details { margin-top: 24px; gap: 6px; max-width: 597px; }
.bf-banner--home .bf-banner__programs-label { font-size: 22px; line-height: 28px; }
.bf-banner--home .bf-banner__description { max-width: 597px; line-height: 24px; text-box-trim: none; }
.bf-banner--home .bf-banner__button { margin-top: 18px; }
.bf-banner--home .bf-banner__picture { width: 664px; height: 443px; left: calc(50% - 101px); top: auto; bottom: 0; }
.bf-banner--home .bf-banner__sphere--bottom { right: 42.3333%; }
.bf-banner--home .bf-banner__sphere--middle { width: 75px; height: 77.05px; right: 31.75%; top: -32px; filter: blur(3.409px); }
.bf-banner--home .bf-banner__sphere--corner { width: 217px; height: 218px; right: -91px; top: -64px; }
@media (min-width: 801px) and (max-width: 1200px) {
    .bf-banner .bf-banner__content { padding-left: 32px; padding-right: 32px; }
    .bf-banner .bf-banner__title { font-size: 44px; }
    .bf-banner .bf-banner__details { max-width: 55%; }
    .bf-banner .bf-banner__description { font-size: 20px; line-height: 24px; }
    .bf-banner .bf-banner__headline { font-size: 30px; }
    section.carousel article .placeholder .banner .bf-banner__headline { font-size: 44px; }
    .bf-banner .bf-banner__picture { left: 44%; }
}
@media (max-width: 800px) {
    .bf-banner { min-height: 539px; border-radius: 16px; }
    .bf-banner .bf-banner__content { padding: 24px 24px 192px; }
    .bf-banner .bf-banner__breadcrumb { min-height: 16px; margin-bottom: 30px; font-size: 12px; line-height: 16px; }
    .bf-banner__breadcrumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .bf-banner .bf-banner__period { font-size: 18px; line-height: 23px; }
    .bf-banner .bf-banner__offer { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
    .bf-banner .bf-banner__headline { font-size: 24px; line-height: 24px; font-weight: 800; }
    .bf-banner .bf-banner__discount { font-size: 24px; line-height: 17px; padding: 10px; }
    .bf-banner .bf-banner__details { max-width: none; margin-top: 24px; gap: 4px; }
    .bf-banner .bf-banner__title { font-size: 28px; line-height: 36px; text-box-trim: none; }
    .bf-banner .bf-banner__description { max-width: none; font-size: 18px; line-height: 23px; text-box-trim: none; }
    .bf-banner__description-desktop { display: none; }
    .bf-banner__description-mobile { display: inline; }
    .bf-banner .bf-banner__button { width: 100%; padding: 16px 8px; margin-top: 8px; font-weight: 700; }
    .bf-banner .bf-banner__sphere { display: none; }
    .bf-banner .bf-banner__picture { top: auto; bottom: -77px; left: calc(50% - 224px); width: 379px; height: 253px; }
    .bf-banner--optima-annual .bf-banner__content,
    .bf-banner--annual-russia .bf-banner__content { padding-bottom: 169px; }
    .bf-banner--optima-annual .bf-banner__picture { left: calc(50% - 172px); bottom: -126px; width: 348px; height: 279px; }
    .bf-banner--annual-russia .bf-banner__picture { left: calc(50% - 193px); bottom: -85px; width: 357px; height: 238px; }
    .bf-banner--premium .bf-banner__content { padding-bottom: 152px; }
    .bf-banner--premium .bf-banner__details { margin-top: 16px; gap: 12px; }
    .bf-banner--premium .bf-banner__title { max-width: 360px; line-height: 25px; }
    .bf-banner--premium .bf-banner__description { font-size: 16px; line-height: 18px; }
    .bf-banner--premium .bf-banner__button { margin-top: 0; }
    .bf-banner--premium .bf-banner__picture { left: calc(50% - 237px); bottom: -160px; width: 410px; height: 296px; }
    .bf-banner--home .bf-banner__content { padding: 26px 24px 216px; }
    section.carousel article .placeholder .banner .bf-banner__headline { font-size: 24px; line-height: 24px; font-weight: 800; }
    .bf-banner--home .bf-banner__offer { margin-top: 14px; gap: 13px; }
    .bf-banner--home .bf-banner__details { margin-top: 24px; gap: 4px; }
    .bf-banner--home .bf-banner__programs-label { font-size: 18px; line-height: 23px; }
    .bf-banner--home .bf-banner__description { font-size: 18px; line-height: 24px; }
    .bf-banner--home .bf-banner__button { margin-top: 8px; }
    .bf-banner--home .bf-banner__picture { left: calc(50% - 172px); bottom: -79px; width: 348px; height: 279px; }
    section.carousel article .placeholder .banner[data-type="banner--black-friday-2026"] { height: auto; border-radius: 16px; }
    section.carousel article .placeholder .banner[data-type="banner--black-friday-2026"].active { position: relative; }
    section.carousel article .placeholder:has(> [data-type="banner--black-friday-2026"].active) { height: auto; min-height: 539px; border-radius: 16px; }
}
