/* BASIC css start */
/* JEJADLE D4 recovered header stylesheet */

#header,
#header * { box-sizing: border-box; }

#header {
    position: relative !important;
    z-index: 50;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fff;
    color: #151b16;
}

#header a { color: inherit; text-decoration: none; }
#header ul { margin: 0; padding: 0; list-style: none; }

/* utility bar */
#header .headerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, calc(100% - 40px));
    min-height: 40px;
    margin: 0 auto;
    color: #667067;
    font-size: 12px;
}

#header .headerTop > ul { display: flex; align-items: center; gap: 19px; }
#header .headerTop .tmenu { position: relative; }
#header .headerTop .tmenu > a,
#header .headerTop .menuRight > li > a {
    display: flex;
    align-items: center;
    min-height: 40px;
    font-size: 12px;
    white-space: nowrap;
}

#header .depth2 {
    display: none;
    position: absolute;
    z-index: 80;
    top: 100%;
    left: -15px;
    min-width: 190px;
    padding: 10px 0;
    border: 1px solid #dfe6df;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 50, 23, .12);
}

#header .depth2 li a {
    display: block;
    padding: 8px 15px;
    color: #4d574e;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}
#header .depth2 li a:hover { background: #eff7f0; color: #176526; }

/* brand/search row */
#header .headerMid { border-top: 1px solid #f0f3f0; }
#header .headerMainInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: min(1200px, calc(100% - 40px));
    min-height: 116px;
    margin: 0 auto;
}

#header .headerBrand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 13px;
}
#header .mainLogo { display: block; flex: 0 0 auto; }
#header .mainLogo img { display: block; width: 122px; height: 70px; object-fit: contain; }

#header .brandText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 255px;
    white-space: nowrap;
}
#header .brandText > strong {
    margin-bottom: 2px;
    color: #111711;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.6px;
}
#header .brandText > a[href^="tel:"],
#header .brandText > .brandPhone {
    display: block !important;
    margin: 0 !important;
    color: #101510 !important;
    font-size: 45px !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
    letter-spacing: -1.6px !important;
    white-space: nowrap !important;
}
#header .brandText > span {
    margin-top: 3px;
    color: #566056;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: -.45px;
}

#header .srchArea {
    flex: 0 0 400px;
    width: 400px;
    min-width: 400px;
    margin-left: 0;
}
#header .search,
#header .search form,
#header .search fieldset {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#header .srchArea > .search,
#header .srchArea > .search > form {
    flex: 0 1 auto !important;
}
#header .search fieldset {
    position: relative;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 2px solid #217033;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
}
#header .MS_search_word {
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 58px 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #263027;
    font-size: 13px !important;
    line-height: 44px !important;
    box-shadow: none !important;
}
#header .btn_search {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 46px;
    background: #176526;
    color: #fff;
    font-size: 25px;
}

#header .headerQuick {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 25px;
    margin-left: 0;
}
#header .headerQuick > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    color: #111711;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
#header .headerQuick i { margin-bottom: 5px; font-size: 25px; }
#header .headerQuick em {
    position: absolute;
    top: -5px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #217033;
    color: #fff;
    font-size: 10px;
    line-height: 17px;
    text-align: center;
}

/* navigation row */
#header .headerBtm { border-top: 1px solid #e7ece7; border-bottom: 1px solid #e1e7e1; background: #fff; }
#header .headerGnb {
    display: flex;
    align-items: stretch;
    width: min(1200px, calc(100% - 40px));
    height: 54px;
    margin: 0 auto;
}
#header .menuAll { flex: 0 0 180px; }
#header .menuAllBtn {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 20px;
    background: #176526;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
#header .menuAllBtn i { font-size: 20px; }

#header .cateWrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
}
#header .cateWrap > .tmenu {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
}
#header .cateWrap > .tmenu > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
    color: #222923;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
#header .cateWrap > .tmenu > a:hover { color: #176526; }
#header .cateWrap .depth2 { top: 53px; left: 0; }
#header .gnbCustomer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 110px;
    margin-left: auto;
    color: #176526;
    font-size: 14px;
    font-weight: 800;
}

