/* ═══ template7/popup.css ══════════════════════════
 * 팝업 전용 스타일 (.wz-popup-*)
 * 클린 내비게이션 스타일 — 오렌지 액센트
 * ═══════════════════════════════════════════════ */

/* ─── 오버레이 ────────────────────────────────── */

.wz-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.wz-popup-overlay.is-visible {
  opacity: 1;
}

.wz-popup-overlay.is-hidden {
  display: none;
}

/* ─── 팝업 박스 ───────────────────────────────── */

.wz-popup {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(8px);
  transition: transform 0.25s ease;
}

.wz-popup-overlay.is-visible .wz-popup {
  transform: translateY(0);
}

/* ─── 팝업 이미지 ─────────────────────────────── */

.wz-popup__img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* ─── 닫기 버튼 ───────────────────────────────── */

.wz-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: background var(--ease);
}

.wz-popup__close:hover {
  background: var(--orange);
}

/* ─── 오늘 하루 닫기 ─────────────────────────── */

.wz-popup__footer {
  padding: 10px 16px;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wz-popup__today-close {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-sub);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.wz-popup__today-close:hover {
  color: var(--orange);
  background: var(--orange-pale);
}

/* ─── 반응형 ───────────────────────────────────── */

@media (max-width: 560px) {
  .wz-popup { max-width: 100%; }
  .wz-popup-overlay { padding: 12px; }
}
