/* ──────────────────────────────────────────────────────────────────
   _layout.css — 자사몰 App shell · container · 공통 reset 보강
   NHN reset 위에 얹는 가벼운 layer.
   ────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

/* ── 자사몰 App shell ───────────────────────────────────────────── */
.swc-app {
  /* iOS Safari URL bar 변동 대응 — dvh (dynamic viewport) 지원 시
     주소창 펼침/접힘 따라 자연스럽게. 미지원 시 vh fallback. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
}
.swc-app-main { flex: 1; }

.swc-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── 데스크탑 전용 / 모바일 전용 유틸 ─────────────────────────── */
.pc-only { display: none; }
.mobile-only { display: block; }
@media (min-width: 1024px) {
  .pc-only { display: block; }
  .mobile-only { display: none; }
}

/* ── DeviceSwitch wrapper 와 함께 쓰는 슬롯 컨테이너 ─────────── */
.swc-device-slot { display: contents; }

/* ──────────────────────────────────────────────────────────────────
   NHN aurora 흰색 패널 / wrapper 강제 해제 (전 viewport).
   1320 외부와 wrapper 에 회색(--bg-page) 비치도록 specificity 보강.
   ────────────────────────────────────────────────────────────────── */
html, body { background: var(--bg-page) !important; }
body div#app { background: transparent !important; }
body div#app > div.page { background: var(--bg-page) !important; }
body div#app .page-inner,
body div#app .page__content,
body div#app .page__content.site,
body div#app main.l-content,
body div#app .main-view,
body div#app .home {
  background: transparent !important;
  box-shadow: none !important;
}

/* ──────────────────────────────────────────────────────────────────
   PC (≥1024px) — NHN 모바일 미러 (.page__content 500px) 해제,
   풀폭 1320 데스크탑. .l-content 의 우측 200px 사이드 border 제거.
   ────────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .page {
    display: block !important;
    height: auto !important;
  }
  .page__side { display: none !important; }

  /* .page-inner / .page__content / .page__content.site 모두 풀폭.
     1320 max-width 잠금은 콘텐츠(.l-content) 에만 걸어서,
     헤더·푸터는 viewport 풀폭으로 쭉 이어지게 한다 (prototype-v2 와 동일) */
  .page-inner {
    display: block !important;
    flex: none !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .page__content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .page__content.site {
    width: 100% !important;
    max-width: none !important;
  }

  /* NHN aurora 가 .l-content 에 우측 200px border (사이드 광고 슬롯)를 깔아둠 → 제거 */
  .page main.l-content,
  main.l-content {
    border: 0 !important;
  }

  /* 좌측 사이드 배너 슬롯 — Phase 2 에서 재배치 */
  .page .banner--left { display: none !important; }

  /* l-content 는 풀폭. 각 섹션의 .container 가 1320 가운데 정렬을 담당
     (prototype-v2 와 동일 패턴 — section.container 자체에 max-width + padding) */
  .l-content {
    width: 100%;
    min-height: calc(100vh - 112px - 200px);
    min-height: calc(100dvh - 112px - 200px);
  }

  /* BottomNav PC 숨김 */
  .bottom-nav { display: none !important; }

  .fab-top-down { bottom: 32px; }
}

/* ──────────────────────────────────────────────────────────────────
   모바일 BottomNav — iPhone safe-area 보정.
   vendor NHN 컴포넌트의 fixed position 위에 padding 만 얹어
   home indicator 와 텍스트 겹침 방지.
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .bottom-nav {
    padding-bottom: var(--safe-pb);
  }
}

/* ──────────── Toast (SwcToastProvider) ────────────
   prototype-v2/styles.css §Toast 이식. */
.toast-host {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: #1F2937;
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  animation: toastIn 0.2s ease-out;
  pointer-events: auto;
  max-width: 360px;
}
.toast-success { background: #0E5132; }
.toast-warn { background: #92400E; }
.toast-error { background: #991B1B; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────────
   _desktop-header.css — MYMHE v3 데스크탑 헤더
   prototype-v2/styles.css §Header / §Subnav 1:1 이식
   - 2단: .header-top + .subnav
   - DeviceSwitch 가 PC/모바일 컴포넌트 자체를 분기하므로 NHN 강제 숨김 X
   ────────────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--divider);
  isolation: isolate;
  font-family: var(--font-body);
}
.header::before {
  content: '';
  position: absolute; inset: 0;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  z-index: -1;
  pointer-events: none;
}
.header-shell {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.header-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 브랜드 (성우 마크 + 성우컴테크 + MYMHE·산업재 유통) */
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--swc-blue-500); color: #fff;
  display: grid; place-items: center;
  font-size: 11px;
  letter-spacing: -0.06em;
  font-weight: 800;
  flex-shrink: 0;
}
.brand-mark.lg { width: 44px; height: 44px; font-size: 13px; }
.brand-name {
  font-size: var(--fs-lg);
  color: var(--swc-blue-500);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.brand-sub {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0;
  font-family: var(--font-body);
  margin-top: -2px;
}

/* 검색바 */
.search-bar {
  position: relative;
  flex: 1;
  max-width: 560px;
}
.search-bar input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 40px;
  border: 1px solid transparent;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: var(--fs-md);
  font-family: inherit;
  color: var(--text);
  transition: all var(--t-fast);
}
.search-bar input::placeholder { color: var(--text-quaternary); }
.search-bar input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-bar svg.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-quaternary);
  pointer-events: none;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: var(--z-dropdown);
  max-height: 360px;
  overflow-y: auto;
}
.search-suggestion {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}
.search-suggestion:hover,
.search-suggestion.active {
  background: var(--bg-soft);
  color: var(--text);
}
.search-suggestion .ss-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggestion .ss-cat {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  position: relative;
  transition: background var(--t-fast);
  cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.icon-btn .badge-dot {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--swc-blue-500);
  color: #fff;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
}
.btn-text {
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.btn-text:hover { background: var(--bg-soft); color: var(--text); }

/* Subnav + 메가메뉴 */
.subnav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--subnav-h);
  border-top: 1px solid var(--divider);
  /* overflow-x: auto 면 child overflow-y: visible 이 강제 hidden 됨 (W3C spec).
     데스크탑은 카테고리 6개 + 브랜드 3개 → 1320 안 fit. overflow 제거. */
  overflow: visible;
  /* 풀-와이드 메가패널의 absolute 기준점 */
  position: relative;
}
.subnav-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}
.subnav-item:hover { background: var(--bg-soft); color: var(--text); }
.subnav-item.active {
  color: var(--swc-blue-500);
  background: var(--swc-blue-50);
  font-weight: 600;
}
.subnav-brand { color: var(--text-secondary); font-weight: 500; }
.subnav-brand:hover { color: var(--swc-blue-700); }

/* .subnav-mega-wrap 은 더이상 positioned 안 함 — 풀-와이드 패널이 .subnav 기준으로 펼쳐짐 */
.subnav-mega-wrap { position: static; }
.mega-panel {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px;
  z-index: var(--z-dropdown);
  min-width: 420px;
}
/* invisible bridge — 카테고리 텍스트 바닥과 panel 윗변 사이 gap 을 hover-able 영역으로.
   panel 의 descendant 라 hover 가 wrap 의 mouseenter 컨텍스트로 유지됨. */
.mega-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 4px;
}
.mega-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.mega-item:hover { background: var(--bg-soft); }
.mega-item-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.mega-item-meta { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }

/* 3단 메가패널 (대-중-소) — 풀-와이드, 자동 컬럼 그리드 */
.mega-panel-3level {
  /* 풀-와이드: .subnav 기준 좌우 stretch */
  left: 0;
  right: 0;
  min-width: 0;
  max-width: none;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px 12px;
  padding: 18px 20px 22px;
}
.mega-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 8px;
}
.mega-col-head {
  display: block;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--swc-ink-900);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.mega-col-head:hover { background: var(--swc-blue-50); color: var(--swc-blue-500); }
.mega-col-list {
  display: flex; flex-direction: column;
  margin-top: 2px;
  padding-left: 4px;
}
.mega-leaf {
  display: block;
  padding: 6px 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.mega-leaf:hover { background: var(--bg-soft); color: var(--swc-blue-500); }

/* ──────────────────────────────────────────────────────────────────
   _mobile-header.css — 자사몰 자체 모바일 헤더·드로어 (SwcMobileHeader)
   결정 6 + mobile_review HIGH-1: NHN vendor Header.jsx · Nav.jsx ·
   OffCanvas (CategoryNav) 의존 폐기 → 자체 컴포넌트 (Grainger 패턴).

   - PC (≥1024px) 에서는 DeviceSwitch 가 컴포넌트 단에서 가리므로
     모바일 (≤1023px) 전용 룰만 정의.
   - 검색바 = 헤더 일체. 가로 카테고리 nav 슬라이더 제거 (드로어 통합).
   - safe-area: 드로어 padding-bottom 에 var(--safe-pb).
   ────────────────────────────────────────────────────────────────── */

@media (max-width: 1023px) {

  /* ──────────────────────────────────────────────────────────────
     1. 메인 헤더 (.swc-mh) — 햄버거 + 로고 + 카트 + 검색바
     ────────────────────────────────────────────────────────────── */
  .swc-mh {
    background: #fff;
    border-bottom: 1px solid var(--divider);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
  }

  .swc-mh-top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    min-height: 56px;
  }

  /* 버튼 (햄버거·카트) — 44×44 터치 타깃 */
  .swc-mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 0;
    color: var(--swc-blue-500);
    cursor: pointer;
    padding: 0;
    text-decoration: none;
  }
  .swc-mh-btn:hover { color: var(--swc-blue-700); }
  .swc-mh-btn:focus-visible {
    outline: 2px solid var(--swc-blue-300);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
  }

  /* 카트 카운트 배지 */
  .swc-mh-btn-cart { position: relative; }
  .swc-mh-cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--danger);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  /* 로고 */
  .swc-mh-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--swc-blue-500);
    text-decoration: none;
    gap: 0;
    min-width: 0;
  }
  .swc-mh-logo-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.06em;
    color: var(--swc-blue-500);
    line-height: 1;
  }
  .swc-mh-logo-sub {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: -0.02em;
    margin-top: 2px;
    line-height: 1;
  }

  /* 검색 trigger — button 이 input 처럼 보이도록 */
  .swc-mh-search-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: calc(100% - 32px);
    margin: 0 16px 12px;
    height: 40px;
    background: var(--bg-soft);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 0 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color var(--t-fast), background var(--t-fast);
  }
  .swc-mh-search-trigger:hover {
    border-color: var(--swc-blue-300);
    background: #fff;
  }
  .swc-mh-search-trigger > svg {
    flex: 0 0 auto;
    color: var(--text-tertiary);
  }
  .swc-mh-search-trigger-placeholder {
    flex: 1 1 auto;
    font-size: 14px;
    color: var(--text-quaternary);
    font-family: var(--font-body);
  }

  /* ──────────────────────────────────────────────────────────────
     검색 modal — full-screen
     ────────────────────────────────────────────────────────────── */
  .swc-mh-search-modal {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: calc(var(--z-drawer) + 10);
    transform: translateY(100%);
    transition: transform var(--t);
    display: flex;
    flex-direction: column;
    visibility: hidden;
  }
  .swc-mh-search-modal.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  /* modal 헤더 — 뒤로 + 검색 입력 */
  .swc-mh-search-modal-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--divider);
    background: #fff;
  }
  .swc-mh-search-modal-back {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--text);
    cursor: pointer;
    border-radius: var(--radius-sm);
  }
  .swc-mh-search-modal-back:hover { background: var(--bg-soft); }
  .swc-mh-search-modal-input-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    background: var(--bg-soft);
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    padding: 0 10px;
    transition: border-color var(--t-fast), background var(--t-fast);
  }
  .swc-mh-search-modal-input-wrap:focus-within {
    border-color: var(--swc-blue-400);
    background: #fff;
  }
  .swc-mh-search-modal-input-wrap > svg {
    flex: 0 0 auto;
    color: var(--text-tertiary);
  }
  .swc-mh-search-modal-input-wrap input {
    flex: 1 1 auto;
    height: 100%;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 16px; /* iOS zoom 회피 */
    font-family: var(--font-body);
    color: var(--text);
    min-width: 0;
  }
  .swc-mh-search-modal-input-wrap input::placeholder { color: var(--text-quaternary); }
  .swc-mh-search-modal-clear {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    background: var(--swc-ink-300);
    border: 0;
    border-radius: 14px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .swc-mh-search-modal-clear:hover { background: var(--swc-ink-400); }

  /* modal 본문 (스크롤) */
  .swc-mh-search-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--safe-pb);
  }
  .swc-mh-search-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 8px;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* 자동완성 — 상품 추천 리스트 */
  .swc-mh-search-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .swc-mh-search-sugg-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--divider);
    cursor: pointer;
    text-align: left;
    min-height: 56px;
  }
  .swc-mh-search-sugg-item:hover,
  .swc-mh-search-sugg-item:focus-visible {
    background: var(--bg-soft);
    outline: none;
  }
  .swc-mh-search-sugg-item .pimg {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }
  .swc-mh-search-sugg-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .swc-mh-search-sugg-brand {
    font-size: 11px;
    color: var(--text-tertiary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .swc-mh-search-sugg-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .swc-mh-search-sugg-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--swc-blue-500);
    margin-top: 2px;
  }

  /* "전체 결과 보기" 링크 */
  .swc-mh-search-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--divider);
    color: var(--swc-blue-500);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
  }
  .swc-mh-search-all-link:hover { background: var(--bg-soft); }

  /* 자동완성 0건 */
  .swc-mh-search-empty {
    padding: 40px 16px;
    text-align: center;
    color: var(--text);
  }
  .swc-mh-search-empty .muted { color: var(--text-tertiary); font-size: 13.5px; }

  /* 최근 검색어 */
  .swc-mh-search-recent ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .swc-mh-search-recent li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--divider);
  }
  .swc-mh-search-recent-item {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    font-size: 14px;
  }
  .swc-mh-search-recent-item:hover { background: var(--bg-soft); }
  .swc-mh-search-recent-item > svg { color: var(--text-tertiary); flex: 0 0 auto; }
  .swc-mh-search-recent-text {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .swc-mh-search-recent-remove {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    background: transparent;
    border: 0;
    color: var(--text-tertiary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }
  .swc-mh-search-recent-remove:hover {
    background: var(--swc-ink-100);
    color: var(--text);
  }
  .swc-mh-search-recent-clear {
    background: transparent;
    border: 0;
    color: var(--text-tertiary);
    font-size: 11px;
    cursor: pointer;
    padding: 2px 6px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
  }
  .swc-mh-search-recent-clear:hover { color: var(--text); }

  /* 빈 상태 hint */
  .swc-mh-search-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 80px 16px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13.5px;
    line-height: 1.55;
  }
  .swc-mh-search-hint > svg { color: var(--swc-ink-300); }

  /* ──────────────────────────────────────────────────────────────
     2. 드로어 overlay
     ────────────────────────────────────────────────────────────── */
  .swc-mh-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: var(--z-drawer);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t);
  }
  .swc-mh-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* ──────────────────────────────────────────────────────────────
     3. 드로어 본체 — 왼쪽 슬라이드인, 폭 85vw (max 360px)
     ────────────────────────────────────────────────────────────── */
  .swc-mh-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 85vw;
    max-width: 360px;
    background: #fff;
    z-index: calc(var(--z-drawer) + 1);
    transform: translateX(-100%);
    transition: transform var(--t);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
    /* iPhone safe-area — 하단 home indicator 와 안 겹치게 */
    padding-bottom: var(--safe-pb);
  }
  .swc-mh-drawer.is-open { transform: translateX(0); }

  /* 드로어 헤더 (Close) */
  .swc-mh-drawer-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--divider);
  }
  .swc-mh-drawer-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
  }
  .swc-mh-drawer-close:hover { background: var(--bg-soft); }

  /* 섹션 공통 */
  .swc-mh-drawer-section {
    padding: 16px;
    border-bottom: 1px solid var(--divider);
  }
  .swc-mh-drawer-section:last-child { border-bottom: 0; }
  .swc-mh-drawer-section-title {
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  /* 인증 섹션 */
  .swc-mh-drawer-auth { background: var(--bg-soft); }
  .swc-mh-drawer-auth .btn { margin-bottom: 8px; }
  .swc-mh-drawer-auth .btn:last-child { margin-bottom: 0; }
  .swc-mh-drawer-user {
    margin-bottom: 12px;
  }
  .swc-mh-drawer-user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
  }
  .swc-mh-drawer-user-grade {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
  }
  .swc-mh-drawer-signin-tagline {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .swc-mh-drawer-signout {
    display: block;
    margin: 8px auto 0;
    color: var(--text-tertiary);
  }

  /* 카테고리 리스트 */
  .swc-mh-drawer-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .swc-mh-drawer-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background var(--t-fast);
  }
  .swc-mh-drawer-cat-link:hover,
  .swc-mh-drawer-cat-link:focus-visible {
    background: var(--bg-soft);
    outline: none;
  }
  .swc-mh-drawer-cat-icon {
    font-size: 18px;
    flex: 0 0 24px;
    text-align: center;
    line-height: 1;
  }
  .swc-mh-drawer-cat-name {
    flex: 1 1 auto;
    letter-spacing: -0.02em;
  }
  .swc-mh-drawer-cat-count {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
  }
  .swc-mh-drawer-cat-link-all {
    color: var(--swc-blue-500);
    font-weight: 700;
    background: var(--swc-blue-50);
  }
  .swc-mh-drawer-cat-link-all:hover { background: var(--swc-blue-100); }

  /* 일반 메뉴 링크 */
  .swc-mh-drawer-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background var(--t-fast);
  }
  .swc-mh-drawer-menu-link:hover,
  .swc-mh-drawer-menu-link:focus-visible {
    background: var(--bg-soft);
    outline: none;
  }

  /* ──────────────────────────────────────────────────────────────
     4. NHN vendor Header / Nav / OffCanvas 잔여 강제 숨김.
        모바일에서 DeviceSwitch 로 SwcMobileHeader 만 렌더되지만,
        Layout 의 <CategoryNav /> 가 page 상단에 잔존 → 보이지 않게.
     ────────────────────────────────────────────────────────────── */
  .category-nav { display: none !important; }
}

/* ──────────────────────────────────────────────────────────────────
   PC 영역에서는 모든 모바일 헤더 룰 비활성. SwcMobileHeader 자체가
   DeviceSwitch 의 mobile prop 으로만 렌더되므로 별도 처리 불필요.
   ────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────
   _footer.css — MYMHE v3 자체 푸터 (.footer, prototype-v2 톤)
   - 다크 패널 (--swc-panel-darker)
   - 4열 그리드 (모바일 ≤767px 1열로 축소)
   ────────────────────────────────────────────────────────────────── */

.footer {
  background: var(--swc-panel-darker);
  color: #B5BEC8;
  margin-top: 80px;
  padding: 56px 0 24px;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }

