/* =====================================================
   케이공작기계몰 — 첫차(web.chutcha.net) 1:1 대조 퍼블리싱
   수치 출처: 첫차 원본 CSS + 1920 렌더 실측 (specs/2026-09-18-chutcha-clone/spec.md)
   치환: 포인트색 #233cfa → #0B3470(로고 네이비). 그 외 수치는 원본 그대로.
   ===================================================== */

/* 폰트: 원본과 같은 Pretendard 웹폰트만 쓴다.
   CDN의 pretendard.css는 local()을 먼저 찾아 PC에 설치된 TTF(세로 메트릭이 다름)가 잡히므로,
   별도 이름으로 woff2만 직접 선언한다. (원본도 local('Pretendard JP …')라 사실상 웹폰트를 쓴다) */
@font-face { font-family: 'KT Pretendard'; font-weight: 400; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2) format('woff2'); }
@font-face { font-family: 'KT Pretendard'; font-weight: 500; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Medium.woff2) format('woff2'); }
@font-face { font-family: 'KT Pretendard'; font-weight: 600; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'KT Pretendard'; font-weight: 700; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2) format('woff2'); }
@font-face { font-family: 'KT Pretendard'; font-weight: 800; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-ExtraBold.woff2) format('woff2'); }

/* 플러그인 화면(마이페이지·회원·쇼핑·게시판)은 'Pretendard' / 'Pretendard Variable' 이름을 쓴다.
   같은 woff2를 그 이름으로도 선언해 테마와 같은 웹폰트가 잡히게 한다. (local() 없음 → PC 설치 TTF 안 잡힘) */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 800; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-ExtraBold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard Variable'; font-weight: 400; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard Variable'; font-weight: 500; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard Variable'; font-weight: 600; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard Variable'; font-weight: 700; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2) format('woff2'); }
@font-face { font-family: 'Pretendard Variable'; font-weight: 800; font-display: swap; src: url(https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-ExtraBold.woff2) format('woff2'); }

/* ===================
   1. CSS Variables
   =================== */
:root {
  --point: #0B3470;          /* 원본 #233cfa */
  --point-tint: #dce4f0;     /* 원본 #d6e3ff */
  --ink: #181818;
  --gray-60: #757579;
  --gray-50: #6f6f73;       /* 원본 #9e9ea1(2.7:1) → 대비 확보 5.0:1 (사용자 확정) */
  --gray-40: #bdbdbf;
  --gray-30: #e0e0e2;
  --gray-20: #eeeef0;
  --gray-10: #f5f5f6;
  --gray-5: #fafafb;
  --line-dark: #424246;
  --banner-dark: #18212f;
  --banner-sub: #55617c;     /* 버튼 테두리용 */
  --banner-sub-txt: #8792a8; /* 원본 부제 #55617c(2.6:1) → 5.3:1 (사용자 확정) */
  --kv-bg: #0B3470;          /* 원본 #80b5ce → 로고 네이비 (사용자 확정) */
  --font: 'KT Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', 'Noto Sans KR', sans-serif;
  --cont: 1136px;
}

/* 이 테마는 흰 바탕 전용이다. 공통 부품(마이페이지 fxm-·알림 fhc-)은 PC 가 다크 모드면
   어두운 색 토큰으로 바뀌어 흰 바탕 위 밝은 글자가 되므로, 라이트 값으로 고정한다.
   (부품 쪽 주석: "테마가 토큰을 정의하지 않은 사이트를 위한 다크 폴백") */
html:root {
  color-scheme: light;
  --fxm-surface: #ffffff; --fxm-surface-2: #f7f8fa; --fxm-surface-hover: #f0f2f5;
  --fxm-ink: #1a1a1a; --fxm-muted: #5f6368; --fxm-faint: #8f9296;
  --fxm-line: #e5e5e8; --fxm-line-2: #eef0f2;
  --fxm-badge-bg: #eef1f5; --fxm-badge-ink: #3a3f54;
  --fxm-field-bg: #ffffff; --fxm-field-line: #c9c9cf;
  --fxm-ok: #1e7a34; --fxm-ok-bg: #eaf7ee; --fxm-warn: #9a6b00; --fxm-warn-bg: #fdf3df;
  --fxm-danger: #a3242c; --fxm-danger-bg: #fbeaea;
  --fxm-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --fhc-surface: #ffffff; --fhc-surface-2: #f7f9fc; --fhc-unread: #eef4fb;
  --fhc-ink: #1a1a1a; --fhc-muted: #5f6368; --fhc-faint: #8f9296;
  --fhc-line: #e5e5e8; --fhc-line-2: #f0f0f2; --fhc-link: #2271b1;
  --fhc-field: #ffffff; --fhc-field-line: #c9c9cf;
  --fhc-ok: #1e7a34; --fhc-ok-bg: #eaf7ee; --fhc-danger: #a3242c; --fhc-danger-bg: #fbeaea;
  --fhc-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

/* ===================
   2. Reset & Base
   =================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.2;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font-family: inherit; color: inherit; }
dl, dd { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, label:focus-visible {
  outline: 2px solid var(--point);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--point); color: #fff; padding: 12px 16px; font-size: 14px;
}
.skip-link:focus { left: 16px; top: 8px; }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* (사용 안 함) 시안 고지는 푸터 저작권 줄로 옮김 */
.sample-badge { display: none;
  position: fixed; left: 16px; bottom: 16px; z-index: 250;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(24,24,24,.86); color: #fff;
  font-size: 12px; font-weight: 500; line-height: 1.4;
  pointer-events: none;
}

/* ===================
   3. Layout
   =================== */
.cont { width: 100%; max-width: var(--cont); margin: 0 auto; }

/* ===================
   4. Components
   =================== */

/* --- 헤더 (원본 header_*) --- */
.hd { width: 100%; border-bottom: 1px solid var(--gray-20); background: #fff; position: relative; z-index: 100; }
.hd__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; min-height: 80px;
}
.hd__left, .hd__right { display: flex; align-items: center; }
.hd__left { padding-right: 12px; }
.hd__right { padding-left: 12px; }
.hd__logo { display: block; width: 40px; height: 40px; margin-right: 8px; flex-shrink: 0; }
.hd__logo img { width: 40px; height: 40px; }
.gnb { display: flex; align-items: center; padding-right: 12px; }
.gnb__item { display: flex; align-items: center; padding: 0 12px; }
.gnb__item a { position: relative; font-size: 18px; font-weight: 700; line-height: 1.2; display: inline-flex; align-items: center; }
/* 원본 레이아웃(글자 22px 높이)은 그대로 두고, 터치 영역만 44px로 넓힌다 */
.hit, .more__btn { position: relative; }
.hd__logo, .kw-chips a, .lnb a, .seg li, .car-ad__more a, .chk label, .view-all { position: relative; }
.gnb__item a::after, .hit::after, .more__btn::after, .recent::after, .hd-cta::after,
.hd__logo::after, .kw-chips a::after, .lnb a::after, .seg label::after, .car-ad__more a::after, .view-all::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%);
}
.hd__logo::after { left: -2px; right: -2px; } /* 40px 로고만 가로 2px씩 (옆 요소와 8px 떨어져 있음) */
.gnb__item a:hover { color: var(--point); }
.gnb__item a[aria-current="page"] { color: var(--point); }
.more { position: relative; }
.more__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 9px 16px; border-radius: 100px; background: var(--gray-20);
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.more__btn:hover { background: var(--gray-30); }
.more__btn svg { width: 8px; height: 8px; margin-left: 4px; }
.more__drop {
  display: none; position: absolute; top: 100%; left: 0; z-index: 50;
  width: 120px; margin-top: 8px; padding: 8px 0;
  border: 1px solid var(--gray-30); border-radius: 8px; background: #fff;
}
.more.is-open .more__drop { display: block; }
.more__drop a { display: block; padding: 8px 16px; font-size: 13px; line-height: 1.2; }
.more__drop a:hover { text-decoration: underline; }

