#countdown ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

#timer li {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin: 0;
  list-style-type: none;
}

#timer li.colon {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 56px;
  width: 12px;
  padding: 0;
  pointer-events: none;
}

#timer.start li {
  color: #c50e06;
}

#timer.before li {
  color: #2a0c0c;
}

#timer.start h5.startOffer {
  display: block;
  color: #c50e06;
  margin: 0 !important;
}

#timer.start h5.beforeOffer {
  display: none;
  margin: 0 !important;
}

#timer.before h5.startOffer {
  display: none;
}

#timer.before h5.beforeOffer {
  display: block;
  color: #2a0c0c;
}

#timer li span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #2a0c0c;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 4px 10px rgba(42, 12, 12, 0.12);
}

#timer li span::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(42, 12, 12, 0.12);
  pointer-events: none;
}

#timer.start li span {
  background: linear-gradient(180deg, #d41a10 0%, #c50e06 48%, #9a0a08 100%);
  color: #fff;
}

#timer.start li span::before {
  background: rgba(0, 0, 0, 0.18);
}

#timer.before li span {
  background: linear-gradient(180deg, #f8e8a0 0%, #f2d27f 48%, #dcc175 100%);
  color: #2a0c0c;
}

#timer li small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  #countdown ul {
    gap: 2px;
  }

  #timer li span {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
    border-radius: 6px;
  }

  #timer li.colon {
    font-size: 1.35rem;
    line-height: 46px;
    width: 10px;
  }

  #timer li small {
    font-size: 0.65rem;
  }
}
