@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --main-color: #b70f28;
  --accent-color: #b70f28;
  --hero-height: 680px;
}

body.theme-a {
  --font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  background: #fff;
}

body.theme-a .type-switcher { background: var(--main-color); }

/* ── 차있다 텍스트 로고 ── */
.logo-chaitda-simple {
  display: block;
  text-align: center;
  line-height: 1.2;
}

.logo-chaitda-simple__brand {
  display: block;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--main-color);
}

.logo-chaitda-simple__type {
  display: none !important;
}

.logo-chaitda-simple__img {
  display: block;
  max-height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

footer .logo_wrap--simple .logo-chaitda-simple__brand {
  font-size: 24px;
}

footer .logo_wrap--simple .logo-chaitda-simple__type {
  font-size: 15px;
}

/* ── Footer (Type A) ── */
body.theme-a footer.footer--type-a {
  padding: 0 0 48px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

body.theme-a .footer-type-a__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
}

body.theme-a .footer-type-a__menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

body.theme-a .footer-type-a__menu-link:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 6%, #fff);
}

body.theme-a .footer-type-a__menu-link--mobile-only {
  display: none;
}

body.theme-a .footer-type-a__divider {
  height: 1px;
  margin: 0;
  background: #e5e7eb;
}

body.theme-a .footer-type-a__body {
  padding: 32px 0 0;
  text-align: center;
}

body.theme-a .footer-type-a__brand {
  margin-bottom: 24px;
}

body.theme-a .footer-type-a__brand .logo-chaitda-simple__brand {
  font-size: 30px;
}

body.theme-a .footer-type-a__brand .logo-chaitda-simple__type {
  font-size: 14px;
  color: #64748b;
  letter-spacing: 0.08em;
}

body.theme-a .footer-type-a__law {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #475569;
  word-break: keep-all;
}

body.theme-a .footer-type-a__law-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--main-color) 12%, #fff);
  color: var(--main-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.theme-a .footer-type-a__intro {
  margin: 0 auto 16px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
  word-break: keep-all;
}

body.theme-a .footer-type-a__disclaimer {
  margin: 0 auto 20px;
  max-width: 820px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 13px;
  line-height: 1.7;
  color: #92400e;
  text-align: left;
  word-break: keep-all;
}

body.theme-a .footer-type-a__notices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 28px;
}

body.theme-a .footer-type-a__notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
  word-break: keep-all;
}

body.theme-a .footer-type-a__notice--warn {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

body.theme-a .footer-type-a__regions {
  max-width: 960px;
  margin: 0 auto 28px;
  text-align: left;
}

body.theme-a .footer-type-a__regions-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
}

body.theme-a .footer-type-a__regions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.theme-a .footer-type-a__region {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

body.theme-a .footer-type-a__region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  list-style: none;
}

body.theme-a .footer-type-a__region-head::-webkit-details-marker {
  display: none;
}

body.theme-a .footer-type-a__region-head::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: #94a3b8;
  transition: transform 0.2s;
}

body.theme-a .footer-type-a__region[open] .footer-type-a__region-head::after {
  content: '−';
}

body.theme-a .footer-type-a__region-body {
  padding: 0 16px 14px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

body.theme-a .footer-type-a__region-body p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #64748b;
  word-break: keep-all;
}

body.theme-a .footer-type-a__service-note {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  word-break: keep-all;
}

body.theme-a .footer-type-a__business {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}

body.theme-a .footer-type-a__business-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f7;
}

body.theme-a .footer-type-a__business-row:last-child {
  border-bottom: none;
}

body.theme-a .footer-type-a__business-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  word-break: keep-all;
}

body.theme-a .footer-type-a__business-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  word-break: keep-all;
}

body.theme-a .footer-type-a__business-row--wide dt {
  align-self: start;
}

body.theme-a .footer-type-a__dev-note,
body.theme-a .footer-type-a__site-url {
  margin: 0 0 18px;
  font-size: 12px;
  color: #94a3b8;
}

body.theme-a .footer-type-a__dev-note a,
body.theme-a .footer-type-a__site-url a {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.theme-a .footer-type-a__dev-note a:hover,
body.theme-a .footer-type-a__site-url a:hover {
  color: var(--main-color);
}

body.theme-a .footer-type-a__dev-sep {
  margin: 0 8px;
  opacity: 0.45;
}

body.theme-a .footer-type-a__copyright {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #94a3b8;
}

body.theme-a .footer-type-a__copyright strong {
  font-weight: 700;
  color: #64748b;
}

/* ── Header (hd-lease.co.kr / eb4_basic_a) ── */
body.theme-a header.header-classic {
  background: #fff;
  border-bottom: none;
}

body.theme-a header.header-classic > .inner_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  min-height: auto;
}

body.theme-a header.header-classic .award {
  width: 144px;
  flex-shrink: 0;
}

body.theme-a header.header-classic .award img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

body.theme-a header.header-classic h1.logo {
  position: absolute;
  left: 47%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(395px, 42vw);
  margin: 0;
}

body.theme-a header.header-classic h1.logo a {
  display: block;
  width: 100%;
  color: var(--main-color);
  line-height: 1.15;
}

body.theme-a header.header-classic h1.logo a img {
  display: block;
  width: 100%;
}

body.theme-a header.header-classic h1.logo a small {
  display: block;
  color: #999;
  font-size: 10px;
  letter-spacing: 0.25em;
  margin-top: 4px;
}

body.theme-a header.header-classic .right_wrap {
  width: 220px;
  flex-shrink: 0;
}

body.theme-a header.header-classic .right_wrap .img_wrap img {
  display: block;
  width: 100%;
}

body.theme-a header.header-classic .gnb {
  background: var(--main-color);
  box-shadow: none;
}

body.theme-a header.header-classic .gnb ul li a {
  padding: 27px 0;
  font-weight: bold;
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: -0.02em;
}

/* ── Side banners (hd-lease: absolute + scroll follow) ── */
body.theme-a .wrapper {
  position: relative;
}

body.theme-a .side_banner {
  z-index: 10;
  position: absolute;
  top: 270px;
}

body.theme-a[data-page="home"] .side_banner--home {
  top: 960px;
}

/* ── Subpage sidebars (본문과 겹치지 않게) ── */
body.theme-a.is-sub {
  --sub-layout-max: 1280px;
  --sub-sidebar-w: 210px;
  --sub-sidebar-gap: 56px;
}

body.theme-a.is-sub .side_banner--sub {
  z-index: 5;
}

body.theme-a.is-sub #left_banner.side_banner--sub {
  left: max(12px, calc((100vw - min(100vw, var(--sub-layout-max))) / 2 - var(--sub-sidebar-w) - var(--sub-sidebar-gap)));
  width: var(--sub-sidebar-w);
}

body.theme-a.is-sub #right_banner.side_banner--sub {
  right: max(12px, calc((100vw - min(100vw, var(--sub-layout-max))) / 2 - var(--sub-sidebar-w) - var(--sub-sidebar-gap)));
  width: var(--sub-sidebar-w);
}

/* 화면이 좁으면 남는 공간에 맞춰 사이드바 폭 자동 축소 (최소 100px) */
@media (max-width: 1919px) {
  body.theme-a.is-sub {
    --sub-sidebar-w: clamp(100px, calc((100vw - var(--sub-layout-max)) / 2 - 32px), 210px);
    --sub-sidebar-gap: 16px;
  }

  body.theme-a[data-page="home"] {
    --home-sidebar-w: clamp(100px, calc((100vw - var(--home-layout-max)) / 2 - 32px), 210px);
    --home-sidebar-gap: 16px;
  }
}

