/* =========================
   PROMO HEADER BASE
========================= */

.promo-header {
  background: #1b3fa3;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

/* =========================
   PROMO INNER (MOBILE FIRST)
========================= */

.promo-inner {
  max-width: 420px;
  margin: 0 auto;
  padding: 10px 16px;

  display: flex;
  flex-direction: column;      /* MOBILE DEFAULT */
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* =========================
   LEFT TITLE
========================= */

.promo-left .promo-title {
  font-family: 'Montserrat', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.promo-left .promo-title strong {
  font-weight: 900;
}

/* =========================
   OFFER BAR (TIMER + CTA)
========================= */

.offer-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* =========================
   COUNTDOWN TIMER
========================= */

.promo-center {
  flex: 0 0 auto;
}

.countdown {
  display: flex;
  gap: 10px;
  align-items: center;
}

.count-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.count-box {
  background: #ffcc00;
  color: #000000;
  min-width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.count-label {
  color: #ffffff;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* =========================
   CTA BUTTON
========================= */

.promo-right {
  flex: 0 0 auto;
}

.promo-btn {
  display: inline-block;
  background: #169f16;
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 900;
  border-radius: 28px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.promo-btn:hover {
  transform: translateY(-1px);
  transform: scale(1.05);
  transition: 0.2s ease;
}

/* =========================
   EXPIRED / DISABLED STATES
========================= */

.countdown .expired {
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  padding: 8px 12px;
}

.promo-btn.disabled {
  background: #ffffff;
  color: #7a7a7a;
  opacity: 0.65;
  pointer-events: none;
  box-shadow: none;
}

/* =========================
   DESKTOP VIEW (SPACE-BETWEEN)
========================= */

@media (min-width: 1024px) {

  .promo-inner {
    max-width: 1200px;
    flex-direction: row;              /* RESET TO ROW */
    margin: 0 auto;

    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    /* justify-content: space-between;   DESKTOP SPACE-BETWEEN */
    text-align: left;
    padding: 20px 15px;
    gap: 20px;
  }

  .promo-left {
    max-width: 650px;
    text-align: left;
  }

  .promo-left .promo-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .offer-bar {
    gap: 24px;
    justify-self: center;   /* TIMER IN PERFECT CENTER */
    align-items: center;
    /* display: flex; */
  }

  .promo-right {
    justify-self: end;      /* BUTTON AT LAST */
    margin-left: 120px;
  }
  
  .promo-btn {
    font-size: 20px;
    justify-self: end;
    padding: 10px 15px;
  }
}

/* =========================
   HEADER SHADOW ON SCROLL
========================= */

.promo-header.scrolled {
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
