/* ── BARRA DE CUENTA REGRESIVA ADHESIVA ── */
#wcpg-sticky-countdown-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #101c38 0%, #0a0f24 100%);
  border-bottom: 3.5px solid #f97316;
  color: #fff;
  z-index: 9999999;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#wcpg-sticky-countdown-bar.show {
  transform: translateY(0);
}
#wcpg-sticky-countdown-bar .sticky-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
#wcpg-sticky-countdown-bar .sticky-timer {
  background: #f97316;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.35);
}
#wcpg-sticky-countdown-bar .sticky-code {
  font-family: monospace;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5px 6px;
  border-radius: 4px;
  color: #fbbf24;
}
#wcpg-sticky-countdown-bar .btn-sticky-action {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Inter', sans-serif;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}
#wcpg-sticky-countdown-bar .btn-sticky-action:hover {
  background: #059669;
  transform: scale(1.02);
}
#wcpg-sticky-countdown-bar .btn-sticky-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 4px;
  margin-left: 8px;
}
#wcpg-sticky-countdown-bar .btn-sticky-close:hover {
  color: #fff;
}
/* La barra es position:fixed — no se desplaza el body para evitar romper el layout del tema */
@media (max-width: 768px) {
  #wcpg-sticky-countdown-bar {
    font-size: 11.5px;
    padding: 10px 14px !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
  }
  #wcpg-sticky-countdown-bar .sticky-content {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  #wcpg-sticky-countdown-bar .sticky-content span {
    display: inline !important;
  }
  #wcpg-sticky-countdown-bar .sticky-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
    margin-top: 2px !important;
  }
  #wcpg-sticky-countdown-bar .btn-sticky-action {
    padding: 6px 16px !important;
    font-size: 12.5px !important;
  }
  /* La barra es position:fixed — sin padding-top en mobile tampoco */
}
