/**
 * ReGirl Editorial Countdown - Lightweight CSS
 * Size: ~1.5 KB
 */
:root {
  --rg-digit-font: 'Cormorant Garamond', serif;
  --rg-label-font: 'Plus Jakarta Sans', sans-serif;
  --rg-digit-color: #F5F0EB;
  --rg-seconds-color: #E2C799;
  --rg-label-color: #8C8074;
  --rg-separator-color: #443529;
  --rg-bg: rgba(19, 15, 12, 0.95);
  --rg-border-color: #33261C;
  --rg-radius: 24px;
}

.regirl-countdown-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--rg-bg);
  border: 1px solid var(--rg-border-color);
  border-radius: var(--rg-radius);
  padding: 18px 32px;
  box-sizing: border-box;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 100%;
}

.regirl-countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.regirl-countdown-unit {
  display: flex;
  flex-col;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.regirl-digit {
  font-family: var(--rg-digit-font);
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  font-weight: 400;
  color: var(--rg-digit-color);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  display: inline-block;
  text-align: center;
}

.regirl-label {
  font-family: var(--rg-label-font);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--rg-label-color);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: 6px;
  white-space: nowrap;
}

.regirl-separator {
  font-family: var(--rg-digit-font);
  color: var(--rg-separator-color);
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  user-select: none;
  margin-bottom: 14px;
}

/* Accent seconds luxury highlight */
.regirl-unit-seconds.regirl-accent-active .regirl-digit-seconds,
.regirl-unit-seconds.regirl-accent-active .regirl-digit {
  color: var(--rg-seconds-color);
}

.regirl-unit-seconds.regirl-accent-active .regirl-label-seconds,
.regirl-unit-seconds.regirl-accent-active .regirl-label {
  color: var(--rg-seconds-color);
}

.regirl-expiry-message {
  font-family: var(--rg-digit-font);
  font-size: 24px;
  color: var(--rg-seconds-color);
  text-align: center;
  padding: 12px 20px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .regirl-countdown-container {
    padding: 14px 18px;
    border-radius: 16px;
  }
  .regirl-countdown-wrapper {
    gap: 12px;
  }
  .regirl-digit {
    font-size: 28px;
  }
  .regirl-label {
    font-size: 8px;
    letter-spacing: 0.18em;
    margin-top: 4px;
  }
  .regirl-separator {
    font-size: 18px;
    margin-bottom: 10px;
  }
}
