/* ===== Base styles ===== */
.wc-countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  flex-direction:column;
}

.countdown-digit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-number {
  display: block;
  line-height: 1;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.countdown-label {
  display: block;
  text-align: center;
  text-transform: uppercase;
}

.countdown-error,
.countdown-expired {
  text-align: center;
  padding: 30px;
  font-style: italic;
  color: #666;
}

/* ===== Modern style ===== */
.countdown-style-modern.wc-countdown-timer {
  position:relative;
  background: #f1f1f1;
  padding: 20px;
  border-radius: 8px;
  box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px;
    
}

.countdown-style-modern .countdown-digit {
  border-radius: 12px;
  padding: 15px 12px;
  min-width: 80px;
}

.countdown-style-modern .countdown-number {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  min-width: 40px;
}

.countdown-style-modern .countdown-label {
  font-size: 0.7em;
  font-weight: 500;
  color: var(--dark);
  margin-top: 5px;
}

/* ===== Classic style ===== */
.countdown-style-classic.wc-countdown-timer {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  gap: 15px;
}

.countdown-style-classic .countdown-digit {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  padding: 12px 10px;
  min-width: 70px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.countdown-style-classic .countdown-digit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dee2e6;
  transform: translateY(-50%);
  z-index: 0;
}

.countdown-style-classic .countdown-number {
  font-size: 2.2em;
  font-weight: 600;
  color: #212529;
  font-family: 'Courier New', monospace;
  background: white;
  padding: 0 5px;
  position: relative;
  z-index: 1;
  min-width: 40px;
}

.countdown-style-classic .countdown-label {
  font-size: 0.75em;
  font-weight: 600;
  color: #6c757d;
  margin-top: 5px;
}

/* ===== Minimal style ===== */
.countdown-style-minimal.wc-countdown-timer {
  background: #f1f1f1;
  padding: 10px 0;
  gap: 10px;
  box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px;
  border-radius:20px;
}

.countdown-style-minimal .countdown-digit {
  background: transparent;
  border-bottom: 2px solid #000;
  padding: 0 0 5px 0;
  min-width: 60px;
}

.countdown-style-minimal .countdown-number {
  font-size: 3em;
  font-weight: 300;
  color: #000;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 0.9;
  min-width: 40px;
}

.countdown-style-minimal .countdown-label {
  font-size: 0.8em;
  font-weight: 400;
  color: #666;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== Animations ===== */
.countdown-number.flip {
  transform: rotateX(180deg);
}

.countdown-urgent .countdown-number {
  animation: countdown-pulse 1s infinite;
}

@keyframes countdown-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .wc-countdown-timer {
    flex-wrap: wrap;
    gap: 10px !important;
  }
  .countdown-digit {
    min-width: 50px !important;
  }
  .countdown-number {
    font-size: 1.8em !important;
  }
  .countdown-label {
    font-size: 0.6em !important;
  }
}

.wc-sale-end-label{
    font-size:12px;
    font-family:poppins;
    text-transform:uppercase;
}

.countdown-style-modern .wc-sale-end-label {
  position: relative;
  display: inline-block; 
  margin-bottom: 10px;   
  font-weight: bold;
}

 .wc-sale-end-label {
  position: relative;
  display: inline-block; 
  font-weight: bold;
}

.wc-sale-end-label-separator {
  width: 100%;
  height:2px;
  border-bottom: 1px dashed #ccc;
}