/* 좁은 폭에서는 사이드바 내부 요소도 컴팩트하게 */
@media (max-width: 1699px) {
  body.theme-a #left_banner .side-highlights__head {
    padding: 10px 6px;
  }

  body.theme-a #left_banner .side-highlights__head strong {
    font-size: 16px;
  }

  body.theme-a #left_banner .side-highlights__head span {
    font-size: 12px;
  }

  body.theme-a #left_banner .side-highlights__list {
    padding: 6px;
  }

  body.theme-a #left_banner .side-highlights__item {
    gap: 8px;
    padding: 8px 4px;
  }

  body.theme-a #left_banner .side-highlights__icon {
    width: 30px;
    height: 30px;
  }

  body.theme-a #left_banner .side-highlights__icon svg {
    width: 20px;
    height: 20px;
  }

  body.theme-a #left_banner .side-highlights__text strong {
    font-size: 12px;
    margin-bottom: 3px;
  }

  body.theme-a #left_banner .side-highlights__text p {
    font-size: 11px;
    line-height: 1.4;
  }
}

/* 사이드바가 물리적으로 안 들어가는 폭에서만 숨김 */
@media (max-width: 1519px) {
  body.theme-a.is-sub .side_banner--sub,
  body.theme-a[data-page="home"] .side_banner--home {
    display: none !important;
  }
}

body.theme-a.is-sub .side-sub-nav {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--main-color) 20%, #ddd);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

body.theme-a.is-sub .side-sub-nav__head {
  margin: 0;
  padding: 12px 10px;
  text-align: center;
  font-size: 15px;
  color: #fff;
  background: var(--main-color);
}

body.theme-a.is-sub .side-sub-nav__head span {
  font-weight: 800;
}

body.theme-a.is-sub .side-sub-nav ul {
  margin: 0;
  padding: 8px;
  list-style: none;
}

body.theme-a.is-sub .side-sub-nav li + li {
  margin-top: 4px;
}

body.theme-a.is-sub .side-sub-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  transition: background 0.2s, color 0.2s;
}

body.theme-a.is-sub .side-sub-nav a:hover {
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 8%, #fff);
}

body.theme-a.is-sub #right_banner.side_banner--sub .side-sub-counsel {
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
}

body.theme-a.is-sub #right_banner.side_banner--sub .side-sub-counsel__head {
  margin: 0;
  padding: 12px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--main-color);
}

body.theme-a.is-sub #right_banner.side_banner--sub .side-sub-counsel__head span {
  font-weight: 800;
}

body.theme-a.is-sub #right_banner.side_banner--sub .side-sub-counsel form {
  padding: 8px;
}

body.theme-a.is-sub #right_banner.side_banner--sub .car_view {
  margin-top: 10px;
}

/* ── Home sidebars (1280px 본문 기준, 겹침 방지) ── */
body.theme-a[data-page="home"] {
  --home-layout-max: 1280px;
  --home-sidebar-w: 210px;
  --home-sidebar-gap: 72px;
}

body.theme-a[data-page="home"] #left_banner.side_banner--home {
  left: max(12px, calc((100vw - min(100vw, var(--home-layout-max))) / 2 - var(--home-sidebar-w) - var(--home-sidebar-gap)));
  width: var(--home-sidebar-w);
}

body.theme-a[data-page="home"] #right_banner.side_banner--home {
  right: max(12px, calc((100vw - min(100vw, var(--home-layout-max))) / 2 - var(--home-sidebar-w) - var(--home-sidebar-gap)));
  width: var(--home-sidebar-w);
}

body.theme-a #left_banner {
  left: max(16px, calc(50% - 720px));
  width: 210px;
}

body.theme-a #left_banner .side-highlights {
  width: 100%;
  border-radius: 12px;
}

body.theme-a #left_banner .side-highlights__head {
  padding: 14px 10px;
}

body.theme-a #left_banner .side-highlights__head strong {
  font-size: 20px;
}

body.theme-a #left_banner .side-highlights__head span {
  font-size: 14px;
}

body.theme-a #left_banner .side-highlights__list {
  padding: 8px;
}

body.theme-a #left_banner .side-highlights__item {
  padding: 10px 8px;
}

body.theme-a #left_banner .side-highlights__text strong {
  font-size: 15px;
}

body.theme-a #left_banner .side-highlights__text p {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

body.theme-a #right_banner {
  right: max(16px, calc(50% - 720px));
  width: 210px;
}

body.theme-a[data-page="home"] #left_banner,
body.theme-a[data-page="home"] #right_banner {
  z-index: 5;
}

body.theme-a #right_banner .side_counsel_card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

body.theme-a #right_banner .side_counsel_card__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 14px 8px;
  text-align: center;
  color: #fff;
  background: var(--main-color);
}

body.theme-a #right_banner .side_counsel_card__title {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

body.theme-a #right_banner .side_counsel_card__desc {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.96;
  word-break: keep-all;
}

body.theme-a #right_banner .side_counsel_card__car {
  display: block;
  width: min(170px, 90%);
  height: auto;
  margin: 4px auto 2px;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

body.theme-a #right_banner > div.img_wrap {
  overflow: hidden;
  border: none;
  border-radius: 0;
}

body.theme-a #right_banner > div.img_wrap img {
  display: block;
  width: 100%;
}

body.theme-a #right_banner div.form_inner {
  padding: 8px;
  border: none;
  border-radius: 0;
  background: #fff;
}

body.theme-a #right_banner div.form_inner div.btn_wrap {
  overflow: hidden;
  display: flex;
  border-radius: 5px;
}

body.theme-a #right_banner div.form_inner div.btn_wrap button {
  flex: 1;
  padding: 6px 0;
  font-weight: bold;
  font-size: 17px;
  color: var(--main-color);
  background: #f0f0f0;
  cursor: pointer;
}

body.theme-a #right_banner div.form_inner div.btn_wrap button.active {
  color: #fff;
  background: var(--main-color);
}

body.theme-a #right_banner div.form_inner div.inp_wrap {
  margin-top: 6px;
}

body.theme-a #right_banner div.form_inner div.inp_wrap input {
  display: block;
  width: 100%;
  height: 35px;
  padding: 0 7px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

body.theme-a #right_banner div.form_inner div.agr_wrap label {
  font-size: 14px;
}

body.theme-a #right_banner div.form_inner div.send input {
  display: block;
  width: 100%;
  padding: 7px 0;
  margin-top: 6px;
  font-size: 15px;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-align: center;
  background: var(--main-color);
  cursor: pointer;
}

body.theme-a #right_banner div.car_view {
  padding: 8px 17px;
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}

body.theme-a #right_banner div.car_view p.tit {
  padding-bottom: 7px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 19px;
  border-bottom: 3px solid var(--main-color);
  text-align: center;
}

/* ── Hero ── */
body.theme-a section.visual .view_box {
  height: var(--hero-height);
  border-bottom: none;
}

body.theme-a section.visual .visual_slide--youtube {
  overflow: hidden;
  background: #0a0a0a;
}
body.theme-a section.visual .visual_slide--youtube .yt-bleed {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
body.theme-a section.visual .visual_slide--youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78%;
  border: 0;
  transform: translate(-50%, -50%);
}

body.theme-a section.visual .hero-dots button.active {
  width: 32px;
  background: var(--main-color);
  border-color: var(--main-color);
}

/* ── Main counsel bar (hd-lease: custom.css section.main_counsel padding-top 30px) ── */
body.theme-a[data-page="home"] section.visual {
  margin-bottom: 0;
}

body.theme-a section.main_counsel {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 30px;
  padding-bottom: 0;
  background: #fff;
}

body.theme-a[data-page="home"] section.main_counsel {
  padding-bottom: 24px;
}

body.theme-a[data-page="home"] section.main_counsel + section.find {
  padding-top: 60px;
  margin-top: 0;
}

body.theme-a section.main_counsel + section.find {
  padding-top: 20px;
}

body.theme-a section.main_counsel .form_wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--main-color) 14%, transparent);
  border: 2px solid var(--main-color);
  overflow: hidden;
}

body.theme-a section.main_counsel .main_counsel__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 210px;
  padding: 0 8px 0 28px;
  color: var(--main-color);
}

