/* 고객센터 레이아웃: 헤더+브레드크럼 묶음, customer-wrap = lnb_block + customer_content */
.customer-layout-page {
    padding-top: 0;
    min-height: 100vh;
    box-sizing: border-box;
}
/* 헤더 + 브레드크럼 묶음 (고정, 높이 110px = 헤더 70 + 브레드크럼 40) */
.customer-header-breadcrumb {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 110px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    box-sizing: border-box;
}
.customer-header-breadcrumb .map-header {
    margin: 0;
    border-bottom: none !important; /* 헤더 아래 라인 제거 → 브레드크럼과 붙임 */
}
/* 브레드크럼: 헤더(70px) 바로 아래 절대 위치로 붙여서 표시 */
.customer-breadcrumb-bar {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    height: 40px;
    min-height: 40px;
    margin: 0;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5; /* 헤더와의 구분선 */
    border-bottom: 1px solid #e5e5e5;
    display: flex !important;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .customer-breadcrumb-bar {
        padding: 0 16px;
    }
}
@media (max-width: 480px) {
    .customer-breadcrumb-bar {
        padding: 0 12px;
    }
    .customer-breadcrumb-bar .customer-breadcrumb {
        font-size: 13px;
    }
}
.customer-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.customer-breadcrumb a {
    color: #333;
    text-decoration: none;
}
.customer-breadcrumb a:hover {
    color: #555;
    text-decoration: underline;
}
.customer-breadcrumb-sep {
    color: #999;
    user-select: none;
}
.customer-breadcrumb-current {
    color: #666;
}
/* 브레드크럼 ↔ LNB 간격: .customer-wrap padding-top 134px = 110 + 24 */
.customer-wrap {
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 134px 20px 0; /* 헤더(70) + 브레드크럼(40) + 간격(24) */
    min-height: calc(100vh - 134px);
    gap: 24px;
    box-sizing: border-box;
}
/* LNB: radius, shadow, 간격·타이포 최적화 */
.customer-wrap .lnb_block {
    flex-shrink: 0;
    width: 240px;
    min-height: 320px;
    max-height: min(700px, calc(100vh - 160px));
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    overflow: hidden;
    position: sticky;
    top: 134px;
    align-self: flex-start;
}
.customer-wrap .lnb_block .scroll_action {
    padding: 0;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
/* LNB 타이틀·메뉴: 마이페이지 lnb_block과 동일 스타일 */
.customer-wrap .lnb_block .tit_lnb_title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 16px 16px 14px;
    border-bottom: 1px solid #eee;
    background: #fafbfc;
    line-height: 1.4;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.customer-wrap .lnb_block .tit_lnb_title_link {
    display: block;
    margin: -16px -16px -14px;
    padding: 16px 16px 14px;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.customer-wrap .lnb_block .tit_lnb_title_link:hover {
    background: #f0f7f2;
    color: #2e7d32;
}
.customer-wrap .lnb_block .lnb_nav {
    list-style: none;
    margin: 0;
    padding: 8px 10px 12px;
    flex: 1;
    min-height: 0;
}
.customer-wrap .lnb_block .lnb_menu {
    margin: 0 0 4px;
    padding: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}
.customer-wrap .lnb_block .lnb_menu:last-child {
    margin-bottom: 0;
}
.customer-wrap .lnb_block .lnb_menu.off_close > a {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #444;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 8px;
    min-height: 44px;
    box-sizing: border-box;
}
.customer-wrap .lnb_block .lnb_menu.off_close > a:hover {
    background: #f0f7f2;
    color: #2e7d32;
}
.customer-wrap .lnb_block .lnb_menu.off_close > a.on {
    background: #e8f5e9;
    color: #00AD55;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #00AD55;
}
.customer_content {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    background: #fff;
    box-sizing: border-box;
}
/* 태블릿(641~768px): LNB 유지 + 바디 모바일 스타일 (QNA만 LNB 숨김) */
@media (min-width: 641px) and (max-width: 768px) {
    body.customer-layout-page .customer-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    body.customer-layout-page .customer-wrap .lnb_block {
        display: block !important;
        width: 200px;
        min-width: 200px;
        flex-shrink: 0;
    }
    body.customer-layout-page .customer_content {
        padding: 0 8px;
        flex: 1;
        min-width: 0;
    }
}
/* 768px 이하 공통: 패딩만 (태블릿은 위에서 LNB 표시, 모바일은 아래에서 LNB 숨김) */
@media (max-width: 768px) {
    body.customer-layout-page .customer-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    body.customer-layout-page .customer_content {
        padding: 0 8px;
    }
}
@media (max-width: 640px) {
    body.customer-layout-page .customer-wrap .lnb_block {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .customer-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    .customer_content {
        padding: 0 8px;
    }
}
/* Footer (customer 페이지) */
body.customer-layout-page .footer { background: #f5f5f5 !important; color: #666; padding: 40px 20px; margin-top: 0; text-align: left; }
body.customer-layout-page .footer #NM_footer { background: #f5f5f5 !important; padding: 40px 20px 24px; color: #666; text-align: left; }
body.customer-layout-page .footer #NM_footer #AboutUs { margin-bottom: 1.5rem; text-align: center; }
body.customer-layout-page .footer #NM_footer .css-semmzw { max-width: 800px; margin: 0 auto; text-align: left; }