/* Scroll state: fix only the lower category navigation bar */
#header.headerFix {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
}
#header.headerFix .headerBtm {
    position: fixed !important;
    z-index: 200 !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 14px rgba(18, 50, 24, .10);
}
body.isHeaderFixed .headerFixSpace {
    display: block !important;
    width: 100% !important;
    height: 54px !important;
}
body:not(.isHeaderFixed) .headerFixSpace {
    height: 0 !important;
}

/* all-category layer */
.allMenu {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow-y: auto;
    padding: 70px 20px;
    background: rgba(12, 22, 14, .55);
}
.allMenuWrap {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 28px 34px 36px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.allMenuHead { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 2px solid #176526; }
.allMenuHead strong { font-size: 22px; font-weight: 900; }
.allMenuHead .closeBtn { font-size: 28px; }
.allMenuList { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 24px; padding-top: 25px; }
.allMenuList dt { margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.allMenuList dd { margin: 0 0 8px; }
.allMenuList dd a { color: #667067; font-size: 12px; }

.topBtn {
    display: none;
    position: fixed;
    z-index: 70;
    right: 22px;
    bottom: 90px;
    width: 46px;
    height: 46px;
    border: 1px solid #dce4dc;
    border-radius: 50%;
    background: #fff;
    color: #176526;
    font-size: 23px;
    line-height: 46px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(16,55,24,.12);
}

/* Kakao chat must float at the lower-right, never inside page flow */
.kakao-btn,
#kakao-talk-channel-chat-button {
    position: fixed !important;
    z-index: 90 !important;
    right: 20px !important;
    bottom: 22px !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

@media screen and (max-width: 1100px) {
    #header .headerMainInner { gap: 0; }
    #header .brandText { min-width: 205px; }
    #header .brandText > a[href^="tel:"],
#header .brandText > .brandPhone { font-size: 34px !important; }
    #header .brandText > span { font-size: 12px; }
    #header .srchArea { flex-basis: 300px; width: 300px; min-width: 300px; }
    #header .headerQuick { gap: 15px; margin-left: 0; }
    #header .cateWrap > .tmenu > a { padding: 0 12px; }
}

@media screen and (max-width: 767px) {
    #header .headerTop { display: none; }
    #header .headerMainInner {
        flex-wrap: wrap;
        gap: 14px 12px;
        width: calc(100% - 28px);
        padding: 16px 0;
    }
    #header .headerBrand { width: 100%; }
    #header .mainLogo img { width: 84px; height: auto; }
    #header .brandText { min-width: 0; }
    #header .brandText > strong { font-size: 13px; }
    #header .brandText > a[href^="tel:"],
#header .brandText > .brandPhone { font-size: 28px !important; }
    #header .brandText > span { display: none; }
    #header .srchArea { flex: 1 1 auto; width: auto; min-width: 0; }
    #header .srchArea { margin-left: 0; }
    #header .headerQuick { gap: 10px; margin-left: 0; }
    #header .headerQuick > a { min-width: 32px; }
    #header .headerQuick > a:nth-child(1),
    #header .headerQuick > a:nth-child(3) { display: none; }
    #header .headerQuick i { font-size: 22px; }
    #header .headerQuick span { font-size: 10px; }
    #header .headerGnb { width: 100%; height: 48px; }
    #header .menuAll { flex-basis: 54px; }
    #header .menuAllBtn { justify-content: center; height: 48px; padding: 0; }
    #header .menuAllBtn span { display: none; }
    #header .cateWrap { justify-content: flex-start; overflow-x: auto; }
    #header .cateWrap > .tmenu > a { height: 48px; padding: 0 13px; font-size: 13px; }
    #header .gnbCustomer { display: none; }
    body.isHeaderFixed .headerFixSpace { height: 48px !important; }
    .kakao-btn,
    #kakao-talk-channel-chat-button {
        right: 14px !important;
        bottom: 14px !important;
    }
    .allMenu { padding: 20px 12px; }
    .allMenuWrap { padding: 22px 18px; }
    .allMenuList { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 14px; }
}

/* BASIC css end */

