/* =========================================================================
   shsus — 디자인 시안(shsus-mockup/design-system.css) 적용분 (2026-12-02)
   범위: 상단 검색창·아이콘, 전체 카테고리 메뉴 줄(스크롤 고정), 하위 분류 버튼, 분류 제목(sh-list-hero),
         상품 목록 도구·카드·규격표. 시안의 전역 초기화(body, img, ul …)는 넣지 않고 sh- 요소 안으로 한정.
   ========================================================================= */
:root {
  /* Core Palette */
  --ink-950: #0c121a;
  --ink-900: #111923;
  --ink-800: #1c2735;
  --ink-700: #2c3a4b;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-400: #94a3b8;
  --steel-300: #cbd5e1;
  --steel-200: #e2e8f0;
  --steel-150: #eaeff5;
  --steel-100: #f1f5f9;
  --steel-50: #f8fafc;

  /* Brand Accent */
  --brand: #ee7b1e;
  --brand-hover: #d8650c;
  --brand-deep: #b85006;
  --brand-soft: #fff5ec;
  --brand-border: #fed7aa;

  /* Semantic Material & Status Tokens */
  --mat-304-bg: #eff6ff;
  --mat-304-fg: #1d4ed8;
  --mat-304-bd: #bfdbfe;

  --mat-316-bg: #f0fdfa;
  --mat-316-fg: #0f766e;
  --mat-316-bd: #99f6e4;

  --mat-etc-bg: #f3f4f6;
  --mat-etc-fg: #374151;
  --mat-etc-bd: #d1d5db;

  --ok-bg: #ecfdf5;
  --ok-fg: #047857;
  --warn-bg: #fffbeb;
  --warn-fg: #b45309;
  --danger-bg: #fef2f2;
  --danger-fg: #dc2626;
  --npay: #03c75a;

  /* Layout & Elevation */
  --wrap: 1280px;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-md: 0 10px 28px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --sh-lg: 0 20px 48px rgba(15, 23, 42, 0.18);

}
.sh-masthead *, .sh-masthead *::before, .sh-masthead *::after,
.sh-nav-wrap, .sh-nav-wrap *, .sh-nav-wrap *::before, .sh-nav-wrap *::after,
.sh-subcat-strip, .sh-subcat-strip *, .sh-list-hero, .sh-list-hero *,
.sh-listapp, .sh-listapp *, .sh-listapp *::before, .sh-listapp *::after { box-sizing: border-box; }
.sh-nav-wrap ul, .sh-listapp ul { margin: 0; padding: 0; list-style: none; }
.sh-nav-wrap button, .sh-listapp button, .sh-listapp input, .sh-masthead button, .sh-masthead input { font-family: inherit; color: inherit; cursor: pointer; }
.sh-listapp input { cursor: auto; }
.sh-nav-wrap a, .sh-listapp a, .sh-masthead a, .sh-subcat-strip a { text-decoration: none; }
.sh-listapp [hidden], .sh-listapp[hidden] { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 1. 상단: 검색창 + 견적문의·마이페이지·장바구니 ---------- */
.sc-head .sc-wrap.sh-masthead { display: flex; align-items: center; gap: 32px; height: 54px; }
.sh-masthead .sc-logo { flex-shrink: 0; }
.sh-search {
  flex: 1;
  max-width: 580px;
  display: flex;
  align-items: center;
  height: 46px;
  background: var(--steel-50);
  border: 1.5px solid var(--steel-300);
  border-radius: var(--r-pill);
  padding: 0 6px 0 18px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.sh-search:focus-within {
  background: #ffffff;
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(238, 123, 30, 0.14);
}
.sh-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink-900);
}
.sh-search input::placeholder { color: var(--steel-400); }
.sh-search__btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--ink-900);
  color: #ffffff;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.sh-search__btn:hover { background: var(--brand); }

.sh-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sh-haction {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 60px;
  height: 54px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-size: 11.5px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.sh-haction:hover { background: var(--steel-50); color: var(--ink-900); }
.sh-haction__badge {
  position: absolute;
  top: 4px; right: 10px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.sh-search { margin: 0 auto; }
.sh-search input { height: 100%; padding: 0; -webkit-appearance: none; appearance: none; }
.sh-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sh-head-actions { margin-left: 0; flex-shrink: 0; }
.sh-haction svg { display: block; }
.sh-haction span { line-height: 1.2; }

/* ---------- 2. 전체 카테고리 메뉴 줄 (화면 폭 100% 위·아래 선, 스크롤 시 고정) ---------- */
.sh-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 190;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.sh-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 52px;
}
.sh-allcat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  margin-right: 12px;
  border: 0;
  background: var(--ink-900);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.15s;
}
.sh-allcat-btn:hover, .sh-allcat-btn[aria-expanded="true"] {
  background: var(--brand);
}
.sh-gnb {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.sh-gnb > li > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-800);
  position: relative;
  transition: color 0.15s;
}
.sh-gnb > li > a:hover,
.sh-gnb > li > a.is-active {
  color: var(--brand-hover);
}
.sh-gnb > li > a.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 2.5px;
  background: var(--brand);
  border-radius: 2px;
}
.sh-mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--steel-200);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 26px 28px;
  display: none;
  z-index: 250;
}
.sh-mega.is-open { display: block; }
.sh-mega__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 24px;
}
.sh-mega__cat > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--steel-200);
}
.sh-mega__cat.is-current > a {
  color: var(--brand-hover);
  border-bottom-color: var(--brand);
}
.sh-mega__cat ul li a {
  display: block;
  padding: 3px 0;
  font-size: 12.5px;
  color: var(--steel-600);
}
.sh-mega__cat ul li a:hover,
.sh-mega__cat ul li a.is-on {
  color: var(--brand-hover);
  font-weight: 600;
}