.hd-search {
  display: flex; align-items: center; width: 272px; height: 40px;
  border: 1px solid var(--line-dark); border-radius: 8px; padding: 0 16px;
}
.hd-search svg { width: 14px; height: 14px; flex-shrink: 0; margin-right: 6px; }
.hd-search input { flex: 1; min-width: 0; height: 44px; margin: -3px 0; border: 0; background: none; font-size: 13px; }
.hd-search input::placeholder { color: var(--ink); }
.hd-search input:focus-visible { outline: none; }
.hd-search:focus-within { outline: 2px solid var(--point); outline-offset: 2px; }
.hd__sec { padding-right: 32px; display: inline-flex; align-items: center; }
.hd__sec:last-of-type { padding-right: 0; } /* 뒤에 숨은 모바일 메뉴 버튼이 있어 last-child가 아니다 */
.recent { position: relative; display: inline-flex; align-items: center; }
.recent__txt { font-size: 14px; font-weight: 600; line-height: 1.2; padding-right: 6px; }
.recent__cnt {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px;
  padding: 3px 4px; border-radius: 24px; background: var(--point-tint); color: var(--point);
  font-size: 12px; font-weight: 600; line-height: 1.19;
}
.hd-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 32px; padding: 0 16px; border-radius: 16px; background: var(--point); color: #fff; /* 원본 고정폭 92 */
  font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.hd-cta:hover { background: #06204A; }
/* 회원 메뉴(로그인·마이페이지 등) — 헤더 맨 오른쪽, 주 메뉴보다 가볍게, 앞에 구분선 */
.hd-util { display: flex; align-items: center; margin-left: 24px; padding-left: 12px; border-left: 1px solid var(--gray-30); }
.hd-util__list { display: flex; align-items: center; }
.hd-util__item a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--gray-60); white-space: nowrap; }
.hd-util__item:last-child a { padding-right: 0; }
.hd-util__item a:hover { color: var(--point); }
.hd__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hd__toggle svg { width: 24px; height: 24px; }

