/* pliki8 — 실제 호출되는 보조 영카트 화면 */

.pk-imageviewer {
    min-height: 100vh;
    padding: 24px;
    background: #f7f7f8;
    color: var(--c-text-strong, #111);
}
.pk-imageviewer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: min(920px, 100%);
    margin: 0 auto 20px;
}
.pk-imageviewer__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--c-text-gray, #777);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}
.pk-imageviewer__head h1 { margin: 0; font-size: clamp(18px, 3vw, 26px); line-height: 1.35; }
.pk-imageviewer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--c-border, #ddd);
    border-radius: 50%;
    background: #fff;
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.pk-imageviewer__stage {
    position: relative;
    display: grid;
    place-items: center;
    width: min(920px, 100%);
    min-height: min(70vh, 760px);
    margin: 0 auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.pk-imageviewer__stage img { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; }
.pk-imageviewer__stage figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(17, 17, 17, .7);
    color: #fff;
    font-size: 11px;
}
.pk-imageviewer__thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: min(920px, 100%);
    margin: 14px auto 0;
    overflow-x: auto;
}
.pk-imageviewer__thumbs a {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 3px;
    border: 1px solid var(--c-border, #ddd);
    border-radius: 10px;
    background: #fff;
}
.pk-imageviewer__thumbs a[aria-current="true"] { border: 2px solid var(--c-text-strong, #111); }
.pk-imageviewer__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.pk-imageviewer__empty { width: min(920px, 100%); margin: 0 auto; padding: 80px 24px; border-radius: 16px; background: #fff; text-align: center; }

.pk-personalpay { width: min(1240px, 100%); margin: 0 auto; }
.pk-personalpay__head { margin-bottom: 28px; }
.pk-personalpay__head > span { color: var(--c-cta-green); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.pk-personalpay__head h2 { margin: 8px 0 6px; color: var(--c-text-strong); font-size: clamp(24px, 3vw, 34px); }
.pk-personalpay__head p { margin: 0; color: var(--c-text-gray); font-size: 14px; }
.pk-personalpay__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pk-personalpay__card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 94px;
    padding: 18px;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    background: #fff;
    color: inherit;
}
.pk-personalpay__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eef8f2; color: var(--c-cta-green); font-size: 18px; font-weight: 800; }
.pk-personalpay__meta { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.pk-personalpay__meta strong { overflow: hidden; color: var(--c-text-strong); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.pk-personalpay__meta small { color: var(--c-text-gray); font-size: 11px; }
.pk-personalpay__card em { color: var(--c-text-strong); font-size: 16px; font-style: normal; font-weight: 800; white-space: nowrap; }
.pk-personalpay__empty { display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; border: 1px solid var(--c-border); border-radius: 16px; background: #fafafa; text-align: center; }
.pk-personalpay__empty > span { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 50%; background: #eef8f2; color: var(--c-cta-green); font-size: 20px; font-weight: 800; }
.pk-personalpay__empty strong { color: var(--c-text-strong); font-size: 17px; }
.pk-personalpay__empty p { margin: 8px 0 18px; color: var(--c-text-gray); font-size: 13px; }
.pk-personalpay__empty a { display: inline-flex; min-width: 120px; min-height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-btn); background: var(--c-text-strong); color: #fff; font-size: 13px; font-weight: 700; }

@media (max-width: 767px) {
    .pk-imageviewer { padding: 16px; }
    .pk-imageviewer__stage { min-height: calc(100vh - 160px); padding: 12px; border-radius: 12px; }
    .pk-imageviewer__stage img { max-height: calc(100vh - 190px); }
    .pk-personalpay__head { margin-bottom: 20px; }
    .pk-personalpay__grid { grid-template-columns: 1fr; }
    .pk-personalpay__card { grid-template-columns: 46px minmax(0, 1fr); min-height: 88px; padding: 14px; }
    .pk-personalpay__mark { width: 46px; height: 46px; }
    .pk-personalpay__card em { grid-column: 2; font-size: 15px; }
    .pk-personalpay__empty { min-height: 260px; }
}