.sh-nav-wrap { margin-top: 0; }
.sh-nav.sc-wrap { padding: 0; }
.sh-allcat-btn { margin-right: 12px; }
.sh-gnb > li { position: relative; display: flex; }
.sh-gnb__sub { display: none; position: absolute; left: 0; top: 100%; min-width: 160px; margin-top: 1px; padding: 8px 0; background: #fff; border: 1px solid var(--steel-200); border-top: 2px solid var(--brand); border-radius: 0 0 var(--r-sm) var(--r-sm); box-shadow: var(--sh-md); z-index: 240; }
.sh-gnb > li:hover > .sh-gnb__sub, .sh-gnb > li:focus-within > .sh-gnb__sub { display: block; }
.sh-gnb__sub a { display: block; padding: 8px 16px; font-size: 14px; color: var(--ink-800); white-space: nowrap; }
.sh-gnb__sub a:hover { background: var(--steel-50); color: var(--brand-hover); }
.sh-mega { max-height: calc(100vh - 120px); overflow-y: auto; }

/* ---------- 3. 하위 분류 버튼 (맨 앞 '전체') ---------- */
.sh-subcat-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 16px;
}
.sh-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--steel-200);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--steel-600);
  transition: all 0.15s;
}
.sh-subcat-pill:hover {
  border-color: var(--ink-800);
  color: var(--ink-900);
}
.sh-subcat-pill em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--steel-400);
  font-variant-numeric: tabular-nums;
}
.sh-subcat-pill.is-on {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff;
  box-shadow: var(--sh-xs);
}
.sh-subcat-pill.is-on em {
  color: var(--brand);
}

.sh-subcat-strip { margin: 0 0 4px; padding: 4px 0 14px; }
.sh-subcat-strip--lv3 { margin-top: -6px; padding: 10px 12px; background: var(--steel-50); border-radius: var(--r-sm); }
.sh-subcat-strip--lv3 .sh-subcat-pill { height: 30px; padding: 0 11px; font-size: 12.5px; }
.sh-subcat-strip--item { margin-top: 10px; }

/* 재질·상태 배지 */
.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
}
.sh-badge--304 { background: var(--mat-304-bg); color: var(--mat-304-fg); border-color: var(--mat-304-bd); }
.sh-badge--316 { background: var(--mat-316-bg); color: var(--mat-316-fg); border-color: var(--mat-316-bd); }
.sh-badge--etc { background: var(--mat-etc-bg); color: var(--mat-etc-fg); border-color: var(--mat-etc-bd); }
.sh-badge--spec { background: var(--steel-100); color: var(--ink-700); border-color: var(--steel-200); }
.sh-badge--fast { background: var(--brand-soft); color: var(--brand-hover); border-color: var(--brand-border); }
.sh-badge--out { background: var(--danger-bg); color: var(--danger-fg); border-color: #fecaca; }


/* ---------- 4. 분류 제목 (영문 + 한글) ---------- */
.sh-list-hero {
  margin-top: 24px;
  padding: 26px 30px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(640px 240px at 95% 0%, rgba(238, 123, 30, 0.16), transparent 70%),
    linear-gradient(135deg, #131c27 0%, #1d2938 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sh-list-hero__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fdba74;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sh-list-hero__title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.sh-list-hero h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sh-list-hero { margin-top: 6px; }
.sh-list-hero h1 { margin: 0; color: #fff; line-height: 1.25; }
.sh-list-hero__eyebrow { margin: 0 0 6px; }

/* ---------- 5. 상품 목록: 도구 · 카드 · 규격표 ---------- */
.sh-toolbar {
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh-xs);
}
.sh-toolbar__filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--steel-100);
}
.sh-fgroup {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sh-fgroup__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--steel-500);
  margin-right: 2px;
}
.sh-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-xs);
  border: 1px solid var(--steel-200);
  background: var(--steel-50);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--steel-600);
  transition: all 0.15s;
}
.sh-chip:hover { border-color: var(--steel-400); color: var(--ink-900); }
.sh-chip.is-on {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-hover);
  font-weight: 700;
}
.sh-inline-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--steel-300);
  background: #fff;
  min-width: 230px;
}
.sh-inline-search input {
  border: 0; outline: 0; width: 100%; font-size: 13px; background: transparent;
}

.sh-toolbar__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.sh-result-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--steel-600);
}
.sh-result-meta strong { color: var(--ink-900); font-weight: 800; }
.sh-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--steel-600);
  cursor: pointer;
  user-select: none;
}
.sh-check-label input { accent-color: var(--brand); width: 15px; height: 15px; }

.sh-sort-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sh-sort-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
}
.sh-sort-btn {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  border-radius: var(--r-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--steel-500);
  white-space: nowrap;
}
.sh-sort-btn:hover { color: var(--ink-900); background: var(--steel-50); }
.sh-sort-btn.is-on { color: var(--ink-900); font-weight: 700; background: var(--steel-100); }

.sh-view-toggle {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-xs);
  overflow: hidden;
}
.sh-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  border: 0;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--steel-500);
  white-space: nowrap;
}
.sh-view-btn + .sh-view-btn { border-left: 1px solid var(--steel-200); }
.sh-view-btn.is-on {
  background: var(--ink-900);
  color: #ffffff;
}