/* --- 매물 카드 (원본 car_item_*) --- */
.car { position: relative; width: 100%; height: 100%; }
.car > a, .car > div { display: flex; flex-direction: column; width: 100%; height: 100%; }
.car__photo { position: relative; width: 100%; padding-bottom: 75%; order: 0; }
.car__frame {
  position: absolute; inset: 0; border-radius: 8px; overflow: hidden; background: var(--gray-20);
}
.car__frame > img { width: 100%; height: 100%; object-fit: cover; }
.car__mark { position: absolute; top: 3%; right: 3%; width: 13%; z-index: 2; }
.car__mark img { width: 100%; border-radius: 50%; background: rgba(255,255,255,.85); }
.car__empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #5f5f63; /* 기준 #9e9ea1은 2.3:1이라 대비 확보 */
}
.car__sold {
  position: absolute; inset: 0; z-index: 3; background: rgba(0,0,0,.6); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.car__sold span {
  width: 96px; height: 96px; border-radius: 50%; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 700;
}
.car__tit {
  order: 1; padding-top: 16px; font-size: 15px; font-weight: 400; line-height: 1.3333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.car__info { order: 2; padding-top: 2px; font-size: 13px; line-height: 1.3846; }
.car__price { order: 2; padding-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.4667; }
.car__label { order: 2; padding-top: 8px; display: flex; align-items: center; height: auto; }
.car__label span {
  display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 2px;
  background: var(--point-tint); color: var(--point); font-size: 11px; font-weight: 600;
}
.car__meta { order: 2; padding-top: 8px; display: flex; align-items: center; }
.car__meta span { display: inline-flex; align-items: center; padding-right: 8px; font-size: 12px; line-height: 1.3333; color: var(--gray-50); }
.car__meta svg { width: 14px; height: 14px; margin-right: 4px; }
a.car__link:hover .car__tit { text-decoration: underline; }

/* 테마 소개 카드 (원본 car_list_ad_*) */
.car-ad .car__tit { font-weight: 600; text-align: center; line-height: 1.467; }
.car-ad .car__info { text-align: center; padding-top: 4px; }
.car-ad__more { order: 3; padding: 16px 12px 0; }
.car-ad__more a {
  display: flex; align-items: center; justify-content: center; height: 40px;
  border: 1px solid var(--gray-60); border-radius: 4px; font-size: 15px; line-height: 1.467;
}
.car-ad__more a:hover { background: var(--gray-10); }

/* 섹션 제목 (원본 main_section_wrap h2 / main_view_all) */
.sec { position: relative; }
.sec__tit { font-size: 24px; font-weight: 700; line-height: normal; }
.view-all {
  position: absolute; top: 9px; right: 0; display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 500;
}
.view-all svg { width: 10px; height: 12px; margin-left: 4px; }
.view-all:hover { text-decoration: underline; }

/* ===================
   5. Sections
   =================== */

/* --- 키비주얼 (원본 main_kv_*) --- */
.kv { height: 320px; background: var(--kv-bg); overflow: hidden; }
.kv__inner { position: relative; height: 100%; }
.kv__photo {
  position: absolute; top: 0; right: 0; width: 600px; height: 100%;
}
.kv__photo img { width: 100%; height: 100%; object-fit: cover; }
.kv__photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--kv-bg) 0%, rgba(11,52,112,.55) 35%, rgba(11,52,112,0) 70%);
}
.kv__copy { position: absolute; left: 64px; top: 97px; z-index: 2; color: #fff; }
.kv__tit { font-size: 48px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.kv__sub { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,.92); }

/* --- 검색 카드 + 테마 영역 (원본 main_car_cont_wrap) --- */
.car-cont {
  position: relative; padding-top: 208px;
  background: linear-gradient(180deg, #f5f5f6, #f5f5f6 20.96%, #fff 42.16%);
}
.search-card {
  position: absolute; top: 0; left: 50%; z-index: 10; width: 1008px; padding: 32px;
  border-radius: 16px; background: #fff; box-shadow: 0 8px 18px 0 rgba(0,0,0,.05);
  transform: translate(-50%, -64px);
}
.search-card__tree { display: flex; justify-content: space-between; }
.search-card__frame {
  display: flex; flex-grow: 1; height: 64px; margin-right: 12px; border-radius: 8px; background: var(--gray-10);
}
.tree-btn {
  position: relative; flex-grow: 1; width: 100%; max-width: 33.3333%; height: 100%;
  padding: 0 24px; text-align: left; font-size: 15px; font-weight: 700;
}
.tree-btn::after {
  content: ''; position: absolute; top: 16px; right: 0; width: 1px; height: calc(100% - 32px); background: var(--gray-30);
}
.tree-btn:last-child::after { display: none; }
.tree-btn--brand { padding-left: 48px; }
.tree-btn--brand .tree-btn__car { position: absolute; left: 24px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
/* 원본처럼 글자 바로 뒤에 8px 화살표. 실제 선택은 투명 select가 덮어서 받는다 */
.tree-btn { display: flex; align-items: center; }
.tree-btn__txt { display: inline-flex; align-items: center; max-width: 100%; pointer-events: none; }
.tree-btn__txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tree-btn__txt svg { width: 8px; height: 8px; margin-left: 8px; flex-shrink: 0; }
.tree-btn.is-disabled .tree-btn__txt { color: var(--gray-40); }
.tree-btn.is-active .tree-btn__txt { color: var(--point); }
.tree-btn select {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  font-size: 15px; appearance: none; -webkit-appearance: none; border: 0;
}
.tree-btn select:disabled { cursor: auto; }
.tree-btn:focus-within { outline: 2px solid var(--point); outline-offset: -2px; border-radius: 8px; }
.search-card__go {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 8px; background: var(--point); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.search-card__go:hover { background: #06204A; }
.search-card__go svg { width: 26px; height: 26px; }
.search-card__ext {
  display: grid; grid-template-columns: auto 366px; gap: 8px; align-items: center; margin-top: 8px;
}
.kw-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } /* 원본 max-height+overflow는 히트 영역을 잘라서 제외 */
.kw-chips a {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  height: 40px; padding: 0 16px; border-radius: 40px; border: 1px solid var(--gray-30);
  font-size: 14px; font-weight: 500;
}
.kw-chips a:hover { border-color: var(--gray-50); }
.kw-search { display: flex; align-items: center; width: 100%; border-bottom: 1px solid var(--line-dark); }
.kw-search svg { width: 16px; height: 16px; margin-right: 8px; flex-shrink: 0; }
.kw-search input { flex: 1; min-width: 0; height: 56px; padding: 19px 0; border: 0; background: none; font-size: 15px; }
.kw-search input::placeholder { color: var(--ink); }
.kw-search input:focus-visible { outline: none; }
.kw-search:focus-within { border-bottom-color: var(--point); }

/* 테마 (원본 main_theme_wrap / theme_list_*) */
.theme { display: flex; flex-wrap: wrap; align-content: flex-start; }
.theme .sec__tit { width: 100%; }
.theme-tabs { position: relative; width: 100%; margin-top: 24px; }
.theme-tabs__track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.theme-tabs__track::-webkit-scrollbar { display: none; }
.theme-tab {
  flex: 0 0 140px; width: 140px; height: 64px; padding: 11px 15px 13px;
  border: 1px solid var(--gray-30); border-radius: 8px; background: #fff;
  font-size: 14px; font-weight: 500; line-height: 20px; white-space: pre-wrap;
}
.theme-tab:hover { border-color: var(--gray-50); }
.theme-tab.is-on { background: var(--point); color: #fff; }
.theme-tabs__next {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 96px; height: 100%; display: flex; align-items: center; justify-content: flex-end;
  background: linear-gradient(270deg, #f5f5f6 33.33%, rgba(245,245,246,0));
}
.theme-tabs__next span {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--gray-30); background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--gray-40);
}
.theme-tabs__next:hover span { border-color: var(--gray-50); color: var(--gray-50); }
.theme-tabs__next svg { width: 12px; height: 12px; }
.theme-tabs__next.is-hidden { display: none; }
.theme-list { width: 100%; margin-top: 32px; }
.theme-list ul {
  display: grid; gap: 40px 16px; grid-template-columns: repeat(auto-fit, minmax(272px, 272px));
}

/* 중간 배너 (원본 main_ad_cont_middle_banner) */
.mid-banner { padding-top: 80px; }
.mid-banner a {
  position: relative; display: block; height: 144px; border-radius: 8px; overflow: hidden; background: #1f2a3a;
}
.mid-banner__photo { position: absolute; top: 0; right: 0; width: 560px; height: 100%; }
.mid-banner__photo img { width: 100%; height: 100%; object-fit: cover; }
.mid-banner__photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #1f2a3a 0%, rgba(31,42,58,.4) 45%, rgba(31,42,58,0) 80%);
}
.mid-banner__copy { position: absolute; left: 64px; top: 40px; z-index: 2; color: #fff; }
.mid-banner__tit { font-size: 20px; font-weight: 700; line-height: 1.3; }
.mid-banner__sub { margin-top: 10px; font-size: 20px; font-weight: 400; line-height: 1.3; display: inline-flex; align-items: center; }
.mid-banner__sub svg { width: 12px; height: 14px; margin-left: 10px; }

/* 구매 전 체크 가이드 섹션 여백 (.guide2__* 내용 스타일은 아래 "v2에서 옮김" 블록에 있다) */
.tip { margin-top: 80px; }

/* 사이드 배너 (원본 ad_common_detail_*_float) */
main { position: relative; display: block; }
.side-ad { position: absolute; top: 360px; z-index: 20; width: 160px; } /* 페이지 기준 y441 = 헤더 81 + 360 */
.side-ad--l { left: calc(50% - 768px); }
.side-ad--r { left: calc(50% + 608px); }
.side-ad__card {
  position: relative; display: block; width: 160px; height: 320px; border-radius: 8px; overflow: hidden;
  background: #151c2a; color: #fff; text-align: center;
}
.side-ad__card img { position: absolute; left: 0; bottom: 0; width: 100%; height: 132px; object-fit: cover; }
.side-ad__card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100px; height: 40px;
  background: linear-gradient(180deg, #151c2a, rgba(21,28,42,0));
}
.side-ad__eyebrow { display: block; padding-top: 32px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.72); }
.side-ad__big { display: block; margin-top: 10px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.side-ad__btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 16px;
  width: 114px; height: 30px; border-radius: 4px; background: var(--point); font-size: 12px; font-weight: 500;
  position: relative; z-index: 2;
}
.side-ad__sub { display: block; width: 160px; height: 191px; padding-top: 28px; text-align: center; }
.side-ad__sub img { width: 112px; height: 84px; margin: 0 auto; object-fit: cover; border-radius: 8px; }
.side-ad__sub span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; line-height: 1.4; }

/* --- 푸터 (원본 footer_* / chutchaAppBanner_*) --- */
.ft { width: 100%; }
.ft-banner { padding: 0 48px; }
.ft-banner__inner {
  /* 원본은 가운데 정렬 결과 로고가 x589에 온다. 문구 길이가 달라도 같은 자리에 오도록 시작점을 고정 */
  display: flex; align-items: center; justify-content: flex-start; padding-left: calc(50% - 371px); height: 280px;
  border-radius: 8px; background: var(--banner-dark); overflow: hidden;
}
.ft-banner__txt { height: 100%; padding: 24px 64px 0 0; display: inline-flex; flex-direction: column; }
.ft-banner__frame { padding: 56px 0 32px; }
.ft-banner__row { display: flex; align-items: center; }
.ft-banner__logo { width: 59px; height: 59px; border-radius: 14.75px; background: #fff; padding: 7px; flex-shrink: 0; box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.ft-banner__logo img { width: 100%; height: 100%; }
.ft-banner__copy { padding-left: 18px; }
.ft-banner__big { font-size: 28px; font-weight: 800; line-height: 32px; padding-bottom: 4px; color: #fff; }
.ft-banner__small { display: block; font-size: 15px; font-weight: 500; line-height: 22px; color: var(--banner-sub-txt); }
.ft-banner__btns { display: inline-flex; align-items: center; gap: 8px; }
.ft-banner__btns a {
  display: inline-flex; align-items: center; justify-content: center; width: 132px; height: 46px;
  border-radius: 13px; border: 1px solid var(--banner-sub); color: #fff; font-size: 14px; font-weight: 600;
}
.ft-banner__btns a:hover { border-color: #fff; }
.ft-banner__visual { height: 100%; padding-top: 24px; min-width: 374px; display: flex; align-items: flex-end; justify-content: center; }
.ft-banner__visual img { width: 196px; height: 232px; object-fit: cover; border-radius: 12px 12px 0 0; }
.ft-info { padding: 48px 48px 58px; } /* 원본은 저작권 줄을 감싼 행에 아래 10px이 더 있다 */
.ft-info__row { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 10px; }
.ft-info__row--bottom { padding-bottom: 24px; align-items: flex-end; min-height: 56px; } /* 원본 SNS·인증마크 줄 높이(32+24) — 자료가 생기면 이 자리에 */
.ft-co { display: flex; flex-wrap: wrap; align-items: center; }
.ft-co li { display: inline-flex; align-items: center; }
.ft-co li::after { content: ''; display: block; width: 1px; height: 13px; background: var(--ink); margin: 2px 6px 0; }
.ft-co li:last-child::after { display: none; }
.ft-co p { font-size: 13px; line-height: 21px; }
.ft-links { display: flex; align-items: center; justify-content: flex-end; }
.ft-links a { padding-left: 24px; font-size: 13px; font-weight: 500; line-height: 16px; display: inline-flex; align-items: center; min-height: 44px; }
.ft-links a:first-child { padding-left: 0; }
.ft-links a.is-point { color: var(--point); }
.ft-links a:hover { text-decoration: underline; }
.ft-copy {
  display: flex; align-items: flex-start; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--gray-20);
}
.ft-copy p { font-size: 13px; font-weight: 500; line-height: 16px; color: var(--gray-60); }

/* --- 목록 페이지 (원본 list_* / filter_* / car_list_*) --- */
.line-ad { height: 64px; background: var(--banner-dark); }
.line-ad a {
  display: flex; align-items: center; justify-content: center; height: 100%; max-width: var(--cont); margin: 0 auto;
  color: #fff; font-size: 18px; font-weight: 500;
}
.line-ad strong { font-weight: 800; margin: 0 4px; }
.line-ad svg { width: 10px; height: 14px; margin-left: 8px; }
.list-wrap { display: flex; align-items: flex-start; justify-content: center; padding: 48px 48px 80px; }
.list-filter { width: 240px; min-width: 240px; }
.list-area { flex-grow: 1; max-width: calc(100% - 240px); width: 100%; padding-left: 72px; }

.lnb li { margin: 16px 0; }
.lnb li:first-child { margin-top: 0; }
.lnb a { font-size: 18px; font-weight: 700; line-height: 26px; color: var(--gray-50); }
.lnb a.is-on { color: var(--ink); }
.f-sec { border-top: 1px solid var(--gray-20); margin-top: 24px; padding-top: 24px; }
.f-sec__tit { display: flex; align-items: center; font-size: 15px; font-weight: 600; line-height: 22px; }
.seg { margin-top: 16px; display: flex; }
.seg li { flex: 1; position: relative; border: 1px solid var(--gray-30); border-left: 0; }
.seg li:first-child { border-left: 1px solid var(--gray-30); border-radius: 4px 0 0 4px; }
.seg li:last-child { border-radius: 0 4px 4px 0; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg label {
  display: block; margin: -1px; padding: 10px 0 8px; text-align: center; cursor: pointer;
  font-size: 13px; line-height: 18px;
}
.seg li:first-child label { border-radius: 4px 0 0 4px; }
.seg li:last-child label { border-radius: 0 4px 4px 0; }
.seg input:checked + label { background: var(--point); color: #fff; }
.seg input:focus-visible + label { outline: 2px solid var(--point); outline-offset: 2px; }
.chk li { position: relative; margin: 16px 0; }
.chk--grid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.chk--grid li { flex: 1 1 50%; max-width: 50%; margin: 14px 0 0; } /* 원본 행 간격 36 */
.chk--grid li:nth-child(odd) { padding-right: 8px; }
.chk--grid li:nth-child(2n) { padding-left: 8px; }
.chk input { position: absolute; top: -1px; left: -1px; width: 1px; height: 1px; opacity: 0; }
.chk label {
  position: relative; display: inline-block; padding: 3px 0 3px 28px; cursor: pointer;
  font-size: 14px; line-height: 20px;
}
.chk label::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border: 1px solid var(--gray-40); border-radius: 4px; background: #fff;
}
.chk label:hover::before { border-color: var(--gray-60); }
.chk input:checked + label::before {
  border-color: var(--point); background: var(--point) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.chk input:focus-visible + label::before { outline: 2px solid var(--point); outline-offset: 2px; }
.chk--scroll { max-height: 377px; overflow-y: auto; padding: 8px 8px 8px 0; margin: 12px 0 -8px; } /* 첫·끝 항목 히트 영역이 스크롤 영역에 잘리지 않게 위아래 8px (위치는 그대로) */
.chk--model li { margin: 0 0 16px; }
.chk--model label { display: block; padding: 0 16px 0 28px; }
.chk--model label::before { top: 0; }
.chk--grid label { padding: 1px 0 1px 28px; }
.chk--grid label::before { top: 1px; }
.lnb li:last-child { margin-bottom: 0; }
.f-sec--first { margin-top: 25px; }
.f-sec--first + .f-sec { margin-top: 0; } /* 원본 filter_first_filter: 제조사 다음 섹션은 margin 0 */
.f-inner { display: flex; align-items: center; margin-top: 16px; width: 100%; }
.f-select {
  flex: 1 1 100%; height: 32px; padding: 6px 28px 5px 10px; border: 1px solid var(--gray-30); border-radius: 4px;
  font-size: 13px; line-height: 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23181818' stroke-width='1.2'/%3E%3C/svg%3E") right 8px center/10px no-repeat;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.f-select:hover { border-color: var(--ink); }
.f-tilde { padding: 0 4px; font-size: 13px; }
.range { margin-top: 24px; padding: 0 12px; }
.range__track { position: relative; height: 24px; }
.range__track::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--point); }
.range input[type=range] {
  position: absolute; left: -12px; top: 0; width: calc(100% + 24px); height: 24px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gray-30); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer;
}
.range input[type=range]::-moz-range-thumb {
  pointer-events: auto; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gray-30); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer;
}
.range__val { margin-top: 16px; text-align: center; font-size: 13px; color: var(--point); }

.list-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; }
.list-head__tit { display: flex; align-items: center; }
.list-head h2 { font-size: 18px; font-weight: 700; line-height: 26px; }
.list-head__tip { width: 16px; height: 16px; margin-left: 4px; color: var(--gray-40); }
.sort { display: flex; }
.sort button { position: relative; margin-left: 16px; font-size: 13px; }
.sort button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.sort button.is-on { font-weight: 700; }
.car-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 16px; }
.car-grid > li { min-width: 240px; }
.car-grid .car__tit { font-weight: 600; }
.car-grid .car-ad .car__tit { line-height: 1.467; }
.car-grid .car__price { color: var(--point); }
.car-grid__empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; }
.car-grid__empty p { font-size: 15px; font-weight: 600; }
.car-grid__empty span { display: block; margin-top: 8px; font-size: 13px; color: var(--gray-60); }
.pager { display: flex; justify-content: space-between; margin-top: 40px; }
.pager__sec { display: flex; gap: 8px; }
.pager button {
  min-width: 48px; height: 46px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--gray-30);
  font-size: 15px; font-weight: 500; color: var(--gray-40); display: inline-flex; align-items: center; gap: 6px;
}
.pager button:not(:disabled):hover { background: var(--gray-10); border-color: var(--gray-60); color: var(--ink); }
.pager button:disabled { cursor: default; }
.pager svg { width: 12px; height: 12px; }
.pager button.pager__txt { min-width: 86px; justify-content: center; } /* 원본 이전/다음 버튼 폭 86 */
.filter-toggle { display: none; }