.footer-brand__mark-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand__mark {
  background: #fff;
  color: var(--swc-blue-500);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.footer-brand-sub {
  color: #707782;
  font-size: 11px;
}
.footer-blurb {
  margin: 0;
  font-size: 12.5px;
}
.footer-cs { margin-top: 14px; }
.footer-cs strong {
  color: #fff;
  font-size: 14px;
}
.footer-cs .muted { color: #707782; }

.footer-bizinfo {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #3A4250;
  color: #707782;
  font-size: 11.5px;
  line-height: 1.7;
}
.footer-bizinfo strong { color: #B5BEC8; }

/* 사업자등록번호 옆 공정위 통신판매사업자 조회 링크 */
.footer-biz-check {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-biz-check:hover { color: #B5BEC8; }

/* 모바일 — 한 줄 80자 텍스트 (8개 필드) 가 좁은 폭에서 클리핑되지 않도록 폰트 축소 + 줄바꿈 허용 */
@media (max-width: 768px) {
  .footer-bizinfo {
    font-size: 10.5px;
    line-height: 1.55;
    word-break: keep-all;
  }
}

.footer-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #707782;
  font-size: 11.5px;
}
.footer-term-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer-term-btn:hover { color: #B5BEC8; text-decoration: underline; }

/* brand-mark (로고 사각 마크) — 헤더에서도 재활용 가능한 공통 유틸 */
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--swc-blue-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.06em;
  flex-shrink: 0;
}
.brand-mark.lg { width: 44px; height: 44px; font-size: 13px; }

/* ── 반응형 ──────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .footer {
    margin-top: 48px;
    padding: 40px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ──────────────────────────────────────────────────────────────────
   _home-v2.css — prototype-v2 1:1 통째 이식
   원본: prototype-v2/styles.css §App shell·Buttons·Chip/Badge·stock-pill·
        lead-pill·Stars·section-head·pimg·tnum·muted +
        prototype-v2/pages.css §HOME 전체 + ProductCard grid
   토큰은 v3 style.css 와 100% 호환 (--swc-blue-500, --divider, --text-* 동일)
   ────────────────────────────────────────────────────────────────── */

/* ──────────── App shell · container ──────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ──────────── Buttons (.btn) ──────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.99); }
.btn-primary { background: var(--swc-blue-500); color: #fff; }
.btn-primary:hover { background: var(--swc-blue-700); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15px; border-radius: var(--radius-md); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: var(--radius-sm); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ──────────── Chip / Badge / stock / lead / stars ──────────── */
.badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.badge.blue  { background: var(--swc-blue-50); color: var(--swc-blue-500); }
.badge.green { background: var(--success-soft); color: var(--success); }
.badge.red   { background: var(--danger-soft); color: var(--danger); }
.badge.amber { background: var(--warn-soft); color: #B45309; }
.badge.ink   { background: var(--swc-ink-100); color: var(--swc-ink-700); }

.grade-chip {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  background: var(--grade-vvip-soft);
  color: var(--grade-vvip);
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.stock-pill {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
}
.stock-pill.stock-ok   { background: var(--success-soft); color: var(--success); }
.stock-pill.stock-low  { background: var(--swc-blue-50); color: var(--swc-blue-500); }
.stock-pill.stock-warn { background: var(--warn-soft); color: #B45309; }
.stock-pill.stock-oos  { background: var(--danger-soft); color: var(--danger); }
.stock-pill.stock-unknown { background: var(--bg-tertiary, #F1F5F9); color: var(--text-secondary, #64748B); }

.lead-pill {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-soft);
}

.stars {
  display: inline-flex; align-items: center; gap: 2px;
  color: #F59E0B;
}
.stars-num {
  font-size: 12px; color: var(--text-secondary); font-weight: 600;
}

/* ──────────── Common util ──────────── */
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-tertiary); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 40px 0 16px;
  gap: 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
  margin: 0;
}
.section-head .lnk {
  font-size: 13px;
  color: var(--text-tertiary);
  display: inline-flex; align-items: center; gap: 2px;
  cursor: pointer;
}
.section-head .lnk:hover { color: var(--swc-blue-500); }
/* 섹션 제목 하단 보조 캡션 — 선정 기준 명시 (예: '판매량 기준', '최근 등록순') */
.section-head-sub { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }

/* ──────────── Product image placeholder ──────────── */
.pimg {
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pimg-xs { width: 40px;  height: 40px; }
.pimg-sm { width: 84px;  height: 84px; }
.pimg-md { width: 100%;  aspect-ratio: 1; }
.pimg-lg { width: 100%;  aspect-ratio: 1; }
.pimg-xl { width: 100%;  aspect-ratio: 1; }

/* ════════════════════════════════════════════════════
   HOME
   ════════════════════════════════════════════════════ */

.home { padding-bottom: 64px; }

/* Hero */
.hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 32px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--swc-blue-50);
  color: var(--swc-blue-500);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  margin-bottom: 14px;
}
.hero-v2 h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  font-family: var(--font-display);
  margin: 0 0 14px;
  color: var(--swc-ink-900);
}
.hero-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-actions-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hero-ac {
  display: flex; align-items: center; gap: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  cursor: pointer;
  font-family: inherit;
}
.hero-ac:hover {
  transform: translateY(-1px);
  border-color: var(--swc-blue-300);
  box-shadow: var(--shadow-sm);
}
.hero-ac > svg {
  flex-shrink: 0;
  color: var(--text-tertiary);
}
.hero-ac-title { font-size: 14px; font-weight: 700; color: var(--text); }
.hero-ac-sub { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }
.hero-ac-primary {
  background: var(--quote-soft);
  border-color: var(--quote-accent);
}
.hero-ac-primary > svg { color: var(--quote-accent); }
.hero-ac-primary .hero-ac-title { color: var(--quote-accent); }

/* Category Tiles */
.cat-tiles-v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 8px 0 24px;
}
.cat-tile-v2 {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  cursor: pointer;
  font-family: inherit;
}
.cat-tile-v2:hover {
  transform: translateY(-1px);
  border-color: var(--swc-blue-300);
  box-shadow: var(--shadow-sm);
}
.cat-tile-icon { font-size: 28px; margin-bottom: 4px; }
.cat-tile-name { font-size: 14px; font-weight: 700; color: var(--text); }
.cat-tile-en { font-size: 10.5px; color: var(--text-quaternary); }
.cat-tile-count { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }

/* KPI strip */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--swc-panel-dark);
  border-radius: var(--radius-md);
  padding: 22px 12px;
  margin: 24px 0;
}
.kpi-cell {
  display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 14px;
}
.kpi-cell:last-child { border-right: none; }
.kpi-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.kpi-num small { font-size: 18px; opacity: 0.7; }
.kpi-lab { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Series showcase·Banner row — 2026-07-29 홈 섹션 삭제(사장님 확정)로 함께 제거.
   SwcBrand 는 별도 네임스페이스(brand-series-*, _brand-v2.css)라 무관. */

/* Catalog PDF grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.catalog-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color var(--t), box-shadow var(--t);
}
.catalog-card:hover { border-color: var(--swc-blue-300); box-shadow: var(--shadow-sm); }
/* button 변형(카탈로그 페이지 다운로드 카드) — 기본 버튼 스타일 reset */
button.catalog-card { width: 100%; text-align: left; cursor: pointer; font: inherit; }
button.catalog-card:disabled { opacity: 0.55; cursor: default; }
/* 비로그인·미배포 시 카탈로그 미리보기 대체 CTA 패널 */
.catalog-cta-panel {
  display: flex; align-items: center; gap: 16px;
  background: var(--swc-blue-50);
  border: 1px solid var(--swc-blue-100, var(--divider));
  border-radius: var(--radius-md);
  padding: 20px 22px;
  color: var(--swc-blue-600, var(--swc-blue-500));
}
/* 텍스트 열이 남는 폭을 갖고(1 1 auto — basis 0 세로 붕괴 방지),
   아이콘·버튼은 절대 줄어들지 않게 고정. 모바일에선 텍스트만 줄바꿈.
   ⚠ width: auto 필수 — NHN 기본 스킨(vendor)에 .btn { width: 100% } 가 있어
   자사 .btn 베이스(width 미선언)로는 못 덮음. flex-basis: auto 가 그 100% 를
   그대로 써서 버튼이 패널 전폭을 차지 → 텍스트 열이 0 으로 붕괴(세로 글자). */
.catalog-cta-panel > svg { flex-shrink: 0; }
.catalog-cta-panel > div { flex: 1 1 auto; min-width: 0; }
.catalog-cta-panel > .btn { flex: 0 0 auto; width: auto; margin-left: auto; }
.catalog-cta-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.catalog-cta-sub { font-size: 12.5px; color: var(--text-muted, var(--text)); margin-top: 4px; }
.catalog-cover {
  width: 56px; height: 72px;
  background: var(--swc-blue-50);
  color: var(--swc-blue-500);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.catalog-card-body { flex: 1; min-width: 0; }
.catalog-title {
  font-size: 13.5px; font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.catalog-meta { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }
.catalog-dl {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px;
  color: var(--swc-blue-500);
  font-weight: 600;
  margin-top: 4px;
}

/* Partners */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.partner-chip-v2 {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  transition: border-color var(--t);
  font-family: inherit;
}
.partner-chip-v2:hover { border-color: var(--swc-blue-300); }
.partner-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.partner-since { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }

/* BN bottom */
.bn-bottom {
  margin-top: 48px;
  background: linear-gradient(120deg, #1A4D85 0%, #3373B5 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.bn-bottom h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 4px;
  color: #fff;
  letter-spacing: -0.03em;
}
.bn-bottom p { margin: 0; font-size: 13.5px; opacity: 0.85; }
.bn-bottom-actions { display: flex; gap: 10px; }
.bn-bottom .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.bn-bottom .btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ════════════════════════════════════════════════════
   PRODUCT CARD (4열)
   ════════════════════════════════════════════════════ */
.prod-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  display: flex; flex-direction: column;
}
.prod-card:hover {
  transform: scale(1.005);
  border-color: var(--swc-blue-300);
  box-shadow: var(--shadow-sm);
}
.prod-card-img-wrap { position: relative; }
.prod-card-img-wrap .pimg { border-radius: 0; }
.prod-card-tags {
  position: absolute; top: 8px; left: 8px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.prod-fav {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  color: var(--text-tertiary);
  transition: color var(--t-fast), background var(--t-fast);
  cursor: pointer;
}
.prod-fav:hover { background: #fff; color: var(--danger); }
.prod-fav.on { color: var(--danger); background: #fff; }

.prod-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.prod-card-brand {
  font-size: 11px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.prod-card-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.prod-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
}
.prod-card-price-area { margin-top: 6px; }
.prod-card-list { font-size: 11.5px; }
.prod-card-grade-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prod-card-promo-chip {
  font-size: 10px;
  padding: 1px 6px;
  font-weight: 700;
  flex-shrink: 0;
}
.prod-card-grade {
  font-size: 17px; font-weight: 800;
  color: var(--swc-ink-900);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.prod-card-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--swc-ink-900);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.prod-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}

/* 모바일 반응형은 _responsive-v2.css 에서 정식 처리 (prototype-v2 1:1) */

/* ──────────────────────────────────────────────────────────────────
   _category-v2.css — prototype-v2 pages.css §CATEGORY LIST 1:1 추출
   ────────────────────────────────────────────────────────────────── */

/* Breadcrumb (prototype-v2 styles.css §Breadcrumb 통합) */
.crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  padding: 20px 0 14px;
  flex-wrap: wrap;
  line-height: 1.6;
}
.crumbs .crumb-seg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.crumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: color 120ms ease, background-color 120ms ease;
}
.crumbs a:hover {
  color: var(--swc-blue-500);
  background-color: var(--accent-soft);
}
.crumbs .sep {
  color: var(--text-quaternary);
  font-size: 14px;
  user-select: none;
  line-height: 1;
  padding: 0 2px;
}
.crumbs .current {
  color: var(--swc-ink-900);
  font-weight: 600;
  padding: 3px 8px;
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Page head */
.page-head { margin: 8px 0 24px; }
.page-head h1 { font-size: var(--fs-xxl); margin: 0 0 6px; }
.page-head .desc { color: var(--text-tertiary); font-size: 14px; margin: 0; }

/* Chip (prototype-v2 styles.css §Chip) */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  border: none;
  cursor: default;
}
.chip.brand { background: var(--swc-blue-50); color: var(--swc-blue-500); }
.chip.removable { padding-right: 6px; cursor: pointer; }
.chip.removable:hover { background: var(--bg-hover); }

/* Form (prototype-v2 styles.css §Form 일부) */
.input {
  height: 44px; padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.input:focus {
  outline: none;
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.select-sm {
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  line-height: 32px; /* height - border 2px */
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* arrow icon SVG (chevron-down) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%272%27><polyline points=%276 9 12 15 18 9%27/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.select-sm:focus {
  outline: none;
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Empty state */
.empty-state {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.empty-state .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  display: grid; place-items: center;
  margin: 0 auto 12px;
  color: var(--text-tertiary);
}
.btn-secondary { background: var(--swc-blue-50); color: var(--swc-blue-500); border: 1px solid transparent; }
.btn-secondary:hover { background: var(--swc-blue-100); }

/* ════════════════════════════════════════════════════
   CATEGORY LIST
   ════════════════════════════════════════════════════ */
.category-page {}

.series-guide-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--swc-blue-50);
  border: 1px solid var(--swc-blue-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.series-guide-icon {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--swc-blue-500);
  flex-shrink: 0;
}
.series-guide-body { flex: 1; }
.series-guide-eyebrow { font-size: 11.5px; color: var(--swc-blue-700); font-weight: 600; }
.series-guide-blurb { font-size: 13.5px; color: var(--swc-ink-900); font-weight: 500; margin-top: 2px; }
.series-guide-actions { display: flex; gap: 6px; flex-shrink: 0; }

.cat-grid {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.cat-grid.with-compare {
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--compare-tray-w);
}

/* Sidebar */
.cat-side {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 16px);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 4px 0;
  max-height: calc(100vh - var(--header-h) - var(--subnav-h) - 32px);
  overflow-y: auto;
}
.cat-side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
}
.cat-side-head h4 { font-size: 13px; margin: 0; }
.cat-side-clear {
  background: transparent; border: none;
  color: var(--swc-blue-500);
  font-size: 11.5px;
  cursor: pointer;
  padding: 2px 4px;
}

.facet-group { border-bottom: 1px solid var(--divider); }
.facet-group-head {
  width: 100%;
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: transparent; border: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.facet-group-head:hover { background: var(--bg-soft); }
.facet-group-title { flex: 1; }
.facet-tag {
  font-size: 9.5px;
  padding: 1px 5px;
  background: var(--swc-blue-50);
  color: var(--swc-blue-500);
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}
.facet-group-body { padding: 0 16px 12px; }
.facet-list { display: flex; flex-direction: column; gap: 2px; }
.facet-checkbox, .facet-radio {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0;
  font-size: 12.5px;
  cursor: pointer;
}
/* Custom 체크박스/라디오 — vendor common.css 의 `*:where(...){all:unset}` 이
   네이티브 appearance 까지 지워서 안 그리면 **아무것도 안 보인다**. 직접 그린다.
   (`.prod-compare` = ProductCard 의 '+비교' 체크박스. 같은 이유로 안 보였다 — 2026-08-02) */
.facet-checkbox input[type="checkbox"],
.prod-compare input[type="checkbox"],
.facet-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: #fff;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background-color 0.15s, border-color 0.15s;
}
.facet-checkbox input[type="checkbox"],
.prod-compare input[type="checkbox"] { border-radius: 3px; }
.facet-radio input[type="radio"] { border-radius: 50%; }

.facet-checkbox input[type="checkbox"]:hover,
.prod-compare input[type="checkbox"]:hover,
.facet-radio input[type="radio"]:hover {
  border-color: var(--swc-blue-500);
}

.facet-checkbox input[type="checkbox"]:checked,
.prod-compare input[type="checkbox"]:checked,
.facet-radio input[type="radio"]:checked {
  background: var(--swc-blue-500);
  border-color: var(--swc-blue-500);
}

.facet-checkbox input[type="checkbox"]:checked::after,
.prod-compare input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: -1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.facet-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.facet-checkbox input[type="checkbox"]:focus-visible,
.prod-compare input[type="checkbox"]:focus-visible,
.facet-radio input[type="radio"]:focus-visible {
  outline: 2px solid var(--swc-blue-500);
  outline-offset: 2px;
}
.facet-checkbox:hover, .facet-radio:hover { color: var(--swc-blue-500); }
.facet-label { flex: 1; }
.facet-count {
  font-size: 11px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.facet-more {
  background: transparent; border: none;
  color: var(--swc-blue-500);
  font-size: 11.5px;
  padding: 4px 0;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}
.facet-text {
  height: 34px;
  font-size: 12.5px;
}

/* 검색결과 카테고리 drill-down — SwcCategory 로 이동하는 link 형 facet */
.facet-drilldown {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}
.facet-drilldown:hover {
  background: var(--swc-blue-50, #eff6ff);
  border-color: var(--swc-blue-200, #bfdbfe);
  color: var(--swc-blue-600, #2563eb);
}
/* 계층 들여쓰기 — depth 0 (대) / 1 (중) / 2 (소) */
.facet-drilldown[data-depth="0"] {
  font-weight: 600;
}
.facet-drilldown[data-depth="1"] {
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.facet-drilldown[data-depth="2"] {
  padding-left: 32px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.facet-drilldown-arrow {
  margin-left: 2px;
  opacity: 0.6;
}
.facet-drilldown:hover .facet-drilldown-arrow { opacity: 1; }
.facet-drilldown-hint {
  margin: 8px 4px 0;
  font-size: 11px;
  line-height: 1.4;
}

/* 빈 검색결과 카드 hint */
.search-empty-hint {
  margin: 10px 0 0;
  font-size: 13px;
}

/* Toolbar */
.cat-toolbar {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 16px;
}
.cat-toolbar-search {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 10px;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}
.cat-toolbar-search:focus-within {
  background: #fff;
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cat-toolbar-search > svg { color: var(--text-tertiary); flex-shrink: 0; }
.cat-search-input {
  flex: 1; height: 36px;
  border: none; background: transparent;
  font-family: inherit; font-size: 13px;
  color: var(--text);
}
.cat-search-input:focus { outline: none; }
.cat-search-clear {
  background: transparent; border: none;
  color: var(--text-tertiary);
  padding: 4px;
  cursor: pointer;
}
.cat-active-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-toolbar-right {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto;
}
.cat-count {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 34px; /* select/toggle 과 동일 */
}
.view-toggle {
  display: inline-flex;
  height: 34px; /* select-sm 과 동일 */
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
.view-toggle button {
  width: 34px; height: 100%;
  display: grid; place-items: center;
  background: transparent; border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0;
}
.view-toggle button:hover { background: var(--bg-soft); color: var(--text); }
.view-toggle button.active { background: var(--swc-blue-50); color: var(--swc-blue-500); }

.cat-sub-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}
.cat-sub-chips .chip { cursor: pointer; }
.cat-sub-chips .chip:hover { background: var(--swc-blue-50); color: var(--swc-blue-500); }

/* Compare tray */
.compare-tray {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 16px);
  background: #fff;
  border: 1px solid var(--swc-blue-200);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.compare-tray-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.compare-tray-head strong { font-size: 13px; color: var(--swc-blue-700); }
.compare-tray-close {
  background: transparent; border: none;
  color: var(--text-tertiary);
  padding: 2px;
  cursor: pointer;
}
.compare-tray-list {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 10px;
}
.compare-tray-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 11.5px;
}
.compare-tray-item .pimg-xs { width: 32px; height: 32px; }
.compare-tray-name {
  flex: 1; min-width: 0;
  font-size: 11.5px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compare-tray-remove {
  background: transparent; border: none;
  color: var(--text-tertiary);
  padding: 2px;
  cursor: pointer;
}
/* 트레이 행 액션 (담기·찜) — 아이콘만 있는 정사각 버튼.
   vendor 리셋 잔여가 새면 아이콘이 세로로 늘어지므로 치수를 전부 명시한다
   [[reference_vendor_btn_collision]]. */
.compare-tray-cart,
.compare-tray-fav {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  line-height: 0;
  cursor: pointer;
}
.compare-tray-cart:hover:not(:disabled) {
  border-color: var(--swc-blue-500);
  color: var(--swc-blue-500);
}
.compare-tray-cart:disabled { opacity: .5; cursor: default; }
.compare-tray-fav:hover,
.compare-tray-fav.on { border-color: var(--danger); color: var(--danger); }
/* ── 트레이 간략 비교 (CMS "주요" 축) ──────────────────────────── */
.compare-tray-specs {
  border-top: 1px dashed var(--divider);
  padding-top: 10px;
  margin-bottom: 10px;
}
.compare-tray-specs-head {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.compare-diff-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--swc-blue-50);
  color: var(--swc-blue-700);
}
.compare-tray-spec-row {
  padding: 5px 6px;
  border-radius: var(--radius-sm);
}
/* 값이 갈리는 항목만 눈에 띄게 — 비교의 핵심은 '같은 것' 이 아니라 '다른 것' */
.compare-tray-spec-row.differs { background: var(--swc-blue-50); }
.compare-tray-spec-label {
  font-size: 10.5px;
  color: var(--text-tertiary);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 제품 수만큼 동일 폭으로 나눠 트레이 안에서도 열이 맞게 */
.compare-tray-spec-values {
  display: flex;
  gap: 4px;
}
.compare-tray-spec-values > span {
  flex: 1 1 0;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compare-tray-spec-row.differs > .compare-tray-spec-values > span { color: var(--swc-blue-700); }
.compare-tray-nospec { font-size: 11px; line-height: 1.5; margin-bottom: 4px; }

.compare-tray-actions { display: flex; flex-direction: column; gap: 6px; }
.btn-block { width: 100%; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  margin-top: 32px;
}
.pagination button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
}
.pagination button:hover:not(:disabled) { background: var(--bg-soft); color: var(--text); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button.active {
  background: var(--swc-blue-500); color: #fff; border-color: var(--swc-blue-500);
}

/* Product list (row mode) — grid 기반: 이미지 / 상품명 / spec cols (가변) / 가격
   .prod-list 에 inline style `--plist-cols` 로 grid template 전달.
   ProductCard 의 .prod-row 가 child 라 CSS variable inherit. */
.prod-list {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.prod-list-head,
.prod-row {
  display: grid;
  grid-template-columns: var(--plist-cols, 84px minmax(220px, 1fr) 140px);
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
}
.prod-list-head {
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--divider);
}
.prod-list-head .plh-spec,
.prod-list-head .plh-price { text-align: right; }
.prod-list-head .plh-compare { text-align: center; font-size: 10.5px; }
/* 행 전체가 PDP 이동 버튼이라 체크박스만 기본 커서로 되돌린다 */
.prod-row-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.prod-row {
  background: #fff;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
}
.prod-row:last-child { border-bottom: none; }
.prod-row:hover { background: var(--bg-soft); }
.prod-row-body { min-width: 0; }
.prod-row-brand { font-size: 11px; color: var(--text-tertiary); margin-bottom: 2px; }
.prod-row-name { font-size: 13.5px; color: var(--text); font-weight: 500; }
.prod-row-meta { font-size: 11px; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.prod-row-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.prod-row-spec {
  font-size: 13px;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.prod-row-price { text-align: right; font-size: 14px; font-weight: 700; font-family: var(--font-display); }
.prod-row-list { font-size: 11px; }
.prod-row-grade { font-size: 15px; font-weight: 800; color: var(--swc-ink-900); }

/* ════════════════════════════════════════════════════
   Category Index — /index (전체 카테고리 페이지)
   ════════════════════════════════════════════════════ */
.cat-index { padding-bottom: 64px; }
.cat-index-section { margin-top: 36px; }
.cat-index-section:first-of-type { margin-top: 8px; }
.cat-index-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--swc-ink-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-index-icon { font-size: 22px; line-height: 1; }
.cat-index-section-title {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cat-index-section-title:hover { color: var(--swc-blue-500); }

.cat-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.cat-index-cell {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 12px 14px 10px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.cat-index-cell:hover {
  border-color: var(--swc-blue-300);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.cat-index-cell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0 0 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 8px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--swc-ink-900);
}
.cat-index-cell-head:hover { color: var(--swc-blue-500); }
.cat-index-cell-name { font-size: 13.5px; font-weight: 700; }
.cat-index-cell-meta {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.cat-index-leaf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cat-index-leaf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px 6px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}
.cat-index-leaf:hover {
  background: var(--bg-soft);
  color: var(--swc-blue-500);
}
.cat-index-leaf-count {
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

/* ─────────────────────────────────────────────────────────────
   모바일 카테고리 페이지 — 필터 모달 + view 강제 grid
   (mobile_review C안 follow-up):
   - 데스크탑 cat-side aside 는 모바일에서 mount 안 됨 (isMobile 분기)
   - 가로 .view-toggle 모바일 hide (모든 모바일 카테고리 = grid)
   - .cat-filter-trigger 모바일에서만 노출 → full-screen 모달
   ───────────────────────────────────────────────────────────── */

/* 데스크탑 — 모바일 전용 위젯 hide */
.cat-filter-trigger { display: none; }

@media (max-width: 768px) {
  /* view toggle 모바일 hide — 항상 grid */
  .view-toggle { display: none !important; }

  /* 필터 트리거 — toolbar 안에 sort 옆 */
  .cat-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    position: relative;
  }
  .cat-filter-trigger:hover {
    border-color: var(--swc-blue-300);
    background: var(--bg-soft);
  }
  .cat-filter-trigger-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 2px;
    background: var(--swc-blue-500);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    line-height: 1;
  }
}

/* ─────────────────────────────────────────────────────────────
   필터 모달 — full-screen (Grainger 스타일)
   ───────────────────────────────────────────────────────────── */
.cat-filter-modal {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: calc(var(--z-drawer) + 10);
  display: flex;
  flex-direction: column;
  animation: cat-filter-modal-in 0.18s ease;
}
@keyframes cat-filter-modal-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 모달 헤더 — X + 제목 + 전체 초기화 */
.cat-filter-modal-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--divider);
  background: #fff;
  flex: 0 0 auto;
}
.cat-filter-modal-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.cat-filter-modal-close:hover { background: var(--bg-soft); }
.cat-filter-modal-head h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
}
.cat-filter-modal-clear {
  background: transparent;
  border: 0;
  color: var(--swc-blue-500);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  white-space: nowrap;
}
.cat-filter-modal-clear:hover { color: var(--swc-blue-700); }

/* 적용중 chip 요약 */
.cat-filter-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--divider);
  background: var(--bg-soft);
  flex: 0 0 auto;
}

/* 모달 body (스크롤) */
.cat-filter-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px;
}
.cat-filter-modal-body .facet-group {
  border-bottom: 1px solid var(--divider);
  padding: 4px 0;
}
.cat-filter-modal-body .facet-group:last-child { border-bottom: 0; }
.cat-filter-modal-body .facet-group-head {
  width: 100%;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
}

/* 모달 footer — "결과 보기 (N건)" CTA */
.cat-filter-modal-footer {
  flex: 0 0 auto;
  padding: 12px 16px;
  padding-bottom: calc(12px + var(--safe-pb));
  border-top: 1px solid var(--divider);
  background: #fff;
  box-shadow: 0 -4px 12px rgba(17, 24, 39, 0.04);
}
.cat-filter-modal-apply {
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
}

/* 모바일 반응형은 _responsive-v2.css */

/* ──────────────────────────────────────────────────────────────────
   _pdp-v2.css — prototype-v2 pages.css §PDP + styles.css 의 보조
   (.qty-stepper, .btn-ghost, .btn-quote, .line-through, .lnk-inline)
   ────────────────────────────────────────────────────────────────── */

/* 보조 버튼·유틸 (styles.css 에서) */
.btn-ghost { background: var(--bg-soft); color: var(--text); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--bg-hover); }

.btn-quote { background: var(--quote-accent); color: #fff; border: 1px solid transparent; }
.btn-quote:hover { background: #0a6b6a; }
.btn-quote.emphasis {
  box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.18);
  animation: quote-pulse 2.4s ease-in-out infinite;
}
@keyframes quote-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(14, 124, 123, 0.30); }
}

.line-through { text-decoration: line-through; }
.lnk-inline { color: var(--swc-blue-500); text-decoration: underline; }
.lnk-inline:hover { color: var(--swc-blue-700); }

/* Qty stepper */
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.qty-stepper button {
  width: 36px; height: 36px;
  background: transparent; border: none;
  display: grid; place-items: center;
  color: var(--text-secondary);
  cursor: pointer;
}
.qty-stepper button:hover { background: var(--bg-soft); color: var(--text); }
.qty-stepper input {
  width: 56px; height: 36px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: inherit; font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: transparent;
}
.qty-stepper input:focus { outline: none; }
.qty-stepper-sm button { width: 28px; height: 28px; }
.qty-stepper-sm input  { width: 40px; height: 28px; font-size: 12px; }

/* ════════════════════════════════════════════════════
   PDP
   ════════════════════════════════════════════════════ */
.pdp { padding-bottom: 64px; }

.pdp-head {
  display: grid;
  grid-template-columns: 580px minmax(0, 1fr);
  gap: 32px;
  margin-top: 8px;
}

/* Gallery */
.pdp-gallery {}
.pdp-gallery-main {
  position: relative;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}
.pdp-gallery-main .pimg { aspect-ratio: 1; width: 100%; }
.pdp-gallery-tags {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 6px;
}
.pdp-gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pdp-thumb {
  width: 64px; height: 64px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.pdp-thumb:hover  { border-color: var(--swc-blue-300); }
.pdp-thumb.active { border-color: var(--swc-blue-500); box-shadow: 0 0 0 2px var(--accent-soft); }
.pdp-thumb .pimg  { border-radius: 0; width: 100%; height: 100%; }

/* BuyBox */
.pdp-buybox {}
.pdp-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.pdp-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--swc-ink-900);
}
.pdp-meta {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-bottom: 16px;
}

/* Price Box */
.price-box {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
}
.price-list-small { font-size: 12.5px; color: var(--text-tertiary); }
.price-grade-large {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 4px;
}
.price-grade-num,
.price-main {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--swc-ink-900);
}
.price-caption {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* 등급별 적립 예정 (NHN ReserveBenefit.reserveRate × 단가) */
.price-accrual {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 10px;
  background: #FEF3C7;
  color: #92400E;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.price-accrual strong { font-weight: 700; }

.qty-discount {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.qty-discount-head {
  width: 100%;
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.qty-discount-head .muted { flex: 1; font-weight: 500; }
.qty-discount-table {
  width: 100%;
  margin-top: 8px;
  font-size: 12.5px;
  border-collapse: collapse;
}
.qty-discount-table th,
.qty-discount-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid var(--divider);
}
.qty-discount-table th { color: var(--text-tertiary); font-weight: 600; }
.qty-discount-table tr.current { background: rgba(30, 87, 150, 0.05); font-weight: 600; }

.quote-cta-box {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--quote-soft);
  border-left: 3px solid var(--quote-accent);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--quote-accent);
}
.quote-cta-box.muted-box {
  background: var(--bg-soft);
  border-left-color: var(--swc-ink-400);
  color: var(--text-secondary);
}

/* Options / Qty / Delivery */
.pdp-options { margin-bottom: 16px; }
.pdp-options-title { font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.pdp-options-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pdp-option {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.pdp-option:hover  { border-color: var(--swc-blue-300); }
.pdp-option.active { border-color: var(--swc-blue-500); background: var(--swc-blue-50); color: var(--swc-blue-500); font-weight: 600; }

/* NHN 옵션 셀렉터 (단/다단) */
.pdp-option-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.pdp-option-label {
  flex: 0 0 90px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.pdp-option-select {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.pdp-option-select:hover { border-color: var(--swc-blue-300); }
.pdp-option-select:focus { outline: none; border-color: var(--swc-blue-500); }
.pdp-option-select:disabled { background: var(--bg-soft); color: var(--text-tertiary); cursor: not-allowed; }

.pdp-qty { margin-bottom: 16px; }
.pdp-qty-title { font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.pdp-qty-row { display: flex; align-items: center; gap: 12px; }
.pdp-qty-subtotal { font-size: 14px; font-family: var(--font-display); font-weight: 800; }
.pdp-qty-hint {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--success-soft);
  color: var(--success);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  margin-top: 8px;
}

.pdp-delivery {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
}
.pdp-delivery-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.pdp-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
/* 구매 불가(품절·재고초과·판매중지) 상태는 버튼 1개 + 안내문 구성이다.
   기본 2열 그리드에 두면 안내문이 좁은 칸(1fr)에 끼여 한 글자씩 세로로 눌린다
   — 2026-08-02 스크린샷의 그 증상. 이때만 1열로 떨어뜨린다. */
.pdp-cta--blocked {
  grid-template-columns: 1fr;
}
.pdp-sub-cta {
  display: flex; gap: 8px;
  margin-bottom: 18px;
}

/* Docs box */
.docs-box {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.docs-box-title { font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.docs-box-row { display: flex; gap: 8px; flex-wrap: wrap; }
.docs-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.docs-btn:hover { border-color: var(--swc-blue-300); color: var(--swc-blue-500); }
/* 카탈로그 미매핑 — 클릭은 되고(사유 토스트) 시각적으로만 흐리게. disabled 를 걸면
   클릭 이벤트가 안 나가 "눌러도 무반응" 이 되므로 attribute 대신 클래스로 처리. */
.docs-btn--empty { color: var(--text-muted, #8a8f98); border-style: dashed; }
.docs-btn--empty:hover { border-color: var(--border); color: var(--text-muted, #8a8f98); }
.docs-box-meta { margin-top: 8px; font-size: 11.5px; }

/* Tabs */
.pdp-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-tabs::-webkit-scrollbar { display: none; }
.pdp-tab {
  background: transparent;
  border: none;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.pdp-tab:hover { color: var(--text); }
.pdp-tab.active {
  color: var(--swc-blue-500);
  border-bottom-color: var(--swc-blue-500);
  font-weight: 700;
}
/* Tab section — 탭 본문 + 우측 sticky 구매 패널 2-col 레이아웃 */
.pdp-tab-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.pdp-buy-rail {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  margin-top: 24px;
}
.rail-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--swc-ink-900);
}
.rail-sku { font-size: 12px; }

.pdp-tab-body {
  padding: 24px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.pdp-tab-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--swc-ink-900);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.pdp-spec-table table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
}
.pdp-spec-table th,
.pdp-spec-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--divider);
  font-size: 13.5px;
}
.pdp-spec-table th {
  width: 200px;
  color: var(--text-tertiary);
  font-weight: 600;
  background: var(--bg-soft);
}
.pdp-spec-table td { color: var(--text); }

.pdp-detail { text-align: center; }
.pdp-detail h3 { text-align: left; }
.pdp-detail img,
.pdp-detail video,
.pdp-detail iframe { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.pdp-detail table { margin-left: auto; margin-right: auto; }

.pdp-review-section-head {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pdp-review-section-head h3 { margin: 0; flex-shrink: 0; }
.pdp-review-section-head .pdp-review-summary {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}
.pdp-review-section-head .pdp-review-summary > * { white-space: nowrap; flex-shrink: 0; }
.pdp-review-section-head > button { margin-left: auto; flex-shrink: 0; }
.pdp-review-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pdp-review-item,
.pdp-inquiry-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}
.pdp-review-list { list-style: none; margin: 0; padding: 0; }
.pdp-review-more { text-align: center; padding: 14px 0; }
.pdp-review-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; }
.pdp-review-author { font-weight: 500; }
.pdp-review-date { margin-left: auto; font-size: 11.5px; }
.pdp-review-content { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text); white-space: pre-wrap; }
.pdp-review-images {
  display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap;
}
.pdp-review-images img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
}
/* (deprecated) 기존 markup 호환 */
.pdp-review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; }
.pdp-review-text { margin: 0; font-size: 13.5px; }
.pdp-inquiry-q { font-weight: 600; color: var(--text); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.pdp-inquiry-list { list-style: none; margin: 0; padding: 0; }
.pdp-inquiry-meta { display: flex; gap: 10px; font-size: 11.5px; margin-bottom: 4px; }
.pdp-inquiry-body { font-size: 13px; color: var(--text); white-space: pre-wrap; margin: 6px 0; }
.pdp-inquiry-a {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-left: 2px solid var(--swc-blue-200);
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────────────────────────
   PDP 모바일 sticky bottom 구매 바 (2행 풍부형) — ≤768px 에서만 노출.
   buy-rail · buybox 의 액션·수량·찜·견적 모두 흡수 (PDP C안, mobile_review).

   1행: 수량 stepper + 가격 합계
   2행: [♡] [견적] [담기] [바로 구매]

   iPhone safe-area-inset-bottom 보정 (--safe-pb).
   데스크탑 (≥769px) 에서는 display: none — buy-rail / buybox 가 그대로 동작.
   ───────────────────────────────────────────────────────────── */
.pdp-sticky-bar { display: none; }

@media (max-width: 768px) {
  /* buy-rail (탭 옆 sticky aside) 모바일 hide — sticky bar 가 대체 */
  .pdp-buy-rail { display: none !important; }

  /* buybox 의 수량·CTA·sub-CTA 모바일 hide — sticky bar 가 대체.
     가격·옵션·배송·DocsBox 는 본문에 유지하여 정보 노출. */
  .pdp-buybox .pdp-qty,
  .pdp-buybox .pdp-cta,
  .pdp-buybox .pdp-sub-cta { display: none; }

  /* sticky bar — 2행 layout */
  .pdp-sticky-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--divider);
    z-index: 50;
    box-shadow: 0 -4px 12px rgba(17, 24, 39, 0.06);
    padding-bottom: var(--safe-pb);
  }

  .pdp-sticky-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }
  .pdp-sticky-bar-row-top {
    border-bottom: 1px solid var(--divider);
    background: var(--bg-soft);
  }
  .pdp-sticky-bar-row-bottom {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* 1행: 수량 stepper */
  .pdp-sticky-bar-qty {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
  }
  .pdp-sticky-bar-qty button {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .pdp-sticky-bar-qty button:hover { background: var(--bg-soft); }
  .pdp-sticky-bar-qty input {
    width: 40px;
    height: 32px;
    border: 0;
    border-left: 1px solid var(--divider);
    border-right: 1px solid var(--divider);
    text-align: center;
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    background: #fff;
    -moz-appearance: textfield;
  }
  .pdp-sticky-bar-qty input::-webkit-outer-spin-button,
  .pdp-sticky-bar-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* 1행: 가격 합계 (우측 정렬) */
  .pdp-sticky-bar-price {
    flex: 1 1 auto;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
  }
  .pdp-sticky-bar-price-label {
    font-size: 11px;
    color: var(--text-tertiary);
    line-height: 1;
  }
  .pdp-sticky-bar-price-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--swc-blue-500);
    letter-spacing: -0.02em;
    line-height: 1;
  }

  /* 2행: 4개 액션 */
  .pdp-sticky-bar-icon-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color var(--t-fast), border-color var(--t-fast);
  }
  .pdp-sticky-bar-icon-btn:hover {
    color: var(--danger);
    border-color: var(--danger);
  }
  .pdp-sticky-bar-icon-btn.is-on {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(220, 38, 38, 0.06);
  }

  .pdp-sticky-bar-row-bottom .btn {
    flex: 1;
    min-height: 44px;
    padding: 0 8px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .pdp-sticky-bar-quote { flex: 0.85; }
  .pdp-sticky-bar-cart  { flex: 1.1; }
  .pdp-sticky-bar-buy   { flex: 1.3; }

  /* sticky bar 가 main content 마지막을 가리지 않게 PDP 만 하단 여유.
     2행 layout 이라 데스크탑 1행보다 ~40px 더 필요. */
  .pdp.container { padding-bottom: calc(112px + var(--safe-pb)); }
}

/* 모바일 반응형은 _responsive-v2.css */

/* 재고 초과·판매중지 안내 (2026-08-02).
   담기를 막기만 하면 고객은 이유를 모른다 — 사유와 다음 행동을 같이 준다. */
.pdp-qty-over,
.pdp-stock-short,
.pdp-sale-blocked {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
}
.pdp-qty-over {
  background: var(--danger-soft);
  color: var(--danger);
}
.pdp-stock-short,
.pdp-sale-blocked {
  background: var(--bg-soft);
  color: var(--text-secondary);
}
.pdp-qty-over svg,
.pdp-stock-short svg,
.pdp-sale-blocked svg { flex-shrink: 0; margin-top: 2px; }

/* 옵션 로드 실패 — 담기가 '옵션을 선택해주세요' 로 죽는 대신 사유와 재시도를 준다 */
.pdp-option-error {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.5;
}
.pdp-option-error > span { flex: 1; min-width: 140px; }

/* ── 선택한 옵션별 수량 (2026-08-02) ──────────────────────────────
   전역 stepper 하나로 모든 옵션에 같은 수량을 밀어넣던 구조를 대체한다.
   옵션마다 수량·금액·삭제를 두어 담기는 수량이 화면과 정확히 일치하게 한다. */
.pdp-opt-qty {
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.pdp-opt-qty--empty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: var(--bg-soft);
  border-style: dashed;
}
.pdp-opt-qty-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.pdp-opt-qty-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--divider);
}
.pdp-opt-qty-row:last-of-type { border-bottom: none; }
.pdp-opt-qty-name {
  font-size: 12.5px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-opt-qty-amt {
  font-size: 13px;
  font-weight: 700;
  min-width: 76px;
  text-align: right;
}
.pdp-opt-qty-del {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  padding: 4px;
  cursor: pointer;
  line-height: 0;
}
.pdp-opt-qty-del:hover { color: var(--danger); }
.pdp-opt-qty-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.pdp-opt-qty-total > strong:last-child {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .pdp-opt-qty-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    row-gap: 6px;
  }
  .pdp-opt-qty-name { grid-column: 1 / -1; white-space: normal; }
}

/* 옵션 추가금액 배지 · 재고 상한 안내 */
.pdp-opt-qty-add {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--swc-blue-700);
  background: var(--swc-blue-50);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
}
.pdp-opt-qty-cap {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--danger);
  margin-top: -2px;
}

/* ─────────────────────────────────────────────────────────────
   PDP 관련 기술자료 (Ghost 블로그 위젯) — SwcRelatedPosts

   토큰만 사용 (하드코딩 색상 없음). Grainger 톤 카탈로그 카드 규격을
   기존 PDP 섹션(.docs-box 등)과 맞춘다.

   ⚠️ vendor `.btn { width: 100% }` 충돌 회피 — 이 블록은 .btn 을 쓰지 않는다.
      버튼이 필요하면 컨테이너 스코프로 width:auto 를 명시할 것
      (reference_vendor_btn_collision).
   ───────────────────────────────────────────────────────────── */

.swc-related-posts {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.swc-related-posts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.swc-related-posts-head h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.swc-related-posts-more {
  font-size: 12.5px;
  color: var(--swc-blue-500);
  text-decoration: none;
  white-space: nowrap;
}

.swc-related-posts-more:hover { text-decoration: underline; }

.swc-related-posts-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.swc-related-post > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.swc-related-post > a:hover {
  border-color: var(--swc-blue-300);
  box-shadow: 0 1px 6px rgb(30 87 150 / 10%);
}

.swc-related-post-thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}

.swc-related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swc-related-post-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}

/* 대표 태그 = 제품군 (taxonomy §6-1 순서 규칙) */
.swc-related-post-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--swc-blue-50);
  color: var(--swc-blue-700);
}

.swc-related-post-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  /* 제목 2줄 고정 — 카드 높이가 들쭉날쭉해지는 것 방지 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swc-related-post-excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-tertiary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swc-related-post-date {
  margin-top: auto;
  font-size: 11.5px;
  color: var(--text-quaternary);
}

/* ── 반응형 ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .swc-related-posts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .swc-related-posts-list { grid-template-columns: 1fr; }
  .swc-related-post-thumb { aspect-ratio: 2 / 1; }
}

/* ──────────────────────────────────────────────────────────────────
   _blog-v2.css — 기술자료 블로그 (/blog, /blog/:slug) — Ghost 헤드리스

   - 카드 규격은 _related-posts.css 의 .swc-related-post 를 공유 (PDP 위젯과 동일)
   - .swc-blog-content 는 Ghost Koenig 산출 html (kg-* 카드) 스타일 스코프
   - ⚠️ vendor `.btn{width:100%}` 충돌 — flex/그리드 안 버튼은 컨테이너 스코프로
     width:auto 명시 (reference_vendor_btn_collision)
   ────────────────────────────────────────────────────────────────── */

.swc-blog { padding-top: 28px; }

.swc-blog-head h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 6px;
}