/* Product Grid View (4-col Modern Industrial Cards) */
.sh-product-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 20px;
}
.sh-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.sh-pcard:hover {
  transform: translateY(-3px);
  border-color: var(--ink-800);
  box-shadow: var(--sh-md);
}
.sh-pcard.is-featured {
  border-color: #fdba74;
  box-shadow: 0 0 0 1px rgba(238, 123, 30, 0.18), var(--sh-sm);
}
.sh-pcard__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--steel-50);
  border-bottom: 1px solid var(--steel-100);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.sh-pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}
.sh-pcard:hover .sh-pcard__thumb img {
  transform: scale(1.04);
}
.sh-pcard__top-badges {
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}
.sh-pcard__soldout {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.sh-pcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
}
.sh-pcard__subcat {
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-500);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sh-pcard__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink-900);
  word-break: keep-all;
  margin-bottom: 10px;
}
.sh-pcard:hover .sh-pcard__title { color: var(--brand-hover); }

.sh-pcard__specbox {
  margin-top: auto;
  padding: 8px 10px;
  border-radius: var(--r-xs);
  background: var(--steel-50);
  border: 1px solid var(--steel-150);
  font-size: 12px;
  color: var(--steel-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sh-pcard__specbox strong {
  color: var(--ink-800);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sh-pcard__optcnt {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid var(--steel-200);
  font-size: 11px;
  font-weight: 700;
  color: var(--steel-600);
}

.sh-pcard__foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--steel-100);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.sh-pcard__price-label {
  display: block;
  font-size: 11px;
  color: var(--steel-400);
  margin-bottom: 1px;
}
.sh-pcard__price {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.sh-pcard__price small {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-500);
  margin-left: 1px;
}
.sh-pcard__price--ask {
  font-size: 15.5px;
  color: var(--mat-304-fg);
}
.sh-pcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 11px;
  border-radius: var(--r-xs);
  background: var(--steel-100);
  color: var(--ink-800);
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.15s;
}
.sh-pcard:hover .sh-pcard__cta {
  background: var(--brand);
  color: #ffffff;
}

/* B2B Compact Spec Table View */
.sh-product-table-wrap {
  margin-top: 20px;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--sh-xs);
}
.sh-ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.sh-ptable thead th {
  background: var(--steel-50);
  border-bottom: 1px solid var(--steel-200);
  padding: 12px 16px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--steel-600);
}
.sh-ptable tbody tr {
  border-bottom: 1px solid var(--steel-100);
  transition: background 0.12s;
}
.sh-ptable tbody tr:last-child { border-bottom: 0; }
.sh-ptable tbody tr:hover { background: var(--steel-50); }
.sh-ptable td { padding: 12px 16px; vertical-align: middle; }
.sh-ptable__thumb {
  width: 56px; height: 42px;
  border-radius: 6px;
  border: 1px solid var(--steel-200);
  background: var(--steel-50);
  overflow: hidden;
}
.sh-ptable__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.sh-ptable__name { font-weight: 700; color: var(--ink-900); font-size: 14.5px; }
.sh-ptable__name:hover { color: var(--brand-hover); text-decoration: underline; }
.sh-ptable__price { text-align: right; font-weight: 800; font-size: 15.5px; white-space: nowrap; }

