﻿
/* =========================================================
   SEOHEUNG HEADER UNIFIED
   모든 페이지 상단 메뉴 통일
========================================================= */

/* ---------------------------------------------------------
   헤더 기본
--------------------------------------------------------- */
.topbar {
  height: 68px !important;
  padding-left: clamp(28px, 2.6vw, 48px) !important;
  padding-right: clamp(28px, 2.6vw, 48px) !important;

  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;

  gap: 32px !important;

  background: #ffffff !important;
  backdrop-filter: none !important;

  border-bottom: 1px solid rgba(34, 34, 34, 0.10) !important;
}


/* ---------------------------------------------------------
   좌측 로고 - 기존보다 약 10% 확대
--------------------------------------------------------- */
.topbar .catalog-logo-brand,
.topbar .subpage-logo-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: auto !important;
  height: 48px !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* 메인 + 서브페이지 로고 동일 */
.topbar .catalog-logo-image,
.topbar .subpage-logo-image {
  display: block !important;

  width: auto !important;
  height: 37px !important;

  max-width: 187px !important;
  max-height: 37px !important;

  object-fit: contain !important;
  object-position: left center !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
   중앙/우측 메뉴
--------------------------------------------------------- */
.topbar .catalog-nav {
  justify-self: end !important;

  display: flex !important;
  align-items: center !important;

  gap: clamp(24px, 2.2vw, 36px) !important;

  font-size: 14px !important;
  font-weight: 600 !important;

  letter-spacing: 0.12em !important;
  line-height: 1 !important;
}


/* 메뉴 기본 컬러 */
.topbar .catalog-nav a {
  position: relative !important;

  padding: 8px 0 !important;

  font-size: 14px !important;
  font-weight: 600 !important;

  letter-spacing: 0.12em !important;

  color: #222222 !important;

  transition: color 0.18s ease !important;
}


/* ---------------------------------------------------------
   기존 메뉴 밑줄 / 클릭 라인 완전 제거
--------------------------------------------------------- */
.topbar .catalog-nav a::before,
.topbar .catalog-nav a::after {
  display: none !important;
  content: none !important;

  width: 0 !important;
  height: 0 !important;

  border: 0 !important;
  background: transparent !important;
}


/* 마우스 오버 / 키보드 포커스 */
.topbar .catalog-nav a:hover,
.topbar .catalog-nav a:focus-visible {
  color: #fd5202 !important;
}


/* 현재 선택된 페이지 */
.topbar .catalog-nav a.is-active {
  color: #fd5202 !important;
}


/* 실제 클릭 중 */
.topbar .catalog-nav a:active {
  color: #fd5202 !important;
}


/* ---------------------------------------------------------
   INDEX 영역
--------------------------------------------------------- */
.topbar .top-actions {
  justify-self: end !important;

  display: flex !important;
  align-items: center !important;

  min-height: 22px !important;

  gap: 0 !important;

  padding-left: 24px !important;
  margin-left: 0 !important;

  border-left: 1px solid rgba(34, 34, 34, 0.16) !important;
}


/* 기존 페이지 숫자 제거 */
.topbar #currentLabel,
.topbar .top-actions > span {
  display: none !important;
}


/* INDEX 버튼 / 링크 완전 동일 */
.topbar #menuToggle,
.topbar .header-index-link,
.topbar .company-index-link,
.topbar .top-actions > a {
  display: inline-flex !important;
  align-items: center !important;

  padding: 8px 0 !important;

  font-size: 14px !important;
  font-weight: 600 !important;

  letter-spacing: 0.12em !important;
  line-height: 1 !important;

  color: #222222 !important;

  white-space: nowrap !important;

  transition: color 0.18s ease !important;
}


.topbar #menuToggle:hover,
.topbar #menuToggle:focus-visible,
.topbar .header-index-link:hover,
.topbar .header-index-link:focus-visible,
.topbar .company-index-link:hover,
.topbar .top-actions > a:hover {
  color: #fd5202 !important;
}


/* 버튼 자체의 장식 제거 */
.topbar #menuToggle::before,
.topbar #menuToggle::after,
.topbar .header-index-link::before,
.topbar .header-index-link::after {
  display: none !important;
  content: none !important;
}


/* ---------------------------------------------------------
   반응형
--------------------------------------------------------- */
@media (max-width: 1023px) {

  .topbar .catalog-nav {
    display: none !important;
  }

  .topbar {
    grid-template-columns: auto 1fr auto !important;
  }
}


@media (max-width: 767px) {

  .topbar {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .topbar .catalog-logo-brand,
  .topbar .subpage-logo-brand {
    height: 42px !important;
  }

  .topbar .catalog-logo-image,
  .topbar .subpage-logo-image {
    height: 31px !important;
    max-width: 160px !important;
    max-height: 31px !important;
  }

  .topbar #menuToggle,
  .topbar .header-index-link,
  .topbar .top-actions > a {
    font-size: 12px !important;
  }
}

