/* =============================================
   LIFEMAGIC HEADER STYLE
   ============================================= */

/* 기본 리셋 */
#header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: none;
    z-index: 1000;
    padding-bottom: 0 !important;
}

#header.gnb_up {
    top: -80px !important;
    transition: top 0.3s ease;
}

/* GNB 전체 래퍼 */
.gnb_wrap {
    width: 100%;
}

/* 헤더 내부 레이아웃 */
.gnb_wrap .hd_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
}

/* =============================================
   로고
   ============================================= */
.hd_logo_wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.hd_logo_wrap a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hd_logo_default {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hd_logo_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
    flex-shrink: 0;
}

.hd_logo_icon svg {
    display: block;
}

.hd_logo_text {
    font-size: 17px;
    font-weight: 800;
    color: #0f0f0f;
    letter-spacing: 0.5px;
    font-family: 'font-B', sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

/* 모바일 패널 로고 */
.hd_m_panel_logo .hd_logo_default {
    gap: 8px;
}

.hd_m_panel_logo .hd_logo_icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.hd_m_panel_logo .hd_logo_icon svg {
    width: 14px;
    height: 14px;
}

.hd_m_panel_logo .hd_logo_text {
    font-size: 15px;
}

/* =============================================
   GNB 네비게이션
   ============================================= */
.hd_nav_wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hd_nav_wrap nav {
    background: transparent;
}

.hd_gnb_ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hd_gnb_ul > li {
    position: relative;
}

.hd_gnb_ul > li > a {
    display: block;
    padding: 0 18px;
    height: 64px;
    line-height: 64px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'font-B', sans-serif;
    transition: color 0.2s;
}

.hd_gnb_ul > li > a:hover,
.hd_gnb_ul > li.active > a {
    color: #7C5CFC;
}

/* 2차 드롭다운 */
.hd_gnb_ul > li .cbp-hrsub {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    padding: 12px 0;
    min-width: 140px;
    z-index: 999;
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hd_gnb_ul > li:hover .cbp-hrsub {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cbp-hrsub-inner {
    padding: 0;
}

.cbp-hrsub-inner > div > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cbp-hrsub-inner > div > ul > li {
    position: relative;
}

.cbp-hrsub-inner > div > ul > li > a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-family: 'font-R', sans-serif;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.cbp-hrsub-inner > div > ul > li > a:hover {
    background: #f8f5ff;
    color: #7C5CFC;
}

/* 3차 드롭다운 */
.cbp-hrsub-3 {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    left: 100%;
    top: -6px;
    background-color: #fff;
    min-width: 130px;
    padding: 12px 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    border: 1px solid #f0f0f0;
    transform: translate3d(4px, 0, 0);
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.cbp-hrsub-inner > div > ul > li:hover > .cbp-hrsub-3 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.cbp-hrsub-3 dd {
    margin: 0;
    padding: 0;
}

.cbp-hrsub-3 dd a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-family: 'font-R', sans-serif;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.cbp-hrsub-3 dd a:hover {
    background: #f8f5ff;
    color: #7C5CFC;
}

/* 3차 메뉴 아이콘 */
.cbp-hrsub-inner > div > ul > li > i {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.2s;
}

.cbp-hrsub-inner > div > ul > li:hover > i {
    opacity: 0.8;
    color: #7C5CFC;
}

/* =============================================
   우측 SNB
   ============================================= */
.hd_snb_wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 로그인 링크 */
.hd_login_link {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    font-family: 'font-R', sans-serif;
    padding: 0 4px;
    transition: color 0.2s;
    white-space: nowrap;
}

.hd_login_link:hover {
    color: #7C5CFC;
}

/* 회원 정보 */
.hd_member_area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd_member_nick a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-family: 'font-B', sans-serif;
}

/* =============================================
   아이콘 버튼 공통 (쪽지 / 스크랩 / 검색)
   ============================================= */
.hd_icon_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.hd_icon_btn:hover {
    background: #f4f0ff;
    color: #7C5CFC;
}

.hd_icon_btn svg {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hd_icon_btn:hover svg {
    opacity: 1;
}

/* 배지 */
.hd_icon_badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #7C5CFC;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    font-family: 'font-B', sans-serif;
}

/* 쪽지 버튼 (기존 클래스 호환) */
.hd_memo_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.hd_memo_btn:hover {
    background: #f4f0ff;
}

.hd_memo_btn svg {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hd_memo_btn:hover svg {
    opacity: 1;
}

.hd_memo_btn .memo_badge,
.hd_memo_btn .hd_icon_badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #7C5CFC;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    font-family: 'font-B', sans-serif;
}

/* CTA 버튼 */
.hd_cta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'font-B', sans-serif;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: -0.2px;
}

.hd_cta_btn:hover {
    background: #7C5CFC;
    color: #fff;
    transform: translateY(-1px);
}

/* 내 정보 버튼 */
.hd_my_btn {
    position: relative;
}

.hd_my_ovray_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    font-family: 'font-B', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.hd_my_ovray_btn:hover,
.hd_my_ovray_btn.is_open {
    border-color: #7C5CFC;
    background: #f8f5ff;
    color: #7C5CFC;
}

.hd_my_ovray_btn .arr_ico {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: transform 0.2s;
}

.hd_my_ovray_btn.is_open .arr_ico {
    transform: rotate(180deg);
    opacity: 1;
}

/* =============================================
   내 정보 패널
   ============================================= */
.rb_my_panel {
    display: none;
    position: fixed;
    min-width: 230px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
    padding: 20px;
    z-index: 9999;
    border: 1px solid #f0f0f0;
}

#rb_my_panel[aria-hidden="true"] { display: none; }
#rb_my_panel.is_open { display: block; }

.rb_my_panel_row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb_my_panel_row .rb_my_p_ul1 img {
    height: 42px;
    width: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.rb_my_p_ul2 li { float: none; }

.my_p_flex {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rb_my_p_btn {
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
    background-color: #f4f0ff !important;
    border: 0 !important;
    border-radius: 8px;
    text-align: center;
    color: #7C5CFC !important;
    font-size: 13px;
    font-family: 'font-B', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.rb_my_p_btn:hover {
    background-color: #e8e0ff !important;
}

.rb_my_p_btn_w {
    background-color: #fff !important;
    border: 1px solid #eee !important;
    color: #555 !important;
}

.rb_my_p_btn_w:hover {
    background-color: #f9f9f9 !important;
    border-color: #ccc !important;
}

.rb_my_p_ul2.flex_r { margin-left: auto; }
.rb_my_p_ul1.flex_l { margin-right: auto; }

.rb_my_panel_line {
    border-top: 1px solid #f0f0f0;
    margin-top: 12px;
}

/* =============================================
   모바일 토글 버튼
   ============================================= */
.hd_tog_btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hd_tog_btn:hover {
    background: #f4f0ff;
}

/* =============================================
   PC / 모바일 표시 제어
   ============================================= */
.mobile_only { display: none !important; }
.pc_only     { display: inline-flex !important; }

/* =============================================
   모바일 검색바
   ============================================= */
.hd_mobile_search {
    display: none;
    padding: 0 14px 10px;
    background: #fff;
    border-top: 1px solid #f5f5f5;
}

.hd_mobile_search.active {
    display: block;
}

.hd_mobile_search_inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 0 14px;
    height: 44px;
}

.hd_mobile_search_ico {
    flex-shrink: 0;
    opacity: 0.4;
}

.hd_mobile_search_inner input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #222;
    outline: none;
    font-family: 'font-R', sans-serif;
}

.hd_mobile_search_inner input::placeholder {
    color: #aaa;
    font-family: 'font-R', sans-serif;
}

.hd_mobile_search_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.hd_mobile_search_close:hover {
    opacity: 1;
}

/* =============================================
   번역
   ============================================= */
#google_notranslate_top {
    margin-left: 0 !important;
    position: relative;
}

.translation-links {
    top: 28px !important;
    right: -17px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10) !important;
    border-radius: 12px !important;
}

.translation-links a {
    margin-top: 2px;
    margin-bottom: 2px;
    display: block;
}

.translation-links::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* =============================================
   모바일 전체 메뉴 (Drawer)
   ============================================= */
.hd_mobile_drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
}

