/* ==========================================================================
   지에프코리아 리뉴얼 샘플 — design tokens
   DESIGN_VARIANCE 3 · MOTION_INTENSITY 2 · VISUAL_DENSITY 6
   모바일 우선 → 태블릿 → PC (AGENT_GUIDE §5-2-6)
   ========================================================================== */

:root {
  /* 기존 배너의 스틸블루를 자산으로 승계해 정돈한 팔레트. 순수 흑/백 없음 */
  --paper:      oklch(0.987 0.003 240);
  --surface:    oklch(0.965 0.005 240);
  --surface-2:  oklch(0.938 0.007 240);
  --ink:        oklch(0.235 0.018 245);
  --ink-2:      oklch(0.415 0.018 245);
  --ink-3:      oklch(0.528 0.014 245);
  --line:       oklch(0.885 0.008 240);
  --line-2:     oklch(0.815 0.010 240);

  --accent:      oklch(0.505 0.108 237);
  --accent-deep: oklch(0.405 0.098 240);
  --accent-soft: oklch(0.945 0.022 237);

  --deep:       oklch(0.268 0.036 243);   /* 다크 섹션 바탕 */
  --deep-2:     oklch(0.212 0.032 244);
  --on-deep:    oklch(0.955 0.006 240);
  --on-deep-2:  oklch(0.775 0.014 240);

  --warn:       oklch(0.585 0.155 42);

  --r:   4px;
  --r-2: 6px;

  --page: 1040px;   /* 원본 1024 고정폭을 승계 */
  --hdr-h: 61px;    /* 붙어 다니는 헤더 높이 — 좌측메뉴·영상레일이 그 아래에서 멈춘다 */
  --gut:  16px;

  --shadow-1: 0 1px 2px oklch(0.24 0.02 245 / 0.06);
  --shadow-2: 0 4px 16px oklch(0.24 0.02 245 / 0.08);

  --kr: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont,
        "Apple SD Gothic Neo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 자동 스크롤(폼 오류 칸·관리자 편집기)이 위에 붙은 헤더 밑으로 숨지 않게 — 헤더 높이는 JS 가 실측해 --hdr-h 로 넣는다 */
html { scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--kr);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- 레이아웃: 항상 중앙. 절대배치 레이어 없음 (요청 1·2) -------------- */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: 48px; }
.section + .section { border-top: 1px solid var(--line); }
@media (min-width: 768px) { .section { padding-block: 72px; } }
@media (min-width: 1024px) { .section { padding-block: 88px; } }

/* --- 타이포 ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 500;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 6.2vw, 3.25rem); }
h2 { font-size: clamp(1.375rem, 4.2vw, 2rem); }
h3 { font-size: clamp(1.0625rem, 2.6vw, 1.3125rem); }
h4 { font-size: 0.9375rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(0.9375rem, 2.4vw, 1.0625rem); color: var(--ink-2); line-height: 1.7; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- 스킵 링크 --------------------------------------------------------- */
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-deep);
  padding: 10px 16px; border-radius: var(--r); font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
}
.skip:focus-visible { top: 8px; }

/* --- 헤더 -------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.987 0.003 240 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px;
}
@media (min-width: 1024px) { .hdr__bar { min-height: 72px; } }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand__mark {
  width: 36px; height: 36px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: var(--mono); font-weight: 600; font-size: 0.8125rem; letter-spacing: -0.03em;
}
img.brand__mark { border: 0; border-radius: 0; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__ko { font-weight: 700; font-size: 1rem; letter-spacing: -0.03em; }
.brand__en { font-family: var(--mono); font-size: 0.5625rem; letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav a {
    text-decoration: none; font-size: 0.9375rem; font-weight: 500;
    padding: 9px 13px; border-radius: var(--r); color: var(--ink-2);
    transition: color .16s ease-out, background-color .16s ease-out;
  }
  .nav a:hover { color: var(--ink); background: var(--surface-2); }
  .nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
}

a.hdr__cta { display: none; }
@media (min-width: 1024px) { a.hdr__cta { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.burger:hover { background: var(--surface-2); }
@media (min-width: 1024px) { .burger { display: none; } }
.burger__ico { display: grid; gap: 3px; }
.burger__ico i { display: block; width: 16px; height: 1.5px; background: currentColor; }

.drawer { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.drawer[data-open="true"] { display: block; }
@media (min-width: 1024px) { .drawer { display: none !important; } }
.drawer nav { display: flex; flex-direction: column; padding-block: 8px 16px; }
.drawer nav a {
  text-decoration: none; padding: 13px 4px; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.drawer nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.drawer nav a::after { content: "→"; color: var(--ink-3); font-family: var(--mono); }
.drawer .btn { margin-top: 16px; width: 100%; }

/* --- 버튼 (8상태) ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r);
  font: inherit; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out;
}
.btn--primary { background: var(--accent); color: oklch(0.99 0 0); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--primary:active { background: var(--accent-deep); transform: translateY(0.5px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn--onDeep { background: oklch(0.99 0 0 / 0.1); color: var(--on-deep); border-color: oklch(0.99 0 0 / 0.26); }
.btn--onDeep:hover { background: oklch(0.99 0 0 / 0.18); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn[data-loading="true"] { pointer-events: none; opacity: .75; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r);
}

/* --- 제품 퀵 인덱스 (히어로 하단) --------------------------------------- */
.qi { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 22px 26px; }
.qi__t {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 14px;
}
.qi__list { list-style: none; margin: 0; padding: 0; display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.qi__list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .qi__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .qi__list { grid-template-columns: repeat(5, 1fr); } }
.qi__list a {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  background: var(--paper); text-decoration: none; padding: 13px 14px; min-height: 62px; height: 100%;
  transition: background-color .16s ease-out, color .16s ease-out;
}
.qi__list a:hover { background: var(--accent-soft); }
.qi__list a:hover .qi__n { color: var(--accent-deep); }
.qi__n { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.015em; }
.qi__e { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.04em; color: var(--ink-3); }

