/* BASIC css start */
/* 체크박스 없는 텍스트 하단 수정본: 기존 팝업 CSS 전체 교체. <style> 태그 없이 사용 */
/* 메이크샵 외곽 레이어의 고정 좌표/430px 높이를 교정합니다. */
.pr-popup-host,
.pr-popup-legacy-host {
  position: fixed !important;
  left: 50% !important;
  top: 45% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: 430px !important;
  max-width: calc(100vw - 24px) !important;
  height: auto !important;
  max-height: calc(100vh - 24px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border-radius: 12px !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
/* 새 슬라이드 팝업은 안쪽 #prSlidePopup 한 곳에서만 라운드 처리 */
.pr-popup-host { border-radius: 0 !important; }
.pr-popup-host > .event_inner,
.pr-popup-legacy-host > .event_inner {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
/* 기존 쿠폰 팝업도 작은 화면에 맞춥니다. 표시 여부는 JS가 순서대로 관리합니다. */
.pr-popup-legacy-host .cont-pop img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}
.pr-popup-legacy-host #specialEvt .close-wrap { padding: 0; }
.pr-popup-legacy-host #specialEvt .close-wrap .close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 !important;
  padding: 12px 16px;
  color: #fff;
  font-size: 13px;
}
.pr-popup-legacy-host #specialEvt .close-wrap .close .btn-close {
  position: static !important;
  flex-shrink: 0;
  color: #fff;
}

#prSlidePopup,
#prSlidePopup * { box-sizing: border-box; }

#prSlidePopup {
  width: 100% !important;
  max-width: 430px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  overflow: hidden;
  border-radius: 12px;
  background: transparent !important;
  isolation: isolate;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
}
#prSlidePopup a { color: inherit; text-decoration: none; }
/* 이미지까지 이어지는 모든 박스의 외곽 여백 제거 */
#prSlidePopup .pr-popup__viewport,
#prSlidePopup .pr-popup__track,
#prSlidePopup .pr-popup__slide,
#prSlidePopup .pr-popup__slide a,
#prSlidePopup .pr-popup__slide img {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
}
#prSlidePopup .pr-popup__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 430 / 500;
}
#prSlidePopup .pr-popup__track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  transition: transform 0.4s ease;
}
#prSlidePopup .pr-popup__slide { flex: 0 0 100%; min-width: 0; }
#prSlidePopup .pr-popup__slide a { display: block; line-height: 0; }
#prSlidePopup .pr-popup__slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}
#prSlidePopup .pr-popup__arrow {
  appearance: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}
#prSlidePopup .pr-popup__arrow--prev { left: 7px; }
#prSlidePopup .pr-popup__arrow--next { right: 7px; }
#prSlidePopup .pr-popup__arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
#prSlidePopup .pr-popup__arrow--prev::before { transform: rotate(-135deg); margin-left: 4px; }
#prSlidePopup .pr-popup__arrow--next::before { transform: rotate(45deg); margin-right: 4px; }
#prSlidePopup .pr-popup__arrow:hover { background: rgba(0, 0, 0, 0.4); }
#prSlidePopup .pr-popup__arrow[hidden] { display: none; }
#prSlidePopup .pr-popup__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
#prSlidePopup .pr-popup__today,
#prSlidePopup .pr-popup__close {
  appearance: none;
  position: relative;
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: -0.2px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
/* 메이크샵 당일 숨김 기능용 입력은 화면과 키보드 탐색에서 숨김 */
#prSlidePopup .pr-popup__footer input[type="checkbox"] {
  display: none !important;
}
#prSlidePopup .pr-popup__close { flex-shrink: 0; }
#prSlidePopup .pr-popup__close::before,
#prSlidePopup .pr-popup__close::after { content: none; }
#prSlidePopup .pr-popup__today:hover,
#prSlidePopup .pr-popup__close:hover {
  color: #111;
}
#prSlidePopup button:focus-visible,
#prSlidePopup a:focus-visible,
#prSlidePopup input:focus-visible { outline: 2px solid #69aaff; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  #prSlidePopup .pr-popup__track { transition: none; }
}

/* BASIC css end */

