/* 홈 첫 화면 팝업 (theme/pvshop/shop/pv.popup.php) */
html.pv-pop-open, html.pv-pop-open body { overflow: hidden; }
.pv-pop { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pv-pop-dim { position: absolute; inset: 0; background: rgba(17, 17, 17, .55); }
.pv-pop-box[hidden] { display: none; }
.pv-pop-box {
    position: relative; display: flex; flex-direction: column;
    width: min(var(--pv-pop-w, 420px), 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
    font-family: var(--pv-font, 'Noto Sans KR', sans-serif);
    animation: pv-pop-in .22s ease-out;
}
@keyframes pv-pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pv-pop-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; line-height: 1.6; font-size: 15px; color: var(--pv-ink, #111); }
.pv-pop-body p { margin: 0; }
.pv-pop-body img { display: block; width: 100%; height: auto; max-width: none; }
.pv-pop-body a { display: block; }
.pv-pop-foot { flex: 0 0 auto; display: flex; border-top: 1px solid var(--pv-line, #e8e8e4); background: #fff; }
.pv-pop-foot button { flex: 1 1 50%; height: 50px; border: 0; background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: var(--pv-muted, #6a6a64); }
.pv-pop-foot button + button { border-left: 1px solid var(--pv-line, #e8e8e4); }
.pv-pop-foot .pv-pop-close { color: var(--pv-ink, #111); font-weight: 700; }
.pv-pop-foot button:hover { background: var(--pv-soft, #f4f4f1); }
