/* ============================================================================
   공용 헤더 구조 CSS — css/header-base.css  (2026-11-23 신규, 2차)
   ----------------------------------------------------------------------------
   · 이 파일은 "구조"만 담는다: 여백·그리드·타이포·반응형·상태(열림/닫힘).
     색은 전부 토큰(var(--th-*))으로만 쓰고, 값은 css/theme-{hq,dealer}.css 가 정한다.
   · 바탕은 v4 헤더 두 벌(v4/css/new-main.css 의 헤더 규칙 + v4/css/header-v6.css)이다.
     v4 화면은 이 파일을 싣지 않는다(기존 파일 그대로). 본사(hq) 화면만 싣는다.
   · 구조·클래스는 v4 와 같다(.v4-head / .v4-gnb / .v4-panel / .v4-drawer …).
     → 같은 마크업(includes/header.php)이 두 화면에서 같은 뼈대로 그려진다.
   ============================================================================ */

/* ------------------------------------------------------------------ 0. 토큰 */
:root {
  /* 테마가 덮어쓰기 전의 기본값(대리점 색) — theme-*.css 가 이 값을 바꾼다 */
  --th-brand: #1b56d6;
  --th-brand-dark: #1648b7;
  --th-brand-soft: #eef3fe;
  --th-brand-soft-2: #e1eafd;
  --th-ink: #111111;
  --th-body: #444444;
  --th-muted: #8a8f98;
  --th-muted-2: #b0b5bc;
  --th-line: #e9ebee;
  --th-line-2: #eff0f2;
  --th-surface: #f7f8fa;
  --th-surface-2: #f4f5f7;
  --th-red: #ea1917;

  /* v4 헤더 규칙이 쓰는 이름 — 토큰으로 연결 */
  --v4-ink: var(--th-ink);
  --v4-ink-2: var(--th-body);
  --v4-body: var(--th-body);
  --v4-muted: var(--th-muted);
  --v4-muted-2: var(--th-muted-2);
  --v4-line: var(--th-line);
  --v4-line-2: var(--th-line-2);
  --v4-bg: #ffffff;
  --v4-bg-2: var(--th-surface);
  --v4-red: var(--th-red);
  --v4-wrap: 1320px;
  --v4-pad: 24px;
  --v4-head-h: 133px;   /* 이 파일 4번 절의 실제 헤더 높이(PC). 화면별 CSS 는 이 값을 쓴다 */
}

/* ------------------------------------- 0.5 헤더를 싣는 화면의 기준 상자 (2026-11-23)
   헤더가 페이지마다 8px 씩 다르게 보이던 원인:
   · main.css 를 함께 싣는 화면(index·kt·b2b·franchise)은 전역 리셋
     `*{margin:0;padding:0;box-sizing:border-box}` 덕분에 body 여백이 0 이다.
   · products.php 는 shop.css + legacy-shop-header.css 만 싣는다. shop.css 에는 전역
     리셋이 없어(레거시 화면의 본문 여백을 살리려고 일부러 두지 않았다) 브라우저 기본
     body 여백 8px 이 남고, 그래서 헤더가 위·왼쪽으로 8px 내려앉고 폭이 16px 좁아졌다.
   헤더를 싣는 화면은 어떤 CSS 묶음을 함께 싣든 같은 상자에서 시작해야 하므로,
   body 여백만 여기서 0 으로 고정한다. (본문 다른 요소의 여백은 각 화면 CSS 가 정한다 —
   전역 * 리셋을 여기서 되살리면 레거시 본문 여백이 깨지므로 하지 않는다) */
html, body { margin: 0; }

/* 헤더·드로어 안쪽은 항상 border-box — main.css 를 안 싣는 화면에서도 .v4-inner 가
   padding 만큼 넓어지지 않게 한다(예전 legacy-shop-header.css 가 하던 일을 기준 파일로 옮김). */
header.v4-head,
header.v4-head *,
header.v4-head *::before,
header.v4-head *::after,
.v4-drawer,
.v4-drawer *,
.v4-drawer *::before,
.v4-drawer *::after { box-sizing: border-box; }

/* 글꼴도 헤더 기준으로 고정 — 화면이 Pretendard 를 싣지 않아도 헤더 폭·줄높이가 같게 */
header.v4-head,
.v4-drawer {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.6;   /* main.css body 와 같은 값 — 헤더 안 글줄 높이가 화면마다 달라지지 않게 */
}

/* 브라우저 기본 여백(p·ul·h 등)도 헤더 안에서는 0 — main.css 의 `*{margin:0;padding:0}`
   과 같은 출발점을 만든다. 이게 없으면 GNB 메가패널이 화면마다 다른 높이로 그려진다
   (products.php 실측: 패널 584px vs 다른 화면 532px).
   :where() 로 특이도를 0 으로 두어 이 파일·테마의 실제 규칙을 절대 이기지 않는다. */
