#atomx-blackfriday {
  margin: 0 0 8px;
  border-block-end: 1px solid #e8e8e8;
  background: #fff;
  color: #161616;
  font-family: inherit;
}

#atomx-blackfriday[hidden] { display: none; }

#atomx-blackfriday .atomx-bf__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 10px;
}

#atomx-blackfriday .atomx-bf__title {
  margin: 0 0 4px;
  color: inherit;
  line-height: 1;
}

#atomx-blackfriday .atomx-bf__wordmark {
  display: block;
  width: clamp(178px, 22vw, 251px);
  max-width: 100%;
  height: auto;
}

#atomx-blackfriday .atomx-bf__date {
  margin: 0;
  color: #575757;
  font-size: 12px;
  line-height: 1.45;
}

#atomx-blackfriday .atomx-bf__timezone {
  display: inline-block;
  margin-inline-start: .55em;
}

#atomx-blackfriday .atomx-bf__timer {
  display: grid;
  flex: 0 1 320px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 100%;
}

#atomx-blackfriday .atomx-bf__unit {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding-inline: 2px;
  text-align: center;
}

#atomx-blackfriday .atomx-bf__unit + .atomx-bf__unit {
  border-inline-start: 1px solid #e3e3e3;
}

#atomx-blackfriday .atomx-bf__number {
  box-sizing: border-box;
  min-inline-size: 2.5ch;
  padding: 2px 5px;
  border-radius: 4px;
  color: inherit;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#atomx-blackfriday [data-unit="seconds"] {
  background: #f1f1f1;
  color: #161616;
}

#atomx-blackfriday .atomx-bf__label {
  color: #575757;
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

@media (max-width: 575px) {
  #atomx-blackfriday .atomx-bf__layout {
    flex-direction: column;
    padding-block: 9px;
    text-align: center;
  }

  #atomx-blackfriday .atomx-bf__wordmark { margin-inline: auto; }
  #atomx-blackfriday .atomx-bf__timer { flex: none; width: min(100%, 320px); }
}
