/**
 * Product sale countdown — dark card below font info panel.
 */

.jt-tp-sale-countdown {
  width: 100%;
  max-width: none;
  border-radius: 10px;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
}

.jt-tp-sale-countdown__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(80px, 96px);
  align-items: stretch;
  gap: 0 16px;
  padding: 16px 18px 14px;
  background: #222222;
}

.jt-tp-sale-countdown__timer-block {
  min-width: 0;
}

.jt-tp-sale-countdown__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}

.jt-tp-sale-countdown__units {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 2px 4px;
}

.jt-tp-sale-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.jt-tp-sale-countdown__digits {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.jt-tp-sale-countdown__unit-label {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.jt-tp-sale-countdown__sep {
  align-self: flex-start;
  margin-top: 0.08em;
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

.jt-tp-sale-countdown__divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.jt-tp-sale-countdown__percent {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #20f386;
  color: #111111;
  font-weight: 800;
  line-height: 1;
}

.jt-tp-sale-countdown__percent-value {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.jt-tp-sale-countdown__percent-symbol {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
}

.jt-tp-sale-countdown__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: #000000;
}

.jt-tp-sale-countdown__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.jt-tp-sale-countdown__date {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.jt-tp-sale-countdown__date-label {
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.jt-tp-sale-countdown__date-value {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
}

.jt-tp-sale-countdown__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}

.jt-tp-sale-countdown__note-arrow {
  flex-shrink: 0;
  opacity: 0.75;
}

@media (max-width: 560px) {
  .jt-tp-sale-countdown__top {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }

  .jt-tp-sale-countdown__divider {
    display: none;
  }

  .jt-tp-sale-countdown__percent {
    justify-self: start;
    min-height: 48px;
    padding: 8px 12px;
  }

  .jt-tp-sale-countdown__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .jt-tp-sale-countdown__note {
    text-align: left;
  }
}