:where(header.v4-head, .v4-drawer) :where(p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, figure, blockquote, fieldset, legend, table, th, td) {
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------- 1. v4 기본 헤더 구조(발췌) */
header.v4-head {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;}
.v4-inner {
  width: 100%;
  max-width: var(--v4-wrap);
  margin: 0 auto;
  padding: 0 var(--v4-pad);}
.v4-head__util {
  border-bottom: 1px solid var(--v4-line-2);}
.v4-head__util-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;}
.v4-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--v4-ink);}
.v4-logo__mark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.055em;}
.v4-logo__sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--v4-muted-2);}
.v4-util {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;}
.v4-util a {
  font-size: 13px;
  font-weight: 400;
  color: #444444;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.15s;}
.v4-util a:hover { color: var(--v4-ink);}
.v4-util a.is-strong {
  color: var(--v4-ink);
  font-weight: 600;}
.v4-head__gnb { position: relative;}
.v4-head__gnb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 60px;}
.v4-gnb__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;}
.v4-gnb__item { position: static;}
.v4-gnb__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 170px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;}
.v4-gnb__item:hover > .v4-gnb__link,
.v4-gnb__item:focus-within > .v4-gnb__link,
.v4-gnb__item.is-open > .v4-gnb__link {
  background: var(--v4-ink);
  color: #ffffff;
  font-weight: 700;}
.v4-gnb__item.is-current > .v4-gnb__link { font-weight: 700;}
.v4-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  border-top: 1px solid var(--v4-line-2);
  border-bottom: 1px solid var(--v4-line);
  box-shadow: 0 20px 30px -22px rgba(0, 0, 0, 0.25);
  z-index: 950;}
.v4-gnb__item:hover > .v4-panel,
.v4-gnb__item:focus-within > .v4-panel,
.v4-gnb__item.is-open > .v4-panel {
  display: block;
  animation: v4PanelIn 0.16s ease-out;}
.v4-panel__in { padding-top: 26px; padding-bottom: 30px;}
.v4-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v4-line-2);
  margin-bottom: 18px;}
.v4-panel__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);}
.v4-panel__title span {
  font-size: 12px;
  font-weight: 400;
  color: var(--v4-muted-2);
  margin-left: 10px;
  letter-spacing: 0;}
.v4-panel__all {
  font-size: 13px;
  font-weight: 500;
  color: var(--v4-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;}
.v4-panel__all:hover { color: var(--v4-ink);}
.v4-panel__all svg { width: 12px; height: 12px;}
.v4-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;}
.v4-tile > a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--v4-ink);
  transition: background-color 0.15s;}
.v4-tile > a:hover { background: var(--v4-bg-2);}
.v4-tile__ico {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: #6b7075;}
.v4-tile__ico svg { width: 30px; height: 30px;}
.v4-tile > a:hover .v4-tile__ico { color: var(--v4-ink);}
.v4-tile__name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
  line-height: 1.35;}
.v4-tile__desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--v4-muted-2);
  line-height: 1.4;
  margin-top: -4px;}
.v4-gnb__tools {
  display: flex;
  align-items: center;
  gap: 18px;}
.v4-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 236px;
  height: 42px;
  padding: 0 14px 0 18px;
  border: 0;
  border-radius: 21px;
  background: #f4f4f4;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: left;}
.v4-search-btn:hover { background: #ebebeb; color: var(--v4-ink);}
.v4-search-btn svg { width: 17px; height: 17px; flex: 0 0 auto;}
.v4-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  text-decoration: none;
  white-space: nowrap;}
.v4-phone svg { width: 18px; height: 18px;}
.v4-phone:hover { color: var(--v4-red);}
.v4-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;}
.v4-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--v4-ink);
  transition: transform 0.2s, opacity 0.2s;}
.v4-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg);}
.v4-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0;}
.v4-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg);}
body.sf-page .v4-guide__card,
body.sf-page .v4-tile > a,
body.sf-page .v4-panel__all,
body.sf-page .v4-gnb__link,
body.sf-page .v4-gnb__link:hover { color: var(--v4-ink);}
body.sf-page .v4-gnb__item:hover > .v4-gnb__link,
body.sf-page .v4-gnb__item:focus-within > .v4-gnb__link,
body.sf-page .v4-gnb__item.is-open > .v4-gnb__link { color: #fff;}
.v4-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  border-left: 1px solid var(--v4-line);
  transform: translateX(102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 18px 20px 32px;
  display: none;}
.v4-drawer.is-open { transform: translateX(0);}
.v4-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--v4-line-2);}
.v4-drawer__head strong { font-size: 17px; font-weight: 800; letter-spacing: -0.03em;}
.v4-drawer__close {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--v4-ink);}
.v4-drawer__group { padding: 16px 0; border-bottom: 1px solid var(--v4-line-2);}
.v4-drawer__group > strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--v4-muted-2);
  margin-bottom: 8px;}
