/* BASIC css start */
/* =========================================================
   AKKINARA MOBILE HEADER / DRAWER - NEW BUILD
   All styles are scoped to akm-* classes.
========================================================= */

.akm-header,
.akm-header *,
.akm-drawer,
.akm-drawer * {
    box-sizing: border-box;
}

.akm-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #fff;
    color: #171717;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Apple SD Gothic Neo", "Noto Sans KR",
                 "Malgun Gothic", sans-serif;
}

/* ---------- top utility ---------- */

.akm-util {
    width: 100%;
    border-bottom: 1px solid #ededed;
    background: #fff;
    overflow: hidden;
    
    
}

.akm-util-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.akm-util-list::-webkit-scrollbar {
    display: none;
}

.akm-util-list > li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.akm-util-list a {
    display: block;
    height: 34px;
    color: #555;
    font-size: 11px;
    font-weight: 500;
    line-height: 34px;
    text-decoration: none;
}

.akm-count {
    color: #8a5a44;
}

/* ---------- main header ---------- */

.akm-mainbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    padding: 0 64px;
    background: #fff;
}

.akm-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 190px;
    height: 56px;
}

.akm-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 50px;
    height: auto;
}

/* hamburger button */

.akm-menu-button {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 12px;
    background: #f5f5f3;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.akm-menu-lines,
.akm-menu-lines::before,
.akm-menu-lines::after {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    margin-left: -10px;
    border-radius: 2px;
    background: #222;
    content: "";
}

.akm-menu-lines {
    top: 20px;
}

.akm-menu-lines::before {
    top: -7px;
}

.akm-menu-lines::after {
    top: 7px;
}

/* cart */

.akm-cart {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border-radius: 12px;
    background: #f5f5f3;
    text-decoration: none;
}

.akm-cart-icon::before {
    position: absolute;
    top: 12px;
    left: 11px;
    width: 18px;
    height: 14px;
    border: 2px solid #222;
    border-top: 0;
    border-radius: 0 0 3px 3px;
    content: "";
}

.akm-cart-icon::after {
    position: absolute;
    top: 8px;
    left: 13px;
    width: 14px;
    height: 8px;
    border: 2px solid #222;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    content: "";
}

.akm-cart-badge {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 10px;
    background: #8a5a44;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

/* ---------- search ---------- */

.akm-search {
    padding: 0 14px 14px;
    background: #fff;
}

.akm-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    overflow: hidden;
    border: 1px solid #dedbd6;
    border-radius: 13px;
    background: #f8f7f5;
}

.akm-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
}

.akm-search-input input {
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 48px 0 15px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 42px !important;
}

.akm-search-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 42px;
}

.akm-search-button span::before {
    position: absolute;
    top: 11px;
    left: 12px;
    width: 14px;
    height: 14px;
    border: 2px solid #222;
    border-radius: 50%;
    content: "";
}

.akm-search-button span::after {
    position: absolute;
    top: 25px;
    left: 27px;
    width: 9px;
    height: 2px;
    transform: rotate(45deg);
    transform-origin: left center;
    border-radius: 2px;
    background: #222;
    content: "";
}

/* =========================================================
   drawer
========================================================= */

.akm-drawer {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Apple SD Gothic Neo", "Noto Sans KR",
                 "Malgun Gothic", sans-serif;
}

.akm-drawer.is-open {
    display: block;
}

.akm-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.46);
}

.akm-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(88vw, 420px);
    height: 100%;
    overflow: hidden;
    background: #fff;
    box-shadow: 10px 0 30px rgba(0,0,0,.16);
    transform: translateX(-100%);
    transition: transform .24s ease;
}

.akm-drawer.is-open .akm-drawer-panel {
    transform: translateX(0);
}

.akm-drawer-head {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding: 18px 64px 16px 18px;
    border-bottom: 1px solid #ece8e3;
    background: #fff;
}

.akm-drawer-title {
    display: block;
    color: #171717;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.akm-drawer-subtitle {
    margin: 6px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.4;
}

