.img_wrap {
  font-size: 0;
}
.img_wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-wrap {
    position: relative;
    top: auto;
}

.top-banner-contents .con2 a {
    color: #fff;
}

.footer-wrap .footer-btm .footer-logo {
    margin-bottom: 20px;
}

.modal .modal-contents pre {
    white-space: pre-line;
}

.agree-term pre {
    white-space: pre-line;
}

.highlight {
    color: #5CC89C;
    font-weight: bold;
}

figure.product-thumb img {
    aspect-ratio: 1.5;
}

#bo_list, #bo_w, #bo_v {
    max-width: 1240px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* 이미지 팝업 전체 배경 (어둡게, 중앙정렬) */
.imgPop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(30, 30, 30, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}

/* 팝업 이미지 컨테이너 내부 이미지 슬라이드 스타일 */
.imgPopWrap {
  position: relative; /* 버튼 위치 기준 */
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 60px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 1240px;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.imgPopWrap .swiper-pagination {left:50%;transform:translateX(-50%);bottom:20px;width:auto;background-color:#242424;border-radius:100px;padding:10px 16px;display:inline-flex;align-items:center;gap:7px;}
.imgPopWrap .swiper-pagination-bullet {margin:0;background-color:#fff;opacity:1;width:5px;height:5px;border-radius:100px;transition:all .3s ease;}
.imgPopWrap .swiper-pagination-bullet-active {width:48px;background-color:#5CC89C;}
.imgPopWrap .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.imgPopWrap .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {margin:0;}
.imgPopWrap .swiper-button-next,
.imgPopWrap .swiper-button-prev {color: #fff;}
.imgPopWrap .swiper-button-prev {left:0}
.imgPopWrap .swiper-button-next {right:0}
.imgPopWrap .swiper-button-next:after,
.imgPopWrap .swiper-button-prev:after {font-size:28px;}

.imgPopWrap .swiper {
  width: 100%;
  height: 100%;
}

.imgPopWrap .swiper-slide .img_wrap {
  font-size: 0;
  width: 100%;
  max-width: 900px;
  height: 675px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  overflow: hidden;
  margin: 0 auto;
}

.imgPopWrap .swiper-slide .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imgPopClose {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10001;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 2rem;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.imgPopClose:hover {
  background: rgba(0,0,0,0.85);
}

.drawer-wrap {
  flex-direction: column;
  overflow: hidden;
  height: auto;
}
.drawer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer-nav-wrap {
  display: flex;
  flex: 1;
}
.drawer-loading {
  flex: 1;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
}

.drawer-nav-list {
  width: 100%;
  list-style:none;
  width:130px;
  flex-shrink:0;
  margin:0;
  padding:0;
  background-color: #f0f0f0;
  top:0;
}
.drawer-nav-list li {
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
}

.drawer-nav-list .selected {
  background-color: #19542D;
  color: white;
}

.drawer-nav {
  display: none;
  flex:1;
  padding:20px 24px 24px;
  /* background:#fafafa; */
}
.drawer-info {
  flex-shrink: 0;
  padding: 24px 20px 28px;
  border-top: 1px solid #eee;
  background: #fff;
}

.drawer-area-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #8b95a1;
  letter-spacing: -0.2px;
}

.drawer-area-subtitle {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #2c2c2c;
  letter-spacing: -0.4px;
}

.drawer-area-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-area-item {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.drawer-area-item a {
  color: #2c2c2c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.drawer-quick-list {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 28px;
  border: 1px solid #d4d4d8;
}

.drawer-quick-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 4px;
  border: none;
  border-right: 1px solid #d4d4d8;
  border-radius: 0;
  background: #fff;
  text-decoration: none;
  color: #3f3f46;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.drawer-quick-btn.btnLogout, .drawer-quick-btn.btnLogin {
  border-right: none !important;
}

.drawer-quick-btn:active {
  background: #f4f4f5;
}

.drawer-info .drawer-quick-btn.btnLogin,
.drawer-info .drawer-quick-btn.btnLogout {
  display: none;
}

.drawer-contact-label {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  color: #999;
  letter-spacing: -0.2px;
}

.drawer-contact-tel {
  display: block;
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 700;
  color: #22a76a;
  text-decoration: none;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.drawer-contact-tel:active {
  color: #1a8f59;
}

.drawer-contact-hours {
  margin: 0;
  font-size: 12px;
  color: #bbb;
  line-height: 1.5;
}

/* 팝업 등장 애니메이션 */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-only {
  display: none;
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .drawer-content {
    padding-bottom: 58px;
  }

  .header-wrap {
    position:sticky;
    top:0;
    z-index:20;
  }

  .pc-only {
    display: none !important;
  }

  .mobile-only {
    display: block;
  }

  .product-wrap .product-banner .swiper-slide {
    height: 426px;
  }

  .imgPopWrap {max-width:380px;}
  .imgPopWrap .swiper-slide .img_wrap {max-width:360px;height:450px;}
  .imgPopWrap .swiper-pagination {bottom:12px;padding:7px 12px;gap:5px;}
  .imgPopWrap .swiper-pagination-bullet {width:4px;height:4px;}
  .imgPopWrap .swiper-pagination-bullet-active {width:34px;}
  .imgPopWrap .swiper-button-next {right:15px;}
  .imgPopWrap .swiper-button-prev {left:15px;}
  .imgPopWrap .swiper-button-next:after,
  .imgPopWrap .swiper-button-prev:after {font-size:20px;}
}

@media screen and (min-width: 2560px) {
  .imgPopWrap {
    max-width: 1440px;
    padding: 90px 15px;
  }
  .imgPopWrap .swiper-slide .img_wrap {
    max-width: 1200px;
    height: 900px;
  }
}