/* --- 섹션 헤드 --------------------------------------------------------- */
.shead { margin-bottom: 28px; }
@media (min-width: 768px) { .shead { margin-bottom: 40px; } }
.shead p { margin-top: 12px; }

/* --- 브랜드(공급사) 카드 ----------------------------------------------- */
.brands { display: grid; gap: 16px; }
@media (min-width: 900px) { .brands { grid-template-columns: 1fr 1fr; gap: 20px; } }
.bcard {
  border: 1px solid var(--line); border-radius: var(--r-2);
  background: var(--paper); padding: 24px 20px; display: flex; flex-direction: column;
}
@media (min-width: 768px) { .bcard { padding: 32px 28px; } }
.bcard__tag {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase;
}
.bcard h3 { margin: 8px 0 6px; }
.bcard__sum { color: var(--ink-2); font-size: 0.9375rem; margin: 0 0 18px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 18px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 7px; height: 1.5px; background: var(--accent);
}
.bcard .btn { margin-top: auto; align-self: flex-start; }

/* --- 제품 카테고리 ----------------------------------------------------- */
.cat { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.cat:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 4px; }
.cat__ko { color: var(--ink-3); font-size: 0.875rem; }
.cat__cols { display: grid; gap: 20px; margin: 18px 0 22px; }
@media (min-width: 720px) { .cat__cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
.cat__col h4 { color: var(--ink-3); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 9px; }

.series { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .series { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.series--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .series--3 { grid-template-columns: repeat(3, 1fr); } }
.sitem { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.sitem__img {
  aspect-ratio: 4 / 3; background: var(--surface);
  display: grid; place-items: center; padding: 10px;
  border-bottom: 1px solid var(--line);
}
.sitem__img img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.sitem__b { padding: 10px 11px 12px; }
.sitem__c { font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: -0.02em; }
.sitem__n { font-size: 0.75rem; color: var(--ink-3); margin-top: 2px; min-height: 1em; }

/* --- 업종 칩 ----------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 13px; font-size: 0.8125rem; color: var(--ink-2); background: var(--paper);
}

/* --- 기술자료 ---------------------------------------------------------- */
.formula {
  border: 1px solid var(--line-2);
  border-radius: var(--r); background: var(--surface); padding: 16px 18px; margin-bottom: 12px;
}
.formula__e { font-family: var(--mono); font-size: clamp(1rem, 3.4vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; }
.formula__d { font-size: 0.8125rem; color: var(--ink-2); margin: 7px 0 0; }

.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.tbl td:first-child { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.tbl--scroll { display: block; overflow-x: auto; }

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding-left: 34px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.6; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0.1em;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; color: var(--accent);
  border: 1px solid var(--line-2); border-radius: var(--r);
  width: 24px; height: 24px; display: grid; place-items: center;
}

/* --- 자료실 ------------------------------------------------------------ */
.dl { border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; margin-bottom: 20px; }
.dl__h { background: var(--surface); padding: 13px 16px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 0.9375rem; }
.dl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.dl__row:last-child { border-bottom: 0; }
.dl__n { flex: 1 1 180px; font-weight: 500; font-size: 0.9375rem; }
.dl__links { display: flex; gap: 6px; flex-wrap: wrap; }
.tagbtn {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 7px 11px; min-height: 34px; display: inline-flex; align-items: center;
  color: var(--ink-2); background: var(--paper);
  transition: color .16s ease-out, border-color .16s ease-out, background-color .16s ease-out;
}
.tagbtn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.tagbtn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* --- 폼 ---------------------------------------------------------------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs button {
  font: inherit; font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 4px; margin-right: 14px; min-height: 44px;
  color: var(--ink-3); cursor: pointer;
  transition: color .16s ease-out, border-color .16s ease-out;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }

/* 제조사 전환 탭 (제품정보) — 페이지 이동형이라 button 이 아니라 a 다 */
.tabs--nav { margin-bottom: 0; }
.tabs--nav a {
  font: inherit; font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 12px 4px; margin-right: 14px; min-height: 44px;
  color: var(--ink-3);
  transition: color .16s ease-out, border-color .16s ease-out;
}
.tabs--nav a:hover { color: var(--ink); }
.tabs--nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.panel[hidden] { display: none; }
.fgrid { display: grid; gap: 16px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .f--full { grid-column: 1 / -1; } }
.f label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; }
.f label .req { color: var(--warn); margin-left: 3px; }
.f input, .f textarea {
  width: 100%; font: inherit; font-size: 0.9375rem;
  padding: 11px 13px; min-height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--paper); color: var(--ink);
  transition: border-color .16s ease-out, background-color .16s ease-out;
}
.f textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.f input::placeholder, .f textarea::placeholder { color: oklch(0.68 0.01 245); }
.f input:hover, .f textarea:hover { border-color: var(--ink-3); }
.f input:focus, .f textarea:focus { border-color: var(--accent); outline-offset: 1px; }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: var(--warn); background: oklch(0.985 0.012 42); }
.f input:disabled, .f textarea:disabled { background: var(--surface-2); color: var(--ink-3); cursor: not-allowed; }
.f__err { display: none; color: var(--warn); font-size: 0.75rem; margin-top: 5px; }
.f__err[data-on="true"] { display: block; }

.formfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.formfoot small { color: var(--ink-3); font-size: 0.8125rem; }

.flash { border-radius: var(--r); padding: 13px 15px; font-size: 0.875rem; margin-bottom: 20px; border: 1px solid; }
.flash[hidden] { display: none; }
.flash--ok { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); }
.flash--err { background: oklch(0.97 0.025 42); border-color: var(--warn); color: oklch(0.42 0.13 42); }