.hd_mobile_drawer.active {
    display: block;
}

.hd_mobile_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hd_mobile_panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    padding: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.10);
}

.hd_mobile_drawer.active .hd_mobile_panel {
    transform: translateX(0);
}

/* 패널 상단 */
.hd_m_panel_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.hd_m_panel_logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hd_m_close_btn {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hd_m_close_btn:hover {
    background: #ede8ff;
}

/* 회원 영역 */
.hd_m_member_area {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #faf9ff;
}

.hd_m_member_area .hd_m_nick {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    font-family: 'font-B', sans-serif;
}

.hd_m_member_area .hd_m_sub {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
    font-family: 'font-R', sans-serif;
}

.hd_m_member_btns {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.hd_m_member_btns a,
.hd_m_member_btns button {
    flex: 1;
    height: 34px;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'font-B', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hd_m_member_btns .btn_mini_outline {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.hd_m_member_btns .btn_mini_outline:hover {
    border-color: #7C5CFC;
    color: #7C5CFC;
}

.hd_m_member_btns .btn_mini_fill {
    background: #7C5CFC;
    border: none;
    color: #fff;
}

.hd_m_member_btns .btn_mini_fill:hover {
    background: #6a4de0;
}

/* 비회원 */
.hd_m_guest_area {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.hd_m_guest_area a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 10px;
    background: #7C5CFC;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'font-B', sans-serif;
    text-decoration: none;
    transition: background 0.2s;
}

.hd_m_guest_area a:hover {
    background: #6a4de0;
}

/* GNB 메뉴 리스트 */
.hd_m_gnb_list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.hd_m_gnb_list > li {
    border-bottom: 1px solid #f8f8f8;
}

.hd_m_gnb_list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    font-family: 'font-B', sans-serif;
    transition: color 0.2s, background 0.2s;
}

.hd_m_gnb_list > li > a:hover,
.hd_m_gnb_list > li > a.is_open {
    color: #7C5CFC;
    background: #faf8ff;
}

.hd_m_gnb_list > li > a .arr {
    width: 16px;
    height: 16px;
    opacity: 0.35;
    transition: transform 0.2s, opacity 0.2s;
}

.hd_m_gnb_list > li > a.is_open .arr {
    transform: rotate(90deg);
    opacity: 0.8;
}

/* 2차 메뉴 */
.hd_m_sub_list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 6px 0;
    background: #faf9ff;
}

.hd_m_sub_list.open {
    display: block;
}

.hd_m_sub_list > li > a {
    display: block;
    padding: 10px 20px 10px 32px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    font-family: 'font-R', sans-serif;
    transition: color 0.2s;
}

.hd_m_sub_list > li > a:hover {
    color: #7C5CFC;
}

/* 3차 메뉴 */
.hd_m_sub3_list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 6px 0;
    background: #f4f2ff;
}

.hd_m_sub3_list.open {
    display: block;
}

.hd_m_sub3_list > li > a {
    display: block;
    padding: 8px 20px 8px 44px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    font-family: 'font-R', sans-serif;
}

.hd_m_sub3_list > li > a:hover {
    color: #7C5CFC;
}

/* 하단 링크 */
.hd_m_bottom_links {
    padding: 16px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
}

.hd_m_bottom_links a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #888;
    text-decoration: none;
    font-family: 'font-R', sans-serif;
    transition: color 0.2s;
}

