header {
	max-width: 1200px; margin: 0 auto 10px auto; padding: 0;
	/* 로고는 콘텐츠(1200px) 왼쪽 끝, 제작가이드·주문배송·장바구니는 오른쪽 끝에 밀착 */
}

/* 화면이 콘텐츠 폭보다 좁을 때만 가장자리 여백 유지 */
@media (max-width: 1199.98px) {
	header { padding: 0 16px; }
}



/* ── 네비게이션 ── */
.inter-nav {
	position: relative;
	z-index: 100;
}

.inter-nav-bar {
	position: relative;
	z-index: 2;
}

.inter-nav-bar > .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.inter-nav-menu {
	display: flex;
	align-items: center;
	height: 44px;
}

.inter-nav-menu > li {
	height: 100%;
	display: flex;
	align-items: center;
}

.inter-nav-menu > li > a {
	display: flex;
	align-items: center;
	padding: 0 14px;
	height: 100%;
	color: #444;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: -0.01em;
	transition: color 0.3s;
	cursor: pointer;
	white-space: nowrap;
}

.inter-nav-menu > li:first-child > a {
	padding: 0;
}

/*
.inter-nav-menu > li > a:hover {
	color: #fff;
}

.nav-hamburger {
	color: #333 !;
}

.nav-hamburger i {
	font-size: 18px !important;
	color: #333;
}

.inter-nav-right {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #ccc;
	font-size: 13px;
	height: 44px;
}

.inter-nav-right a {
	color: #ccc;
	transition: color 0.3s;
}

.inter-nav-right a:hover {
	color: #fff;
}
*/