/* --- 연락 카드 --------------------------------------------------------- */
.cta { background: var(--deep-2); color: var(--on-deep); }
.cta h2 { max-width: 20ch; }
.cta p { color: var(--on-deep-2); }
.cta__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.infogrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
@media (min-width: 640px) { .infogrid { grid-template-columns: 1fr 1fr; } }
.info { background: var(--paper); padding: 18px; }
.info dt { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.info dd { margin: 6px 0 0; font-size: 0.9375rem; font-weight: 500; }
.info dd a { text-decoration: none; color: var(--accent); }
.info dd a:hover { text-decoration: underline; }
.todo { color: var(--warn); font-size: 0.8125rem; font-weight: 500; }

/* --- 푸터 -------------------------------------------------------------- */
.ftr { background: var(--deep-2); color: var(--on-deep-2); font-size: 0.875rem; padding-block: 36px 28px; }
.ftr__top { display: grid; gap: 22px; }
@media (min-width: 768px) { .ftr__top { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.ftr strong { color: var(--on-deep); }
.ftr a { color: var(--on-deep-2); }
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.ftr__links a { text-decoration: none; }
.ftr__links a:hover { color: var(--on-deep); text-decoration: underline; }
.ftr__legal {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid oklch(0.99 0 0 / 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 0.75rem; color: oklch(0.68 0.012 240);
}

/* --- 페이지 헤드 ------------------------------------------------------- */
.phead { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 30px; }
@media (min-width: 768px) { .phead { padding-block: 48px; } }
.crumb { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--accent); }

/* --- 유틸 -------------------------------------------------------------- */
.grid2 { display: grid; gap: 24px; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; gap: 40px; } }
.stack > * + * { margin-top: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--r-2); padding: 20px; background: var(--paper); }
.muted { color: var(--ink-3); }
.sig { font-weight: 600; color: var(--ink); margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- 영상 자료 (클릭 전까지 유튜브를 부르지 않는 파사드) -------------------- */
.vidgrid { list-style: none; display: grid; gap: 22px 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .vidgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .vidgrid { grid-template-columns: repeat(4, 1fr); gap: 26px 20px; } }

.vid__play {
  display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--r-2); overflow: hidden; background: var(--surface-2); cursor: pointer;
  aspect-ratio: 16 / 9; transition: border-color .16s ease-out, box-shadow .16s ease-out;
}
.vid__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid__play:hover, .vid__play:focus-visible { border-color: var(--accent); box-shadow: var(--shadow); }
.vid__icon {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 38px; border-radius: 9px;
  background: oklch(.28 .02 240 / .78); display: grid; place-items: center;
  transition: background-color .16s ease-out;
}
.vid__icon::after {
  content: ''; width: 0; height: 0; margin-left: 3px;
  border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.vid__play:hover .vid__icon { background: var(--accent); }
.vid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-2); display: block; }
.vid__t { font-size: .875rem; font-weight: 600; line-height: 1.45; margin: 12px 0 0; }
.vid__ko { font-size: .8125rem; color: var(--ink-3); margin: 4px 0 0; line-height: 1.5; }

/* ==========================================================================
   원본 레이아웃 복제 (2026-09-21) — 위치·구조는 gf.co.kr 그대로, 시각만 정돈
   상단 로고+2줄 메뉴 / 메인 배너 / 좌측 제품트리+배너 / 우측 본문 / 하단 주소바
   모바일: 1열 + 본문 먼저, 제품트리는 접힘 (§5-2-6)
   ========================================================================== */

