@charset "utf-8";

.hd_pops_con .popup_images { width: 100%; height: 100%; overflow: auto; }
.hd_pops_con .popup_image { margin: 0; padding: 0; line-height: 0; }
.hd_pops_con .popup_image img { display: block; width: 100%; height: auto; max-width: 100%; }
.hd_pops_con .popup_swiper { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; }
.popup_swiper .popup_slide_track { position: relative; display: flex; width: 100%; height: 100%; padding: 0; margin: 0; box-sizing: content-box; transition-property: transform; transition-timing-function: ease; }
.popup_swiper .popup_slide { position: relative; flex-shrink: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.popup_swiper .popup_slide a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.hd_pops_con .popup_swiper .popup_slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.popup_swiper .popup_slide_pagination { position: absolute; bottom: 12px; left: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; pointer-events: none; }
.popup_slide_pagination .popup_slide_bullet { display: inline-block; width: 8px; height: 8px; padding: 0; margin: 0; border: 1px solid #fff; border-radius: 50%; background: #0005; box-shadow: 0 1px 3px #0004; cursor: pointer; pointer-events: auto; }
.popup_slide_pagination .popup_slide_bullet_active { background: #fff; }
.popup_swiper .popup_slide_arrow { position: absolute; top: 50%; z-index: 3; width: 30px; height: 38px; margin-top: -19px; padding: 0; border: 0; border-radius: 5px; background: #0005; color: #fff; font: 24px/1 sans-serif; cursor: pointer; }
.popup_swiper .popup_slide_prev { left: 8px; }
.popup_swiper .popup_slide_next { right: 8px; }
@media (max-width: 799px) {
  .hd_pops_con .popup_images { height: auto; }
  .hd_pops_con .popup_swiper { height: auto; aspect-ratio: var(--popup_image_ratio, 3 / 4); }
}

/* 브라우저 최상위 레이어에서 슬라이딩 팝업을 중앙에 표시합니다. */
.popup_slider_modal { position: fixed; inset: 0; z-index: 2147483647; width: fit-content; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; background: #fff; box-shadow: 0 16px 60px #0005; overflow: auto; }
.popup_slider_modal::backdrop { background: #0005; }
.popup_slider_modal .hd_pops { position: static !important; width: auto !important; margin: 0 !important; transform: none !important; }
.popup_slider_modal .hd_pops_con { width: min(var(--popup_width, 450px), calc(100vw - 24px), calc((100vh - 100px) * var(--popup_ratio_number, .75))) !important; width: min(var(--popup_width, 450px), calc(100vw - 24px), calc((100dvh - 100px) * var(--popup_ratio_number, .75))) !important; height: auto !important; aspect-ratio: var(--popup_ratio, 3 / 4); }
.popup_slider_modal .hd_pops_con .popup_swiper { height: 100%; aspect-ratio: auto; }
.popup_slider_modal .hd_pops_footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 10px; background: #18231f; color: #fff; }
.popup_slider_modal .hd_pops_footer button { float: none; margin: 0; padding: 2px; border: 0; background: transparent; color: inherit; font-size: 12px; cursor: pointer; }
.popup_slider_modal .hd_pops_footer button:focus-visible { outline: 2px solid #9edbd0; outline-offset: 2px; }
