@charset "utf-8";

/*
 * desktop-top.css
 * PC 공통 상단 / header / GNB / popup / allmenu
 *
 * 기준:
 * - 운영 사이트 홈 렌더링 후 HTML
 * - PC 레거시/신규 캡처 비교
 *
 * 정리 원칙:
 * - header 구조는 운영 HTML의 #hd / .hd_top / .hd_wrapper / #gnb_1 유지
 * - 중복 override selector 제거
 * - 제품/본문/메인 섹션 CSS는 별도 파일에서 관리
 * - 빨간 표시 영역의 상단 가로선 제거
 * - GNB/좌우 인증 아이콘과 공지 팝업 사이에 약간의 여백 확보
 */

/* ==========================================================================
   1. Reset / base
   ========================================================================== */

html {
    overflow-y: scroll;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;
    font-size: 0.75em;
    color: #1c1c20;
    background: #fff;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
    margin: 0;
    padding: 0;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    font-family: 'Malgun Gothic', dotum, sans-serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ul,
ol,
li,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

legend {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999em;
    overflow: hidden;
}

label,
input,
button,
select,
img {
    vertical-align: middle;
}

input,
button {
    margin: 0;
    padding: 0;
    font-family: 'Malgun Gothic', dotum, sans-serif;
    font-size: 1em;
}

button {
    cursor: pointer;
}

p {
    margin: 0;
    padding: 0;
    word-break: break-all;
}

a {
    color: #000;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.clearfix:after {
    content: '';
    display: block;
    clear: both;
}

.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    text-indent: -9999em;
}

.inner_1200 {
    width: 1200px;
    margin: 0 auto;
}

#hd,
#wrapper,
#ft {
    min-width: 1200px;
}

#skip_to_container {
    position: absolute;
    z-index: -1;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   2. Background SVG line
   ========================================================================== */

.svg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 70px;
    overflow: hidden;
}

/* ==========================================================================
   3. Header layout
   ========================================================================== */

#hd {
    position: relative;
    width: 100%;
    background: #fff;
}

/*
 * 운영/신규 캡처 비교 결과:
 * 좌우 원형 인증 아이콘 위에 보이는 가로선은 제거.
 */
#hd:before {
    display: none;
}

#hd_h1 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#hd_wr {
    position: relative;
}

#hd_wr:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

/* ==========================================================================
   4. Header top row: logo / search / song / sns-login
   ========================================================================== */

#hd #hd_wr .hd_top {
    position: relative;
    display: block;
    top: 10px;
    width: 1200px;
    height: 85px;
    margin: 0 auto;
}

/* logo */
#hd #hd_wr #logo {
    position: absolute;
    top: 23px;
    left: 0;
    z-index: 2;
    margin: 0;
}

#logo a,
#logo img {
    display: block;
}

#logo img {
    width: auto;
    max-width: none;
}

/* search */
.hd_sch_wr {
    position: absolute;
    top: 26px;
    left: 425px;
    width: 330px;
    margin: 0;
}

#hd_sch {
    overflow: hidden;
    width: 330px;
    height: 36px;
    border: 1px solid #838383;
    border-radius: 50px;
    background: #fff;
}

#hd_sch form {
    display: block;
    width: 100%;
    height: 100%;
}

#hd_sch #sch_str {
    float: left;
    width: 280px;
    height: 34px;
    padding-left: 15px;
    border: 0;
    border-radius: 30px 0 0 30px;
    outline: none;
    color: #333;
    font-size: 14px;
    line-height: 34px;
}

#hd_sch #sch_str::placeholder {
    color: #777;
}

#hd_sch #sch_submit {
    float: left;
    width: 44px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

#hd_sch #sch_submit img {
    width: 18px;
    max-width: none;
}

/* song icons */
.song {
    position: absolute;
    top: 32px;
    left: 807px;
    display: flex;
    gap: 5px;
    margin: 0;
}

.song img {
    display: block;
    max-width: none;
    cursor: pointer;
}

/* right sns + login */
.hd_topsub-menu {
    position: absolute;
    top: 8px;
    right: 0;
    margin: 0;
}

#hd_wr .sns {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 9px;
}

#hd_wr .sns li {
    margin: 0 1px;
}

#hd_wr .sns li a {
    display: block;
}

#hd_wr .sns li img {
    display: block;
    width: 34px;
    height: 34px;
    max-width: none;
}

.hd_login {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hd_login>li {
    position: relative;
    margin: 0 9px;
    color: #737272;
    font-size: 12px;
    line-height: 14px;
}

.hd_login>li:after {
    content: '';
    position: absolute;
    top: 1px;
    right: -9px;
    width: 1px;
    height: 12px;
    background: #737272;
}

.hd_login>li:first-of-type:after,
.hd_login>li:last-of-type:after {
    display: none;
}

#hd_wr .hd_login>li.login a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #737272;
}