.swc-blog-head p { margin: 0; font-size: 14px; }

/* ── 콘텐츠유형 탭 — PDP 탭(.pdp-tab)과 같은 톤 ── */
.swc-blog-tabs {
  display: flex;
  gap: 4px;
  margin: 20px 0 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  overflow-x: auto;
}

.swc-blog-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.swc-blog-tab:hover { color: var(--text); }

.swc-blog-tab.active {
  color: var(--swc-blue-500);
  border-bottom-color: var(--swc-blue-500);
  font-weight: 700;
}

/* 목록 그리드 — 위젯 4열 규격 상속, 목록 페이지는 3열이 읽기 편함 */
.swc-blog-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swc-blog-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

.swc-blog-more .btn { width: auto; }

/* ── 글 상세 ─────────────────────────────────────────────────── */

.swc-blog-post {
  padding-top: 28px;
  max-width: 860px; /* 본문 가독폭 — container 안에서 좁힘 */
}

.swc-blog-post-crumb {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.swc-blog-post-crumb a { color: var(--swc-blue-500); text-decoration: none; }
.swc-blog-post-crumb a:hover { text-decoration: underline; }
.swc-blog-post-crumb .sep { margin: 0 6px; }

.swc-blog-post-head h1 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 10px;
}

.swc-blog-post-meta {
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.swc-blog-post-hero {
  margin: 22px 0 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.swc-blog-post-hero img { display: block; width: 100%; height: auto; }

/* ── Ghost Koenig 본문 (kg-*) ────────────────────────────────── */

.swc-blog-content {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: -0.01em;
  color: var(--text);
  word-break: keep-all;
}

.swc-blog-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 40px 0 12px;
}

.swc-blog-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 10px;
}

