/* =========================================================
   파일명: /assets/css/site-navigation.css
   역할: 메뉴/서브메뉴/플로팅 퀵메뉴/모바일 검색 UI 단일 관리 파일
   기준: 2026-06-08 UI 구조 정리

   관리 원칙
   - 상단 헤더의 기본 PC 구조는 /assets/css/header.css에서 관리합니다.
   - 모바일 헤더 보정, 서브메뉴바, 우측 플로팅 퀵메뉴, 검색 모달,
     대표 시리즈 접기/펼치기, 모바일 장비 검색창은 이 파일에서 관리합니다.
   - 기존 mobile-ui-refactor.css / nutribody-ui-patch.css에 흩어진 보정 코드를 통합했습니다.
========================================================= */

:root{
  --nb-ui-blue:#1267d8;
  --nb-ui-navy:#102a4c;
  --nb-ui-line:#dbe7f5;
  --nb-ui-soft:#f6faff;
}

/* ===== [01] 서브메뉴바(page-quick-menu) =====
   최종 관리 파일: /assets/css/site-navigation.css
   - 높이, ACTIVE, 스크롤, 모바일 표시를 이 파일에서만 관리합니다.
   - /assets/css/final-width-grid.css는 폭 변수만 제공합니다.
========================================================= */
.page-quick-menu.page-section-bar{
  position:relative;
  z-index:100;
  width:100%;
  margin:0;
  padding:12px 0;
  background:#fff;
  border-bottom:1px solid var(--nb-ui-line);
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.page-quick-menu .page-section-bar__inner{
  display:flex;
  align-items:stretch;
  gap:10px;
  width:min(calc(100vw - 96px),1440px);
  max-width:min(calc(100vw - 96px),1440px);
  margin:0 auto;
  padding:0;
  overflow-x:auto;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box;
}

.page-quick-menu .page-section-bar__current,
.page-quick-menu .page-section-bar__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  height:48px;
  padding:0 22px;
  border:1px solid #d7e4f3;
  border-radius:999px;
  background:#fff;
  color:#24415f;
  font-size:16px;
  font-weight:900;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
}

.page-quick-menu .page-section-bar__current{
  flex:0 0 auto;
  min-width:156px;
  background:#f6faff;
  color:#0f3c71;
}

.page-quick-menu .page-section-bar__links{
  flex:1 1 auto;
  display:flex;
  align-items:stretch;
  gap:8px;
  min-width:0;
  overflow:visible;
}

.page-quick-menu .page-section-bar__link{
  flex:0 0 auto;
  min-width:144px;
}

.page-quick-menu .page-section-bar__link:hover,
.page-quick-menu .page-section-bar__current:hover{
  border-color:#9bc8ff;
  color:var(--nb-ui-blue);
}

.page-quick-menu .page-section-bar__current.is-section-active,
.page-quick-menu .page-section-bar__link.is-active{
  border-color:var(--nb-ui-blue);
  background:var(--nb-ui-blue);
  color:#fff;
  box-shadow:0 10px 24px rgba(18,103,216,.18);
}

@media (max-width:1024px){
  .page-quick-menu .page-section-bar__inner{
    width:calc(100% - 28px);
    max-width:calc(100% - 28px);
  }
}

@media (max-width:768px){
  .page-quick-menu.page-section-bar{padding:10px 0;}
  .page-quick-menu .page-section-bar__inner{
    width:calc(100% - 24px);
    max-width:calc(100% - 24px);
    gap:8px;
  }
  .page-quick-menu .page-section-bar__current,
  .page-quick-menu .page-section-bar__link{
    min-height:42px;
    height:42px;
    padding:0 16px;
    font-size:14px;
  }
  .page-quick-menu .page-section-bar__current{min-width:118px;}
  .page-quick-menu .page-section-bar__link{min-width:auto;}
}

/* ===== [01-1] 서브메뉴 통일 =====
   고객센터 전용 그리드 규칙은 제거하고 모든 섹션이 [01] 공통 page-section-bar 기준을 사용합니다.
*/