/* ===================
   6. Responsive
   원본 PC는 1416px 고정. 1920=원본과 동일, 그보다 좁으면 넘침만 막고 1024 이하에서 모바일 전환.
   =================== */
@media (max-width: 2300px) and (min-width: 1672px) { .car-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1671px) { .car-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1560px) { .side-ad { display: none; } }
@media (max-width: 1280px) {
  .hd__inner { padding: 20px 24px; }
  .hd-search { width: 200px; }
  .hd__sec { padding-right: 20px; }
  .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  /* 단축 padding을 쓰면 top/bottom도 0으로 같이 설정돼, 같은 요소에 붙은
     다른 클래스의 padding-top(.mid-banner 등)을 덮어써 버린다. 좌우만 지정한다 */
  .cont { padding-left: 16px; padding-right: 16px; }
  .hd-search { width: 160px; } /* 회원 메뉴가 오른쪽으로 옮겨와 1025~1180 구간 헤더 폭 확보 */
  .search-card { width: calc(100% - 32px); }
  .theme-list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .list-wrap { padding: 32px 16px 64px; }
  .list-area { padding-left: 32px; }
}
@media (max-width: 1024px) {
  .hd__inner { padding: 12px 16px; min-height: 64px; }
  .hd__logo { margin-right: 0; }
  .gnb, .more, .hd-search, .recent, .hd-util { display: none; }
  .hd__sec { padding-right: 8px; }
  .hd__toggle { display: inline-flex; }
  .kv { height: 260px; }
  .kv__copy { left: 16px; top: 48px; }
  .kv__tit { font-size: 32px; }
  .kv__sub { font-size: 15px; }
  .kv__photo { width: 70%; }
  .car-cont { padding-top: 0; }
  .search-card { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -48px 16px 0; padding: 16px; }
  .search-card__tree { flex-direction: column; gap: 8px; }
  .search-card__frame { flex-direction: column; height: auto; margin-right: 0; }
  .tree-btn { max-width: none; height: 52px; }
  .tree-btn::after { top: auto; bottom: 0; left: 16px; right: 16px; width: auto; height: 1px; }
  .search-card__go { width: 100%; flex-basis: auto; height: 48px; }
  .search-card__ext { grid-template-columns: minmax(0, 1fr); }
  .kw-chips { max-height: none; }
  .theme { padding-top: 48px; }
  .theme-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .mid-banner a { height: 120px; }
  .mid-banner__copy { left: 20px; top: 28px; }
  .mid-banner__tit, .mid-banner__sub { font-size: 16px; }
  .mid-banner__photo { width: 60%; }
  .ft-banner { padding: 0 16px; }
  .ft-banner__inner { height: auto; padding: 32px 20px; }
  .ft-banner__txt { padding: 0; }
  .ft-banner__frame { padding: 0 0 24px; }
  .ft-banner__big { font-size: 20px; line-height: 26px; }
  .ft-banner__small { font-size: 13px; line-height: 20px; }
  .ft-banner__visual { display: none; }
  .ft-info { padding: 32px 16px; }
  .ft-info__row { flex-direction: column; gap: 12px; }
  .ft-links { flex-wrap: wrap; justify-content: flex-start; }
  .ft-copy { flex-direction: column; gap: 8px; }
  .line-ad a { font-size: 14px; padding: 0 16px; text-align: center; }
  .list-wrap { flex-direction: column; padding: 16px 16px 64px; }
  .list-filter { width: 100%; min-width: 0; }
  .filter-toggle {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 44px;
    border: 1px solid var(--gray-30); border-radius: 8px; font-size: 14px; font-weight: 600;
  }
  .list-filter__body { display: none; margin-top: 16px; }
  .list-filter.is-open .list-filter__body { display: block; }
  .lnb { display: flex; gap: 16px; margin-bottom: 16px; }
  .lnb li { margin: 0; }
  .list-area { max-width: none; padding: 24px 0 0; }
  .list-head { flex-wrap: wrap; gap: 4px; }
  .sort { flex-wrap: wrap; }
  .sort button:first-child { margin-left: 0; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .car-grid > li { min-width: 0; }
}
@media (max-width: 480px) {
  .sample-badge { left: 8px; bottom: 8px; font-size: 11px; padding: 6px 8px; }
  .kv__tit { font-size: 26px; }
  .kv__photo { width: 100%; opacity: .45; }
  .hd-cta { padding: 0 12px; }
}

/* 체크박스 행은 원본 간격이 36px이라 44px로 넓히면 이웃과 겹친다 → 행 간격 전체(36px)까지만 확장 (WCAG 2.5.8 24px 이상) */
.chk label::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 36px; transform: translateY(-50%); }