.swc-blog-content p { margin: 0 0 16px; }

.swc-blog-content a { color: var(--swc-blue-500); }

.swc-blog-content ul,
.swc-blog-content ol { margin: 0 0 16px; padding-left: 24px; }

.swc-blog-content li { margin-bottom: 6px; }

.swc-blog-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--swc-blue-300);
  background: var(--swc-blue-50);
  border-radius: 0 4px 4px 0;
  color: var(--text-secondary);
}

.swc-blog-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.swc-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.swc-blog-content figure { margin: 24px 0; }

.swc-blog-content figcaption {
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 8px;
}

.swc-blog-content pre {
  background: var(--swc-panel-darker);
  color: #E5E7EB;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 13.5px;
}

.swc-blog-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.swc-blog-content p code,
.swc-blog-content li code {
  background: var(--bg-soft);
  padding: 1px 5px;
  border-radius: 3px;
}

/* 규격표 — 스펙 표가 많은 문서 성격. 넓은 표는 표만 스크롤.
   ⚠️ display:block + overflow-x:auto 를 table 자체에 건다 (GitHub 마크다운 패턴).
   Ghost 에서 표는 markdown/HTML 카드 산출물이라 .kg-table-card 래퍼 없이
   bare <table> 로 들어온다 — 래퍼에만 overflow 를 걸면 모바일에서 wide 표가
   본문 컬럼을 뚫고 나가 페이지 전체가 가로 스크롤된다 (적대 리뷰 확정 결함).
   word-break:keep-all 상속이 한글 min-content 폭을 키워 더 잘 터진다. */
.swc-blog-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0;
}

.swc-blog-content th {
  background: var(--swc-ink-50);
  font-weight: 700;
}

.swc-blog-content th,
.swc-blog-content td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}

.swc-blog-content .kg-table-card,
.swc-blog-content figure.kg-table-card { overflow-x: auto; }

/* Koenig 카드 폭 변형 — SPA 컨테이너 안에선 wide/full 을 본문폭으로 제한 */
.swc-blog-content .kg-width-wide,
.swc-blog-content .kg-width-full { max-width: 100%; }

.swc-blog-content .kg-card { margin: 24px 0; }

/* 북마크 카드 — 링크 미리보기 최소 스타일 */
.swc-blog-content .kg-bookmark-card a {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.swc-blog-content .kg-bookmark-content { padding: 14px; flex: 1; min-width: 0; }
.swc-blog-content .kg-bookmark-title { font-weight: 700; font-size: 14px; }
.swc-blog-content .kg-bookmark-description {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.swc-blog-content .kg-bookmark-metadata { font-size: 12px; color: var(--text-quaternary); margin-top: 8px; }
.swc-blog-content .kg-bookmark-thumbnail { flex-shrink: 0; width: 160px; }
.swc-blog-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.swc-blog-content .kg-bookmark-icon { width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; }

/* 버튼 카드 */
.swc-blog-content .kg-button-card { display: flex; justify-content: center; }
.swc-blog-content .kg-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--swc-blue-500);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* 임베드(유튜브 등) 반응형 */
.swc-blog-content .kg-embed-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 4px;
}

.swc-blog-post-foot {
  margin: 40px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
}

.swc-blog-post-foot .btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* vendor `.btn{width:100%}` 충돌 — empty-state 안 버튼 전역 스코프.
   블로그 404 의 '목록으로'뿐 아니라 PDP '홈으로'·카탈로그 로그인 안내 등
   기존 empty-state 버튼 전부가 같은 충돌로 풀폭 렌더 중이었다 (적대 리뷰 확정).
   .empty-state 는 자사 클래스라 vendor 화면에는 영향 없음. */
.empty-state .btn { width: auto; }

/* ── 반응형 ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .swc-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .swc-blog-grid { grid-template-columns: 1fr; }
  .swc-blog-post-head h1 { font-size: 24px; }
  .swc-blog-content { font-size: 15px; }
  .swc-blog-content .kg-bookmark-thumbnail { display: none; }
}

/* ──────────────────────────────────────────────────────────────────
   _cart-v2.css — prototype-v2 pages.css §CART 1:1 추출
   ────────────────────────────────────────────────────────────────── */

.cart-page { padding-bottom: 64px; }

.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--summary-w);
  gap: 24px;
  align-items: start;
}

.cart-body {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
}
.cart-body-head {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
}
.cart-select-all {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.cart-group-count { margin-left: auto; font-size: 12px; }

.cart-group { border-bottom: 1px solid var(--divider); }
.cart-group:last-of-type { border-bottom: none; }
.cart-group-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.cart-group-invalid .cart-group-head {
  background: var(--danger-soft);
  color: var(--danger);
}

.cart-line {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
}
.cart-line:last-child { border-bottom: none; }
.cart-line.invalid { opacity: 0.6; }
/* 수량만 줄이면 살아나는 줄은 흐리게 하지 않는다 — 복구 안내와 버튼이 읽혀야 한다.
   부모 opacity 는 자식이 되돌릴 수 없으므로(스태킹 컨텍스트) 부모 쪽을 되돌리고
   흐리게 할 대상만 따로 지정한다. */
.cart-line.invalid.fixable { opacity: 1; }
.cart-line.invalid.fixable .cart-line-img,
.cart-line.invalid.fixable .cart-line-name { opacity: 0.7; }
/* ⚠️ 체크박스는 직접 그려야 한다 (2026-08-02).
   vendor common.css 첫 줄이
     *:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,…)){all:unset;display:revert}
   라서 input[type=checkbox] 도 `all:unset` 을 맞는다. 네이티브 appearance 가 날아가
   테두리도 체크표시도 크기도 없는 0×0 상자가 되고, 화면에는 **아무것도 안 보인다**.
   (`margin-top` 만 주고 있었던 탓에 '전체선택' 과 라인 체크박스가 전부 안 보였다.)
   `:where()` 는 명세도 0 이라 우리가 값을 '선언하기만' 하면 이긴다 — 선언 자체가 없던 게 문제.
   카테고리 필터(_category-v2.css §facet-checkbox)와 같은 방식으로 그린다. */
.cart-line input[type="checkbox"],
.cart-select-all input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: #fff;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background-color 0.15s, border-color 0.15s;
}
.cart-line input[type="checkbox"] { margin-top: 30px; }
.cart-line input[type="checkbox"]:hover,
.cart-select-all input[type="checkbox"]:hover { border-color: var(--swc-blue-500); }
.cart-line input[type="checkbox"]:checked,
.cart-select-all input[type="checkbox"]:checked {
  background: var(--swc-blue-500);
  border-color: var(--swc-blue-500);
}
.cart-line input[type="checkbox"]:checked::after,
.cart-select-all input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cart-line input[type="checkbox"]:focus-visible,
.cart-select-all input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--swc-blue-500);
  outline-offset: 2px;
}
.cart-line-disabled-mark {
  width: 16px; height: 16px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--danger-soft);
  color: var(--danger);
  margin-top: 30px;
}
.cart-line-img { flex-shrink: 0; }
.cart-line-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.cart-line-brand { font-size: 11px; }
.cart-line-name { font-size: 13.5px; color: var(--text); font-weight: 500; }
.cart-line-name:hover { color: var(--swc-blue-500); }
.cart-line-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.cart-line-pricing {
  display: flex; align-items: center; gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cart-line-unit { font-size: 13px; }
.cart-line-total {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  margin-left: auto;
}
/* '구매 불가' 로 빠졌지만 수량만 줄이면 살아나는 줄의 복구 안내 */
.cart-line-fix {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--danger-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--danger);
}
.cart-line-fix .link-btn {
  color: var(--swc-blue-500);
  font-weight: 600;
  background: #fff;
  padding: 4px 10px;
}
.cart-line-fix .link-btn:hover { background: var(--swc-blue-50); }

.cart-line-remove {
  background: transparent; border: none;
  color: var(--text-tertiary);
  padding: 6px;
  align-self: flex-start;
  cursor: pointer;
}
.cart-line-remove:hover { color: var(--danger); }

.cart-body-foot { padding: 14px 16px; }

/* link-btn (선택 삭제 등) */
.link-btn {
  background: transparent; border: none;
  font-size: 12.5px; color: var(--text-tertiary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
}
.link-btn:hover { color: var(--swc-blue-500); background: var(--bg-soft); }

/* Summary */
.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 16px);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 20px;
}
.cart-summary h3 {
  font-size: 16px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cart-summary-rows {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 14px;
}
.cart-summary-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}
.cart-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cart-summary-total > :last-child {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--swc-ink-900);
}

.cart-cta-primary { margin-bottom: 8px; }
.cart-cta-hint {
  font-size: 11px;
  margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 4px;
}
.cart-cta-or {
  position: relative;
  display: flex; align-items: center;
  margin: 12px 0;
  color: var(--text-tertiary);
  font-size: 11px;
}
.cart-cta-or::before,
.cart-cta-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}
.cart-cta-or span { padding: 0 10px; }
.cart-cta-quote { margin-bottom: 8px; }
.cart-cta-quote-caption {
  font-size: 11px;
  line-height: 1.6;
  display: flex; flex-direction: column; gap: 2px;
  padding: 4px 0 8px;
}
.cart-cta-quote-caption svg { color: var(--quote-accent); margin-right: 4px; }
.cart-bigdeal-banner {
  display: flex; align-items: center; gap: 4px;
  background: var(--quote-soft);
  color: var(--quote-accent);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cart-summary-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 12px 0;
}
.cart-extra-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.cart-extra-btn:hover { background: var(--bg-hover); }
.cart-summary-notice {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--swc-blue-50);
  color: var(--swc-blue-700);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  display: flex; align-items: center; gap: 6px;
}

/* ─────────────────────────────────────────────────────────────
   Cart 모바일 sticky bottom 결제 바 — ≤768px 에서만 노출.
   cart-summary 가 모바일에서 본문 아래로 떨어지므로 결제 버튼이
   화면 아래로 사라짐 → 항상 viewport 하단에 결제 CTA 고정.
   iPhone safe-area-inset-bottom 보정.
   ───────────────────────────────────────────────────────────── */
.cart-sticky-bar { display: none; }

@media (max-width: 768px) {
  .cart-sticky-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--divider);
    padding: 10px 16px;
    padding-bottom: calc(10px + var(--safe-pb));
    z-index: 50;
    box-shadow: 0 -4px 12px rgba(17, 24, 39, 0.06);
  }
  .cart-sticky-bar-summary {
    flex: 1 1 auto;
    min-width: 0;
  }
  .cart-sticky-bar-label {
    font-size: 11px;
    color: var(--text-tertiary);
    line-height: 1.2;
  }
  .cart-sticky-bar-amount {
    font-size: 17px;
    font-weight: 800;
    color: var(--swc-blue-500);
    letter-spacing: -0.02em;
  }
  .cart-sticky-bar-checkout {
    flex: 0 0 auto;
    min-width: 120px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
  }

  /* sticky bar 가 cart 마지막 줄 가리지 않게 하단 여유 */
  .container.cart-page { padding-bottom: calc(72px + var(--safe-pb)); }
}

/* 모바일 반응형은 _responsive-v2.css */

/* ──────────────────────────────────────────────────────────────────
   _compare-v2.css — 제품 비교 전체 화면 (/compare, 2026-08-02)
   축 순서·"주요" 표시는 카테고리 리스트뷰 컬럼과 같은 기준(CMS primary_facet_keys).
   ────────────────────────────────────────────────────────────────── */

.cmp-page { padding-bottom: 64px; }

/* 스크린리더 전용 — 표 caption 처럼 화면에는 안 보이지만 읽혀야 하는 텍스트 */
.cmp-page .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cmp-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}
.cmp-toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cmp-diff-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
/* vendor common.css 의 `*:where(...){all:unset}` 이 네이티브 체크박스를 지운다
   — 직접 그리지 않으면 아무것도 안 보인다. [[reference_vendor_btn_collision]] */
.cmp-diff-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px; height: 16px;
  margin: 0; padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: #fff;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background-color 0.15s, border-color 0.15s;
}
.cmp-diff-toggle input[type="checkbox"]:hover { border-color: var(--swc-blue-500); }
.cmp-diff-toggle input[type="checkbox"]:checked {
  background: var(--swc-blue-500);
  border-color: var(--swc-blue-500);
}
.cmp-diff-toggle input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4.5px; top: 1px;
  width: 4px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cmp-diff-toggle input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--swc-blue-500);
  outline-offset: 2px;
}

/* 열이 많아지면 표만 가로 스크롤. 페이지 body 가 밀리면 안 된다. */
.cmp-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  /* 제품 열은 균등, 항목 열만 고정폭 */
  table-layout: fixed;
  min-width: 640px;
}
.cmp-table th,
.cmp-table td {
  border-bottom: 1px solid var(--divider);
  text-align: left;
  vertical-align: top;
}

/* 항목(축) 열 — 가로 스크롤 시에도 붙어 있어야 어떤 사양인지 알 수 있다 */
.cmp-table .cmp-axis {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 160px;
  background: var(--bg-soft);
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--divider);
}
.cmp-primary-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-sm);
  background: var(--swc-blue-50);
  color: var(--swc-blue-500);
  vertical-align: middle;
}

/* 제품 헤더 열 */
.cmp-table thead th { background: #fff; }
.cmp-table thead .cmp-axis { background: var(--bg-soft); }
.cmp-prod {
  position: relative;
  width: 220px;
  padding: 16px 14px;
  border-right: 1px solid var(--divider);
  font-weight: 400;
}
.cmp-prod:last-child { border-right: none; }
.cmp-prod-remove {
  position: absolute;
  top: 8px; right: 8px;
  background: transparent; border: none;
  color: var(--text-tertiary);
  padding: 4px;
  cursor: pointer;
  line-height: 0;
}
.cmp-prod-remove:hover { color: var(--danger); }
.cmp-prod-img { display: block; margin-bottom: 10px; }
.cmp-prod-brand { font-size: 11px; margin-bottom: 2px; }
.cmp-prod-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cmp-prod-name:hover { color: var(--swc-blue-500); }
.cmp-prod-price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--swc-ink-900);
  margin-bottom: 8px;
}
.cmp-prod-pills {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 10px;
  font-size: 11px;
}

/* 열별 액션 — [장바구니] + [찜]. vendor 리셋이 남긴 치수(width/padding/flex-direction)가
   새어 들어오지 않도록 전부 명시한다 [[reference_vendor_btn_collision]]. */
.cmp-prod-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 6px;
}
.cmp-prod-cart {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  background: var(--swc-blue-500);
  border: 1px solid var(--swc-blue-500);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.cmp-prod-cart:hover:not(:disabled) { background: var(--swc-blue-600); }
.cmp-prod-cart:disabled { opacity: .55; cursor: default; }
.cmp-prod-fav {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
}
.cmp-prod-fav:hover { border-color: var(--danger); color: var(--danger); }
.cmp-prod-fav.on { border-color: var(--danger); color: var(--danger); }

/* 값 셀 */
.cmp-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  border-right: 1px solid var(--divider);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cmp-table tbody td:last-child { border-right: none; }
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: none; }

/* 값이 갈리는 행만 강조 — 비교에서 읽어야 할 건 '다른 것' 이다 */
.cmp-table tbody tr.differs td { background: var(--swc-blue-50); font-weight: 600; }
.cmp-table tbody tr.differs .cmp-axis { color: var(--swc-blue-700); }

.cmp-empty-row {
  padding: 40px 16px !important;
  text-align: center !important;
  color: var(--text-tertiary);
  font-size: 13px;
}

.cmp-foot {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cmp-table .cmp-axis { width: 120px; padding: 10px; font-size: 11.5px; }
  .cmp-prod { width: 180px; padding: 12px 10px; }
  .cmp-table tbody td { padding: 10px; font-size: 12.5px; }
  .cmp-toolbar { padding: 10px 12px; }
  .cmp-toolbar-actions { width: 100%; }
  .cmp-toolbar-actions .btn { flex: 1; }
}

/* ──────────────────────────────────────────────────────────────────
   _order-sheet-v2.css — MYMHE v3 OrderSheet (Phase 4 swap 3.1)
   - vendor OrderSheet 컴포넌트 그대로 사용 + 자사몰 톤 override
   - 상단 영구 배너 (외상·세금계산서 → 견적 요청 안내)
   ────────────────────────────────────────────────────────────────── */

.order-sheet-wrap,
.order-confirm-wrap,
.order-detail-wrap,
.sign-up-wrap {
  padding-top: 24px;
  padding-bottom: 48px;
}

/* ──────────── 가입 폼 B2B 안내 배너 (영구 배너 패턴 재사용) ──────────── */
.signup-b2b-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--swc-blue-50);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.signup-b2b-banner-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--swc-blue-500);
}
.signup-b2b-banner-body { flex: 1; min-width: 0; }
.signup-b2b-banner-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.signup-b2b-banner-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.signup-b2b-banner-desc strong {
  color: var(--text);
  font-weight: 600;
}

/* vendor .sign-up-form 자사몰 톤 — 카드형 panel */
.sign-up-wrap .sign-up-form {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

/* OrderConfirm / OrderDetail bottom 액션 row */
.order-confirm-actions,
.order-detail-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.order-confirm-actions .btn,
.order-detail-actions .btn {
  min-width: 180px;
  height: 48px;
}

/* ──────────── 영구 배너 (외상·세금계산서 안내) — 세로 stack ──────────── */
.os-quote-banner {
  padding: 16px 18px;
  background: var(--swc-blue-50);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.os-quote-banner.emphasis {
  background: #FEF3C7;
  border-color: #FCD34D;
}
.os-quote-banner-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.os-quote-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--swc-blue-500);
  flex-shrink: 0;
}
.os-quote-banner.emphasis .os-quote-banner-icon {
  color: #B45309;
}
.os-quote-banner-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.os-quote-banner-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px 0;
}
.os-quote-banner-desc strong {
  color: var(--text);
  font-weight: 600;
}
.os-quote-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: var(--swc-quote, #0E5132);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.os-quote-banner-btn:hover {
  background: #0a3d26;
}

/* ──────────── vendor .order-sheet 자사몰 톤 override ───────────── */
.order-sheet-wrap .order-sheet {
  background: transparent;
}

/* 카드는 **패널 단위**로만 준다.
   `.order-sheet__item` 은 패널 안의 한 줄(라벨+입력)이라 카드 스타일을 주면
   OrdererInfoForm·ShippingAddressInfoForm·PayMethodSelector 등에서 카드 안에
   카드가 18겹 중첩된다 — 주문서 화면깨짐의 원인이었다 (2026-07-31).
   vendor aurora.css 가 이미 `.order-sheet__item{margin-bottom:14px}` 로 행 간격을
   주므로 여기서 다시 정의할 필요가 없다.
   단, OrderSheet.jsx §294 의 '회원정보 반영' 체크박스만은 `.order-sheet`의
   **직계 자식**(= 패널과 동급인 최상위 블록)이라 카드 취급을 유지한다. */
.order-sheet-wrap .l-panel,
.order-confirm-wrap .l-panel,
.order-detail-wrap .l-panel,
.order-sheet-wrap .order-sheet > .order-sheet__item,
.order-sheet-wrap .order-sheet__terms {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 0;
  margin-bottom: 14px;
  /* vendor aurora.css `.l-panel` 이 `box-shadow:0 10px 1px #f5f5f5` 를 걸어 둔다.
     우리가 box-shadow 를 선언하지 않으면 그대로 살아남아서, 카드마다 10px 아래에
     연회색 막대가 하나씩 깔린다 (카드 사이 구분선처럼 보이는 잔상). 명시 해제. */
  box-shadow: none;
}
/* 위 체크박스는 비로그인·설정 off 시 VisibleComponent 가 아무것도 안 그려
   빈 카드만 남는다 (테두리만 있는 18px 짜리 흰 상자). */
.order-sheet-wrap .order-sheet > .order-sheet__item:empty {
  display: none;
}

/* ──────────── 주문완료·주문상세 — 주문서와 같은 vendor 잔여 정리 ────────────
   vendor 는 `.l-panel` 에 테두리·패딩이 없는 전제로 만들어져서, 패널 '안'의
   섹션 타이틀과 본문에 각각 `padding:20px` 과 `border-bottom` 을 직접 건다.
   위에서 `.l-panel` 을 카드로 만들었으니 그대로 두면 카드 안에서 한 번 더 20px
   밀리고 타이틀 밑에 정체불명의 구분선이 생긴다 — 주문서에서 잡은 것과 동일한
   문제라 같은 방식으로 눌러 둔다 (2026-08-02). */