/* ===== [02] 우측 플로팅 퀵메뉴 ===== */
.nb-floating-quick{
  position:fixed;
  right:18px;
  top:50%;
  z-index:25000;
  width:58px;
  max-height:calc(100vh - 150px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #d6e4f4;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 42px rgba(15,23,42,.16);
  transform:translateY(-50%);
  transition:width .18s ease, box-shadow .18s ease;
}

.nb-floating-quick:hover,
.nb-floating-quick:focus-within{
  width:148px;
  box-shadow:0 22px 52px rgba(15,23,42,.22);
}

.nb-floating-quick__item{
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:56px 1fr;
  align-items:center;
  padding:0;
  border:0;
  border-bottom:1px solid #edf3fa;
  background:#fff;
  color:#172c45;
  font-family:inherit;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
  box-sizing:border-box;
}

.nb-floating-quick__item:last-child{border-bottom:0;}
.nb-floating-quick__item:hover{background:#f4f8ff;color:var(--nb-ui-blue);}
.nb-floating-quick__icon{
  width:56px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--nb-ui-blue);
  font-size:18px;
  font-weight:900;
}
.nb-floating-quick__item strong{
  min-width:72px;
  padding-right:12px;
  font-size:13px;
  font-weight:900;
  line-height:1.15;
  white-space:nowrap;
}
.nb-floating-quick__item em{
  display:none;
  grid-column:2;
  margin-top:-18px;
  padding-right:8px;
  color:#6a8097;
  font-style:normal;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.nb-floating-quick:hover .nb-floating-quick__item em,
.nb-floating-quick:focus-within .nb-floating-quick__item em{display:block;}

@media (max-height:760px) and (min-width:769px){
  .nb-floating-quick{right:14px;width:52px;max-height:calc(100vh - 110px);border-radius:16px;}
  .nb-floating-quick:hover,.nb-floating-quick:focus-within{width:136px;}
  .nb-floating-quick__item{min-height:50px;grid-template-columns:50px 1fr;}
  .nb-floating-quick__icon{width:50px;height:50px;font-size:16px;}
}

/* ===== [03] 플로팅 검색 모달 ===== */
html.nb-modal-open, body.nb-modal-open{overflow:hidden;}
.nb-floating-search-modal[hidden]{display:none;}
.nb-floating-search-modal{
  position:fixed;
  inset:0;
  z-index:40000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.nb-floating-search-modal__backdrop{position:absolute;inset:0;background:rgba(10,24,42,.54);backdrop-filter:blur(4px);}
.nb-floating-search-modal__box{
  position:relative;
  z-index:1;
  width:min(560px,100%);
  border:1px solid #dbe8f6;
  border-radius:28px;
  background:#fff;
  box-shadow:0 28px 80px rgba(15,23,42,.32);
  padding:34px;
}
.nb-floating-search-modal__close{
  position:absolute;
  top:16px;
  right:16px;
  width:36px;
  height:36px;
  border:1px solid #d8e5f5;
  border-radius:999px;
  background:#f8fbff;
  color:#12345a;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.nb-floating-search-modal__eyebrow{display:block;margin-bottom:8px;color:var(--nb-ui-blue);font-size:12px;font-weight:900;letter-spacing:.12em;}
.nb-floating-search-modal__box h2{margin:0 0 18px;color:var(--nb-ui-navy);font-size:28px;line-height:1.25;letter-spacing:-.04em;}
.nb-floating-search-form{display:flex;gap:10px;padding:8px;border:2px solid var(--nb-ui-blue);border-radius:18px;background:#fff;box-shadow:0 14px 30px rgba(37,99,235,.12);}
.nb-floating-search-form input{flex:1;height:52px;border:0;outline:0;padding:0 16px;font-size:16px;font-weight:700;color:var(--nb-ui-navy);}
.nb-floating-search-form button{min-width:104px;border:0;border-radius:14px;background:var(--nb-ui-blue);color:#fff;font-weight:900;cursor:pointer;}
.nb-floating-search-tags{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px;}
.nb-floating-search-tags a{padding:9px 13px;border:1px solid #d7e7fb;border-radius:999px;background:var(--nb-ui-soft);color:#23415f;text-decoration:none;font-size:13px;font-weight:800;}

/* ===== [04] 대표 시리즈 접기/펼치기 ===== */
.nb-collapsible-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;}
.nb-collapse-toggle{flex:0 0 auto;min-width:154px;height:46px;border:1px solid #8fbdf0;border-radius:6px;background:#fff;color:var(--nb-ui-blue);font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.10);}
.nb-collapse-toggle i{margin-left:6px;font-style:normal;font-size:12px;}
.nb-collapse-toggle:hover{background:var(--nb-ui-blue);color:#fff;border-color:var(--nb-ui-blue);box-shadow:0 10px 22px rgba(37,99,235,.16);}
.nb-collapsible-section [hidden]{display:none;}

/* ===== [05] 모바일 헤더/햄버거/메인메뉴 안정화 ===== */
@media (max-width:900px){
  html body .site-header,
  html body.home-page .site-header,
  html body.sub-page .site-header,
  html body[class*="page-"] .site-header,
  html body[data-sidebar-type] .site-header{
    height:64px;
    min-height:64px;
    overflow:visible;
  }

  html body .site-header > .header-inner,
  html body.home-page .site-header > .header-inner,
  html body.sub-page .site-header > .header-inner,
  html body[class*="page-"] .site-header > .header-inner,
  html body[data-sidebar-type] .site-header > .header-inner{
    height:64px;
    min-height:64px;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  html body .site-header .logo{display:flex;align-items:center;justify-content:flex-start;margin:0;padding:0;}
  html body .site-header .logo img{width:104px;max-width:104px;max-height:38px;height:auto;object-fit:contain;}
  html body .site-header .header-center{display:block;width:auto;height:auto;}
  html body .site-header .header-product-search--inline,
  html body .site-header .header-phone-link,
  html body .site-header .header-quote-cart-btn,
  html body .site-header .header-contact-btn,
  html body .site-header > .header-search-row{display:none;}
  html body .site-header .header-actions{display:flex;align-items:center;justify-content:flex-end;margin-left:auto;height:64px;}

  html body .site-header .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    width:44px;
    height:44px;
    margin:0;
    padding:0;
    border:1px solid #d8e5f3;
    border-radius:12px;
    background:#fff;
    box-shadow:0 6px 16px rgba(15,23,42,.07);
  }
  html body .site-header .menu-toggle span{display:block;width:22px;height:2px;margin:3px 0;background:#14243a;border-radius:999px;}

  html body .site-header .main-nav,
  html body .site-header .main-nav#mainNav{display:none;}
  html body .site-header .main-nav.active,
  html body .site-header .main-nav#mainNav.active,
  html body .site-header .main-nav#mainNav.is-open{
    display:flex;
    position:fixed;
    top:64px;
    left:0;
    right:0;
    z-index:30020;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    height:auto;
    max-height:calc(100vh - 64px);
    overflow-y:auto;
    padding:8px 0 14px;
    background:#fff;
    border-top:1px solid #dbe6f2;
    box-shadow:0 18px 44px rgba(9,31,57,.14);
  }
  html body .site-header .main-nav.active .nav-item,
  html body .site-header .main-nav.active .nav-link{height:56px;min-height:56px;}
  html body .site-header .main-nav.active .nav-link{justify-content:flex-start;padding:0 22px;font-size:16px;}
  html body .site-header .main-nav.active .dropdown{display:none;}
}

/* ===== [06] 모바일 장비 검색창 ===== */
@media (max-width:900px){
  .nb-floating-quick{display:none;}

  html body .mobile-product-search,
  html body.home-page .mobile-product-search,
  html body.sub-page .mobile-product-search,
  html body[class*="page-"] .mobile-product-search,
  html body.home-page .layout-content > .mobile-product-search{
    display:block;
    width:100%;
    margin:0;
    padding:14px 16px 16px;
    background:#fff;
    border-top:1px solid #e5edf8;
    border-bottom:1px solid #d7e7fb;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
    box-sizing:border-box;
  }
  body.mobile-menu-open .mobile-product-search,
  html.mobile-menu-open .mobile-product-search{display:none;}
  html body .mobile-product-search__inner{width:100%;max-width:none;margin:0;padding:0;}
  html body .mobile-product-search__label{display:block;margin:0 0 8px;color:#173a62;font-size:13px;font-weight:900;letter-spacing:-.025em;}
  html body .mobile-product-search__field{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    min-height:56px;
    padding:5px;
    border:2px solid var(--nb-ui-blue);
    border-radius:16px;
    background:#fff;
    box-shadow:0 12px 26px rgba(18,103,216,.14);
    box-sizing:border-box;
  }
  html body .mobile-product-search__icon{flex:0 0 38px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--nb-ui-blue);font-size:0;}
  html body .mobile-product-search__icon::before{content:"⌕";font-size:22px;font-weight:900;line-height:1;}
  html body .mobile-product-search__field input{flex:1;min-width:0;height:44px;border:0;outline:0;padding:0 8px;background:#fff;color:#102a4c;font-size:15px;font-weight:800;}
  html body .mobile-product-search__field input::placeholder{color:#7890aa;font-weight:700;}
  html body .mobile-product-search__field button{flex:0 0 76px;width:76px;height:44px;border:0;border-radius:12px;background:linear-gradient(135deg,#126ee2,#0058bd);color:#fff;font-size:14px;font-weight:900;cursor:pointer;}
}

/* ===== [07] 모바일 서브메뉴 버튼 균일화 ===== */
@media (max-width:900px){
  .page-quick-menu.page-section-bar{padding:10px 0;background:#fff;border-top:1px solid #edf3fa;border-bottom:1px solid #dbe7f5;box-shadow:none;}
  .page-quick-menu.page-section-bar .page-section-bar__inner{width:100%;max-width:none;padding:0 14px;gap:8px;overflow-x:auto;box-sizing:border-box;}
  .page-section-bar__current,
  .page-section-bar__link{
    flex:0 0 auto;
    min-width:92px;
    height:38px;
    min-height:38px;
    padding:0 13px;
    border-radius:999px;
    font-size:13px;
    line-height:1;
  }
  .page-section-bar__links{display:flex;gap:8px;overflow-x:visible;}
}

/* ===== [08] 모바일 접기/검색 모달 보정 ===== */
@media (max-width:768px){
  .nb-collapsible-head{align-items:flex-start;flex-direction:column;gap:12px;}
  .nb-collapse-toggle{width:100%;height:46px;}
  .nb-home-section-head.nb-collapsible-head,
  .equipment-section-head.nb-collapsible-head{margin-bottom:16px;}
  .nb-home-section-head.nb-collapsible-head h2,
  .equipment-section-head.nb-collapsible-head h2{font-size:26px;line-height:1.2;}
  .nb-home-section-head.nb-collapsible-head p,
  .equipment-section-head.nb-collapsible-head p{font-size:14px;line-height:1.55;}
}

@media (max-width:520px){
  .nb-floating-search-modal{padding:16px;}
  .nb-floating-search-modal__box{padding:26px 18px 20px;border-radius:20px;}
  .nb-floating-search-modal__box h2{font-size:22px;}
  .nb-floating-search-form{display:block;}
  .nb-floating-search-form input{width:100%;height:50px;box-sizing:border-box;}
  .nb-floating-search-form button{width:100%;height:46px;margin-top:8px;}
}

@media (max-width:380px){
  html body .mobile-product-search__field button{flex-basis:66px;width:66px;font-size:13px;}
}


/* ===== [08] 제품 페이지 버튼/대표 시리즈/카테고리 메뉴 최종 정리 ===== */
body.page-products .product-series-collapsible{
  width:min(100%,1180px);
  margin:0 auto 28px;
  border:1px solid #d5e5f7;
  border-radius:8px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,55,96,.06);
  overflow:hidden;
}
body.page-products .product-series-collapsible .product-series-intro{
  margin:0;
  padding:24px 28px;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:linear-gradient(180deg,#fff,#f7fbff);
}
body.page-products .product-series-intro-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
}
body.page-products .product-series-collapse-panel{
  border-top:1px solid #dceafa;
  background:#f6faff;
  padding:24px;
}
body.page-products .product-series-collapse-panel .product-series-list{
  margin:0;
}
body.page-products .nb-collapse-toggle{
  border-radius:6px;
}
body.page-products .series-large-card__btn,
body.page-products .equipment-series-body u{
  width:auto;
  min-width:142px;
  min-height:42px;
  padding:0 18px;
  border-radius:5px;
  background:#006bdc;
  color:#fff;
  font-size:14px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,98,204,.16);
}
body.page-products .series-large-card__btn:hover,
body.page-products .equipment-series-body u:hover{
  background:#004fa8;
}
body.page-products .page-section-bar__current,
body.page-products .page-section-bar__link,
body[data-sidebar-type="products"] .page-section-bar__current,
body[data-sidebar-type="products"] .page-section-bar__link{
  background:#fff;
  color:#10243d;
  -webkit-text-fill-color:#10243d;
}
body.page-products .page-section-bar__current strong,
body.page-products .page-section-bar__label,
body[data-sidebar-type="products"] .page-section-bar__current strong,
body[data-sidebar-type="products"] .page-section-bar__label{
  color:inherit;
  -webkit-text-fill-color:inherit;
}
body.page-products .page-section-bar__current.is-section-active,
body.page-products .page-section-bar__current.has-active-child,
body.page-products .page-section-bar__link.is-active,
body[data-sidebar-type="products"] .page-section-bar__current.is-section-active,
body[data-sidebar-type="products"] .page-section-bar__current.has-active-child,
body[data-sidebar-type="products"] .page-section-bar__link.is-active{
  background:#1d75df;
  border-color:#1d75df;
  color:#fff;
  -webkit-text-fill-color:#fff;
}
body.page-products .page-section-bar__current.is-section-active strong,
body.page-products .page-section-bar__current.has-active-child strong,
body.page-products .page-section-bar__link.is-active .page-section-bar__label,
body[data-sidebar-type="products"] .page-section-bar__current.is-section-active strong,
body[data-sidebar-type="products"] .page-section-bar__current.has-active-child strong,
body[data-sidebar-type="products"] .page-section-bar__link.is-active .page-section-bar__label{
  color:#fff;
  -webkit-text-fill-color:#fff;
}

@media (max-width:900px){
  body.page-products .product-series-collapsible{
    margin:0 14px 20px;
    width:auto;
    border-radius:8px;
  }
  body.page-products .product-series-collapsible .product-series-intro{
    padding:20px 16px;
  }
  body.page-products .product-series-intro-actions{
    width:100%;
    align-items:stretch;
    flex-direction:column;
    gap:10px;
  }
  body.page-products .product-series-intro-badge{
    width:100%;
  }
  body.page-products .product-series-collapsible .nb-collapse-toggle{
    width:100%;
  }
  body.page-products .product-series-collapse-panel{
    padding:16px;
  }
}

/* ===== [09] 메인메뉴명 기준 랜딩 탭 텍스트 정리 ===== */
body[data-sidebar-type="customer"] .page-section-bar__current strong,
body[data-sidebar-type="cases"] .page-section-bar__current strong,
body[data-sidebar-type="products"] .page-section-bar__current strong{
  letter-spacing:-.04em;
}

/* =========================================================
   [99] 서브메뉴바 최종 단일 기준
   파일명: /assets/css/site-navigation.css
   역할:
   - page-quick-menu / page-section-bar 높이·폭·간격·active/hover를 한 곳에서 관리
   - 페이지별 customer/products/cases/about 예외 CSS를 최종 단계에서 통일
   - mobile-submenu.php 중복 구조는 사용하지 않고 page-quick-menu.php 한 구조만 사용

   수정 기준:
   - PC: 배너 바로 아래 동일 높이 58px, 동일 콘텐츠 폭
   - 모바일: 가로 스크롤형 버튼, 동일 높이 48px
   - 사용 금지
========================================================= */
:root{
  --nb-subnav-height:58px;
  --nb-subnav-content-w:min(1180px, calc(100% - 40px));
  --nb-subnav-bg:#fff;
  --nb-subnav-line:#d7e4f3;
  --nb-subnav-active:#126ee2;
  --nb-subnav-text:#10243d;
  --nb-subnav-hover:#f3f8ff;
}

/* ===== [99-1] 서브메뉴 외곽 ===== */
html body.sub-page .page-quick-menu.page-section-bar,
html body .page-quick-menu.page-section-bar,
html body .page-section-bar{
  position:sticky;
  top:var(--nb-header-h,72px);
  z-index:1200;
  width:100%;
  min-height:calc(var(--nb-subnav-height) + 24px);
  margin:0;
  padding:12px 0;
  overflow:visible;
  background:#f3f8ff;
  border:0;
  border-bottom:1px solid #dbe7f5;
  box-shadow:none;
  transform:none;
  box-sizing:border-box;
}

/* ===== [99-2] 내부 폭/정렬 ===== */
html body.sub-page .page-quick-menu .container,
html body.sub-page .page-quick-menu .page-section-bar__inner,
html body .page-quick-menu .container,
html body .page-quick-menu .page-section-bar__inner,
html body .page-section-bar .container,
html body .page-section-bar .page-section-bar__inner{
  width:var(--nb-subnav-content-w);
  max-width:var(--nb-subnav-content-w);
  min-height:var(--nb-subnav-height);
  margin:0 auto;
  padding:0;
  display:flex;
  align-items:stretch;
  gap:0;
  overflow:hidden;
  border:1px solid #cbdcf0;
  border-radius:8px;
  background:var(--nb-subnav-bg);
  box-shadow:0 12px 28px rgba(20,70,120,.07);
  box-sizing:border-box;
}

/* ===== [99-3] 링크 영역 ===== */
html body.sub-page .page-quick-menu .page-section-bar__links,
html body .page-quick-menu .page-section-bar__links,
html body .page-section-bar .page-section-bar__links{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:stretch;
  gap:0;
  overflow:hidden;
  box-sizing:border-box;
}

/* ===== [99-4] 버튼 공통 ===== */
html body.sub-page .page-quick-menu .page-section-bar__current,
html body.sub-page .page-quick-menu .page-section-bar__link,
html body .page-quick-menu .page-section-bar__current,
html body .page-quick-menu .page-section-bar__link,
html body .page-section-bar .page-section-bar__current,
html body .page-section-bar .page-section-bar__link{
  display:flex;
  align-items:center;
  justify-content:center;
  height:var(--nb-subnav-height);
  min-height:var(--nb-subnav-height);
  min-width:0;
  padding:0 18px;
  border:0;
  border-right:1px solid #e2edf8;
  border-radius:0;
  background:#fff;
  color:var(--nb-subnav-text);
  -webkit-text-fill-color:var(--nb-subnav-text);
  box-shadow:none;
  opacity:1;
  font-size:15px;
  font-weight:900;
  line-height:1.15;
  letter-spacing:-.035em;
  text-decoration:none;
  text-align:center;
  white-space:nowrap;
  text-shadow:none;
  filter:none;
  box-sizing:border-box;
}

html body.sub-page .page-quick-menu .page-section-bar__current,
html body .page-quick-menu .page-section-bar__current,
html body .page-section-bar .page-section-bar__current{
  flex:0 0 220px;
  background:#f6faff;
}

html body.sub-page .page-quick-menu .page-section-bar__link,
html body .page-quick-menu .page-section-bar__link,
html body .page-section-bar .page-section-bar__link{
  flex:1 1 0;
}

html body.sub-page .page-quick-menu .page-section-bar__link:last-child,
html body .page-quick-menu .page-section-bar__link:last-child,
html body .page-section-bar .page-section-bar__link:last-child{
  border-right:0;
}

/* ===== [99-5] 버튼 내부 텍스트 ===== */
html body.sub-page .page-quick-menu .page-section-bar__current strong,
html body.sub-page .page-quick-menu .page-section-bar__label,
html body.sub-page .page-quick-menu .page-section-bar__link span,
html body .page-quick-menu .page-section-bar__current strong,
html body .page-quick-menu .page-section-bar__label,
html body .page-quick-menu .page-section-bar__link span,
html body .page-section-bar .page-section-bar__current strong,
html body .page-section-bar .page-section-bar__label,
html body .page-section-bar .page-section-bar__link span{
  display:block;
  width:100%;
  color:inherit;
  -webkit-text-fill-color:inherit;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ===== [99-6] hover / active ===== */
html body.sub-page .page-quick-menu .page-section-bar__link:not(.is-active):hover,
html body.sub-page .page-quick-menu .page-section-bar__link:not(.is-active):focus,
html body .page-quick-menu .page-section-bar__link:not(.is-active):hover,
html body .page-quick-menu .page-section-bar__link:not(.is-active):focus,
html body .page-section-bar .page-section-bar__link:not(.is-active):hover,
html body .page-section-bar .page-section-bar__link:not(.is-active):focus{
  background:var(--nb-subnav-hover);
  color:var(--nb-subnav-text);
  -webkit-text-fill-color:var(--nb-subnav-text);
}

html body.sub-page .page-quick-menu .page-section-bar__current.is-section-active,
html body.sub-page .page-quick-menu .page-section-bar__current.has-active-child,
html body.sub-page .page-quick-menu .page-section-bar__link.is-active,
html body.sub-page .page-quick-menu .page-section-bar__link.is-active:hover,
html body.sub-page .page-quick-menu .page-section-bar__link.is-active:focus,
html body .page-quick-menu .page-section-bar__current.is-section-active,
html body .page-quick-menu .page-section-bar__current.has-active-child,
html body .page-quick-menu .page-section-bar__link.is-active,
html body .page-quick-menu .page-section-bar__link.is-active:hover,
html body .page-quick-menu .page-section-bar__link.is-active:focus,
html body .page-section-bar .page-section-bar__current.is-section-active,
html body .page-section-bar .page-section-bar__current.has-active-child,
html body .page-section-bar .page-section-bar__link.is-active,
html body .page-section-bar .page-section-bar__link.is-active:hover,
html body .page-section-bar .page-section-bar__link.is-active:focus{
  background:var(--nb-subnav-active);
  border-color:var(--nb-subnav-active);
  color:#fff;
  -webkit-text-fill-color:#fff;
}

html body .page-quick-menu .page-section-bar__link::after,
html body .page-section-bar .page-section-bar__link::after{
  display:none;
  content:none;
}

/* ===== [99-7] 모바일 ===== */
@media (max-width:900px){
  :root{
    --nb-subnav-height:48px;
    --nb-subnav-content-w:100%;
  }

  html body.sub-page .page-quick-menu.page-section-bar,
  html body .page-quick-menu.page-section-bar,
  html body .page-section-bar{
    position:sticky;
    top:var(--nb-header-h-mobile,60px);
    min-height:68px;
    padding:10px 12px;
    background:#f3f8ff;
  }

  html body.sub-page .page-quick-menu .container,
  html body.sub-page .page-quick-menu .page-section-bar__inner,
  html body .page-quick-menu .container,
  html body .page-quick-menu .page-section-bar__inner,
  html body .page-section-bar .container,
  html body .page-section-bar .page-section-bar__inner{
    width:100%;
    max-width:100%;
    min-height:var(--nb-subnav-height);
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }

  html body.sub-page .page-quick-menu .page-section-bar__links,
  html body .page-quick-menu .page-section-bar__links,
  html body .page-section-bar .page-section-bar__links{
    display:flex;
    align-items:stretch;
    gap:8px;
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  html body.sub-page .page-quick-menu .page-section-bar__links::-webkit-scrollbar,
  html body .page-quick-menu .page-section-bar__links::-webkit-scrollbar,
  html body .page-section-bar .page-section-bar__links::-webkit-scrollbar{
    display:none;
  }

  html body.sub-page .page-quick-menu .page-section-bar__current,
  html body.sub-page .page-quick-menu .page-section-bar__link,
  html body .page-quick-menu .page-section-bar__current,
  html body .page-quick-menu .page-section-bar__link,
  html body .page-section-bar .page-section-bar__current,
  html body .page-section-bar .page-section-bar__link{
    flex:0 0 auto;
    width:auto;
    min-width:auto;
    height:var(--nb-subnav-height);
    min-height:var(--nb-subnav-height);
    padding:0 15px;
    border:1px solid #cfe1f4;
    border-radius:999px;
    background:#fff;
    font-size:14px;
    white-space:nowrap;
  }

  html body.sub-page .page-quick-menu .page-section-bar__current{
    flex:0 0 auto;
  }
}

html{
  scroll-padding-top:calc(var(--nb-header-main-h,86px) + var(--nb-subnav-height,58px) + 48px); /* 헤더86 + 서브내비58 + 패딩24 + 여유24 = 192px */
}


/* ===== [DIAG 2026-06-10] product-card hover translateY 진단용 임시 CSS ===== */
.product-card:hover,
.product-card:hover a,
.product-card:hover .product-card-main-link,
.product-card:hover .product-card__thumb,
.product-card:hover .product-card__image,
.product-card:hover .product-card__media,
.product-card:hover .product-card-inner {
  transform: none;
}
.product-card:hover .product-thumb img {
  transform: scale(1.04);
}
/* ===== [/DIAG] ===== */