/* LNB 두 항목의 원본 간격이 42px이라 44px면 서로 겹친다 → 42px까지 (체크박스와 같은 예외) */
.lnb a::after { height: 42px; }

/* --- 구매 전 체크 가이드 + 소식 (v2에서 옮김, 2026-09-19) --- */
.news2 { padding-top: 80px; padding-bottom: 80px; } /* 좌우는 .cont가 담당 — 단축 속성 금지 */

/* 구매 전 체크 가이드 (썸네일 좌측 + 제목 가로형) */
.guide2 { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
.guide2 a { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--gray-20); border-radius: 10px; transition: border-color .2s ease; }
.guide2 a:hover { border-color: var(--gray-50); }
.guide2__thumb { position: relative; flex: 0 0 96px; width: 96px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--gray-20); }
.guide2__thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide2__thumb .car__empty { font-size: 11px; }
.guide2__body { display: flex; flex-direction: column; min-width: 0; }
.guide2__cat { font-size: 12px; font-weight: 600; color: var(--point); }
.guide2__tit { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.45; }

/* 현장 소식 (큰 소식 1 + 목록) */
.news2__grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; }
.news2__main { display: flex; flex-direction: column; align-items: flex-start; }
.news2__thumb { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--gray-20); }
.news2__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news2__main .news2__tag { margin-top: 16px; }
.news2__main .news2__tit { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.45; white-space: normal; }
.news2__main:hover .news2__tit { text-decoration: underline; }
.news2__tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px;
  background: var(--point-tint); color: var(--point); font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.news2__tag--soon { background: var(--gray-10); color: #5f5f63; }
.news2__tag--notice { background: var(--ink); color: #fff; }
.news2__tit { font-size: 15px; line-height: 1.45; }
.news2__date { font-size: 13px; color: var(--gray-60); white-space: nowrap; }
.news2__main .news2__date { margin-top: 8px; }
.news2__list { border-top: 1px solid var(--ink); }
.news2__list li { border-bottom: 1px solid var(--gray-20); }
.news2__list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 14px 0; }
.news2__list .news2__tit { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news2__list a:hover .news2__tit { text-decoration: underline; }

@media (max-width: 1180px) {
  .guide2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .news2 { padding-top: 56px; padding-bottom: 56px; }
  .guide2 { grid-template-columns: minmax(0, 1fr); }
  .news2__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .news2__list a { grid-template-columns: auto minmax(0, 1fr); }
  .news2__list .news2__date { grid-column: 2; }
}

/* ===================
   7. 일반 페이지 틀 (page.php) — 로그인·회원가입·마이페이지·결제·관심매물·약관 등
   =================== */
.ktech-page { padding: 48px 16px 80px; }
.ktech-page__title { font-size: 32px; font-weight: 700; line-height: 1.3; margin-bottom: 32px; }
/* 게시판 페이지는 바로 아래 탭·글 제목이 이어지므로 제목 아래 간격을 줄인다. */
.ktech-page:has(.ktech-board, .fluxboard-board-view) .ktech-page__title { margin-bottom: 16px; }
.ktech-page__content { font-size: 15px; line-height: 1.8; color: var(--ink); }
/* 본문 서식은 편집기 글(본문 바로 아래 요소)에만 — 게시판·회원 화면 같은 플러그인 출력(div 로 감싸짐)에는 새지 않게 > 로 좁힌다. */
.ktech-page__content > h2 { font-size: 22px; font-weight: 700; line-height: 1.4; margin: 40px 0 16px; }
.ktech-page__content > h2:first-child { margin-top: 0; }
.ktech-page__content > h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 28px 0 12px; }
.ktech-page__content > p { margin: 0 0 16px; }
.ktech-page__content > ul, .ktech-page__content > ol { margin: 0 0 16px; padding-left: 22px; }
.ktech-page__content > ul { list-style: disc; }
.ktech-page__content > ol { list-style: decimal; }
.ktech-page__content > ul > li, .ktech-page__content > ol > li { margin-bottom: 6px; }
.ktech-page__content > p a, .ktech-page__content > ul a, .ktech-page__content > ol a { color: var(--point); text-decoration: underline; }
.ktech-page__content > table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.ktech-page__content > table th, .ktech-page__content > table td { padding: 10px 12px; border: 1px solid var(--gray-20); text-align: left; }
.ktech-page__content > table th { background: var(--gray-5); font-weight: 600; }
@media (max-width: 1024px) { .ktech-page { padding: 32px 16px 64px; } }

/* ===================
   8. 404
   =================== */
.ktech-404 { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 120px 16px; }
.ktech-404__mark { display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--gray-10); margin-bottom: 32px; }
.ktech-404__mark img { width: 100%; height: 100%; object-fit: cover; }
.ktech-404__title { font-size: 22px; font-weight: 700; }
.ktech-404__desc { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--gray-60); }
.ktech-404__actions { display: flex; gap: 12px; margin-top: 32px; }
.ktech-404__btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 8px; border: 1px solid var(--gray-30); font-size: 15px; font-weight: 600; }
.ktech-404__btn--primary { background: var(--point); color: #fff; border-color: var(--point); }
.ktech-404__btn--primary:hover { background: var(--kv-bg); }

/* ===================
   9. 회사소개 (page-templates/company.php)
   참고: 첫차 소개(히어로→소개 흐름), K Car "Why K Car"(비교 패널·상담 안내 — 같은 직영 구조라 더 따름).
   =================== */
.ktech-company__hero {
  height: 440px; background-size: cover; background-position: center; position: relative;
}
.ktech-company__hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,52,112,.55), rgba(11,52,112,.82)); }
.ktech-company__hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.ktech-company__eyebrow { font-size: 15px; font-weight: 600; opacity: .85; }
.ktech-company__title { margin-top: 8px; font-size: 40px; font-weight: 800; line-height: 1.3; }
.ktech-company__sub { margin-top: 14px; font-size: 17px; font-weight: 500; color: rgba(255,255,255,.92); }
.ktech-company__hero-cta { display: flex; gap: 12px; margin-top: 32px; }
.ktech-company__content h2 { text-align: left; }
.ktech-company__content figure { margin: 24px 0; }
.ktech-company__content img { border-radius: 8px; }
.ktech-company__cta-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border-radius: 8px; background: #fff; color: var(--point); font-size: 15px; font-weight: 700; }
.ktech-company__cta-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
@media (max-width: 640px) {
  .ktech-company__title { font-size: 26px; }
  .ktech-company__hero-cta { flex-direction: column; }
}