.order-confirm-wrap .order-confirm__item-title,
.order-detail-wrap .order-detail-info__item-title,
.order-detail-wrap .order-detail__section-title {
  padding: 0;
  border-bottom: none;
  margin: 0 0 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.order-detail-wrap .order-detail-info__item,
.order-detail-wrap .order-detail__section-content,
.order-detail-wrap .order-detail__product-table,
.order-detail-wrap .order-detail__list-btn-wrap,
.order-confirm-wrap .order-confirm__btn-group,
.order-confirm-wrap .order-confirm__product-table .accordion__items {
  padding: 0;
}

/* PriceTag — vendor 가 `padding:20px; border:1px solid var(--point-color)` 로
   자체 상자를 그린다. 패널이 이미 카드라 그대로 두면 카드 안 카드가 된다.
   (주문서 '최종 결제금액' 에서 테두리가 이중으로 보이던 것) */
.order-sheet-wrap .price-tag,
.order-confirm-wrap .price-tag,
.order-detail-wrap .price-tag {
  padding: 0;
  border: none;
}
.order-sheet-wrap .order-sheet__pay-btn {
  width: 100%;
  height: 56px;
  /* vendor `padding:16px` 가 남으면 56px 안에서 라벨이 위로 쏠린다 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--swc-blue-500);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  /* vendor 는 `margin:20px` (4방향). margin-top 만 덮으면 좌우 20px 이 남아
     버튼만 카드보다 안쪽으로 들어간다. */
  margin: 16px 0 0;
  cursor: pointer;
}
.order-sheet-wrap .order-sheet__pay-btn:hover {
  background: #1D4ED8;
}

/* ──────────── 패널 안쪽 vendor 여백·구분선 정리 ────────────
   vendor aurora.css 는 패널 자체에 테두리가 없는 전제로 만들어져서, 패널 '안'의
   타이틀과 아이템 래퍼에 각각 `padding:20px` 과 `border-bottom` 을 직접 건다.
   우리는 `.l-panel` 에 이미 18/20 패딩과 테두리를 줬으므로 그게 그대로 남으면
   ① 타이틀·본문이 카드 안에서 한 번 더 20px 밀리고 ② 타이틀 밑에 정체불명의
   구분선이 생긴다. 카드 톤에 맞춰 눌러 둔다 (2026-07-31). */
.order-sheet-wrap .order-sheet__pay-method-title,
.order-sheet-wrap .order-sheet__cash-receipt-title,
.order-sheet-wrap .order-sheet__promotion-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 0;
  border-bottom: none;
  margin: 0 0 14px 0;
}
.order-sheet-wrap .order-sheet__pay-method-items,
.order-sheet-wrap .order-sheet__promotion-items,
.order-sheet-wrap .order-sheet__pay-method-btns {
  padding: 0;
}

/* ──────────── PayMethodSelector — 결제수단 chip ────────────
   ⚠️ vendor 가 `.order-sheet__pay-method-btns .pay-method-btn{width:49%}` 를
   걸어 둔다(클래스 2개 = 우리 `.order-sheet-wrap .pay-method-btn` 과 동일 명세도).
   우리가 width 를 **선언하지 않으면** 그 49% 가 그대로 남아, 그리드 한 칸의 절반
   으로 눌린 버튼은 아이콘만 한 상자가 되고 라벨 span 은 그 밖으로 흘러나와
   한 글자씩 세로로 쌓인다. 2026-07-31 스크린샷의 '결제수단 깨짐' 이 이것.
   → width 를 반드시 명시할 것. vendor 의 `margin-bottom:10px` 도 grid gap 과
   이중으로 걸리므로 함께 해제. [[reference_vendor_btn_collision]] 과 같은 계열. */
.order-sheet-wrap .order-sheet__pay-method-btns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.order-sheet-wrap .pay-method-btn {
  width: 100%;
  margin: 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 라벨이 두 줄이 되는 항목(실시간계좌이체-에스크로 등)에서 잘리지 않게 고정
     height 대신 min-height. */
  min-height: 56px;
  height: auto;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
/* PAYCO 등 마이페이 버튼 — 로고가 inline style 의 background-image 라
   `background` 단축 대신 background-color 만 건드린다. */
.order-sheet-wrap .my-pay-method-btn {
  width: 100%;
  margin: 0;
  min-height: 56px;
  padding: 10px 14px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.order-sheet-wrap .pay-method-btn:hover {
  border-color: var(--swc-blue-300, #93C5FD);
}
.order-sheet-wrap .pay-method-btn--checked {
  border-color: var(--swc-blue-500);
  background: var(--swc-blue-50);
  color: var(--swc-blue-500);
  font-weight: 600;
}
.order-sheet-wrap .pay-method-btn__label {
  font-size: 13px;
  /* flex 아이템 기본 min-width:auto 때문에 라벨이 안 줄어들면 버튼 밖으로 삐져
     나간다. 줄바꿈은 어절 단위(keep-all) 우선, 한 어절이 칸보다 길면 그때만 강제. */
  min-width: 0;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.order-sheet-wrap .pay-method-btn__icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* 무통장 입금 시 등장하는 입금자명·계좌번호 영역.
   vendor `padding:0 20px 20px` 를 그대로 두면 카드 안에서 한 번 더 들여쓰기된다. */
.order-sheet-wrap .order-sheet__account-input-wrap {
  margin-top: 14px;
  padding: 14px 0 0;
  border-top: 1px dashed var(--divider);
}
/* 입금자명·계좌번호 두 줄은 다른 행보다 촘촘하게 (vendor 기본 14px → 10px).
   카드 스타일 해제는 위 패널-단위 규칙으로 이미 처리됐다. */
.order-sheet-wrap .order-sheet__account-input-wrap .order-sheet__item {
  margin-bottom: 10px;
}
.order-sheet-wrap .order-sheet__item-subject {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ──────────── 현금영수증 폼 ────────────
   ⚠️ vendor `.cash-receipt__item{margin-bottom:25px;display:flex;
   flex-direction:column;gap:10px}` — 우리가 `display:flex` 만 다시 선언하고
   **flex-direction 을 선언하지 않아서** vendor 의 `column` 이 그대로 남았다.
   그러면 ① 라벨과 라디오가 세로로 쌓이고 ② `align-items:center` 가 (row 기준
   세로중앙 정렬 의도였는데) 가로중앙 정렬로 뒤바뀌고 ③ `flex:0 0 84px` 인
   라벨의 84px 이 너비가 아니라 **높이**로 먹으면서 라벨과 입력 사이가 텅 빈다.
   2026-08-02 무통장입금 주문서의 '현금영수증 발급 섹션 깨짐' 이 이것.
   → row 를 명시하고 vendor margin-bottom 도 함께 해제 (gap 과 이중으로 걸린다).
   [[reference_vendor_btn_collision]] 과 정확히 같은 계열의 사고. */
.order-sheet-wrap .cash-receipt__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* vendor `padding:20px` — 카드(.l-panel) 안에서 한 번 더 들여쓰기된다 */
  padding: 0;
}
.order-sheet-wrap .cash-receipt__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.order-sheet-wrap .cash-receipt__item-subject {
  flex: 0 0 84px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.order-sheet-wrap .cash-receipt__item .radio-field__content {
  display: flex;
  gap: 16px;
  flex: 1;
  /* vendor 는 여기에도 gap:40px 를 걸어 두는데 3-클래스 명세도라 위 규칙이
     이긴다. justify-content 는 vendor 값(flex-start)이 맞아 그대로 둔다. */
}
.order-sheet-wrap .cash-receipt-key-type {
  flex: 0 0 auto;
  min-width: 140px;
}
/* 번호 입력칸 — vendor `.text-field input{width:100%}` 는 그대로 두고 래퍼만
   행에서 남는 폭을 먹게 한다 (min-width:0 없으면 flex 아이템이 안 줄어든다). */
.order-sheet-wrap .cash-receipt__item .text-field {
  flex: 1;
  min-width: 180px;
}
/* SelectBox — vendor 는 `border:1px solid #ddd` 만 걸어 두고 높이를 select 에
   준다. 위 입금자명·계좌번호 칸과 톤을 맞춘다 (배송지 모달과 동일 명세). */
.order-sheet-wrap .cash-receipt__item .select-box {
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text);
}

/* ──────────────────────────────────────────────────────────────────
   _quote-v2.css — prototype-v2 §QUOTE 1:1
   ────────────────────────────────────────────────────────────────── */

.qt-page { padding-bottom: 80px; }
.qt-new-badge { font-size: 10px; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }

.qt-from-banner {
  display: flex; align-items: center; gap: 8px;
  background: var(--quote-soft);
  color: var(--quote-accent);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--quote-accent);
  font-size: 13px;
  margin-bottom: 18px;
}
.qt-draft-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  border-left-color: var(--swc-blue-400);
}
.qt-draft-banner > span { flex: 1 1 auto; min-width: 0; }
.qt-draft-banner > .btn { flex-shrink: 0; white-space: nowrap; }

.qt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
}
.qt-body { display: flex; flex-direction: column; gap: 16px; }

.qt-section {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 22px;
}
.qt-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15.5px; font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.qt-section-badge { font-size: 10px; }

.qt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qt-form-full { grid-column: 1 / -1; }
.qt-checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.co-req { color: var(--danger); }
.co-terms-list { display: flex; flex-direction: column; gap: 8px; }
.co-terms-list label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }

/* Custom 체크박스/라디오 — NHN aurora skin 의 input reset 회피 위해 직접 그림.
   facet-checkbox 패턴과 동일 톤 (자사몰 블루). 2026-05-25 추가. */
.qt-checkbox-row input[type="checkbox"],
.co-terms-list input[type="checkbox"],
.qt-pay-row input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: #fff;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background-color 0.15s, border-color 0.15s;
}
.qt-checkbox-row input[type="checkbox"],
.co-terms-list input[type="checkbox"] { border-radius: 3px; }
.qt-pay-row input[type="radio"] { border-radius: 50%; }

.qt-checkbox-row input[type="checkbox"]:hover,
.co-terms-list input[type="checkbox"]:hover,
.qt-pay-row input[type="radio"]:hover {
  border-color: var(--swc-blue-500);
}

.qt-checkbox-row input[type="checkbox"]:checked,
.co-terms-list input[type="checkbox"]:checked,
.qt-pay-row input[type="radio"]:checked {
  background: var(--swc-blue-500);
  border-color: var(--swc-blue-500);
}

.qt-checkbox-row input[type="checkbox"]:checked::after,
.co-terms-list input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.qt-pay-row input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.qt-checkbox-row input[type="checkbox"]:focus-visible,
.co-terms-list input[type="checkbox"]:focus-visible,
.qt-pay-row input[type="radio"]:focus-visible {
  outline: 2px solid var(--swc-blue-500);
  outline-offset: 2px;
}

/* 약관 동의 — [보기] 링크가 label 안에 있어도 input toggle 간섭 안 받도록 분리 노출 */
.co-terms-list .co-terms-view {
  margin-left: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: underline;
  cursor: pointer;
}
.co-terms-list .co-terms-view:hover { color: var(--swc-blue-500); }

.qt-hint {
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  display: flex; align-items: center; gap: 6px;
}

.qt-lines-table { border: 1px solid var(--divider); border-radius: var(--radius-sm); overflow: hidden; }
.qt-lines-head {
  display: grid;
  grid-template-columns: 60px minmax(0, 1.4fr) 80px 110px 110px 90px 28px;
  align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--divider);
}
.qt-lh-list, .qt-lh-est { text-align: right; }

.qt-line-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1.4fr) 80px 110px 110px 90px 28px;
  align-items: start; gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--divider);
  font-size: 13px;
}
.qt-line-row:last-child { border-bottom: none; }
.qt-line-row .pimg { width: 60px; height: 60px; }
.qt-line-name-cell { min-width: 0; }
.qt-line-name {
  font-size: 13px; line-height: 1.4;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.qt-line-memo {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  margin-top: 4px;
  font-family: inherit;
  font-size: 11.5px;
  resize: vertical;
  min-height: 28px;
}
.qt-line-memo:focus { outline: none; border-color: var(--swc-blue-500); box-shadow: 0 0 0 3px var(--accent-soft); }
.qt-line-list { text-align: right; margin-top: 4px; font-size: 12px; }
.qt-line-qty { margin-top: 2px; }
.qt-line-price-input input { height: 32px; font-size: 12px; }
.qt-line-est { text-align: right; margin-top: 4px; font-weight: 700; }
.qt-line-remove { background: transparent; border: none; color: var(--text-tertiary); padding: 4px; margin-top: 2px; cursor: pointer; }
.qt-line-remove:hover { color: var(--danger); }

.qt-line-empty { padding: 32px; text-align: center; background: var(--bg-soft); border-radius: var(--radius-sm); color: var(--text-tertiary); font-size: 13px; }
.qt-line-empty p { margin: 0 0 14px; }

.qt-lines-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.qt-lines-total { margin-left: auto; font-size: 13px; color: var(--text-secondary); }
.qt-lines-total strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--swc-ink-900); margin-left: 6px; }

.qt-pay-list { display: flex; flex-direction: column; gap: 8px; }
.qt-pay-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; }
.qt-pay-row:hover { border-color: var(--swc-blue-300); }
.qt-pay-row.active { border-color: var(--swc-blue-500); background: var(--swc-blue-50); }
.qt-pay-row.warn.active { background: var(--warn-soft); border-color: var(--warn); }
.qt-pay-row input { margin: 0; }
.qt-pay-label { font-size: 13.5px; font-weight: 600; }
.qt-pay-sub { font-size: 11.5px; margin-top: 2px; }

.qt-warn-box { margin-top: 12px; padding: 10px 12px; background: var(--warn-soft); color: #B45309; border-radius: var(--radius-sm); border-left: 3px solid var(--warn); font-size: 12px; display: flex; align-items: center; gap: 6px; }

.qt-memo { width: 100%; min-height: 100px; padding: 12px 14px; font-family: inherit; font-size: 13px; resize: vertical; line-height: 1.5; }
.qt-attach { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qt-attach-list { display: flex; flex-wrap: wrap; gap: 6px; }
.qt-attach-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--bg-soft); border-radius: var(--radius-pill); font-size: 12px; }
.qt-attach-item button { background: transparent; border: none; color: var(--text-tertiary); padding: 2px; cursor: pointer; }
.qt-attach-item button:hover { color: var(--danger); }
.qt-attach-item.qt-attach-uploading { opacity: 0.6; }
.qt-attach-item.qt-attach-error { background: var(--warn-soft); color: var(--danger); }
.qt-attach-hint { margin-top: 8px; font-size: 11.5px; }

.qt-actions { display: flex; gap: 10px; justify-content: flex-end; padding: 18px 4px; }

.qt-side { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 16px); display: flex; flex-direction: column; gap: 12px; }
.qt-side-card { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius-md); padding: 18px 20px; }
.qt-side-card h4 { font-size: 13.5px; font-weight: 700; margin: 0 0 12px; font-family: var(--font-body); letter-spacing: -0.02em; }
.qt-flow { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.7; }
.qt-flow li { margin-bottom: 8px; }
.qt-flow li:last-child { margin-bottom: 0; }
.qt-sla { display: flex; flex-direction: column; gap: 8px; }
.qt-sla-row { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.qt-sla-row svg { color: var(--success); }
.qt-sales { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qt-sales-avatar { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--quote-soft); color: var(--quote-accent); display: grid; place-items: center; font-size: 18px; font-weight: 800; font-family: var(--font-display); }
.qt-sales-name { font-size: 14px; font-weight: 700; }
.qt-sales-channels { display: flex; flex-direction: column; gap: 6px; }
.qt-sales-channel { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 12.5px; color: var(--text-secondary); }
.qt-sales-channel:hover { background: var(--swc-blue-50); color: var(--swc-blue-500); }
.qt-sales-meta { margin-top: 10px; font-size: 11.5px; display: flex; align-items: center; gap: 4px; }
.qt-side-tip { background: var(--swc-blue-50); border-color: var(--swc-blue-200); color: var(--swc-blue-700); display: flex; align-items: start; gap: 8px; padding: 14px 16px; }
.qt-side-tip svg { flex-shrink: 0; margin-top: 1px; }
.qt-side-tip p { margin: 0; font-size: 12.5px; line-height: 1.5; }

.qt-add-modal { width: min(720px, 94vw); max-height: 86vh; display: flex; flex-direction: column; }
.qt-add-modal .modal-body { padding: 16px 20px 20px; overflow-y: auto; flex: 1; }

/* ── Phase 1 (2026-05-26): 마이페이지 견적 detail modal ──
   spec freeze §3-3 의 GET /api/shop/inquiries/{id} 응답을 렌더링 */
.qt-detail-modal { width: min(760px, 94vw); max-height: 86vh; }
.qt-detail-modal .modal-body { padding: 16px 20px 20px; overflow-y: auto; }

.qt-detail-head {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.qt-detail-head > :last-child { margin-left: auto; }

.qt-detail-section { margin-bottom: 18px; }
.qt-detail-section:last-of-type { margin-bottom: 0; }
.qt-detail-section h4 {
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  font-family: var(--font-body);
}

.qt-detail-lines {
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qt-detail-line-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 50px 90px;
  align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--divider);
}
.qt-detail-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 50px 90px;
  align-items: start; gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--divider);
  font-size: 13px;
}
.qt-detail-line:last-child { border-bottom: none; }
.qt-detail-line-name { min-width: 0; word-break: break-word; }
.qt-detail-line-name > div { overflow-wrap: break-word; }
.qt-detail-line .tnum { font-size: 12.5px; white-space: nowrap; }

.qt-detail-prefs {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.qt-detail-prefs > div { display: flex; gap: 6px; align-items: baseline; }
.qt-detail-prefs .muted { font-size: 11.5px; }

.qt-detail-prose {
  margin: 0;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--swc-blue-300);
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-secondary);
}

.qt-detail-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}

.mypage-quote-row-click { cursor: pointer; transition: background-color var(--t-fast); }
.mypage-quote-row-click:hover { background: var(--swc-blue-50); }
.mypage-quote-row-click:focus-visible { outline: 2px solid var(--swc-blue-500); outline-offset: 2px; }

/* ── P1 (2026-05-26): 약관 동의 modal ── */
.qt-terms-modal { width: min(640px, 92vw); max-height: 86vh; display: flex; flex-direction: column; }
.qt-terms-body { padding: 18px 22px; overflow-y: auto; flex: 1; font-size: 13px; line-height: 1.6; }
.qt-terms-body h4 {
  font-size: 13px; font-weight: 700;
  margin: 18px 0 6px;
  color: var(--swc-ink-900);
  font-family: var(--font-body); letter-spacing: -0.02em;
}
.qt-terms-body ul { margin: 0 0 8px; padding-left: 20px; }
.qt-terms-body li { margin-bottom: 4px; font-size: 12.5px; }
.qt-terms-body p { margin: 0 0 8px; font-size: 12.5px; color: var(--text-secondary); }
.qt-terms-actions {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 14px 22px;
  border-top: 1px solid var(--divider);
  background: var(--bg-soft);
}
.qt-search-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.qt-search-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.qt-search-item:hover { border-color: var(--swc-blue-300); background: var(--swc-blue-50); }
.qt-search-item .pimg { width: 48px; height: 48px; }
.qt-search-info { min-width: 0; }
.qt-search-info > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-search-item .tnum { white-space: nowrap; }
.qt-search-item .btn { white-space: nowrap; }

/* Modal (qt 에서 모달 사용 — prototype-v2 styles.css §Modal) */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid; place-items: center;
  z-index: var(--z-modal);
  animation: modalIn 0.18s ease-out;
}
.modal-shell {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: min(420px, 90vw);
  display: flex; flex-direction: column;
  max-height: 80vh;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--divider);
}
.modal-head h3 { margin: 0; font-size: 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
.modal-body {
  padding: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* row-flex util */
.row-flex { display: flex; align-items: center; gap: 8px; }

/* 모바일 반응형은 _responsive-v2.css */

/* ──────────────────────────────────────────────────────────────────
   _mypage-v2.css — prototype-v2 §MY PAGE 1:1
   ────────────────────────────────────────────────────────────────── */

.my-page-wrap { padding-bottom: 80px; }
.my-page-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.mypage-side {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 16px);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 4px 0;
  overflow: hidden;
}
.mypage-side-user {
  display: flex; align-items: center; gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--divider);
}
.mypage-side-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--swc-blue-500);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.mypage-side-info { min-width: 0; flex: 1; }
.mypage-side-name { font-size: 13.5px; font-weight: 700; }
.mypage-side-grade { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.mypage-side-grade .grade-chip { font-size: 9.5px; padding: 2px 8px; }

.mypage-side-section { padding: 12px 0; border-bottom: 1px solid var(--divider); }
.mypage-side-section:last-child { border-bottom: none; }
.mypage-side-section h5 {
  margin: 0 16px 4px;
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.mypage-side-section a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.mypage-side-section a:hover { background: var(--bg-soft); color: var(--swc-blue-500); }
.mypage-side-section a.active {
  background: var(--swc-blue-50);
  color: var(--swc-blue-500);
  font-weight: 700;
  position: relative;
}
.mypage-side-section a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--swc-blue-500);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}
.mypage-side-b2b h5 { color: var(--quote-accent); }
.mypage-side-b2b a svg { color: var(--quote-accent); }

.my-page-main { min-width: 0; }

.mypage-hello { margin-bottom: 24px; }
.mypage-hello h1 { font-size: 26px; margin-bottom: 4px; }

.mypage-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.mypage-kpi {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 18px;
}
.mypage-kpi-label { font-size: 12.5px; color: var(--text-tertiary); font-weight: 600; }
.mypage-kpi-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--swc-ink-900);
  margin-top: 6px;
}
.mypage-kpi-num small { font-size: 13px; opacity: 0.7; margin-left: 4px; font-weight: 600; }
.mypage-kpi-sub { font-size: 11.5px; margin-top: 4px; }

.mypage-section { margin-bottom: 28px; }

.mypage-order-list { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden; }
.mypage-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 110px 80px 130px minmax(0, auto);
  align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--divider);
}
.mypage-order-row:last-child { border-bottom: none; }
.mypage-order-amt { font-weight: 700; font-family: var(--font-display); font-size: 15px; }

