@charset "UTF-8";

/* ==========================================================================
   화천(HWACHEON) 공식 플랫폼 공통 헤더(Header)
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.5rem;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.navbar {
    position: relative;
    z-index: 1201;
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 1. 좌측 MENU 토글 버튼
   ────────────────────────────────────────────────────────────────────────── */
.nav-left {
    display: flex;
    align-items: center;
}

.btn-menu-label {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #111111;
    transition: opacity 0.25s ease;
    user-select: none;
}

.btn-menu-label:hover {
    opacity: 0.5;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 2. 중앙 브랜드 LOGO
   ────────────────────────────────────────────────────────────────────────── */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.7rem;
    font-family: "Times New Roman", Times, "Batang", serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #111111;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 3. 우측 Login / Cart
   ────────────────────────────────────────────────────────────────────────── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-util-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: #111111;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.25s ease;
}

.nav-util-link:hover {
    opacity: 0.5;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 4. 풀스크린 오버레이 사이드 내비게이션
   ────────────────────────────────────────────────────────────────────────── */
.side_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    color: #111111;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

#menu-toggle:checked ~ .side_menu {
    opacity: 1;
    visibility: visible;
}

.side_menu_menu {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 8rem 2.5rem 5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: left;
    box-sizing: border-box;
}

.menu_group {
    margin-bottom: 2.5rem;
}

.menu_title {
    font-family: 'Jost', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #111111;
    color: #111111 !important;
    letter-spacing: 0.04em;
}

.menu_title a {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit !important;
    color: #111111;
    text-decoration: none;
}

.menu_group a {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0.85rem 0;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu_group a:hover {
    color: #111111;
    transform: translateX(4px);
}

.auth_group {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.auth_group .auth_link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #111111;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 1440px) {
    .navbar {
        padding: 0 3.5rem;
    }
    .side_menu_menu {
        max-width: 1400px;
        gap: 6.25rem;
    }
}

@media (max-width: 1023px) {
    .navbar {
        padding: 0 2rem;
    }
    .side_menu_menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding-top: 7rem;
    }
}

@media (max-width: 767px) {
    .site-header {
        height: 4rem;
    }
    .navbar {
        padding: 0 1.5rem;
    }
    .side_menu_menu {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 6rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}