.sh-pcard__thumb img { display: block; }
.sh-pcard__title { display: block; }
.sh-pcard__price-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.sh-pcard__cta { white-space: nowrap; }
.sh-ptable__r { text-align: right !important; }
.sh-ptable__c-img { width: 72px; }
.sh-ptable__c-mat { width: 150px; }
.sh-ptable__sub { font-size: 12px; color: var(--steel-500); margin-top: 4px; }
.sh-ptable__range { color: var(--steel-600); }
.sh-ptable__unit { font-size: 11px; font-weight: 500; color: var(--steel-400); }
.sh-ptable__ask { color: var(--mat-304-fg); }
.sh-ptable__thumb { display: block; }
.sh-ptable__thumb img { display: block; }
.sh-ptable td:last-child .sh-pcard__cta { background: var(--steel-100); }
.sh-ptable tr:hover .sh-pcard__cta { background: var(--brand); color: #fff; }
.sh-list-empty { margin: 20px 0 0; padding: 40px 0; text-align: center; color: var(--steel-500); border: 1px dashed var(--steel-300); border-radius: var(--r-md); }
/* 사이드바가 있어 본문 폭이 945px 정도 → 카드 폭 기준 자동 열 수 */
.sh-product-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* ---------- 반응형 (테마 모바일 기준 1023px) ---------- */
@media (max-width: 1120px) {
  .sh-mega__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) {
  .sc-head .sc-wrap.sh-masthead { height: auto; flex-wrap: wrap; gap: 10px; }
  .sh-masthead .sc-logo img { height: 32px; }
  .sh-head-actions { gap: 2px; margin-left: auto; }
  .sh-haction { min-width: 42px; height: 40px; padding: 0 4px; }
  .sh-haction span { display: none; }
  .sh-haction__badge { top: 0; right: 0; }
  .sh-search { order: 10; flex-basis: 100%; max-width: none; height: 42px; margin: 0; }
  .sh-nav-wrap { display: none; }

  .sh-subcat-strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sh-subcat-strip::-webkit-scrollbar { display: none; }
  .sh-subcat-pill { flex-shrink: 0; height: 34px; font-size: 13px; }

  .sh-list-hero { padding: 20px; margin-top: 4px; }
  .sh-list-hero h1 { font-size: 22px; }

  .sh-toolbar { padding: 14px; }
  .sh-inline-search { margin-left: 0; width: 100%; min-width: 0; }
  .sh-sort-controls { width: 100%; justify-content: space-between; }
  .sh-sort-tabs { overflow-x: auto; scrollbar-width: none; }
  .sh-sort-tabs::-webkit-scrollbar { display: none; }
  .sh-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .sh-pcard__body { padding: 12px; }
  .sh-pcard__title { font-size: 14px; }
  .sh-pcard__price { font-size: 16px; }
  .sh-pcard__cta { display: none; }
  .sh-pcard__specbox { flex-wrap: wrap; }
  .sh-product-table-wrap { overflow-x: auto; }
  .sh-ptable { min-width: 720px; }
  .sh-ptable .sh-pcard__cta { display: inline-flex; }
}
@media (max-width: 480px) {
  .sh-view-btn { padding: 0 8px; }
  .sh-sort-btn { padding: 5px 7px; }
}
/* 테마 기본 button 색 덮어쓰기 방지 */
.sh-nav-wrap .sh-allcat-btn, .sh-nav-wrap .sh-allcat-btn:hover { color: #fff; opacity: 1; }
.sh-masthead .sh-search__btn, .sh-masthead .sh-search__btn:hover { color: #fff; }
/* 모바일 기본 CSS 가 체크박스를 숨기는 문제 */
.sh-listapp .sh-check-label input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; position: static; display: inline-block; opacity: 1; width: 15px; height: 15px; margin: 0; clip: auto; overflow: visible; }
.sh-pcard__subcat { gap: 8px; }
.sh-pcard__subcat span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-pcard__subcat time { flex-shrink: 0; }
/* 2026-12-02: 메뉴 줄은 원래(구 쇼핑몰) 5칸 메뉴로 되돌리고, 위·아래 선을 화면 폭 100% + 스크롤 시 고정만 유지 */
.sc-gnb.sh-gnb-bar { position: sticky; top: 0; z-index: 190; background: #fff; border-top: 1px solid var(--sc-line, #c9c9c9); border-bottom: 1px solid var(--sc-line, #c9c9c9); }
.sc-gnb.sh-gnb-bar > .sc-wrap > ul { border-top: 0; border-bottom: 0; }
/* 2026-12-02: 쇼핑몰 메뉴 hover → 상품 카테고리를 시안(list-a2.html)의 메가메뉴(.sh-mega) 모양으로. 메뉴 줄(1200px) 폭 전체 */
.sc-gnb > .sc-wrap > ul { position: relative; }
.sc-gnb > .sc-wrap > ul > li.is-shop { position: static; }
.sc-gnb .sc-gnb__mega { top: 100%; text-align: left; z-index: 9999; box-sizing: border-box; }
.sc-gnb .sc-gnb__mega * { box-sizing: border-box; }
.sc-gnb .sc-gnb__mega ul { margin: 0; padding: 0; list-style: none; }
.sc-gnb > .sc-wrap > ul > li.is-shop:hover > .sc-gnb__mega, .sc-gnb > .sc-wrap > ul > li.is-shop:focus-within > .sc-gnb__mega { display: block; }
.sc-gnb .sh-mega__cat > a { font-size: 13.5px; }
.sc-calc.sc-calc--foot { width: 160px; margin: 14px 0 0; padding: 6px 0; font-size: 14px; }

/* 2026-12-02: 큰 메뉴 테마색 검정 — hover·현재 메뉴(반전) 모두 검정 바탕 흰 글자, 메가메뉴 윗선도 검정 */
.sc-gnb > .sc-wrap > ul > li:hover, .sc-gnb > .sc-wrap > ul > li.is-on { background: var(--ink-900); }
.sc-gnb > .sc-wrap > ul > li:hover > a, .sc-gnb > .sc-wrap > ul > li.is-on > a { color: #fff; }
.sc-gnb > .sc-wrap > ul > li.is-on::before, .sc-gnb > .sc-wrap > ul > li.is-on + li::before { display: none; }
.sc-gnb .sc-gnb__mega { border-top-color: var(--ink-900); }

/* 2026-12-02: 메인 슬라이더 PC 높이 400px — 이미지 원래 비율로 가운데, 좌우는 슬라이드별 배경색(inc/main.php). 좁은 화면은 원래 비율 */
.sc-slider { aspect-ratio: auto; height: 400px; }
.sc-slider__item img { width: auto; max-width: 100%; height: 100%; margin: 0 auto; object-fit: contain; }
.sc-slider__prev, .sc-slider__next { color: #555; }
@media (max-width: 1023px) {
  .sc-slider { height: auto; aspect-ratio: 975 / 529; }
  .sc-slider__item img { width: 100%; object-fit: cover; }
  .sc-slider__prev, .sc-slider__next { color: #fff; }
}
/* 2026-12-02: 이미지 좌우 경계를 배경색으로 흐리게 (PC) */
@media (min-width: 1024px) {
  .sc-slider__item img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
}

/* 2026-12-02: 메인 진열 상품 카드형 — 한 줄 5개, 카드가 좁아 '규격 선택' 버튼은 숨김(카드 전체가 링크) */
.sh-product-grid--main { margin-top: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 16px; }
.sh-product-grid--main, .sh-product-grid--main * { box-sizing: border-box; }
.sh-product-grid--main a { text-decoration: none; }
.sh-product-grid--main .sh-pcard__cta { display: none; }
.sh-product-grid--main .sh-pcard__body { padding: 12px 14px 14px; }
.sh-product-grid--main .sh-pcard__title { font-size: 14.5px; }
.sh-product-grid--main .sh-pcard__price-label { max-width: 100%; }
@media (max-width: 1023px) {
  .sh-product-grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
}
/* 모바일 메인(#container.is_index): 진열 상품·납품 실적 좌우 여백 */
#container.sx-main.is_index .sc-shelf, #container.sx-main.is_index .sc-works { padding-left: 12px; padding-right: 12px; }

/* 2026-12-02: 메인 진열 4개 → 4열, '규격 선택' 버튼 다시 표시. 납품 실적도 카드형(.sh-wcard) */
.sh-product-grid--main { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 20px; }
.sh-product-grid--main .sh-pcard__cta { display: inline-flex; }
.sh-wcard .sh-pcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-wcard .sh-pcard__foot { margin-top: auto; align-items: center; }
.sh-wcard .sh-pcard__body { gap: 0; }
.sh-wcard__by { font-size: 12px; color: var(--steel-500); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1023px) {
  .sh-product-grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .sh-product-grid--main .sh-pcard__cta { display: none; }
}

/* 2026-12-02: 목록 상단(경로 + 하위 분류) = 시안 .sh-context-bar — 화면 폭 연회색 띠, 아래 선, 위 간격 축소 */
#wrapper.sx-main #container.sc-body > .shop-content:has(> #sct > .sc-path) { padding-top: 0; }
#sct > .sc-path + div:empty { display: none; }
#sct > .sc-path, #sct > .sh-subcat-strip {
  margin: 0; background: var(--steel-50);
  box-shadow: 0 0 0 100vmax var(--steel-50); clip-path: inset(0 -100vmax);
}
#sct > .sc-path { padding: 14px 0 12px; }
#sct > .sh-subcat-strip { padding: 0 0 16px; }
#sct > .sh-subcat-strip--lv3 { margin: 0; padding: 0 0 16px; border-radius: 0; }
#sct > .sh-subcat-strip--lv3 .sh-subcat-pill:not(.is-on) { background: #fff; }
/* 띠의 마지막 줄 아래 선 */
#sct > .sc-path:has(+ div:empty + .sh-list-hero), #sct > .sh-subcat-strip:has(+ .sh-list-hero) {
  box-shadow: 0 0 0 100vmax var(--steel-50), 0 1px 0 100vmax var(--steel-200); clip-path: inset(0 -100vmax -1px -100vmax);
}
#sct > .sh-list-hero { margin-top: 24px; }
@media (max-width: 1023px) {
  #wrapper.sx-main #container.sc-body > .shop-content:has(> #sct > .sc-path) { padding-top: 0; }
  #sct > .sh-subcat-strip { padding-top: 12px; }
  #sct > .sh-subcat-strip--lv3 { padding-top: 0; }
  #sct > .sh-list-hero { margin-top: 16px; }
}

/* 2026-12-02: 상품 상세 상단(경로 선택 + 하위 분류 줄)도 목록과 같은 연회색 띠 */
#wrapper.sx-main #container.sc-body > .shop-content.is_item { padding-top: 0; }
.shop-content.is_item > #sct_location,
.sh-subcat-strip--item, .sh-subcat-strip--item ~ .sh-subcat-strip--lv3 {
  margin: 0; background: var(--steel-50);
  box-shadow: 0 0 0 100vmax var(--steel-50); clip-path: inset(0 -100vmax);
}
.shop-content.is_item > #sct_location { padding: 14px 0 12px; border: 0; }
.sh-subcat-strip--item { padding: 0 0 16px; }
.sh-subcat-strip--item ~ .sh-subcat-strip--lv3 { padding: 0 0 16px; border-radius: 0; }
.sh-subcat-strip--item ~ .sh-subcat-strip--lv3 .sh-subcat-pill:not(.is-on) { background: #fff; }
.sh-subcat-strip--item:not(:has(+ .sh-subcat-strip)), .sh-subcat-strip--item ~ .sh-subcat-strip--lv3:not(:has(+ .sh-subcat-strip)) {
  box-shadow: 0 0 0 100vmax var(--steel-50), 0 1px 0 100vmax var(--steel-200); clip-path: inset(0 -100vmax -1px -100vmax);
}
.shop-content.is_item > #sit { margin-top: 0; } /* #sit_ov_from 안쪽 위 여백 32px 이 띠 아래 간격이 됨 */
@media (max-width: 1023px) {
  .sh-subcat-strip--item { padding-top: 12px; }
  .sh-subcat-strip--item ~ .sh-subcat-strip--lv3 { padding-top: 0; }
}
/* 2026-12-02: 상품 상세 경로도 목록과 같은 .sc-path (오른쪽 정렬 텍스트) */
.shop-content.is_item > .sc-path { margin: 0; padding: 14px 0 12px; background: var(--steel-50); box-shadow: 0 0 0 100vmax var(--steel-50); clip-path: inset(0 -100vmax); }

/* 2026-12-02: 상품 상세에도 분류 제목(sh-list-hero, h2) · 하위 분류 줄 아래 여백 16px → 10px */
.sh-list-hero .sh-list-hero__title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.25; }
.shop-content.is_item > .sh-list-hero--item { margin-top: 24px; }
#sct > .sh-subcat-strip, #sct > .sh-subcat-strip--lv3, .sh-subcat-strip--item, .sh-subcat-strip--item ~ .sh-subcat-strip--lv3 { padding-bottom: 10px; }
@media (max-width: 1023px) {
  .sh-list-hero .sh-list-hero__title { font-size: 22px; }
  .sh-list-hero--item { margin: 16px 16px 0; }
}

/* 2026-12-02: 모바일 하단 바 — 가격 문의 상품은 '구매하기' 없이 관심상품 + 견적 문의 */
.sx-mbar.sx-mbar--ask { grid-template-columns: 52px 1fr !important; }
.sx-mbar--ask .sx-mbar__ask { background: var(--sx-orange, #ee7b1e); border-color: var(--sx-orange, #ee7b1e); color: #fff; }

/* 2026-12-02: 띠 아래 선 — box-shadow 방식은 연회색 그림자에 가려 보이지 않아 ::after 선으로 (화면 폭 전체) */
#sct > .sc-path:has(+ div:empty + .sh-list-hero), #sct > .sh-subcat-strip:has(+ .sh-list-hero),
.sh-subcat-strip--item:not(:has(+ .sh-subcat-strip)), .sh-subcat-strip--item ~ .sh-subcat-strip--lv3:not(:has(+ .sh-subcat-strip)) {
  position: relative; box-shadow: 0 0 0 100vmax var(--steel-50); clip-path: inset(0 -100vmax -1px -100vmax);
}
#sct > .sc-path:has(+ div:empty + .sh-list-hero)::after, #sct > .sh-subcat-strip:has(+ .sh-list-hero)::after,
.sh-subcat-strip--item:not(:has(+ .sh-subcat-strip))::after, .sh-subcat-strip--item ~ .sh-subcat-strip--lv3:not(:has(+ .sh-subcat-strip))::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--steel-200);
  box-shadow: 0 0 0 100vmax var(--steel-200); clip-path: inset(0 -100vmax);
}
/* PC: 가격 문의 상품은 '견적·대량 문의'가 유일한 버튼 → 주 버튼 색 */
#sit_ov_btn:not(:has(.sit_btn_buy)) .sit_btn_ask { background: var(--sx-orange, #ee7b1e) !important; border-color: var(--sx-orange, #ee7b1e) !important; color: #fff !important; } /* item.css 의 !important 를 덮음 */
#sit_ov_btn:not(:has(.sit_btn_buy)) .sit_btn_ask:hover { background: var(--sx-orange-600, #d8650c) !important; }
/* 모바일 가격 문의 상품: 관심상품 · 견적 문의 · 규격 보기(규격 목록 패널 열기) */
.sx-mbar.sx-mbar--ask.sx-mbar--spec { grid-template-columns: 52px 1.4fr 1fr !important; }
.sx-mbar .sx-mbar__spec { width: auto !important; background: #fff !important; border: 1px solid var(--sx-steel-300, #c3cbd4) !important; color: var(--sx-ink, #121a24) !important; }

/* =========================================================================
   2026-12-02 상품 상세 — 디자인 시안(item-1573453416.html) 적용 (PC 스킨 skin/shop/basic/item.form.skin.php)
   ========================================================================= */
:is(#sit_ov, #btn_option) .sh-badge { box-sizing: border-box; }
/* Freight / Cutting Critical Notice Card */
.sh-logistics-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 13px;
  color: #78350f;
}
.sh-logistics-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.sh-logistics-card__head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: #92400e;
}
.sh-logistics-card ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  list-style: disc;
}

/* Right Purchase Summary Panel */
.sh-buy-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.sh-buy-panel__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-buy-panel__tools { display: flex; gap: 6px; }
.sh-icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--steel-200);
  background: #ffffff;
  color: var(--steel-600);
  display: grid;
  place-items: center;
  transition: all 0.15s;
}
.sh-icon-circle:hover, .sh-icon-circle.is-on {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.sh-item-title {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  word-break: keep-all;
}
.sh-item-sub {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--steel-500);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sh-item-code {
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--steel-100);
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-600);
}

