/* 폰트연결 */
@import url('https://webfontworld.github.io/sunn/SUIT.css');
/* font-family: 'SUIT';  */


@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
/* font-family: 'Gowun Dodum', sans-serif; */

/* 변수 */
:root{
    --color-ff: #ffffff;
    --color-a4: #a4a4a4;
    --color-93: #939393;
    --color-40: #404040;
    --color-00: #000000;
    --color-68: #683607;
    --color-f6: #f6e6d1;
    --color-6c: #6C801A;

    font-size: 14px;
    --font-fam-1: 'SUIT';
    --font-fam-2:'Gowun Dodum', sans-serif;
}

/* 리셋 */
*{margin: 0; padding: 0; position:relative;}
img{display:block; width: 100%;}
li,ol,ul{list-style: none;}
a{text-decoration: none; color:inherit; display: inline-block;}
body{font-family: var(--font-fam-1);}

h1,h2,h3,h4,h5,h6{text-transform: uppercase;}
h1{font-size: 60px;}
h2{font-size: 35px; font-weight: 100;}
h2 .b{font-weight: 700;}
h3{font-size: 23px;}
h4{font-size: 22px; font-weight: 500;}
h5{font-size: 14px; font-weight: 700;}
h6{font-size: 13px; font-weight: 600;
color: var(--color-a4)}
p{font-size: 14px; line-height: 1.6rem; color: var(--color-a4)}

@media (max-width: 800px){
    h2{font-size: 22px;}
    h4{font-size: 14px;}
    h5{font-size: 13px;}
    h6{font-size: 12px;}
    p{font-size: 12px; line-height: 1.5rem;}
    .btn-l{
        font-size: 12px;
        width: 56px;
    }
}

.btn-l {
    border-bottom: 1px solid var(--color-40);
    width: 65px;
    text-align: center;
}
.btn-s {
    width: 200px; line-height: 60px;
    border: 2px solid var(--color-6c);
}
.btn-f {
    width: 200px; line-height: 60px;
    background-color: var(--color-6c);
    border: 2px solid var(--color-6c);
}

input:focus{outline: none;}

/* 최대너비 */
.section-title,
.container{
    width:90%; max-width: 1300px; margin: 0 auto;
    /* border: 1px solid pink; */
}
.section-title{
    margin-bottom: 30px;
}

/* 헤더관련 css */
header{
    background-color: white;
    position: fixed;
    top: 0; left: 0; z-index: 100;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 3px 5px lightgray;
}
header>div{
    position:absolute;
    top:50%; transform: translateY(-50%);
}
header .logo{left: 30px;}
header .logo .m-logo{display: none;}
header .icon-group{
    right: 200px;
    display: flex;
    gap: 15px;
    width: 30px;
}
header .icon-group img{cursor: pointer;}
header .icon-group .m-icon{
    display: none;
}
header .ham-btn{right: 30px; width: 60px; height: 60px; cursor: pointer;}
header .ham-btn .bar{
    width: 30px;
    height: 3px;
    position: absolute; top: calc(50% - 1px); left: calc(50% - 17px);
    background-color: var(--color-40);
    border-radius: 20px;
    transition: 0.5s;
}
header .ham-btn .bar1{
    transform: translateY(-10px);
}
header .ham-btn .bar3{
    transform: translateY(10px);
}
header .menu{
    display: flex;
    gap: 60px;
    color: var(--color-40);
    font-weight: 500;
    font-size: 16px;
}

header.active{box-shadow: none;}
header.active .menu{display: none;}
header.active .icon-group{display: none;}
header.active .ham-btn .bar1{transform: translateY(0) rotate(-45deg);}
header.active .ham-btn .bar2{transform: scale(0);}
header.active .ham-btn .bar3{transform: translateY(0) rotate(45deg);}


