/**
 * 공통 팝업 CSS
 * 모든 페이지에서 레이아웃을 통해 로드됨
 */
.main-full-banner,
.main-center-banner,
.main-bottom-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 120;
}
.main-full-banner.show,
.main-center-banner.show,
.main-bottom-banner.show {
  visibility: visible;
}
.main-full-banner .popup-container,
.main-center-banner .popup-container,
.main-bottom-banner .popup-container {
  background-color: #fff;
  width: 327px;
  padding: 40px 24px;
  border-radius: 16px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.main-full-banner .popup-container .popup-msg,
.main-center-banner .popup-container .popup-msg,
.main-bottom-banner .popup-container .popup-msg {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.4px;
  color: #0f0f0f;
  padding-bottom: 16px;
  background-color: #fff;
}
.main-full-banner .popup-container .popup-msg .text-agree,
.main-full-banner .popup-container .popup-msg .point,
.main-center-banner .popup-container .popup-msg .text-agree,
.main-center-banner .popup-container .popup-msg .point,
.main-bottom-banner .popup-container .popup-msg .text-agree,
.main-bottom-banner .popup-container .popup-msg .point {
  color: #3994e5;
}
.main-full-banner .popup-container .popup-msg .text-disagree,
.main-center-banner .popup-container .popup-msg .text-disagree,
.main-bottom-banner .popup-container .popup-msg .text-disagree {
  color: #f53f32;
}
.main-full-banner .popup-container .popup-notice,
.main-center-banner .popup-container .popup-notice,
.main-bottom-banner .popup-container .popup-notice {
  padding-bottom: 16px;
}
.main-full-banner .popup-container .button-container,
.main-center-banner .popup-container .button-container,
.main-bottom-banner .popup-container .button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 10px;
}
.main-full-banner .popup-container .button-container.half .popup-btn,
.main-center-banner .popup-container .button-container.half .popup-btn,
.main-bottom-banner .popup-container .button-container.half .popup-btn {
  flex: 1;
}
.main-full-banner .popup-container .button-container.over .popup-btn,
.main-center-banner .popup-container .button-container.over .popup-btn,
.main-bottom-banner .popup-container .button-container.over .popup-btn {
  flex: 5;
}
.main-full-banner .popup-container .button-container.over .popup-btn:first-child,
.main-center-banner .popup-container .button-container.over .popup-btn:first-child,
.main-bottom-banner .popup-container .button-container.over .popup-btn:first-child {
  flex: 3;
}

/* 닫기 버튼 영역 */
.main-full-banner .pop-close-wrap,
.main-center-banner .pop-close-wrap,
.main-bottom-banner .pop-close-wrap {
  background-color: #fff;
  padding: 15px 20px;
  width: 100%;
  line-height: 18px;
  display: flex;
  align-items: center;
}
.main-full-banner .pop-close-wrap .btn-close-oneDay,
.main-center-banner .pop-close-wrap .btn-close-oneDay,
.main-bottom-banner .pop-close-wrap .btn-close-oneDay {
  font-size: 14px;
  font-weight: 500;
  color: #919191;
}
.main-full-banner .pop-close-wrap .btn-close-week,
.main-center-banner .pop-close-wrap .btn-close-week,
.main-bottom-banner .pop-close-wrap .btn-close-week {
  font-size: 14px;
  font-weight: 500;
  color: #919191;
}
.main-full-banner .pop-close-wrap .btn-close-month,
.main-center-banner .pop-close-wrap .btn-close-month,
.main-bottom-banner .pop-close-wrap .btn-close-month {
  font-size: 14px;
  font-weight: 500;
  color: #919191;
}
.main-full-banner .pop-close-wrap .btn-pop-close,
.main-center-banner .pop-close-wrap .btn-pop-close,
.main-bottom-banner .pop-close-wrap .btn-pop-close {
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
  margin-left: auto;
}