/* --- 헤더 --------------------------------------------------------------- */
.logo { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__ko { font-size: 1.125rem; font-weight: 700; letter-spacing: -.03em; }
.logo__en { font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }

.hdr__right { display: none; }

.util { display: flex; gap: 14px; justify-content: flex-end; padding-top: 9px; }
.util a {
  font-size: .6875rem; letter-spacing: .04em; color: var(--ink-3); text-decoration: none;
  font-family: var(--mono);
}
.util a:hover { color: var(--accent); }
/* 관리자 진입 — 고객 요청(09-23)으로 Sitemap 오른쪽에. 로그인 없이는 401 이라 주소만으로는 못 들어간다 */
.util__adm { color: var(--accent); }
.util__adm::before { content: '·'; color: var(--ink-3); margin-right: 14px; }

.gnb { display: flex; gap: 2px; justify-content: flex-end; margin-top: 7px; }
.gnb a {
  display: grid; justify-items: center; gap: 1px; text-decoration: none;
  padding: 7px 17px 8px; border-radius: var(--r) var(--r) 0 0;
  color: var(--ink-2); line-height: 1.25;
  transition: background-color .14s ease-out, color .14s ease-out;
}
.gnb a:hover { background: var(--accent-soft); color: var(--accent); }
.gnb a[aria-current="page"] { background: var(--accent); color: #fff; }
.gnb a[aria-current="page"] .gnb__en { color: oklch(.92 .02 237); }
.gnb__ko { font-size: .9375rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.gnb__en {
  font-family: var(--mono); font-size: .5625rem; letter-spacing: .06em;
  color: var(--ink-3); text-transform: lowercase; white-space: nowrap;
}

@media (min-width: 900px) {
  .hdr__bar { align-items: flex-start; padding-block: 12px 0; }
  .hdr__right { display: block; margin-left: auto; }
  .logo { padding-bottom: 10px; }
  .logo__mark { width: 62px; height: 62px; }
  .logo__ko { font-size: 1.3125rem; }
  .logo__en { font-size: .6875rem; }
  .burger { display: none; }
}

/* --- 메인 배너 ---------------------------------------------------------- */
/* 원본 배너 그림을 자르지 않고 통째로 (세계지도 + 빌딩). 폰에서는 문구가 읽히게 가운데를 확대해 보인다 */
.hero { padding-top: 12px; }
.hero__img {
  display: block; width: 100%; height: auto; border-radius: 10px;
  background: oklch(.62 .045 234);
}
@media (max-width: 599px) {
  .hero__img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 47% 50%; }
}

/* --- 2단 골격 ----------------------------------------------------------- */
/* DOM 순서 = 배너 · 본문 · 영상레일 · 좌측메뉴 (폰에서는 이 순서로 한 줄). 화면 배치는 grid 로 원본처럼 */
.shell { display: grid; gap: 0; padding-block: 0 40px; }
.content { min-width: 0; }

@media (min-width: 900px) {
  .shell { grid-template-columns: 196px minmax(0, 1fr); gap: 0 34px; padding-block: 0 56px; }
  .hero { grid-column: 1 / -1; grid-row: 1; }
  .side { grid-column: 1; grid-row: 2; }
  .content { grid-column: 2; grid-row: 2; }
  .rail--here { grid-column: 1 / -1; grid-row: 3; }
}
/* 넓은 화면: 오른쪽에 영상 레일 칸을 더한다. 본문이 줄지 않게 쪽 폭을 넓힌다 */
@media (min-width: 1280px) {
  :root { --page: 1280px; }
  .shell { grid-template-columns: 196px minmax(0, 1fr) 212px; gap: 0 28px; }
  .hero { grid-column: 1 / 3; }
  .rail, .rail--here { grid-column: 3; grid-row: 1 / 3; }   /* 보이기는 레일 구역에서 (뒤에 오는 display:none 을 이기도록) */
}

/* 본문 안에서는 섹션 여백을 줄인다 — 원본이 촘촘했다 */
.content .section { padding-block: 34px; }
.content .section:first-child { padding-top: 26px; }

/* --- 좌측 칼럼 ---------------------------------------------------------- */
.side { margin-top: 30px; }
/* 헤더가 위에 붙어 있으므로 그 아래에서 멈춘다 (top:16 이면 헤더 밑으로 숨었다) */
@media (min-width: 900px) {
  :root { --hdr-h: 93px; }
  /* 메뉴가 화면보다 길면(Magnetic 트리 1145px) 메뉴 안에서 굴린다 — 고정한 채 아래 카드가 가려지지 않게 */
  .side {
    margin-top: 22px; position: sticky; top: calc(var(--hdr-h) + 14px); align-self: start;
    max-height: calc(100vh - var(--hdr-h) - 28px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  }
}

.side__box {
  border: 1px solid var(--line); border-radius: var(--r-2);
  background: var(--surface); overflow: hidden;
}
.side__h {
  display: grid; gap: 1px; cursor: pointer; list-style: none;
  padding: 12px 14px; background: var(--accent); color: #fff; min-height: 44px;
  align-content: center;
}
.side__h::-webkit-details-marker { display: none; }
.side__h { position: relative; }
.side__h::after {
  content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: .75rem; opacity: .85;
}
@media (min-width: 900px) { .side__h::after { display: none; } }
.side__box[open] .side__h::after { content: '▴'; }
.side__ko { font-size: .9375rem; font-weight: 700; letter-spacing: -.02em; }
.side__en { font-family: var(--mono); font-size: .5625rem; letter-spacing: .08em; color: oklch(.92 .02 237); }

.side__tree { padding: 4px 0 10px; }
.side__brand + .side__brand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.side__bname {
  margin: 0; padding: 8px 14px 4px; font-size: .75rem; font-weight: 700;
  color: var(--accent-deep); letter-spacing: -.01em;
}
.side__tree ul { list-style: none; margin: 0; padding: 0; }
.side__tree li a {
  display: block; padding: 7px 14px 7px 22px; min-height: 36px;
  font-size: .8125rem; color: var(--ink-2); text-decoration: none; line-height: 1.5;
  position: relative;
}
.side__tree li a::before {
  content: ''; position: absolute; left: 13px; top: 15px;
  width: 3px; height: 3px; border-radius: 50%; background: var(--line-2);
}
.side__tree li a:hover { color: var(--accent); background: var(--accent-soft); }
.side__tree li a:hover::before { background: var(--accent); }

.side__cards { display: grid; gap: 9px; margin-top: 12px; }
@media (min-width: 560px) and (max-width: 899px) { .side__cards { grid-template-columns: repeat(3, 1fr); } }

.scard {
  display: grid; gap: 2px; align-content: center;
  border: 1px solid var(--line); border-radius: var(--r-2); background: var(--paper);
  padding: 13px 14px; min-height: 62px; text-decoration: none; color: inherit;
  transition: border-color .14s ease-out, background-color .14s ease-out;
}
.scard:hover { border-color: var(--accent); background: var(--accent-soft); }
.scard__t { font-size: .8125rem; font-weight: 700; color: var(--accent-deep); }
.scard__v { font-family: var(--mono); font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.scard__s { font-size: .75rem; color: var(--ink-3); line-height: 1.5; }
.scard--dl { border-style: dashed; }

/* --- 메인 패널 박스 (원본의 「제품정보 / 기술자료」 탭 박스) ---------------- */
.pbox { margin-top: 22px; }
.pbox:first-of-type { margin-top: 24px; }

.pbox__head { display: flex; align-items: flex-end; gap: 10px; }
.pbox__head--right { justify-content: flex-end; flex-direction: row-reverse; }
.pbox__tab {
  display: inline-block; padding: 8px 20px 9px;
  background: linear-gradient(180deg, oklch(.58 .075 235), oklch(.49 .085 236));
  color: #fff; font-size: .875rem; font-weight: 700; letter-spacing: -.02em;
  border-radius: var(--r-2) var(--r-2) 0 0;
}
.pbox__more {
  margin-left: auto; margin-bottom: 6px; display: inline-flex; align-items: center; gap: 3px;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em;
  color: var(--ink-3); text-decoration: none;
}
.pbox__head--right .pbox__more { margin-left: 0; margin-right: auto; }
.pbox__more:hover { color: var(--accent); }

.pbox__body {
  border: 1px solid var(--line); border-radius: 0 var(--r-2) var(--r-2) var(--r-2);
  background: var(--surface); padding: 18px 16px;
}
.pbox__head--right + .pbox__body { border-radius: var(--r-2) 0 var(--r-2) var(--r-2); }

.pbox__body--brands { display: grid; gap: 12px; }
@media (min-width: 680px) { .pbox__body--brands { grid-template-columns: 1fr 1fr; } }

.prow {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 13px; align-items: start;
  padding: 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); text-decoration: none; color: inherit;
  transition: border-color .14s ease-out, box-shadow .14s ease-out;
}
.prow:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.prow img { border-radius: 3px; width: 100%; }
.prow__txt { display: grid; gap: 3px; min-width: 0; }
.prow__n { font-size: .875rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.prow__o { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; color: var(--accent); }
.prow__s { font-size: .8125rem; color: var(--ink-2); line-height: 1.55; }

.pbox__body--tech { display: grid; gap: 16px; align-items: center; }
@media (min-width: 680px) { .pbox__body--tech { grid-template-columns: minmax(0, 1fr) 280px; } }
.tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tlist li a {
  display: block; padding: 9px 12px 9px 20px; min-height: 40px; position: relative;
  font-size: .875rem; color: var(--ink-2); text-decoration: none; border-radius: var(--r);
  line-height: 1.5;
}
.tlist li a::before {
  content: '·'; position: absolute; left: 9px; color: var(--accent); font-weight: 700;
}
.tlist li a:hover { background: var(--accent-soft); color: var(--accent); }
.pbox__img { border-radius: var(--r); margin-inline: auto; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  font-size: .8125rem; padding: 6px 12px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
}

/* --- 서브페이지 머리 (원본 스타일) -------------------------------------- */
.phead {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 20px 0 11px; border-bottom: 2px solid var(--accent); margin-bottom: 4px;
}
.phead__t {
  margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.3;
  position: relative; padding-left: 14px;
}
.phead__t::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 1px;
}
@media (min-width: 720px) { .phead__t { font-size: 1.5rem; } }
.phead .crumb {
  margin: 0 0 0 auto; font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .04em; color: var(--ink-3); display: flex; gap: 6px; align-items: center;
}
/* 폰: 항목 사이에서만 줄바꿈 (글자 중간에서 끊겨 「HOM/E」 가 되던 것) */
.phead .crumb { flex-wrap: wrap; row-gap: 2px; }
.phead .crumb > * { white-space: nowrap; }
.phead .crumb a { color: inherit; text-decoration: none; }
.phead .crumb a:hover { color: var(--accent); }
.phead__lead {
  margin: 14px 0 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.7; max-width: 62ch;
}

/* --- 모바일 본문 하한 15px (2026-09-21 홍회장 확정 기준) ------------------
   원본은 11~12px 이었다. PC 비율은 유지하되 폰에서는 읽히는 크기로 올린다. */
@media (max-width: 719px) {
  .prow__s,
  .tlist li a,
  .chips li,
  .scard__s,
  .side__tree li a,
  .inq__grid,
  .ftr,
  .cat__col li,
  .ticks li           { font-size: .9375rem; }
  .prow__n            { font-size: 1rem; }
  .phead__lead        { font-size: 1rem; }
  .scard__t,
  .side__bname        { font-size: .875rem; }
  .crumb,
  .pbox__more         { font-size: .75rem; }
}

/* ==========================================================================
   원본 본문 (tools/convert.py 가 옮긴 HTML) — 2026-09-21
   원본의 font 태그·고정폭·색을 걷어냈으므로 여기서 한 벌로 다시 입힌다.
   ========================================================================== */
.orig { padding-top: 18px; font-size: .9375rem; line-height: 1.7; color: var(--ink-2); }
.orig > * + * { margin-top: 12px; }
.orig p { margin: 0 0 10px; }
/* 그림 든 문단·정렬 지정 문단은 칸 폭 그대로 — 전역 68ch(612px) 제한이 제목 그림과 가운데 문단을 좁은 상자에 가뒀다.
   일반 글 문단은 68ch 유지 (원본 글 상자 600px 와 비슷) (09-23) */
.orig p:has(img), .orig p[align] { max-width: none; }
.orig h3 {
  margin: 26px 0 10px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); padding-left: 12px; position: relative;
}
.orig h3::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 5px; height: 5px;
  background: var(--accent); border-radius: 1px;
}
.orig h3:first-child { margin-top: 4px; }
.orig b, .orig strong { color: var(--ink); font-weight: 700; }
.orig a { color: var(--accent); text-underline-offset: 2px; }
.orig a:hover { color: var(--accent-deep); }
.orig img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; border-radius: 2px; }
.orig ul, .orig ol { padding-left: 1.2em; margin: 6px 0 12px; }
.orig li { margin: 3px 0; }

