/**
 * PCTechComVn — Conversion Bars CSS
 * Child Theme CSS Module
 * Version: 1.0.0 (Sprint 16)
 *
 * Slot 50K Bar, Intent Filter, Promo Countdown.
 */

/* ═══════════════════════════════════════════════
   1. SLOT 50K BAR (Thanh giữ giá khẩn cấp)
   ═══════════════════════════════════════════════ */
.slot-50k-bar {
  background: linear-gradient(90deg, #1a4a8f, #0d6e4a);
  color: #fff;
  padding: 12px 0;
  border-bottom: 2px solid var(--orange);
}

.slot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.slot-inner strong {
  color: #ffd080;
}

.slot-hold-timer {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 50px;
  display: none;
}

.slot-hold-timer.active {
  display: inline-block;
}

/* ═══════════════════════════════════════════════
   2. PROMO COUNTDOWN
   ═══════════════════════════════════════════════ */
.promo-countdown {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--orange-dark));
  color: var(--white);
  padding: 16px 0;
  position: relative;
  overflow: hidden;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.promo-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.promo-text strong {
  font-size: 1.1rem;
}

#countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-unit {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 48px;
}

.cd-unit span {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.cd-unit small {
  font-size: 0.65rem;
  opacity: 0.85;
}

.cd-sep {
  font-weight: 800;
  font-size: 1.1rem;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   3. INTENT FILTER (Bộ lọc ý định)
   ═══════════════════════════════════════════════ */
.intent-filter {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.intent-filter p {
  text-align: center;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.intent-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.intent-btn {
  padding: 24px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.intent-btn:hover,
.intent-btn.active {
  border-color: var(--orange);
  background: var(--orange-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.intent-btn .intent-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.intent-btn strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1rem;
  margin-bottom: 4px;
}

.intent-btn span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .intent-btns {
    grid-template-columns: 1fr;
  }
  .promo-inner {
    flex-direction: column;
    text-align: center;
  }
}
