/* BASIC css start */
#youtube-slide {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%; /* 영상의 높이를 늘려 비율을 조정 */
    margin-bottom: 5px; /* 하단 여백 */
}

#youtube-slide .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) { /* 모바일 화면에서 크기 최적화 */
    #youtube-slide {
        padding-bottom: 90%; /* 모바일에서 더 큰 비율로 표시 */
    }
}


.main-slide0 {width:100%; }
.main-slide0 h2 { margin:0 0 15px; font-size:20px; line-height:25px; font-weight:600px; letter-spacing:-1px; text-align:center }
.main-slide0 .swiper-slide { width:85%; }
.main-slide0 .swiper-slide img {width:100%}

.main-slide1 {width:100%; }
.main-slide1 h2 { margin:40px 0 15px; font-size:20px; line-height:25px; font-weight:800px; letter-spacing:-1px; text-align:center }
.main-slide1 .swiper-slide { width:85%; }
.main-slide1 .swiper-slide img {width:100%}

.main-slide2 {width:100%; }
.main-slide2 h2 { margin:40px 0 15px; font-size:20px; line-height:25px; font-weight:700px; letter-spacing:-1px; text-align:center }
.main-slide2 .swiper-slide { width:85%; }
.main-slide2 .swiper-slide img {width:100%}

.main-slide3 {width:100%; }
.main-slide3 h2 { margin:40px 0 15px; font-size:20px; line-height:25px; font-weight:700px; letter-spacing:-1px; text-align:center }
.main-slide3 .swiper-slide { width:85%; }
.main-slide3 .swiper-slide img {width:100%}



.product {width:100%; }
.product h2 { margin:40px 0 15px; font-size:20px; line-height:25px; font-weight:700px; letter-spacing:-1px; text-align:center }
.product .swiper-slide { width:85%; }
.product .swiper-slide img {width:100%}

.mrt {margin:50px 0 0}

#main .swiper-pagination .swiper-pagination-bullets {
  position:absolute;
  bottom: 0;
  right; 0;
  width: 100%;
}
#main .swiper-pagination-bullet {
  width: 20px;
  height: 2px;
  display: inline-block;
  border-radius: 0%;
  background:#6d6e71;
}
:root {
 
  --swiper-pagination-color: #6d6e71;
  
}



#contents img { width:100% }



/* 메인 중간 카테고리 */

.category-section.mobile {
  background-color: #f5f5f5;
  padding: 60px 7px;
  margin-top: 70px;
}

.category-header {
  text-align: center;
  margin-bottom: 20px;
}

.category-subtitle {
 margin-bottom: 7px; 
 font-size: 16px;
  color: #888;
}

.category-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 30px !important;
}

.category-container {
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.category-image {
  margin: 0 2px;
  box-sizing: border-box;
}

.category-image img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 30px;
  object-fit: cover;
  display: block;
}


.category-image .youtube-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}

.category-image iframe.youtube-shorts {
  width: 100%;
  height: 700px;
  border-radius: 6px;
  border: none;
  display: block;
  margin-bottom: 30px;
}

.category-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.category-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: black;
  transition: 0.3s;
  text-decoration: none;
}




