/* ==========================================
   모든 페이지 공통 적용 커스텀 헤더 디자인 (header.css)
========================================== */
.luna-custom-header {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 18px 20px;
    font-family: 'Noto Sans KR', sans-serif;
}

.luna-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.luna-header-brand a {
    font-size: 22px;
    font-weight: 700;
    color: #1a2536 !important;
    text-decoration: none !important;
    letter-spacing: -0.5px;
}

.luna-header-brand a span {
    font-weight: 300;
    color: #8c836e;
    font-size: 19px;
    margin-left: 2px;
}

.luna-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 35px !important;
}

.luna-menu-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.luna-menu-list a {
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
}

.luna-menu-list a:hover {
    color: #8c836e !important;
}

.luna-menu-list .current-menu-item a,
.luna-menu-list .current-page-ancestor a {
    color: #1a2536 !important;
    font-weight: 700;
}

/* 이미지 로고 + 브랜드 글자 동시 노출 정밀 정렬 */
.luna-header-brand a {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    text-decoration: none !important;
}

.luna-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.luna-logo-text {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a !important;
    letter-spacing: -0.8px;
    line-height: 1;
    text-shadow: 0 0 1px rgba(15, 23, 42, 0.1);
}

.luna-logo-text span {
    font-weight: 500;
    color: #78350f !important;
    font-size: 19px;
    margin-left: 4px;
}

/* 헤더 모바일 반응형 환경 최적화 */
@media (max-width: 768px) {
    .luna-custom-header {
        padding: 15px;
    }
    .luna-header-container {
        flex-direction: column;
        gap: 12px;
    }
    .luna-menu-list {
        gap: 20px !important;
    }
    .luna-menu-list a {
        font-size: 14.5px;
    }
    .luna-logo-text {
        font-size: 19px;
        letter-spacing: -0.5px;
    }
    .luna-logo-text span {
        font-size: 16px;
        font-weight: 500;
    }
}

/* 우커머스의 이미지 강제 확장 설정 무력화 */
.luna-custom-header .woocommerce img, 
.luna-custom-header .woocommerce-page img,
.luna-custom-header img {
    height: 48px !important;    /* 본래 의도한 크기로 고정 */
    width: auto !important;     /* 비율 유지 */
    max-width: none !important; /* 우커머스 max-width: 100% 무시 */
}