.ktech-section__tit { font-size: 26px; font-weight: 700; line-height: 1.3; text-align: center; }
.ktech-company > section { margin-top: 88px; }
.ktech-company > section:first-child { margin-top: 64px; }

/* --- 비교 패널 (K Car 참고) --- */
.ktech-compare__table {
  margin-top: 32px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.ktech-compare__col { padding: 28px 24px; }
.ktech-compare__col--other { background: var(--gray-10); color: var(--gray-60); }
.ktech-compare__col--ktech { background: var(--point); color: #fff; }
.ktech-compare__head { font-size: 16px; font-weight: 700; margin-bottom: 20px; min-height: 44px; }
.ktech-compare__col--other .ktech-compare__head { color: var(--ink); }
.ktech-compare__row { min-height: 68px; display: flex; align-items: center; font-size: 14px; line-height: 1.5; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.06); }
.ktech-compare__col--ktech .ktech-compare__row { border-top-color: rgba(255,255,255,.18); font-weight: 500; }
.ktech-compare__labels { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: #fff; padding: 0 14px; }
.ktech-compare__labels span { min-height: 68px; display: flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--gray-50); border-top: 1px solid var(--gray-20); white-space: nowrap; }
.ktech-compare__labels span:first-child { min-height: calc(68px + 20px + 16px); border-top: 0; align-items: flex-end; padding-bottom: 8px; }
@media (max-width: 768px) {
  .ktech-compare__table { grid-template-columns: 1fr; }
  .ktech-compare__labels { flex-direction: row; flex-wrap: wrap; padding: 12px 16px; background: var(--gray-5); order: -1; }
  .ktech-compare__labels span { min-height: auto; border-top: 0; width: 50%; padding: 4px 0; }
  .ktech-compare__labels span:first-child { min-height: auto; padding-bottom: 4px; }
}

/* --- 거래 흐름(타임라인) --- */
.ktech-process__list { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.ktech-process__step { position: relative; text-align: center; }
.ktech-process__step::after { content: ''; position: absolute; top: 20px; left: calc(50% + 34px); width: calc(100% - 68px); height: 2px; background: var(--gray-20); }
.ktech-process__step:last-child::after { display: none; }
.ktech-process__no {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--point); color: #fff; font-weight: 700; font-size: 16px; position: relative; z-index: 1;
}
.ktech-process__img { display: block; margin: 20px auto 0; width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--gray-10); }
.ktech-process__img img { width: 100%; height: 100%; object-fit: cover; }
.ktech-process__tit { margin-top: 16px; font-size: 17px; font-weight: 700; }
.ktech-process__desc { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--gray-60); }
@media (max-width: 768px) {
  .ktech-process__list { grid-template-columns: 1fr; gap: 32px; }
  .ktech-process__step::after { display: none; }
  .ktech-process__img { max-width: 320px; }
}

