/* 아리렌트 — 장기렌트 데모 (원본 사이트 문구 미복제) */

:root {
  --bg: #fafbff;
  --surface: #f0f4ff;
  --surface-2: #e8eeff;
  --text: #0c1020;
  --text-muted: #5c6488;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-rgb: 79, 70, 229;
  --accent: #f43f5e;
  --accent-soft: rgba(244, 63, 94, 0.14);
  --accent-2: #06b6d4;
  --line: #e0e7ff;
  --line-strong: #c7d2fe;
  --success: #059669;
  --kakao: #fee500;
  --kakao-text: #191919;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(67, 56, 202, 0.08);
  --shadow-lg: 0 20px 56px rgba(67, 56, 202, 0.14);
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* MOBILE - ultra-tight compact overrides (only for <=420px) */
@media (max-width: 420px) {
  /* global shrink */
  .new-list-page .vehicle-inventory-wrap,
  .used-list-page .vehicle-inventory-wrap,
  .new-list-page .vehicle-inventory-list,
  .used-list-page .vehicle-inventory-list {
    font-size: 0.52rem !important;
    line-height: 1 !important;
  }

  /* card */
  .vehicle-inventory-card {
    padding: 0 !important;
    margin: 0 0 0.35rem !important;
    gap: 0 !important;
    border-radius: 4px !important;
    border-width: 1px !important;
  }

  /* image smaller */
  .new-vehicle-card-thumb, .new-vehicle-card-thumb img {
    min-height: 4.0rem !important;
    max-height: 4.8rem !important;
  }

  /* extremely tight column paddings */
  .vic-model, .vic-specs, .vic-deposit, .vic-term, .vic-rent, .vic-buyout, .vic-note {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* column widths (aggressive) */
  .vic-model { flex: 0 0 16% !important; }
  .vic-specs { flex: 0 0 40% !important; }
  .vic-deposit { flex: 0 0 9% !important; }
  .vic-term { flex: 0 0 6% !important; }
  .vic-rent { flex: 0 0 12% !important; }

  /* text sizes */
  .vic-sheet-main-title { font-size: 0.6rem !important; }
  .vic-model-title { font-size: 0.6rem !important; font-weight: 700 !important; }
  .vic-model-plate { font-size: 0.5rem !important; }
  .vic-spec-grid > div, .vic-cell, .vic-cell-row { font-size: 0.48rem !important; padding: 0 !important; }
  .vic-deposit .vic-txt-blue, .vic-rent .vic-txt-red, .vic-buyout-overlay { font-size: 0.64rem !important; }

  /* reduce header row height and gaps */
  .vic-sheet-head-row { padding: 0 !important; gap: 0 !important; }
  .vic-sheet-head-cell { padding: 0 !important; font-size: 0.52rem !important; }

  /* remove extra whitespace in spec grid items */
  .vic-spec-grid > div { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

  /* ensure group-box vertical size increased but compact */
  .vic-sheet-group-box { padding: 0.12rem 0.08rem !important; font-size: 0.5rem !important; display: inline-block !important; margin-top: 0.06rem !important; }

  /* borders less thick visually */
  .vehicle-inventory-card, .vehicle-inventory-sheet-head { border-width: 1px !important; }

  /* final safety clamp */
  .vehicle-inventory-wrap * { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
}

/* MOBILE(<=420px): new excel-like mobile table renderer */
@media (max-width: 420px) {
  body.new-list-page .vehicle-inventory-list,
  body.used-list-page .vehicle-inventory-list {
    display: block;
  }

  .mvt-head,
  .mvt-row {
    display: grid;
    /* car | spec | deposit | term | rent | buy | note */
    grid-template-columns: 15% 34% 10% 6% 11% 11% 13%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #111;
    border-right: 1px solid #111;
  }
  .mvt-head { background: #dfe9f8; border-top: 2px solid #111; border-bottom: 1px solid #111; }
  body.used-list-page .mvt-head { background: #fff3bf; }
  /* head car cell should follow head background (no gray) */
  .mvt-head .mvt-col-car { background: transparent !important; }

  .mvt-hcell,
  .mvt-cell {
    border-right: 1px solid #111;
    padding: 0.28rem 0.12rem;
    font-size: 0.5rem;
    line-height: 1.05;
    box-sizing: border-box;
    overflow: hidden;
  }
  /* align header text both axes */
  .mvt-hcell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .mvt-hcell:last-child,
  .mvt-cell:last-child { border-right: none; }

  .mvt-title { font-weight: 700; font-size: 0.62rem; text-align: center; }
  .mvt-sub { font-size: 0.46rem; color: #4b5563; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .mvt-row { border-bottom: 1px solid #111; }
  .mvt-col-car { background: #e8e8e8; }
  .mvt-col-car { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .mvt-car-title { font-weight: 400; font-size: 0.48rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* plate: place further down (approx 2 lines gap) */
  .mvt-car-plate { margin-top: 0.85rem; font-size: 0.46rem; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .mvt-money { font-weight: 400; font-size: 0.46rem; white-space: nowrap; }
  .mvt-line { font-size: 0.48rem; white-space: nowrap; }
  .mvt-rent { color: #c41e3a; font-weight: 400; font-size: 0.46rem; }

  /* spec column: list rows (no boxed cells) */
  .mvt-col-spec { padding: 0.08rem 0.08rem !important; }
  /* spec rows: use same 2-col grid as option row so separators align */
  .mvt-spec { display: grid; grid-template-columns: 2.05rem 1fr; gap: 0; align-items: center; padding: 0.08rem 0; border-bottom: 1px solid rgba(0,0,0,0.10); }
  .mvt-spec:last-child { border-bottom: none; }
  .mvt-l { background: transparent; border: none; font-weight: 600; font-size: 0.46rem; color: #4b5563; width: 2.05rem; text-align: left; padding: 0; }
  /* vertical separator between label and value (like table) */
  .mvt-v { font-size: 0.48rem; padding: 0 0 0 0.18rem; border: none; border-left: 1px solid rgba(0,0,0,0.18); flex: 1 1 auto; min-width: 0; }
  .mvt-opt .mvt-v { color: #c41e3a; font-weight: 700; }
  .mvt-wrap { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }

  /* deposit align */
  .mvt-col-dep { display: flex; align-items: center; justify-content: center; text-align: center; }

  /* note: align content toward bottom */
  .mvt-col-note {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-top: 0.18rem;
    padding-bottom: 0.18rem;
  }

  /* term/rent/buy columns: row lines aligned */
  .mvt-col-term, .mvt-col-rent, .mvt-col-buy {
    padding: 0 !important;
    display: grid;
    grid-auto-flow: row;
    grid-auto-rows: 1fr; /* split evenly by row count */
    align-items: stretch;
  }
  .mvt-col-term .mvt-line,
  .mvt-col-rent .mvt-line,
  .mvt-col-buy .mvt-line {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    min-height: 1.2rem;
  }
  /* option row: span from spec through note */
  .mvt-row-opt { border-bottom: 1px solid #111; }
  .mvt-opt-spacer { background: #e8e8e8; }
  .mvt-opt-cell {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: 2.05rem 1fr; /* align separator to mvt-l width */
    gap: 0;
    align-items: start;
    padding: 0.18rem 0.12rem;
    font-size: 0.48rem;
    line-height: 1.15;
    overflow: visible;
  }
  .mvt-opt-l { font-weight: 600; color: #4b5563; white-space: nowrap; padding-right: 0; }
  .mvt-opt-v {
    color: #c41e3a;
    font-weight: 600;
    white-space: normal;
    border-left: 1px solid rgba(0,0,0,0.18);
    padding-left: 0.18rem;
  }
  .mvt-col-term .mvt-line:last-child,
  .mvt-col-rent .mvt-line:last-child,
  .mvt-col-buy .mvt-line:last-child { border-bottom: none; }

  /* buyout: slightly smaller and support merged single value */
  .mvt-col-buy .mvt-line { font-size: 0.44rem; }
  .mvt-col-buy .mvt-line.mvt-merged-seg {
    /* keep separator after merged block; internal lines are gone by spanning rows */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  /* Remove ONLY the horizontal line between main-row and option-row inside car column */
  .mvt-row-main.mvt-has-opt .mvt-col-car,
  .mvt-row-opt .mvt-opt-spacer {
    position: relative;
  }
  .mvt-row-main.mvt-has-opt .mvt-col-car::after,
  .mvt-row-opt .mvt-opt-spacer::before {
    content: "";
    position: absolute;
    left: 0;
    right: -1px; /* cover the border edge */
    bottom: -1px;
    height: 1px;
    background: #e8e8e8; /* match car column bg */
    pointer-events: none;
  }
  .mvt-row-opt .mvt-opt-spacer::before {
    top: -1px;
    bottom: auto;
  }

  /* Remove the row-divider at left block by moving divider to option row (spec~note only) */
  .mvt-row-main.mvt-has-opt { border-bottom: none; }
  .mvt-row-opt { border-top: none; }
  .mvt-row-opt .mvt-opt-cell { border-top: 1px solid #111; }
  .mvt-row-opt .mvt-opt-spacer { border-top: none; }

  /* Header spec cell: title then newline then sub */
  .mvt-head .mvt-col-spec {
    flex-direction: column;
    gap: 0.08rem;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
  }

  /* header vertical centering for these columns (explicit) */
  .mvt-head .mvt-col-term,
  .mvt-head .mvt-col-rent,
  .mvt-head .mvt-col-buy { display: flex; align-items: center; justify-content: center; }

  .mvt-note-line { font-size: 0.5rem; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mvt-detail { display: inline-block; margin-top: 0.40rem; font-size: 0.60rem; font-weight: 600; color: #2563eb; text-decoration: none; }
}

/* Extra ultra-compact overrides (stronger, last-resort) */
@media (max-width: 420px) {
  /* vehicle info micro typography */
  .vic-spec-grid > div,
  .vic-cell,
  .vic-cell-row,
  .vic-model-plate,
  .vic-spec-lbl,
  .vic-spec-opt-val,
  .vic-spec-opt-lbl {
    font-size: 0.42rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .vic-model-title { font-size: 0.5rem !important; font-weight: 700 !important; }
  .vic-deposit .vic-txt-blue,
  .vic-rent .vic-txt-red,
  .vic-buyout-overlay {
    font-size: 0.56rem !important;
    line-height: 1 !important;
  }
  /* reduce rent font and width as requested (mobile only) */
  .vic-rent .vic-txt-red { font-size: 0.48rem !important; }
  .vic-rent { flex: 0 0 10% !important; }

  /* force single-line truncation for all spec text */
  .vic-spec-grid > div, .vic-model-title, .vic-model-plate {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* remove any internal borders/margins that consume space */
  .vic-spec-grid > div { border: none !important; }
  .vehicle-inventory-card .vic-model,
  .vehicle-inventory-card .vic-specs { padding-left: 0 !important; padding-right: 0 !important; }
}

/* Make spec text even smaller and allow options to wrap (mobile only) */
@media (max-width: 420px) {
  /* layout: labels small + values flexible to avoid extreme squeezing */
  .vic-spec-grid {
    grid-template-columns: 2.4rem 1fr !important; /* narrow label column, flexible value column */
    gap: 0.04rem !important;
    align-items: center !important;
  }
  .vic-spec-grid > div { font-size: 0.34rem !important; padding: 0 !important; margin: 0 !important; line-height: 1 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
  .vic-spec-grid > .vic-spec-lbl { text-align: left !important; font-weight: 600 !important; padding-right: 0.06rem !important; white-space: nowrap !important; }
  /* options/value should span full width and be allowed 2 lines */
  .vic-spec-opt-val {
    grid-column: 1 / -1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    overflow: hidden !important;
    font-size: 0.34rem !important;
    line-height: 1 !important;
  }
  /* slightly reduce model title to save space */
  .vic-model-title { font-size: 0.46rem !important; }
}

/* Hybrid mobile: keep group headers, stack card internals vertically for readability */
@media (max-width: 420px) {
  .vehicle-inventory-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.12rem !important;
    padding: 0.12rem !important;
    border-left: none !important;
    border-right: none !important;
  }

  /* model row: left = title, right = plate */
  .vic-model {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.08rem !important;
  }
  .vic-model-title { font-size: 0.62rem !important; font-weight: 700 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  .vic-model-plate { font-size: 0.44rem !important; color: var(--text-muted) !important; }

  /* specs block becomes full-width stacked grid */
  .vic-specs {
    order: 2 !important;
    padding: 0 0.08rem !important;
  }
  .vic-spec-grid {
    display: grid !important;
    grid-template-columns: 2.2rem 1fr !important;
    gap: 0.06rem !important;
    align-items: start !important;
  }
  .vic-spec-grid > .vic-spec-lbl { font-size: 0.34rem !important; font-weight: 600 !important; padding-right: 0.06rem !important; }
  .vic-spec-grid > div:not(.vic-spec-lbl) { font-size: 0.34rem !important; line-height: 1 !important; }
  .vic-spec-opt-val {
    grid-column: 1 / -1 !important;
    font-size: 0.34rem !important;
    -webkit-line-clamp: 3 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    overflow: hidden !important;
  }

  /* rent/deposit/term/buyout/note as a compact horizontal row that can wrap */
  .vic-deposit,
  .vic-term,
  .vic-rent,
  .vic-buyout,
  .vic-note {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.06rem 0.08rem !important;
    margin: 0 0.04rem 0.04rem 0 !important;
    border-left: none !important;
    border-right: none !important;
    white-space: nowrap !important;
  }
  .vic-deposit { order: 3 !important; flex: 0 0 auto !important; }
  .vic-term { order: 3 !important; flex: 0 0 auto !important; }
  .vic-rent { order: 3 !important; flex: 0 0 auto !important; }
  .vic-buyout { order: 3 !important; flex: 0 0 auto !important; }
  .vic-note { order: 4 !important; flex: 1 1 auto !important; padding-left: 0.08rem !important; text-align: left !important; }

  /* visually reduce border clutter inside card */
  .vehicle-inventory-card .vic-cell-row,
  .vehicle-inventory-card .vic-cell { border: none !important; }

  /* ensure the group header remains visible and compact */
  .vehicle-inventory-sheet-head { padding: 0.08rem 0.12rem !important; }
  .vic-sheet-main-title { font-size: 0.7rem !important; }
}

/* Final strongest overrides for specific classes the user mentioned */
@media (max-width: 420px) {
  .vehicle-inventory-sheet-head,
  .vic-sheet-head-row,
  .vic-spec-grid {
    font-size: 0.42rem !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }
  .vehicle-inventory-sheet-head { width: 100% !important; max-width: 100% !important; }
  .vic-sheet-head-row { display: flex !important; align-items: center !important; gap: 0 !important; justify-content: space-between !important; }
  .vic-spec-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; }
  .vic-spec-grid > div { font-size: 0.42rem !important; padding: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* —— Utility bar —— */
.util-bar {
  background: linear-gradient(90deg, var(--surface) 0%, #fdf4ff 50%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 모바일/태블릿: 최상단 유틸 바 제거(로고부터 노출) */
@media (max-width: 1023px) {
  .util-bar {
    display: none;
  }
}

.util-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  min-height: 2.5rem;
}

.util-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

@media (max-width: 1023px) {
  .util-left {
    padding-left: 0.25rem; /* "상담 1666-5623" 왼쪽 여백 */
  }
  .util-right {
    display: none; /* 상단 "백오피스"는 하단(푸터)만 노출 */
  }
}

/* 모바일/태블릿 헤더: [로고] [돋보기] [메뉴] */
@media (max-width: 1023px) {
  .header-row {
    flex-wrap: nowrap;
    justify-content: flex-start; /* space-between 해제: 돋보기/메뉴가 가운데로 벌어지는 현상 방지 */
    gap: 0.5rem;
    padding: 0.85rem 0;
  }

  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 0; /* 돋보기-메뉴 바짝 */
    position: relative;
    z-index: 901;
  }

  .header-actions .btn-search-toggle {
    margin-right: -6px; /* 아이콘을 메뉴쪽으로 더 당김 */
  }

  .nav-toggle {
    order: 3;
    margin-left: 0; /* auto 제거(헤더-actions가 밀어줌) */
    width: 44px;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
    z-index: 902;
  }

  /* 메뉴 버튼 텍스트는 숨기고, 삼선만 */
  .nav-toggle-label {
    display: none !important;
  }

  /* 모바일 햄버거: 2줄(가운데 제거) */
  .nav-toggle > span:not(.nav-toggle-label) {
    width: 24px;
    background: transparent;
  }
  .nav-toggle > span:not(.nav-toggle-label)::before,
  .nav-toggle > span:not(.nav-toggle-label)::after {
    width: 24px;
    height: 3px;
    background: #111;
    border-radius: 3px;
  }
  .nav-toggle > span:not(.nav-toggle-label)::before {
    top: -5px;
  }
  .nav-toggle > span:not(.nav-toggle-label)::after {
    top: 5px;
  }

  /* 통합검색 버튼은 아이콘(돋보기)로만 */
  .btn-search-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    font-size: 0;
    gap: 0;
    border: none;
    background: transparent;
  }
  .btn-search-toggle::before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background: no-repeat center / contain
      url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%231d4ed8'%20stroke-width%3D'2.4'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'11'%20cy%3D'11'%20r%3D'7'/%3E%3Cpath%20d%3D'M20%2020l-3.5-3.5'/%3E%3C/svg%3E");
  }
}

/* 모바일/태블릿: 스크롤 내리면 헤더 숨김 */
@media (max-width: 1023px) {
  .site-header {
    transition: transform 0.22s ease;
  }
  body.is-scroll-down .site-header {
    transform: translateY(-105%);
  }
  body.is-nav-open .site-header {
    transform: none !important;
  }
}

.util-left strong {
  color: var(--text);
  font-weight: 600;
}

.util-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.util-right a.login-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.util-right a.login-link:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 251, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--primary) 0%, #7c3aed 55%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo span {
  font-weight: 600;
  color: var(--text);
}

/* Image logo (SVG) */
.logo .logo-img {
  display: block;
  height: 48px;
  width: auto;
}

.logo .logo-img--mark {
  height: 44px;
}

.logo .logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.logo.has-image {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: inherit;
}

/* Nav */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
}

.nav-toggle-label {
  display: none !important;
}

@media (max-width: 1023px) {
  .nav-toggle {
    gap: 0.4rem;
    width: auto;
    padding: 0 0.7rem;
    margin-left: auto; /* 오른쪽 끝 */
  }
  .nav-toggle > span:not(.nav-toggle-label) {
    margin-left: 0.35rem;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle > span:not(.nav-toggle-label) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle > span:not(.nav-toggle-label)::before,
.nav-toggle > span:not(.nav-toggle-label)::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-toggle > span:not(.nav-toggle-label)::before {
  top: -6px;
}

.nav-toggle > span:not(.nav-toggle-label)::after {
  top: 6px;
}

.main-nav {
  display: none;
  width: 100%;
  order: 4;
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.main-nav.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex !important;
    order: 0;
    flex: 1;
    flex-basis: auto;
    width: auto;
    border: none;
    padding: 0;
    margin: 0 1.5rem;
    justify-content: center;
    gap: 0.25rem;
  }
}

/* 모바일 메뉴 패널: 화면 절반만 사용 + 우측 정렬 */
@media (max-width: 1023px) {
  .main-nav.is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(50vw, 320px);
    max-width: 92vw;
    background: rgba(250, 251, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid var(--line);
    padding: max(0.9rem, env(safe-area-inset-top, 0px)) 0.9rem 1rem;
    overflow: auto;
    z-index: 950;
  }
  .main-nav {
    border-top: none;
    padding-top: 0;
  }
  .main-nav ul {
    align-items: flex-end;
  }
  .main-nav a,
  .main-nav a:link,
  .main-nav a:visited {
    justify-content: flex-end;
    text-align: right;
    min-height: 2.65rem;
    padding: 0.5rem 0.6rem;
  }
  .main-nav-submenu a,
  .main-nav-submenu a:link,
  .main-nav-submenu a:visited {
    justify-content: flex-end;
  }
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

/* 헤더 배경과 --surface 가 비슷해 박스가 안 보이는 문제 방지: primary 틴 + 테두리로 통일 */
.main-nav a,
.main-nav a:link,
.main-nav a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0.6rem 1.05rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--primary);
}

/* 상단 드롭다운 — 열린 항목만 위로 올려 옆 메뉴와 겹침 방지, 부드러운 전환 */
.main-nav-item.has-submenu {
  position: relative;
}

.main-nav > ul > li.main-nav-item.has-submenu {
  z-index: 1;
}

@media (min-width: 1024px) {
  .main-nav > ul > li.main-nav-item.has-submenu:hover,
  .main-nav > ul > li.main-nav-item.has-submenu:focus-within {
    z-index: 400;
  }
}

/* 상위 링크 ↔ 패널 사이 이동 시 메뉴가 닫히지 않도록 보이지 않는 연결대 */
@media (min-width: 1024px) {
  .main-nav-item.has-submenu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    z-index: 1;
  }
}

.main-nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-submenu a,
.main-nav-submenu a:link,
.main-nav-submenu a:visited {
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 2.5rem;
  justify-content: flex-start;
}

@media (max-width: 1023px) {
  /* 모바일/태블릿: 신차/중고는 항상 서브메뉴 노출(바로 이동 UX 유지) */
  .main-nav-item.has-submenu .main-nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.25rem 0 0.4rem 0.9rem;
    border-left: 2px solid rgba(var(--primary-rgb), 0.22);
    margin: 0.1rem 0 0.45rem 0.55rem;
    animation: main-nav-sub-mobile 0.2s ease;
  }

  /* 고객센터만 아코디언: 기본 접힘 → 열릴 때만 표시 */
  .main-nav-item.has-submenu.is-mobile-accordion .main-nav-submenu {
    display: none;
  }
  .main-nav-item.has-submenu.is-mobile-accordion.is-sub-open .main-nav-submenu {
    display: flex;
  }

  /* 모바일/태블릿: 상위 항목에 펼침 표시(그룹 느낌) */
  .main-nav-item.has-submenu.is-mobile-accordion > a {
    position: relative;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .main-nav-item.has-submenu.is-mobile-accordion > a::after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    opacity: 0.7;
    background: no-repeat center / contain
      url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23111827'%20stroke-width%3D'2.4'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%209l6%206%206-6'/%3E%3C/svg%3E");
  }
  .main-nav-item.has-submenu.is-mobile-accordion.is-sub-open > a::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.9;
  }

  /* 모바일/태블릿: 서브 메뉴는 한 단계 작게 + 들여쓰기 강조 */
  .main-nav-submenu a,
  .main-nav-submenu a:link,
  .main-nav-submenu a:visited {
    font-size: 0.95rem;
    font-weight: 650;
    color: rgba(15, 23, 42, 0.86);
    min-height: 2.4rem;
    padding-left: 0.75rem;
    padding-right: 0.6rem;
  }
}

@keyframes main-nav-sub-mobile {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .main-nav-item.has-submenu .main-nav-submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    z-index: 2;
    box-sizing: border-box;
    /* 부모(li) 너비 이하로 유지 + 긴 라벨은 내용만큼만 확장(옆 메뉴 침범 방지) */
    width: max-content;
    min-width: 100%;
    max-width: min(17rem, calc(100vw - 2rem));
    padding: 0.45rem 0;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top left;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease,
      box-shadow 0.22s ease;
  }

  .main-nav-item.has-submenu:hover .main-nav-submenu,
  .main-nav-item.has-submenu:focus-within .main-nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav-submenu a:hover,
  .main-nav-submenu a[aria-current="page"] {
    border-radius: 8px;
    margin: 0 0.4rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .main-nav-item.has-submenu .main-nav-submenu {
    transition: none;
    transform: none;
  }

  .main-nav-item.has-submenu:hover .main-nav-submenu,
  .main-nav-item.has-submenu:focus-within .main-nav-submenu {
    transform: none;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .main-nav-item.has-submenu .main-nav-submenu {
    animation: none;
  }
}

/* 신차 NocoDB — 표(엑셀 스타일) */
.new-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.new-list-toolbar-msg {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted, #5c6370);
}

.new-list-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* 리스트 상단 검색(가운데 빈 공간) */
.new-list-toolbar-search {
  flex: 1 1 22rem;
  min-width: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.new-list-search-input {
  width: min(34rem, 100%);
  max-width: 34rem;
  height: 2.05rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  font-size: 0.92rem;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
}

.new-list-search-input:focus {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.new-list-search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-size: 0.9rem;
  color: #111;
  padding: 0 0.7rem;
  height: 2.05rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  user-select: none;
}

.new-list-search-toggle input {
  appearance: none;
  -webkit-appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  position: relative;
  outline: none;
  transition: background 0.18s var(--ease);
}

.new-list-search-toggle input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  transition: transform 0.18s var(--ease);
}

.new-list-search-toggle input:checked {
  background: rgba(var(--primary-rgb), 0.95);
}

.new-list-search-toggle input:checked::after {
  transform: translateX(16px);
}

.new-list-search-toggle:has(input:checked) {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

/* 모바일: 검색 placeholder 잘림/토글 과대 방지 */
@media (max-width: 520px) {
  .new-list-toolbar-search {
    flex: 1 1 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 0.5rem;
  }

  .new-list-search-input {
    width: 100%;
    max-width: 100%;
    height: 2.5rem;
    padding: 0 0.9rem;
    font-size: 0.95rem;
    line-height: 1.2;
    box-sizing: border-box;
  }

  .new-list-search-toggle {
    height: 1.9rem;
    padding: 0 0.55rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .new-list-search-toggle input {
    width: 30px;
    height: 16px;
  }

  .new-list-search-toggle input::after {
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
  }

  .new-list-search-toggle input:checked::after {
    transform: translateX(14px);
  }
}

/* 리스트/카드 상단 버튼: 한 단계 더 컴팩트 */
.new-list-toolbar-actions .btn-outline,
.new-list-toolbar-actions .btn-primary,
.new-vehicles-toolbar-actions .btn-outline,
.new-vehicles-toolbar-actions .btn-primary {
  height: 2.05rem;
  padding: 0 0.7rem;
  font-size: 0.86rem;
  border-radius: 999px;
}

.vehicle-data-sheet-wrap,
.vehicle-inventory-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid #111; /* 표 외곽 테두리 두껍게 */
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

/* 신차 리스트 — 상단 고정 제목·차급 그룹(표에는 숫자 미표시, 정렬·안내용) */
.vehicle-inventory-sheet-head {
  min-width: 44rem;
  border-bottom: 2px solid #1a1a1a;
  background: rgba(var(--primary-rgb), 0.12);
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 5;
}

.vic-sheet-head-row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.vic-sheet-head-cell {
  border-right: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.25rem;
  font-weight: 800;
  color: #111;
  text-align: center;
  box-sizing: border-box;
  font-size: 0.95rem;
}

.vic-sheet-head-cell:last-child {
  border-right: none;
}

/* 아래 폭들은 카드 컬럼 폭과 동일 */
.vic-sheet-head-model {
  flex: 0 0 6.2rem; /* .vic-model */
}
.vic-sheet-head-mid {
  flex: 1.4 1 0; /* .vic-specs (카드 본문과 동일) */
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0; /* padding은 내부로 내려서 폭 정렬 */
  box-sizing: border-box;
  border-right: none; /* specs↔deposit 경계는 deposit left로 통일 */
}

/* 헤더 가운데 칸 내부 패딩(폭 정렬 깨지지 않게) */
.vic-sheet-head-mid .vic-sheet-main-title {
  padding: 0.55rem 0.25rem 0 0.25rem;
}
.vic-sheet-head-mid .vic-sheet-boxes {
  padding: 0 0.25rem 0.55rem 0.25rem;
}
.vic-sheet-head-deposit {
  flex: 0 0 3.5rem; /* .vic-deposit */
  border-left: 1px solid #1a1a1a; /* specs↔deposit 경계(헤더/본문 동일) */
}
.vic-sheet-head-term {
  flex: 0 0 2.6rem; /* .vic-term */
}
.vic-sheet-head-rent {
  flex: 0 0 5.8rem; /* .vic-rent */
}
.vic-sheet-head-buyout {
  flex: 0 0 5.8rem; /* .vic-buyout */
}
.vic-sheet-head-note {
  flex: 0 0 7rem; /* .vic-note */
  min-width: 7rem;
}

.vic-sheet-main-title {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.vic-sheet-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
}

.vic-sheet-group-box {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  max-width: 100%;
  box-sizing: border-box;
}

/* 신차 리스트 — 견적서형 재고 시트(한 줄 = 차량 1대) */
.vehicle-inventory-list {
  display: flex;
  flex-direction: column;
  min-width: 44rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #111;
}

/* 신차/중고 리스트(표): 너무 억지로 줄이면 글자가 세로로 찢어짐 → “가로 스크롤 + 적당히 컴팩트”로 */
@media (max-width: 1023px) {
  .new-list-page .vehicle-inventory-wrap,
  .used-list-page .vehicle-inventory-wrap {
    overflow-x: auto;
  }

  .new-list-page .vehicle-inventory-sheet-head,
  .new-list-page .vehicle-inventory-list,
  .used-list-page .vehicle-inventory-sheet-head,
  .used-list-page .vehicle-inventory-list {
    min-width: 42rem; /* 기존 44rem보다 살짝만 줄임 */
  }

  .new-list-page .vic-sheet-head-cell,
  .used-list-page .vic-sheet-head-cell {
    padding: 0.55rem 0.2rem;
    font-size: 0.86rem;
  }

  /* 가운데 큰 제목이 세로로 찢어지지 않게 */
  .new-list-page .vic-sheet-main-title,
  .used-list-page .vic-sheet-main-title {
    white-space: nowrap;
    word-break: keep-all;
    font-size: 1.05rem;
  }

  /* 셀 내부 패딩만 살짝 축소 */
  .new-list-page .vic-spec-grid > div,
  .used-list-page .vic-spec-grid > div {
    padding: 0.1rem 0.12rem;
    font-size: 0.78rem;
  }
}

/* 모바일: “가로 한 화면에 최대한” + 타이트(겹치지 않게) */
@media (max-width: 520px) {
  .new-list-page .vehicle-inventory-wrap,
  .used-list-page .vehicle-inventory-wrap {
    overflow-x: auto;
  }

  .new-list-page .vehicle-inventory-sheet-head,
  .new-list-page .vehicle-inventory-list,
  .used-list-page .vehicle-inventory-sheet-head,
  .used-list-page .vehicle-inventory-list {
    min-width: 40rem; /* 줄임(너무 줄이면 깨짐) */
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .new-list-page .vic-sheet-head-cell,
  .used-list-page .vic-sheet-head-cell {
    padding: 0.35rem 0.1rem;
    font-size: 0.72rem;
  }

  .new-list-page .vic-spec-grid > div,
  .used-list-page .vic-spec-grid > div {
    padding: 0.02rem 0.06rem; /* 양옆 여백 거의 0 */
    font-size: 0.72rem;
  }

  .new-list-page .vic-spec-opt-val,
  .used-list-page .vic-spec-opt-val {
    padding-left: 0.08rem;
    padding-right: 0.08rem;
  }

  .new-list-page .vic-cell,
  .used-list-page .vic-cell {
    padding: 0.06rem 0.08rem;
  }

  .new-list-page .vic-note-tags,
  .used-list-page .vic-note-tags {
    padding: 1.6rem 0.06rem 0.06rem; /* 태그 아래로 유지 + 좌우 여백 축소 */
  }

  .new-list-page .vic-note-link,
  .used-list-page .vic-note-link {
    padding: 0.04rem 0.06rem 0.1rem;
  }
}

/* 리스트(표) “한 화면 맞춤”은 JS에서 실제 너비 기준으로 스케일 계산 */

.vehicle-inventory-card {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  border-bottom: 1px solid #1a1a1a;
  box-sizing: border-box;
  text-align: center;
}

.vic-model,
.vic-specs,
.vic-deposit,
.vic-term,
.vic-rent,
.vic-buyout,
.vic-note {
  box-sizing: border-box; /* 헤더(.vic-sheet-head-cell)와 폭 계산 동일화 */
}

.vehicle-inventory-card:first-child {
  border-top: 1px solid #1a1a1a;
}

.vic-model {
  flex: 0 0 6.2rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem; /* 차량명/번호 사이 한 줄 더 띄움 */
  padding: 0.55rem 0.25rem;
  background: #e8e8e8;
  border-right: 1px solid #1a1a1a;
  font-weight: 700;
}

.vic-model-title {
  font-size: 0.875rem;
}

.vic-model-plate {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

.vic-specs {
  flex: 1.4 1 0;
  min-width: 0;
  flex-shrink: 0;
  border-right: none; /* 경계선은 보증금 컬럼의 left로만 그려 2중선 방지 */
}

.vic-spec-grid {
  display: grid;
  grid-template-columns: minmax(2.4rem, 0.85fr) minmax(3.8rem, 1.15fr) minmax(2.4rem, 0.85fr) minmax(3.8rem, 1.15fr);
  grid-template-rows: repeat(3, minmax(2rem, auto)) minmax(2.35rem, auto);
  height: 100%;
  min-height: 9.6rem; /* 전체 세로 길이 증가 */
}

.vic-spec-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.12rem;
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  box-sizing: border-box;
}

/* PC list pages: make spec text larger (do not affect mobile <=420px) */
@media (min-width: 421px) {
  body.new-list-page .vic-spec-grid > div,
  body.used-list-page .vic-spec-grid > div {
    font-size: 0.96rem;
    line-height: 1.2;
  }
  body.new-list-page .vic-spec-grid > .vic-spec-lbl,
  body.used-list-page .vic-spec-grid > .vic-spec-lbl,
  body.new-list-page .vic-spec-grid > .vic-spec-opt-lbl,
  body.used-list-page .vic-spec-grid > .vic-spec-opt-lbl {
    font-size: 0.92rem;
    font-weight: 600;
  }
  body.new-list-page .vic-spec-grid > .vic-spec-opt-val,
  body.used-list-page .vic-spec-grid > .vic-spec-opt-val {
    font-size: 1.02rem;
    line-height: 1.25;
  }
}

.vic-spec-grid > div:nth-child(4n) {
  border-right: none;
}

.vic-spec-lbl {
  font-weight: 600;
  background: rgba(var(--primary-rgb), 0.06);
}

.vic-spec-opt-lbl {
  grid-column: 1;
  grid-row: 4;
  font-weight: 600;
  background: rgba(var(--primary-rgb), 0.06);
}

.vic-spec-opt-val {
  grid-column: 2 / -1;
  grid-row: 4;
  color: #c41e3a;
  font-weight: 700;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  justify-content: flex-start;
  text-align: left;
}

/* 옵션 줄(마지막 row)은 카드 하단선과 겹치므로 그리드 하단선 제거 */
.vic-spec-grid > .vic-spec-opt-lbl,
.vic-spec-grid > .vic-spec-opt-val {
  border-bottom: none;
}

/* 옵션 값은 2~4열 병합: 우측선은 specs↔deposit 경계선으로만 표시 */
.vic-spec-grid > .vic-spec-opt-val {
  border-right: none;
}

.vic-txt-blue {
  color: #1565c0;
  font-weight: 700;
}

.vic-txt-red {
  color: #111; /* 렌트료 값: 검은색 */
  font-weight: 600; /* 기간/렌트료 굵게 X */
}

.vic-deposit {
  flex: 0 0 3.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #1a1a1a; /* specs↔deposit 경계선(단일) */
  border-right: 1px solid #1a1a1a;
  font-size: 1.2rem;
  font-weight: 900;
  color: #111; /* 보증금 값 기본: 검은색 */
  line-height: 1;
  padding: 0.25rem;
  box-sizing: border-box;
  white-space: nowrap;
}

.vic-deposit .vic-txt-blue {
  white-space: nowrap;
  font-size: 1.05rem; /* 120만 줄바꿈 방지용 미세 축소 */
  color: inherit;
}

/* Mobile stacked adjustments: allow option block wrapping and full-width labels/values */
@media (max-width: 420px) {
  .vehicle-inventory-card.mobile-stacked .vic-spec-grid {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .vehicle-inventory-card.mobile-stacked .vic-spec-grid > div {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.04rem 0 !important;
    margin: 0 !important;
    font-size: 0.36rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  .vehicle-inventory-card.mobile-stacked .vic-spec-grid > .vic-spec-lbl {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    padding-left: 0 !important;
  }
  .vehicle-inventory-card .vic-spec-opt-bottom,
  .vehicle-inventory-card.mobile-stacked .vic-spec-opt-val {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    display: block !important;
  }
  .vehicle-inventory-card .vic-spec-opt-bottom .vic-spec-opt-val {
    -webkit-line-clamp: 3 !important;
    display: block !important;
  }
  .vehicle-inventory-card.mobile-stacked .vic-deposit .vic-txt-blue { font-size: 0.44rem !important; }
}

/* Mobile: boxed spec cells like screenshot */
@media (max-width: 420px) {
  .vehicle-inventory-card.mobile-stacked .vic-spec-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: minmax(1.6rem, auto) !important;
    gap: 0.06rem !important;
    padding: 0.06rem !important;
    background: transparent !important;
  }

  .vehicle-inventory-card.mobile-stacked .vic-spec-grid > div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.06rem !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-sizing: border-box !important;
    font-size: 0.36rem !important;
    line-height: 1 !important;
    min-height: 1.6rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: #fff !important;
  }

  .vehicle-inventory-card.mobile-stacked .vic-spec-grid > .vic-spec-lbl {
    background: rgba(var(--primary-rgb), 0.04) !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 0.32rem !important;
  }
  /* Place option value inline next to option label within the grid */
  .vehicle-inventory-card.mobile-stacked .vic-spec-opt-lbl {
    grid-column: 1 / 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 0.06rem !important;
    background: rgba(var(--primary-rgb), 0.04) !important;
  }
  .vehicle-inventory-card.mobile-stacked .vic-spec-opt-inline {
    grid-column: 2 / -1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.04rem 0.06rem !important;
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    background: #fff !important;
    font-size: 0.34rem !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    justify-content: flex-start !important;
  }
  .vehicle-inventory-card.mobile-stacked .vic-spec-opt-inline .vic-spec-opt-val {
    grid-column: auto !important;
    grid-row: auto !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    white-space: normal !important;
  }

  /* disable old bottom option block layout in mobile-stacked */
  .vehicle-inventory-card.mobile-stacked .vic-spec-opt-bottom { display: none !important; }
  .vehicle-inventory-card.mobile-stacked .vic-spec-opt-val { grid-column: auto !important; }

  /* reduce deposit box size */
  .vehicle-inventory-card.mobile-stacked .vic-deposit {
    padding: 0.06rem !important;
    border-left: 1px solid #1a1a1a !important;
    border-right: none !important;
  }
  .vehicle-inventory-card.mobile-stacked .vic-deposit .vic-txt-blue {
    font-size: 0.46rem !important;
  }
}

.vic-deposit.is-low-deposit {
  color: #16a34a; /* 100만원 미만: 비비드 초록 */
}

.vic-term,
.vic-rent,
.vic-buyout {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1a1a1a;
  flex-shrink: 0;
}

/* PC(used-list): make rent↔buyout boundary a single clean line */
@media (min-width: 421px) {
  /* header boundary */
  body.used-list-page .vehicle-inventory-sheet-head .vic-sheet-head-rent { border-right: none !important; }
  body.used-list-page .vehicle-inventory-sheet-head .vic-sheet-head-buyout { border-left: 1px solid #1a1a1a !important; }

  /* body boundary (single line) */
  body.used-list-page .vehicle-inventory-card .vic-rent { border-right: none !important; }
  body.used-list-page .vehicle-inventory-card .vic-buyout { border-left: 1px solid #1a1a1a !important; }
}

.vic-term {
  flex: 0 0 2.6rem;
}
.vic-rent {
  flex: 0 0 5.8rem;
}
.vic-buyout {
  flex: 0 0 5.8rem;
  position: relative;
}

.vic-cell-row {
  flex: 1;
  min-height: 2.1rem;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.vic-cell-row:last-child {
  border-bottom: none;
}
.vic-cell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.25rem;
  box-sizing: border-box;
  font-weight: 700;
}

.vic-term .vic-cell {
  font-size: calc(1.05rem - 1px);
  font-weight: 600; /* 기간 글씨 두껍게 X */
  color: #111; /* 기간 값: 검은색 */
}

.vic-rent .vic-cell {
  font-size: calc(0.95rem - 1px);
  color: #111; /* 렌트료 값: 검은색 */
}

.vic-buyout .vic-cell {
  font-size: 0.78rem; /* 인수가는 더 작게 */
  font-weight: 600; /* bold 느낌 제거 */
  color: #111;
}

/* 인수가: "같은 금액 병합 구간" 내부 줄만 제거 */
.vic-buyout .vic-cell-row.is-merged-inner {
  border-bottom: none;
}

/* PC: 인수가 병합 구간이면 기간/렌트료도 같이 줄 제거(라인 깨짐 방지) */
.vic-term .vic-cell-row.is-merged-peer,
.vic-rent .vic-cell-row.is-merged-peer {
  border-bottom: none;
}

.vic-buyout-overlay {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 0.4rem);
  text-align: center;
  pointer-events: none;
}

.vic-term.is-single .vic-cell-row,
.vic-rent.is-single .vic-cell-row,
.vic-buyout.is-single .vic-cell-row {
  border-bottom: none;
}

.vic-note {
  flex: 0 0 7rem;
  min-width: 7rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.vic-note-tags {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 2.1rem 0.2rem 0.1rem; /* 텍스트가 살짝 아래로 오게 */
  flex: 1 1 auto;
}

.vic-note-tag {
  padding: 0.1rem 0.1rem;
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 0;
}

.vic-note-bigo {
  padding: 0.12rem 0.1rem;
  font-weight: 500;
  font-size: 0.78rem;
  color: #f08c2a;
  text-align: center;
  opacity: 0.9;
}

.vic-note-link {
  display: block;
  padding: 0.08rem 0.2rem 0.16rem;
  margin-top: 0.05rem;
  text-align: center;
  border-top: none;
  background: #f1f1e6;

  font-weight: 700;
  color: var(--primary);
  font-size: 1.0rem; /* 상세보기 조금 더 크게 */
  line-height: 1.75;
  text-decoration: none;
}

/* 좁은 화면에서는 "깨지지 않게" 가로 스크롤로 유지 */

/* 모바일: 화면에 "딱 들어오게" 한 단계 더 압축 */
@media (max-width: 560px) {
  .vehicle-inventory-sheet-head,
  .vehicle-inventory-list {
    /* 표를 억지로 줄이면 뭉개져서, 폭은 유지하고 가로 스크롤 */
    min-width: 44rem;
  }

  .vic-sheet-head-cell {
    padding: 0.45rem 0.2rem;
    font-size: 0.86rem;
  }

  .vic-sheet-main-title {
    font-size: 1.05rem;
  }

  .vic-model {
    flex-basis: 5.4rem;
  }

  .vic-specs {
    flex: 1 1 auto;
    flex-shrink: 1;
  }

  .vic-spec-grid {
    grid-template-columns: minmax(2.2rem, 0.9fr) minmax(3.2rem, 1.1fr) minmax(2.2rem, 0.9fr) minmax(3.2rem, 1.1fr);
    min-height: 9.1rem;
  }

  .vic-deposit {
    flex-basis: 3.2rem;
  }

  .vic-term {
    flex-basis: 2.25rem;
  }

  .vic-rent,
  .vic-buyout {
    flex-basis: 4.9rem;
  }

  .vic-note {
    flex-basis: 5.8rem;
    min-width: 5.8rem;
  }
}

.vehicle-data-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.vehicle-data-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.5rem 0.55rem;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  background: #e8ecf4;
  border: 1px solid #c5cdd9;
  white-space: nowrap;
  box-shadow: 0 1px 0 #c5cdd9;
}

.vehicle-data-table tbody td {
  padding: 0.45rem 0.55rem;
  border: 1px solid #d8dee8;
  vertical-align: top;
  color: var(--text);
  background: #fff;
}

.vehicle-data-table tbody tr:nth-child(even) td {
  background: #f7f9fc;
}

.vehicle-data-table td.num,
.vehicle-data-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vehicle-data-table td.nowrap {
  white-space: nowrap;
}

.vehicle-data-table a.detail-link {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  font-family: inherit;
  font-size: 0;
  font-weight: 600;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-search-toggle::before {
  content: "";
  width: 26px;
  height: 26px;
  display: block;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%231d4ed8'%20stroke-width%3D'2.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'11'%20cy%3D'11'%20r%3D'7'/%3E%3Cpath%20d%3D'M20%2020l-3.5-3.5'/%3E%3C/svg%3E");
}

.btn-search-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

/* 모바일/태블릿: 통합검색은 아이콘만(기본 규칙보다 아래에서 덮어쓰기) */
@media (max-width: 1023px) {
  .header-actions .btn-search-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    font-size: 0;
    gap: 0;
    border: none;
    background: transparent;
  }
  .header-actions .btn-search-toggle::before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background: no-repeat center / contain
      url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%231d4ed8'%20stroke-width%3D'2.4'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'11'%20cy%3D'11'%20r%3D'7'/%3E%3Cpath%20d%3D'M20%2020l-3.5-3.5'/%3E%3C/svg%3E");
  }
}

/* Search panel */
.search-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem 0 1.25rem;
}

.search-panel.is-open {
  display: block;
}

.search-panel form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.search-panel label {
  flex: 1;
  min-width: min(100%, 240px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.search-panel input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  min-width: 0;
}

.search-panel input::placeholder {
  color: #9aa1ac;
}

.search-panel button[type="submit"] {
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.32);
  transition: filter 0.2s, box-shadow 0.2s;
}

.search-panel button[type="submit"]:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.4);
}

.search-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 통합 검색 페이지(search.html): 검색창 비율 · 결과 히어로 · 빈 결과 */
body.page-search .search-panel .container {
  max-width: 720px;
}

body.page-search .search-panel form {
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.75rem;
}

body.page-search .search-panel label {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(100%, 380px);
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(29, 78, 216, 0.35);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

body.page-search .search-panel button[type="submit"] {
  flex: 1 1 200px;
  min-width: 148px;
  max-width: 260px;
  padding: 0.55rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* 통합 검색 페이지: 결과 상단 툴바 숨김 */
body.page-search .new-vehicles-toolbar {
  display: none !important;
}

.search-results-page-hero {
  padding-bottom: 1.25rem;
}

.search-results-page-hero h1.search-results-page-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.search-results-page-sub {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.vehicle-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  margin: 0 0 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.vehicle-search-empty-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  color: #9ca3af;
}

.vehicle-search-empty-icon svg {
  width: 100%;
  height: 100%;
}

.vehicle-search-empty-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.vehicle-search-empty-desc {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

a.vehicle-search-empty-home {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.vehicle-search-empty-home-ic {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* 통합검색(search.html): 결과 카드가 있으면 빈 상태는 절대 안 보이게 */
@supports selector(:has(*)) {
  body.page-search #vehicle-list-connected:has(#vehicle-list-cards li.new-vehicle-card:not(.is-empty)) #vehicle-search-empty-state {
    display: none !important;
  }
}

@media (max-width: 520px) {
  body.page-search .search-panel form {
    flex-wrap: wrap;
  }
  body.page-search .search-panel label {
    max-width: 100%;
  }
  body.page-search .search-panel button[type="submit"] {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
}

/* —— Index wide search —— */
.index-search-wide {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.index-search-form {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
}

.index-search-label {
  flex: 1;
  min-width: min(100%, 460px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.index-search-label input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
}

.index-search-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.index-search-foot {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  background: linear-gradient(
    125deg,
    #eef2ff 0%,
    #fce7f3 38%,
    #e0f2fe 72%,
    #ede9fe 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.22) 0%,
    rgba(236, 72, 153, 0.12) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -15%;
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(420px, 560px);
    align-items: stretch;
  }
}

/* index hero: consult + quick widget */
.hero-side {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .hero-side {
    grid-template-columns: 1fr 140px;
    align-items: start;
  }
}

.hero-quick-widget {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.65rem;
}

.hero-quick-btn {
  display: grid;
  gap: 0.5rem;
  place-items: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 18px;
  padding: 1.5rem 0.75rem;
  min-height: 210px;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.hero-quick-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.hero-quick-btn.is-call {
  background: linear-gradient(180deg, #1d4ed8 0%, #0b2a6f 100%);
}

.hero-quick-btn.is-kakao {
  background: linear-gradient(180deg, #0ea5e9 0%, #075985 100%);
}

.hero-quick-ico {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-quick-ico svg {
  width: 42px;
  height: 42px;
}

.hero-quick-btn.is-kakao .hero-quick-ico {
  background: #fee500;
  border-color: rgba(0, 0, 0, 0.1);
  color: #111827;
}

.hero-quick-text strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-quick-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.6rem;
  font-weight: 800;
  opacity: 0.95;
  line-height: 1.05;
}

@media (max-width: 899px) {
  .hero-quick-widget {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .hero-quick-btn {
    min-height: 190px;
  }
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  background: linear-gradient(105deg, var(--text) 0%, #312e81 38%, var(--primary) 72%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-badges span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.14);
  color: #4338ca;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.hero-badges span:nth-child(2) {
  background: var(--accent-soft);
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.22);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 48%, #8b5cf6 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.38);
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(var(--primary-rgb), 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Consult card */
.consult-card {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.consult-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.consult-card > p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
}

.consult-card .btn-primary {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--text) 15%, var(--primary) 55%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Brand steps */
.brand-block {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), var(--surface));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.brand-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .brand-steps {
    grid-template-columns: 1fr 1fr;
  }
}

.brand-step {
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(var(--primary-rgb), 0.35);
  border-radius: var(--radius-sm);
  text-align: center;
}

.brand-step strong {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.brand-step span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.veh-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

a.veh-card-hit {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.veh-card-hit:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.veh-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.veh-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #c7d2fe 0%, #fbcfe8 45%, #a5f3fc 100%);
  position: relative;
}

.veh-card .thumb::after {
  content: "";
  position: absolute;
  inset: 22% 18%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.veh-card .body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.veh-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.veh-card .spec {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.veh-card .price {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.veh-card .price strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* 인덱스 하단 CTA 버튼은 조금 더 크게 */
.page-index .section-cta .btn-outline {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

/* Features */
.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.feature {
  padding: 1.35rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.feature .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.2) 0%,
    rgba(244, 63, 94, 0.14) 55%,
    rgba(6, 182, 212, 0.16) 100%
  );
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.12);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    #4f46e5 0%,
    #7c3aed 38%,
    #db2777 72%,
    #0891b2 100%
  );
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 20% 20%,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
  font-size: 0.98rem;
}

.cta-band .tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cta-band .tel a {
  color: inherit;
  text-decoration: none;
}

.cta-band .tel a:hover {
  text-decoration: underline;
}

.home-vehicle-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 모바일: 인덱스 썸네일은 2열로 */
@media (max-width: 720px) {
  .home-vehicle-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.index-veh-loading {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.index-veh-alert {
  margin: 0 0 1rem;
}

.index-veh-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.index-veh-fallback {
  margin-bottom: 0.5rem;
}

.cta-band .actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.cta-band .btn-kakao,
.company-cta-band .btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  background: var(--kakao);
  color: var(--kakao-text);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.page-index .cta-band .btn-kakao {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  background: #0c1118;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
}

.footer-mobile-compact {
  display: none;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 1.5rem 0 5.25rem; /* 하단 고정바 공간 */
  }
  .site-footer .footer-grid {
    display: none;
  }
  .footer-mobile-compact {
    display: block;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: center;
  }
  .footer-mobile-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.7rem;
  }
  .footer-mobile-logo .logo-img {
    height: 44px;
    width: auto;
    display: block;
  }
  .footer-mobile-logo .footer-brand-text {
    color: #fff;
  }
  .footer-mobile-lines > div {
    margin: 0.18rem 0;
  }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 0.85rem;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-login {
    display: none; /* 모바일은 상단에서 숨겼던 백오피스를 여기에도 노출 안 함 */
  }
}

/* 인덱스: 출고후기 카드 본문은 2줄만 */
.index-reviews-preview .new-vehicle-card-specs {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 인덱스: 출고후기 카드 제목은 1줄 + 말줄임 */
.index-reviews-preview .new-vehicle-card-title {
  font-size: 0.95rem;
  line-height: 1.25;
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 모바일: 출고후기/블로그 목록 페이지도 인덱스와 같은 썸네일 타이포 + 말줄임 */
@media (max-width: 1023px) {
  /* 제목: 1줄 + ... */
  #reviews-index-live-mount .new-vehicle-card-title,
  #blog-index-live-mount .new-vehicle-card-title {
    font-size: 0.95rem;
    line-height: 1.25;
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 본문/요약: 2줄 + ... */
  #reviews-index-live-mount .new-vehicle-card-specs,
  #blog-index-live-mount .new-vehicle-card-specs {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* 모바일 하단 고정 상담 바 */
.mobile-contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  display: none;
  gap: 0;
  padding: 0.65rem 0.75rem max(0.65rem, env(safe-area-inset-bottom, 0px));
  background: rgba(12, 17, 24, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-contact-btn {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 52px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mobile-contact-btn--call {
  background: linear-gradient(145deg, var(--primary), #7c3aed);
  color: #fff;
  margin-right: 0.5rem;
}

.mobile-contact-btn--kakao {
  background: var(--kakao);
  color: #111;
}

.mobile-contact-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0; /* 텍스트/이모지는 숨김 */
}

.mobile-contact-btn--call .mobile-contact-ico {
  background: rgba(255, 255, 255, 0.18);
}
.mobile-contact-btn--kakao .mobile-contact-ico {
  background: rgba(17, 17, 17, 0.12);
}
.mobile-contact-ico::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: no-repeat center / contain;
}
.mobile-contact-btn--call .mobile-contact-ico::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'2.3'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M22%2016.92v3a2%202%200%200%201-2.18%202%2019.79%2019.79%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6%2019.79%2019.79%200%200%201-3.07-8.67A2%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72%2012.84%2012.84%200%200%200%20.7%202.81%202%202%200%200%201-.45%202.11L8.09%209.91a16%2016%200%200%200%206%206l1.27-1.27a2%202%200%200%201%202.11-.45%2012.84%2012.84%200%200%200%202.81.7A2%202%200%200%201%2022%2016.92z'/%3E%3C/svg%3E");
}
.mobile-contact-btn--kakao .mobile-contact-ico::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'%23111111'%3E%3Cpath%20d%3D'M12%203c5.523%200%2010%203.582%2010%208s-4.477%208-10%208c-.555%200-1.099-.036-1.631-.107L6%2021l.68-2.72C4.825%2016.817%202%2013.687%202%2011c0-4.418%204.477-8%2010-8z'/%3E%3C/svg%3E");
}

.mobile-contact-txt {
  font-size: 1.05rem;
}

@media (max-width: 1023px) {
  /* 하단 고정바를 쓰는 경우, 기존 원형 플로팅은 숨김 */
  .float-actions {
    display: none;
  }
  .side-contact-widget {
    display: none;
  }
  .mobile-contact-bar {
    display: flex;
  }
  .mobile-contact-bar[hidden] {
    display: flex; /* HTML에 hidden 있어도 모바일에서는 노출 */
  }
}

/* 모바일: 팝업이 화면을 다 가리지 않게 카드 자체를 축소 */
@media (max-width: 720px) {
  .page-index .notice-popup-overlay {
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
    justify-content: center;
  }
  .notice-popup-card {
    width: min(340px, 92vw);
    min-height: 180px;
    max-height: 72vh;
    border-radius: 14px;
  }
  .notice-popup-img {
    max-height: 58vh;
  }
}

.site-footer .logo {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}

.site-footer .logo span {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .logo .logo-img {
  height: 42px;
}

.site-footer .logo.has-image {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .footer-brand-text {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-links a:hover {
  color: #fff;
}

.footer-login {
  font-size: 0.8125rem;
}

.footer-login a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-login a:hover {
  color: #fff;
}

/* Floating */
.float-actions {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.25rem);
  bottom: clamp(0.75rem, 3vw, 1.25rem);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.float-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}

.float-actions a:hover {
  transform: scale(1.06);
}

.float-actions .call {
  background: linear-gradient(145deg, var(--primary), #7c3aed);
  color: #fff;
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.45);
}

.float-actions .kakao {
  background: var(--kakao);
  color: var(--kakao-text);
}

.float-actions svg {
  width: 26px;
  height: 26px;
}

/* index: right floating widget (hide old circles) */
.side-contact-widget {
  position: fixed;
  right: 18px;
  top: 140px;
  z-index: 60;
  display: grid;
  gap: 14px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.side-contact-widget.is-offscreen {
  opacity: 0;
  transform: translateX(56px);
  pointer-events: none;
}

.side-contact-btn {
  width: 128px;
  height: 182px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  color: #fff;
  padding: 16px 12px;
  background: linear-gradient(180deg, #1d4ed8 0%, #0b2a6f 100%);
}

.side-contact-btn.is-kakao {
  background: linear-gradient(180deg, #0ea5e9 0%, #075985 100%);
}

.side-contact-ico {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.side-contact-ico svg {
  width: 38px;
  height: 38px;
}

.side-contact-ico.is-kakao-ico {
  background: #fee500;
  border-color: rgba(0, 0, 0, 0.12);
  color: #111827;
}

.side-contact-text {
  margin-top: 10px;
  text-align: center;
}

.side-contact-text strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.10em;
}

.side-contact-sub {
  display: block;
  margin-top: 6px;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.05em;
}

/* index: PC에서는 원형 플로팅 숨김 (작은 위젯 불필요) */
.page-index .float-actions {
  display: none;
}

@media (max-width: 720px) {
  /* 모바일에서는 원형 플로팅을 쓰고, 큰 위젯은 숨김 */
  .page-index .float-actions {
    display: flex;
  }
  .page-index .side-contact-widget {
    display: none;
  }
  .side-contact-widget {
    right: 12px;
    top: auto;
    bottom: 92px;
  }
  .side-contact-btn {
    width: 112px;
    height: 158px;
  }
  .side-contact-ico {
    width: 74px;
    height: 74px;
  }
  .side-contact-ico svg {
    width: 40px;
    height: 40px;
  }
}

/* 전 페이지: 예전 동글이 플로팅 버튼 완전 비활성 (index/서브 모두) */
.float-actions {
  display: none !important;
}

/* 모바일/태블릿: 큰 우측 위젯은 숨기고 하단 고정 바만 사용 */
@media (max-width: 1023px) {
  .side-contact-widget {
    display: none !important;
  }
}

/* Page hero small */
.page-hero {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.page-hero-sub {
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 1023px) {
  .page-hero-sub {
    font-size: 0.78rem; /* 포인트 팍 줄이기 */
    line-height: 1.35;
  }
}

/* 신차·중고 목록(new/used) — 블로그·고객센터 히어로와 같은 그라데이션 톤 */
.page-hero.page-hero-vehicle {
  background: linear-gradient(
    125deg,
    rgba(var(--primary-rgb), 0.11) 0%,
    rgba(212, 157, 6, 0.07) 45%,
    rgba(175, 78, 231, 0.06) 100%
  );
  border-bottom: 1px solid var(--line);
}

/* 출고후기 그라데이션션 */
.page-hero.page-hero-reviews {
  background: linear-gradient(
    125deg,
    rgba(var(--primary-rgb), 0.11) 0%,
    rgba(112, 110, 221, 0.07) 45%,
    rgba(231, 228, 78, 0.192) 100%
  );
  border-bottom: 1px solid var(--line);
}



.page-body {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.placeholder-box {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
}

/* 신차 장기렌트 — NocoDB 목록 */
.new-vehicles-panel {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1rem, 3vw, 1.75rem);
  background: var(--surface);
}

.new-vehicles-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.new-vehicles-toolbar-msg {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.new-vehicles-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.new-vehicles-loading {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.new-vehicle-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
}

/* 모바일: 신차/중고 카드 목록도 2열로 */
@media (max-width: 720px) {
  .new-vehicle-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .new-vehicle-card-thumb {
    min-height: 8.8rem;
    max-height: 12.5rem;
  }
  .new-vehicle-card-stack .new-vehicle-card-body {
    padding: 0.8rem 0.85rem 0;
  }
}

.new-vehicle-card {
  margin: 0;
}

.new-vehicle-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(var(--primary-rgb), 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* 세로 스택: 썸네일 상단 풀폭 (참고: 아리렌트 신차 목록 카드 흐름) */
.new-vehicle-card-inner.new-vehicle-card-with-thumb.new-vehicle-card-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.new-vehicle-card-stack .new-vehicle-card-body {
  padding: 0.95rem 1.05rem 0;
  gap: 0.4rem;
}

.new-vehicle-card-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 11.5rem;
  max-height: 16rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--primary-rgb), 0.06) 0%, var(--surface) 55%);
}

.new-vehicle-card-stack .new-vehicle-card-thumb {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* 목록 카드: 제목과 스펙 라인(연식·연료·…) 사이 — 최소 운전연령 */
.new-vehicle-card-min-age {
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2563eb !important;
  text-align: left;
  align-self: stretch;
  -webkit-text-fill-color: #2563eb;
}

.new-vehicle-card-stack .new-vehicle-card-min-age {
  width: 100%;
  box-sizing: border-box;
}

.new-vehicle-card-stack a.new-vehicle-card-hit .new-vehicle-card-min-age,
.new-vehicle-card-stack .new-vehicle-card-hit.is-static .new-vehicle-card-min-age {
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8;
}

.new-vehicle-card-thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.new-vehicle-card-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: pre-line;
  padding: 0.35rem;
}

.new-vehicle-card-placeholder-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(var(--primary-rgb), 0.55);
  pointer-events: none;
}

.new-vehicle-card-placeholder-svg {
  width: 72%;
  max-width: 11rem;
  height: auto;
  display: block;
}

/* 목록 썸네일 — 스티커: 가로로 긴 라운드 사각형(화이트 + 진한 외곽선 + 보라 오프셋 섀도) */
.new-vehicle-card-sticker-wrap {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  max-width: 14rem;
}

.new-vehicle-card-sticker {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.52rem 1.05rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--primary);
  text-align: center;
  background: #fff;
  border: 2px solid rgba(42, 32, 24, 0.92);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(139, 92, 246, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-vehicle-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.new-vehicle-card-kind {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.new-vehicle-card-specs {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.new-vehicle-card-specs-top,
.new-vehicle-card-specs-bottom {
  font-size: 0.78rem;
  line-height: 1.35;
}

/* 차량번호·주행거리 라인은 1줄 고정(길면 말줄임) */
.new-vehicle-card-specs-bottom {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 블로그·출고후기 목록(/blog/index, /reviews/index) — 썸네일 아래 요약 2줄만 */
.seo-blog-list .new-vehicle-card-stack .new-vehicle-card-specs,
.seo-reviews-list .new-vehicle-card-stack .new-vehicle-card-specs {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

/* 블로그·출고후기 정적 목록(generate-seo) — 신차 카드 하단 대신 날짜 메타 */
.new-vehicle-card-stack .new-vehicle-card-list-meta {
  margin: 0.45rem -1.05rem 0;
  padding: 0.65rem 1.05rem 1rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  width: auto;
}

.new-vehicle-card-options {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text);
}

.new-vehicle-card-pricing {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

/* 월렌트료 강조 박스 (참고 카드 하단) */
.new-vehicle-card-stack .new-vehicle-card-pricing {
  margin-top: 0.45rem;
  /* 구분선은 유지하되, 월렌트료 박스가 그 선까지 꽉 차게(위 여백 제거) */
  padding-top: 0;
  border-top: 1px solid rgba(var(--primary-rgb), 0.12);
  gap: 0;
}

.new-vehicle-card-stack .new-vehicle-card-deposit {
  padding: 0 0.15rem 0.35rem;
}

.new-vehicle-card-stack .new-vehicle-card-rent {
  /* 상단 구분선(보더)을 파란 박스가 덮도록 살짝 겹침 */
  margin: -1px -1.05rem 0;
  padding: 0.8rem 1.05rem 0.75rem;
  background: linear-gradient(180deg, #0038b8 0%, #001f8e 100%);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: none;
}

.new-vehicle-card-stack .new-vehicle-card-rent-label {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.new-vehicle-card-stack .new-vehicle-card-rent-amount {
  color: #fff;
  font-size: calc(1.2rem + 2px);
  font-weight: 800;
}

.new-vehicle-card-stack .new-vehicle-card-rent-term {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.new-vehicle-card-deposit {
  margin: 0;
  font-size: calc(0.8rem + 2px);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* 모바일/태블릿: 보증금/월렌트료 금액이 2줄로 떨어지지 않게 */
@media (max-width: 1023px) {
  .new-vehicle-card-deposit {
    white-space: nowrap;
    font-size: 0.9rem;
  }
  .new-vehicle-card-rent-amount {
    font-size: 1.05rem; /* 포인트(강조) 살짝 줄임 */
  }
  .new-vehicle-card-stack .new-vehicle-card-rent-amount {
    font-size: 1.1rem; /* 카드 하단 강조 박스도 살짝 줄임 */
  }
}

.new-vehicle-card-rent {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
  line-height: 1.25;
}

.new-vehicle-card-rent-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.new-vehicle-card-rent-amount {
  font-size: calc(1.125rem + 2px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.new-vehicle-card-rent-term {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
}

.new-vehicle-card-inner:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.08);
}

a.new-vehicle-card-hit {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  height: 100%;
}

a.new-vehicle-card-hit:hover .new-vehicle-card-inner {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.08);
}

a.new-vehicle-card-hit:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.new-vehicle-card-hit.is-static {
  display: block;
  height: 100%;
}

.new-vehicle-card-thumb.is-compact {
  /* 홈(신차/중고) 미리보기 썸네일 */
  aspect-ratio: 4 / 3;
  min-height: 10rem;
  max-height: 14rem;
}

.new-vehicle-card-thumb.is-compact img {
  min-height: 0;
}

.home-vehicle-preview-grid .new-vehicle-card-body {
  padding: 0.65rem 0.85rem 0.85rem;
}

.home-vehicle-preview-grid .new-vehicle-card-title {
  font-size: 0.95rem;
}

.home-vehicle-preview-grid .new-vehicle-card-pricing {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}

.home-vehicle-preview-grid .new-vehicle-card-stack .new-vehicle-card-rent {
  margin-left: -0.85rem;
  margin-right: -0.85rem;
  margin-bottom: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.new-vehicle-card.is-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 2rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.new-vehicle-card-title {
  margin: 0;
  font-size: calc(1.05rem + 2px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
}

/* 신차/중고 카드(썸네일): 모바일/태블릿에서 제목 1줄 + 포인트 다운 */
@media (max-width: 1023px) {
  .new-vehicle-card-title {
    font-size: 0.95rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .new-vehicle-card-specs-top,
  .new-vehicle-card-specs-bottom {
    font-size: 0.74rem;
  }

  /* 중고에서 plate·km가 길어도 1줄 유지 */
  .new-vehicle-card-specs-bottom {
    font-size: 0.72rem;
  }

  /* 모바일/태블릿: 스티커(card_sticker) 크기 줄이기 */
  .new-vehicle-card-sticker-wrap {
    top: 0.35rem;
    left: 0.35rem;
    max-width: 11.5rem;
  }
  .new-vehicle-card-sticker {
    padding: 0.38rem 0.75rem;
    font-size: 0.82rem;
    border-width: 2px;
    box-shadow: 3px 3px 0 rgba(139, 92, 246, 0.32);
  }
}

.new-vehicle-card-warn {
  margin: 0;
  font-size: 0.8rem;
  color: #b45309;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* —— Vehicle detail (NocoDB 연동) —— */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-muted);
  font-weight: 500;
}

.vehicle-detail-page .page-body {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.vehicle-hero-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.vehicle-kind-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.14);
  color: #4338ca;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}

.vehicle-kind-badge.is-used {
  background: var(--accent-soft);
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.22);
}

.vehicle-detail-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  background: linear-gradient(100deg, var(--text) 0%, var(--primary) 55%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 제목 바로 아래 붙은 옵션 칩들 */
.vehicle-title-options {
  margin: 0.15rem 0 0.9rem;
  font-size: 0.9rem;
}

.option-tag-list.option-tag-list-title {
  justify-content: flex-start;
}

.vehicle-meta-line {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.vehicle-meta-line strong {
  color: var(--text);
  font-weight: 600;
}

.vehicle-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .vehicle-layout {
    grid-template-columns: 1fr 340px;
  }
}

/* Grid 1fr 컬럼이 고해상도 이미지 내재 너비(min-content)로 밀려 넓어지는 것 방지 — 중고 상세가 신차와 같은 폭으로 보이게 */
.vehicle-main-col {
  min-width: 0;
  max-width: 100%;
}

.vehicle-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  background: linear-gradient(135deg, #c7d2fe 0%, #fbcfe8 50%, #a5f3fc 100%);
  box-shadow: var(--shadow);
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

/* 많은 고해상도 사진이 있어도 뷰포트 안에서 비율·최대 높이로 고정 */
.vehicle-gallery-main {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: min(62vh, 580px);
  aspect-ratio: 16 / 10;
  margin-inline: auto;
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.vehicle-gallery-main img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.vehicle-gallery-main.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-height: none;
  aspect-ratio: 16 / 10;
  min-height: 10rem;
}

.vehicle-gallery-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.45rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
}

.vehicle-gallery-thumbs-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.vehicle-gallery-thumbs-scroll::-webkit-scrollbar {
  height: 6px;
}

.vehicle-gallery-thumbs-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb), 0.25);
  border-radius: 999px;
}

.vehicle-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.1rem 0;
  width: max-content;
}

.vehicle-gallery-thumbs-nav {
  flex: 0 0 auto;
  width: 2rem;
  min-width: 2rem;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s, border-color 0.2s;
}

.vehicle-gallery-thumbs-nav:hover:not(:disabled) {
  background: #fff;
  border-color: rgba(var(--primary-rgb), 0.35);
}

.vehicle-gallery-thumbs-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.vehicle-gallery-thumbs button {
  flex: 0 0 72px;
  width: 72px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.2s, opacity 0.2s;
}

.vehicle-gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-gallery-thumbs button.is-active {
  border-color: var(--primary);
}

.vehicle-gallery-thumbs button:hover {
  opacity: 0.92;
}

.vehicle-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.vehicle-panel h2,
.vehicle-panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vehicle-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vehicle-price-grid-vertical {
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

@media (max-width: 480px) {
  .vehicle-price-grid {
    grid-template-columns: 1fr;
  }
}

.vehicle-price-cell {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.1) 0%,
    rgba(236, 72, 153, 0.08) 100%
  );
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.vehicle-price-cell-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
}

.vehicle-price-cell-row .term {
  display: inline;
  font-size: calc(0.78rem + 2px);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vehicle-price-cell-row .amount {
  font-size: calc(1.08rem + 4px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.vehicle-price-cell .term {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vehicle-price-cell .amount {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.vehicle-price-note {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: calc(0.8125rem + 2px);
  color: var(--text-muted);
  line-height: 1.55;
}

.vehicle-price-note li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.35rem;
}

.vehicle-price-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.vehicle-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.vehicle-cta-row .btn-primary,
.vehicle-cta-row .btn-outline {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.vehicle-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .vehicle-sidebar-sticky {
    position: sticky;
    top: 5.5rem;
  }
}

.vehicle-section {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.vehicle-section h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.vehicle-spec-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .vehicle-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vehicle-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.vehicle-spec-row dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.vehicle-spec-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.vehicle-buyout-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.vehicle-buyout-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.45rem;
  border: 1px solid #d7dbe5;
  border-radius: 999px;
  background: #f7f8fb;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

/* 중고 리스트 — 헤더는 연노랑 톤 */
.used-list-page .vehicle-inventory-sheet-head {
  background: rgba(245, 158, 11, 0.16);
}

.used-list-page .vic-spec-lbl,
.used-list-page .vic-spec-opt-lbl {
  background: rgba(245, 158, 11, 0.08);
}

.vehicle-option-block {
  margin-bottom: 1.25rem;
}

.vehicle-option-block:last-child {
  margin-bottom: 0;
}

.vehicle-option-block h3 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.option-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.option-tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
}

/* 상세 페이지 "대표 옵션" 섹션의 칩만 살짝 크게 (제목 아래 메타/타이틀 하단 칩은 유지) */
#vehicle-options .option-tag {
  font-size: 1.05rem;
  color:tomato
}

/* 상세: 대표 옵션(h2) 바로 아래 비고 블록 */
.vehicle-bigo-wrap {
  margin-top: 1rem;
}

.vehicle-bigo-subtitle {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.vehicle-bigo-block {
  margin: 0;
  padding: 0;
  border: none;
}

.vehicle-bigo-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.vehicle-bigo-text {
  margin: 0;
  white-space: pre-wrap;
}

.insurance-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.insurance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.insurance-table th,
.insurance-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.insurance-table th {
  background: var(--surface);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.insurance-table tr:last-child td {
  border-bottom: none;
}

.vehicle-insurance-driver-set {
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(var(--primary-rgb), 0.03);
}

.vehicle-insurance-driver-set:last-child {
  margin-bottom: 0;
}

.vehicle-isd-set-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.vehicle-isd-subtitle {
  margin: 1rem 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.vehicle-prose {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  white-space: pre-wrap;
}

.vehicle-video-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .vehicle-video-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vehicle-video-card {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.vehicle-video-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.vehicle-video-card .ratio {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #1e1b4b, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
}

.vehicle-video-card .cap {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.vehicle-alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}

.vehicle-alert.is-error {
  background: var(--accent-soft);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #9f1239;
}

.vehicle-alert.is-info {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: #3730a3;
}

.vehicle-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* Admin vehicle form */
.admin-vehicle-page .admin-form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.admin-vehicle-page .admin-form-section:last-of-type {
  border-bottom: none;
}

.admin-vehicle-page .admin-form-section h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-grid-2 {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .admin-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 245, 200, 0.35);
}

.admin-field.admin-field-outline-orange input,
.admin-field.admin-field-outline-orange select,
.admin-field.admin-field-outline-orange textarea {
  border-color: #f59e0b;
}

.admin-field.admin-field-outline-sky input,
.admin-field.admin-field-outline-sky select,
.admin-field.admin-field-outline-sky textarea {
  border-color: #38bdf8;
}

.admin-field.admin-field-outline-orange input:focus,
.admin-field.admin-field-outline-orange select:focus,
.admin-field.admin-field-outline-orange textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.admin-field.admin-field-outline-sky input:focus,
.admin-field.admin-field-outline-sky select:focus,
.admin-field.admin-field-outline-sky textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.admin-save-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.admin-save-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.admin-field input[readonly],
.admin-field textarea[readonly],
.admin-field select:disabled,
.admin-field input:disabled,
.admin-field textarea:disabled {
  background: var(--bg);
  color: var(--text-muted);
}

.admin-field textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-field textarea.code {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  min-height: 120px;
}

.json-set-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  margin-bottom: 1rem;
  background: var(--surface);
}

.json-set-draft {
  background: rgba(var(--primary-rgb), 0.06);
  border-style: dashed;
}

.json-set-draft-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.json-set-draft .btn-primary {
  margin-top: 0.85rem;
}

.json-set-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.json-set-card-saved .json-set-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.json-set-card-saved .json-set-card-head > button {
  margin-left: auto;
}

.json-set-pick-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.gallery-dropzone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.65rem 1.25rem;
  text-align: center;
  background: rgba(var(--primary-rgb), 0.04);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 180px;
  display: grid;
  align-content: center;
}

.gallery-dropzone.is-dragover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.gallery-dropzone-text {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

.gallery-dropzone-hint {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.gallery-file-input {
  font-size: 0.85rem;
  max-width: 100%;
}

.admin-gallery-urls-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-gallery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
  min-height: 1rem;
}

.admin-gallery-empty {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-gallery-item {
  width: 112px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  cursor: grab;
}

.admin-gallery-item.is-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

.admin-gallery-item.is-dragging {
  opacity: 0.65;
}

.admin-gallery-item img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  display: block;
}

.admin-gallery-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.35rem;
  justify-content: center;
}

.admin-gallery-item-actions .btn-sm,
.admin-gallery-item-actions .btn-outline {
  padding: 0.15rem 0.35rem;
  font-size: 0.7rem;
}

.gallery-btn-star {
  font-size: 0.85rem !important;
  line-height: 1;
}

.admin-includes-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0;
}

.admin-includes-fieldset legend {
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0 0.35rem;
}

.admin-includes-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 1.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.json-set-summary {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, monospace;
}

.json-set-sub {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.admin-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-mini-table th,
.admin-mini-table td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.5rem;
  text-align: left;
}

.admin-mini-table th {
  background: var(--surface);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.admin-mini-table-draft input {
  width: 100%;
  padding: 0.35rem 0.45rem;
  font-size: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
}

.admin-vehicle-page .btn-sm {
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.admin-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
}

.admin-status.is-visible {
  display: block;
}

.admin-status.ok {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.admin-status.err {
  background: var(--accent-soft);
  color: #9f1239;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.admin-summary {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.admin-advanced {
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 0.85rem 0.95rem;
}

.admin-advanced-summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}

.admin-advanced[open] .admin-advanced-summary {
  margin-bottom: 0.75rem;
}

.setup-steps strong.setup-steps-strong {
  color: var(--text);
}

.vehicle-contract-set {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.vehicle-contract-set:last-child {
  margin-bottom: 0;
}

.vehicle-contract-set h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.vehicle-set-title-row,
.vehicle-isd-set-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.vehicle-set-badge {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.15);
  color: #4338ca;
  border: 1px solid rgba(var(--primary-rgb), 0.28);
}

.vehicle-contract-set.is-featured,
.vehicle-insurance-driver-set.is-featured {
  border-color: rgba(var(--primary-rgb), 0.42);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.vehicle-contract-set .vehicle-spec-grid {
  gap: 0.5rem;
}

.vehicle-terms-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.15rem;
}

@media (max-width: 560px) {
  .vehicle-terms-pills {
    grid-template-columns: 1fr;
  }
}

.vehicle-term-pill-k {
  font-size: 0.84rem; /* +1pt 정도 업 */
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}


.vehicle-term-pill-v {
  background: #eef2ff;
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.vehicle-terms-pills + .admin-mini-table {
  margin-top: 2.05rem;
  border-top: 0.95px solid rgba(var(--primary-rgb), 0.12rem);
}


.vehicle-contract-set.is-featured .vehicle-term-pill-v,
.vehicle-insurance-driver-set.is-featured .vehicle-term-pill-v {
  border-color: rgba(var(--primary-rgb), 0.32);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.08);
}

/* —— 고객센터 (support.html) —— */
.page-hero-support {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.12) 0%,
    rgba(236, 72, 153, 0.08) 42%,
    rgba(6, 182, 212, 0.06) 100%
  );
  border-bottom: 1px solid var(--line);
}

@media (max-width: 520px) {
  .page-hero-support p {
    white-space: nowrap;
    font-size: 0.82rem;
    letter-spacing: -0.02em;
  }
}



.support-hub {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.support-subnav {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: -0.5rem 0 1.75rem;
  padding: 0.65rem 0;
  background: linear-gradient(180deg, rgba(250, 251, 255, 0.94) 0%, rgba(250, 251, 255, 0.88) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 모바일: 아래로 스크롤 시 상단 고정 서브메뉴 숨김 */
@media (max-width: 1023px) {
  .support-subnav {
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
    transform: translateY(0);
    opacity: 1;
  }

  body.is-scroll-down .support-subnav {
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
  }
}

.support-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.support-tab {
  flex: 1 1 auto;
  min-width: 7.5rem;
  margin: 0;
  padding: 0.65rem 1.1rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.support-tab:hover {
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.06);
}

.support-tab.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--primary) 0%, #7c3aed 55%, #db2777 100%);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.support-panel {
  scroll-margin-top: 5.5rem;
}

.support-panel-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.support-panel-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--text) 0%, var(--primary) 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.support-panel-lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42rem;
}

.support-panel-head-with-action {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.support-panel-head-text {
  flex: 1;
  min-width: 12rem;
}

.support-notice-write-btn {
  flex-shrink: 0;
  align-self: center;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* 공지 게시판 */
.support-board-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.support-board {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.support-board thead {
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(236, 72, 153, 0.06) 100%);
}

.support-board th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}

.support-board td {
  padding: 0.95rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.support-board tbody tr {
  transition: background 0.15s ease;
}

.support-board tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.support-board tbody tr:last-child td {
  border-bottom: none;
}

.support-board-col-no {
  width: 4.5rem;
  text-align: center;
}

.support-board-col-date {
  width: 7.5rem;
  white-space: nowrap;
}

.support-board-col-hit {
  width: 4rem;
  text-align: right;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.support-board-ico {
  text-align: center;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.support-badge-notice {
  background: linear-gradient(135deg, var(--accent-soft), rgba(6, 182, 212, 0.12));
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.22);
}

.support-board-link {
  color: var(--text);
  font-weight: 600;
  transition: color 0.15s ease;
}

.support-board-link:hover {
  color: var(--primary);
}

.support-board-date,
.support-board-hit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.support-board-footnote {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.support-notice-loading {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .support-board-col-hit,
  .support-board-col-date {
    display: none;
  }

  .support-board th.support-board-col-hit,
  .support-board th.support-board-col-date {
    display: none;
  }

  .support-board td:not(:nth-child(2)) {
    font-size: 0.8rem;
  }
}

/* 이용방법 단계 */
.support-guide-intro {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.support-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 244, 255, 0.5) 100%);
  box-shadow: var(--shadow);
}

.support-step-num {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.support-step-body {
  flex: 1;
  min-width: 0;
}

.support-step-title {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.support-step-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.support-step-list li + li {
  margin-top: 0.35rem;
}

.support-callout {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.support-callout-delivery {
  background: linear-gradient(120deg, rgba(6, 182, 212, 0.08) 0%, rgba(var(--primary-rgb), 0.06) 100%);
}

.support-callout-docs {
  background: linear-gradient(120deg, rgba(236, 72, 153, 0.06) 0%, rgba(var(--primary-rgb), 0.05) 100%);
}

.support-callout-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.support-muted {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ */
.support-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.support-faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 12px rgba(67, 56, 202, 0.05);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.support-faq-item:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
}

.support-faq-item[open] {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.1);
}

.support-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem 1rem 2.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  transition: background 0.15s ease;
}

.support-faq-q::-webkit-details-marker {
  display: none;
}

.support-faq-q::before {
  content: "Q";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), #ec4899);
}

.support-faq-item[open] .support-faq-q {
  background: rgba(var(--primary-rgb), 0.04);
}

.support-faq-a {
  padding: 0 1.15rem 1.1rem 2.75rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.support-faq-a p {
  margin: 0.75rem 0 0;
}

.support-faq-a p:first-child {
  margin-top: 0.85rem;
}

.support-faq-ol {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.65;
}

.support-faq-cta {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(236, 72, 153, 0.08) 50%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid var(--line);
}

.support-faq-cta-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.support-faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* —— 블로그 (목록·상세·글쓰기) —— */
.page-hero-blog {
  background: linear-gradient(
    125deg,
    rgba(var(--primary-rgb), 0.11) 0%,
    rgba(106, 96, 235, 0.07) 45%,
    rgba(241, 187, 237, 0.781) 100%
  );
  border-bottom: 1px solid var(--line);
}

.blog-hub {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.blog-hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.blog-category-nav {
  flex: 1 1 100%;
  overflow: hidden;
}

.blog-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-cat-btn {
  margin: 0;
  padding: 0.5rem 0.95rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.blog-cat-btn:hover {
  color: var(--text);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.blog-cat-btn.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), #6366f1);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.blog-search {
  display: flex;
  align-items: stretch;
  flex: 1 1 14rem;
  max-width: 22rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.blog-search input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0.55rem 1rem;
  font-family: var(--font);
  font-size: 0.875rem;
}

.blog-search input:focus {
  outline: none;
}

.blog-search-submit {
  margin: 0;
  padding: 0 1.15rem;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
}

.blog-write-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.blog-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .blog-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-card-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  margin: 0;
  min-width: 0;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 16px rgba(67, 56, 202, 0.07);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s var(--ease),
    transform 0.2s var(--ease);
}

.blog-card-link:hover {
  border-color: rgba(var(--primary-rgb), 0.28);
  box-shadow: 0 12px 36px rgba(79, 70, 229, 0.12);
  transform: translateY(-3px);
}

.blog-card-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
}

.blog-card-cat-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  max-width: calc(100% - 1.3rem);
  padding: 0.28rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  background: rgba(12, 16, 32, 0.82);
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 9rem;
  background: linear-gradient(160deg, #e8eeff 0%, #f0f4ff 50%, #fdf4ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--primary-rgb), 0.32);
}

.blog-card-thumb.is-placeholder {
  border-bottom: 1px solid var(--line);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.05rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.blog-card-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.38;
  color: #1e1b4b;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

.blog-card-meta-bar {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.blog-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-meta-ico {
  flex-shrink: 0;
  opacity: 0.9;
}

.blog-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 2rem;
}

.blog-pager-btn {
  min-width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0 0.5rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.blog-pager-btn:hover {
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.blog-pager-btn.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.blog-demo-note {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  /* 모바일: 푸터 위 CTA 배너는 숨김(하단 고정바로 대체) */
  .cta-band {
    display: none;
  }

  .blog-hub-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search {
    max-width: none;
  }

  .blog-write-btn {
    width: 100%;
    text-align: center;
  }
}

/* 블로그 본문 */
.blog-post-page {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.blog-post-breadcrumb {
  margin-bottom: 1.25rem;
}

.blog-post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.blog-post-cat {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.blog-post-title {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.3;
  color: var(--text);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.prose-blog {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.prose-blog p {
  margin: 0 0 1rem;
}

.prose-blog h2,
.prose-blog h3 {
  margin: 1.75rem 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
}

.prose-blog h2 {
  font-size: 1.25rem;
}

.prose-blog h3 {
  font-size: 1.08rem;
}

.prose-blog ul,
.prose-blog ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.prose-blog li + li {
  margin-top: 0.35rem;
}

.prose-blog a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.prose-blog img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
}

.blog-post-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.blog-post-missing {
  margin: 1rem 0;
  color: var(--text-muted);
}

/* 네이버 블로그 스타일 에디터 */
.blog-write-body {
  margin: 0;
  min-height: 100vh;
  background: #eceef2;
}

.blog-write-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #dadce0;
  backdrop-filter: blur(10px);
}

.blog-write-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.65rem 0;
  min-height: 3.25rem;
}

.blog-write-back {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
}

.blog-write-back:hover {
  color: var(--primary);
}

.blog-write-brand {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--text) 0%, var(--primary) 60%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-write-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}

@media (min-width: 640px) {
  .blog-write-hint {
    width: auto;
    text-align: right;
  }

  .blog-write-brand {
    text-align: left;
  }
}

.blog-write-main {
  padding: 1.25rem 0 3rem;
}

.blog-editor-form {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 3.5rem);
}

.blog-editor-canvas {
  flex: 1;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
}

.blog-editor-sheet {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 40px rgba(67, 56, 202, 0.08);
  border: 1px solid #e8eaed;
  overflow: hidden;
}

.blog-editor-title-block {
  padding: 1.35rem 1.5rem 0.75rem;
  border-bottom: 1px solid #f1f3f4;
}

.blog-editor-title-input {
  width: 100%;
  border: none;
  font-family: var(--font);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.35;
}

.blog-editor-title-input::placeholder {
  color: #b4b8c4;
}

.blog-editor-title-input:focus {
  outline: none;
}

.nw-meta-row.blog-editor-thumb-field {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.nw-meta-row .blog-thumb-input[type="date"] {
  max-width: 12rem;
  width: auto;
  flex: 0 1 auto;
}

.nw-meta-row .blog-thumb-label {
  min-width: 3.5rem;
}

.nw-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.nw-pin-label input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.blog-editor-thumb-field {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e8eaed;
}

.blog-thumb-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.blog-thumb-input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  font-family: inherit;
  box-sizing: border-box;
}

.blog-thumb-input:focus {
  outline: 2px solid rgba(var(--primary-rgb), 0.25);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.blog-thumb-picker {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e8eaed;
}

.blog-thumb-picker-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-thumb-picker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-thumb-picker-item {
  position: relative;
  width: 86px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  background: #f8fafc;
  cursor: pointer;
}

.blog-thumb-picker-item input {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
  z-index: 2;
}

.blog-thumb-picker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-thumb-picker-item:has(input:checked) {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.blog-editor-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f5f7 100%);
  border-bottom: 1px solid #e8eaed;
}

.blog-editor-toolbar.is-stuck {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
  border: 1px solid #e8eaed;
  border-radius: 12px;
}

.blog-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
}

.blog-toolbar-row-secondary {
  padding-top: 0.35rem;
  border-top: 1px solid #e8eaed;
}

.blog-tb-select {
  height: 2rem;
  padding: 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 6px;
  background: #fff;
  min-width: 5.25rem;
  max-width: 10rem;
  cursor: pointer;
}

.blog-tb-color-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #5f6368;
  margin-right: 0.15rem;
}

.blog-tb-color-input {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid #dadce0;
  border-radius: 5px;
  cursor: pointer;
}

.blog-tb-btn {
  margin: 0;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  color: #3c4043;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.12s ease,
    border-color 0.12s ease;
}

.blog-tb-btn:hover {
  background: #fff;
  border-color: #dadce0;
}

.blog-tb-sep {
  width: 1px;
  height: 1.15rem;
  background: #dadce0;
  margin: 0 0.15rem;
}

.blog-editor-content {
  min-height: 22rem;
  max-height: none;
  padding: 1.25rem 1.5rem 3rem;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  color: #202124;
  outline: none;
}

.blog-editor-content:empty::before {
  content: attr(data-placeholder);
  color: #9aa0a6;
  pointer-events: none;
  white-space: pre-wrap;
}

.blog-editor-content:focus::before {
  content: none;
}

.blog-editor-content.is-dragover {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
  background: rgba(79, 70, 229, 0.06);
}

.blog-editor-drop-hint {
  margin: 0.35rem 1.5rem 0.5rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #9aa0a6;
}

.blog-editor-bottom {
  margin-top: auto;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #dadce0;
}

.blog-editor-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-write-cat-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.blog-write-select {
  min-width: 12rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.blog-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* —— 회사소개 (company.html) —— */
.company-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  overflow: hidden;
}

.company-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(67, 56, 202, 0.55) 45%, rgba(14, 165, 233, 0.35) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad4ab?w=1600&q=80") center / cover no-repeat;
}

.company-hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.company-hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.company-hero-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.company-hero-lead {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.95;
}

/* 모바일: 회사소개 히어로 리드 문구는 1줄로 */
@media (max-width: 1023px) {
  .company-hero-lead {
    font-size: 0.88rem;
    line-height: 1.4;
    white-space: nowrap;
  }
}

.company-split {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.company-split-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .company-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.company-office-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 420px;
}

.company-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 999px;
}

.company-h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.company-h2-center {
  text-align: center;
}

.company-prose {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.company-pill-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.company-pill-list li {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.company-section-kicker {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.company-vision-tagline {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

.company-vision-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .company-vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.company-vision-card {
  margin: 0;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.company-vision-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.company-vision-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.company-stats {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.06), transparent);
  border-block: 1px solid var(--line);
}

.company-stats-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .company-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.company-stat {
  text-align: center;
  padding: 1rem 0.5rem;
}

.company-stat-num {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.company-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.company-cta-band {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.company-cta-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.company-cta-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
}

.company-cta-desc {
  margin: 0.65rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.company-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* —— 출고후기 게시판 목록 —— */
.reviews-board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.reviews-board-card {
  margin: 0;
  height: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.reviews-board-item:hover .reviews-board-card {
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow);
}

.reviews-board-meta {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reviews-board-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reviews-board-excerpt {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.reviews-board-author {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.index-reviews-preview .reviews-board-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

/* —— Toast popup (admin-vehicle 저장 알림) —— */
.toast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 32, 0.25);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
}

.toast {
  width: min(520px, 100%);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.95rem 1.05rem;
}

.toast-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.toast-msg {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.toast.is-ok .toast-title {
  color: var(--primary);
}

.toast.is-err .toast-title {
  color: #b91c1c;
}

/* 제목 없이 본문만 (상담 접수 완료 등) */
.toast.toast--plain {
  text-align: center;
  padding: 1.05rem 1.2rem;
}

.toast.toast--plain .toast-msg {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

/* 메인 전용 공지 팝업 (js/notice-popup.js) — 우상단, 우측 플로팅 위젯(.side-contact-widget)과 겹치지 않게 */

.notice-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: max(0.65rem, env(safe-area-inset-top, 0px)) max(0.65rem, env(safe-area-inset-right, 0px)) 0
    max(0.65rem, env(safe-area-inset-left, 0px));
  /* 딤/블러 없음 · 바깥 클릭은 페이지로 전달 (닫기는 하단 버튼만) */
  background: transparent;
  pointer-events: none;
}

/* PC index: 위젯 right 18px + 폭 128px + 여유 */
.page-index .notice-popup-overlay {
  padding-right: calc(18px + 128px + 22px);
}

.notice-popup-card {
  position: relative;
  width: min(480px, 100%);
  min-height: 260px;
  max-height: min(96vh, 960px);
  border-radius: 14px 14px 0 0;
  background: #fff;
  border: 2px solid #94a3b8;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.notice-popup-img-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #f1f5f9;
  cursor: pointer;
}

.notice-popup-img-wrap::before {
  content: attr(data-fallback);
  display: none;
  padding: 1rem;
  color: #334155;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.notice-popup-img-wrap.is-error {
  min-height: 200px;
  align-items: center;
}

.notice-popup-img-wrap.is-error::before {
  display: block;
}

.notice-popup-img-wrap:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.notice-popup-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(86vh, 880px);
  object-fit: contain;
}

/* 하단: 좌/우 동일 폭 + 세로 구분선 (다시보지않기 | 닫기) */
.notice-popup-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 44px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.notice-popup-footer-btn {
  flex: 1 1 50%;
  margin: 0;
  padding: 0.55rem 0.35rem;
  border: none;
  border-radius: 0;
  background: #fff;
  color: #64748b;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.notice-popup-footer-btn:hover {
  background: #f8fafc;
  color: #334155;
}

.notice-popup-footer-btn--today {
  border-right: 1px solid #e2e8f0;
}

.notice-popup-footer-btn:active {
  background: #f1f5f9;
}

/* index: 720px 이하에서는 큰 위젯 숨김 → 우측 여백 완화 */
@media (max-width: 720px) {
  .page-index .notice-popup-overlay {
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 480px) {
  .notice-popup-card {
    width: 100%;
    max-width: 100%;
  }

  .notice-popup-img {
    max-height: min(88vh, 900px);
  }
}

/* =========================================================
   모바일/태블릿 헤더 최종 오버라이드(파일 하단에 둬서 확실히 적용)
   ========================================================= */
@media (max-width: 1023px) {
  .site-header .header-row {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
  }

  .site-header .header-actions {
    margin-left: auto !important;
    gap: 0 !important;
  }

  .site-header .header-actions .btn-search-toggle {
    margin-right: -10px !important; /* 돋보기-메뉴 바짝 */
  }

  .site-header .nav-toggle {
    margin-left: 0 !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .site-header .nav-toggle-label {
    display: none !important;
  }

  .site-header .nav-toggle > span:not(.nav-toggle-label) {
    width: 24px !important;
    height: 2px !important;
    background: transparent !important; /* 가운데 줄 제거 */
  }

  .site-header .nav-toggle > span:not(.nav-toggle-label)::before,
  .site-header .nav-toggle > span:not(.nav-toggle-label)::after {
    width: 24px !important;
    height: 3px !important;
    background: #111 !important;
    border-radius: 3px !important;
  }

  .site-header .nav-toggle > span:not(.nav-toggle-label)::before {
    top: -5px !important;
  }

  .site-header .nav-toggle > span:not(.nav-toggle-label)::after {
    top: 5px !important;
  }

  .main-nav.is-open {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(50vw, 320px) !important;
    max-width: 92vw !important;
    background: rgba(250, 251, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-left: 1px solid var(--line) !important;
    padding: max(0.9rem, env(safe-area-inset-top, 0px)) 0.9rem 1rem !important;
    overflow: auto !important;
    z-index: 2000 !important;
  }
}

/* 메뉴 패널: 폭 조건/순서 꼬여도 is-nav-open이면 무조건 패널로 */
body.is-nav-open .main-nav.is-open {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(50vw, 320px) !important;
  max-width: 92vw !important;
  background: rgba(250, 251, 255, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-left: 1px solid var(--line) !important;
  padding: max(0.9rem, env(safe-area-inset-top, 0px)) 0.9rem 1rem !important;
  overflow: auto !important;
  z-index: 3000 !important;
}

/* 크롬: backdrop-filter가 있으면 fixed가 헤더 기준으로 잡히는 케이스 방지 */
@media (max-width: 1023px) {
  body.is-nav-open .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* 모바일/태블릿: 우하단 플로팅(전화 버튼) 숨김 — 하단 고정바로 대체 */
@media (max-width: 1023px) {
  .side-contact-widget {
    display: none !important;
  }
}

/* 모바일/태블릿: 기존 우하단 플로팅(.float-actions)도 완전 숨김 */
@media (max-width: 1023px) {
  .float-actions {
    display: none !important;
  }
}

/* MOBILE: Ultra-tight list layout for small screens (<=420px)
   - Hide less important columns (buyout, note)
   - Reduce paddings and font sizes
   - Force table to fit viewport width without transform scaling
*/
@media (max-width: 420px) {
  .new-list-page .vehicle-inventory-wrap,
  .used-list-page .vehicle-inventory-wrap {
    overflow-x: hidden !important;
  }

  .new-list-page .vehicle-inventory-sheet-head,
  .new-list-page .vehicle-inventory-list,
  .used-list-page .vehicle-inventory-sheet-head,
  .used-list-page .vehicle-inventory-list {
    min-width: 100% !important;
    font-size: 0.62rem !important;
    line-height: 1.05 !important;
  }

  /* Reduce header cell padding and font */
  .new-list-page .vic-sheet-head-cell,
  .used-list-page .vic-sheet-head-cell {
    padding: 0.18rem 0.06rem !important;
    font-size: 0.64rem !important;
  }

  /* Percentage-based columns to force fit */
  .new-list-page .vic-model, .used-list-page .vic-model { flex: 0 0 18% !important; }
  .new-list-page .vic-specs, .used-list-page .vic-specs { flex: 0 0 40% !important; }
  .new-list-page .vic-deposit, .used-list-page .vic-deposit { flex: 0 0 8% !important; }
  .new-list-page .vic-term, .used-list-page .vic-term { flex: 0 0 6% !important; }
  .new-list-page .vic-rent, .used-list-page .vic-rent { flex: 0 0 16% !important; }

  /* Hide low-priority columns entirely */
  .new-list-page .vic-buyout,
  .used-list-page .vic-buyout,
  .new-list-page .vic-note,
  .used-list-page .vic-note {
    display: none !important;
  }

  /* Tight cell paddings */
  .new-list-page .vic-spec-grid > div,
  .used-list-page .vic-spec-grid > div {
    padding: 0.02rem 0.04rem !important;
    font-size: 0.62rem !important;
  }

  .new-list-page .vic-cell, .used-list-page .vic-cell {
    padding: 0.04rem 0.06rem !important;
    font-size: 0.64rem !important;
  }

  .new-list-page .vic-model-title, .used-list-page .vic-model-title {
    font-size: 0.72rem !important;
  }

  .new-list-page .vic-model-plate, .used-list-page .vic-model-plate {
    font-size: 0.58rem !important;
  }

  /* Reduce image height so rows fit */
  .new-vehicle-card-thumb, .new-vehicle-card-thumb img {
    min-height: 6.4rem !important;
    max-height: 7.6rem !important;
  }
  /* Extra enforcement to prevent horizontal overflow */
  .vehicle-inventory-wrap,
  .vehicle-inventory-list,
  .vehicle-inventory-card,
  .vehicle-inventory-sheet-head {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vic-sheet-head-row { gap: 0 !important; align-items: center !important; }
  .vic-sheet-main-title, .vic-sheet-boxes { vertical-align: middle !important; }
  .vic-sheet-boxes .vic-sheet-group-box {
    max-width: 36% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.58rem !important;
    padding: 0.06rem 0.12rem !important;
  }

  .vic-model, .vic-specs, .vic-deposit, .vic-term, .vic-rent {
    padding-left: 0.04rem !important;
    padding-right: 0.04rem !important;
    box-sizing: border-box !important;
  }

  /* Ensure spec grid doesn't create extra width */
  .vic-spec-grid { grid-auto-flow: row !important; grid-template-columns: repeat(2, 1fr) !important; gap: 0.08rem !important; }
  .vic-spec-grid > div { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

  /* Force hiding any elements that still push width (safety) */
  .vehicle-inventory-wrap * { max-width: 100% !important; min-width: 0 !important; }
}

/* Aggressive mobile layout overrides — tighter, stacked-fit for very small screens */
@media (max-width: 420px) {
  /* card layout: keep horizontal but tightly packed */
  .vehicle-inventory-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.08rem !important;
    padding: 0.12rem 0 !important;
    min-height: auto !important;
  }

  /* column sizing */
  .vic-model { flex: 0 0 18% !important; padding: 0 0.06rem !important; }
  .vic-specs { flex: 0 0 36% !important; padding: 0 0.06rem !important; }
  .vic-deposit { flex: 0 0 8% !important; text-align: center !important; padding: 0 0.04rem !important; }
  .vic-term { flex: 0 0 6% !important; text-align: center !important; padding: 0 0.04rem !important; }
  .vic-rent { flex: 0 0 12% !important; text-align: center !important; padding: 0 0.04rem !important; }

  /* typography: shrink titles and values */
  .vic-sheet-main-title { font-size: 0.9rem !important; font-weight: 700 !important; line-height: 1 !important; text-align: center !important; }
  .vic-model-title { font-size: 0.72rem !important; font-weight: 700 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  .vic-model-plate { font-size: 0.58rem !important; color: var(--text-muted) !important; }
  .vic-deposit .vic-txt-blue, .vic-rent .vic-txt-red { font-size: 0.78rem !important; font-weight: 700 !important; display: inline-block !important; white-space: nowrap !important; }
  .vic-buyout-overlay { font-size: 0.68rem !important; padding: 0.06rem 0.12rem !important; }

  /* spec grid tight */
  .vic-spec-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 0.06rem !important; }
  .vic-spec-grid > div { font-size: 0.58rem !important; padding: 0.02rem 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

  /* reduce miscellaneous paddings */
  .vic-cell, .vic-cell-row, .vic-sheet-head-cell { padding: 0.04rem 0.06rem !important; }

  /* hide low priority to save space */
  /* keep buyout and note visible per request — no automatic hiding */
  .vic-buyout, .vic-note, .vic-note-bigo, .vic-note-tags { display: block !important; }

  /* ensure borders remain thin and not expanding layout */
  .vehicle-inventory-card, .vehicle-inventory-sheet-head, .vic-sheet-head-row { box-sizing: border-box !important; border-width: 1px !important; }

  /* safety: force any overflowing text to truncate */
  .vehicle-inventory-card * { max-width: 100% !important; min-width: 0 !important; }
}

/* Header compacting for very small screens */
@media (max-width: 420px) {
  .vehicle-inventory-sheet-head .vic-sheet-head-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.06rem !important;
    padding: 0 0.06rem !important;
  }

  .vic-sheet-head-cell.vic-sheet-head-model { flex: 0 0 14% !important; padding: 0.06rem !important; }
  .vic-sheet-head-cell.vic-sheet-head-mid { flex: 0 0 38% !important; max-width: 38% !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 0.08rem !important; }
  .vic-sheet-head-cell.vic-sheet-head-deposit,
  .vic-sheet-head-cell.vic-sheet-head-term,
  .vic-sheet-head-cell.vic-sheet-head-rent,
  .vic-sheet-head-cell.vic-sheet-head-buyout,
  .vic-sheet-head-cell.vic-sheet-head-note { flex: 0 0 auto !important; padding: 0.04rem 0.06rem !important; }

  .vic-sheet-main-title {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 60% !important;
    margin: 0 !important;
  }

  /* force any long separators or "|" to hide on tiny screens */
  .vehicle-inventory-sheet-head .vic-sheet-head-cell:before,
  .vehicle-inventory-sheet-head .vic-sheet-head-cell:after {
    display: none !important;
  }
}

/* PC only (>=421px): FINAL override — make list spec text much larger */
@media (min-width: 421px) {
  body.new-list-page .vic-spec-grid > div,
  body.used-list-page .vic-spec-grid > div {
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
  }
  body.new-list-page .vic-spec-grid > .vic-spec-lbl,
  body.used-list-page .vic-spec-grid > .vic-spec-lbl,
  body.new-list-page .vic-spec-grid > .vic-spec-opt-lbl,
  body.used-list-page .vic-spec-grid > .vic-spec-opt-lbl {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
  }
  body.new-list-page .vic-spec-grid > .vic-spec-opt-val,
  body.used-list-page .vic-spec-grid > .vic-spec-opt-val {
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
  }
}

/* PC used-list: FINAL enforce single rent↔buyout border */
@media (min-width: 421px) {
  body.used-list-page .vehicle-inventory-card .vic-rent,
  body.used-list-page .vehicle-inventory-card .vic-rent.is-single {
    border-right: 0 !important;
  }
  body.used-list-page .vehicle-inventory-card .vic-buyout,
  body.used-list-page .vehicle-inventory-card .vic-buyout.is-single {
    border-left: 1px solid #1a1a1a !important;
  }
  body.used-list-page .vehicle-inventory-sheet-head .vic-sheet-head-rent {
    border-right: 0 !important;
  }
  body.used-list-page .vehicle-inventory-sheet-head .vic-sheet-head-buyout {
    border-left: 1px solid #1a1a1a !important;
  }
}
