/* ── Timer Plugin Countdown ──────────────────────────────────────────────── */
.tmr-wrap {
  --tmr-bg: #6366f1;
  --tmr-fg: #ffffff;
  background: var(--tmr-bg);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  max-width: 640px;
  margin: 24px auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
  color: var(--tmr-fg);
}

/* Subtle radial highlight */
.tmr-wrap::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}

.tmr-inner {
  position: relative;
  z-index: 1;
}

.tmr-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--tmr-fg);
  margin: 0 0 8px;
  letter-spacing: -.02em;
}

.tmr-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 28px;
  line-height: 1.55;
}

/* Countdown row */
.tmr-countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tmr-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.tmr-val {
  display: block;
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  width: 72px;
  height: 72px;
  line-height: 72px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--tmr-fg);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  transition: transform .1s;
}

.tmr-val.tmr-tick {
  transform: scale(1.08);
}

.tmr-lbl {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.65);
}

.tmr-sep {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,.45);
  margin-top: 14px;
  line-height: 72px;
  flex-shrink: 0;
}

/* Expired message */
.tmr-expired {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tmr-fg);
  margin: 20px 0 0;
  animation: tmr-pulse 1.2s ease-in-out infinite;
}

@keyframes tmr-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .55; }
}

/* Responsive */
@media (max-width: 480px) {
  .tmr-wrap { padding: 28px 18px; }
  .tmr-unit { min-width: 56px; }
  .tmr-val  { width: 56px; height: 56px; line-height: 56px; font-size: 1.5rem; }
  .tmr-sep  { line-height: 56px; font-size: 1.5rem; margin-top: 10px; }
  .tmr-countdown { gap: 8px; }
}

/* ── Timer Banner ────────────────────────────────────────────────────────── */
.tmr-bnr-wrap {
  position: relative;
  width: 100%;
  padding: 56px 32px;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

/* Decorative circle overlays */
.tmr-bnr-wrap::before,
.tmr-bnr-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255,255,255,.07);
}
.tmr-bnr-wrap::before { width: 340px; height: 340px; top: -120px; right: -80px; }
.tmr-bnr-wrap::after  { width: 200px; height: 200px; bottom: -80px; left: -60px; }

.tmr-bnr-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tmr-bnr-text {
  flex: 1;
  min-width: 220px;
}

.tmr-bnr-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: inherit;
}

.tmr-bnr-sub {
  font-size: 1.05rem;
  opacity: .82;
  margin: 0;
  line-height: 1.55;
  color: inherit;
}

/* countdown inside banner — reuses .tmr-* classes but smaller */
.tmr-bnr-countdown {
  flex-shrink: 0;
}
.tmr-bnr-countdown .tmr-val {
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 1.65rem;
}
.tmr-bnr-countdown .tmr-unit { min-width: 60px; }
.tmr-bnr-countdown .tmr-sep  { line-height: 60px; margin-top: 10px; }

.tmr-bnr-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  background: rgba(255,255,255,.2);
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}
.tmr-bnr-cta:hover {
  background: rgba(255,255,255,.32);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

/* Responsive banner */
@media (max-width: 640px) {
  .tmr-bnr-wrap  { padding: 40px 20px; }
  .tmr-bnr-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tmr-bnr-title { font-size: 1.7rem; }
  .tmr-bnr-cta   { width: 100%; text-align: center; }
}