@media(max-width: 1100px){
    header .menu{
        font-size: 14px;
    }
    header .icon-group{
        width: 25px;
    }
    header .ham-btn .bar{
        width: 25px;
        height: 3px;
    }
    header .ham-btn .bar1{
        transform: translateY(-8px);
    }
    header .ham-btn .bar3{
        transform: translateY(8px);
    }
}
@media(max-width: 1000px){
    header .logo{
        left:50%;
        transform: translate(-50%,-50%)
    }
    header .icon-group{right: 20px;}
    header .icon-group .d-icon{
        display: none;
    }
    header .icon-group .m-icon{
        display: block;
        width: 20px;
    }
    header .icon-group .homeicon{display: none;}
    header .icon-group .searchicon{
        filter: invert(1);
    }
    header .ham-btn{
        right: auto;
        left: 20px;
    }
    header .menu{display: none;}
    header.active .icon-group{display: block;}
    header.active .searchicon{display: none;}
    header.active .homeicon{
        display: block;
    }
    header.active{
        background-color: white;
    }

    header.active .ham-btn .bar{background-color: var(--color-00);}
    header.active .ham-btn .bar1{
        transform: rotate(-45deg) translateY(-7px);
        width: 15px;
    }
    header.active .ham-btn .bar2{transform: scale(1);}
    header.active .ham-btn .bar3{transform: rotate(45deg) translateY(7px); width: 15px;}
    header.active .homeicon{display: block;}
}

@media(max-width: 900px){
    header{
        background-color:rgba(0,0,0,0.3);
        box-shadow: none;
        height: 50px;  
    }
    header .logo .d-logo{display: none;}
    header .logo .m-logo{
        display: block;
        width: 70px;
    }
    header .icon-group .searchicon{
        filter: invert(0);
    }

    header .ham-btn .bar{
        background-color: white;
        width: 20px;
    }
    header .ham-btn .bar1{
        transform: translateY(-6px);
    }
    header .ham-btn .bar3{
        transform: translateY(6px);
    }

}

/* 푸터관련 css */
footer .row1{
    height:300px;
    background-color: var(--color-93);
    display: flex;
    color: white;
}
footer .row1 .item{
    flex: 1;
    border-right:1px solid rgba(255,255,255,0.3)
}
footer .row1 .item:last-child{border-right: none;}

footer .row1 .mtext-box{
    display: none;
}

footer .row1 .item1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
footer .row1 .item1 p{
    color: white;
    padding-top: 15px;
    font-weight: 200;
}

footer .row1 .item2{
    display: flex;
    justify-content: center;
    gap: 100px;
    text-align: center;
}
footer .row1 .item2 .menu{
    top: 70px;
}
footer .row1 .item2 h6{
    color: white;
    padding-bottom: 10px;
}
footer .row1 .item2 li{
    font-weight: 200;
    line-height: 1.6rem;
}