.v4-drawer__group a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--v4-ink);
  text-decoration: none;}
.v4-drawer__cta {
  display: flex;
  gap: 8px;
  margin-top: 20px;}
.v4-drawer__cta a,
.v4-drawer__cta button {
  flex: 1;
  height: 46px;
  border: 1px solid var(--v4-ink);
  border-radius: 4px;
  background: #fff;
  color: var(--v4-ink);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;}
.v4-drawer__cta a.is-solid,
.v4-drawer__cta button.is-solid { background: var(--v4-ink); color: #fff;}
@media (max-width: 1240px) {
  .v4-gnb__link {min-width: 0; padding: 0 16px; font-size: 15px;}
  .v4-search-btn {width: 190px;}
  .v4-phone {font-size: 17px;}
  .v4-tiles {grid-template-columns: repeat(4, minmax(0, 1fr));}
}
@media (max-width: 1080px) {
  .v4-head__util {display: none;}
  .v4-gnb {display: none;}
  .v4-search-btn,
  .v4-phone {display: none;}
  .v4-drawer {display: block;}
  .v4-head__gnb-in {height: 60px;}
  .v4-burger {display: inline-flex;}
  .v4-head__gnb-in::before {content: "태모커머스";
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--v4-ink);}
}
@media (max-width: 768px) {
  .v4-tiles {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
.v4-panel::before {content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}
.v4-search-btn {width:262px;}
.v4-search-btn span {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* --------------------------------------------------- 2. v4 헤더 v6 스킨(동결본) */
/* v4/css/header-v6.css 내용을 색만 토큰으로 바꿔 그대로 옮겼다(구조 동일). */



.v4-head__util-in {
  height: 40px !important;
}
.v4-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--th-ink) !important;
}
.v4-logo__img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}
.v4-logo__mark {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
  line-height: 1 !important;
  color: var(--th-ink) !important;
}
.v4-logo__sub {
  display: none !important;
}
.v4-util {
  gap: 20px !important;
}
.v4-util a {
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: var(--th-body) !important;
  letter-spacing: -0.02em;
}
.v4-util a:hover {
  color: var(--th-ink) !important;
}
.v4-util a.is-strong {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--th-ink) !important;
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}
.v4-util a.is-strong:hover {
  background: #000 !important; color: #fff !important;
}

.v4-gnb__link {
  min-width: 152px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}
.v4-panel__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: var(--th-ink) !important;
}
.v4-panel__title span {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--th-muted) !important;
}
.v4-panel__all {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--th-body) !important;
}
.v4-panel__all:hover {
  color: var(--th-ink) !important;
}
.v4-panel .v4-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.v4-tile > a {
  padding: 14px 14px 16px !important;
}
.v4-tile__name {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--th-ink) !important;
  line-height: 1.4;
}
.v4-tile__desc {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--th-muted) !important;
  line-height: 1.45;
}
.v4-tile__ico {
  color: var(--th-body);
}

.v4-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.v4-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 18px;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  background: #fff;
  color: var(--th-ink);
  text-decoration: none;
  transition: border-color .14s ease;
}
.v4-tier:hover {
  border-color: var(--th-ink);
}
.v4-tier__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.v4-tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.v4-tier__price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--th-muted);
}
.v4-tier__price strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--th-ink);
}
.v4-tier__desc {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--th-body);
  word-break: keep-all;
}
.v4-tier--free {
  background: var(--th-surface);
}
.v4-tier--free .v4-tier__price strong {
  font-size: 24px;
}
.v4-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--th-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.v4-panel__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--th-line-2);
  text-align: right;
}
.v4-panel__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--th-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--th-ink);
  padding-bottom: 2px;
}

.v4-drawer__head strong {
  font-size: 18px !important; font-weight: 800 !important;
}
.v4-drawer__group > strong {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--th-muted) !important;
  letter-spacing: 0.06em !important;
}
.v4-drawer__group a {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--th-ink) !important;
}
.v4-drawer__cta a,
.v4-drawer__cta button {
  font-size: 15px !important; font-weight: 700 !important;
}

