/* ========================================
   Header
======================================== */


/* ----------------------------------------
   Header Utility
======================================== */

.header-util {
    height: 40px;
    border-bottom: 1px solid #ddd;
    line-height: 40px;
}

.header-util .inner {
    height: 100%;

}

.header-util__list {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.header-util__list a {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}


/* ----------------------------------------
   Header Main
======================================== */

.header-main {
    height: 56px;
}

.header-main .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}


/* ----------------------------------------
   Header Menu
======================================== */

.header-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* Hamburger */

.hamburger {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 22px;
    height: 22px;

    padding: 0;
    border: 0;

    background: transparent;

    cursor: pointer;
}

.hamburger span {
    display: block;

    width: 22px;
    height: 3px;

    background: var(--color-primary);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.hamburger span+span {
    margin-top: 12px;
}


/* Hamburger Active */

.hamburger.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.hamburger.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}



/* ----------------------------------------
   Header Actions
======================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: center;

}




/* ----------------------------------------
   Search
======================================== */

.search-wrap {
    margin-top: 10px;
}

.search-box-top {
    display: flex;
    align-items: center;

    width: 100%;
    height: 40px;

    border: 1px solid #ddd;
    border-radius: 4px;

    overflow: hidden;
}

.search-box-top input {
    flex: 1;
    min-width: 0;

    height: 100%;

    padding: 0 15px;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: inherit;
    font-size: 13px;
    color: #111;
	font-weight:bold;
}

.search-box-top input::placeholder {
	font-family: inherit;
	font-weight:500;
    color: #aaa;
}

.search-box-top button {
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;
    border: 0;

    background: transparent;

    cursor: pointer;
}



/* ----------------------------------------
   GNB
======================================== */

.gnb {
    border-bottom: 1px solid #ddd;
}

.gnb .inner {
    overflow-x: auto;
    scrollbar-width: none;
}

.gnb .inner::-webkit-scrollbar {
    display: none;
}

.gnb__list {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    margin-left: -14px;
}

.gnb__item {
    flex: 0 0 auto;
}

.gnb__item a {
    position: relative;
    display: flex;
    align-items: center;

    height: 48px;
    padding: 0 18px;

    white-space: nowrap;

    font-size: 14px;
    font-weight: 700;
}

.gnb__item:first-child a {
    /* padding-left: 0; */
}

.gnb__item:last-child a {
    /* padding-right: 0; */
}





/* GNB Active */

.gnb__list .is-active {
    position: relative;
  

}

.gnb__list .is-active::before{
    position: absolute;
    content: "";
    width: 80%;
    height: 3px;
    background-color: var(--color-primary);
    bottom: 0;
    left:50%;
    transform: translateX(-50%);
}



/* ----------------------------------------
   All Menu
======================================== */

#allMenu {
    display: none;
}

#allMenu.is-open {
    display: block;
}