/* Баннер «Чёрная пятница» на главной (index.php + header.php) */
.bf-top {
    display: block;
    line-height: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 100%),
        linear-gradient(90deg, #afbee2 0%, #dce4fa 50%, #b4c3e5 100%)
}

.bf-top_picture {
    display: block;
    width: 972px;
    max-width: 100%;
    height: auto;
    margin: 0 auto
}

.bf-mobile {
    display: none
}

@media only screen and (max-width: 971px) {
    .bf-top {
        display: none
    }

    .bf-mobile {
        display: block;
        padding: 10px 10px 16px;
        background-color: #ffde00
    }

    .bf-mobile_card {
        display: block;
        max-width: 600px;
        margin: 0 auto;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 0 4px 0 rgba(0,0,0,.16);
        line-height: 0;
        background:
            linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 100%),
            linear-gradient(90deg, #afbee2 0%, #dce4fa 50%, #b4c3e5 100%)
    }

    .bf-mobile_picture {
        display: block;
        width: 600px;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        aspect-ratio: 600 / 63
    }
}

@media only screen and (max-width: 599px) {
    .bf-mobile_card {
        max-width: 390px
    }

    .bf-mobile_picture {
        width: 390px;
        aspect-ratio: 390 / 63
    }
}

@media only screen and (max-width: 389px) {
    .bf-mobile_picture {
        width: 100%
    }
}