@media (max-width: 1080px) {
  
  .v4-head .v4-head__gnb .v4-head__gnb-in::before {
    content: none !important;
    display: none !important;
  }
  
  .v4-head .v4-head__gnb .v4-head__gnb-in {
    justify-content: flex-end !important;
  }
  
  .v4-head .v4-head__util {
    display: block !important;
    position: relative;
    z-index: 5;
    height: 0 !important;
    min-height: 0 !important;
    border-bottom: 0 !important;
    overflow: visible !important;
  }
  .v4-head .v4-head__util .v4-head__util-in {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    pointer-events: none;          
  }
  
  .v4-head .v4-head__util .v4-head__util-in .v4-logo {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px;
    pointer-events: auto;
  }
  .v4-head .v4-head__util .v4-util {
    display: none !important;
  }
}
@media (max-width: 1240px) {
  .v4-panel .v4-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .v4-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v4-gnb__link {
    font-size: 15px !important; min-width: 0 !important; padding: 0 14px !important;
  }
}
@media (max-width: 768px) {
  .v4-panel .v4-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .v4-tiers {
    grid-template-columns: 1fr;
  }
  .v4-tier__price strong {
    font-size: 24px;
  }
}

.v4-search-btn {
  font-size: 13.5px !important; color: var(--th-body) !important;
}
.v4-phone {
  font-size: 18px !important;
}




.v4-gnb__item[data-menu="internet"] .v4-panel__head {
  align-items: flex-start !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 18px !important;
}
.v4-gnb__item[data-menu="internet"] .v4-panel__title {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.v4-gnb__item[data-menu="internet"] .v4-panel__title span {
  display: block !important;
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--th-muted) !important;
  letter-spacing: -0.01em !important;
}
.v4-gnb__item[data-menu="internet"] .v4-panel__all {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--th-brand-soft);
  color: var(--th-brand) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  gap: 6px;
  transition: background-color .14s ease;
}
.v4-gnb__item[data-menu="internet"] .v4-panel__all:hover {
  color: #fff !important;
}
.v4-gnb__item[data-menu="internet"] .v4-panel__all svg {
  width: 16px; height: 16px;
}

.v4-net-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-net-cards > li { min-width: 0; }
.v4-net-cards > li > a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  box-sizing: border-box;
  height: 100%;
  min-height: 118px;
  padding: 18px 20px 20px !important;
  border: 1px solid var(--th-line);
  border-radius: 12px;
  background: #fff !important;
  color: var(--th-ink) !important;
  text-decoration: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.v4-net-cards > li > a:hover {
  border-color: var(--th-ink);
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(17, 17, 17, .06);
}

.v4-net-card__logo {
  display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 10px;
}
.v4-net-card__logo img {
  display: block;
  height: 26px !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 26px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}
.v4-net-card__name {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--th-ink) !important;
}
.v4-net-card__desc {
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--th-muted) !important;
}

.v4-net-cards--icon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v4-net-cards--icon > li > a { min-height: 104px; }
.v4-net-cards--icon .v4-tile__ico {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: var(--th-body);
}
.v4-net-cards--icon .v4-tile__ico svg { width: 30px !important; height: 30px !important; }
.v4-net-cards--icon .v4-tile__name {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.v4-net-cards--icon .v4-tile__desc {
  margin-top: 2px !important;
  font-size: 14px !important;
  line-height: 1.5;
}

.v4-net-quick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.v4-net-quick__label {
  margin-right: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--th-muted);
}
.v4-net-chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--th-ink) !important;
  text-decoration: none;
  transition: border-color .14s ease, background-color .14s ease;
}
.v4-net-chip:hover {
  border-color: var(--th-ink);
  background: #fafbfc;
  color: var(--th-ink) !important;
}
@media (max-width: 1240px) {
  .v4-net-cards,
  .v4-net-cards--icon { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .v4-net-cards,
  .v4-net-cards--icon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .v4-net-cards,
  .v4-net-cards--icon { grid-template-columns: minmax(0, 1fr); }
  .v4-net-cards > li > a { min-height: 0; padding: 16px 16px 18px !important; }
  .v4-net-quick { gap: 8px; }
  .v4-net-chip { height: 36px; padding: 0 16px; }
}




.v4-gnb__item[data-menu="b2b"] .v4-panel__head {
  align-items: flex-start !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 18px !important;
}
.v4-gnb__item[data-menu="b2b"] .v4-panel__title {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.v4-gnb__item[data-menu="b2b"] .v4-panel__title span {
  display: block !important;
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--th-muted) !important;
  letter-spacing: -0.01em;
}
.v4-gnb__item[data-menu="b2b"] .v4-panel__all {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--th-brand-soft);
  color: var(--th-brand) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  gap: 6px;
  transition: background-color .14s ease;
}
.v4-gnb__item[data-menu="b2b"] .v4-panel__all svg { width: 16px; height: 16px; }
.v4-gnb__item[data-menu="b2b"] .v4-panel__all:hover { color: #fff !important; }


.v4-b2b {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.v4-b2b__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-b2b__row { min-width: 0; }
.v4-b2b__row > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--th-line);
  border-radius: 12px;
  background: #fff;
  color: var(--th-ink) !important;
  text-decoration: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.v4-b2b__row > a:hover,
.v4-b2b__row:focus-within > a {
  border-color: var(--th-ink);
  box-shadow: 0 2px 10px rgba(17, 17, 17, .06);
}
.v4-b2b__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--th-surface-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--th-ink);
}
.v4-b2b__row--lg .v4-b2b__mark { background: #fdeef2; color: #a50034; }
.v4-b2b__row--sam .v4-b2b__mark { background: var(--th-brand-soft-2); color: #1428a0; }
.v4-b2b__body { min-width: 0; display: block; }
.v4-b2b__name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--th-ink);
}
.v4-b2b__line {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--th-muted);
}