/* 표 ① 배치용 — 원본이 칸 나누기에 쓴 표. 선 없이 원본 정렬(align)대로 */
.orig table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.orig td, .orig th { padding: 3px 8px; vertical-align: top; line-height: 1.55; }
.orig td img { max-width: 100%; }
/* 번호·그림·설명이 같은 칸에 세로로 맞는 표 (FastLock 1·2·3) — 폰에서도 칸을 유지한다 */
.orig table.cols { table-layout: fixed; }
/* 원본 상자 폭 비율(%)을 받은 배치 표 — 비율 그대로. 자동 배치는 폭 100% 표를 품은 칸에 폭을 몰아줘
   옆 칸 그림을 눌렀다 (disc_type 281→43px, 09-23) */
.orig table.band { table-layout: fixed; }
.orig table.cols td { text-align: center; vertical-align: top; }
/* 원본은 목록 한 줄 = 표 한 줄이라 문단 여백이 줄마다 쌓였다 (safety_coupling 목록이 그림 두 배 길이로) */
.orig td > p:last-child, .orig td > p:only-child { margin-bottom: 0; }

/* 표 ② 사양표 — 모델·토크·재질·치수. 격자로 */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; }
.tscroll::-webkit-scrollbar { height: 6px; }
.tscroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.orig table.spec { font-size: .8125rem; line-height: 1.55; background: var(--paper); margin: 0; }
.orig table.spec td, .orig table.spec th {
  border: 1px solid var(--line); padding: 7px 9px; vertical-align: middle; text-align: center;
}
.orig table.spec tr:first-child td, .orig table.spec th {
  background: var(--surface-2); color: var(--ink); font-weight: 700;
}
.orig table.spec tr:not(:first-child):hover td { background: var(--accent-soft); }
/* 크기 지정이 없는 사양표 사진만 72px 로 묶는다 — 원본이 크기를 정한 그림(disc_type 281px 등)까지 72px 로 눌렀다 (09-23) */
.orig table.spec td img:not([width]) { max-width: 72px; }
/* 모델명(KBK/LLP 등)이 글자 중간에서 끊기지 않게 — body 의 overflow-wrap:anywhere 를 여기서 끈다 */
.orig table.spec td, .orig table.spec th { overflow-wrap: normal; word-break: keep-all; }
.orig table.spec td a { font-weight: 600; }

