/* ==========================================================================
   Sale Countdown Timer — FOMO urgency component
   ========================================================================== */
.nn-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #C0392B 0%, #E74C3C 50%, #C0392B 100%);
  border-radius: var(--nn-radius);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.nn-timer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  animation: nn-timer-shimmer 2.5s ease-in-out infinite;
}
@keyframes nn-timer-shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.nn-timer__icon {
  font-size: 16px;
  flex-shrink: 0;
  animation: nn-timer-pulse 1s ease-in-out infinite;
}
@keyframes nn-timer-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.nn-timer__text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.nn-timer__countdown {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
}

.nn-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
  padding: 4px 6px;
  min-width: 36px;
}

.nn-timer__digits {
  font-family: var(--nn-sans);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
}

.nn-timer__label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.nn-timer__sep {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  line-height: 1;
  padding-bottom: 10px;
  animation: nn-timer-blink 1s step-end infinite;
}
@keyframes nn-timer-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Expired state */
.nn-timer.is-expired {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}
.nn-timer.is-expired .nn-timer__text {
  color: #ECF0F1;
}

/* Responsive */
@media (max-width: 480px) {
  .nn-timer { padding: 12px 14px; gap: 5px; }
  .nn-timer__unit { min-width: 32px; padding: 3px 5px; }
  .nn-timer__digits { font-size: 14px; }
  .nn-timer__text { font-size: 11px; }
}
