.calio-countdown-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calio-countdown-promo-note,
.calio-countdown-support-note {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.calio-countdown-evergreen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e0ecff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calio-countdown {
  display: grid;
  gap: 10px;
  width: 100%;
}

.calio-countdown.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calio-countdown.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calio-countdown.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calio-countdown.layout-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.calio-countdown-item {
  min-width: 0;
  text-align: center;
  border: 1px solid #d8dee4;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.calio-countdown.skin-soft .calio-countdown-item {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border-color: #dbe7ff;
}

.calio-countdown.skin-minimal .calio-countdown-item {
  background: transparent;
  border-width: 0 0 1px;
  border-radius: 0;
  padding-left: 8px;
  padding-right: 8px;
}

.calio-countdown.highlight-days .calio-countdown-item[data-item-unit="days"],
.calio-countdown.highlight-hours .calio-countdown-item[data-item-unit="hours"],
.calio-countdown.highlight-minutes .calio-countdown-item[data-item-unit="minutes"],
.calio-countdown.highlight-seconds .calio-countdown-item[data-item-unit="seconds"] {
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px #dbeafe inset;
}

.calio-countdown-item:hover {
  transform: translateY(-2px);
}

.calio-countdown-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  border-radius: 14px;
}

.calio-countdown-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #667085;
}

.calio-countdown.labels-inline .calio-countdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calio-countdown.labels-inline .calio-countdown-label {
  margin-top: 0;
}

.calio-countdown.labels-hidden .calio-countdown-label {
  display: none;
}

.calio-countdown-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #98a2b3;
}

.calio-countdown-expired {
  display: none;
  gap: 8px;
  padding: 20px 22px;
  border: 1px dashed #d8dee4;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,1));
  text-align: center;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.calio-countdown-expired-title {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.calio-countdown-expired-message {
  display: block;
  color: #667085;
}

.calio-countdown-expired-note {
  display: block;
  color: #94a3b8;
  font-size: 13px;
}

.calio-countdown-expired-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 767px) {
  .calio-countdown,
  .calio-countdown.cols-2,
  .calio-countdown.cols-3,
  .calio-countdown.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calio-countdown.layout-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calio-countdown-separator {
    display: none;
  }
}

.calio-countdown-promo-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calio-countdown-caption {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.calio-countdown-support-note {
  padding: 10px 12px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: 14px;
}

.calio-countdown-expired-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calio-countdown-expired.expired-skin-spotlight {
  border-style: solid;
  border-color: rgba(59, 130, 246, 0.16);
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.18), rgba(255,255,255,1) 58%);
  box-shadow: 0 22px 54px rgba(59, 130, 246, 0.12);
}

.calio-countdown-expired.expired-skin-minimal {
  border-style: solid;
  border-width: 1px 0 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  box-shadow: none;
}

.calio-countdown-expired.expired-skin-minimal .calio-countdown-expired-button {
  background: transparent;
  color: #0f172a;
  border: 1px solid currentColor;
}

.calio-countdown-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}

.calio-countdown-expired-button {
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.calio-countdown-expired-button:hover,
.calio-countdown-expired-button:focus-visible {
  transform: translateY(-1px);
}

.calio-countdown-expired-button:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.4);
  outline-offset: 2px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.calio-countdown-expired-button:active {
  transform: translateY(0);
}

.calio-countdown-item:hover,
.calio-countdown-item:focus-within {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.calio-countdown-item:hover .calio-countdown-number,
.calio-countdown-item:focus-within .calio-countdown-number {
  transform: translateY(-1px);
}

.calio-countdown-number,
.calio-countdown-label,
.calio-countdown-expired,
.calio-countdown-expired-badge,
.calio-countdown-evergreen-badge,
.calio-countdown-support-note {
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.calio-countdown-expired:hover,
.calio-countdown-expired:focus-within {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10);
}

.calio-countdown-expired:hover .calio-countdown-expired-badge,
.calio-countdown-expired:focus-within .calio-countdown-expired-badge {
  transform: translateY(-1px);
}
