@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;
}
:root{
  --main_color1 : #00C01E;
  --main_color2 : #067DFD;
  --sub_color1 : #0028AC;
  --sub_color2 : #424242;
  --sub_color3 : #9e9e9e;
  --sub_color4 : #ffffff;
}

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

/* item tablet */
@media screen and (max-width:1024px){
  .main_wrapper,.location_nav,.item_container,.together_list,.card,.delivery,.product-detail1{width: 100%;}
  .main_wrapper{margin:250px auto; height:560px !important;}
  .location_nav > li:last-child{padding-right: 40px;
    }}
  .item_container{
    text-indent: 0px;
    display: flex;
    flex-direction: row;
    gap:20px;}
    .item_container .left_box,
    .item_container .item_info {
      flex: 1 1 0;
      max-width: 50%;
      width: 50%;
  }
  .item_info{width: 500px;}
  .item_info>h2,.item_info>p{margin: 0px;}
  .item_info>button{margin: 20px 20px;}
  .share>#btn2{top:6%}
  .item_container .left_box {
    width: 50%;
    display: flex;
    flex-direction: column;      
    justify-content: flex-start; 
    align-items: center;        
    margin: 0;
  }
    .item_m_img {
    width: 100%;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;       
  }
  .item_m_img img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .thumbnail_wrapper {
    width: 100%;
    max-width: 490px;
    display: flex;                
  }
  .thumbnail_wrapper img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0;
  }
  .item_img> li> a> img{width: 90px;}
  .together_list{margin-left: 10px;}
  .together_list img{width: 180px;}
  .item_m_img img{
    margin: 0 auto;
    width: 100%;}
  .fa-angle-right{right:-4%}
  .card{text-indent: 20px;}
  .top-option{display:none;}
  .item_info> p:nth-child(2) {margin-bottom: 5px;}
  .delivery>p:first-child {padding: 20px 10px;}
  i.left{
    margin-left: 10px;
  }
  .product_info{width: 700px; padding: 0px 30px;}
  .product-info >a>img{width: 680px;}
  .product-option{width: 290px;}
  .together_wrap{margin:0;}
  .product_tabs{
    text-align: center !important; 
    transform: translateY(-18px);
    width: 100%;
  }
  .tab_menu {
    position: relative;
    left: 20px;
    top: 0;
    margin: 30px 0 0 0;
    justify-content: center;
  }
  .together_wrap{padding-bottom: 35px;}



/* item mobile */
@media screen and (max-width:767px){
  .main_wrapper, .location_nav, .item_container, .together_list, .card, .delivery, .product-detail1 {
    width: 97%;
    }
  .main_wrapper{wmargin: 180px 0px; }
  .location_nav,.thumbnail_wrapper,.product-option,.product-review .con1,.product-review .con2{display: none;}
    .item_container,
  .left_box,
  .item_info,
  .item_m_img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  .item_m_img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .main_img {
    width: 95vw !important;
    max-width: 500px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .item_info {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    margin: 0 auto;
    padding: 0 10px;
  }
  .top-option{display: block;}
  .item_info{
    max-width: 400px;
    width: 95%;
    margin: 0 auto;
  }
  .item_info>h2{
    margin: 15px 0px;
    font-size: 18px;
    width: 350px;
    }
      .item_info>p:nth-of-type(3){font-size: 20px !important;}
  .item_info>p:nth-of-type(4){font-size: 20px !important;}
  .item_info>button{margin:-10px 28px;}
  .d_row{
    height: 150px;
  }
  .d_title{width: 27%;}
  .d_row>p{
    font-size: 14px;
    text-align: center;
    line-height: 30px;
  }
  .d_sub{
    width: 73%;
  }
  .d_sub li{
    font-size: 13px;
    margin-right: 5px;
  }
  .d_sub li .progress-bar{
    font-size: 10px !important;
  }
  .share > #btn1{ right: 9%;top: 31%;}
  .share > #btn2{right: 9%; top: 35%;}
  .delivery i.left{
    position: relative;
    top: 0;
    right: 10px;
  }
  .top-option{width: 90%; margin: 0 auto;}
    .tab_menu {
    position: static;
    margin: 20px 0 0 0;
    justify-content: center;
  }
  .tab_menu>li {
    padding-right: 12px;
  }
  .tab_menu>li>a{
    padding: 5px 8px;
    font-size: 13px;
    font-weight: bold;
    background-color: var(--sub_color3);
    border-radius: 40px;
  }
  .together_wrap{padding: 20px;}
  .together_item{margin: 770px 0 10px 0;}
  .together_list{flex-wrap: wrap; padding-right: 10px;}
  .together_list>li{width: 120px;}
  .together_list>li img,.product-info,.product-info >a>img,.product-review>.table,.fnq>.table{width: 90%;}
  .exchange>ul>li{width: 350px; font-size: 12px; overflow-wrap:break-word;
    white-space: normal; line-height: 1.6;}
  .product_tabs{
    transform: translateY(-37px);
  }
  .product-info{
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 35px;
  }
}
