.promotion-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.promotion-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promotion-card {
  position: relative;
  width: min(88vw, 430px);
  max-height: min(78vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.promotion-overlay.is-visible .promotion-card {
  transform: translateY(0) scale(1);
}

.promotion-link {
  display: block;
  max-height: inherit;
  background: #f8fafc;
}

.promotion-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 620px);
  object-fit: contain;
}

.promotion-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.promotion-close:hover,
.promotion-close:focus-visible {
  background: #fff;
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.promotion-dots {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.promotion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.35);
}

.promotion-dot.is-active { background: #dc2626; }

@media (max-width: 420px) {
  .promotion-card { width: min(90vw, 360px); border-radius: 18px; }
  .promotion-close { top: 8px; right: 8px; width: 31px; height: 31px; }
}

.promotion-admin-header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.promotion-admin-header h2 { margin: 0 0 6px; font-size: 1.15rem; }
.promotion-admin-form { display: grid; gap: 12px; max-width: 680px; margin-bottom: 24px; }
.promotion-admin-form label { display: grid; gap: 6px; color: #475569; font-weight: 600; }
.promotion-admin-form input[type="file"],
.promotion-admin-form input[type="url"] { width: 100%; }
.promotion-check-row { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.promotion-check-row input { width: auto; }
.promotions-admin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.promotion-admin-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06); }
.promotion-admin-preview { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #f8fafc; }
.promotion-admin-card-body { display: grid; gap: 8px; padding: 12px; }
.promotion-admin-card-meta { color: #64748b; font-size: 0.8rem; }
.promotion-admin-card-actions { display: flex; flex-wrap: wrap; gap: 6px; }