/* 롤링배너 */
#event .MS_img-wrap { position: relative; width: 100%; overflow: hidden; }
#event .event-imgs { position: relative; }
#event .MS_img-area { float: left; }
#event .MS_img-area:not(:first-child) { display: none; }
#event .MS_img-area img { width: 100%; }
#event .pagination { position: relative; left: 0; text-align: center; width: 100%; }
#event .pagination .swiper-pagination-switch { display: inline-block; margin: 0 2px; text-indent: -9999px; background: url(/images/d3/m_01/bull/event_now@2x.gif) no-repeat 0 50%; background-size: 19px 7px; width: 10px; height: 10px; }
#event .pagination .swiper-active-switch { background-position: -12px 50%; }
/* //롤링배너 */
.main h3 {font-size:1.250em; display: inline-block; margin:45px 0 18px 0; padding-top:6px; border-top:1px solid #3b3b3b;}
.main .topBanner {margin-top:15px;}
.main .topBanner .topBannerLeft {width:49%; float:left; position:relative;}
.main .topBanner .topBannerRight {width:49%; float:right; position:relative;}
.main .topBanner img {width:100%; vertical-align:top;}
.main .topBanner .topBannerTitle {width:100%; font-size:1.083em; font-weight:bold; padding:2px 0; background-color:rgba(0,0,0,0.4);; text-align:center; color:#fff; position:absolute; bottom:0; left:0;}


/* wib 추가 */
#footer {margin-top:0px !important;}
.main {margin-top:17px;}
.main-section {margin:0 14px;}

/* 상품공통 */
.item .list {margin: 0 0 14px; vertical-align: top;}
.item .list .item-list  { background: #fff; border: 1px solid #dfdfdf; box-sizing:border-box;}
.item .list .item-list .prd-info { padding:24px 18px 20px; background: #f3f3f3; border-top: 0; position:relative;}
.item .list .item-list .prd-info .prd-name {padding-bottom:10px;}
.item .list .item-list .prd-info .prd-name a {font-size: 17px; line-height:17px; color: #000; font-weight:bold;}
.item .list .item-list .prd-info .sub-name a {font-size: 14px; line-height:14px; color: #595959;}
.item .list .item-list .prd-info .prd-price{ padding: 24px 0 0; color: #000; font-size: 15px; line-height:15px; font-weight: bold;}
.item .list .item-list .prd-info .prd-price strike { font-size: 15px; color: #4c4c4c; padding-right:10px; font-weight:normal;}
.item .list .item-list .thumbnail > a > img {width:100%;}
.item .list .item-list .prd-info .moreview {position:absolute; right:18px; bottom:20px;}
.item .list .item-list .prd-info .moreview a {font-size:13px; line-height:13px; border-bottom:1px solid #578cdc; color:#578cdc;}

/* 롤링배너 */
.main_roll01,.main_roll02 {margin:0 0 14px;}
.roll-ban {width:100%; overflow: hidden; position:relative;}
.roll-ban > div {border:1px solid #dfdfdf;}
.roll-ban img {width:100%;}
.roll-ban .slick-dots {position:absolute; bottom:20px; width:100%; text-align:center;}
.roll-ban .slick-dots li {display:inline-block; margin:0 3px; vertical-align:middle;}
.roll-ban .slick-dots li button {font-size: 0; line-height: 0; display: block; width: 10px; height: 10px;cursor: pointer;border: 1px solid #fff; outline: none;border-radius: 100px; background: transparent;}
.roll-ban .slick-dots li.slick-active button {background: #fff;}
.main_roll02 .roll-ban .slick-dots {bottom:30px;}
.main_ban03 {margin:47px 0 0; border:1px solid #d8d8d8;}
.main_ban03 a img {width:100%;}

/* 후기 */
.review-wrap {padding:43px 0 0;}
.review-wrap .tit-wrap {margin:0 14px; font-size:23px; font-family: 'Noto Sans', sans-serif; font-weight:300;}
.review-wrap .tit-wrap strong {font-family: 'Montserrat', sans-serif; font-weight:bold;}
.h_scroll {-webkit-overflow-scrolling: touch; overflow-x: scroll; width:100%;}
.main_sbanwrap { white-space: nowrap; padding:31px 0 0 0px;}
.cot_slide {width: 7.7rem !important; position: relative; display: inline-block; padding: 0 13px 10px;vertical-align: top;}
.cot_slide a .review-img img {-moz-border-radius: 100px;-webkit-border-radius: 100px; border-radius: 100px; width:100%;}
@media (max-width: 360px) {
	 .cot_slide {width: 6.7rem !important;} 
}
@media (max-width: 320px) {
	 .cot_slide {width: 6.7rem !important;} 
}
.cot_slide .review-con {margin:10px 0px; text-align:center;}
.cot_slide .review-con .review-tit {font-size:15px; line-height:15px; font-weight:bold; color:#000; padding-bottom:10px; overflow: hidden; text-overflow: ellipsis; width: 100%; white-space: nowrap;}
.cot_slide .review-con .review-info {font-size:12px; line-height:12px; color:#545454;font-family: 'Montserrat', sans-serif; font-weight:400;}


/* 인스타 */
.insta_wrapper {margin-top:43px;}
.insta_wrapper .tit-wrap {padding-bottom: 16px;}
.insta_wrapper .main-tit img {width:116px; height:auto; float:left;}
.insta_wrapper .sub-tit {float:right; font-family: 'Montserrat', sans-serif; color: #000; font-size: 13px; font-weight:400;}
.insta_wrapper .sub-tit > a { font-family: 'Noto Sans', sans-serif; font-weight:300; font-size:12px; color:#3b7ada; border:1px solid #3b7ada; display:inline-block; border-radius:2px; margin-left:10px; height:23px; line-height:23px; padding:0 10px;}
.insta_wrapper .insta {}
.insta_wrapper .insta .insta_section {margin: 0 auto;overflow: hidden;}
.insta_wrapper .insta .insta_section #instaPics {overflow: hidden; width:100%;}
.insta_wrapper .insta .insta_section #instaPics > div {float: left;margin:0 14px 14px 0; width: calc(33.33% - 10px);}
.insta_wrapper .insta .insta_section #instaPics > div:nth-child(3n) {margin-right:0px;}
.insta_wrapper .insta .insta_section #instaPics > div img {width: 100%;}


/* 베스트리뷰 모음 */
#reviewBoard .review-wrap .tiny {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
}
#reviewBoard .review-wrap .tiny a {
  width: 48%;
  margin-bottom: 8px;
}
#reviewBoard .review-wrap .tiny a img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* 선택: 이미지 둥글게 처리 */
}

.best_review_tit {
  font-size: 20px;
  text-align: center;
  margin-top: 70px;
}

.best_power_review_list {
  margin-top: 20px;
}

.best_review {
  float: left;
  width: 47%;
  border: 1px solid rgb(220, 220, 220);
  margin: 4.5px;
  box-sizing: border-box;
}

.best_review .review {
  padding: 10px;
  border-bottom: 1px solid rgb(200, 200, 200);
}

.best_review .review .review_text {
  height: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.best_review .click {
  width: 100%;
}

.best_review .count {
  float: right;
}

.best_review .write {
  padding-top: 5px;
}

.best_review .date {
  float: right;
}

.best_review .product_img {
  width: 40px;
  margin: 5px;
  float: left;
}

.best_review .product {
  width: 100%;
  margin: 5px;
}

.best_review .product .product_name {
  padding-top: 5px;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
  .best_review {
    width: 48%;
    margin: 1%;
  }
  #reviewBoard .review-wrap .tiny a {
    width: 48%;
  }
}
/* BASIC css end */

