/* TK-150T 출시 메인 팝업 (2026-11-03) — tk150t_popup.js 가 화면을 만든다 */
.tkp-dim, .tkp-viewer {
    position: fixed; inset: 0; z-index: 10050;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box;
    background: rgba(10, 18, 40, .62);
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    letter-spacing: -0.02em;
    opacity: 0; transition: opacity .25s ease;
}
.tkp-dim.is-on, .tkp-viewer.is-on { opacity: 1; }
.tkp-dim *, .tkp-viewer * { box-sizing: border-box; }
.tkp-viewer { z-index: 10060; background: rgba(5, 10, 25, .86); }

.tkp-box {
    position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px);
    display: flex; flex-direction: column;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    transform: translateY(14px); transition: transform .3s ease;
}
.tkp-dim.is-on .tkp-box { transform: none; }

.tkp-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: #1b3a87; flex: none;
}
.tkp-head img { height: 30px; width: auto; display: block; }
.tkp-x {
    width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 34px;
    cursor: pointer; padding: 0;
}
.tkp-x:hover { background: rgba(255, 255, 255, .26); }

/* 스크롤 없음 — 화면이 낮으면 제품 사진 높이만 줄어든다 */
.tkp-scroll { overflow: hidden; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.tkp-hero {
    display: block; width: 100%; height: auto; flex: 0 1 auto; min-height: 0;
    max-height: max(120px, calc(100vh - 470px)); object-fit: cover; object-position: 50% 40%;
}

.tkp-body { padding: 18px 20px 6px; text-align: center; color: #1e293b; }
.tkp-badge {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    background: #e60012; color: #fff; font-size: 13px; font-weight: 800;
}
.tkp-title { margin: 10px 0 4px; font-size: 24px; line-height: 1.3; font-weight: 900; color: #16285e; }
.tkp-title b { color: #e60012; }
.tkp-model { margin: 0; font-size: 15px; font-weight: 700; color: #475569; }
.tkp-model strong { font-size: 18px; color: #3a2420; font-weight: 900; }
.tkp-tags { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; flex-wrap: wrap; }
.tkp-tags span { padding: 3px 10px; border-radius: 999px; background: #fbbf3c; color: #3b2a05; font-size: 12.5px; font-weight: 800; }

/* 구매 문의 — 크게 (휴대폰에서 누르면 전화) */
.tkp-call {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    margin: 16px 0 4px; padding: 12px 10px; border-radius: 12px;
    background: #eef3ff; border: 1.5px solid #c7d4f5; text-decoration: none;
}
.tkp-call:hover { background: #e3ebff; text-decoration: none; }
.tkp-call span { font-size: 15px; font-weight: 700; color: #334155; }
.tkp-call strong { font-size: 30px; line-height: 1.15; font-weight: 900; color: #1b3a87; letter-spacing: 0; }

.tkp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 20px 16px; flex: none; }
.tkp-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    height: 48px; border: 0; border-radius: 10px; cursor: pointer;
    font-size: 15px; font-weight: 800; color: #fff; font-family: inherit; letter-spacing: -0.02em;
}
.tkp-btn--img { background: #1b3a87; }
.tkp-btn--vid { background: #e60012; }
.tkp-btn:hover { filter: brightness(1.1); }
.tkp-btn svg { width: 18px; height: 18px; fill: currentColor; }

.tkp-foot { display: flex; border-top: 1px solid #e2e8f0; flex: none; }
.tkp-foot button {
    flex: 1; height: 44px; border: 0; background: #f8fafc; color: #475569;
    font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.tkp-foot button + button { border-left: 1px solid #e2e8f0; }
.tkp-foot button:hover { background: #eef2f7; color: #1e293b; }

/* 제품 이미지(PDF) / 영상 보기 */
.tkp-vbox { position: relative; width: 100%; max-width: 960px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; }
.tkp-vbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 10px; color: #fff; flex: none; }
.tkp-vbar h5 { margin: 0; font-size: 16px; font-weight: 800; color: #fff; }
.tkp-vbar .tkp-vact { display: flex; gap: 8px; align-items: center; }
.tkp-vbar a {
    display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px;
    background: rgba(255, 255, 255, .16); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
}
.tkp-vbar a:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.tkp-vbar .tkp-x { background: rgba(255, 255, 255, .16); }
.tkp-vbody { flex: 1 1 auto; min-height: 0; border-radius: 10px; overflow: hidden; background: #000; }
.tkp-vbody iframe { display: block; width: 100%; height: calc(100vh - 110px); border: 0; background: #525659; }
.tkp-vbody .tkp-flyer { height: calc(100vh - 90px); overflow-y: auto; background: #fff; -webkit-overflow-scrolling: touch; }
.tkp-vbody .tkp-flyer img { display: block; width: 100%; height: auto; }
.tkp-vbody video { display: block; width: 100%; max-height: calc(100vh - 90px); background: #000; }

@media (max-width: 480px) {
    .tkp-dim { padding: 12px; }
    .tkp-title { font-size: 21px; }
    .tkp-body { padding: 16px 16px 4px; }
    .tkp-cta { padding: 12px 16px 14px; }
    .tkp-call strong { font-size: 26px; }
    .tkp-btn { font-size: 14px; }
    .tkp-viewer { padding: 10px; }
}