.mypage-quote-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mypage-quote-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.mypage-quote-card:hover { border-color: var(--quote-accent); box-shadow: var(--shadow-sm); }
.mypage-quote-head { display: flex; align-items: center; justify-content: space-between; }
.mypage-quote-new {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  border-style: dashed;
  color: var(--quote-accent);
  text-align: center;
}
.mypage-quote-new:hover { background: var(--quote-soft); }

.mypage-quotes-list { display: flex; flex-direction: column; gap: 8px; }
.mypage-quote-row { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden; }
.mypage-quote-row.open { border-color: var(--swc-blue-300); }
.mypage-quote-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 150px minmax(0, auto);
  align-items: center; gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
}
.mypage-quote-row-head:hover { background: var(--bg-soft); }
.mypage-quote-row-body { padding: 16px 18px; border-top: 1px solid var(--divider); background: var(--bg-soft); }

.mypage-tab-row { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.mypage-tab {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
}
.mypage-tab:hover { background: var(--bg-soft); }
.mypage-tab.active { background: var(--swc-blue-500); color: #fff; border-color: var(--swc-blue-500); }

.mypage-orders-table { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden; }
.mypage-orders-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.6fr) 110px 110px 220px;
  gap: 14px;
  padding: 12px 18px;
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.mypage-orders-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.6fr) 110px 110px 220px;
  align-items: center; gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
}
.mypage-orders-row .row-flex .btn { flex-shrink: 0; }

.mypage-addr-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mypage-addr-card { background: #fff; border: 1px solid var(--divider); border-radius: var(--radius-md); padding: 18px 20px; }
.mypage-addr-card.default { border-color: var(--swc-blue-300); }
.mypage-addr-head { display: flex; align-items: center; gap: 8px; }
.mypage-addr-add {
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 13.5px;
  font-family: inherit;
}
.mypage-addr-add:hover { border-color: var(--swc-blue-300); color: var(--swc-blue-500); }

.mypage-biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.mypage-biz-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 13.5px;
}
.mypage-biz-row > .muted:first-child { width: 130px; flex-shrink: 0; font-size: 12px; }
.mypage-biz-full { grid-column: 1 / -1; }

.mypage-credit-bar { width: 100%; height: 8px; background: var(--bg-soft); border-radius: var(--radius-pill); overflow: hidden; }
.mypage-credit-fill { height: 100%; background: linear-gradient(90deg, var(--swc-blue-500), var(--swc-blue-300)); border-radius: var(--radius-pill); }

.mypage-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  height: 180px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 18px;
}
.mypage-chart-bar {
  background: linear-gradient(180deg, var(--swc-blue-400), var(--swc-blue-500));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-height: 6px;
  position: relative;
  transition: background var(--t);
}
.mypage-chart-bar:hover { background: linear-gradient(180deg, var(--swc-blue-300), var(--swc-blue-400)); }
.mypage-chart-month { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--text-tertiary); white-space: nowrap; }

.mypage-coupon-list { display: flex; flex-direction: column; gap: 10px; }
.mypage-coupon-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px dashed var(--swc-blue-300);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.mypage-coupon-dc {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--swc-blue-500);
  letter-spacing: -0.03em;
  padding: 0 12px;
  border-right: 1px dashed var(--swc-blue-200);
}
.mypage-coupon-body { flex: 1; }

/* ──────────── Info 탭 정보 행 ──────────── */
.info-list { display: flex; flex-direction: column; gap: 2px; }
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 13.5px;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12.5px;
}
.info-value { color: var(--text); }

/* ──────────── Likes (검색 · 정렬 · 다중 선택) ──────────── */
.likes-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.likes-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 38px;
  color: var(--text-tertiary);
}
.likes-search:focus-within { border-color: var(--swc-blue-500); }
.likes-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  outline: none;
  color: var(--text);
  font-family: inherit;
}
.likes-search-clear {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  display: flex;
  padding: 4px;
}
.likes-search-clear:hover { color: var(--text); }

.likes-select-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 13px;
}
.likes-select-row .cart-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.likes-select-row .link-btn {
  background: transparent;
  border: none;
  color: var(--swc-blue-500);
  cursor: pointer;
  font-size: 12.5px;
  font-family: inherit;
  margin-left: auto;
}

.likes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.likes-card-wrap {
  position: relative;
}
.likes-card-wrap.selected .prod-card {
  outline: 2px solid var(--swc-blue-500);
  outline-offset: -2px;
}
.likes-select-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background-color 0.12s, border-color 0.12s;
}
.likes-select-checkbox:hover { border-color: var(--swc-blue-500); }
.likes-select-checkbox.on {
  background: var(--swc-blue-500);
  border-color: var(--swc-blue-500);
}

/* 카드 1장 담기 — 카드 아래에 붙는 full-width 액션.
   vendor 리셋 잔여(width/padding/flex-direction)를 피하려고 치수를 전부 명시한다
   [reference_vendor_btn_collision]. */
.likes-card-cart {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 36px;
  margin-top: 8px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--swc-blue-500);
  border-radius: var(--radius-sm);
  color: var(--swc-blue-500);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.likes-card-cart:hover:not(:disabled) {
  background: var(--swc-blue-50);
}
.likes-card-cart:disabled {
  opacity: .55;
  cursor: default;
}

/* 마지막에 주문한 상품 (B2B 대시보드) — ProductCard 보다 가벼운 미니 카드 */
.mypage-last-ordered-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.mypage-last-ordered-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  padding: 0;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.mypage-last-ordered-card:hover {
  border-color: var(--swc-blue-300);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.mypage-last-ordered-img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  overflow: hidden;
  color: var(--text-tertiary);
}
.mypage-last-ordered-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mypage-last-ordered-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mypage-last-ordered-brand {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.mypage-last-ordered-name {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.35;
  color: var(--swc-ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

/* 모바일 반응형은 _responsive-v2.css */

/* ──────────────────────────────────────────────────────────────────
   _brand-v2.css — prototype-v2 §BRAND PAGE 1:1
   ────────────────────────────────────────────────────────────────── */

.brand-page { padding-bottom: 80px; }

.brand-hero {
  color: #fff;
  padding: 56px 0 64px;
  margin-bottom: 32px;
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.brand-hero-cert { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.brand-hero-cert-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.brand-hero-logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.brand-hero-name-en { font-size: 13px; opacity: 0.75; margin-bottom: 16px; }
.brand-hero-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 16px;
}
.brand-hero-intro {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
  margin: 0 0 22px;
  max-width: 580px;
}
.brand-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
/* ⚠ width: auto 필수 — NHN 기본 스킨(vendor)에 .btn { width: 100% } 가 있어
   자사 .btn 베이스(width 미선언)로는 못 덮음. flex 안에서 버튼이 행 전폭을
   차지해 두 버튼이 세로로 쌓이고 라벨이 붕괴한다. 전역 .btn 은 건드리지 않고
   컨테이너 스코프로만 해제 (_home-v2.css .catalog-cta-panel > .btn 과 동일 처방). */
.brand-hero-actions > .btn { width: auto; }
.btn-brand-light { background: #fff; color: var(--swc-ink-900); border: 1px solid transparent; }
.btn-brand-light:hover { background: rgba(255,255,255,0.92); }
.btn-brand-outline { background: transparent; border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn-brand-outline:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

.brand-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; opacity: 0.85; }
.brand-hero-meta span { display: inline-flex; align-items: center; gap: 4px; }

.brand-hero-art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.brand-hero-art-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: transform var(--t);
}
.brand-hero-art-card:hover { transform: scale(1.02); }
.brand-hero-art-card .pimg { aspect-ratio: 1; }

.brand-content { padding-top: 8px; }
.brand-section { margin-bottom: 40px; }

.brand-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.brand-series-card {
  background: #fff;
  border: 2px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.brand-series-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.brand-series-marker {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.brand-series-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.brand-series-desc { font-size: 12.5px; margin-top: 4px; color: var(--text-secondary); }
.brand-series-count { font-size: 11px; margin-top: 8px; }

.brand-cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-cat-chip {
  display: inline-flex; align-items: center;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.brand-cat-chip:hover { border-color: var(--swc-blue-300); background: var(--bg-soft); }

.brand-quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-quote-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}
.brand-quote-mark {
  position: absolute; top: 4px; right: 12px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.6;
}
.brand-quote-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-quote-text { margin: 12px 0 0; font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

.brand-cta-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 2px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin-top: 40px;
}
.brand-cta-bottom h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.brand-cta-bottom p { margin: 0; font-size: 13px; }
/* ⚠ 위 .brand-hero-actions 와 같은 이유(vendor .btn { width: 100% }) — 하단 CTA 의
   .row-flex 안 버튼도 스코프로 해제. flex 는 건드리지 않아 모바일(_responsive-v2.css
   .brand-cta-bottom .btn { flex: 1 }) 전폭 배치가 그대로 유지된다. */
.brand-cta-bottom .row-flex > .btn { width: auto; }

/* 모바일 반응형은 _responsive-v2.css */

/* ──────────────────────────────────────────────────────────────────
   _search-v2.css — prototype-v2 §SEARCH PAGE 1:1
   ────────────────────────────────────────────────────────────────── */

.search-page { padding-bottom: 80px; }

.search-head { margin-bottom: 14px; }
.search-head h1 { font-size: 26px; margin-bottom: 8px; }
.search-q-quote { color: var(--text-quaternary); font-weight: 400; }
.search-q { color: var(--swc-blue-500); }
.search-head-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; flex-wrap: wrap; }
.search-corrected {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--swc-blue-50);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--swc-blue-700);
}

.search-input-row { display: flex; gap: 10px; margin-bottom: 20px; }
.search-input-wide { flex: 1; max-width: 100%; min-width: 0; }

.search-grid {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Empty */
.search-empty { display: flex; flex-direction: column; gap: 28px; }
.search-empty-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}
.search-empty-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text-tertiary);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.search-empty-card h2 { font-size: 22px; margin: 0 0 6px; }
.search-empty-card > p { margin: 0 0 24px; font-size: 13.5px; }

.search-empty-corrected {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--swc-blue-50);
  color: var(--swc-blue-700);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 13.5px;
}
.search-empty-tips {
  text-align: left;
  max-width: 540px;
  margin: 0 auto 24px;
  padding: 18px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
}
.search-empty-tips h4 { font-size: 13px; margin: 0 0 10px; }
.search-empty-tips ul { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.8; color: var(--text-secondary); }
.search-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 결과 더 보기 (100개 단위 누적)
   NHN 기본 스킨(vendor) CSS 에 .btn { width: 100% } 이 있어 flex 안에서 버튼이
   폭주한다 → 이 컨테이너 스코프로만 width:auto 로 되돌린다. 전역 .btn 은 손대지 않음. */
.search-load-more { display: flex; justify-content: center; margin-top: 28px; }
.search-load-more .btn { width: auto; min-width: 240px; }

/* 모바일 반응형은 _responsive-v2.css */

/* 검색 0건 → 카테고리 구제 (2026-08-02).
   상품명이 순수 모델코드인 상품이 많아 이름 검색으로 안 잡히는 카테고리가 있다.
   막다른 0건 화면에서 카테고리 경로로 빠져나갈 수 있게 한다. */
.search-empty-cats {
  margin: 16px 0 4px;
  text-align: left;
  border-top: 1px solid var(--divider);
  padding-top: 14px;
}
.search-empty-cats-head {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.search-empty-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  margin-bottom: 6px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.search-empty-cat:hover {
  background: var(--swc-blue-50);
  border-color: var(--swc-blue-200);
}
.search-empty-cat-name { flex: 1; min-width: 0; }

/* ──────────────────────────────────────────────────────────────────
   _auth-v2.css — 로그인 / 회원가입 메뉴 화면 (MYMHE 자사몰 톤)
   - 페이지: /sign-in (SignInForm), /sign-up (SignUpMenu)
   - 가입 폼 /sign-up/form (SwcSignUp) 은 별도 wrapper 그대로 유지
   ────────────────────────────────────────────────────────────────── */

.swc-auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 16px 80px;
  min-height: calc(100vh - var(--header-h) - var(--subnav-h));
  min-height: calc(100dvh - var(--header-h) - var(--subnav-h));
  background: var(--bg-soft);
}

.swc-auth-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  width: 100%;
  max-width: 480px;
}

.swc-auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.swc-auth-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--swc-blue-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.02em;
}
.swc-auth-brand-text { text-align: left; line-height: 1.3; }
.swc-auth-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--swc-ink-900);
  letter-spacing: -0.02em;
}
.swc-auth-brand-sub {
  font-size: 10.5px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.swc-auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 6px;
  color: var(--swc-ink-900);
}
.swc-auth-subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
  margin: 0 0 26px;
}

.swc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.swc-auth-field {
  /* TextField vendor element 의 좌우 패딩 / border 는 그대로 두고 */
  /* form gap 만 자사몰 톤으로 통제 */
}
.swc-auth-form .normal-sign-in__input-wrap { margin: 0; }

/* SignInButton 의 vendor 버튼 — 자사몰 primary 톤으로 override */
.swc-auth-form .sign-in-button,
.swc-auth-form > button[type="button"]:last-of-type,
.swc-auth-cta {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  background: var(--swc-blue-500);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.swc-auth-form .sign-in-button:hover,
.swc-auth-cta:hover {
  background: var(--swc-blue-700);
}

.swc-auth-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 12.5px;
}
.swc-auth-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 120ms ease, background-color 120ms ease;
}
.swc-auth-links a:hover {
  color: var(--swc-blue-500);
  background: var(--accent-soft);
}
.swc-auth-link-sep {
  color: var(--text-quaternary);
  font-size: 10px;
  user-select: none;
}