.hd_login>li:last-of-type a {
    color: #007dc3 !important;
}

.hd_login img {
    max-width: none;
}

/* ==========================================================================
   5. Header GNB row
   ========================================================================== */

.hd_wrapper {
    display: flex;
    align-items: center;
    width: 1700px;
    height: 55px;
    margin: 0 auto 8px;
}

.hd_wrapper>img {
    display: block;
    flex: 0 0 auto;
    max-width: none;
}

#gnb_1 {
    width: 1200px;
    margin: 0 auto;
}

#gnb_1 .main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
}

#gnb_1 .main>li {
    position: relative;
    height: 55px;
    padding: 0 11px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 55px;
    white-space: nowrap;
}

#gnb_1 .main>li>a {
    position: relative;
    display: block;
    height: 55px;
    color: #000;
    line-height: 55px;
}

#gnb_1 .main>li>a:after {
    content: '';
    display: none;
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 56px;
    height: 3px;
    background: #000;
    transform: translateX(-50%);
}

#gnb_1 .main>li:hover>a {
    color: #000;
}

#gnb_1 .main>li:hover>a:after,
#gnb_1 .main>li.on>a:after,
#gnb_1 .main>li.active>a:after,
#gnb_1 .main>li.current>a:after {
    display: block;
}

#gnb_1 .main>li.seeall {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#gnb_1 .main>li.seeall img {
    display: block;
    max-width: none;
}

/* ==========================================================================
   6. GNB dropdown
   ========================================================================== */

#gnb_1 .main>li>.sub_menu_wrap {
    display: none;
    position: absolute;
    top: 55px;
    left: 50%;
    z-index: 1005;
    min-width: 158px;
    padding: 10px 0;
    border: 0;
    background: #fff;
    line-height: 1.4;
    text-align: left;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#gnb_1 .main>li:hover>.sub_menu_wrap {
    display: block;
}

#gnb_1 .main>li>.sub_menu_wrap .ulsub {
    display: block;
    margin: 0;
    padding: 0;
}

#gnb_1 .main>li>.sub_menu_wrap li {
    display: block;
    min-width: 158px;
    height: 38px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 38px;
    white-space: nowrap;
}

#gnb_1 .main>li>.sub_menu_wrap li a {
    display: block;
    padding: 0 22px;
    color: #111;
}

#gnb_1 .main>li>.sub_menu_wrap li a:hover {
    color: #007dc3;
    background: #f1fbff;
}

/* 키폰처럼 항목이 긴 메뉴는 폭 확보 */
#gnb_1 .main>li:nth-child(2)>.sub_menu_wrap,
#gnb_1 .main>li:nth-child(2)>.sub_menu_wrap li {
    min-width: 180px;
}

/* 고객센터처럼 항목이 많은 메뉴도 폭 확보 */
#gnb_1 .main>li:nth-child(12)>.sub_menu_wrap,
#gnb_1 .main>li:nth-child(12)>.sub_menu_wrap li {
    min-width: 170px;
}

/* 전체보기 아이콘에는 submenu 규칙 영향 없음 */
#gnb_1 .main>li.seeall>.sub_menu_wrap {
    display: none !important;
}

/* ==========================================================================
   7. All menu
   ========================================================================== */

.allmenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: rgba(255, 255, 255, 0.95);
}

.allmenu .close {
    position: absolute;
    top: 200px;
    right: 300px;
    max-width: none;
    cursor: pointer;
}

.allmenu .gnb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: 1200px;
    margin: 200px auto 0;
}

.allmenu .gnb>li {
    text-align: center;
}

.allmenu .gnb li>a {
    display: block;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}

.allmenu .gnb li .sub a {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
    font-weight: 400;
}

.allmenu .gnb li .sub a:hover {
    color: #007dc3;
}

/* ==========================================================================
   8. Popup notice bar
   ========================================================================== */

#hd_pop {
    width: 100%;
    min-width: 1200px;
    margin: 0;
}

#hd_pop h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.hd_pops {
    border: 0;
    background: transparent;
    height: auto;
}

.hd_pops img {
    max-width: 100%;
}

.hd_pops_con {
    width: 100%;
    height: 80px;
    color: #fff;
    background: url(/images/hd_pop-bg.png) center center / cover no-repeat;
}

.hd_pops_con .pop_inner {
    position: relative;
    width: 1200px;
    /* height: 70px; */
    margin: 0 auto;
    padding: 20px 25px 0;
    text-align: center;
}

.hd_pops_con .pop_inner p {
    color: #fff;
    font-size: 16px;
    /* font-weight: 700; */
    line-height: 1.45;
    word-break: keep-all;
}

.hd_pops_con .pop_inner .hd_pops_close {
    position: absolute;
    top: 6px;
    right: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

/* ==========================================================================
   9. Utility compatibility
   ========================================================================== */

.hide720 {
    display: block;
}