.chicory-countdown {
  background: rgb(var(--color-background));
}

.chicory-countdown__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(420px, 1.4fr) minmax(160px, 0.7fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  min-height: 150px;
  padding-block: 28px;
}

.chicory-countdown__copy h2,
.chicory-countdown__copy p {
  margin: 0;
}

.chicory-countdown__copy h2 {
  margin-block: 2px 6px;
  font-family: var(--sort-title-font);
  font-size: clamp(24px, 2.1vw, 38px);
  font-weight: 600;
}

.chicory-countdown__copy > p:last-child {
  max-width: 390px;
  color: rgb(var(--color-light-text));
  font-size: 12px;
}

.chicory-countdown__eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
}

.chicory-countdown__timer {
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: clamp(10px, 1.5vw, 24px);
  align-items: start;
  justify-content: center;
}

.chicory-countdown__timer span {
  display: flex;
  min-width: 56px;
  flex-direction: column;
  align-items: center;
}

.chicory-countdown__timer strong,
.chicory-countdown__timer b {
  font-family: var(--sort-title-font);
  font-size: clamp(24px, 2.25vw, 40px);
  font-weight: 600;
  line-height: 1;
}

.chicory-countdown__timer small {
  margin-block-start: 8px;
  color: rgb(var(--color-light-text));
  font-size: 10px;
}

.chicory-countdown__button {
  justify-self: end;
  min-width: 150px;
}

@media (max-width: 959px) {
  .chicory-countdown__inner {
    display: flex;
    min-height: 0;
    padding-block: 30px;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .chicory-countdown__copy > p:last-child {
    max-width: 330px;
  }

  .chicory-countdown__timer {
    width: 100%;
    gap: 7px;
    justify-content: space-between;
  }

  .chicory-countdown__timer span {
    min-width: 46px;
  }

  .chicory-countdown__button {
    justify-self: auto;
  }
}