.swc-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: var(--text-quaternary);
  font-size: 11.5px;
}
.swc-auth-divider::before,
.swc-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.swc-auth-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 비회원 주문조회 — 별도 카드 (subtle) */
.swc-auth-card-guest {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 24px 28px 26px;
  width: 100%;
  max-width: 480px;
}
.swc-auth-guest-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--swc-ink-900);
  letter-spacing: -0.02em;
}
.swc-auth-guest-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 0 0 14px;
}
.swc-auth-card-guest .guest-order__input-wrap { margin-bottom: 8px; }
.swc-auth-card-guest .guest-order__input-wrap:last-of-type { margin-bottom: 12px; }
.swc-auth-card-guest button {
  width: 100%;
  height: 40px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.swc-auth-card-guest button:hover {
  border-color: var(--swc-blue-300);
  color: var(--swc-blue-500);
}
.swc-auth-guest-link {
  display: block;
  text-align: center;
  padding: 12px;
  color: var(--swc-blue-500);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--swc-blue-200, #c7e0fa);
  border-radius: var(--radius-sm);
  background: var(--swc-blue-50);
}
.swc-auth-guest-link:hover { background: var(--swc-blue-100, #dbeafe); }

/* Sign-up 메뉴 — 단일 출구.
   vendor `.sign-up-menu__link-normal a` 규칙이 텍스트 색을 덮어쓰므로
   동일 specificity 의 selector 를 함께 노출. */
.swc-auth-cta-link,
.sign-up-menu__link-normal a.swc-auth-cta-link {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--swc-blue-500);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease;
}
.swc-auth-cta-link:hover,
.sign-up-menu__link-normal a.swc-auth-cta-link:hover {
  background: var(--swc-blue-700);
  color: #fff;
}

.swc-auth-foot {
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: center;
  margin: 18px 0 0;
}
.swc-auth-foot a {
  color: var(--swc-blue-500);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}
.swc-auth-foot a:hover { text-decoration: underline; }

/* Find ID / Find Password — vendor Tabs + 폼 정리 */
.swc-auth-tabs {
  margin: 0 0 18px;
}
.swc-auth-card .find-id__tit,
.swc-auth-card .find-password__tit {
  /* vendor `__tit` 텍스트 스타일이 있으면 우리 title 톤으로 정렬 */
  margin: 0 0 6px;
}
.swc-auth-card .find-id-form,
.swc-auth-card .find-password-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.swc-auth-card .find-id-form__item,
.swc-auth-card .find-password-form__item {
  margin: 0;
}
.swc-auth-card .find-id-form__btn-wrap,
.swc-auth-card .find-password-form__btn-wrap {
  margin-top: 8px;
}
.swc-auth-card .find-id-form__btn-wrap button,
.swc-auth-card .find-password-form__btn-wrap button {
  width: 100%;
  height: 48px;
  background: var(--swc-blue-500);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.swc-auth-card .find-id-form__btn-wrap button:hover,
.swc-auth-card .find-password-form__btn-wrap button:hover {
  background: var(--swc-blue-700);
}
.swc-auth-card .find-id-form__caution,
.swc-auth-card .find-password-form__caution {
  font-size: 12px;
  color: var(--danger, #d92d20);
  margin: 4px 0 0;
}

/* ──────────── 이메일 도메인 선택 (2026-08-04 QA) ────────────
   vendor `.select-box::after` 의 화살표는 sprite.png 스프라이트라 번들 경로가
   어긋나면 통째로 사라진다 — 그러면 select 가 그냥 '글자 박힌 상자' 로 보여서
   고를 수 있다는 신호가 없다. 화살표를 인라인 SVG 배경으로 직접 그려 둔다. */
.sign-up-wrap .signup-email-domain-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.sign-up-wrap .signup-email-domain-select::after {
  /* 스프라이트 대신 우리가 그리는 caret. 사이즈/위치를 여기서 확정한다. */
  width: 10px;
  height: 6px;
  right: 12px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27 viewBox=%270 0 10 6%27%3E%3Cpath d=%27M1 1l4 4 4-4%27 fill=%27none%27 stroke=%27%236B7280%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.sign-up-wrap .signup-email-domain-select select {
  color: var(--text);
  font-size: 13.5px;
  cursor: pointer;
}

/* ──────────── 한글 자판 경고 말풍선 (2026-08-04 QA) ────────────
   아이디·비밀번호 칸의 vendor `valid` 정규식이 한글을 조용히 지우기 때문에
   "키를 눌러도 안 찍힌다" 로 보인다. 입력칸 바로 아래에 작은 말풍선으로 이유를 띄운다.
   [swc/ImeHint.jsx] */
.ime-guard {
  position: relative;
}
.ime-hint {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  left: 0;
  max-width: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: var(--swc-ink-900, #1F2937);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
}
/* 말풍선 꼬리 — 어느 칸에 대한 안내인지 붙여 준다 */
.ime-hint::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 18px;
  border: 5px solid transparent;
  border-bottom-color: var(--swc-ink-900, #1F2937);
}
.ime-hint-badge {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .18);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.ime-hint-close {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0 0 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 3px;
  color: rgba(255, 255, 255, .7);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.ime-hint-close:hover { color: #fff; background: rgba(255, 255, 255, .15); }

/* 반응형은 _responsive-v2.css */

/* ─────────────────────────────────────────────────────────────
   회사소개 (/about) — [SwcAbout.jsx]
   전 규칙 about- prefix 로 스코프. 전역 클래스는 .crumbs / .page-head 만 재사용.
   ⚠️ .btn 은 NHN vendor CSS 가 width:100% 를 걸어두어 flex 안에서 폭이 터진다.
      이 페이지의 버튼은 전부 .about-btn 자체 클래스를 쓴다.
   ───────────────────────────────────────────────────────────── */

.about-page {
  background: var(--bg);
}

.about-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  width: 100%;
  box-sizing: border-box;
}

/* 풀블리드 밴드 (배경색이 화면 끝까지 가는 섹션) */
.about-band {
  width: 100%;
}

.about-section {
  padding-top: var(--space-8);
}

.about-section-head {
  margin-bottom: var(--space-5);
}

.about-section-head h2 {
  margin: 0 0 6px;
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-section-head p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

/* ── 스크롤 리빌 ─────────────────────────────────────────────
   opacity / transform 만 다룬다. 높이는 항상 유지되므로 CLS 없음.
   stagger 는 [SwcAbout.jsx] 에서 style={{ '--i': n }} 으로 주입. */
.about-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.about-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── 페이지 헤드 ───────────────────────────────────────────── */
.about-headband {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.about-headband .crumbs {
  padding-top: var(--space-3);
}

.about-page-head {
  margin: var(--space-4) 0 var(--space-6);
}

.about-page-head h1 {
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
}

/* ── 포지셔닝 ──────────────────────────────────────────────── */
.about-positioning {
  padding-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}

.about-eyebrow {
  margin: 0 0 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--swc-blue-500);
}

.about-lede {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-xxl);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: pretty;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.about-body p {
  margin: 0;
}

.about-taglist {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.about-taglist li {
  font-size: 12px;
  color: var(--swc-blue-700);
  background: var(--swc-blue-50);
  border: 1px solid var(--swc-blue-100);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
}

/* ── 사진 프레임 ──────────────────────────────────────────────
   비율은 프레임별로 원본에 맞춘다(사진 3:2, 지도 1400:1085). img 의 width/height
   속성 + aspect-ratio 로 로딩 중 자리를 미리 잡아 CLS 를 막는다.
   로딩 전에는 --bg-soft 가 보인다. */
.about-frame {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-frame-hero {
  aspect-ratio: 3 / 2;
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 신뢰 지표 ─────────────────────────────────────────────── */
.about-stats {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.about-stat {
  padding: 26px 28px;
  border-right: 1px solid var(--border);
}

.about-stat:last-child {
  border-right: 0;
}

.about-stat-num {
  font-size: var(--fs-xxl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--swc-blue-500);
  line-height: 1.1;
  /* 카운트업 중 자릿수가 바뀌어도 폭이 흔들리지 않도록 */
  font-variant-numeric: tabular-nums;
}

.about-stat-unit {
  font-size: var(--fs-lg);
  font-weight: 700;
}

.about-stat-unit-lg {
  font-size: var(--fs-xl);
}

.about-stat-num-text {
  font-variant-numeric: normal;
}

.about-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

/* ── 카드 그리드 ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  gap: var(--space-4);
}

.about-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: var(--bg);
  box-shadow: var(--shadow-xs);
}

.about-card,
.about-cat-card {
  /* hover 전환은 리빌 transition 과 별개 프로퍼티라 충돌하지 않는다. */
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.about-card:hover,
.about-cat-card:hover {
  border-color: var(--swc-blue-300);
  box-shadow: var(--shadow-sm);
}

.about-card-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.about-card h3,
.about-cat-body h3 {
  margin: 0 0 10px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-card p,
.about-cat-body p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── 취급 분야 ─────────────────────────────────────────────── */
.about-cat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
}

/* 카드가 이미 테두리·라운드를 가지므로 프레임은 테두리 없이 비율만 잡는다. */
.about-cat-frame {
  aspect-ratio: 3 / 2;
  border: 0;
  border-radius: 0;
}

.about-cat-frame .about-photo {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-cat-card:hover .about-cat-frame .about-photo {
  transform: scale(1.03);
}

.about-cat-body {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--border);
}

.about-cat-body h3 {
  margin-bottom: var(--space-2);
}

.about-etc {
  margin-top: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.about-etc-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 6px;
}

.about-etc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.about-etc-list li {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 11px;
}

.about-textlink {
  margin-left: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--swc-blue-500);
  white-space: nowrap;
}

.about-textlink span {
  display: inline-block;
  transition: transform 0.16s ease;
}

.about-textlink:hover span {
  transform: translateX(3px);
}

/* ── 일하는 방식 ───────────────────────────────────────────── */
.about-principles {
  margin-top: var(--space-8);
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

/* 1px gap 으로 셀 사이 구분선을 만든다 (테두리 중복 없이). */
.about-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-principle {
  background: var(--bg);
  padding: 26px 24px;
}

.about-principle h3 {
  margin: 0 0 10px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-principle p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ── 판매 채널 ─────────────────────────────────────────────── */
.about-channels {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.about-channels h2 {
  margin: 0 0 4px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-channels p {
  margin: 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

.about-channel-list {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* 칩 모양은 li 가 아니라 안쪽 요소가 그린다 — 링크 hit area 를 칩 전체로 맞추기 위함. */
.about-channel-list li {
  display: flex;
}

.about-channel-link,
.about-channel-plain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 7px 12px;
}

.about-channel-link {
  transition:
    background-color 0.14s ease,
    border-color 0.14s ease,
    color 0.14s ease;
}

.about-channel-link:hover {
  color: var(--swc-blue-700);
  background: var(--swc-blue-50);
  border-color: var(--swc-blue-200);
  text-decoration: none;
}

.about-channel-ext {
  font-size: 10px;
  line-height: 1;
  color: var(--text-quaternary);
}

.about-channel-link:hover .about-channel-ext {
  color: var(--swc-blue-400);
}

/* ── 연혁 ──────────────────────────────────────────────────── */
.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 세로 라인이 위 → 아래로 그려진다. 이 페이지에서 유일하게 공들인 모션. */
.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--swc-blue-100);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-timeline.is-in::before {
  transform: scaleY(1);
}

.about-timeline-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-5);
  padding: 0 0 20px 28px;
}

.about-timeline-row:last-child {
  padding-bottom: 0;
}

.about-timeline-year {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--swc-blue-500);
}

.about-timeline-event {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── 회사 정보 · 오시는 길 ─────────────────────────────────── */
.about-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.about-table {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-table-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-bottom: 1px solid var(--border);
}

.about-table-row:last-child {
  border-bottom: 0;
}

.about-table dt {
  background: var(--bg-page);
  padding: 13px var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  border-right: 1px solid var(--border);
}

.about-table dd {
  margin: 0;
  padding: 13px var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text);
  word-break: keep-all;
}

.about-map {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* 캡처 원본 비율 그대로. 고정 높이를 주면 위아래가 잘려
   방향을 잡아주는 주변 지형이 사라진다. */
.about-map-frame {
  aspect-ratio: 1400 / 1085;
  border: 0;
  border-radius: 0;
}

.about-map-meta {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.about-map-key {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-bottom: 5px;
}

.about-map-val {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.6;
}

/* ── 마무리 CTA ────────────────────────────────────────────── */
.about-cta {
  margin-top: 72px;
  background: var(--swc-panel-dark);
}

.about-cta-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.about-cta h2 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-xxl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.3;
}

.about-cta p {
  margin: 0;
  font-size: var(--fs-md);
  color: var(--swc-ink-300);
}

.about-cta-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* .btn 대신 자체 클래스 — vendor 의 .btn{width:100%} 를 피한다. */
.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 48px;
  padding: 0 var(--space-5);
  border-radius: var(--radius);
  font-size: var(--fs-md);
  font-weight: 700;
  border: 1px solid transparent;
  /* 다크 밴드 안에서 버튼이 흔들려 보이므로 transform 은 쓰지 않는다. */
  transition:
    background-color 0.14s ease,
    border-color 0.14s ease;
}

.about-btn:hover {
  text-decoration: none;
}

.about-btn-light {
  background: #fff;
  color: var(--swc-ink-900);
}

.about-btn-light:hover {
  background: var(--bg-soft);
  color: var(--swc-ink-900);
}

.about-btn-quote {
  background: var(--quote-accent);
  color: #fff;
}

.about-btn-quote:hover {
  background: #0b6362;
  color: #fff;
}

.about-btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--swc-ink-500);
}

.about-btn-outline:hover {
  background: var(--swc-panel-darker);
  color: #fff;
}

/* ── 반응형 ────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .about-positioning {
    gap: var(--space-6);
  }
}

@media (max-width: 1024px) {
  .about-positioning,
  .about-info {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .about-grid-4,
  .about-principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 2열이 되면 1·2번 칸 아래에도 구분선이 필요하다. */
  .about-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .about-stat:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding-top: 48px;
  }

  .about-positioning {
    padding-top: 40px;
  }

  .about-principles {
    margin-top: 48px;
    padding: 40px 0;
  }

  .about-lede,
  .about-cta h2 {
    font-size: 26px;
  }

  .about-grid-3,
  .about-grid-4,
  .about-principle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-timeline-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--space-4);
    padding-left: 20px;
  }

  .about-timeline-year {
    font-size: var(--fs-md);
  }

  .about-channels {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-channel-list {
    margin-left: 0;
  }

  .about-cta {
    margin-top: 48px;
  }

  .about-cta-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-cta-actions {
    margin-left: 0;
    width: 100%;
  }

  .about-btn {
    flex: 1 1 auto;
  }

  /* 모바일은 스크롤이 빠르므로 리빌 폭·간격을 줄인다. */
  .about-reveal {
    transform: translateY(8px);
    transition-delay: calc(var(--i, 0) * 40ms);
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 20px 22px;
  }

  .about-stat:last-child {
    border-bottom: 0;
  }

  .about-table-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .about-map-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-etc {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-textlink {
    margin-left: 0;
  }
}

/* ── 모션 비선호 ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .about-reveal,
  .about-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-timeline::before,
  .about-timeline.is-in::before {
    transform: scaleY(1);
    transition: none;
  }

  .about-cat-card:hover .about-cat-frame .about-photo,
  .about-textlink:hover span {
    transform: none;
  }

  .about-cat-frame .about-photo,
  .about-textlink span,
  .about-card,
  .about-cat-card,
  .about-btn {
    transition: none;
  }
}

/* ──────────────────────────────────────────────────────────────────
   _review-modal-v2.css — 마이페이지 상품 후기 작성 모달 (MYMHE 톤)
   - vendor FullModal (TitleModal) + ReviewForm 마크업 위에 우리 톤을
     얹어서 데스크탑 친화 + B2B 카탈로그 톤으로 정렬.
   - selector 는 모달 wrap `.swc-review-modal` 로 scope 됨.
   ────────────────────────────────────────────────────────────────── */

/* ── 모달 컨테이너 — vendor 는 모바일 풀스크린, 우리는 카드형 480px ── */
.swc-review-modal .title-modal--full {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--divider);
  /* vendor 가 100vh 로 stretch 하는 경우 자르기 */
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.swc-review-modal .title-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.swc-review-modal .title-modal__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--swc-ink-900);
  margin: 0;
}
.swc-review-modal .title-modal__close-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color 120ms ease;
}
.swc-review-modal .title-modal__close-btn:hover {
  background: var(--bg-soft);
}
.swc-review-modal .title-modal__content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

/* ── 상품 정보 (BoardProductItem) ────────────────────────────────── */
.swc-review-modal .board-product-item {
  display: flex;
  gap: 12px;
  padding: 18px 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--divider);
  align-items: center;
}
.swc-review-modal .board-product-item__image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.swc-review-modal .board-product-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.swc-review-modal .board-product-item__description,
.swc-review-modal .board-product-item__product {
  flex: 1;
  min-width: 0;
}
.swc-review-modal .board-product-item__product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--swc-ink-900);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.swc-review-modal .board-product-item__option-value {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* ── review-form 본문 컨테이너 ──────────────────────────────────── */
.swc-review-modal .board-form,
.swc-review-modal .review-form {
  padding: 0;
}
.swc-review-modal .l-panel,
.swc-review-modal .review-form__content {
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 20px 24px;
}

/* ── 별점 (RatingStar) ───────────────────────────────────────────── */
.swc-review-modal .review-form__evaluation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 20px;
}
.swc-review-modal .review-form__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--swc-ink-900);
  margin: 0;
  letter-spacing: -0.02em;
}
.swc-review-modal .rating-star {
  font-size: 28px;
  /* vendor RatingStar 가 자체 색 처리 — 별 자체는 그대로 둠 */
}

/* ── 텍스트 영역 ─────────────────────────────────────────────────── */
.swc-review-modal .review-form__text-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.swc-review-modal .review-form__text-area textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  resize: vertical;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  box-sizing: border-box;
}
.swc-review-modal .review-form__text-area textarea:focus {
  outline: none;
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.swc-review-modal .review-form__limit-text {
  font-size: 11.5px;
  color: var(--text-tertiary);
  text-align: right;
}

/* ── 이미지 업로드 영역 ──────────────────────────────────────────── */
.swc-review-modal .review-form__image,
.swc-review-modal .review-form__file-upload {
  margin-bottom: 18px;
}
.swc-review-modal .review-form__image-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swc-review-modal .review-form__upload-btn,
.swc-review-modal .board-form__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.swc-review-modal .review-form__upload-btn:hover,
.swc-review-modal .board-form__upload-btn:hover {
  border-color: var(--swc-blue-300);
  color: var(--swc-blue-500);
}

/* ── 적립금 안내 (ReviewAccumulation) ─────────────────────────────── */
.swc-review-modal .review-form__accumulation {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--swc-blue-200, #c7e0fa);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--swc-blue-700);
}

/* ── 버튼 그룹 ──────────────────────────────────────────────────── */
.swc-review-modal .board-form__button-group {
  display: flex;
  gap: 8px;
  padding: 16px 24px 22px;
  background: #fff;
  border-top: 1px solid var(--divider);
  margin-top: 0;
}
.swc-review-modal .board-form__btn,
.swc-review-modal .review-form__btn {
  flex: 1;
  height: 44px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
  /* vendor 가 width 100% 등을 inline-style 로 줄 수도 있어 !important 안 씀.
     컴포넌트 외형은 className override 로 통제 */
}
/* 취소 버튼 (theme="dark" 매핑) */
.swc-review-modal .review-form__btn--cancel,
.swc-review-modal .board-form__cancel-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.swc-review-modal .review-form__btn--cancel:hover {
  border-color: var(--swc-ink-900);
  color: var(--swc-ink-900);
}
/* 등록 / 수정 버튼 (theme="caution" 매핑) — 우리 톤 primary 로 */
.swc-review-modal .review-form__btn--register,
.swc-review-modal .review-form__btn--modify {
  background: var(--swc-blue-500);
  border: 1px solid transparent;
  color: #fff;
}
.swc-review-modal .review-form__btn--register:hover,
.swc-review-modal .review-form__btn--modify:hover {
  background: var(--swc-blue-700);
}

/* ── 안내 텍스트 (BoardNoticeList) ────────────────────────────────── */
.swc-review-modal .board-notice-list,
.swc-review-modal .board-form__notice-wrap {
  padding: 14px 24px 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--divider);
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ── dim overlay (모바일 vendor 기본 그대로지만 z-index 만 보강) ── */
.swc-review-modal {
  z-index: 100;
}

/* ── 모바일 반응형 — 화면 작을 때 풀 폭으로 ─────────────────────── */
@media (max-width: 600px) {
  .swc-review-modal .title-modal--full {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .swc-review-modal .title-modal__header,
  .swc-review-modal .board-product-item,
  .swc-review-modal .review-form__content,
  .swc-review-modal .board-form__button-group,
  .swc-review-modal .board-notice-list {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   _shipping-modal-v2.css — 배송지 등록/수정 모달 (MYMHE 톤)
   - vendor (aurora.css) 가 .title-modal--full 에 min-width:500px,
     .title-modal__header 에 center align + close absolute right:20,
     .title-modal__content 에 padding:20 + height:calc(90vh-60px) 등을
     강하게 박아두어 cascade 에서 밀려 모달이 깨졌음. specificity 를
     `.swc-shipping-modal .selector` 두 단계로 끌어올려 override.
   ────────────────────────────────────────────────────────────────── */

/* ── 모달 컨테이너 ── */
.swc-shipping-modal .title-modal,
.swc-shipping-modal .title-modal--full {
  position: relative;
  width: auto;
  height: auto;
  max-width: 560px;
  min-width: 0;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--divider);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── 헤더 ── */
.swc-shipping-modal .title-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.swc-shipping-modal .title-modal__title {
  display: block;
  flex: 1;
  text-align: left;
  height: auto;
  padding: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--swc-ink-900);
  margin: 0;
}
.swc-shipping-modal .title-modal__close-btn {
  position: static;
  right: auto;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color 120ms ease;
  flex-shrink: 0;
}
.swc-shipping-modal .title-modal__close-btn:hover {
  background: var(--bg-soft);
}

/* ── 콘텐트 영역 ── */
.swc-shipping-modal .title-modal__content {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
}

/* ── form 본문 ── */
.swc-shipping-modal .shipping-address-form {
  padding: 18px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* item — vendor margin 무력화 + 자체 gap 으로 spacing */
.swc-shipping-modal .shipping-address-form__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.swc-shipping-modal .shipping-address-form__item--label {
  display: block;
  margin: 0;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--swc-ink-900);
  letter-spacing: -0.01em;
}

/* ── TextField (input 컨테이너) ── */
.swc-shipping-modal .text-field {
  margin: 0;
  height: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  display: flex;
  align-items: center;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.swc-shipping-modal .text-field:focus-within {
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.swc-shipping-modal .text-field input,
.swc-shipping-modal .text-field__input,
.swc-shipping-modal input[type="text"],
.swc-shipping-modal input[type="tel"],
.swc-shipping-modal input[type="number"] {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  box-sizing: border-box;
}

/* ── SelectBox ── */
.swc-shipping-modal .select-box {
  margin: 0;
  height: 40px;
  min-width: 90px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text);
}

/* ── 주소 검색 (AddressForm) ── */
.swc-shipping-modal .address-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.swc-shipping-modal .address-form__zip-code {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.swc-shipping-modal .address-form__zip-code .text-field {
  flex: 1;
}
.swc-shipping-modal .address-form button {
  height: 40px;
  padding: 0 14px;
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 120ms ease, color 120ms ease;
}
.swc-shipping-modal .address-form button:hover {
  border-color: var(--swc-blue-300);
  color: var(--swc-blue-500);
}

/* ── 전화번호 (SelectBox + bar + 2 TextField) ── */
.swc-shipping-modal .phone-number-input,
.swc-shipping-modal .global-phone-number-input {
  display: flex;
  gap: 6px;
  align-items: center;
}
.swc-shipping-modal .phone-number-input > .text-field,
.swc-shipping-modal .global-phone-number-input > .text-field {
  flex: 1;
  min-width: 0;
}
.swc-shipping-modal .phone-number-input > .select-box,
.swc-shipping-modal .global-phone-number-input > .select-box {
  flex: 0 0 90px;
}
.swc-shipping-modal .phone-number-input__bar {
  width: 6px;
  height: 1px;
  background: var(--divider);
  flex-shrink: 0;
}

/* ── Checkbox (기본 배송지 저장) ── */
.swc-shipping-modal .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.swc-shipping-modal .checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--swc-blue-500);
  margin: 0;
}
.swc-shipping-modal .checkbox-text {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── 버튼 그룹 (모달 하단) ── */
.swc-shipping-modal .shipping-address-form__buttons {
  display: flex;
  justify-content: stretch;
  align-items: center;
  gap: 8px;
  padding: 16px 24px 22px;
  background: #fff;
  border-top: 1px solid var(--divider);
  margin: 18px 0 0;
  flex-shrink: 0;
}
.swc-shipping-modal .shipping-address-form__buttons .btn {
  flex: 1;
  height: 44px;
  font-size: 14px;
  font-weight: 700;
}

/* ── 모바일 반응형 ── */
@media (max-width: 600px) {
  .swc-shipping-modal .title-modal,
  .swc-shipping-modal .title-modal--full {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .swc-shipping-modal .title-modal__header,
  .swc-shipping-modal .shipping-address-form,
  .swc-shipping-modal .shipping-address-form__buttons {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   주소찾기 모달 (.swc-search-address-modal) — 배송지 모달 안에서
   nested 로 뜸. 같은 컨테이너 톤 (560px 카드형) + 검색 결과 list.
   ────────────────────────────────────────────────────────────────── */

.swc-search-address-modal .title-modal,
.swc-search-address-modal .title-modal--full {
  position: relative;
  width: 92vw;
  height: auto;
  max-width: 640px;
  min-width: 0;
  min-height: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--divider);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.swc-search-address-modal .title-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.swc-search-address-modal .title-modal__title {
  display: block;
  flex: 1;
  text-align: left;
  height: auto;
  padding: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--swc-ink-900);
  margin: 0;
}
.swc-search-address-modal .title-modal__close-btn {
  position: static;
  right: auto;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.swc-search-address-modal .title-modal__close-btn:hover {
  background: var(--bg-soft);
}

.swc-search-address-modal .title-modal__content {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ── search-zip-code-form ── */
.swc-search-address-modal .search-zip-code-form {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.swc-search-address-modal .search-zip-code-form__search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 18px 20px;
  height: auto;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.swc-search-address-modal .search-zip-code-form__search-tip {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 0;
}
.swc-search-address-modal .search-zip-code-form__tip-tit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin: 14px 20px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
  color: var(--swc-ink-900);
  letter-spacing: -0.02em;
}
.swc-search-address-modal .search-zip-code-form__tip-list {
  padding: 0 20px 14px 40px;
  margin: 0;
  list-style-type: disc;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.swc-search-address-modal .search-zip-code-form__tip-empty {
  padding: 28px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}
.swc-search-address-modal .search-zip-code-form__items {
  padding: 8px 0;
  height: auto;
  flex: 1;
  overflow-y: auto;
}

/* ── SearchField (input + clear + submit) ──
   마크업:
     <span class="search-field">
       <span class="search-field__input">
         <TextField /> + <IconBtn class="search-field__clear-btn" />
       </span>
       <IconBtn class="search-field__submit-btn" />
     </span>
*/
.swc-search-address-modal .search-field {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.swc-search-address-modal .search-field__input {
  flex: 1;
  display: flex;
  align-items: center;
  height: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 4px 0 0;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  min-width: 0;
}
.swc-search-address-modal .search-field__input:focus-within {
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.swc-search-address-modal .search-field__input .text-field {
  margin: 0;
  height: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  flex: 1;
  min-width: 0;
}
.swc-search-address-modal .search-field__input .text-field input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 8px 0 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
}
.swc-search-address-modal .search-field__clear-btn {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}
.swc-search-address-modal .search-field__clear-btn img {
  width: 16px;
  height: 16px;
}
.swc-search-address-modal .search-field__submit-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  /* vendor png 아이콘 가리고 우리 SVG (Lucide search) 를 background 로 그림 */
  background:
    var(--swc-blue-500)
    url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27><circle cx=%2711%27 cy=%2711%27 r=%277%27/><path d=%27m20 20-3.5-3.5%27/></svg>")
    no-repeat center / 18px 18px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 120ms ease;
}
.swc-search-address-modal .search-field__submit-btn:hover {
  background-color: var(--swc-blue-700);
}
/* vendor sprite 아이콘 (Icon = <span class="ico ico--magnet">) 숨김 */
.swc-search-address-modal .search-field__submit-btn .ico,
.swc-search-address-modal .search-field__submit-btn img {
  display: none;
}

/* 검색 결과 list item (vendor 가 자체 마크업 — div/li 어느 쪽이든
   클릭 가능한 카드로 보이게) */
.swc-search-address-modal .search-zip-code-form__items > * {
  padding: 12px 20px;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  transition: background-color 120ms ease;
  font-size: 13px;
}
.swc-search-address-modal .search-zip-code-form__items > *:hover {
  background: var(--bg-soft);
}

/* ── 모바일 반응형 ── */
@media (max-width: 600px) {
  .swc-search-address-modal .title-modal,
  .swc-search-address-modal .title-modal--full {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .swc-search-address-modal .title-modal__header,
  .swc-search-address-modal .search-zip-code-form__search {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   _restock-modal-v2.css — 재입고 알림 신청 모달 (MYMHE 톤, 2026-08-02)

   배경: vendor aurora.css 가 `.title-modal--full` 에
     max-width/min-width:500px, height:100%,
     `.title-modal__content { height: calc(100dvh - 60px) }`
   를 강하게 박아 둬서, 그대로 두면 모달이 **화면 왼쪽에 전체 높이로 늘어붙은
   흰 판**처럼 보인다(스크린샷 지문). 배송지 모달에서 같은 문제를 겪고
   `.swc-shipping-modal` 스코프로 해결한 것과 동일한 방식으로 눌러 준다.
   ────────────────────────────────────────────────────────────────── */

/* ── 모달 컨테이너 ── */
.restock-notification__modal.title-modal,
.restock-notification__modal .title-modal,
.restock-notification__modal.title-modal--full,
.restock-notification__modal .title-modal--full {
  position: relative;
  width: auto;
  height: auto;
  max-width: 460px;
  min-width: 0;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--divider);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── 헤더 ── */
.restock-notification__modal .title-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.restock-notification__modal .title-modal__title {
  display: block;
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}
.restock-notification__modal .title-modal__close-btn {
  position: static;
  right: auto;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background-color 120ms ease;
}
.restock-notification__modal .title-modal__close-btn:hover { background: var(--bg-soft); }

/* ── 콘텐트 — vendor 의 100dvh 고정 높이 해제 ── */
.restock-notification__modal .title-modal__content {
  flex: 1;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

/* ── 본문 ── */
.restock-notification__modal .restock-notification { padding: 18px 20px 20px; }

.restock-notification__modal .restock-notification-form__sold-out-option__description,
.restock-notification__modal .restock-notification-form__sold-out-option__product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.restock-notification__modal .restock-notification-form__sold-out-option__wrap {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}
.restock-notification__modal .restock-notification-form__sold-out-option__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 신청자 정보 — 라벨/입력 2열 */
.restock-notification__modal .restock-notification-form__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.restock-notification__modal .restock-notification-form__label {
  flex: 0 0 82px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.restock-notification__modal .restock-notification-form__input-wrap {
  flex: 1;
  min-width: 0;
}
.restock-notification__modal .input-field,
.restock-notification__modal .text-field {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.restock-notification__modal .input-field:focus-within,
.restock-notification__modal .text-field:focus-within {
  border-color: var(--swc-blue-500);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.restock-notification__modal input[type="text"],
.restock-notification__modal input[type="tel"],
.restock-notification__modal input[type="number"] {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
}

/* 개인정보 동의 + 약관 박스 */
.restock-notification__modal .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  cursor: pointer;
}
/* vendor common.css 의 `*:where(...){all:unset}` 이 네이티브 체크박스를 지운다
   — 직접 그리지 않으면 아무것도 안 보인다. [[reference_vendor_btn_collision]] */
.restock-notification__modal input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: #fff;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.restock-notification__modal input[type="checkbox"]:checked {
  background: var(--swc-blue-500);
  border-color: var(--swc-blue-500);
}
.restock-notification__modal input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ── 하단 버튼 ── */
.restock-notification__modal .restock-notification__btn-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}
.restock-notification__modal .restock-notification__btn-wrap .btn {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.restock-notification__modal .restock-notification__cancel-btn {
  background: var(--bg-soft);
  color: var(--text);
}
.restock-notification__modal .restock-notification__cancel-btn:hover { background: var(--bg-hover); }
.restock-notification__modal .restock-notification__submit-btn {
  background: var(--swc-blue-500);
  color: #fff;
}
.restock-notification__modal .restock-notification__submit-btn:hover { background: #1D4ED8; }

@media (max-width: 768px) {
  .restock-notification__modal.title-modal,
  .restock-notification__modal .title-modal,
  .restock-notification__modal.title-modal--full,
  .restock-notification__modal .title-modal--full {
    max-width: calc(100vw - 32px);
  }
  .restock-notification__modal .restock-notification-form__item {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .restock-notification__modal .restock-notification-form__label { flex: none; }
}

/* MYMHE v2 — responsive.css
   데스크탑 우선. 모바일은 ~1024 / ~768 기본 대응.
   sticky bar 등 모바일 전용 패턴은 Pass 2.
*/

/* ────────────────────────────────────────────────────
   1280px 이하 — 노트북 (4열 → 3열, fluid container)
   ──────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .prod-grid-v2 { grid-template-columns: repeat(3, 1fr); }
  .cat-tiles-v2 { grid-template-columns: repeat(6, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-strip { grid-template-columns: repeat(4, 1fr); }
  .pdp-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
  }
  .pdp-gallery-main { max-width: 520px; }
  .cat-index-grid { grid-template-columns: repeat(4, 1fr); }

  /* Compare tray가 있을 땐 우측 컬럼 좁힘 */
  .cat-grid.with-compare {
    grid-template-columns: 240px minmax(0, 1fr) 280px;
  }
  :root { --sidebar-w: 240px; --compare-tray-w: 280px; }
}

/* ────────────────────────────────────────────────────
   1024px 이하 — 태블릿
   ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-v2 {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .hero-v2 h1 { font-size: 36px; }
  .hero-actions-cards { grid-template-columns: repeat(2, 1fr); }

  .cat-tiles-v2 { grid-template-columns: repeat(3, 1fr); }

  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell { padding: 14px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .kpi-cell:nth-child(2n) { border-right: none; }

  .partners-strip { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }

  .prod-grid-v2 { grid-template-columns: repeat(3, 1fr); }
  .cat-index-grid { grid-template-columns: repeat(3, 1fr); }

  /* Category list — 사이드바를 위로 접거나 드로어로 */
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid.with-compare {
    grid-template-columns: 1fr;
  }
  .cat-side {
    position: relative;
    top: auto;
    max-height: none;
  }
  .compare-tray {
    position: relative;
    top: auto;
  }

  /* PDP head — 갤러리/buybox 세로 배치 */
  .pdp-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pdp-gallery-main { max-width: none; }

  /* PDP 탭 영역 — 단일 컬럼 스택, sticky 해제 */
  .pdp-tab-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pdp-buy-rail {
    position: static;
    top: auto;
    margin-top: 0;
  }

  /* Cart — summary가 본체 아래로 */
  .cart-grid {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: relative;
    top: auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* Header */
  .menu-btn, .mobile-only { display: grid; }
  .brand-sub { display: none; }
  .auth-switcher { display: none; }
}

/* ────────────────────────────────────────────────────
   768px 이하 — 모바일
   ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --container-px: 16px; --header-h: 56px; --subnav-h: 44px; }

  /* iOS Safari — 16px 미만 input 포커스 시 자동 zoom 트리거 회피.
     숫자/이메일/전화 등 모든 textual input + select + textarea 적용. */
  input[type="text"], input[type="number"], input[type="search"],
  input[type="email"], input[type="tel"], input[type="url"],
  input[type="password"], input[type="date"], input[type="datetime-local"],
  input:not([type]), select, textarea {
    font-size: 16px;
  }

  .hero-v2 h1 { font-size: 28px; }
  .hero-actions-cards { grid-template-columns: 1fr; }

  .cat-tiles-v2 { grid-template-columns: repeat(2, 1fr); }
  .kpi-strip { padding: 12px; }
  .kpi-num { font-size: 24px; }

  .partners-strip { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: 1fr; }

  .prod-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-index-grid { grid-template-columns: repeat(2, 1fr); }

  .prod-card-body { padding: 10px; }
  .prod-card-name { font-size: 12.5px; min-height: 34px; }
  .prod-card-price, .prod-card-grade { font-size: 15px; }

  /* PDP */
  .pdp-title { font-size: 20px; }
  .price-grade-num, .price-main { font-size: 26px; }
  .pdp-cta { grid-template-columns: 1fr; }
  .pdp-gallery-thumbs { overflow-x: auto; }
  .pdp-spec-table th { width: 120px; font-size: 12px; }

  /* Cart */
  .cart-line { flex-wrap: wrap; }
  .cart-line-img { width: 60px; flex-shrink: 0; }
  .cart-line-img .pimg-sm { width: 60px; height: 60px; }
  .cart-line-pricing { gap: 8px; width: 100%; }
  .cart-line-total { margin-left: auto; }

  /* Header — 검색바 줄이기 */
  .search-bar { max-width: none; }
  .header-actions .btn-text { display: none; }
  .icon-btn { width: 36px; height: 36px; }

  /* Subnav megamenu disable */
  .mega-panel { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Banner */
  .banner { padding: 20px; min-height: 140px; }
  .banner h3 { font-size: 20px; }
  .bn-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .bn-bottom-actions { width: 100%; }
  .bn-bottom-actions .btn { flex: 1; }

  /* Section head */
  .section-head { margin: 28px 0 12px; }
  .section-head h2 { font-size: 18px; }
}

/* ────────────────────────────────────────────────────
   480px 이하 — 작은 모바일
   ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-v2 h1 { font-size: 24px; }
  .cat-tiles-v2 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-tile-icon { font-size: 22px; }

  .prod-grid-v2 { gap: 8px; }
  .pagination button { width: 28px; height: 28px; font-size: 11.5px; }
}

/* ────────────────────────────────────────────────────
   PASS 2 페이지 반응형 — checkout/quote/mypage/brand/search
   ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* checkout */
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: relative; top: auto; }

  /* quote */
  .qt-grid { grid-template-columns: 1fr; }
  .qt-side { position: relative; top: auto; flex-direction: row; flex-wrap: wrap; }
  .qt-side-card { flex: 1; min-width: 240px; }

  /* mypage */
  .my-page-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .mypage-kpis { grid-template-columns: repeat(2, 1fr); }
  .mypage-quote-list { grid-template-columns: repeat(2, 1fr); }
  .mypage-last-ordered-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* search */
  .search-grid { grid-template-columns: 220px minmax(0, 1fr); }

  /* brand */
  .brand-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .brand-quotes-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* checkout */
  .co-form-grid { grid-template-columns: 1fr; }
  .co-pay-grid { grid-template-columns: 1fr 1fr; }
  .co-line { flex-wrap: wrap; }
  .co-stepper { padding: 12px; gap: 8px; font-size: 12px; }
  .co-complete-card { padding: 36px 20px; }

  /* quote */
  .qt-form-grid { grid-template-columns: 1fr; }
  .qt-lines-head, .qt-line-row {
    grid-template-columns: 50px minmax(0, 1.4fr) 80px 110px 28px;
  }
  .qt-lh-list, .qt-lh-est, .qt-line-list, .qt-line-est,
  .qt-lh-price, .qt-line-price-input { display: none; }
  .qt-line-row .pimg { width: 50px; height: 50px; }
  .qt-actions { flex-direction: column-reverse; }
  .qt-actions .btn { width: 100%; }

  /* mypage */
  .my-page-grid { grid-template-columns: 1fr; }
  .mypage-side { position: relative; top: auto; }
  .mypage-kpis { grid-template-columns: 1fr 1fr; }
  .mypage-orders-head { display: none; }
  .mypage-orders-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }
  .mypage-order-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .mypage-quote-list { grid-template-columns: 1fr; }
  .mypage-quote-row-head { grid-template-columns: 1fr 1fr; }
  .mypage-biz-grid { grid-template-columns: 1fr; }
  .mypage-addr-list { grid-template-columns: 1fr; }
  .mypage-chart { height: 140px; padding: 14px 10px 28px; }

  /* search */
  .search-grid { grid-template-columns: 1fr; }
  .search-side { display: none; }
  .search-head h1 { font-size: 20px; }
  .search-empty-card { padding: 36px 18px; }

  /* brand */
  .brand-hero { padding: 32px 0 40px; }
  .brand-hero-logo { font-size: 28px; }
  .brand-hero-title { font-size: 20px; }
  .brand-hero-art-grid { grid-template-columns: 1fr 1fr; max-width: 280px; }
  .brand-quotes-grid { grid-template-columns: 1fr; }
  .brand-cta-bottom { flex-direction: column; align-items: stretch; }
  .brand-cta-bottom .row-flex { width: 100%; }
  .brand-cta-bottom .btn { flex: 1; }
  .brand-series-grid { grid-template-columns: 1fr 1fr; }

  /* auth */
  .auth-card { padding: 28px 22px; }
  .signup-actions { flex-direction: column-reverse; }
  .signup-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .co-pay-grid { grid-template-columns: 1fr; }
  .mypage-kpis { grid-template-columns: 1fr; }
  .qt-lines-head { display: none; }
  .qt-line-row { grid-template-columns: 50px minmax(0, 1fr) 28px; }
  .qt-line-row .qt-line-qty { grid-column: 1 / -1; justify-content: flex-end; display: flex; }
  .brand-series-grid { grid-template-columns: 1fr; }
}

@charset 'utf-8';

/* ──────────────────────────────────────────────────────────────────
   MYMHE v3 — 자사몰 디자인 토큰 + 글로벌
   Source of truth : prototype-v2/tokens.css (1:1 매칭 목표)
   + NHN 샘플스킨 호환 변수 (--point-color 등) — NHN Provider 컴포넌트가
     자체 변수로 색을 칠하기 때문에 이름 유지하고 값만 성우 톤으로 치환
   ────────────────────────────────────────────────────────────────── */

/* ── NanumSquare — 디스플레이·헤딩용 (자사 폰트, src/assets/fonts/) */
@font-face {
  font-family: 'NanumSquare';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-5232/sungwoo/ace03365daa3d33bdec6.ttf) format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-5232/sungwoo/924c33f60f994924964c.ttf) format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-5232/sungwoo/ebe0aa17b7967cd61f16.ttf) format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url(https://storefront.cdn-nhncommerce.com/origin/team-5232/sungwoo/e54714432fdd6e1724a7.ttf) format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  /* ── 성우 브랜드 컬러 ─────────────────────────────────────────── */
  --swc-blue:           #1E5796;
  --swc-blue-light:     #3373B5;
  --swc-blue-cmyk:      #20528D;
  --swc-blue-light-cmyk:#1C7FBE;

  /* ── Blue scale ─────────────────────────────────────────────── */
  --swc-blue-900: #0F2B4B;
  --swc-blue-800: #173F6E;
  --swc-blue-700: #174373;
  --swc-blue-600: #1A4D85;
  --swc-blue-500: #1E5796;
  --swc-blue-400: #3373B5;
  --swc-blue-300: #5E94CB;
  --swc-blue-200: #A8C5E2;
  --swc-blue-100: #DDE8F4;
  --swc-blue-50:  #EEF3FA;

  /* ── Ink scale (Grainger 톤) ───────────────────────────────── */
  --swc-ink-900: #1F2937;
  --swc-ink-800: #2B2F36;
  --swc-ink-700: #374151;
  --swc-ink-600: #4B5563;
  --swc-ink-500: #6B7280;
  --swc-ink-400: #9CA3AF;
  --swc-ink-300: #D1D5DB;
  --swc-ink-200: #E5E7EB;
  --swc-ink-100: #F3F4F6;
  --swc-ink-50:  #F8F9FA;

  /* ── 다크 패널 (Grainger 차용) ─────────────────────────────── */
  --swc-panel-dark:     #2F3743;
  --swc-panel-darker:   #1E232C;
  --swc-panel-light:    #44505F;

  /* ── 배경 ──────────────────────────────────────────────────── */
  --bg:                 #FFFFFF;
  --bg-page:            #F8F9FA;
  --bg-soft:            #F3F4F6;
  --bg-hover:           #EEF1F4;
  --bg-row-alt:         #FAFBFC;

  /* ── Border / Divider ─────────────────────────────────────── */
  --border:             #E5E7EB;
  --border-strong:      #D1D5DB;
  --divider:            #F0F1F3;

  /* ── 시맨틱 텍스트 ────────────────────────────────────────── */
  --text:               var(--swc-ink-900);
  --text-secondary:     var(--swc-ink-700);
  --text-tertiary:      var(--swc-ink-500);
  --text-quaternary:    var(--swc-ink-400);

  /* 옛 시안 호환 alias */
  --blue:               var(--swc-blue-500);
  --blue-600:           var(--swc-blue-600);
  --blue-500:           var(--swc-blue-400);
  --blue-100:           var(--swc-blue-100);
  --blue-50:            var(--swc-blue-50);

  --accent:             var(--swc-blue-500);
  --accent-hover:       var(--swc-blue-700);
  --accent-soft:        rgba(30, 87, 150, 0.08);
  --accent-softer:      rgba(30, 87, 150, 0.04);

  /* ── 시맨틱 액센트 ─────────────────────────────────────────── */
  --success:            #16A34A;
  --success-soft:       #E8F7EE;
  --warn:               #F59E0B;
  --warn-soft:          #FFF7E6;
  --danger:             #EF4444;
  --danger-soft:        #FDECEC;
  --info:               #2563EB;
  --info-soft:          #E0EAFF;

  /* B2B 등급 chip */
  --grade-vvip:         #7C3AED;
  --grade-vvip-soft:    #F1ECFE;
  --grade-pro:          #1E5796;
  --grade-pro-soft:     #EEF3FA;

  /* 견적 강조 */
  --quote-accent:       #0E7C7B;
  --quote-soft:         #E0F2F1;

  /* ── 폰트 ──────────────────────────────────────────────────── */
  --font-body:    'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'NanumSquare', 'Pretendard Variable', 'Pretendard', system-ui, sans-serif;

  --fs-xs:  11px;
  --fs-sm:  13px;
  --fs-md:  14px;
  --fs-lg:  17px;
  --fs-xl:  22px;
  --fs-xxl: 32px;

  /* ── 라운드 ───────────────────────────────────────────────── */
  --radius-sm:    8px;
  --radius:       10px;
  --radius-md:    12px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --radius-pill:  9999px;

  /* ── 그림자 ──────────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(17,24,39,0.04);
  --shadow-sm: 0 2px 8px rgba(17,24,39,0.06);
  --shadow-md: 0 8px 24px rgba(17,24,39,0.10);
  --shadow-lg: 0 16px 40px rgba(17,24,39,0.12);

  /* ── 간격 (8pt) ──────────────────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* ── 헤더 / 레이아웃 ─────────────────────────────────────── */
  --container-max: 1320px;
  --container-px: 24px;
  --header-h: 64px;
  --subnav-h: 48px;
  --sidebar-w: 280px;
  --compare-tray-w: 320px;
  --summary-w: 320px;

  /* ── 모바일 sticky / safe-area (iPhone notch·home indicator) ─
     모든 fixed/sticky bottom 위젯은 padding-bottom 으로 --safe-pb 적용. */
  --bottom-nav-h: 56px;
  --safe-pb: max(8px, env(safe-area-inset-bottom));
  --sticky-bar-h: 64px;

  /* ── 전환 ──────────────────────────────────────────────── */
  --t-fast: 0.12s ease;
  --t:      0.18s ease;
  --t-slow: 0.32s ease;

  /* ── Z-index ──────────────────────────────────────────── */
  --z-header: 50;
  --z-dropdown: 60;
  --z-drawer: 100;
  --z-modal: 150;
  --z-toast: 200;

  /* ──────────────────────────────────────────────────────────
     NHN 샘플스킨 호환 변수 — 이름 유지, 값만 성우 톤
     (NHN 자체 컴포넌트가 var(--point-color) 등으로 색을 칠함)
     ────────────────────────────────────────────────────────── */
  --whole-color:           #FFFFFF;
  --background-color:      var(--bg-page);
  --point-color:           var(--swc-blue-500);
  --point-color-secondary: var(--swc-blue-400);
  --black-color:           var(--swc-ink-900);
  --dark-gray-color:       var(--swc-ink-800);

  --empty-color:           var(--bg-page);
  --default-color:         var(--border);
  --blue-gray-color:       var(--swc-ink-700);
  --gray-color:            var(--swc-ink-500);
  --gray-font-color:       var(--swc-ink-500);
  --tooltip-bg-color:      var(--swc-ink-50);

  --default-font-color:    var(--text);

  /* ──────────────────────────────────────────────────────────
     mymhe-skin 자산 호환 alias (Step 5-1A~1D 이식분)
     v3 토큰을 SSOT 로 두고 옛 이름은 alias 로만 유지
     ────────────────────────────────────────────────────────── */
  --font-sans:        var(--font-body);
  --fw-light:         300;
  --fw-regular:       400;
  --fw-bold:          700;
  --fw-extrabold:     800;
  --tracking-brand:   -0.06em;
  --tracking-tight:   -0.03em;
  --tracking-normal:  0;
  --swc-pure-white:   #FFFFFF;
  --swc-black:        var(--text);
  --swc-divider:      var(--divider);
  --swc-row-alt:      var(--bg-row-alt);
  --swc-text-muted:   var(--text-tertiary);
  --swc-blue:         var(--swc-blue-500);     /* 옛 단축 */
  --swc-blue-light:   var(--swc-blue-400);     /* 옛 단축 */
  --swc-sale:         var(--danger);
  --shadow-1:         var(--shadow-xs);
  --shadow-2:         var(--shadow-sm);
  --shadow-3:         var(--shadow-md);
  --radius-circle:    50%;
}

/* ──────────────────────────────────────────────────────────────────
   글로벌 — NHN reset 위에 자사 폰트·색만 덧입힘
   (margin/padding reset 같은 강한 reset은 피함 — NHN aurora 깨짐 방지)
   ────────────────────────────────────────────────────────────────── */

html, body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-page) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 헤딩 — NanumSquare ExtraBold + 타이트 자간 */
h1, h2, h3,
.swc-display,
.swc-h1, .swc-h2, .swc-h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

h1 { font-size: var(--fs-xxl); font-weight: 800; line-height: 1.1; }
h2 { font-size: 26px;          font-weight: 800; line-height: 1.15; }
h3 { font-size: 20px;          font-weight: 700; line-height: 1.2; }
h4 { font-size: var(--fs-lg);  font-weight: 700; line-height: 1.25; }

/* 자사 wordmark 유틸 */
.swc-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.07;
  color: var(--swc-blue-500);
}

/* 접근성 — focus-visible 글로벌 */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--swc-blue-300);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--swc-blue-300);
  outline-offset: 2px;
}


