/* LIVART Header Styles */
#livart_header {
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}

#livart_header .lh_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    padding: 0 20px;
}

/* Logo */
#livart_header .logo {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
#livart_header .logo a {
    display: block;
}
#livart_header .logo img {
    height: 25px;
    /* Adjust based on the actual LIVART logo image aspect ratio */
}

/* Main Navigation */
#livart_header .lh_gnb {
    flex-grow: 1;
    margin-left: 50px;
}
#livart_header .lh_gnb ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}
#livart_header .lh_gnb li a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
#livart_header .lh_gnb li a:hover {
    color: #000;
}

/* Active Menu Item (홈) */
#livart_header .lh_gnb li.active a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
}
/* Close button hidden by default (will show in mobile overlay) */
#livart_header .lh_gnb_close {
    display: none;
}
#livart_header .lh_gnb li.active a:hover {
    color: #fff;
}

/* Right Utility Section */
#livart_header .lh_util {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Search Bar */
#livart_header .lh_search form {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 20px;
    padding: 5px 15px;
    width: 120px;
    height: 40px;
    box-sizing: border-box;
}
#livart_header .lh_search input {
    border: none;
    background: transparent;
    outline: none;
    flex-grow: 1;
    font-size: 14px;
    width: 100%;
}
#livart_header .lh_search button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    padding: 0;
}

/* Icons Matrix */
#livart_header .lh_icons {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}
#livart_header .lh_icons li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 11px;
    gap: 5px;
}
#livart_header .lh_icons li a i {
    font-size: 20px;
    color: #333;
}
#livart_header .lh_icons li a:hover i,
#livart_header .lh_icons li a:hover span {
    color: #000;
}

/* Burger Button Style (Default Hidden) */
#livart_header .lh_burger {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 10px;
}

/* Hide original theme mobile header completely */
#mobile_hd {
    display: none !important;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 1100px) {
    #livart_header .lh_inner {
        height: auto;
        min-height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 15px;
    }
    
    #livart_header .logo {
        margin: 0;
        text-align: center;
    }
    
    #livart_header .lh_util {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 15px;
        position: static; /* Reset from absolute if any */
        transform: none;
    }

    #livart_header .lh_burger {
        display: block;
        position: absolute;
        right: 5px;
        top: 0px;
        padding: 10px;
        z-index: 100;
    }
    
    #livart_header .lh_icons {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    #livart_header .lh_gnb {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        z-index: 10001;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        transform: scale(1.05);
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    #livart_header .lh_gnb.active {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }

    #livart_header .lh_gnb ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin: 0;
        padding: 0;
    }

    #livart_header .lh_gnb ul li {
        width: 100%;
        text-align: center;
    }

    #livart_header .lh_gnb ul li a {
        font-size: 24px;
        font-weight: 500;
        color: #000;
    }

    /* Close Button inside Overlay */
    #livart_header .lh_gnb_close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        font-size: 32px;
        cursor: pointer;
        padding: 10px;
        color: #333;
    }
    
    #livart_header .lh_search form {
        display: none;
    }

    #livart_header .lh_icons li a span {
    }
    
    /* 모바일에서 아코디언 화살표 숨기기 */
    #livart_header .btn_side_toggle {
        display: none !important;
    }
}

