/* 레이아웃 CSS */

.gnb_wrap .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 0 !important;
}

/* 데스크톱에서만 적용되는 헤더 스타일 */
@media (min-width: 1025px) {
    /* 헤더 전체 높이와 패딩 조정 */
    #header {
        min-height: 80px !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .gnb_wrap .inner {
        height: 50px;
    }

    /* 로고 중간 정렬 */
    .logo_wrap {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        height: 50px;
    }

    .logo_wrap li {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .logo_wrap a {
        display: flex;
        align-items: center;
        height: 100%;
    }

    /* 메뉴 영역 높이 맞춤 */
    .cbp-hrmenu {
        display: flex;
        align-items: center;
        height: 50px;
    }

    /* 메뉴 텍스트 수직 중앙 정렬 */
    .cbp-hrmenu > ul > li > a {
        display: flex;
        align-items: center;
        height: 50px;
        padding-top: 5px; /* 텍스트를 1px 아래로 미세 조정 */
        box-sizing: border-box;
    }

    /* 제품문의 버튼 중간 정렬 및 오른쪽 끝 배치 */
    .quick_menu {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        margin-left: auto;
        height: 50px;
    }

    .quick_menu li {
        display: flex;
        align-items: center;
        height: 100%;
    }
}

/* 모바일에서는 기본 스타일 유지 */
@media (max-width: 1024px) {
    .logo_wrap {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .quick_menu {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        margin-left: auto;
    }
}

@media all and (max-width:1024px) { 
    .gnb_wrap .inner {padding-left: 0px !important; padding-right: 0px !important;}
}

@media all and (max-width:1024px) { 
    .gnb_wrap .inner {padding-left: 0px !important; padding-right: 0px !important;}
}

/* ==========================================================================
   메뉴 폰트 크기 조절
========================================================================== */

/* 1차 메뉴 폰트 크기 */
#cbp-hrmenu > ul > li > a {
    font-size: 18px; /* 원하는 크기로 조절하세요 */
}

/* 2차 메뉴(서브 메뉴) 폰트 크기 */
.cbp-hrsub-inner ul li a {
    font-size: 13px; /* 원하는 크기로 조절하세요 */
}