.v4-b2b__stage { min-width: 0; }
.v4-b2b__pane { display: none; }
.v4-b2b__pane--lg { display: block; }
.v4-b2b:has(.v4-b2b__row--sam:hover) .v4-b2b__pane--lg,
.v4-b2b:has(.v4-b2b__row--sam:focus-within) .v4-b2b__pane--lg { display: none; }
.v4-b2b:has(.v4-b2b__row--sam:hover) .v4-b2b__pane--sam,
.v4-b2b:has(.v4-b2b__row--sam:focus-within) .v4-b2b__pane--sam { display: block; }
.v4-b2b__shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.v4-b2b__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 224px;
  padding: 10px;
  border: 1px solid var(--th-line);
  border-radius: 12px;
  background: var(--th-surface-2);   
}
.v4-b2b__shot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.v4-b2b__desc {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.65;
  color: var(--th-body);
  word-break: keep-all;
}

.v4-b2b__info {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--th-line-2);
}
.v4-b2b__info > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--th-ink);
}
.v4-b2b__info > summary::-webkit-details-marker { display: none; }
.v4-b2b__info > summary::after {
  content: "+";
  font-size: 15px;
  font-weight: 800;
  color: var(--th-muted);
}
.v4-b2b__info[open] > summary::after { content: "\2212"; }
.v4-b2b__info-body {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--th-surface);
}
.v4-b2b__info-body p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--th-body);
}
.v4-b2b__info-body p + p { margin-top: 6px; }
.v4-b2b__info-body .v4-b2b__notice {
  font-size: 14px;
  font-weight: 800;
  color: var(--th-ink);
}

.v4-b2b-cards { display: grid; gap: 8px; }
.v4-drawer .v4-b2b-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px !important;
  border: 1px solid var(--th-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
}
.v4-drawer .v4-b2b-card__thumb {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--th-surface-2);
}
.v4-drawer .v4-b2b-card__thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}
.v4-drawer .v4-b2b-card__name {
  display: block;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--th-ink) !important;
}
.v4-drawer .v4-b2b-card__line {
  display: block;
  margin-top: 2px;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  color: var(--th-muted) !important;
}
.v4-b2b-card__notice {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--th-ink);
  word-break: keep-all;
}
.v4-drawer .v4-b2b__info { margin-top: 10px; padding-top: 10px; }
.v4-drawer .v4-b2b__info > summary { font-size: 13px; }
.v4-drawer .v4-b2b__info-body { padding: 12px 14px; }
.v4-drawer .v4-b2b__info-body p { font-size: 12.5px; line-height: 1.65; }

@media (max-width: 1240px) {
  .v4-b2b { grid-template-columns: 232px minmax(0, 1fr); gap: 18px; }
  .v4-b2b__shot { height: 176px; padding: 10px; }
}
@media (max-width: 980px) {
  .v4-b2b { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .v4-b2b__shots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v4-b2b__shot { height: 140px; }
}


.v4-net-card__desc {
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.v4-tel-cards { display: grid; gap: 8px; }
.v4-drawer .v4-tel-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 88px;
  padding: 12px 14px !important;
  border: 1px solid var(--th-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  white-space: normal !important;
}
.v4-drawer .v4-tel-card__logo {
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
}
.v4-drawer .v4-tel-card__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 54px;
  max-height: 22px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.v4-drawer .v4-tel-card__body {
  display: block;
  min-width: 0;
}
.v4-drawer .v4-tel-card__name {
  display: block;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--th-ink) !important;
}
.v4-drawer .v4-tel-card__desc {
  display: block;
  margin-top: 3px;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--th-muted) !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.v4-drawer .v4-tel-link {
  display: block !important;
  margin-top: 10px;
  padding: 8px 0 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--th-ink) !important;
}


