@import url('reset.css');

/* font */

/* noto sans */
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
/*  font-family: 'Noto Sans KR', sans-serif; */

/* G마켓 */
/* font-family: 'GmarketSans'; */
@import url('https://webfontworld.github.io/gmarket/GmarketSans.css');

/* common */

.only_m{
    display: none;
}
.wrap{
    width:100%;
}
.inner{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.sub_wrap .inner{
    margin:50px auto 0; /*25.5.19 수정*/
}

.clearfix::after{
    display:table;
    content:"";
    clear:both;
}

[type="checkbox"] {
    appearance: none;
    border: 1px solid #dbdbdb;
    background-color: #fff;
    border-radius: 10px;
    width: 36px;
    height: 36px !important;
  }  
  [type="checkbox"]:checked {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    /* box-shadow: 0 0 0 1px #dbdbdb; */
    border-radius: 10px;
    background:url('../img/check_icon.png') no-repeat 50% 50%/20px auto #fff; 
    box-sizing: border-box;
  }

/*페이징*/
.paging {
    margin:20px auto 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.paging > div{
    float:left;
    width:40px;
    height:40px;
    margin:0 5px;
    line-height: 40px;
}
.pg_arr {
    
    text-align: center;
    border:1px solid #eeeeee;
    background:#fff;
    cursor: pointer;
    border-radius: 50%;
}
.pg_arr:hover{
    border:1px solid #24adda;
    
}
.pg_arr:hover img{
    filter: invert(58%) sepia(86%) saturate(1100%) hue-rotate(157deg) brightness(92%) contrast(85%);
}
.pg_arr img{
    vertical-align: sub;
}
.pg_num_on {
    color:#24adda;    
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
.pg_num_off {
    color:#666666;
    text-align: center;
    background:#fff;
    cursor: pointer;
}
/* common */


/* header */
.wrap header{
    width:100%;
    height:100px;
    border-bottom:1px solid rgba(255, 255, 255, 0.3);
    z-index: 3;
}
.main_wrap header{
    position: absolute;
    top:0;
    left:0;
}
.sub_wrap header{
    border-bottom:1px solid #eee;
}
header > div{
    display:flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height:100px;
    max-width: 1200px;
    margin: 0 auto;
    position: absolute;
    top:0;
    left:0;
    right:0;
    color:#252525;
    font-size:20px;
    vertical-align:inherit;
    
}
header nav{
    width:40%;
}
header nav ul{
    display:flex;
    justify-content: space-between;
}
header nav ul li{
    margin-left:100px;
    font-weight: 500;
}
header nav ul li:first-child{margin-left:0;}
header .search{
    width:320px;
    position: relative;
}
header .search input{
    width:320px;
    padding: 0 48px 0 20px;
    background-color:#fff;
    border:1px solid #dbdbdb;
    border-radius: 24px;
    font-size:18px;
    line-height: 48px;
}
header .search button{
    width:50px;
    height:50px;
    position: absolute;
    top:0;
    bottom:0;
    right:0;
}
/* header */

/* 제품 카테고리 */
.product_type{
    margin-top:10px;
}
.product_type ul{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width:100%;    
}
.product_type li{
    display:flex;
    justify-content: center;
    align-items: center;
    width:calc(100% / 11);
    color:#999;
    background:#fafafa;
    outline:1px solid #eeeeee;
    font-size:13px;
    box-sizing: border-box;
    cursor: pointer;
}
.product_type li.on{
    color:#252525;
    background:#fff;
    outline: 2px solid #24adda;
    z-index: 2;
}
.product_type li:hover{
    background:#fff;
    z-index: 1;
}
.product_type li a{
    display: block;
    width:100%;
    height: 100%;
    padding:20px 0;
}
.product_type li img{
    display:block;
    width:25px;
    height: 25px;
    margin:0 auto;
}
.product_type li span{
    display:block;
    margin-top:12px;
    text-align: center;
}
.product_search_box .product_search{
    width:1200px;
    position: relative;
    margin-top:40px;
    display: flex;
    justify-content: center;
}
.product_search_box .product_search input{
    width:800px;
    height:68px;
    padding:0 190px 0 30px;
    border-radius:34px;
    border-bottom:1px solid #dbdbdb;
    font-size:18px;
}
.product_search_box .product_search button{
    padding:0 34px;
    position:absolute;
    top:0;
    bottom:0;
    right:200px;
    border-radius:34px;
    color:#fff;
    background-color:#24adda;
    font-size:18px;
    font-weight:700;
}
.product_search_box .product_search button img{
    margin-right:10px;
}

/* 제품리스트 */
.item_list_box{
    margin-top:80px;
}
.best_item.item_list_box h3{
    font-size:36px;
    font-weight:700;
    text-align: center;
}
.item_list ul{
    display: flex;
    margin-top:40px;
    flex-wrap: wrap;
}
.item_list ul li{
    width:285px;
    margin:0 0 40px 20px;
    float:left;
    color:#252525;
    font-size:18px;
}
.item_list ul li:nth-child(4n+1){
    margin-left:0;
}
.item_list ul li img{
    width:285px;
    height:285px;
    padding:10px;
    border:1px solid #eee;
    object-fit: contain;
}
.item_list ul li .partner_name{
    margin-top:20px;
    color:#757575;
    font-size:16px;
}
.item_list ul li .g_text{
    margin-top:6px;
    line-height:1.25;
    font-weight:400;
}
.item_list ul li .item_name{
    margin-right:8px;
    font-weight:700;
}
.item_list ul li .g_text_price{
    margin-top:6px;
    line-height:1.25;
    font-weight:400;
}

.item_list ul li .g_text_price .l_price{
    font-size:18px;
    margin-right:10px;
}
.item_list ul li .g_text_price .l_price span{
    font-family:'GmarketSans';
    font-size:25px; /*25.5.19 수정*/
}
.item_list ul li .g_text_price .s_price{
    color:#999;
    font-family:'GmarketSans';
    font-size:15px;
    font-weight:500;
    text-decoration: line-through;
}



/* footer */
footer{
    margin-top:40px;
    border-top:1px solid #eeeeee;
    font-size:16px;
}
footer .quick_menu{
    position: fixed;
    bottom:40px;
    right:50px;
    z-index: 4;
}
footer .quick_menu li{
    margin-bottom:16px;
    border-radius:20px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.15);
}
footer .quick_menu li:last-child{
    margin-bottom:0;
}
footer .f_info{
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
}
footer h2, footer address{
    float:left;
}
footer h2{
    margin-right:80px;
}
footer address{
    width:500px;
    line-height: 1.5;
}
footer address span::after{
    display:inline-block;
    content:"|";
    margin:0 12px 0 16px;
    padding-top: 3px;
    color:#dbdbdb;
    font-size:12px;
    vertical-align: text-top;
    
}
footer address span:nth-child(3)::after, footer address span:nth-child(5)::after{
    display:none;
}
footer address .copy{
    margin:20px 0 40px;
    color:#999;
    font-size:15px;
}

/* footer */

@media screen and (max-width:1200px){
    /* common */
    .inner{
        width: 94%;
        max-width:100%;
        margin: 0 auto;
    }

    /* header */
    .wrap header{
        height:80px;
    }
    header > div{
        width: 96%;
        max-width: 100%;
        height:80px;
    }

    /* 제품 카테고리 */
    .product_type li{
        font-size:16px
    }
    .product_type li img{
        width: 40px;
        height: 40px;
    }

    /* 제품리스트 */
    .item_list_box{
        margin-top:60px;
    }
    .item_list ul li{
        width:calc(96% / 4);
        margin: 0px 0 40px 1.3%;
    }
    .item_list ul li img{
        width:100%;
        height:22.5000vw;
    }

    /* footer */
    footer .f_info{
        width: 96%;
        max-width: 100%;
    }
    footer .quick_menu{
        right:0;
    }
    footer .quick_menu li{
        width:70%;
    }
}

@media screen and (max-width:1024px){
    /* header */
    header nav{
        width:80%;
    }
    header nav ul {
        justify-content: center;
    }
    header nav ul li{
        margin-left:100px;
    }
    header .search{
        /* display: none; */
        margin: auto;
        position: relative;
        top: 50%;
    }
    header .search input{
        line-height: 30px;
    }
    header .search button {
        height: 30px;
    }
    .sub_wrap header .search{
        display: none;
    }

    /* 제품리스트 */
    .item_list_box{
        margin-top: 30px;
    }
    .item_list ul li{
        width: calc(98% / 2);
        margin: 0px 0 40px 2%;
    }
    .item_list ul li:nth-child(4n+1){
        margin-left:2%;
    }
    .item_list ul li:nth-child(2n+1){
        margin-left:0;
    }

    .item_list ul li img{
        width:100%;
        height:46.0938vw;
        padding:6px;
    }

    /* 제품 카테고리 */
    .product_type li{
        width:calc(100% / 6);
    }
    
    /* footer */
    footer h2{
        margin:0 10% 20px 0;
        
    }
    footer address{
        width: 68%;
    }
    footer address span:nth-child(4),footer address span:nth-child(5){
        display:block;
    }
    footer address span:nth-child(3)::after, footer address span:nth-child(4)::after, footer address span:nth-child(5)::after{
        display:none;
    }
}

/* mobile */
@media screen and (max-width:768px){
    .only_w{
        display: none !important;
    }
    .only_m {
        display: block !important;
    }
    .inner{
        width: 94%;
        max-width:100%;
        margin: 0 auto;
    }
    /* 페이징 */
    .paging > div{
        width:5.2083vw;
        height:5.2083vw;
        line-height: 5.2083vw;
        font-size:14px;
    }

    /* header */
    .wrap header{
        height:90px;
    }
    header > div{
        flex-wrap: wrap;
        font-size:17px;
    }
    header h1{
        margin:2% auto;
    }
    header h1 img{
        width:70%;
        margin:0 auto;
    }
    header nav{
        width:100%;
    }
    header nav ul li{
        margin-left:10%;
    }

    /* 제품 카테고리 */
    .product_type{
        margin-top: 30px;
    }
    .product_type li{
        width:calc(100% / 4);
        font-size: 14px;
    }
    .product_type li a{
        padding:3.2083vw 0;
    }
    
    /* 제품리스트 */
    .best_item.item_list_box h3{
        font-size:28px;
    }
    .item_list ul{
        margin-top:30px;
    }
    .item_list ul li{
        font-size:16px;
    }
    .item_list ul li .partner_name{
        margin-top:10px;
        font-size:14px;
    }
    
    /* footer */
    footer{
        font-size:13px;
    }
    footer h2 img{
        width: 80%;
    }
    footer address{
        width: 100%;
    }
    footer address span:nth-child(1){
        display:block;
    }
    footer address span::after{
        padding-top: 1px;
        font-size:10px;
        
    }
    footer address span:nth-child(1)::after{
        display:none;
    }
    footer address .copy{
        font-size:12px;
    }
    
    footer .quick_menu{
        right:-40px;
    }
    .product_view_wrap footer .quick_menu{
        bottom:90px;
    }
    footer .quick_menu li{
        width:50%;
    }
    footer .top_btn{
        display: block;
        width:40px;
        height: 40px;
        position: fixed;
        bottom:40px;
        right:20px;
        background:rgba(0,0,0,0.8);
        border-radius:50%;
    }
    footer .top_btn img{
        margin:0 auto;
    }
}

@media screen and (max-width:480px){
    main .inner {
        margin-top: 40px;
    }
    
    /* 제품 카테고리 */
    .product_type{
        flex-direction: column;
    }
    .product_type ul{
        margin: 20px auto 14px;
    }
    .product_type li{
        font-size:14px;
        text-align:center;
    }
    .product_type li a{
        padding:3.1667vw 0;
    }
    .product_type li img{
        width: 30px;
        height: 30px;
    }
    .product_type li span{
        margin-top: 8px;
    }

    footer .f_info {
        margin-top: 30px;
    }
    footer address .copy {
        margin-bottom: 30px;
    }
}