.sh-price-hero {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.sh-price-hero__main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.sh-price-hero__now {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  white-space: nowrap;
}
.sh-price-hero__now small { font-size: 18px; font-weight: 700; margin-left: 2px; }
.sh-price-hero__unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-500);
}
/* Meta Info Rows */
.sh-meta-dl {
  margin-top: 16px;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--steel-200);
  display: grid;
  grid-template-columns: 96px 1fr;
  row-gap: 10px;
  font-size: 13.5px;
}
.sh-meta-dl dt { color: var(--steel-500); font-weight: 600; }
.sh-meta-dl dd { color: var(--ink-800); font-weight: 500; }
.sh-meta-dl dd strong { font-weight: 700; color: var(--ink-900); }

.sh-logistics-card ul { margin: 0; }
.sh-logistics-card li { line-height: 1.55; }
.sh-logistics-card__head a { font-size: 12px; font-weight: 700; color: #92400e; text-decoration: underline; }
.sh-logistics-card { box-sizing: border-box; }
.sh-buy-panel__top { margin-bottom: 10px; min-height: 36px; }
.sh-icon-circle { box-sizing: border-box; text-decoration: none; }
:is(#sit_ov, #btn_option) #sit_title.sh-item-title { font-size: 27px !important; line-height: 1.32 !important; }
.sh-price-hero { box-sizing: border-box; align-items: center; }
.sh-price-hero__main { flex-wrap: wrap; }
.sh-price-hero__now--ask { color: var(--mat-304-fg); font-size: 28px; }
.sh-price-hero__rate { font-size: 24px; font-weight: 800; color: var(--brand-hover); }
.sh-price-hero__was { font-size: 15px; color: var(--steel-400); }
.sh-meta-dl { margin-bottom: 0; }
.sh-meta-dl dt, .sh-meta-dl dd { margin: 0; line-height: 1.5; }
.sh-meta-dl select { height: 32px; padding: 0 8px; border: 1px solid var(--steel-300); border-radius: var(--r-xs); }

/* 규격 선택 상자 (그누보드 .sit_option) — 시안 .sh-opt-box / .sh-opt-select */
:is(#sit_ov, #btn_option) .sit_option { margin: 18px 0 0 !important; padding: 0 !important; border-top: 0 !important; }
:is(#sit_ov, #btn_option) .sit_option h3 { font-size: 14px !important; font-weight: 800; color: var(--ink-900); margin: 0 0 8px !important; }
:is(#sit_ov, #btn_option) .sit_option select { height: 46px !important; border: 1.5px solid var(--steel-300) !important; border-radius: var(--r-sm) !important; font-weight: 600; color: var(--ink-900); }
:is(#sit_ov, #btn_option) .sit_option select:focus { border-color: var(--ink-900) !important; outline: 0; }

/* 선택된 옵션 행 — 시안 .sh-added-row */
:is(#sit_ov, #btn_option) #sit_sel_option { margin: 12px 0 0 !important; }
:is(#sit_ov, #btn_option) #sit_opt_added li {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center;
  margin: 0 0 8px !important; padding: 14px 16px !important; border-radius: var(--r-sm) !important;
  background: var(--steel-50) !important; border: 1px solid var(--steel-200) !important;
}
:is(#sit_ov, #btn_option) #sit_opt_added li .opt_name { grid-column: 1; padding-right: 0; font-size: 14px; }
:is(#sit_ov, #btn_option) #sit_opt_added li .sit_opt_subj { display: block; font-weight: 700; color: var(--ink-900); }
:is(#sit_ov, #btn_option) #sit_opt_added li .sh-opt-meta { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--steel-500); }
:is(#sit_ov, #btn_option) #sit_opt_added li .opt_count { grid-column: 2; display: flex; align-items: center; gap: 0; justify-content: flex-end; }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_qty_minus, :is(#sit_ov, #btn_option) #sit_opt_added .sit_qty_plus { width: 30px; height: 30px; border: 1px solid var(--steel-300); background: #fff; color: var(--ink-800); }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_qty_minus { border-radius: var(--r-xs) 0 0 var(--r-xs); }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_qty_plus { border-radius: 0 var(--r-xs) var(--r-xs) 0; margin-right: 0; }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_qty_minus:hover, :is(#sit_ov, #btn_option) #sit_opt_added .sit_qty_plus:hover { background: var(--steel-100); }
:is(#sit_ov, #btn_option) #sit_opt_added .num_input { width: 44px !important; height: 30px; border-top: 1px solid var(--steel-300); border-bottom: 1px solid var(--steel-300); font-size: 13.5px; font-weight: 700; }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_opt_prc { min-width: 96px; margin-left: 12px; text-align: right; font-size: 15.5px; font-weight: 800; color: var(--ink-900); }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_opt_del { position: static !important; width: 24px; height: 24px; margin-left: 8px; border-radius: 4px; color: var(--steel-400); display: grid; place-items: center; }
:is(#sit_ov, #btn_option) #sit_opt_added .sit_opt_del:hover { background: var(--steel-200); color: var(--ink-900); }

/* 예상 중량 · 총 상품금액 — 시안 .sh-total-bar */
:is(#sit_ov, #btn_option) .sh-total-bar { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--ink-900); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
:is(#sit_ov, #btn_option) .sh-total-bar.is-empty #sit_tot_price { display: none !important; }
:is(#sit_ov, #btn_option) .sh-total-bar__meta { font-size: 13.5px; font-weight: 600; color: var(--steel-600); }
:is(#sit_ov, #btn_option) .sh-total-bar__meta strong { color: var(--ink-900); }
:is(#sit_ov, #btn_option) #sit_tot_price.sh-total-bar__amount { display: flex !important; align-items: baseline; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
:is(#sit_ov, #btn_option) #sit_tot_price.sh-total-bar__amount span { font-size: 14.5px !important; font-weight: 700; color: var(--ink-900); margin: 0; }
:is(#sit_ov, #btn_option) #sit_tot_price.sh-total-bar__amount strong { font-size: 30px; font-weight: 800; color: var(--brand-hover); letter-spacing: -0.03em; }
:is(#sit_ov, #btn_option) #sit_tot_price.sh-total-bar__amount strong small { font-size: 17px; margin-left: 2px; }

/* 구매 버튼 — 시안 .sh-cta-grid (견적 outline · 장바구니 dark · 바로구매 primary) */
:is(#sit_ov, #btn_option) #sit_ov_btn { grid-template-columns: 1fr 1fr 1.35fr; margin: 16px 0 0 !important; }
:is(#sit_ov, #btn_option) #sit_ov_btn > a, :is(#sit_ov, #btn_option) #sit_ov_btn > button { height: 54px !important; border-radius: var(--r-sm) !important; font-size: 16px !important; font-weight: 700; }
:is(#sit_ov, #btn_option) #sit_ov_btn .sit_btn_ask { background: #fff !important; border: 1.5px solid var(--steel-300) !important; color: var(--ink-900) !important; }
:is(#sit_ov, #btn_option) #sit_ov_btn .sit_btn_cart { background: var(--ink-900) !important; border: 1.5px solid var(--ink-900) !important; color: #fff !important; }
:is(#sit_ov, #btn_option) #sit_ov_btn .sit_btn_cart:hover { background: var(--ink-800) !important; }
:is(#sit_ov, #btn_option) #sit_ov_btn .sit_btn_buy { background: var(--brand) !important; border: 1.5px solid var(--brand) !important; }
:is(#sit_ov, #btn_option) #sit_ov_btn .sit_btn_buy:hover { background: var(--brand-hover) !important; }
:is(#sit_ov, #btn_option) #sit_ov_btn:not(:has(.sit_btn_buy)) { grid-template-columns: 1fr; }

/* 네이버페이 — 시안 .sh-npay-bar (버튼 자체는 네이버 공식 스크립트가 그림) */
:is(#sit_ov, #btn_option) .sh-npay-bar { grid-column: 1 / -1; margin-top: 2px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid #d1fae5; background: #f8fafc; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
:is(#sit_ov, #btn_option) .sh-npay-bar__brand { font-size: 12px; color: var(--steel-600); line-height: 1.35; }
:is(#sit_ov, #btn_option) .sh-npay-bar__brand strong { display: block; color: #059669; font-weight: 800; }
:is(#sit_ov, #btn_option) .sh-npay-btns { display: flex; align-items: center; gap: 6px; min-width: 0; }
:is(#sit_ov, #btn_option) #sit_tot_price.sh-total-bar__amount span::before { content: none; } /* item.css 의 '총 상품 금액' 가짜 글자 제거 (문구는 sh-item.js) */
/* 네이버페이 위젯에 이미 'NAVER 네이버ID로 간편구매' 문구가 있어 바 안에는 위젯만 */
:is(#sit_ov, #btn_option) .sh-npay-bar { justify-content: flex-start; }
:is(#sit_ov, #btn_option) #sit_ov_btn:not(:has(.sit_btn_buy)) .sit_btn_ask { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; } /* 가격 문의 상품: 유일한 버튼 = 주 버튼 */
:is(#sit_ov, #btn_option) #sit_ov_btn:not(:has(.sit_btn_buy)) .sit_btn_ask:hover { background: var(--brand-hover) !important; }

/* 2026-12-02 모바일 상품 상세 — PC 와 같은 디자인 (mobile/skin/shop/basic/item.form.skin.php) */
#sit_ov .sit_ov_wr .sh-buy-panel__top { margin-top: 4px; }
#sit_ov .sit_ov_wr #sit_title.sh-item-title { display: block; font-size: 22px !important; line-height: 1.35 !important; }
.sx-m-logistics { padding: 0 16px; }
.sx-m-logistics .sh-logistics-card { margin-top: 12px; }
#btn_option #sit_ov_btn { display: grid !important; grid-template-columns: 1fr 1.35fr; gap: 8px; }
#btn_option #sit_ov_btn #sit_btn_cart, #btn_option #sit_ov_btn #sit_btn_buy { width: auto !important; height: 50px !important; margin: 0 !important; border-radius: var(--r-sm) !important; font-size: 16px !important; font-weight: 700; }
#btn_option #sit_ov_btn #sit_btn_cart { background: var(--ink-900) !important; border: 1.5px solid var(--ink-900) !important; color: #fff !important; }
#btn_option #sit_ov_btn #sit_btn_buy { background: var(--brand) !important; border: 1.5px solid var(--brand) !important; color: #fff !important; }
#btn_option #sit_ov_btn #sit_btn_wish { display: none !important; }
#btn_option #sit_ov_btn .sh-npay-bar, #btn_option #sit_ov_btn #sit_btn_phone { grid-column: 1 / -1; }
@media (max-width: 1023px) {
  .sh-price-hero__now { font-size: 26px; }
  :is(#sit_ov, #btn_option) .sh-total-bar { flex-wrap: wrap; }
  :is(#sit_ov, #btn_option) #sit_tot_price.sh-total-bar__amount strong { font-size: 24px; }
  :is(#sit_ov, #btn_option) #sit_opt_added li { grid-template-columns: 1fr; }
  :is(#sit_ov, #btn_option) #sit_opt_added li .opt_count { grid-column: 1; justify-content: flex-start; }
  :is(#sit_ov, #btn_option) #sit_opt_added .sit_opt_prc { margin-left: auto; }
}
/* 모바일 스킨 style.css 의 '#sit_ov h2 { 숨김 }' 이 제품명(h2#sit_title)까지 숨기므로 되돌림 */
#sit_ov h2#sit_title { position: static; text-indent: 0; overflow: visible; line-height: 1.35 !important; margin: 0 !important; }
@media (max-width: 1023px) { #sit_ov h2#sit_title { font-size: 22px !important; } }
/* 2026-12-02: 관리자 수정 톱니 — 경로(홈 > 분류 > …) 맨 뒤. 원래 자리(그누보드 코어 list.php/item.php 출력)는 경로가 있을 때 숨김 */
body:has(.sc-path__admin) .sct_admin, body:has(.sc-path__admin) .sit_admin { display: none !important; }
.sc-path .sc-path__admin { display: inline-block; margin-left: 6px; padding: 0; color: #d13f4a !important; font-size: 14px; line-height: 1; vertical-align: -1px; background: none !important; border: 0 !important; }
.sc-path .sc-path__admin:hover { color: #ff3746 !important; }