.v4-gnb__item[data-menu="appliance"] .v4-panel__head,
.v4-gnb__item[data-menu="franchise"] .v4-panel__head {
  align-items: flex-start !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 18px !important;
}
.v4-gnb__item[data-menu="appliance"] .v4-panel__title,
.v4-gnb__item[data-menu="franchise"] .v4-panel__title {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.v4-gnb__item[data-menu="appliance"] .v4-panel__title span,
.v4-gnb__item[data-menu="franchise"] .v4-panel__title span {
  display: block !important;
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--th-muted) !important;
  letter-spacing: -0.01em !important;
}
.v4-gnb__item[data-menu="appliance"] .v4-panel__all,
.v4-gnb__item[data-menu="franchise"] .v4-panel__all {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--th-brand-soft);
  color: var(--th-brand) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  gap: 6px;
  transition: background-color .14s ease;
}
.v4-gnb__item[data-menu="appliance"] .v4-panel__all:hover,
.v4-gnb__item[data-menu="franchise"] .v4-panel__all:hover {
  color: #fff !important;
}
.v4-gnb__item[data-menu="appliance"] .v4-panel__all svg,
.v4-gnb__item[data-menu="franchise"] .v4-panel__all svg { width: 16px; height: 16px; }


.v4-app {
  position: relative;
  padding-left: 288px;
  min-height: 400px;
}
.v4-app__cats {
  display: grid;
  gap: 6px;
  width: 264px;
  margin: 0 0 0 -288px;
  padding: 0;
  list-style: none;
}
.v4-app__catbtn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--th-ink) !important;
  text-decoration: none;
  transition: background-color .12s ease, border-color .12s ease;
}
.v4-app__cat:hover > .v4-app__catbtn,
.v4-app__cat:focus-within > .v4-app__catbtn {
  background: var(--th-surface);
  border-color: var(--th-line);
}
.v4-app__ico { display: inline-flex; width: 26px; height: 26px; flex: 0 0 auto; color: var(--th-body); }
.v4-app__ico svg { width: 26px !important; height: 26px !important; }
.v4-app__catbody { display: flex; align-items: baseline; gap: 6px; min-width: 0; flex: 1 1 auto; }
.v4-app__catname {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--th-ink);
}
.v4-app__catn {
  display: block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--th-muted);
}

.v4-app__pane {
  display: none;
  position: absolute;
  left: 288px;
  top: 0;
  right: 0;
  z-index: 2;
  background: #fff;
}
.v4-app__cat.is-default > .v4-app__pane { display: block; }
.v4-app__cat:hover > .v4-app__pane,
.v4-app__cat:focus-within > .v4-app__pane { display: block; }
.v4-app:has(.v4-app__cat:hover) .v4-app__cat.is-default:not(:hover) > .v4-app__pane { display: none; }
.v4-app:has(.v4-app__cat:focus-within) .v4-app__cat.is-default:not(:focus-within) > .v4-app__pane { display: none; }
.v4-app__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 28px;
}
.v4-app__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--th-muted);
}
.v4-app__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v4-app__chips a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--th-line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--th-ink) !important;
  text-decoration: none;
  transition: border-color .12s ease;
}
.v4-app__chips a:hover { border-color: var(--th-ink); }
.v4-app__chips em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--th-muted);
}
.v4-app__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--th-brand) !important;
  text-decoration: none;
}
.v4-app__more svg { width: 14px; height: 14px; }
.v4-app__rest {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  width: 264px;
  margin: 14px 0 0 -288px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--th-muted);
}
.v4-app__rest span { width: 100%; font-size: 11px; font-weight: 700; color: var(--th-muted); }
.v4-app__rest a { color: var(--th-body) !important; text-decoration: underline; }