/* 모델 상세(원본 팝업): 도면·사양·그래프 이미지가 본체 — 크게, 누르면 원본 크기로 */
/* 한 문단에 나란히 있던 그림(FastLock 1·2·3 등)이 세로로 쌓이지 않게 inline 으로 흐르게 둔다 (09-21 수정) */
/* 모델 쪽도 정렬은 원본 문단(p align)을 따른다 — 쪽 전체 가운데 정렬은 설명글·표 값까지 가운데로 밀었다 (09-23 제거) */
.orig--model img { display: inline-block; vertical-align: top; margin: 8px 4px; border: 1px solid var(--line); cursor: zoom-in; }
.backto { margin: 12px 0 0; font-size: .8125rem; }
.backto a { color: var(--ink-3); text-decoration: none; }
.backto a:hover { color: var(--accent); }

/* 모바일: 사양표는 줄이지 않고 가로로 민다(숫자가 줄바꿈되면 못 읽는다),
   배치용 표는 칸을 풀어 흐르게 한다(원본 1024 고정 격자가 폰에서 찌그러지지 않게) */
@media (max-width: 719px) {
  .orig table.spec { min-width: 560px; }
  .orig table.spec td img { max-width: 64px; }
  .tscroll { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }

  .orig table:not(.spec):not(.cols), .orig table:not(.spec):not(.cols) > tbody { display: block; width: 100%; }
  .orig table:not(.spec):not(.cols) tr { display: flex; flex-wrap: wrap; width: 100%; }
  .orig table:not(.spec):not(.cols) td, .orig table:not(.spec):not(.cols) th { display: block; flex: 1 1 150px; min-width: 0; }
}