footer .row1 .item3{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
footer .row1 .item3 h6{
    color: white;
}
footer .row1 .item3 h4{
    padding-top: 10px;
    padding-bottom: 10px;
}
footer .row1 .item3 p{
    color: white;
    font-weight: 200;
}
footer .row1 .item3 .icon{
    padding-top: 10px;
    display: flex;
    gap: 15px;
    font-size: 20px;
    justify-content: center;
    align-items: center;
}
footer .row1 .item3 .icon img{
    width: 20px;
}

footer .row2{
    background-color: var(--color-40);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
footer .row2 ol{
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: var(--color-93)
}
footer .row2 ol .bold{
    font-weight: 900;
}

@media(max-width: 1200px){
    footer .row1 .item2{
        gap: 30px;
    }
}
@media(max-width: 1000px){
    footer .row1 .item1 .text-box .info{
        display: none;
    }
    footer .row1 .item1 .mtext-box{
        display: block;
    }
    footer .row1 .item1 p{
        padding-top: 10px;
    }
}
@media(max-width: 800px){
    footer .row1{
       flex-direction: column;
       height: 650px;
    }
    footer .row1 .item{
        order:3;
    }
    footer .row1 .item2{
        gap: 50px;
        position: relative;
        top: -30px;
        order: 2;
    }
    footer .row1 .item3{
        order: 1;
    }
    footer .row1 .item3 h4{
        font-size: 16px;
    }

    footer .row2{height: auto;padding: 10px;}
    footer .row2 ol{flex-wrap: wrap; gap: 10px;}
}

.cancel{cursor: pointer;}
/* 검색창 */
.search{
    position: fixed;
    top: -100%; left: 0;
    width: 100%; height: 320px;
    z-index: 101;
    background-color: rgba(255,255,255,0.8);
    transition: 0.5s;
}
.search h5{
    color:var(--color-6c);
    margin-top: 20px;
    margin-bottom: 5px;
}
.search .container{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    height: 100%; width: 50% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.search .row1{
    display: flex;
    align-items: center;
    justify-content: space-between;  border-bottom: 3px solid var(--color-6c);
    margin: 0 auto;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}
.search .row1 input{
    border: none;
    background-color: transparent;
}
.search .row1 img{width: 18px; height: 18px;}

.search .row2{
    display: flex;
    gap:100px;
}
.search .row2 .item2 .img-group{
    display: flex;
    gap:10px;
}
.search .row2 .item2 img{
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.search .row2 .popular-group{
    display: flex;
    gap: 30px;
}
.search .row2 .popular-group li{margin-bottom: 8px;}

.search .cancel{
    position: absolute;
    top: 100%;
    right: 5%;
    background-color: white;
    width: 30px; height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search.active{top: 0;}

/* 로그인 */
.login{
    width: 100%;
    height: 100vh;
    position: fixed; top: 0; left: 0;
    z-index: 101;
    display: none;
}
.login .bg{
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
    background-color: rgba(0,0,0,0.3);
}

.login .pop{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width:900px; height: 500px;
    border: 1px solid;
}
.login .pop>.container{
    display: flex; 
    width:100%;
    height: 100%;
}
.login .pop>.container>div{
    width: 50%;
}

.login .left .img-box{
    width: 100%; height: 100%;
}
.login .left .img-box img{
    height: 100%;
}
.login .left .bg_green{
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
    background-color: var(--color-6c);
    opacity: 0.7;
}
.login .left .text-box{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
}
.login .left .btn{
    background-color: white;
    color: var(--color-6c);
    padding: 10px ;
    margin-top: 10px;
}

.login .right{
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.login .right .input-box{
    margin-top: 20px;
    margin-bottom: 5px;
}
.login .right .input-box input{
    border: 1px solid var(--color-a4);
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 5px;
    width: 90%;
}
.login .right .check-group{
    text-align: start;
    width: 90%;
    margin: 0 auto 20px;
}
.login .right input[type="checkbox"]{
    appearance: none;
    background-color: #eee;
    width: 15px; height: 15px;
    border-radius: 50%;
}
.login .right input[type="checkbox"]:checked::before{
    content:'✔';
    width: 100%; height: 100%;
    color: #333;
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.login .right .btn{
    background-color: var(--color-6c);
    color: white;
    padding: 10px ;
    width: 85%;
    margin: 0 auto;
}
.login .right .discover{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.login .right .cancel{
    position: absolute;
    top: 10%; right: 10%;
    font-size: 20px;
}

.login.active{display: block;}

/* 장바구니 */
.cart{
    position: fixed;
    top: 80px; right: 0;
    background-color: white;
    width: 450px;
    height: 415px;
    display: none;
}
.cart .container{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cart input[type='checkbox']{
    appearance: none;
    width: 15px; height: 15px;
    background-color: #eee;
}
.cart input[type='checkbox']:checked{
    background-color: var(--color-6c);
}
.cart input[type='checkbox']:checked::before{
    content: '✔';
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}

.cart .row1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    flex: 1;
    padding-top: 30px;
}
.cart .row1 .right{
    display: flex;
    align-items: center;
}
.cart .row1 .right .item{padding: 0 10px;}
.cart .row1 .right .item1{
    display: flex;
    align-items: center;
    gap: 5px;
}
.cart .row1 .right .item2{color:var(--color-a4);}
.cart .row1 .right .item2::before{
    content: '';
    width: 1px; height: 10px;
    display: block;
    background-color: var(--color-a4);
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
}

.cart .row2{
    border-bottom: 1px solid #000;
    flex: 5;
}
.cart .row2 .row2-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 10px 0
}
.cart .row2 .item1{
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart .row2 .item1 img{
    width: 65px;
    height: 65px;
    object-fit: cover;
}
.cart .row2 .item2{
    display: flex;
    align-items: center;
    gap: 20px;
}
.cart .row2 .item2 .minus,
.cart .row2 .item2 .plus{
    background-color: #eee;
    padding: 3px;
}

.cart .row3{
    display: flex;
    align-items: center;
    flex: 1;
    border-bottom: 1px solid #d3d3d3;
}
.cart .row3 .item{
    flex:1; padding: 0 10px;
}
.cart .row3 .item::before{
    content: '';
    width: 1px; height: 20px;
    display: block;
    background-color: var(--color-00);
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
}
.cart .row3 .item1::before{display: none;}
.cart .row3 .item p{
    display: flex;
    justify-content: space-between;
    color: var(--color-00);
}

.cart .row4{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: 10px 0;
}
.cart .row4 .text-box{
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap:20px;
}
.cart .row4 .text2{
    display: flex;
    align-items: end;
}

.cart .row4 .btn-group{
    display: flex;
    gap:10px;
}
.cart .row4 .btn{
    width: auto; height: auto; line-height: normal;
    padding: 10px;
}
.cart .row4 .btn-f{
    color: var(--color-ff);
}
.cart .row4 .btn-s{
    color: var(--color-6c);
}

.cart .cancel{
    position: absolute;
    top: 10px; left: 0;
    font-size: 16px;
}

.cart.active{display: block;}

/* 사이트맵 */
.site-map-m{display: none;}

.site-map-d{
    position: fixed;
    z-index: 90;
    top: -100%; left: 0;
    width: 100%; height: 100vh;
    background-color: white;
    transition: 0.5s;
}
.site-map-d .container{
    display: flex;
    justify-content: space-between;
    width: 100% !important;
    height: 95%;
    max-width: none;
}

.site-map-d .left{
    flex: 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:50px;
    padding-left:100px;
    box-sizing: border-box;
}

.site-map-d .left .menu, .site-map .left .menu-ul{
    display: flex;
}
.site-map-d .left .title{
    color:var(--color-6c);
    font-weight: 800;
    flex: 1;
}
.site-map-d .left .menu-group{flex:9;}
.site-map-d .left .menu-ul strong{
    width: 100px;
    margin-bottom: 20px;
}
.site-map-d .left .menu-li{margin-right: 30px;}


.site-map-d .right{
    flex: 4; padding: 100px;
    border-left: 1px solid #000;
}
.site-map-d .right img{width: 500px;}
.site-map-d .right li{
    color: var(--color-6c); font-weight: 800;
    margin-top: 30px;
}

.site-map-d.active{top: 0;}

@media(max-width:1000px){
    .site-map-d{display: none;}

    .site-map-m{
        display: block;
        width: 100%; height: 100vh;
        position: fixed;
        top: 0; right: 100%;
        background-color: white;
        transition: 0.5s;
    }
    .site-map-m .container{
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        height: 100%;
    }
    .site-map-m .row1{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 0;
    }

    .site-map-m .row1 .item1{
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .site-map-m .row1 .img-box{
        width: 90px; height: 90px;
        border-radius: 50%;
        background-color: var(--color-a4);
    }
    .site-map-m .row1 .iconset{
        width: 20px;
    }

    .site-map-m .row2{
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f2f2f2;
    }
    .site-map-m .row2 .item{
        width: 50%;
        padding: 10px;
    }
    .site-map-m .row2 .item:before{
        content: '';
        display: block;
        width: 1px; height: 10px;
        background-color: var(--color-a4);
        position: absolute;
        top: 50%; left: 0;
        transform: translateY(-50%);
    }
    .site-map-m .row2 .item1::before{
        display: none;
    }
    .site-map-m .row2 .item p{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .site-map-m .row3 .title{
        color: var(--color-6c);
        font-weight: 800;
        padding: 20px 0;
        border-bottom: 1px solid var(--color-6c);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .site-map-m .row3 .menu-ul strong{
        line-height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .site-map-m .row3 .up-arrow{
        position: absolute;
        top: 50%; left: 0;
        transform: translateY(-50%);
        opacity: 0;
    }
    .site-map-m .row3 .menu-li{line-height: 1.6rem;}

    .site-map-m .row4 ul{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
    }

    .site-map-m.arrow .down-arrow{opacity: 0;}
    .site-map-m.arrow .up-arrow{opacity: 1;}

    .site-map-m.active{right: 0;}
}