@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&family=Noto+Sans+KR:wght@100..900&display=swap');

@font-face {
  font-family: 'Gmarket Sans';
  src: url('../fonts/GmarketSansTTFLight.woff2') format('woff2'),
      url('../fonts/GmarketSansTTFLight.woff') format('woff'),
      url('../fonts/GmarketSansTTFLight.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body,html{
  scroll-behavior: smooth;
  font-family: 'Gmarket Sans', sans-serif, "Noto Sans KR"!important;
  font-size: clamp(12px, 2vw, 18px) !important;
}

:root{
  --main_color1 : #00C01E;
  --main_color2 : #067DFD;
  --sub_color1 : #0028AC;
  --sub_color2 : #424242;
  --sub_color3 : #9e9e9e;
  --sub_color4 : #ffffff;
}
html {
  scroll-behavior: smooth;
}
a{text-decoration: none !important;}
body {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
}
header{position: fixed !important; top:0; z-index: 10005; background-color: var(--sub_color4);}
.main_wrapper,
.location_nav,
.item_container,
.product-detail1,
.product-info,
.exchange,
.fnq>table,
.product-review table {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.main_wrapper{
  width: 1200px;
  margin: 190px auto;
  height:690px;
}

.location_nav {
  position: relative;
  width: 1200px;
  margin: 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
}
.location_nav > li> a{
  color: var(--sub_color2);
  margin-left:3px
}
.location_nav > li> i.fa-angle-down{
  border: 2px solid var(--sub_color3);
  width: 15px;
  height: 15px;
  margin-right: 3px;
  color: var(--sub_color3);
  cursor: pointer;
}


.location_nav > li:last-child {
  text-align: right;
  flex: 1;
}

.location_sub{
  position: absolute;
  top: 100%;
  z-index: 100;
  width: 120px;
  border: 1px solid var(--sub_color2);
  cursor: pointer;
  background-color: #f0f0f0;
  line-height: 20px;
  padding: 5px 5px;
  font-size: 14px;
  display: none;
}

.item_container {
  position: relative;
  width: 1200px;
  display: flex;
  align-items: flex-start;
  text-indent: 10px;
}
.item_m_img>img{
  display:block;
}

.left_box{
  overflow:hidden;
  box-sizing: border-box;
  margin-right:10px;
}
.item_info{
  width: 600px;
}
.item_info>h2{
  font-weight: bold;
  font-size: 22px;
  margin-left: 50px;
}

.item_info>p{
  font-weight: bold;
  margin-left: 35px;
  line-height: 36px;
}
.item_info>button{
  margin-right: 52px;
}
.item_info> p:nth-child(2){
  margin-bottom:40px;
  text-align: left;}

.item_info> p:nth-child(2)>i.fa-star{color: var(--main_color2);}
  .item_info> p:nth-child(2)>a{
    color: var(--sub_color2);
    text-decoration: none;}
.item_info> p:nth-child(3) >span{ 
  text-decoration: line-through;
  color: var(--sub_color3);}

.item_info> p:nth-child(5){color: #f00;} 
.item_info> p:nth-child(5)>span>img{
  width: 20px;
  position: relative;
  bottom: -5px;
}

.item_info>p>i.fa-solid{color: var(--main_color2);}

.thumbnail_wrapper{
  position: relative;
  width: 550px;padding-top:10px;
}
.item_wrap{overflow: hidden;transform:translateX(29px);}
.item_img{
  display: flex;
  transition: transform 0.3s ease;
  padding: 0;
}
.item_img li{
  margin-right: 10px;
}
.item_img> li> a> img{
  width: 110px;
}
.item_img> li> a> img:hover{
  border: 1px solid var(--main_color2);
}

.fa-angle-up, .fa-angle-down {
  transition: transform 0.3s ease;
}
.fa-angle-left, .fa-angle-right {
  position: absolute;
  bottom:35%;
  cursor: pointer;
  font-size: 24px;
  color: var(--sub_color2);
  z-index: 1;
}

.fa-angle-left {
  left: 0px;
}

.fa-angle-right {
  right: -8%;
}

.share > #btn1 {
  position: absolute;
  right: 4% ;
  top: 7% ;
}
.share > #btn2 {
  position: absolute;
  right: 4% ;
  top: 12% ;
}

.card{
  position: relative;
  width: 500px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 10px 0px;
}

.card>button{
  width: 50px;
  position: absolute;
  right: 5px;
  top: 20%;
  border: none;
  border-radius: 50%;
  background-color: var(--sub_color4);
}
.smile_pay{
  z-index: 10;
  position: absolute;
  top: 100%;
}
.smile_pay.active {
  width: 100%;
  background-color: #f0f0f0;
  padding: 10px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color: var(--sub_color2);
  text-indent: 10px;
}
.smile_pay>p{
  font-size: 20px;
  font-weight: bold;
  margin: 10px;
}

.delivery{
  width: 500px;
  margin: 0 auto;
}
.delivery>p:first-child{
  font-size: 20px;
  font-weight: bold;
  padding: 20px 0;
}
.d_row{
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 5px;
  height: 100px;
  max-width: 490px;
  width: 100%;

}
.d_title{
  font-size: 16px;
  font-weight: bold;
  margin: 10px;
}
.d_sub{
  font-size: 12px;
  line-height: 25px;
}
.d_sub li{
  display: flex;
  align-items: center;}

  .d_sub li:first-child{
    color: var(--main_color2);
  }

  .d_sub li .progress {
    flex: 1;
    margin: 0 0 0 8px;
    min-width: 100px;
    height: 8px;
  }

  .ssg,.card_add{
    position: relative;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
  }
  .ssg>button, .card_add>button{
    width: 50px;
    position: absolute;
    right: 5px;
    top: 0%;
    border: none;
    border-radius: 50%;
    background-color: var(--sub_color4);
    padding-left: 200px;
  }
  .point,.add{
    position: absolute;
    top: 100%;
  }
  .point>li , .add>li{
    font-size: 14px;
    font-weight: 400;
    margin: 10px;
  }
  .point.active, .add.active {
    width: 100%;
    background-color: #f0f0f0;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    color: var(--sub_color2);
    text-indent: 10px;
    z-index: 100;
  }


  select{
    width: 90%;
  }
  .top-option{
    max-width: 500px;
    width: 100%;
  }

  .cart-buy-group{
    margin: 10px 16px;
  }
  .cart , .buy {
    width: 47%;
    font-weight: bold;
    border:none;
    height: 50px;
  }
  .cart_buy .cart{
    color: var(--sub_color4);
    background-color: var(--main_color1);
  }
  .cart_buy{margin-top: 20px;}
  .cart_buy .buy{
    color: var(--sub_color4);
    background-color: var(--main_color2);
  }
  .cart_buy .cart:hover{
    background: var(--sub_color4);
    border: 1px solid var(--main_color1);
  }

  .cart_buy .buy:hover{
    background: var(--sub_color4);
    border: 1px solid var(--main_color2);
  }



  /* 함께보면 좋은 상품 */
  .together_wrap{padding-top: 30px;}
  .together_item{
    width: 100%;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    margin: 70px 0px;
  }

  .together_item>h3 {
    font-weight: bold;
    font-size: 20px;
    padding: 40px;
    text-align: center;
  }

  .together_list{
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
  }
  .together_list img{width: 300px;}
  .together_list >li{width: 200px;}
  .together_list >li>a{
    text-decoration: none;
    color: var(--sub_color2);
    font-size: 14px;
  }
  .together_list span{
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
  }

  /* 탭메뉴 */
  .product_tabs{
    width: 100%;
    height: 60px;
    background-color: var(--sub_color2);
    position: sticky;
    top:118px;
    z-index: 100008;
  }
  .tab_menu{
    position: relative;
    display: flex;
    left: 0;
    top: 0;
    margin: 40px 0 0 0;
    justify-content: flex-start;
    line-height: 60px;
  }
  .tab_menu>li{
    padding-right: 20px;
  }

  .tab_menu>li>a{
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--sub_color4);
    font-size: 18px;
    font-weight: bold;
    background-color: var(--sub_color3);
    border-radius: 40px;
  }


  /* 상세페이지1 */
  .product-detail1{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    overflow: visible;
  }
  #tab2, #tab3, #tab4{
    display:none;
  }
  
  .product-info{
    width: 890px;
    border-right: 1px solid rgba(0, 0, 0, .1);
    padding: 30px 16px;
  }
  .product-info >a>img{
    width: 860px;
  }
  .product-option{
    width: 290px;
    position: sticky;
    top: 183px;
    z-index: 1000;
    padding: 15px;
  }

  /* 페이지 네비게이션 */
  .pagination{
    margin-bottom:15px
  }

  /* 리뷰 */

  .product-detail2 >h3 {
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    height: 55px;
    background-color: var(--main_color1);
    color: var(--sub_color4);
    text-align: center;
    line-height: 55px;
  }
  .review{
    width: 100px;
    float: right;
    margin:22px 55px;
  }
  .product-review table{
    width: 1200px;
    margin: 0 auto;
    line-height: 30px;
    font-size: 14px;
    
  }
  .product-review .con1{
    border:1px solid var(--main_color2);
    color: var(--main_color2);
    border-radius: 10px;
    margin-bottom: 3px;
    text-align: center !important;
   
  }
  .product-review .con2{
    border:1px solid var(--main_color1);
    color: var(--main_color1);
    border-radius: 10px;
    text-align: center !important;
  }

  /* 상품문의 */
  .fnq_select{
    width: 90px;
    margin-right: 10px;
  }
  .search{
    display: flex;
    justify-content: right;
    margin-right: 50px;
    padding: 55px 0 15px 0;

  }
  .fnq >h3{
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    height: 55px;
    background-color: var(--main_color1);
    color: var(--sub_color4);
    text-align: center;
    line-height: 55px;
    padding-bottom: 50px;
  }
  .fnq>table{
    width: 1200px;
    margin: 0 auto;
    line-height: 30px;
    font-size: 14px;
  }
  .fnq th{
    background-color: #9e9e9e;
    font-weight: bold;
  }

  /* 교환/반품 */
  .exchange{
    width: 1200px;
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .exchange>h3{
    font-size: 20px;
    font-weight: bold;
    margin: 25px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sub_color2);
  }
  .exchange>ul>li{
    line-height: 25px;
  }

  .product-detail2,.product-detail3,.product-detail4{display:none}
  .search_box{display: none !important;}