.v4-fr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.v4-fr__tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.v4-fr__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px 18px;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  background: #fff;
  color: var(--th-ink) !important;
  text-decoration: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.v4-fr__tier:hover {
  border-color: var(--th-ink);
  box-shadow: 0 2px 10px rgba(17, 17, 17, .06);
}
.v4-fr__name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.v4-fr__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.v4-fr__price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--th-muted);
}
.v4-fr__price strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--th-ink);
}
.v4-fr__desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--th-body);
  word-break: keep-all;
}
.v4-fr__tier--free { background: var(--th-surface); }
.v4-fr__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--th-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.v4-fr__shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.v4-fr__shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--th-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--th-surface-2);
}
.v4-fr__shot img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}
.v4-fr__shot figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.v4-fr__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--th-line-2);
}
.v4-fr__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--th-ink);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.v4-fr__cta span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.v4-fr__cta:hover { background: #000; }


@media (max-width: 1240px) {
  .v4-app { padding-left: 240px; min-height: 392px; }
  .v4-app__cats { width: 220px; margin-left: -240px; }
  .v4-app__pane { left: 240px; }
  .v4-app__catname { font-size: 15px; }
  .v4-app__rest { display: none; }   
  .v4-fr { gap: 16px; }
  .v4-fr__shot img { height: 112px; }
}


.v4-b2b__info > summary {
  padding: 9px 16px;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  background: #fff;
  gap: 8px;
}
.v4-b2b__info > summary:hover { border-color: var(--th-ink); }
.v4-b2b__info[open] > summary { border-color: var(--th-ink); }


.v4-dr-app > summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--th-muted);
}
.v4-dr-app > summary::-webkit-details-marker { display: none; }
.v4-dr-app > summary em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--th-muted-2);
}
.v4-dr-app > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 15px;
  font-weight: 800;
  color: var(--th-muted);
}
.v4-dr-app[open] > summary::after { content: "\2212"; }
.v4-dr-app__cat {
  margin: 8px 0 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--th-surface-2);
}
.v4-drawer .v4-dr-app__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--th-ink) !important;
  text-decoration: none;
}
.v4-dr-app__name em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--th-muted);
}
.v4-dr-app__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.v4-drawer .v4-dr-app__chips a {
  padding: 5px 10px;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--th-body) !important;
  text-decoration: none;
}
.v4-dr-app__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
}
.v4-drawer .v4-dr-app__brands a {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--th-muted) !important;
  text-decoration: none;
}
.v4-drawer .v4-dr-app__all {
  display: block !important;
  margin-top: 4px;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--th-brand) !important;
}
.v4-drawer .v4-dr-fr__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--th-ink);
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}



.v4-head { padding-bottom: 12px !important; }
.v4-head__gnb { padding-top: 16px !important; }

@media (max-width: 1199px) {
  .v4-head__gnb { padding-top: 14px !important; }
  .v4-head .v4-head__util .v4-head__util-in { top: 14px !important; }
}

@media (max-width: 767px) {
  .v4-head { padding-bottom: 10px !important; }
  .v4-head__gnb { padding-top: 12px !important; }
  .v4-head .v4-head__util .v4-head__util-in { top: 12px !important; }
}

/* ------------------------------------------------------- 3. 폭 통일(1320) */
/* v4/css/v4-width-1200.css 의 헤더 부분 — 본사 본문 폭(--sf-wrap 1320)과 맞춘다
   2026-11-26: 본문 1200 -> 1320 확장에 맞춰 1320 으로 올렸다. */
.v4-inner {
  max-width: 1320px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 1247px) {
  .v4-inner {
    max-width: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media (min-width: 1024px) and (max-width: 1247px) {
  .v4-gnb__list { gap: 0 !important; }
  .v4-gnb__link { padding: 0 12px !important; font-size: 15px !important; }
}

/* ============================================================================
   4. 상단 여백 · GNB 5개 정렬 · 유심 하위 칩 · 원형 마크 로고 (2026-11-23)
   ----------------------------------------------------------------------------
   · 로고 줄 위 12px · 로고 줄 48px · GNB 줄 52px → 헤더 132px (PC)
     (기존 135px 에서 로고 위 여백만 6px → 18px 로 넓히고, 사이 줄 간격으로 나눴다)
   · GNB 5개: 첫 항목 글자를 로고·본문 텍스트와 같은 세로선(컨테이너 안쪽)에 맞춘다
   · 인터넷 패널의 '유심 요금제' 칩 줄
   ============================================================================ */
.v4-head { padding-top: 12px !important; padding-bottom: 10px !important; }
.v4-head__util-in { height: 48px !important; }
.v4-head__gnb { padding-top: 10px !important; }
.v4-head__gnb-in { height: 52px !important; }
.v4-gnb__link { min-width: 0 !important; padding: 0 24px !important; }
.v4-gnb__list { margin-left: -24px !important; }
.v4-logo { gap: 10px !important; }
.v4-logo__img { width: 36px; height: 36px; }

/* 유심 하위 칩 줄 — 바로가기 줄 아래 한 줄 */
.v4-net-quick--usim { margin-top: 10px !important; }
.v4-drawer .v4-tel-usim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--th-line-2);
}
.v4-drawer .v4-tel-usim > span {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--th-muted) !important;
}
.v4-drawer .v4-tel-usim a {
  padding: 5px 10px !important;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--th-body) !important;
}

@media (max-width: 1247px) {
  .v4-gnb__link { padding: 0 12px !important; font-size: 15px !important; }
  .v4-gnb__list { margin-left: -12px !important; }
}
@media (max-width: 1080px) {
  /* 이 폭 이하의 실제 헤더 높이(64px 줄 + 아래 8px) — 화면별 CSS 는 이 값을 쓴다 */
  :root { --v4-head-h: 72px; }
  /* 모바일: 유틸 줄이 로고 줄과 겹쳐 그려지므로(기존 구조) 로고 줄 = GNB 줄 = 64px */
  .v4-head { padding-top: 0 !important; padding-bottom: 8px !important; }
  .v4-head__gnb { padding-top: 0 !important; }
  .v4-head__gnb-in { height: 64px !important; }
  .v4-head .v4-head__util .v4-head__util-in { height: 64px !important; top: 0 !important; }
  .v4-gnb__list { margin-left: 0 !important; }
  .v4-logo__img { width: 34px; height: 34px; }
}

