/* Полоса «Чорна пʼятниця» с обратным отсчётом в шапке. Подключается из incs/head.php только в даты из $config['black_friday'].
   Высота держится около 54px на десктопе, как у обычной полосы: от неё зависит padding-top у main. */

.bf-bar.header__top-container-message {
  background: #0d0d0d;
  box-shadow: inset 0 -3px 0 #e3262b;
  text-shadow: none;
  min-height: 54px;
  overflow: hidden;
}
.bf-bar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 28px;
  padding: 6px 20px 9px;
  font: 700 18px 'Play', sans-serif;
  color: #fff;
}
.bf-bar__title {
  font-size: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bf-bar__accent {
  color: #ff0000;
}
.bf-bar__text {
  white-space: nowrap;
}
.bf-bar__countdown {
  color: #bdbdbd;
  font-weight: 400;
  white-space: nowrap;
}
.bf-bar__timer {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  background: #e3262b;
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.bf-bar__btn {
  padding: 7px 18px;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.bf-bar:hover .bf-bar__btn {
  background: #fff;
  color: #0d0d0d;
}

@media (max-width: 1199px) {
  .bf-bar__btn { display: none; }
}
@media (max-width: 767px) {
  .bf-bar.header__top-container-message {
    min-height: 0;
    padding: 0;
  }
  .bf-bar__row {
    gap: 2px 10px;
    padding: 5px 10px 8px;
    font-size: 15px;
  }
  .bf-bar__title { font-size: 17px; }
  .bf-bar__countdown { flex-basis: 100%; text-align: center; font-size: 14px; }
  .bf-bar__timer { padding: 0 8px; }
}
