/* ===== 헤더 통합 CSS ===== */

/* 전역 body 패딩 */
body {
    padding-top: 130px;
}

/* ===== PC 헤더 ===== */
#header {
    width: 100%;
    height: 130px;
    position: fixed;
    background: #fff;
    z-index: 9999;
    top: 0;
    left: 0;
    border-bottom: 1px solid #E5E5E5;
}

.header_top {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid #E5E5E5;
}

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

.wrap_util .list {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #3146DB;
    /* 반응형 로고 스타일 */
    margin-top: calc(100vw * (25/ 1400));
}

/* ===== 네비게이션 ===== */
#header nav {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_depth {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.main_depth .list {
    position: relative;
    padding: 0 30px;
    height: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.main_depth .list:hover {
    color: #3146DB;
    background-color: #f8f9fa;
}

/* ===== 서브 메뉴 ===== */
.depth_bg {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-top: none;
    display: none;
    z-index: 1000;
}

.main_depth > .list:hover .depth_bg {
    display: block;
}

.sec_depth {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sec_depth .list {
    border-bottom: 1px solid #f0f0f0;
}

.sec_depth .list:last-child {
    border-bottom: none;
}

.sec_depth .list a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.sec_depth .list a:hover {
    background-color: #f8f9fa;
    color: #3146DB;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 네비 sec_depth */
nav .depth_bg {
    background: #fff;
    width: 100%;
    padding: 30px 0;
    display: none;
    top: 150px;
    left: 0;
    position: absolute;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

nav .depth_wrap {
    width: 1080px;
    display: flex;
    margin: auto;
}

nav .sec_depth {
    width: 135px;
}

nav .sec_depth .list {
    font-size: 12px !important;
    font-weight: bold !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    cursor: pointer;
    position: static !important;
    color: #000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: keep-all !important;
    word-wrap: normal !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
}

/* 헤더 CSS는 header.css로 이동됨 */
.nav .main_depth {
    width: 1276px; /* 배너 상품과 동일한 너비 설정 */
    margin: 0 auto; /* 중앙 정렬 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav .main_depth .list {
    position: relative;
    padding: 0px 20px;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
} 

/* 헤더 CSS는 header.css로 이동됨 */
.nav .main_depth .list:first-child {
    /* border-left: 1px solid white; */
}
.nav .main_depth .list:last-child {
    /* border-right: 1px solid black; */
}
.nav .main_depth .list:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* 세로 가운데 정렬 */
    height: 60%; /* 기존 80%보다 줄여서 세련된 느낌 */
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}
/* GNB 메인 메뉴 Hover 시 */
.nav .main_depth .list:hover {
    color: #FFD700; /* 마우스 오버 시 골드 색상 강조 */
    background-color: rgba(255, 255, 255, 0.2); /* 배경을 약간 밝게 */
    border-radius: 5px; /* 부드러운 테두리 효과 */
}

/* 서브 카테고리 배경 */
.nav .depth_bg {
    display: none !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #ffffff !important;
    z-index: 1000 !important;
    padding: 10px 0 !important;
    width: 182px !important;
    position: absolute !important;
    min-height: 200px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
}

/* 마우스 오버 시 서브 카테고리 표시 */
.nav .main_depth .list:hover .depth_bg {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 서브 카테고리 리스트 */
.nav .depth_bg .sec_depth {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-grow: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 서브 카테고리 항목 */
.nav .depth_bg .sec_depth .list {
    padding: 8px 15px !important;
    font-size: 14px !important;
    color: #333 !important;
    text-align: left !important;
    cursor: pointer !important;
    background-color: #ffffff !important;
    flex-grow: 1 !important;
    border-right: 0px !important;
    border-left: 0px !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    transition: background-color 0.2s ease !important;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 상단 메뉴바 서브 카테고리 링크 가시성 보장 */
nav .sec_depth .list a,
nav .sec_depth .list span,
nav .sec_depth .list div {
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none;
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: keep-all !important;
    word-wrap: normal !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 20px !important;
}

nav .sec_depth .list a:hover {
    color: #2C47E4 !important;
    background-color: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    text-indent: 0 !important;
    text-align: left !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: inherit !important;
    word-break: inherit !important;
    word-wrap: inherit !important;
}

/* 네비게이션 추가 스타일 */
nav .sec_depth .list:hover {
    color: #2C47E4 !important;
    background-color: #e0e0e0 !important;
    border-radius: 3px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    text-indent: 0 !important;
    text-align: left !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    word-wrap: normal !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    font-family: inherit !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
}

nav .sec_depth .list::before {
    display: inline-block;
    content: '';
    width: 5px;
    height: 5px;
    background: #A0A0A0;
    border-radius: 50%;
}

nav .sec_depth .list:not(:last-child) {
    margin-bottom: 10px;
}

nav .sec_depth.pc .list {
    padding-left: 35px;
}

nav .sec_depth.pc .list::after {
    left: 15px;
}

nav .sec_depth.workstaiton .list,
nav .sec_depth.parts .list,
nav .sec_depth.storage .list {
    padding-left: 40px;
}

nav .sec_depth.workstaiton .list::after,
nav .sec_depth.parts .list::after,
nav .sec_depth.storage .list::after {
    left: 20px;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 모든 리스트 항목에서 점 제거 (전체 사이트) */
ul li,
ol li,
li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
    background-image: none !important;

}

/* 모든 링크에서 배경 이미지 제거 */
a {
    background-image: none !important;
    background: none !important;
}

/* 점 완전 제거를 위한 최강 규칙 */
.nav .depth_bg .sec_depth .list:first-child,
.nav .depth_bg .sec_depth .list:first-child a,
.nav .depth_bg .sec_depth .list:first-child *,
.nav .depth_bg .sec_depth .list:nth-child(1),
.nav .depth_bg .sec_depth .list:nth-child(1) a,
.nav .depth_bg .sec_depth .list:nth-child(1) * {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
    background-image: none !important;
    background: none !important;
    content: none !important;
    display: block !important;
    position: static !important;
    transform: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

/* 첫 번째 리스트 항목의 가상 요소 완전 제거 */
.nav .depth_bg .sec_depth .list:first-child::before,
.nav .depth_bg .sec_depth .list:first-child::after,
.nav .depth_bg .sec_depth .list:first-child a::before,
.nav .depth_bg .sec_depth .list:first-child a::after,
.nav .depth_bg .sec_depth .list:nth-child(1)::before,
.nav .depth_bg .sec_depth .list:nth-child(1)::after,
.nav .depth_bg .sec_depth .list:nth-child(1) a::before,
.nav .depth_bg .sec_depth .list:nth-child(1) a::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    background-image: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* 모든 리스트 항목에서 점 완전 제거 (최강 버전) */
.nav .depth_bg .sec_depth .list,
.nav .depth_bg .sec_depth .list a,
.nav .depth_bg .sec_depth .list *,
.all_menu .depth_bg .sec_depth .list,
.all_menu .depth_bg .sec_depth .list a,
.all_menu .depth_bg .sec_depth .list *,
.menu_list .list,
.menu_list .list a,
.menu_list .list * {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
    background-image: none !important;
    background: none !important;
    content: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 모든 가상 요소 완전 제거 (최강 버전) */
.nav .depth_bg .sec_depth .list::before,
.nav .depth_bg .sec_depth .list::after,
.nav .depth_bg .sec_depth .list a::before,
.nav .depth_bg .sec_depth .list a::after,
.all_menu .depth_bg .sec_depth .list::before,
.all_menu .depth_bg .sec_depth .list::after,
.all_menu .depth_bg .sec_depth .list a::before,
.all_menu .depth_bg .sec_depth .list a::after,
.menu_list .list::before,
.menu_list .list::after,
.menu_list .list a::before,
.menu_list .list a::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    background-image: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* 인라인 스타일을 덮어쓰는 최강 규칙 */
.nav .depth_bg .sec_depth .list[style*="list-style"],
.nav .depth_bg .sec_depth .list[style*="background"],
.nav .depth_bg .sec_depth .list[style*="content"],
.nav .depth_bg .sec_depth .list a[style*="list-style"],
.nav .depth_bg .sec_depth .list a[style*="background"],
.nav .depth_bg .sec_depth .list a[style*="content"],
.all_menu .depth_bg .sec_depth .list[style*="list-style"],
.all_menu .depth_bg .sec_depth .list[style*="background"],
.all_menu .depth_bg .sec_depth .list[style*="content"],
.all_menu .depth_bg .sec_depth .list a[style*="list-style"],
.all_menu .depth_bg .sec_depth .list a[style*="background"],
.all_menu .depth_bg .sec_depth .list a[style*="content"] {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
    background-image: none !important;
    background: none !important;
    content: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

/* 점 완전 제거 - 최종 버전 */
.nav .depth_bg .sec_depth .list,
.nav .depth_bg .sec_depth .list a,
.all_menu .depth_bg .sec_depth .list,
.all_menu .depth_bg .sec_depth .list a,
.menu_list .list,
.menu_list .list a {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
    background-image: none !important;
    background: none !important;
    content: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* 모든 리스트에서 점 제거 - 전체 사이트 */
ul, ol, li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
}

/* 모든 가상 요소 제거 */
*::before, *::after {
    content: none !important;
    display: none !important;
}

/* 특별히 첫 번째 항목 처리 */
.nav .depth_bg .sec_depth .list:first-child,
.nav .depth_bg .sec_depth .list:first-child a {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    list-style: none !important;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 모든 서브 카테고리 항목들의 들여쓰기 통일 */
.nav .depth_bg .sec_depth .list {
    padding-left: 5px !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
}

.nav .depth_bg .sec_depth .list a {
    padding-left: 5px !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
}

/* 모든 서브 카테고리 항목들을 완전히 동일하게 맞춤 */
.nav .depth_bg .sec_depth .list,
.nav .depth_bg .sec_depth .list:nth-child(1),
.nav .depth_bg .sec_depth .list:nth-child(2),
.nav .depth_bg .sec_depth .list:nth-child(3),
.nav .depth_bg .sec_depth .list:nth-child(4),
.nav .depth_bg .sec_depth .list:nth-child(5),
.nav .depth_bg .sec_depth .list:nth-child(6),
.nav .depth_bg .sec_depth .list:nth-child(7),
.nav .depth_bg .sec_depth .list:nth-child(8),
.nav .depth_bg .sec_depth .list:nth-child(9),
.nav .depth_bg .sec_depth .list:nth-child(10) {
    padding-left: 5px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    text-indent: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    background-image: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    color: #000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
}

.nav .depth_bg .sec_depth .list:hover {
    color: #2C47E4 !important;
    background-color: #e0e0e0 !important;
    border-radius: 3px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 더 강력한 hover 규칙 */
nav .sec_depth .list:hover,
.nav .depth_bg .sec_depth .list:hover,
.nav .depth_bg .sec_depth .list:nth-child(1):hover,
.nav .depth_bg .sec_depth .list:nth-child(2):hover,
.nav .depth_bg .sec_depth .list:nth-child(3):hover,
.nav .depth_bg .sec_depth .list:nth-child(4):hover,
.nav .depth_bg .sec_depth .list:nth-child(5):hover,
.nav .depth_bg .sec_depth .list:nth-child(6):hover,
.nav .depth_bg .sec_depth .list:nth-child(7):hover,
.nav .depth_bg .sec_depth .list:nth-child(8):hover,
.nav .depth_bg .sec_depth .list:nth-child(9):hover,
.nav .depth_bg .sec_depth .list:nth-child(10):hover {
    color: #2C47E4 !important;
    background-color: #e0e0e0 !important;
    border-radius: 3px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ===== 사용자 메뉴 스타일 ===== */
.user-menu-container {
    position: relative;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 헤더 이미지들을 파란색 화살표 끝으로 이동 */
.header_top .util {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
}

/* 헤더 이미지들의 정확한 위치 조정 */
.wrap_util {
    display: flex !important;
    align-items: center !important;
}

.wrap_util .list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    height: 65px !important;
}

/* 왼쪽 이미지 컨테이너 */
.wrap_util:nth-child(1) {
    justify-content: flex-start !important;
    width: 340px !important;
}

/* 오른쪽 이미지 컨테이너 */
.wrap_util:nth-child(3) {
    justify-content: flex-end !important;
    width: 400px !important;
}

/* 중앙 로고 정확한 위치 */
.logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-top: 0 !important;
}

/* side_nav 버튼이 두 줄로 나오는 문제만 해결 */
.side_nav .list a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 반응형 헤더 스타일 */
/* .logo 스타일은 위에서 통합됨 */

#header .logo img {
    width: calc(100vw * (210/ 1400));
    height: calc(100vw * (26/ 1400));
}

.header_top {
    
    border-bottom: 1px solid #E5E5E5;
}

.util {
    display: flex;
    height: 100%;
    justify-content: space-between;
}

.wrap_util .list {
    float: left;
    margin-left: calc(100vw * (10/ 1400));
    width: calc(100vw * (20/ 1400));
    height: calc(100vw * (20/ 1400));
    text-align: center;
    margin-top: calc(100vw * (35/ 1400));
    line-height: calc(100vw * (20/ 1400));
}

.wrap_util:nth-child(1) .list:nth-child(1) {
    margin-left: 0;
}

.wrap_util:nth-child(1) .list:nth-child(1) img {
    width: calc(100vw * (20/ 1400));
    height: calc(100vw * (20/ 1400));
}

.wrap_util:nth-child(1) .list:nth-child(2) img {
    width: calc(100vw * (17/ 1400));
    height: calc(100vw * (22/ 1400));
}

.wrap_util:nth-child(1) .list:nth-child(2) {
    margin-left: calc(100vw * (20/ 1400));
}

.wrap_util:nth-child(3) .list:nth-child(1) {
    width: fit-content;
    margin-left: 0;
}

.wrap_util:nth-child(3) .list:nth-child(2) {
    margin-left: calc(100vw * (50/ 1400));
}

.wrap_util:nth-child(3) .list:nth-child(2) img {
    width: calc(100vw * (20/ 1400));
    height: calc(100vw * (20/ 1400));
}

.wrap_util .icon {
    cursor: pointer;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 헤더 이미지 관련 스타일 */
.wrap_util:nth-child(1) .list:nth-child(1) {
    margin-left: 0;
}

.wrap_util:nth-child(3) .list:nth-child(1) {
    width: 60px;
    margin-left: 0;
}

.wrap_util:nth-child(3) .list:nth-child(2) {
    margin-left: 10px;
}

.wrap_util:nth-child(3) .list:nth-child(3) {
    width: 100px;
}

.wrap_util .list img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.wrap_util .list a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 왼쪽 이미지 (note_icon.svg) */
.wrap_util:nth-child(1) .list a img {
    width: 20px;
    height: 20px;
}

/* 중앙 로고 이미지 */
.logo a img {
    width: auto;
    height: 26px;
    max-width: 210px;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 기본 네비게이션 스타일 */
.main_depth > .list > .depth_bg > .sec_depth > .list {
    width: 150px;
    height: 25px;
    line-height: 25px;
    text-align: left;
    color: #000 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== 추가 헤더 스타일 (common.css에서 이동) ===== */
/* 견적 관련 스타일 */
.quotation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quotation a:nth-child(2) {
    min-width: 19px;
    padding: 0 2px;
    line-height: 19px;
    font-size: 9px;
    color: #fff;
    border-radius: 99px;
    background-color: blue;
}

.user-menu-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #333;
}

.user-menu-btn:hover {
    background-color: #f8f9fa;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.user-dropdown-menu.show {
    display: block;
}

.user-info-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.dropdown-item {
    display: block;
    padding: 12px 15px;
    color: #495057;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* ===== 모바일 헤더 ===== */
#mobile_header {
    width: 100%;
    height: 60px;
    position: fixed;
    background: #fff;
    z-index: 9999;
    top: 0;
    left: 0;
    border-bottom: 1px solid #E5E5E5;
}

.mobile_header_top {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* ===== 추가 모바일 헤더 스타일 (common.css에서 이동) ===== */
/* 모바일 헤더 상세 스타일 */
#mobile_header {
    width: 100%;
    display: block;
    position: fixed;
    top: 0;
    background-color: #fff;
    z-index: 9999;
}

/* 모바일 메뉴 */
.mobile_menu {
    width: 100%;
    height: calc(100vw * (70/ 428));
}

.mobile_menu > .depth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#mobile_header .logo {
    margin-top: calc(100vw * (-10/ 428));
    left: 50%;
    transform: translateX(-50%);
}

#logo {
    width: calc(100vw * (160/ 428));
    height: calc(100vw * (20/ 428));
}

.mobile_menu > .depth > .list:nth-child(1) {
    display: flex;
}

.mobile_icon, .note_box,
.mobile_menu > .depth > .list:last-child div {
    width: calc(100vw * (17/ 428));
    height: calc(100vw * (17/ 428));
    cursor: pointer;
}

.mobile_menu > .depth > .list .note_box {
    margin-left: calc(100vw * (10/ 428));
}

.mobile_menu > .depth > .list .logo h1 {
    width: calc(100vw * (160/ 428));
    height: calc(100vw * (20/ 428));
}

.mobile_icon img {
    width: calc(100vw * (20/ 428));
    height: calc(100vw * (18/ 428));
}

.note_box img {
    width: calc(100vw * (17/ 428));
    height: calc(100vw * (22/ 428));
}

.mobile_menu .list:last-child img {
    width: calc(100vw * (16/ 428));
    height: calc(100vw * (16/ 428));
}

/* 모바일 nav */
.mobile_nav_wrap {
    width: 100%;
    height: calc(100vh - calc(100vw * (70/428)));
    position: absolute;
    background-color: #fff;
    display: none;
    z-index: 9999;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    white-space: nowrap;
    overflow-x: visible;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

/* ===== 반응형 ===== */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    #header {
        display: none;
    }
    
    #mobile_header {
        display: block;
    }
}

@media (min-width: 769px) {
    #mobile_header {
        display: none;
    }
}