/* ============================================================================
   2026-11-25 상단 유틸바 회원 링크 — 로그인·회원가입 / 마이페이지·로그아웃
   ----------------------------------------------------------------------------
   · 자리: 유틸바 오른쪽 '사업자 구매' 왼쪽 (includes/header.php 가 util 앞에 붙인다)
   · 구조·크기·여백은 이 파일, 색은 css/theme-hq.css 가 정한다.
   · 모바일(≤1080px)에서는 유틸바가 숨으므로 드로어 맨 위(.v4-drawer__account)에 같은 링크가 있다.
   ============================================================================ */
.v4-head .v4-head__util .v4-util a.is-account {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 2px;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.v4-head .v4-head__util .v4-util a.is-account--quiet {
  font-weight: 500 !important;
}
.v4-head .v4-head__util .v4-util a.is-account--join {
  height: 26px;
  padding: 0 12px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 700 !important;
}
.v4-head .v4-head__util .v4-util li + li > a.is-account { margin-left: -4px; }

/* 드로어(모바일) 계정 링크 — 두 칸 버튼 한 줄 */
.v4-drawer__account {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--v4-line-2, #eef1f6);
}
.v4-drawer__account a,
.v4-drawer__account a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid var(--th-line, #e6eaf0);
  border-radius: 10px;
  background: #ffffff;
  color: var(--th-ink, #0b1220) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.v4-drawer__account a.is-account--join {
  border-color: var(--th-brand, #2563eb);
  background: var(--th-brand, #2563eb);
  color: #ffffff !important;
}
.v4-drawer__account a.is-account--quiet {
  color: var(--th-body, #475569) !important;
  font-weight: 600 !important;
}

/* 모바일 상단 줄 오른쪽 — 로그인(또는 마이페이지) 바로가기. 드로어 계정 링크와 같은 대상 */
.v4-m-account { display: none; }
@media (max-width: 1080px) {
  .v4-m-account {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--th-line, #e6eaf0);
    border-radius: 999px;
    background: #ffffff;
    color: var(--th-ink, #0b1220) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
  }
}

/* ============================================================================
   2026-11-28 로그인·가입 버튼 통합 — 비로그인 상태에서는 드로어 계정 링크가 하나뿐이라
   두 칸 그리드의 반쪽만 쓰이지 않도록 한 줄 전체(두 칸)를 쓴다.
   ============================================================================ */
.v4-drawer__account a:only-child { grid-column: 1 / -1; }

/* ============================================================================
   2026-11-28 가전특가·사업자 — GNB 6번째 2단 서브메뉴(.v4-deal)
   구조만 이 파일이 정한다(색은 테마 CSS). 패널은 CSS 호버로만 열린다(JS 수정 없음).
   ============================================================================ */
.v4-deal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.v4-deal__col {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--v4-line);
  border-radius: 14px;
  background: #ffffff;
  text-decoration: none;
  color: var(--v4-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.v4-deal__col:hover,
.v4-deal__col:focus-visible {
  border-color: var(--v4-ink);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.45);
}
.v4-deal__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--th-brand, #2563eb);
  letter-spacing: -0.01em;
}
.v4-deal__col strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v4-deal__desc {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--v4-body, #475569);
}
.v4-deal__go {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--th-brand, #2563eb);
}
/* 모바일 드로어의 두 갈래 안내 */
.v4-drawer__group a.v4-deal-dr {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--v4-line-2, #eef1f6);
  color: var(--v4-ink);
  text-decoration: none;
}
.v4-drawer__group a.v4-deal-dr b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.v4-drawer__group a.v4-deal-dr span {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--v4-body, #475569);
}
@media (max-width: 768px) {
  .v4-deal { grid-template-columns: 1fr; }
}

/* ============================================================================
   2026-11-29 모바일 상단 「로그인·회원가입」 숨김
   · ≤1080px 에서 왼쪽 로고(::before "태모커머스")와 겹쳐 보이던 문제.
   · 같은 링크가 햄버거 드로어(.v4-drawer__account) 안에 그대로 있어 기능 손실 없음.
   · PC(1081px 이상)는 이 규칙의 영향을 받지 않는다(.v4-m-account 는 원래 display:none).
   ========================================================================== */
@media (max-width: 1080px) {
  .v4-m-account { display: none !important; }
}