.akm-close-button {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f4f3f1;
    cursor: pointer;
}

.akm-close-button span::before,
.akm-close-button span::after {
    position: absolute;
    top: 19px;
    left: 10px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #222;
    content: "";
}

.akm-close-button span::before {
    transform: rotate(45deg);
}

.akm-close-button span::after {
    transform: rotate(-45deg);
}

/* ---------- account shortcuts ---------- */

.akm-account {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    border-bottom: 1px solid #ece8e3;
    background: #ece8e3;
}

.akm-account a {
    display: block;
    height: 44px;
    background: #faf9f7;
    color: #393939;
    font-size: 12px;
    font-weight: 600;
    line-height: 44px;
    text-align: center;
    text-decoration: none;
}

/* ---------- category tree ---------- */

.akm-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.akm-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.akm-nav li {
    position: relative;
    margin: 0;
    padding: 0;
}

.akm-nav li > a {
    display: block;
    min-height: 50px;
    padding: 0 54px 0 18px;
    border-bottom: 1px solid #efefef;
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 700;
    line-height: 50px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.akm-nav li > div {
    display: none;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: #f8f7f5 !important;
}

.akm-nav li.akm-open > div {
    display: block;
}

.akm-nav li > div > ul > li > a {
    min-height: 46px;
    padding-left: 30px;
    background: #f8f7f5;
    color: #363636;
    font-size: 13px;
    font-weight: 600;
    line-height: 46px;
}

.akm-nav li > div > ul > li > div {
    background: #efeeeb !important;
}

.akm-nav li > div > ul > li > div > ul > li > a {
    min-height: 43px;
    padding-left: 44px;
    background: #efeeeb;
    color: #555;
    font-size: 12px;
    font-weight: 500;
    line-height: 43px;
}

.akm-expand {
    position: absolute;
    top: 5px;
    right: 8px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.akm-expand::before,
.akm-expand::after {
    position: absolute;
    top: 19px;
    left: 12px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #777;
    content: "";
}

.akm-expand::after {
    transform: rotate(90deg);
    transition: transform .18s ease;
}

.akm-open > .akm-expand::after {
    transform: rotate(0deg);
}

/* ---------- drawer footer ---------- */

.akm-drawer-footer {
    flex: 0 0 auto;

    padding: 12px 16px 14px;

    border-top: 1px solid #ece8e3;

    background: #fff;
}


/* 6 MENU */

.akm-drawer-links {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 6px;
}

.akm-drawer-links a {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 0;
    height: 38px;

    padding: 0 5px;

    border: 1px solid #e2ddd7;
    border-radius: 7px;

    background: #f8f7f5;

    color: #555;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;

    text-align: center;
    text-decoration: none;

    white-space: nowrap;
}


/* CUSTOMER CENTER */

.akm-drawer-tel {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px !important;

    margin-top: 9px;

    border-radius: 7px;

    background: #f3ece7;

    color: #6f4a3a !important;

    font-size: 11px !important;
    line-height: 42px !important;
    font-weight: 600 !important;

    text-align: center;
    text-decoration: none;
}

.akm-drawer-tel strong {
    margin-left: 6px;

    color: #8a5a44;

    font-size: 14px;
    font-weight: 800;
}

/* ---------- state / accessibility ---------- */

html.akm-menu-lock,
body.akm-menu-lock {
    overflow: hidden !important;
    height: 100% !important;
}

.akm-menu-button:focus,
.akm-close-button:focus,
.akm-expand:focus,
.akm-util a:focus,
.akm-nav a:focus,
.akm-account a:focus {
    outline: 2px solid #8a5a44;
    outline-offset: 2px;
}

@media (max-width: 360px) {
    .akm-util-list {
        gap: 14px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .akm-mainbar {
        height: 70px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .akm-logo {
        max-width: 160px;
    }

    .akm-logo img {
        max-height: 45px;
    }
}
/* BASIC css end */

