.bf-banner[hidden] {
    display: none;
}

.bf-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 24px;
    width: min(100%, 76rem);
    margin: 0 auto clamp(16px, 3vw, 32px);
    padding: clamp(14px, 2.4vw, 22px) clamp(16px, 3vw, 30px);
    border: 1px solid #663137;
    border-inline-start: 4px solid #ed1c24;
    border-radius: 10px;
    background: linear-gradient(112deg, #2b1216, #141416 65%);
    color: #fff;
    text-align: left;
}

.bf-banner-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #ff666c;
    font-size: clamp(19px, 3vw, 28px);
    font-weight: 900;
    letter-spacing: .065em;
    line-height: 1;
    text-transform: uppercase;
}

.bf-banner-copy p {
    margin: 0;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 650;
    line-height: 1.3;
}

.bf-banner-timer {
    display: grid;
    gap: 3px;
    justify-items: end;
    font-size: 14px;
    line-height: 1.1;
}

.bf-banner-timer [role="timer"] {
    font-size: clamp(23px, 3vw, 31px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    white-space: nowrap;
}

.bf-prices {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}

.bf-regular-price {
    color: inherit;
    font-size: .75em;
    font-weight: 500;
    white-space: nowrap;
}

.bf-sale-price {
    font-weight: 900;
    white-space: nowrap;
}

.bf-discount {
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: .68em;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.product-detail-price-btn .bf-prices,
.catalog-card-price-link .bf-prices {
    justify-content: center;
}

@media (max-width: 520px) {
    .bf-banner {
        grid-template-columns: 1fr;
    }

    .bf-banner-timer {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
}