/* 제조사 탭 — 제목 바로 아래 */
.phead + .tabs--nav, .phead + .backto { margin-top: 10px; }

/* 영상 (Magnetic 개요) */
.vids { margin-top: 30px; }
.vids__h { font-size: 1.0625rem; margin: 0 0 14px; }

/* 좌측 메뉴 — 현재 위치 표시, 브랜드명이 링크 */
.side__tree a[aria-current="page"] { color: var(--accent); font-weight: 700; background: var(--accent-soft); }
.side__tree a[aria-current="page"]::before { background: var(--accent); }
a.side__bname { display: block; text-decoration: none; }
a.side__bname:hover { color: var(--accent); }
.side__tree > ul { padding: 4px 0; }

/* 고객지원 연락처 */
.contact {
  display: grid; gap: 10px; margin: 26px 0 0; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface);
}
@media (min-width: 560px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; color: var(--ink-3); }
.contact dd { margin: 2px 0 0; font-weight: 600; }

/* 사이트맵 */
.smap { display: grid; gap: 22px; padding-top: 22px; }
@media (min-width: 640px) { .smap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .smap { grid-template-columns: repeat(3, 1fr); } }
.smap__col h3 { font-size: .9375rem; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }
.smap__col ul { list-style: none; margin: 0; padding: 0; }
.smap__col li a { display: block; padding: 6px 0; font-size: .875rem; color: var(--ink-2); text-decoration: none; }
.smap__col li a:hover { color: var(--accent); }