/* --- 취급 브랜드 --- */
.ktech-brands__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ktech-brands__card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 40px 24px; border: 1px solid var(--gray-20); border-radius: 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.ktech-brands__card:hover { border-color: var(--point); box-shadow: 0 8px 20px rgba(11,52,112,.1); }
.ktech-brands__logo { height: 32px; width: auto; }
.ktech-brands__count { font-size: 14px; color: var(--gray-60); }
.ktech-brands__link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--point); }
.ktech-brands__link svg { width: 8px; height: 10px; }
@media (max-width: 640px) {
  .ktech-brands__grid { grid-template-columns: 1fr; }
}

/* --- 인사말 --- */
.ktech-greeting { max-width: 720px; margin-left: auto; margin-right: auto; }
.ktech-greeting__content {
  position: relative; margin-top: 32px; padding: 32px 32px 32px 56px; background: var(--gray-5); border-radius: 16px;
  font-size: 16px; line-height: 1.9;
}
.ktech-greeting__content::before {
  content: '“'; position: absolute; left: 20px; top: 8px; font-size: 56px; font-weight: 800; color: var(--point); opacity: .25; line-height: 1;
}
.ktech-greeting__sign { margin-top: 16px; text-align: right; font-size: 14px; font-weight: 600; color: var(--gray-60); }

/* --- 회사 정보 --- */
.ktech-bizinfo__row { margin-top: 32px; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 32px; border: 1px solid var(--gray-20); border-radius: 16px; }
.ktech-bizinfo__list { flex: 1 1 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.ktech-bizinfo__item { display: flex; flex-direction: column; gap: 4px; }
.ktech-bizinfo__item dt { font-size: 13px; color: var(--gray-60); }
.ktech-bizinfo__item dd { margin: 0; font-size: 15px; font-weight: 600; }
.ktech-bizinfo__btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--point); color: var(--point); font-size: 14px; font-weight: 700; white-space: nowrap; }
.ktech-bizinfo__btn svg { width: 8px; height: 10px; }
@media (max-width: 768px) {
  .ktech-bizinfo__row { flex-direction: column; }
  .ktech-bizinfo__list { grid-template-columns: 1fr; width: 100%; }
  .ktech-bizinfo__btn { width: 100%; justify-content: center; }
}

