/* BASIC css start */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin-top: 68px;
    min-width: 320px;
}

/* 헤더 */
#header {
    width: 100%;
    height: 68px;
    position: fixed;
    top: 0;
    transition: all .4s;
    z-index: 30;
    background-color: rgba(255, 255, 255, .5);
}

#header.bg {
    background: none;
    transition: all .4s;
}

#header.bg .head_inner nav > ul > li > a {
    color: #fff;
    transition: color .4s;
}

#header .head_inner {
    width: 95%;
    max-width: 1750px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 네비게이션 */
#header .head_inner nav > ul {
    display: flex;
    gap: 18px;
}

#header .head_inner nav > ul > li {
    display: inline-block;
    height: 68px;
}

#header .head_inner nav > ul > li > a {
    color: #000;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 68px;
    transition: color .4s;
}

#header .head_inner nav > ul > li.li_menu ul.sub_m {
    position: absolute;
    left: 50%;
    top: 68px;
    background-color: rgba(255, 255, 255, .5);
    transform: translateX(-50%);
    display: none;
    width: 160px;
    text-align: center;
}

/* 장바구니 아이콘 */
#header .head_inner .user_m ul {
    display: flex;
    align-items: center;
    gap: 11px;
}

#header .head_inner .user_m ul li.li_cart a {
    position: relative;
}

#header .head_inner .user_m ul li.li_cart a span {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 10px;
    line-height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* 어사이드 */
aside {
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    width: 310px;
    background-color: #fff;
    top: 0;
    right: -310px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all .7s;
    opacity: 0;
    z-index: 40;
}

aside.show {
    right: 0;
    opacity: 1;
    transition: all .5s;
}

/* 서치창 */
.search_area {
    opacity: 0;
    display: none;
    z-index: 42;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    height: 200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.424);
    border-radius: 25px;
    transition: all .5s;
}

.search_area.show {
    display: block;
    opacity: 1;
}

.search_bg {
    opacity: 0;
    transition: all .5s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .23);
    z-index: 41;
    display: none;
}

.search_bg.show {
    display: block;
    opacity: 1;
}

/* 다찾다 검색 파인더 */
#allfinder-layer {
    z-index: 9999;
    position: fixed;
    top: 50px;
    right: 110px;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}

.all-finder-layer .finder-body {
    width: 98%;
    max-width: 1000px;
    padding: 35px 20px;
    max-height: 800px;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid #666;
    background: #fff;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    #header .head_inner {
        width: 100%;
        padding: 0 10px;
    }

    aside {
        width: 100%;
        right: -100%;
    }

    .search_area {
        width: 90%;
    }

    #allfinder-layer {
        top: 20px;
        right: 5%;
        width: 90%;
    }
}

@media (max-width: 768px) {
    #header .head_inner nav > ul {
        display: block;
        text-align: center;
    }

    #header .head_inner .user_m ul {
        display: block;
        text-align: center;
    }

    aside .asi_inner {
        width: 90%;
        padding: 10px;
    }

    .search_area {
        width: 80%;
    }

    #allfinder-layer {
        width: 85%;
        right: 7.5%;
    }
}

/* BASIC css end */

