/* ============================================================
   CHECKOUT TIMER — 30-minute countdown bar
   ============================================================ */
.checkout-timer {
  background: linear-gradient(135deg, rgba(255, 80, 50, 0.12) 0%, rgba(255, 160, 0, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 120, 0, 0.25);
  padding: 12px 24px;
  text-align: center;
  position: sticky;
  top: var(--navbar-height);
  z-index: 100;
}

.checkout-timer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.checkout-timer__label {
  font-size: 0.88rem;
  color: #ffb347;
  font-weight: 600;
}

.checkout-timer__label strong {
  color: #fff;
}

.checkout-timer__digits {
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkout-timer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 120, 0, 0.3);
  border-radius: 8px;
  padding: 4px 10px;
  min-width: 44px;
}

.checkout-timer__num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ff9f43;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.checkout-timer__num.urgent {
  color: #ff4d4d;
  animation: timer-pulse 0.5s ease-in-out infinite alternate;
}

.checkout-timer__unit {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.checkout-timer__sep {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ff9f43;
  margin-bottom: 10px;
  opacity: 0.7;
}

/* Expired state */
.checkout-timer.expired {
  background: rgba(255, 50, 50, 0.08);
  border-bottom-color: rgba(255, 50, 50, 0.2);
}

.checkout-timer.expired .checkout-timer__label {
  color: #ff6b6b;
}

.checkout-timer.expired .checkout-timer__num {
  color: #ff4d4d;
}

@keyframes timer-pulse {
  from { opacity: 1; }
  to { opacity: 0.5; }
}

@media (max-width: 480px) {
  .checkout-timer__inner {
    gap: 10px;
  }
  .checkout-timer__label {
    font-size: 0.8rem;
    text-align: center;
  }
}