body.theme-a section.main_counsel .main_counsel__phone {
  display: inline-flex;
  color: var(--main-color);
}

body.theme-a section.main_counsel .main_counsel__copy {
  margin: 0;
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

body.theme-a section.main_counsel .main_counsel__copy strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--main-color);
}

body.theme-a section.main_counsel .main_counsel__copy span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}

body.theme-a section.main_counsel .form_wrap > form {
  flex: 1 1 auto;
  min-width: 0;
}

body.theme-a section.main_counsel .form_inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  height: 116px;
  padding: 0 24px 0 12px;
}

body.theme-a section.main_counsel .form_inner .inp_wrap input {
  width: 229px;
  height: 49px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--main-color) 28%, #ccc);
  border-radius: 5px;
  background: #fff;
}

body.theme-a section.main_counsel .form_inner .inp_wrap input:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color) 16%, transparent);
}

body.theme-a section.main_counsel .form_inner .send {
  flex: 1;
  min-width: 0;
  width: 100%;
}

body.theme-a section.main_counsel .form_inner .send input {
  width: 100%;
  padding: 20px 0;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  border: none;
  border-radius: 10px;
  background: var(--main-color);
  cursor: pointer;
}

/* ── Find car (hd-lease.co.kr custom.css 정본) ── */
body.theme-a section.find { padding: 60px 0; }

body.theme-a section.find h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
  text-align: center;
}

body.theme-a section.find h2 span { font-weight: 800; color: var(--main-color); }

body.theme-a section.find .info_wrap {
  overflow: hidden;
  display: flex;
  border: 1px solid #bcbcbc;
  border-radius: 17px;
  min-height: 300px;
}

body.theme-a section.find .tab_wrap {
  display: block;
  width: 168px;
  flex-shrink: 0;
  background: #fff;
}

body.theme-a section.find .tab_wrap button {
  position: relative;
  display: block;
  width: 168px;
  height: 78px;
  flex: none;
  min-height: 0;
  padding: 11px 18px;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  text-align: left;
  border: none;
  border-right: 1px solid #bcbcbc;
  background: #fff;
  cursor: pointer;
  color: #333;
}

body.theme-a section.find .tab_wrap button + button {
  border-top: 1px solid #bcbcbc;
}

body.theme-a section.find .tab_wrap button.active {
  border-right: none;
  padding-left: 18px;
  font-weight: 500;
}

body.theme-a section.find .tab_wrap button.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 100%;
  background: var(--main-color);
}

body.theme-a section.find:not(.find-home--temp4) .content_wrap {
  position: relative;
  width: calc(100% - 168px);
  flex: none;
  padding: 0;
  min-height: 300px;
  background: #fff;
}

body.theme-a section.find.find-home--temp4 .content_wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  flex: none;
  padding: 20px;
  min-height: 0;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

body.theme-a section.find.find-home--temp4 .content_wrap .tab {
  display: none;
  position: static;
  transform: none;
  opacity: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  transition: none;
}

body.theme-a section.find.find-home--temp4 .content_wrap .tab.active {
  display: block;
  transform: none;
}

