.top-header {
  padding: 8px 219px;
  background: rgb(0, 52, 58);
  color: #fff;
}
.top-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 480px;
  min-height: 48px;
}
.top-header__logo {
  display: block;
  flex-shrink: 0;
  width: 85px;
  height: 24px;
  object-fit: contain;
}
.top-header__message {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: max-content;
  max-width: calc(100% - 350px);
  transform: translateX(-50%);
}
.top-header__decoration {
  display: block;
  flex-shrink: 0;
  width: 124px;
  height: 13px;
  object-fit: contain;
}
.top-header__text {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.top-header__countdown {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 12px;
}
.top-header__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 32px;
}
.top-header__number {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 58px;
  background: rgb(0, 72, 76);
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  direction: ltr;
}
.top-header__number-value {
  display: block;
  transform: translateY(2px);
}
.top-header__unit-label {
  color: rgb(255, 255, 255);
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  white-space: nowrap;
}

@media (max-width: 1599px) {
  .top-header {
    padding-inline: 40px;
  }
}
@media (max-width: 1199px) {
  .top-header {
    padding-inline: 24px;
  }
  .top-header__message {
    gap: 16px;
  }
  .top-header__decoration {
    width: 82px;
    height: auto;
  }
}
@media (max-width: 991px) {
  .top-header__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .top-header__countdown {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
  }
  .top-header__message {
    position: static;
    grid-column: 1/-1;
    grid-row: 2;
    width: auto;
    max-width: none;
    transform: none;
  }
}
@media (max-width: 575px) {
  .top-header {
    padding-inline: 16px;
  }
  .top-header__message {
    gap: 8px;
  }
  .top-header__decoration {
    width: 36px;
  }
  .top-header__countdown {
    gap: 8px;
  }
}