/* ── CSS-only 드롭다운 패널 ── */
.has-dropdown .dropdown-panel {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 44px;           /* inter-nav-menu 높이와 동일 */
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid #e0e0e0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 10;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.has-dropdown:hover .dropdown-panel {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

/* ── 전체보기 패널 내부 (native 스크롤) ── */
.dp-0 .dropdown-inner {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px;
	padding: 20px 0;
	overflow-y: auto;
	max-height: 500px;
	scrollbar-width: thin;
	scrollbar-color: #bbb transparent;
	box-sizing: border-box;
}

.dp-0 .dropdown-inner::-webkit-scrollbar {
	width: 6px;
}

.dp-0 .dropdown-inner::-webkit-scrollbar-thumb {
	background: #bbb;
	border-radius: 3px;
}

/* ── 개별 패널 내부 ── */
.dropdown-inner {
	display: flex;
	gap: 50px;
	padding: 20px 0;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.dropdown-inner-column {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  padding: 20px 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── 드롭다운 내부 스타일 ── */
.dropdown-col {
	border-left: 1px solid #e0e0e0;
	padding: 0 25px;
}

.dropdown-col:first-child {
	border-left: none;
	padding: 0;
}

.dropdown-col h3 {
	font-size: 16px;       /* 서브 카테고리 제목: 크기 업 */
	font-weight: 400;      /* 볼드 제거 */
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 12px 0;
}

.dropdown-col ul li a {
	display: block;
	padding: 4px 0;
	color: #1d1d1f;
	font-size: 14px;
	transition: color 0.2s;
}

.dropdown-col ul li a:hover {
	color: #0066cc;
}

.dropdown-col ul.big-links li a {
	font-size: 15px;
	font-weight: 400;   /* 드롭다운 링크 볼드 제거 */
	padding: 3px 0;
	color: #1d1d1f;
}

.dropdown-col ul.big-links li a:hover {
	color: #0066cc;
}

.dropdown-col ul.small-links li a {
	font-size: 14px;
	font-weight: 400;
	color: #555;
}

.dropdown-col ul.small-links li a:hover {
	color: #0066cc;
}

.dropdown-divider {
	width: 1px;
	background-color: #e0e0e0;
	align-self: stretch;
}


/* ── dp-1 명함 슬라이더 레이아웃 ── */
.dp1-layout {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  box-sizing: border-box;
  align-items: flex-start;
}

.dp1-slider-area {
  flex: 1;
  min-width: 0;
}

.dp1-swiper {
  width: 100%;
  position: relative;
}

.dp1-slide {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.dp1-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 6px 6px 0 0;
}

.dp1-slide-overlay {
  height: 56px;
  padding: 8px 12px;
  background: #f8f8f8;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.dp1-slide-title {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 3px;
  line-height: 1.3;
}

.dp1-slide-desc {
  color: #666;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

.dp1-pagination,
.dp2-pagination {
  position: absolute !important;
  bottom: 64px !important;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
}

.dp1-pagination .swiper-pagination-bullet,
.dp2-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.dp1-pagination .swiper-pagination-bullet-active,
.dp2-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

.dp1-links-area {
  flex: 4;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-content: start;
}

.dp1-links-area .dropdown-col {
  border-left: 1px solid #e0e0e0;
  padding: 0 20px;
}

.dp1-links-area .dropdown-col:first-child {
  border-left: none;
  padding-left: 0;
}

.dp1-links-area .dropdown-col h5 {
  font-size: 13px;
  font-weight: 600;   /* 컬럼 제목은 약하게만 강조 */
  color: #1d1d1f;
  margin: 0 0 10px;
}

/* ── 배경 오버레이 ── */
.inter-nav-overlay {
	position: fixed;
	top: 150px;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
	z-index: 99;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* :has() 로 호버 시 오버레이 활성화 (Chrome 105+, Firefox 121+, Safari 15.4+) */
.inter-nav:has(.has-dropdown:hover) + .inter-nav-overlay {
	opacity: 1;
	pointer-events: auto;
}

/* ── 헤더 상단 바 ── */
.header-top { padding: 12px 0; }
.header-top-right { display: flex; justify-content: flex-end; gap: 20px; }
.header-logout-btn { border: none; background: none; }

/* ── 헤더 메인 행 ── */
.header-main { display: flex; justify-content: space-between; align-items: center; }
.header-brand { display: flex; align-items: center; gap: 10px; }
.header-logo { font-weight: 700; }

/* ── 헤더 검색 ── */
.header-search-wrap {
  display: flex;
  align-items: center;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  gap: 10px;
}
.header-search-input { width: 420px; border: none; }

/* ── 네비게이션 이벤트 링크 ── */
.nav-event-link { color: #0066cc; font-weight: 700; font-size: 16px; }

/* ── 전체보기 드롭다운 ── */
.dp0-content { padding: 30px 0; }
.dp0-container { max-width: 1200px; margin: 0 auto; }
.dp0-search-wrap {
  width: 60%;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.dp0-search-input { width: 96%; border: none; padding: 0; }

/* ── 드롭다운 카테고리 아이템 ── */
.dp-cat-title { font-weight: 700; }
.dp-cat-list { font-size: 13px; }
.mb-section { margin-bottom: 20px; }

/* ── 헤더 액션 영역 ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-action-text {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #444;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.header-action-cart {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #444;
  font-size: 13px;
  text-decoration: none;
  position: relative;
}

.header-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  line-height: 1;
}

.header-brand-sub {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

.header-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  padding: 6px;
  cursor: pointer;
  font-size: 22px;
  color: #333;
}

/* ── 모바일 오프캔버스 내부 ── */
.mobile-nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-search .form-control {
  font-size: 14px;
}

.mobile-nav-search .ti-search {
  color: #999;
  font-size: 16px;
  flex-shrink: 0;
}

.mobile-nav-auth {
  padding: 14px 16px;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.mobile-nav-greeting {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.mobile-nav-auth-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-nav-auth-links a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

.mobile-nav-auth-links a:hover {
  color: #0066cc;
}

.mobile-nav-logout-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}

.mobile-nav-logout-btn:hover {
  color: #e53e3e;
}

.mobile-nav-acc-btn {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 12px 16px;
  background: none;
  box-shadow: none !important;
}

.mobile-nav-acc-btn:not(.collapsed) {
  color: #0066cc;
  background: none;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 16px 12px;
}

.mobile-nav-links a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  padding: 5px 0;
}

.mobile-nav-links a:hover {
  color: #0066cc;
}

.mobile-nav-col-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 10px 0 4px;
}

.mobile-nav-col-title:first-child {
  margin-top: 2px;
}

.mobile-nav-quick {
  display: flex;
  flex-direction: column;
  padding: 8px 16px 16px;
  border-top: 1px solid #f0f0f0;
  gap: 4px;
}

.mobile-nav-quick a {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-quick a:last-child {
  border-bottom: none;
}

.mobile-nav-quick a:hover {
  color: #0066cc;
}

.mobile-nav-offcanvas {
  max-width: 320px;
}

/* ── 태블릿 (992px 미만): 데스크탑 GNB 숨김 ── */
@media (max-width: 991.98px) {
  .inter-nav,
  .inter-nav-overlay {
    display: none !important;
  }

  .header-hamburger {
    display: flex;
  }

  .header-brand-sub {
    display: none;
  }

  header {
    margin-bottom: 0;
  }
}

/* ── 모바일 (768px 미만): 검색창 축소, 패딩 조정 ── */
@media (max-width: 767.98px) {
  .header-top {
    padding: 8px 0;
  }

  .header-main {
    padding: 6px 0;
  }

  .header-search-area {
    display: none !important;
  }

  .header-action-text {
    display: none !important;
  }

  .header-action-cart .header-action-text {
    display: none !important;
  }

  .header-action-cart {
    font-size: 20px;
  }

  .header-actions {
    gap: 10px;
  }
}

/* ── 아주 작은 화면 (480px 미만) ── */
@media (max-width: 479.98px) {
  .header-top-right small,
  .header-top-right .header-logout-btn {
    font-size: 11px;
  }

  .header-top-right {
    gap: 10px;
  }
}