/* --- 하단 상담 띠 --- */
.ktech-cta-band { margin-top: 88px; padding: 56px 16px; background: var(--kv-bg); text-align: center; }
.ktech-cta-band__tit { font-size: 22px; font-weight: 700; color: #fff; }
.ktech-cta-band__btns { display: inline-flex; gap: 12px; margin-top: 24px; }
.ktech-cta-band__btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border-radius: 8px; background: #fff; color: var(--point); font-size: 15px; font-weight: 700; }
.ktech-cta-band__btn--kakao { background: #FEE500; color: #181600; }
@media (max-width: 480px) {
  .ktech-cta-band__btns { flex-direction: column; width: 100%; }
}

/* ===================
   10. 쓰지 않는 쇼핑몰 부품 — 바로구매만 쓰므로 장바구니 진입점을 숨긴다(장바구니 페이지는 ktech-core 가 매물검색으로 보낸다)
   =================== */
.fhs-cart-fab, .fhs-cart-drawer, .fhs-cart-overlay, .fhs-pdp-mobilebar__cart { display: none !important; }

/* 찜(위시리스트) 은 쓰지만 구매후기·상품문의는 시안에 없다 — 같은 fluxshop.social 기능이라
   코드로는 끌 수 없어(끄면 찜도 꺼짐) 화면에서만 뺀다. 상세 탭 중 "정보"만 남긴다. */
a.fhs-pdp-tabs__btn[data-fhs-tab="fhs-tab-review"],
a.fhs-pdp-tabs__btn[data-fhs-tab="fhs-tab-qna"],
section.fhs-pdp-section#fhs-tab-review,
section.fhs-pdp-section#fhs-tab-qna { display: none !important; }

/* ===================
   11. 슬라이드 메뉴 (1024px 이하 — PC 는 지금처럼 가로 메뉴)
   은행·플랫폼 앱 방식: 오른쪽에서 전체 높이로 들어온다. 열림·닫힘은 js/site.js.
   =================== */
.ktech-panel-dim {
  position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,0);
  opacity: 0; transition: opacity .3s ease, background-color .3s ease;
}
.ktech-panel-dim.is-open { opacity: 1; background: rgba(0,0,0,.45); }
.ktech-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 401;
  width: min(88vw, 400px); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease-out;
  box-shadow: -8px 0 24px rgba(0,0,0,.12);
}
.ktech-panel.is-open { transform: translateX(0); }
.ktech-panel__head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 20px; border-bottom: 1px solid var(--gray-20);
}
.ktech-panel__tit { font-size: 16px; font-weight: 700; }
.ktech-panel__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -12px; }
.ktech-panel__close svg { width: 20px; height: 20px; }
.ktech-panel__body { flex: 1 1 auto; overflow-y: auto; padding: 20px; }
.ktech-panel__account { padding: 20px; border-radius: 12px; background: var(--point-tint); }
.ktech-panel__who { display: flex; align-items: center; gap: 12px; }
.ktech-panel__avatar {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--point); color: #fff; font-weight: 700; font-size: 16px;
}
.ktech-panel__name { font-size: 16px; font-weight: 700; }
.ktech-panel__hi { margin-top: 2px; font-size: 13px; color: var(--gray-60); }
.ktech-panel__acct-btns { display: flex; gap: 8px; margin-top: 16px; }
.ktech-panel__btn {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; height: 44px;
  border-radius: 8px; background: #fff; border: 1px solid var(--gray-30); font-size: 14px; font-weight: 600;
}
.ktech-panel__btn--primary { background: var(--point); border-color: var(--point); color: #fff; }
.ktech-panel__btn--ghost { background: transparent; }
.ktech-panel__quick { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ktech-panel__q { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 10px; }
.ktech-panel__q:hover, .ktech-panel__q:active { background: var(--gray-10); }
.ktech-panel__q-ico { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gray-10); color: var(--point); }
.ktech-panel__q-ico svg { width: 20px; height: 20px; }
.ktech-panel__q-badge {
  position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 8px; background: var(--point); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.ktech-panel__q-txt { font-size: 12px; font-weight: 500; text-align: center; }
.ktech-panel__nav { margin-top: 28px; }
.ktech-panel__sec { padding: 0 4px 8px; font-size: 13px; font-weight: 600; color: var(--gray-60); }
.ktech-panel__row {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  padding: 0 4px; font-size: 16px; font-weight: 500; border-radius: 8px;
}
.ktech-panel__row:hover, .ktech-panel__row:active { background: var(--gray-10); }
.ktech-panel__row svg { width: 8px; height: 10px; flex-shrink: 0; color: var(--gray-40); }
.ktech-panel__row em { margin-left: 6px; font-style: normal; font-size: 13px; color: var(--gray-50); }
.ktech-panel__legal { margin-top: 24px; padding: 16px 4px 0; border-top: 1px solid var(--gray-20); font-size: 12px; color: var(--gray-50); }
.ktech-panel__legal a { text-decoration: underline; }
.ktech-panel__legal span { margin: 0 6px; }
.ktech-panel__foot { flex: 0 0 auto; padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--gray-20); }
.ktech-panel__call { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 8px; background: var(--point); color: #fff; font-size: 15px; font-weight: 700; }
.ktech-panel__call svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .ktech-panel-dim, .ktech-panel { transition: none; }
}
@media (min-width: 1025px) {
  .ktech-panel-dim, .ktech-panel { display: none; }
}

/* ===================
   12. 오시는길·문의 (page-templates/contact.php)
   =================== */
.ktech-contact { max-width: 1000px; }
.ktech-contact__lead { margin-top: 12px; font-size: 15px; color: var(--gray-60); }
.ktech-consult { margin-top: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.ktech-consult__main {
  display: flex; flex-direction: column; justify-content: center; padding: 28px 32px;
  border-radius: 16px; background: var(--kv-bg); color: #fff;
}
.ktech-consult__label { font-size: 13px; opacity: .85; }
.ktech-consult__num { margin-top: 6px; font-size: 28px; font-weight: 800; }
.ktech-consult__hours { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.8); }
.ktech-consult__sub { display: flex; flex-direction: column; gap: 12px; }
.ktech-consult__kakao, .ktech-consult__online {
  flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 700;
}
.ktech-consult__kakao { background: #FEE500; color: #181600; }
.ktech-consult__kakao svg:first-child { width: 20px; height: 20px; flex-shrink: 0; }
.ktech-consult__arrow { margin-left: auto; width: 8px; height: 10px; }
.ktech-consult__online { background: #fff; border: 1px solid var(--gray-30); color: var(--ink); min-height: 52px; }
.ktech-consult__online svg { margin-left: auto; width: 10px; height: 6px; }
.ktech-consult__kakao { min-height: 52px; }
@media (max-width: 768px) {
  .ktech-consult { grid-template-columns: 1fr; }
}

.ktech-contact__grid { margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.ktech-contact__form-card, .ktech-contact__map-card { padding: 32px; border: 1px solid var(--gray-20); border-radius: 16px; }
.ktech-contact__card-tit { font-size: 18px; font-weight: 700; }
.ktech-contact__card-desc { margin-top: 8px; font-size: 14px; color: var(--gray-60); }
.ktech-contact__form-card .ktech-inquiry { margin-top: 24px; }
.ktech-contact__map-note { margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--gray-5); font-size: 14px; color: var(--gray-60); line-height: 1.6; }
.ktech-contact__map-card .ktech-map { margin-top: 16px; max-width: none; }
@media (max-width: 900px) {
  .ktech-contact__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .ktech-contact__form-card, .ktech-contact__map-card { padding: 20px; }
}

/* --- 매물 비교 (fluxshop 상품 비교 위에 얹는 케이테크 스킨) --- */
/* 비교 버튼은 카드 맨 아래 줄 — 사진·배지·조회수 위에 겹치지 않는다 */
.car:has(> .car__compare) { display: flex; flex-direction: column; }
.car:has(> .car__compare) > a.car__link { flex: 1 1 auto; height: auto; }
.car .car__compare.fhs-compare-btn {
  position: static; flex: 0 0 auto; width: 100%; margin: 12px 0 0; padding: 0 12px; min-height: 44px;
  justify-content: center; font-size: 13px; font-weight: 600; background: #fff;
  border: 1px solid var(--gray-30); border-radius: 8px; color: var(--ink);
}
.car .car__compare.fhs-compare-btn:hover { border-color: var(--point); color: var(--point); }
.car .car__compare.fhs-compare-btn.is-active { border-color: var(--point); color: var(--point); background: var(--point-tint); }
.ktech-detail-compare { grid-column: 1 / -1; }
.ktech-detail-compare .fhs-compare-btn { margin-top: 0; }
/* 하단 비교바가 뜨면 카카오 상담 플로팅 버튼을 그만큼 올린다 */
.fhc-dock { bottom: calc(20px + var(--fhs-compare-bar-h, 0px)); transition: bottom .2s ease; }
@media (max-width: 480px) { .fhc-dock { bottom: calc(12px + var(--fhs-compare-bar-h, 0px)); } }

/* --- 매물 상세: 1점물이라 수량 선택·배송비 안내를 숨긴다 (계획 D2: 장바구니·배송 요소 숨김, 바로구매만) --- */
.fluxshop-product-detail__qty,
.fluxshop-product-detail__total,
.fhs-sidebar__facts,
.fhs-info-section[data-info="shipping"] { display: none !important; }
/* 하단 비교바는 모바일 메뉴 패널·딤(400~401) 아래에 둔다 */
body .fhs-compare-bar[data-fhs-compare-bar] { z-index: 300; }
/* 모바일 메뉴가 열리면 하단 구매 바·플로팅 독이 메뉴 항목을 가리지 않게 한다 */
body .fhs-pdp-mobilebar { z-index: 300; }
body:has(.ktech-panel:not([hidden])) .fhc-dock { display: none; }
