/* ── Promos wrapper ──────────────────────────────────────────── */
.promos-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ── Header row ──────────────────────────────────────────────── */
.promos-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.promos-header-icon  { font-size: 1rem; line-height: 1; }
.promos-header-title {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
}
.promos-header-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,.7);
  animation: dot-blink 2.4s ease-in-out infinite;
}
.promos-header-dot.closed { background: #555; box-shadow: none; animation: none; }
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

/* ── Grid ────────────────────────────────────────────────────── */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

/* ── Promo card ──────────────────────────────────────────────── */
.promo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  cursor: pointer;
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: none;
  padding: 0;
  text-align: left;
}
.promo-card:hover  { background: var(--surface2); }
.promo-card:active { background: var(--surface3); }

.promo-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface3);
  flex-shrink: 0;
}
.promo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.promo-card:hover .promo-thumb img { transform: scale(1.06); }
.promo-thumb-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
}
.promo-stripe { height: 4px; width: 100%; flex-shrink: 0; }
.promo-body {
  flex: 1;
  padding: 12px 14px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo-name  { font-size: .84rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.promo-value { font-size: 1.15rem; font-weight: 900; color: var(--brand); letter-spacing: -.3px; }

/* ── Empty state ─────────────────────────────────────────────── */
.promos-empty {
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

/* ── Closed card wrapper ─────────────────────────────────────── */
.promos-closed-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px 24px;
}

/* ── Closed card (compact glassmorphism) ─────────────────────── */
.closed-card {
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 22px; padding: 22px 20px;
  max-width: 320px; width: 100%;
  text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.closed-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 50px;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2);
  margin-bottom: 12px;
}
.closed-pill .status-dot { width: 6px; height: 6px; flex-shrink: 0; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.status-dot.status-open {
  background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.7);
  animation: pdot 2.5s ease-in-out infinite;
}
.status-dot.status-closed {
  background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.7);
  animation: pdot 2s ease-in-out infinite;
}
@keyframes pdot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.82); }
}
.closed-pill-label {
  font-size: .63rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #ef4444;
}
.closed-icon-wrap { font-size: 2.2rem; line-height: 1; margin-bottom: 6px; }
.closed-title {
  font-family: 'Anton', sans-serif; font-size: 1.55rem;
  color: #E8E8E8; letter-spacing: .5px; margin-bottom: 5px; line-height: 1.1;
}
.closed-msg {
  font-size: .81rem; color: rgba(255,255,255,.48); line-height: 1.5; margin-bottom: 14px;
}

/* ── Week strip ──────────────────────────────────────────────── */
.week-strip {
  display: grid; grid-template-columns: repeat(7, 1fr);
  background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 10px 4px; margin-bottom: 4px;
}
.week-day { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.wd-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.12); }
.week-day.wd-open .wd-dot { background: #22c55e; }
.week-day.wd-today .wd-dot {
  background: var(--brand); box-shadow: 0 0 6px rgba(var(--brand-rgb),.65);
  animation: pdot 2s ease-in-out infinite;
}
.wd-name {
  font-size: .56rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .3px; color: rgba(255,255,255,.22);
}
.week-day.wd-open .wd-name { color: rgba(255,255,255,.52); }
.week-day.wd-today .wd-name { color: var(--brand); }
.week-hours-note {
  font-size: .67rem; color: rgba(255,255,255,.28); margin-bottom: 12px;
}

/* ── Countdown ───────────────────────────────────────────────── */
.countdown-wrap { margin-bottom: 14px; }
.countdown-digits { display: flex; align-items: center; justify-content: center; gap: 2px; }
.countdown-unit { display: flex; align-items: baseline; gap: 2px; }
.cd-val {
  font-family: 'Anton', sans-serif; font-size: 2rem; color: #E0E0E0;
  min-width: 2ch; text-align: center; line-height: 1;
}
.cd-lbl {
  font-size: .57rem; font-weight: 700; color: rgba(255,255,255,.3);
  text-transform: uppercase; letter-spacing: .3px; align-self: flex-end; margin-bottom: 2px;
}
.cd-sep {
  font-family: 'Anton', sans-serif; font-size: 1.65rem;
  color: rgba(255,255,255,.18); line-height: 1; padding: 0 1px;
}

/* ── WA closed button ───────────────────────────────────────── */
.wa-closed-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; background: #25D366; color: #fff;
  border-radius: 50px; padding: 11px 18px; width: 100%;
  font-size: .88rem; font-weight: 600; letter-spacing: .2px; text-decoration: none;
  box-shadow: 0 0 14px rgba(37,211,102,.3), 0 3px 12px rgba(0,0,0,.22);
  transition: filter .15s, transform .10s; -webkit-tap-highlight-color: transparent;
}
.wa-closed-btn:hover  { filter: brightness(1.1); }
.wa-closed-btn:active { transform: scale(.97); }