/* 전체 타입 */
.main-full-banner .full-type {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.main-full-banner .full-type .img-wrap {
  font-size: 0;
  height: calc(100% - 46px);
}
.main-full-banner .full-type .img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-full-banner .full-type .text-overlay {
  top: 30.788177vh !important;
  transform: translate(-50%, 0) !important;
}

/* 이미지 오버레이 (공통) */
.main-full-banner .full-type .img-wrap,
.main-full-banner .center-type .img-wrap,
.main-center-banner .full-type .img-wrap,
.main-center-banner .center-type .img-wrap {
  position: relative;
}
.main-full-banner .full-type .img-wrap img,
.main-full-banner .center-type .img-wrap img,
.main-center-banner .full-type .img-wrap img,
.main-center-banner .center-type .img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-full-banner .full-type .text-overlay,
.main-full-banner .center-type .text-overlay,
.main-center-banner .full-type .text-overlay,
.main-center-banner .center-type .text-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.main-full-banner .full-type .main-title,
.main-full-banner .center-type .main-title,
.main-center-banner .full-type .main-title,
.main-center-banner .center-type .main-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}
.main-full-banner .full-type .sub-title,
.main-full-banner .center-type .sub-title,
.main-center-banner .full-type .sub-title,
.main-center-banner .center-type .sub-title {
  margin: 21px 0 0 0;
  font-size: 14px;
  line-height: 1.4;
}

/* 중앙 타입 */
.main-center-banner .center-type {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 20px;
  width: 90%;
  max-width: 327px;
}
.main-center-banner .center-type .img-wrap {
  font-size: 0;
}
.main-center-banner .center-type .img-wrap img {
  width: 100%;
  height: 352px;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-center-banner .center-type .text-overlay {
  transform: translate(-50%, 0);
  top: 82px;
}

/* 하단 타입 */
.main-bottom-banner .bottom-type {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.main-bottom-banner .bottom-type .bottom-swiper {
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide {
  height: 235px;
}
.main-full-banner .full-type .img-wrap:before,
.main-center-banner .center-type .img-wrap:before,
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide:after {
  content: "";
  display: block;
  width: 100%;
  background: transparent;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  pointer-events: none;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide .banner-txt {
  color: #fff;
  white-space: nowrap;
  padding: 63px 16px 0;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide .banner-txt .tit,
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide .banner-txt .sub-tit {
  display: block;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide .banner-txt .tit {
  font-size: 26px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.78px;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-slide .banner-txt .sub-tit {
  margin-top: 21px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.42px;
}
.main-bottom-banner .bottom-type .bottom-swiper .swiper-pagination {
  border-radius: 60px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  text-align: center;
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: 500;
  bottom: auto;
  left: auto;
  height: 20px;
  width: 53px;
  font-size: 11px;
  line-height: 20px;
  color: #fff;
  letter-spacing: -0.11px;
}

/* PC 전용 스타일 */
.main-center-banner .center-type.banner {
  overflow: hidden;
  border-radius: 20px;
}
.main-center-banner .center-type.banner .swiper-container {
  width: 100%;
  overflow: hidden;
}
.main-center-banner .center-type.banner .popup-wrapper {
  position: relative;
}
.main-center-banner .center-type.banner .popup-wrapper a {
  display: block;
  position: relative;
}
.main-center-banner .center-type.banner .popup-wrapper img {
  width: 100%;
  height: 380px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.main-center-banner .center-type.banner .popup-wrapper .text-bg-overlay {
  pointer-events: none;
}
.main-center-banner .center-type.banner .popup-wrapper .text-overlay {
  pointer-events: none;
}
.main-center-banner .center-type.banner .swiper-button-prev,
.main-center-banner .center-type.banner .swiper-button-next {
  color: #fff;
  z-index: 10;
}

/* banner-on: JS에서 body에 추가하면 팝업 표시 */
.banner-on .main-full-banner,
.banner-on .main-center-banner,
.banner-on .main-bottom-banner {
  display: block;
}