/* 하단 — 원본 주소바 구성 (로고 + 주소·연락처 + 저작권) */
.ftr__row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-block: 22px; }
.ftr__logo { display: flex; align-items: center; gap: 10px; }
.flogo__mark { width: 44px; height: 44px; flex: 0 0 auto; }
.flogo__txt { display: flex; flex-direction: column; line-height: 1.2; }
.flogo__ko { color: var(--on-deep); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.flogo__en { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; }
.ftr__addr { font-style: normal; font-size: .8125rem; line-height: 1.75; }
.ftr__addr a { color: inherit; }
.ftr__legal { border-top: 1px solid oklch(1 0 0 / .08); padding-block: 12px; font-size: .6875rem; letter-spacing: .04em; opacity: .8; }

/* ==========================================================================
   최종 QA 반영 (2026-09-21) — 원본 대조에서 나온 차이 교정
   ========================================================================== */

/* 메인 왼쪽 칸 = 원본의 제조사 카드 (사진·이름·소개글·more) */
.side__box--home .side__h { cursor: default; }
.side__box--home .side__h::after { display: none; }
.hbrand { display: grid; gap: 6px; padding: 12px 14px 14px; text-decoration: none; color: inherit; border-top: 1px solid var(--line); }
.hbrand:first-of-type { border-top: 0; }
.hbrand img { width: 100%; border-radius: 3px; border: 1px solid var(--line); background: #fff; }
.hbrand__n { font-size: .8125rem; font-weight: 700; color: var(--accent-deep); letter-spacing: -.01em; }
.hbrand__t { font-size: .75rem; line-height: 1.6; color: var(--ink-2); }
.hbrand__more { font-family: var(--mono); font-size: .625rem; color: var(--ink-3); justify-self: end; }
.hbrand:hover .hbrand__n, .hbrand:hover .hbrand__more { color: var(--accent); }
@media (max-width: 899px) {
  .side__box--home { display: grid; }
  @media (min-width: 560px) { .side__box--home { grid-template-columns: 1fr 1fr; } .side__box--home .side__h { grid-column: 1 / -1; } }
}

/* 메인 가운데 「제품정보」 = 원본의 제품 사진 + ▶ 두 제조사 */
.pbox__body--prod { display: grid; gap: 16px; align-items: center; }
@media (min-width: 680px) { .pbox__body--prod { grid-template-columns: 280px minmax(0, 1fr); } }
.pbox__photo { border-radius: var(--r); margin-inline: auto; }
.plinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plinks a { display: block; padding: 9px 10px; min-height: 42px; font-size: .9375rem; font-weight: 700;
  color: var(--ink); text-decoration: none; border-radius: var(--r); letter-spacing: -.01em; }
.plinks a span { color: var(--accent); font-size: .75rem; margin-right: 4px; }
.plinks a:hover { background: var(--accent-soft); color: var(--accent); }

/* 고객문의 칸 — 원본은 전화 두 줄 */
.scard__v--2 { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }

/* 오른쪽 영상 레일 — 원본 썸네일(190×94) 4개. 누르면 화면 위에 크게 재생 */
.rail { display: none; }
.rail--here { display: block; margin-top: 30px; }
.rail__box { border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); overflow: hidden; }
.rail__h {
  margin: 0; display: grid; gap: 1px; padding: 12px 14px; min-height: 44px; align-content: center;
  background: var(--accent); color: #fff;
}
.rail__ko { font-size: .9375rem; font-weight: 700; letter-spacing: -.02em; }
.rail__en { font-family: var(--mono); font-size: .5625rem; letter-spacing: .08em; color: oklch(.92 .02 237); }
.rail__list { display: grid; gap: 8px; padding: 10px; }
@media (min-width: 560px) and (max-width: 1279px) { .rail__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1279px) { .rail__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) {
  .rail { display: block; margin-top: 12px; position: sticky; top: calc(var(--hdr-h) + 14px); align-self: start; }
  .rail__list { max-height: calc(100vh - var(--hdr-h) - 88px); overflow-y: auto; overscroll-behavior: contain; }
}
.svid { display: grid; gap: 6px; text-align: left; font: inherit; cursor: pointer; padding: 6px 6px 8px;
  border: 1px solid var(--line); border-radius: var(--r-2); background: var(--paper); }
.svid:hover { border-color: var(--accent); background: var(--accent-soft); }
.svid__t { font-size: .75rem; font-weight: 700; color: var(--accent-deep); line-height: 1.4; padding-inline: 2px; }
.svid__img { position: relative; display: block; }
.svid__img img { width: 100%; height: auto; border-radius: 3px; display: block; }
.svid .vid__icon { width: 40px; height: 28px; }
.vmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: oklch(.15 .02 240 / .78); }
.vmodal[hidden] { display: none; }
.vmodal__box { width: min(960px, 100%); }
.vmodal__box iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-2); background: #000; display: block; }
.vmodal__x { display: block; margin: 0 0 8px auto; font: inherit; font-size: .875rem; font-weight: 700; color: #fff;
  background: none; border: 1px solid oklch(1 0 0 / .4); border-radius: var(--r); padding: 8px 14px; min-height: 40px; cursor: pointer; }

/* 폰의 사양표 — 칸을 좁히지 않고(한 단어씩 줄바꿈되던 문제) 옆으로 밀게, 밀 수 있다고 알려준다 */
@media (max-width: 719px) {
  .orig table.spec { min-width: 760px; }
  .tscroll::before {
    content: '← 표를 옆으로 밀어서 보세요 →'; display: block; position: sticky; left: 0;
    font-size: .75rem; color: var(--ink-3); padding: 0 0 6px;
  }
}

/* ==========================================================================
   오시는 길 — 카카오 지도 (2026-09-21 추가개발)
   ========================================================================== */
.kmap { margin: 6px 0 22px; }
.kmap__map {
  width: 100%; height: 340px; border: 1px solid var(--line); border-radius: var(--r-2);
  background: var(--surface);
}
@media (min-width: 720px) { .kmap__map { height: 440px; } }
.kmap__img { margin: 0; }
.kmap__img img { border: 1px solid var(--line); border-radius: var(--r-2); }
.kmap__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface);
}
.kmap__addr { font-style: normal; font-size: .875rem; line-height: 1.6; color: var(--ink-2); }
.kmap__addr strong { color: var(--ink); }
.kmap__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.kmap__btns .btn { min-height: 40px; padding-inline: 14px; font-size: .875rem; text-decoration: none; }
/* 본문(.orig) 링크 색이 단추 글자를 덮지 않게 */
.orig .kmap__btns .btn--primary { color: #fff; }
.orig .kmap__btns .btn:not(.btn--primary) { color: var(--accent); border: 1px solid var(--accent); background: var(--paper); }
.orig .kmap__btns .btn:not(.btn--primary):hover { background: var(--accent-soft); }
.kmap__pin { padding: 6px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; color: #222; }

/* 오시는 길 — 지도 아래 교통 안내 (2026-10-05) */
.kmap__way { margin: 18px 0 0; display: grid; gap: 1px; background: var(--line, #e3e7ee);
  border: 1px solid var(--line, #e3e7ee); border-radius: 10px; overflow: hidden; }
.kmap__way > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 16px;
  padding: 14px 16px; background: var(--bg, #fff); align-items: baseline; }
.kmap__way dt { font-weight: 700; font-size: .875rem; color: var(--ink, #1c2430); word-break: keep-all; }
.kmap__way dd { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--ink-2, #44505f); word-break: keep-all; }
@media (max-width: 640px) {
  .kmap__way > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; }
  .kmap__way dt { font-size: .8125rem; color: var(--accent, #0b5cab); }
}