@media (min-width: 769px) {
  body.theme-a section.find.find-home--temp4 .content_wrap[data-find-height-lock] {
    height: var(--home-find-body-h);
    min-height: var(--home-find-body-h);
    max-height: var(--home-find-body-h);
  }

  body.theme-a section.find.find-home--temp4 .content_wrap[data-find-height-lock] .tab.active {
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

body.theme-a section.find:not(.find-home--temp4) .content_wrap .tab {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -150%);
  width: 690px;
  max-width: calc(100% - 24px);
  opacity: 0;
  transition: all 0.5s;
}

body.theme-a section.find:not(.find-home--temp4) .content_wrap .tab.active {
  display: block;
  transform: translate(-50%, -50%);
  opacity: 1;
}

body.theme-a section.find .tab1 .ko_car {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

body.theme-a section.find:not(.find-home--temp4) .tab1 ul,
body.theme-a section.find:not(.find-home--temp4) .tab2 ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-a section.find .tab1 ul li {
  width: calc(100% / 9);
  padding: 5px 0;
  text-align: center;
}

body.theme-a section.find .tab1 ul li a {
  display: block;
}

body.theme-a section.find .tab1 ul li img {
  display: block;
  width: 52px;
  height: auto;
  max-width: none;
  margin: 0 auto;
  object-fit: contain;
}

body.theme-a section.find:not(.find-home--temp4) .tab1 ul li p,
body.theme-a section.find:not(.find-home--temp4) .tab2 ul li p {
  margin: 0;
  font-size: inherit;
}

body.theme-a section.find:not(.find-home--temp4) .tab2 ul {
  gap: 20px;
}

body.theme-a section.find:not(.find-home--temp4) .tab2 ul li {
  width: calc((100% - 60px) / 4);
  text-align: center;
}

body.theme-a section.find:not(.find-home--temp4) .tab2 ul li img {
  display: block;
  width: 52px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

body.theme-a section.find .tab3 .find-price-range {
  max-width: 100%;
  padding: 4px 0 0;
}

body.theme-a section.find .find-price-range__readout {
  font-size: 20px;
}

body.theme-a section.find .find-price-range__quick-btn {
  border-radius: 999px;
  font-size: 15px;
}

/* ── Home find (temp4) ── */
body.theme-a section.find.find-home--temp4 {
  padding: 40px 0 56px;
}

body.theme-a section.find.find-home--temp4 h2 {
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

body.theme-a section.find.find-home--temp4 .home-find-card {
  overflow: hidden;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

body.theme-a section.find.find-home--temp4 .tab_wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
}

body.theme-a section.find.find-home--temp4 .tab_wrap button {
  flex: 1;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 14px 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  border: none;
  border-right: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

body.theme-a section.find.find-home--temp4 .tab_wrap button + button {
  border-top: none;
}

body.theme-a section.find.find-home--temp4 .tab_wrap button.active {
  padding-left: 10px;
  font-weight: 700;
  color: var(--main-color);
  border-bottom-color: var(--main-color);
  background: rgba(30, 136, 229, 0.05);
}

body.theme-a section.find.find-home--temp4 .tab_wrap button.active::after {
  display: none;
}

body.theme-a section.find.find-home--temp4 .home-find-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #4b5563;
}

body.theme-a section.find.find-home--temp4 .home-find-ko-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

body.theme-a section.find.find-home--temp4 .home-find-ex-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

body.theme-a section.find.find-home--temp4 .home-find-kind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

body.theme-a section.find.find-home--temp4 .home-find-kind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 104px;
  padding: 14px 8px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.theme-a section.find.find-home--temp4 .home-find-kind-card img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
}

body.theme-a section.find.find-home--temp4 .home-find-price-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 {
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__track-wrap {
  margin-bottom: 18px;
  padding: 0 11px;
  max-width: 100%;
  box-sizing: border-box;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__range {
  pointer-events: none;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__range::-webkit-slider-thumb,
body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__range::-moz-range-thumb {
  pointer-events: all;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__actions {
  margin-bottom: 0;
  max-width: 100%;
}

body.theme-a section.find.find-home--temp4 .home-find-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

body.theme-a section.find.find-home--temp4 .home-find-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 14px 8px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.theme-a section.find.find-home--temp4 .home-find-brand-card:hover {
  border-color: var(--main-color);
  background: #eff6ff;
}

body.theme-a section.find.find-home--temp4 .home-find-brand-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
}

body.theme-a section.find.find-home--temp4 .home-find-brand-card__img img {
  display: block;
  width: 42px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

body.theme-a section.find.find-home--temp4 .home-find-brand-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  word-break: keep-all;
  text-align: center;
}

body.theme-a section.find.find-home--temp4 .home-find-import-pill {
  display: block;
  min-width: 0;
  padding: 12px 6px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #4b5563;
  background: #f9fafb;
  transition: background 0.15s ease, color 0.15s ease;
  word-break: keep-all;
}

body.theme-a section.find.find-home--temp4 .home-find-import-pill:hover {
  color: var(--main-color);
  background: #eff6ff;
}

body.theme-a section.find.find-home--temp4 .home-find-kind-card:hover {
  border-color: var(--main-color);
  background: #eff6ff;
}

body.theme-a section.find.find-home--temp4 .home-find-kind-card span {
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  word-break: keep-all;
  text-align: center;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #374151;
  text-align: center;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__readout {
  margin-bottom: 16px;
  font-size: 30px;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__fields input[type="number"] {
  width: 92px;
  height: 46px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 17px;
  text-align: center;
}

body.theme-a section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__search {
  min-height: 46px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--main-color);
  cursor: pointer;
}

body.theme-a section.find.find-home--temp4 .home-find-price-quick-label {
  margin-top: 16px;
}

body.theme-a section.find.find-home--temp4 .home-find-price-link {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  color: #374151;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body.theme-a section.find.find-home--temp4 .home-find-price-link:hover,
body.theme-a section.find.find-home--temp4 .home-find-price-link.active {
  border-color: var(--main-color);
  color: var(--main-color);
  background: #eff6ff;
}

@media (min-width: 640px) {
  body.theme-a section.find.find-home--temp4 .content_wrap {
    padding: 24px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-ko-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-ex-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.theme-a section.find.find-home--temp4 .home-find-kind-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-kind-card {
    min-height: 112px;
    padding: 16px 10px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-kind-card img {
    width: 64px;
    height: 64px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-kind-card span {
    font-size: 17px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Footer counsel (modern) ── */
body.theme-a .footer-counsel-modern {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid color-mix(in srgb, var(--main-color) 16%, #e5e5e5);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

body.theme-a .footer-counsel-modern__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px 0;
}

body.theme-a .footer-counsel-modern__lead {
  margin: 0;
  flex-shrink: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}

body.theme-a .footer-counsel-modern__lead strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 800;
  color: var(--main-color);
}

body.theme-a .footer-counsel-modern__lead-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

body.theme-a .footer-counsel-modern__fields {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

body.theme-a .footer-counsel-modern__field {
  flex: 1;
  max-width: 220px;
}

body.theme-a .footer-counsel-modern__field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-a .footer-counsel-modern__field input:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}

body.theme-a .footer-counsel-modern__submit {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 999px;
  background: var(--main-color);
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

body.theme-a .footer-counsel-modern__submit:hover {
  background: #1565c0;
}

body.theme-a .footer-counsel-modern__submit:active {
  transform: scale(0.98);
}

body.theme-a .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.theme-a[data-page="sub_view"] .footer_counsel {
  display: none !important;
}

/* type-a — mobile sticky counsel dock (문자상담 · 전화문의) */
.sub-view-mobile-dock {
  display: none;
}

@media (max-width: 1023px) {
  body.theme-a .sub-view-mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
  }

  body.theme-a .sub-view-mobile-dock__inner {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 28rem;
    margin: 0 auto;
    pointer-events: auto;
  }

  body.theme-a .sub-view-mobile-dock__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.15s ease;
  }

  body.theme-a .sub-view-mobile-dock__btn:active {
    transform: scale(0.98);
  }

  body.theme-a .sub-view-mobile-dock__btn--sms {
    background: #fff;
    color: var(--main-color, #b70f28);
    border: 1.5px solid var(--main-color, #b70f28);
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.1);
  }

  body.theme-a .sub-view-mobile-dock__btn--tel {
    background: var(--main-color, #b70f28);
    color: #fff;
    border: 1.5px solid var(--main-color, #b70f28);
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.35);
    animation: theme-a-tel-glow 2s ease-in-out infinite;
  }

  body.theme-a .sub-view-mobile-dock__ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

@keyframes theme-a-tel-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(30, 136, 229, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(30, 136, 229, 0.55); }
}

@media (min-width: 1024px) {
  body.theme-a .sub-view-mobile-dock {
    display: none !important;
  }
}

/* ── sub_view sag_new (hd-lease 리스기간 표) ── */
body.theme-a section.sag_new .sag_form {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}

body.theme-a section.sag_new .head {
  background: #f7f7f7;
}

body.theme-a section.sag_new .head ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-a section.sag_new .head ul li {
  flex: 1;
  padding: 10px 0;
  font-weight: 600;
  font-size: clamp(16px, 2.5vw, 21px);
  text-align: center;
}

body.theme-a section.sag_new .head ul li:first-child {
  border-right: 1px solid #ddd;
}

body.theme-a section.sag_new .sag_wrap {
  display: flex;
  min-height: 12rem;
}

body.theme-a section.sag_new .sag_wrap > div {
  flex: 1;
}

body.theme-a section.sag_new .left_wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.theme-a section.sag_new .left_wrap ul li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  font-size: clamp(16px, 2.2vw, 18px);
  text-align: center;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

body.theme-a section.sag_new .left_wrap ul li.active {
  color: #fff;
  background: var(--main-color, #b70f28);
}

body.theme-a section.sag_new .right_wrap {
  display: flex;
  align-items: stretch;
}

body.theme-a section.sag_new .right_wrap p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 12px;
  font-weight: 700;
  font-size: clamp(19px, 3.5vw, 24px);
  color: var(--main-color, #b70f28);
  border-top: 1px solid #ddd;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.15em;
}

body.theme-a section.sag_new .right_wrap #sagMonthlyAmount {
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.theme-a section.sag_new .txt_wrap {
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  font-weight: inherit;
}

/* ── sub_view 리스 특약 FAQ (관리자 FAQ 카드와 동일 구조) ── */
body.theme-a section.sag_new .promo-faq.card.section {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

body.theme-a section.sag_new .promo-faq .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

body.theme-a section.sag_new .promo-faq .section-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #111827;
}

body.theme-a section.sag_new .promo-faq .section-head h2 .bar {
  width: 4px;
  height: 15px;
  border-radius: 3px;
  background: var(--main-color);
  flex-shrink: 0;
}

body.theme-a section.sag_new .promo-faq .form-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #e5e7eb;
}

body.theme-a section.sag_new .promo-faq .form-row:last-child {
  border-bottom: none;
}

body.theme-a section.sag_new .promo-faq .strong {
  font-weight: 600;
  color: #000;
}

body.theme-a section.sag_new .promo-faq .promo-faq-badge {
  color: var(--main-color);
  font-weight: 800;
  flex-shrink: 0;
}

  body.theme-a section.sag_new .promo-faq .promo-faq-text {
  color: #000;
  font-weight: 600;
}

/* ── sub_view 선수금 안내표 ── */
body.theme-a .deposit-table__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  body.theme-a .deposit-table__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

body.theme-a .deposit-table__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.theme-a .deposit-table__group {
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
}

body.theme-a .deposit-table__group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.theme-a .deposit-table__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

body.theme-a .deposit-table__months,
body.theme-a .deposit-table__pcts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-a .deposit-table__month,
body.theme-a .deposit-table__pct {
  position: relative;
  cursor: pointer;
}

body.theme-a .deposit-table__month input,
body.theme-a .deposit-table__pct input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.theme-a .deposit-table__month span,
body.theme-a .deposit-table__pct span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

body.theme-a .deposit-table__month input:checked + span,
body.theme-a .deposit-table__pct input:checked + span {
  border-color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 10%, white);
  color: var(--main-color);
  font-weight: 800;
}

body.theme-a .deposit-table__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--main-color);
}

body.theme-a .deposit-table__total-value {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
}

body.theme-a .deposit-table__result {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.theme-a .deposit-table__notice {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 13px;
  line-height: 1.6;
  color: #9a3412;
}

body.theme-a .deposit-table__card {
  border-radius: 16px;
  border: 1px solid #dbeafe;
  background: color-mix(in srgb, var(--main-color) 6%, #fff);
  padding: 20px;
  text-align: center;
}

body.theme-a .deposit-table__card-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

body.theme-a .deposit-table__card-company {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: #111827;
}

body.theme-a .deposit-table__card-label {
  margin: 0 0 6px;
  font-size: 14px;
  color: #6b7280;
}

body.theme-a .deposit-table__card-price {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 900;
  color: var(--main-color);
  line-height: 1.1;
}

body.theme-a .deposit-table__card-unit {
  margin-left: 2px;
  font-size: 19px;
  font-weight: 700;
}

body.theme-a .deposit-table__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  background: var(--main-color);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 640px) {
  body.theme-a section.sag_new .sag_wrap {
    min-height: 10rem;
  }

  body.theme-a section.sag_new .promo-faq .section-head {
    padding: 14px 16px;
  }

  body.theme-a section.sag_new .promo-faq .form-row > div {
    padding: 14px 16px !important;
  }

  body.theme-a section.sag_new .promo-faq .promo-faq-line {
    font-size: 12px !important;
  }
}

/* ── sub_view photo stack grid ── */
body.theme-a .photo-stack-grid {
  grid-template-columns: repeat(var(--photo-cols-mobile, 1), minmax(0, 1fr));
}

@media (min-width: 768px) {
  body.theme-a .photo-stack-grid {
    grid-template-columns: repeat(var(--photo-cols-pc, 2), minmax(0, 1fr));
  }
}

/* ── sub_view photo lightbox ── */
body.theme-a .photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.theme-a .photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

body.theme-a .photo-lightbox__panel {
  max-width: min(92vw, 960px);
  max-height: min(82vh, 720px);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.94);
  transition: transform 0.2s ease;
}

body.theme-a .photo-lightbox.is-open .photo-lightbox__panel {
  transform: scale(1);
}

body.theme-a .photo-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(82vh, 720px);
  object-fit: contain;
  background: #111;
}

body.theme-a .photo-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

body.theme-a section.sag_new .txt_wrap p {
  margin: 0 0 4px;
}

body.theme-a section.sag_new .txt_wrap p:last-child {
  margin-bottom: 0;
}

/* ── Middle banner ── */
body.theme-a section.middle_ban img {
  display: block;
  width: 100%;
}

/* ── Car list ── */
body.theme-a section.car_list.ko_car:not(.car_list-home--temp4),
body.theme-a section.car_list.tru_car:not(.car_list-home--temp4) { padding-top: 60px; }

body.theme-a section.car_list h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
}

body.theme-a section.car_list h2 span { font-weight: 800; color: var(--main-color); }

body.theme-a section.car_list .car_wrap { margin-bottom: 30px; }

body.theme-a section.car_list .car_wrap ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

body.theme-a section.car_list .car_wrap li {
  width: auto;
  border: 1px solid #c1c1c1;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

body.theme-a section.car_list .car_wrap li:hover {
  box-shadow: 0 0 10px var(--main-color);
  transform: none;
}

body.theme-a section.car_list .txt_wrap { padding: 10px; }

body.theme-a section.car_list .txt_wrap p.tit {
  margin-bottom: 5px;
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.theme-a section.car_list .car_wrap li a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.theme-a section.car_list .img_wrap img {
  display: block;
  width: 100%;
}

body.theme-a section.car_list .opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
}

body.theme-a section.car_list .opt span {
  font-size: 14px;
  color: #737373;
}

body.theme-a section.car_list .opt .car_pri {
  font-weight: 900;
  font-size: 19px;
  color: var(--main-color);
}

body.theme-a section.car_list a.more {
  display: block;
  width: 293px;
  padding: 16px 53px 15px 54px;
  margin: 0 auto;
  font-weight: 500;
  font-size: 25px;
  color: #fff;
  border-radius: 18px;
  text-align: center;
  background: var(--main-color);
}

/* ── Home car lists (temp4) ── */
body.theme-a section.car_list.car_list-home--temp4 {
  padding: 0;
  margin-bottom: 48px;
}

body.theme-a section.car_list.car_list-home--temp4.ko_car,
body.theme-a section.car_list.car_list-home--temp4.tru_car {
  padding-top: 0;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
  text-align: center;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__title span {
  font-weight: 800;
  color: var(--main-color);
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__loading {
  grid-column: 1 / -1;
  margin: 24px 0;
  padding: 32px 16px;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__loading--err {
  color: #b45309;
  background: #fffbeb;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__foot {
  margin-top: 32px;
  text-align: center;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  padding: 12px 24px;
  border: 2px solid var(--main-color);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--main-color);
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__more:hover {
  background: var(--main-color);
  color: #fff;
}

body.theme-a section.car_list.car_list-home--temp4 .car-card-type-a {
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

body.theme-a section.car_list.car_list-home--temp4 .car-card-type-a__body {
  padding: 12px;
}

@media (min-width: 640px) {
  body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__inner {
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  body.theme-a section.car_list.car_list-home--temp4 {
    margin-bottom: 64px;
  }

  body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__title {
    font-size: 24px;
  }

  body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__grid {
    gap: 20px;
  }

  body.theme-a section.car_list.car_list-home--temp4 .car-card-type-a__body {
    padding: 16px;
  }
}

@media (min-width: 1024px) {
  body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__inner {
    padding: 0 32px;
  }

  body.theme-a section.car_list.car_list-home--temp4 .car-list-temp4__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── Partner ── */
body.theme-a section.partner { padding: 60px 0; }

body.theme-a section.partner.partner-home--band {
  padding: 40px 0 48px;
  margin-bottom: 60px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
}

body.theme-a section.partner.partner-home--band h2 {
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
}

body.theme-a section.partner.partner-home--band .partner-marquee-wrap {
  overflow: hidden;
}

body.theme-a section.partner.partner-home--band .partner-marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 0 16px;
  animation: partner-marquee-scroll 28s linear infinite;
}

body.theme-a section.partner.partner-home--band .partner-marquee__track:hover {
  animation-play-state: paused;
}

body.theme-a section.partner.partner-home--band .partner-marquee__item {
  flex-shrink: 0;
  width: 112px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

body.theme-a section.partner.partner-home--band .partner-marquee__item:hover {
  filter: grayscale(0);
  opacity: 1;
}

body.theme-a section.partner.partner-home--band .partner-marquee__logo {
  max-height: 32px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.theme-a section.partner h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
}

body.theme-a section.partner h2 span { font-weight: 800; color: var(--main-color); }

body.theme-a section.partner .marquee__track {
  animation-duration: 38s;
}

body.theme-a section.partner .marquee__item {
  width: 132px;
  height: 44px;
}

body.theme-a section.partner img.marquee__logo {
  max-width: 124px !important;
  max-height: 34px !important;
  width: auto !important;
  height: auto !important;
}

/* ── Reviews ── */
body.theme-a section.review { padding: 60px 0; }

body.theme-a section.review h2 {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 35px;
}

body.theme-a section.review h2 span { font-weight: 800; color: var(--main-color); }

body.theme-a section.review p.desc {
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--main-color);
}

body.theme-a section.review .view_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

body.theme-a section.review .list {
  width: auto;
  border-radius: 8px;
  box-shadow: none;
}

body.theme-a section.review .list:hover { transform: none; }

body.theme-a section.review .list img {
  height: 240px;
  border-radius: 8px;
}

body.theme-a section.review .list p {
  padding: 5px 10px;
  font-size: 19px;
  -webkit-line-clamp: 1;
}

body.theme-a section.review .review-more-link {
  display: block;
  margin-top: 28px;
}

/* ── Process steps (HTML — hd-lease 이미지 대체) ── */
body.theme-a section.process {
  height: auto;
  margin-bottom: 30px;
  padding: 0;
  background: none;
}

body.theme-a section.process.process-home {
  padding-top: 0;
}

body.theme-a section.process.process-steps-type-a .inner_wrap {
  padding: 28px 16px 32px;
  border-radius: 16px;
  background: var(--main-color);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--main-color, #b70f28) 22%, transparent);
}

body.theme-a .process-steps-type-a__title {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(26px, 5.25vw, 39px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

body.theme-a .process-steps-type-a__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-a .process-steps-type-a__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

body.theme-a .process-steps-type-a__row--top {
  width: 100%;
}

body.theme-a .process-steps-type-a__row--bottom {
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}

body.theme-a .process-steps-type-a__item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

body.theme-a .process-steps-type-a__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #fff;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
}

body.theme-a .process-steps-type-a__icon svg {
  width: 40px;
  height: 40px;
}

body.theme-a .process-steps-type-a__label {
  font-size: clamp(15px, 3.3vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  word-break: keep-all;
}

body.theme-a .process-steps-type-a__sep {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  padding: 0 1px;
  color: rgba(255, 255, 255, 0.72);
  user-select: none;
}

body.theme-a .process-steps-type-a__sep svg {
  display: block;
  width: 18px;
  height: 18px;
}

body.theme-a .process-steps-type-a__row-sep {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  body.theme-a .process-steps-type-a__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  body.theme-a .process-steps-type-a__row {
    display: contents;
  }

  body.theme-a .process-steps-type-a__row--bottom {
    width: auto;
    margin: 0;
  }

  body.theme-a .process-steps-type-a__row-sep {
    display: flex;
    align-items: center;
  }
}

body.theme-a section.process.process-home picture,
body.theme-a section.process.process-home img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* ── Sub list (hd-lease car_search + car_list) ── */
body.theme-a:not([data-page="home"]) main {
  padding-top: 48px;
}

body.theme-a section.car_search { padding-top: 10px; }

body.theme-a:not([data-page="home"]) section.car_search {
  padding-top: 0;
}

body.theme-a section.car_search .car_wrap { padding: 40px 10px 10px; }

body.theme-a section.car_search .car_wrap ul { display: flex; }

body.theme-a section.car_search .car_wrap ul li { flex: 1; }

body.theme-a section.car_search .car_wrap ul li.active {
  border: 1px solid var(--main-color);
  margin: -1px;
}

body.theme-a section.car_search .car_wrap ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  padding: 15px 0;
  font-size: 16px;
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt { display: flex; }

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list {
  flex: 1;
  border: 1px solid #ccc;
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list + div.list {
  border-left: none;
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.head {
  padding: 9px 0;
  border-bottom: 1px solid #ccc;
  text-align: center;
  background: #f8f8f8;
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul {
  overflow-y: auto;
  height: 150px;
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li {
  padding: 8px 12px;
  cursor: pointer;
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li.active,
body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li:hover {
  color: #fff;
  background: var(--main-color);
}

body.theme-a section.car_search .order {
  padding: 3px 0;
  margin-bottom: 30px;
  background: #333;
}

body.theme-a section.car_search .order ul {
  display: flex;
  justify-content: center;
  gap: 5px;
}

body.theme-a section.car_search .order ul li a {
  display: block;
  padding: 0 7px;
  font-size: 14px;
  color: #fff;
}

body.theme-a section.car_search .order ul li.active a {
  color: #333;
  background: #fff;
}

body.theme-a section.car_search .car_wrap-type-a ul li a {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

body.theme-a section.car_search .car_wrap-type-a ul li.active {
  border: none;
  margin: 0;
}

body.theme-a section.car_search .car_wrap-type-a ul li.active a {
  border: 2px solid var(--main-color);
  background: color-mix(in srgb, var(--main-color) 6%, #fff);
}

body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li.active,
body.theme-a section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li:hover {
  color: inherit;
  background: transparent;
}

body.theme-a section.car_search .order.order-type-a {
  padding: 0 0 12px;
  margin: 20px 0 16px;
  background: transparent;
}

body.theme-a section.car_search .order.order-type-a ul {
  gap: 20px;
  justify-content: flex-start;
}

body.theme-a section.car_search .order.order-type-a ul li a {
  padding: 0 0 10px;
  font-size: 14px;
  color: #6b7280;
  background: transparent;
}

body.theme-a section.car_search .order.order-type-a ul li.active a {
  color: var(--main-color);
  background: transparent;
  font-weight: 700;
}

body.theme-a section.car_list-sub {
  padding-top: 0;
}

body.theme-a section.car_list-sub .car_wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.theme-a section.car_list-sub .car_wrap li {
  width: calc((100% - 30px) / 4);
}

body.theme-a section.car_list-sub .no_data {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  color: #666;
}

/* ── Footer counsel ── */
body.theme-a .footer_counsel:not(.footer-counsel-modern) { background: var(--main-color); }

body.theme-a .bottom_counsel { display: none; }

body.theme-a footer .logo_text { display: none; }

body.theme-a footer .logo_wrap {
  width: 245px;
  margin-bottom: 40px;
}

body.theme-a footer .logo_wrap img {
  display: block;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  body.theme-a section.car_list .car_wrap ul,
  body.theme-a section.car_list.car_list-home .car_wrap ul,
  body.theme-a section.car_list-sub .car_wrap ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  body.theme-a section.review .view_box {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  body.theme-a section.review .list img { height: 160px; }

  body.theme-a section.review .list p { font-size: 14px; }
}

@media (max-width: 768px) {
  /* hd-lease mobile head: award | logo center | search icon */
  body.theme-a header.header-classic > .inner_wrap {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    height: 80px;
    padding: 0 10px;
  }

  body.theme-a header.header-classic .award {
    display: block;
    order: 0;
    width: 96px;
    flex-shrink: 0;
  }

  body.theme-a header.header-classic .award img {
    display: block;
    width: 100%;
    max-height: none;
    margin: 0;
    object-fit: contain;
  }

  body.theme-a header.header-classic h1.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: 0;
    width: min(200px, 46vw);
    margin: 0;
    text-align: center;
  }

  body.theme-a header.header-classic .logo-chaitda-simple__brand {
    font-size: clamp(18px, 5vw, 24px);
  }

  body.theme-a header.header-classic .logo-chaitda-simple__type {
    font-size: 10px;
  }

  body.theme-a header.header-classic .right_wrap {
    order: 0;
    width: 96px;
    max-width: none;
    flex-shrink: 0;
  }

  body.theme-a header.header-classic .right_wrap .img_wrap img {
    width: 100%;
    height: auto;
  }

  /* hd-lease mobile nav: 3열 pill 버튼 */
  body.theme-a header.header-classic .gnb {
    background: transparent;
    padding: 0 10px 10px;
  }

  body.theme-a header.header-classic .gnb .inner_wrap {
    width: 100%;
    padding: 0;
  }

  body.theme-a header.header-classic .gnb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  body.theme-a header.header-classic .gnb ul li {
    width: calc((100% - 10px) / 3);
  }

  body.theme-a header.header-classic .gnb ul li a {
    display: block;
    padding: 15px 4px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    background: var(--main-color);
  }

  body.theme-a section.visual .view_box { height: 200px; }

  body.theme-a section.main_counsel .form_wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body.theme-a section.main_counsel .main_counsel__brand {
    min-width: 0;
    padding: 16px 16px 4px;
    justify-content: center;
  }

  body.theme-a section.main_counsel .main_counsel__copy strong,
  body.theme-a section.main_counsel .main_counsel__copy span {
    font-size: 22px;
  }

  body.theme-a section.main_counsel .form_inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: auto;
    padding: 12px 16px 16px !important;
    gap: 10px;
  }

  body.theme-a section.main_counsel .form_inner .inp_wrap,
  body.theme-a section.main_counsel .form_inner .send { width: 100%; }

  body.theme-a section.main_counsel .form_inner .inp_wrap input { width: 100%; }

  body.theme-a section.main_counsel {
    padding-bottom: 10px;
  }

  body.theme-a[data-page="home"] section.main_counsel + section.find {
    padding-top: 40px;
    margin-top: 0;
  }

  body.theme-a section.find h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
  }

  body.theme-a section.find .info_wrap {
    flex-direction: column;
    min-height: auto;
  }

  body.theme-a section.find .tab_wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #bcbcbc;
  }

  body.theme-a section.find .tab_wrap button {
    flex: 1;
    width: auto;
    height: auto;
    min-height: 44px;
    padding: 9px 6px;
    font-size: 12px;
    text-align: center;
    border-right: none;
    border-top: none;
    border-bottom: 2px solid transparent;
  }

  body.theme-a section.find .tab_wrap button + button {
    border-top: none;
    border-left: 1px solid #bcbcbc;
  }

  body.theme-a section.find .tab_wrap button.active {
    border-bottom-color: var(--main-color);
    padding-left: 8px;
  }

  body.theme-a section.find .tab_wrap button.active::after {
    display: none;
  }

  body.theme-a section.find:not(.find-home--temp4) .content_wrap {
    position: static;
    width: 100%;
    min-height: auto;
    padding: 16px;
  }

  body.theme-a section.find:not(.find-home--temp4) .content_wrap .tab {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    width: 100%;
    max-width: none;
    display: none;
    transition: none;
  }

  body.theme-a section.find:not(.find-home--temp4) .content_wrap .tab.active {
    display: block;
    transform: none;
    opacity: 1;
  }

  body.theme-a section.find.find-home--temp4 .tab_wrap button {
    padding: 11px 5px;
    font-size: 14px;
  }

  body.theme-a section.find.find-home--temp4 .content_wrap {
    padding: 16px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-kind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.theme-a section.find.find-home--temp4 .home-find-kind-card img {
    width: 56px;
    height: 56px;
  }

  body.theme-a section.partner.partner-home--band {
    padding: 32px 0 40px;
    margin-bottom: 40px;
  }

  body.theme-a section.partner.partner-home--band h2 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  body.theme-a section.partner.partner-home--band .partner-marquee__track {
    gap: 28px;
  }

  body.theme-a section.partner.partner-home--band .partner-marquee__item {
    width: 96px;
  }

  body.theme-a .footer-counsel-modern__form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }

  body.theme-a .footer-counsel-modern__lead {
    text-align: center;
  }

  body.theme-a .footer-counsel-modern__fields {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-a .footer-counsel-modern__field {
    max-width: none;
  }

  body.theme-a .footer-counsel-modern__submit {
    width: 100%;
    min-height: 48px;
  }

  body.theme-a section.find .tab1 ul li { width: calc(100% / 3); }

  body.theme-a section.find .tab2 ul li { width: calc((100% - 20px) / 2); }

  body.theme-a section.find .find-price-range__readout { font-size: 18px; }

  body.theme-a section.find .find-price-range__fields input[type="number"] {
    width: 64px;
    font-size: 14px;
  }

  body.theme-a section.find .find-price-range__quick-btn {
    padding: 10px 2px;
    font-size: 14px;
  }

  body.theme-a section.car_list .car_wrap ul,
  body.theme-a section.car_list.car_list-home .car_wrap ul,
  body.theme-a section.car_list-sub .car_wrap ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  body.theme-a section.car_list .car_wrap li { width: auto; border-radius: 12px; }

  body.theme-a section.car_list h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
  }

  body.theme-a section.car_list .txt_wrap { padding: 8px; }

  body.theme-a section.car_list .txt_wrap p.tit {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  body.theme-a section.car_list .opt span { font-size: 11px; }

  body.theme-a section.car_list .opt .car_pri { font-size: 15px; }

  body.theme-a section.car_list a.more {
    width: auto;
    max-width: 225px;
    padding: 16px 24px;
    font-size: 18px;
    border-radius: 10px;
  }

  body.theme-a section.car_list.ko_car:not(.car_list-home--temp4),
  body.theme-a section.car_list.tru_car:not(.car_list-home--temp4) { padding-top: 40px; }

  body.theme-a section.partner { padding: 40px 0; }

  body.theme-a section.partner h2 { font-size: 22px; text-align: center; }

  body.theme-a section.partner .marquee__track {
    gap: 32px;
    animation-duration: 28s;
  }

  body.theme-a section.partner .marquee__item {
    width: 108px;
    height: 36px;
  }

  body.theme-a section.partner img.marquee__logo {
    max-width: 100px !important;
    max-height: 28px !important;
  }

  body.theme-a section.process.process-home {
    padding-top: 40px;
  }

  body.theme-a section.process.process-steps-type-a .inner_wrap {
    padding: 22px 14px 26px;
    border-radius: 12px;
  }

  body.theme-a .process-steps-type-a__title {
    margin-bottom: 18px;
    font-size: 26px;
  }

  body.theme-a .process-steps-type-a__list {
    gap: 18px;
  }

  body.theme-a .process-steps-type-a__row {
    gap: 6px;
  }

  body.theme-a .process-steps-type-a__row--bottom {
    width: min(88%, 320px);
  }

  body.theme-a .process-steps-type-a__item {
    max-width: none;
    gap: 10px;
  }

  body.theme-a .process-steps-type-a__icon {
    width: 60px;
    height: 60px;
  }

  body.theme-a .process-steps-type-a__icon svg {
    width: 46px;
    height: 46px;
  }

  body.theme-a .process-steps-type-a__label {
    font-size: 18px;
    line-height: 1.4;
  }

  body.theme-a .process-steps-type-a__sep {
    width: 20px;
    color: color-mix(in srgb, var(--main-color, #b70f28) 50%, #fff);
  }

  body.theme-a .process-steps-type-a__sep svg {
    width: 20px;
    height: 20px;
  }

  body.theme-a section.process.process-home .inner_wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.theme-a section.find h2 { font-size: 22px; text-align: center; }

  body.theme-a section.car_search .car_wrap ul { flex-wrap: wrap; }

  body.theme-a section.car_search .car_wrap ul li {
    flex: 0 0 calc(25% - 6px);
    min-width: 72px;
  }

  body.theme-a section.car_search .car_wrap ul li a {
    padding: 10px 4px;
    font-size: 12px;
  }

  body.theme-a section.car_search .car_wrap ul li a img {
    width: 36px;
    height: auto;
  }

  body.theme-a .wrapper,
  body.theme-a main {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0));
  }

  body.theme-a .footer_counsel { display: none; }

  body.theme-a footer.footer--type-a {
    padding: 0 0 calc(44px + env(safe-area-inset-bottom, 0));
  }

  body.theme-a .footer-type-a__menu {
    gap: 6px;
    padding: 14px 0;
  }

  body.theme-a .footer-type-a__menu-link {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  body.theme-a .footer-type-a__menu-link--mobile-only {
    display: inline-flex;
  }

  body.theme-a .footer-type-a__body {
    padding-top: 24px;
  }

  body.theme-a .footer-type-a__brand .logo-chaitda-simple__brand {
    font-size: 26px;
  }

  body.theme-a .footer-type-a__law {
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  body.theme-a .footer-type-a__intro {
    font-size: 13px;
    text-align: left;
  }

  body.theme-a .footer-type-a__disclaimer {
    font-size: 12px;
  }

  body.theme-a .footer-type-a__notice--warn {
    font-size: 11px;
    padding: 11px 12px;
  }

  body.theme-a .footer-type-a__notice {
    font-size: 12px;
  }

  body.theme-a .footer-type-a__business-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  body.theme-a .footer-type-a__business-row dt {
    font-size: 11px;
  }

  body.theme-a .footer-type-a__business-row dd {
    font-size: 12px;
  }

  body.theme-a .bottom_counsel {
    z-index: 100;
    display: block;
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom, 0));
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 960px;
    padding: 10px;
    border: 2px solid var(--main-color);
    border-radius: 15px;
    background: #fff;
    box-sizing: border-box;
  }

  body.theme-a .bottom_counsel .inner_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  body.theme-a .bottom_counsel .ico_wrap {
    flex-shrink: 0;
    width: 13%;
    max-width: 72px;
  }

  body.theme-a .bottom_counsel .ico_wrap img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.theme-a .bottom_counsel ul {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.theme-a .bottom_counsel ul li {
    overflow: hidden;
    flex: 1;
    border: 1px solid var(--main-color);
    border-radius: 999px;
    background: #fff;
  }

  body.theme-a .bottom_counsel ul li a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--main-color);
    text-align: center;
    text-decoration: none;
  }

  body.theme-a .bottom_counsel ul li.tel {
    animation: theme-a-btn-bg 1s alternate infinite;
  }

  body.theme-a .bottom_counsel ul li.tel a {
    color: #fff;
  }

  @keyframes theme-a-btn-bg {
    0% { background-color: #05e048; border-color: #05e048; }
    100% { background-color: var(--main-color); border-color: var(--main-color); }
  }

  body.theme-a section.review .view_box {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  body.theme-a section.review .list img { height: 140px; }

  body.theme-a .side_banner { display: none !important; }

  body.theme-a .type-switcher {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
    font-size: 12px;
  }

  body.theme-a .type-switcher-label {
    width: 100%;
    text-align: center;
    margin-bottom: 2px;
  }
}

@media (max-width: 480px) {
  body.theme-a header.header-classic .gnb ul li {
    width: calc((100% - 10px) / 3);
  }

  body.theme-a header.header-classic .gnb ul li a {
    font-size: 3.2vw;
    padding: 15px 2px;
  }

  body.theme-a section.visual .view_box { height: 160px; }
}

/* Site popups (admin popups_config) */
.site-popup-root { position: relative; z-index: 1200; }
.site-popup { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.site-popup--center { display: flex; align-items: center; justify-content: center; padding: 20px; }
.site-popup--tl { inset: auto auto auto 0; top: 88px; left: 16px; width: auto; height: auto; }
.site-popup--br { inset: auto 16px 24px auto; width: auto; height: auto; top: auto; left: auto; }
.site-popup__backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55);
  pointer-events: auto;
}
.site-popup__panel {
  position: relative; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22); pointer-events: auto;
  max-width: min(520px, calc(100vw - 32px)); width: 100%;
}
.site-popup--tl .site-popup__panel,
.site-popup--br .site-popup__panel {
  max-width: min(360px, calc(100vw - 32px)); border: 1px solid #e5e7eb;
}
.site-popup__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid #eef1f6; background: #f8fafc;
}
.site-popup__title { font-size: 14px; font-weight: 700; color: #1f2937; }
.site-popup__close {
  width: 32px; height: 32px; border: none; border-radius: 8px; background: #eef1f6;
  color: #64748b; font-size: 20px; line-height: 1; cursor: pointer;
}
.site-popup__body { padding: 0; }
.site-popup__img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.site-popup__link { display: block; }
.site-popup__content { padding: 16px; font-size: 14px; line-height: 1.6; color: #334155; }
.site-popup__foot {
  display: flex; justify-content: center; padding: 10px 14px 14px; background: #fff;
}
.site-popup__today {
  border: none; background: transparent; color: #64748b; font-size: 12px; font-weight: 600;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.site-popup.is-closing { opacity: 0; transition: opacity 0.2s ease; }
body.site-popup-open { overflow: hidden; }
body.site-popup-open .site-popup--tl,
body.site-popup-open .site-popup--br { pointer-events: auto; }

/* Common detail images (admin detail_images) */
.detail-common-images { padding: 24px 0 8px; }
.detail-common-images--temp3 { padding: 0; margin-top: 0; }
.detail-common-images .inner_wrap {
  display: flex; flex-direction: column; gap: 12px;
}
.detail-common-images__item img {
  display: block; width: 100%; height: auto; border-radius: 12px;
}
.detail-common-images--temp3 .detail-common-images__item img {
  border-radius: 16px; border: 1px solid #e5e7eb;
}
.sub-view-detail-images { margin-top: 8px; }

/* sub_view — 상세설명 본문 가독성 */
body.theme-a[data-page="sub_view"] #sub_view_temp3_root #explain .prose,
body.theme-a[data-page="sub_view"] #sub_view_temp3_root #explain .car_description_body {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

/* ── Footer view mode toggle (PC / 모바일) ── */
body.theme-a .footer-view-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

body.theme-a .footer-view-mode__btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.theme-a .footer-view-mode__btn:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 8%, #fff);
}

body.theme-a .footer-view-mode__btn.is-active {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

body.theme-a .footer-view-mode__sep {
  color: #cbd5e1;
  font-size: 12px;
}

/* PC에서 모바일 미리보기 셸 */
html.view-mode-mobile-shell,
html.view-mode-mobile-shell body {
  margin: 0;
  height: 100%;
  background: #1e293b;
  overflow: hidden;
}

.view-mode-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.view-mode-shell__bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #0f172a;
  color: #e2e8f0;
}

.view-mode-shell__label {
  font-size: 13px;
  font-weight: 600;
}

.view-mode-shell__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
}

.view-mode-shell__stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 0;
  padding: 12px 0 16px;
}

.view-mode-shell__frame {
  width: 390px;
  max-width: calc(100% - 24px);
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* 모바일에서 PC 버전 (1920px) */
html.view-mode-pc {
  overflow-x: auto;
}

html.view-mode-pc body {
  min-width: 1920px;
  padding-top: 44px;
}

.view-mode-pc-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  background: #0f172a;
  color: #e2e8f0;
  box-sizing: border-box;
}

.view-mode-pc-bar__label {
  font-size: 13px;
  font-weight: 600;
}

.view-mode-pc-bar__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
}

/* ── Parking page (공사중 / 준비중) ── */
body.is-parking {
  min-height: 100vh;
  background: #f8f8f8;
}

body.is-parking .side_banner,
body.is-parking .footer_counsel,
body.is-parking .sub-view-mobile-dock,
body.is-parking #page_loading_overlay {
  display: none !important;
}

.site-parking {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.site-parking__inner {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-parking__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 28px;
}

.site-parking__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--main-color, #b70f28);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--main-color) 28%, transparent);
}

.site-parking__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--main-color) 22%, #e2e8f0);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--main-color, #b70f28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-parking__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--main-color, #b70f28);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--main-color) 45%, transparent);
  animation: site-parking-pulse 1.8s ease-out infinite;
}

.site-parking__name {
  display: block;
  width: 100%;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: #0f172a;
  word-break: keep-all;
}

.site-parking__title {
  margin: 0 0 16px;
  width: 100%;
  font-size: clamp(1.75rem, 5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #0f172a;
  word-break: keep-all;
}

.site-parking__lead {
  margin: 0 0 28px;
  width: 100%;
  color: #64748b;
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.7;
  word-break: keep-all;
}

.site-parking__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.site-parking__meta p,
.site-parking__contact {
  margin: 0;
  max-width: 36em;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.site-parking__meta strong,
.site-parking__contact strong {
  color: #0f172a;
  font-weight: 700;
}

@keyframes site-parking-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--main-color) 45%, transparent); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* sub_view explain hero — theme color only (pages.css may be absent on sub_view) */
body.theme-a .explain-detail .explain-hero,
body.theme-a #explain .explain-hero {
  background: var(--main-color);
  color: #fff;
}

body.theme-a .explain-detail .explain-hero__title,
body.theme-a #explain .explain-hero__title {
  margin: 0 0 12px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

body.theme-a .explain-detail .explain-hero__title span,
body.theme-a #explain .explain-hero__title span {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

body.theme-a .explain-detail .explain-hero__lead,
body.theme-a #explain .explain-hero__lead {
  margin: 0 0 18px;
  max-width: 640px;
  line-height: 1.65;
  opacity: 0.95;
  color: #fff;
}

body.theme-a .explain-detail .explain-hero__tags,
body.theme-a #explain .explain-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-a .explain-detail .explain-hero__tags span,
body.theme-a #explain .explain-hero__tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 767px) {
  body.theme-a .explain-detail .explain-hero,
  body.theme-a #explain .explain-hero {
    padding: 24px 18px !important;
  }
}

