.main-header-top {
    background: var(--header-bg);
    padding: 20px;
    color: var(--text-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .main-header-top {
        padding: 10px 20px;
    }
}

.main-header-top img {
    width: 100%;
    max-width: 100%;
}

.main-header-top .header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-right-sp {
    display: none;
}

@media (max-width: 1128px) {
    .header-menu-btn.pc {
        display: none;
    }

    .header-right-sp {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .header-right-sp a {
        font-size: 26px;
        color: var(--text-color);
    }
}

.header-menu-btn:hover {
    opacity: 0.7;
    transform: scale(1.08);
}

.header-logo {
    display: flex;
    align-items: center;
}

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

@media (max-width: 768px) {
    .header-logo img {
        max-width: 150px;
    }
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right .header-items {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-right .header-items li a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.2s ease, color 0.2s ease;
}

.header-right .header-items li a:hover {
    transform: scale(1.08);
    text-shadow: 0 4px 5px #1e5631;
}

.header-right .header-items li img.custom-logo {
    width: 20px;
}

.header-user-point {
    padding: 5px 10px;
    background: var(--main-color);
    color: #fff;
    border-radius: 10px;
}

.header-user-point .point-num {
    color: #ffa94d;
}

@media screen and (max-width: 1128px) {
    .header-right .header-items {
        display: none;
    }
}


.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SIDEBAR MENU */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -375px;
    width: 100%;
    max-width: 375px;
    height: 100vh;
    background-color: var(--header-bg);
    color: #1e5631;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #1e5631 transparent;
}

.sidebar-menu::-webkit-scrollbar {
    width: 5px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background-color: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background-color: #1e5631;
    border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background-color: #143d22;
}

@media screen and (max-width: 500px) {
    .sidebar-menu {
        max-width: 100%;
        left: -100%;
    }
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #1e5631;
    background-color: transparent;
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px 30px;
}

.sidebar-logo img {
    max-width: 150px;
    height: auto;
}

.sidebar-nav {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(30, 86, 49, 0.2);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav li a {
    display: flex;
    padding: 15px 0;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1e5631;
    font-weight: 500;
    transition: padding-left 0.2s ease, color 0.2s ease, all 0.3s ease;
}

.sidebar-nav li a img.custom-logo {
    width: 12px;
}

.sidebar-nav li a:hover {
    padding-left: 10px;
    text-shadow: 0 2px 3px #1e5631;
    font-weight: 700;
}

.sidebar-menu .nav-title {
    display: flex;
    padding-left: 30px;
    font-size: 20px;
    font-weight: 700;
    padding-top: 10px;
    align-items: center;
}

.sidebar-menu .nav-title img {
    width: 12px;
}