.hd_m_bottom_links a:hover {
    color: #7C5CFC;
}

/* CTA 모바일 */
.hd_m_cta_wrap {
    padding: 0 20px 8px;
}

.hd_m_cta_wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 30px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'font-B', sans-serif;
    text-decoration: none;
    transition: background 0.2s;
}

.hd_m_cta_wrap a:hover {
    background: #7C5CFC;
}

/* =============================================
   반응형
   ============================================= */
@media (max-width: 1024px) {
    .gnb_wrap .hd_inner {
        height: 56px;
        padding: 0 18px;
        gap: 12px;
    }

    .hd_nav_wrap {
        display: none;
    }

    .hd_tog_btn {
        display: flex;
    }

    .hd_snb_wrap .hd_member_area {
        display: none;
    }

    .hd_snb_wrap .hd_login_link {
        display: none;
    }

    .hd_snb_wrap {
        gap: 8px;
    }

    .hd_cta_btn {
        display: none !important;
    }

    .hd_my_btn {
        display: none !important;
    }

    /* PC/모바일 전환 */
    .mobile_only { display: flex !important; }
    .pc_only     { display: none !important; }

    .hd_logo_icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .hd_logo_icon svg {
        width: 14px;
        height: 14px;
    }

    .hd_logo_text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .gnb_wrap .hd_inner {
        padding: 0 14px;
    }
}

/* =============================================
   PC / 모바일 표시 제어 (추가)
   ============================================= */
.mobile_only { display: none !important; }
.pc_only     { display: inline-flex !important; }

@media (max-width: 1024px) {
    .mobile_only { display: flex !important; }
    .pc_only     { display: none !important; }

    /* 모바일에서 기존 CTA, 내정보 버튼 숨김 */
    .hd_cta_btn  { display: none !important; }
    .hd_my_btn   { display: none !important; }
}

/* =============================================
   아이콘 버튼 공통 (스크랩 / 검색) (추가)
   ============================================= */
.hd_icon_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.hd_icon_btn:hover {
    background: #f4f0ff;
    color: #7C5CFC;
}

.hd_icon_btn svg {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hd_icon_btn:hover svg {
    opacity: 1;
}

.hd_icon_badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #7C5CFC;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    font-family: 'font-B', sans-serif;
}

/* =============================================
   모바일 검색바 (추가)
   ============================================= */
.hd_mobile_search {
    display: none;
    padding: 0 14px 10px;
    background: #fff;
    border-top: 1px solid #f5f5f5;
}

.hd_mobile_search.active {
    display: block;
}

.hd_mobile_search_inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 0 14px;
    height: 44px;
}

.hd_mobile_search_ico {
    flex-shrink: 0;
    opacity: 0.4;
}

.hd_mobile_search_inner input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #222;
    outline: none;
    font-family: 'font-R', sans-serif;
}

.hd_mobile_search_inner input::placeholder {
    color: #aaa;
    font-family: 'font-R', sans-serif;
}

.hd_mobile_search_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.hd_mobile_search_close:hover {
    opacity: 1;
}

#contents_wrap {
    padding-top: 0 !important;
}

@media (max-width: 1024px) {
    .gnb_wrap .hd_inner {
        justify-content: flex-start;
    }

    .hd_logo_wrap {
        margin-left: 8px;
    }

    .hd_snb_wrap {
        margin-left: auto;
    }
}

@media (max-width: 1024px) {
    #header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }

    #header.gnb_up {
        top: 0 !important;
    }

    #contents_wrap {
        padding-top: 56px !important;
    }
}

