@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --main-color: #1e88e5;
  --accent-color: #1e88e5;
  --hero-height: 680px;
}

body.theme-b {
  --font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  background: #fff;
}

body.theme-b .type-switcher { background: #1e88e5; }

/* ── 차있다 텍스트 로고 ── */
.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: block;
  margin-top: 2px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #555;
}

.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 B) ── */
body.theme-b footer.footer--type-b {
  padding: 0 0 48px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

body.theme-b .footer-type-b__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
}

body.theme-b .footer-type-b__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-b .footer-type-b__menu-link:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 6%, #fff);
}

body.theme-b .footer-type-b__menu-link--mobile-only {
  display: none;
}

body.theme-b .footer-type-b__divider {
  height: 1px;
  margin: 0;
  background: #e5e7eb;
}

body.theme-b .footer-type-b__body {
  padding: 32px 0 0;
  text-align: center;
}

body.theme-b .footer-type-b__brand {
  margin-bottom: 24px;
}

body.theme-b .footer-type-b__brand .logo-chaitda-simple__brand {
  font-size: 30px;
}

body.theme-b .footer-type-b__brand .logo-chaitda-simple__type {
  font-size: 14px;
  color: #64748b;
  letter-spacing: 0.08em;
}

body.theme-b .footer-type-b__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-b .footer-type-b__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-b .footer-type-b__intro {
  margin: 0 auto 16px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
  word-break: keep-all;
}

body.theme-b .footer-type-b__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-b .footer-type-b__notices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 28px;
}

body.theme-b .footer-type-b__notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
  word-break: keep-all;
}

body.theme-b .footer-type-b__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-b .footer-type-b__regions {
  max-width: 960px;
  margin: 0 auto 28px;
  text-align: left;
}

body.theme-b .footer-type-b__regions-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
}

body.theme-b .footer-type-b__regions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.theme-b .footer-type-b__region {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

body.theme-b .footer-type-b__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-b .footer-type-b__region-head::-webkit-details-marker {
  display: none;
}

body.theme-b .footer-type-b__region-head::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: #94a3b8;
  transition: transform 0.2s;
}

body.theme-b .footer-type-b__region[open] .footer-type-b__region-head::after {
  content: '−';
}

body.theme-b .footer-type-b__region-body {
  padding: 0 16px 14px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

body.theme-b .footer-type-b__region-body p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #64748b;
  word-break: keep-all;
}

body.theme-b .footer-type-b__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-b .footer-type-b__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-b .footer-type-b__business-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f7;
}

body.theme-b .footer-type-b__business-row:last-child {
  border-bottom: none;
}

body.theme-b .footer-type-b__business-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  word-break: keep-all;
}

body.theme-b .footer-type-b__business-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  word-break: keep-all;
}

body.theme-b .footer-type-b__business-row--wide dt {
  align-self: start;
}

body.theme-b .footer-type-b__dev-note,
body.theme-b .footer-type-b__site-url {
  margin: 0 0 18px;
  font-size: 12px;
  color: #94a3b8;
}

body.theme-b .footer-type-b__dev-note a,
body.theme-b .footer-type-b__site-url a {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.theme-b .footer-type-b__dev-note a:hover,
body.theme-b .footer-type-b__site-url a:hover {
  color: var(--main-color);
}

body.theme-b .footer-type-b__dev-sep {
  margin: 0 8px;
  opacity: 0.45;
}

body.theme-b .footer-type-b__copyright {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #94a3b8;
}

body.theme-b .footer-type-b__copyright strong {
  font-weight: 700;
  color: #64748b;
}

/* ── Header (hd-lease.co.kr / eb4_basic_a) ── */
body.theme-b header.header-classic {
  background: #fff;
  border-bottom: none;
}

body.theme-b header.header-classic > .inner_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  min-height: auto;
}

body.theme-b header.header-classic .award {
  width: 144px;
  flex-shrink: 0;
}

body.theme-b header.header-classic .award img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

body.theme-b header.header-classic h1.logo {
  position: absolute;
  left: 47%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(395px, 42vw);
  margin: 0;
}

body.theme-b header.header-classic h1.logo a {
  display: block;
  width: 100%;
  color: var(--main-color);
  line-height: 1.15;
}

body.theme-b header.header-classic h1.logo a img {
  display: block;
  width: 100%;
}

body.theme-b header.header-classic h1.logo a small {
  display: block;
  color: #999;
  font-size: 10px;
  letter-spacing: 0.25em;
  margin-top: 4px;
}

body.theme-b header.header-classic .right_wrap {
  width: 220px;
  flex-shrink: 0;
}

body.theme-b header.header-classic .right_wrap .img_wrap img {
  display: block;
  width: 100%;
}

body.theme-b header.header-classic .gnb {
  background: var(--main-color);
  box-shadow: none;
}

body.theme-b header.header-classic .gnb ul li a {
  padding: 27px 0;
  font-weight: bold;
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: -0.02em;
  color: #fff;
}

/* ── Side banners (hd-lease: absolute + scroll follow) ── */
body.theme-b .wrapper {
  position: relative;
}

body.theme-b .side_banner {
  z-index: 10;
  position: absolute;
  top: 270px;
}

body.theme-b[data-page="home"] .side_banner--home {
  top: 960px;
}

/* ── Subpage sidebars (본문과 겹치지 않게) ── */
body.theme-b.is-sub {
  --sub-layout-max: 1280px;
  --sub-sidebar-w: 210px;
  --sub-sidebar-gap: 56px;
}

body.theme-b.is-sub .side_banner--sub {
  z-index: 5;
}

body.theme-b.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-b.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-b.is-sub {
    --sub-sidebar-w: clamp(100px, calc((100vw - var(--sub-layout-max)) / 2 - 32px), 210px);
    --sub-sidebar-gap: 16px;
  }

  body.theme-b[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-b #left_banner .side-highlights__head {
    padding: 10px 6px;
  }

  body.theme-b #left_banner .side-highlights__head strong {
    font-size: 16px;
  }

  body.theme-b #left_banner .side-highlights__head span {
    font-size: 12px;
  }

  body.theme-b #left_banner .side-highlights__list {
    padding: 6px;
  }

  body.theme-b #left_banner .side-highlights__item {
    gap: 8px;
    padding: 8px 4px;
  }

  body.theme-b #left_banner .side-highlights__icon {
    width: 30px;
    height: 30px;
  }

  body.theme-b #left_banner .side-highlights__icon svg {
    width: 20px;
    height: 20px;
  }

  body.theme-b #left_banner .side-highlights__text strong {
    font-size: 12px;
    margin-bottom: 3px;
  }

  body.theme-b #left_banner .side-highlights__text p {
    font-size: 11px;
    line-height: 1.4;
  }
}

/* 사이드바가 물리적으로 안 들어가는 폭에서만 숨김 */
@media (max-width: 1519px) {
  body.theme-b.is-sub .side_banner--sub,
  body.theme-b[data-page="home"] .side_banner--home {
    display: none !important;
  }
}

body.theme-b.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-b.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-b.is-sub .side-sub-nav__head span {
  font-weight: 800;
}

body.theme-b.is-sub .side-sub-nav ul {
  margin: 0;
  padding: 8px;
  list-style: none;
}

body.theme-b.is-sub .side-sub-nav li + li {
  margin-top: 4px;
}

body.theme-b.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-b.is-sub .side-sub-nav a:hover {
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 8%, #fff);
}

body.theme-b.is-sub #right_banner.side_banner--sub .side-sub-counsel {
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
}

body.theme-b.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-b.is-sub #right_banner.side_banner--sub .side-sub-counsel__head span {
  font-weight: 800;
}

body.theme-b.is-sub #right_banner.side_banner--sub .side-sub-counsel form {
  padding: 8px;
}

body.theme-b.is-sub #right_banner.side_banner--sub .car_view {
  margin-top: 10px;
}

/* ── Home sidebars (1280px 본문 기준, 겹침 방지) ── */
body.theme-b[data-page="home"] {
  --home-layout-max: 1280px;
  --home-sidebar-w: 210px;
  --home-sidebar-gap: 72px;
}

body.theme-b[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-b[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-b #left_banner {
  left: max(16px, calc(50% - 720px));
  width: 210px;
}

body.theme-b #left_banner .side-highlights {
  width: 100%;
  border-radius: 12px;
}

body.theme-b #left_banner .side-highlights__head {
  padding: 14px 10px;
}

body.theme-b #left_banner .side-highlights__head strong {
  font-size: 20px;
}

body.theme-b #left_banner .side-highlights__head span {
  font-size: 14px;
}

body.theme-b #left_banner .side-highlights__list {
  padding: 8px;
}

body.theme-b #left_banner .side-highlights__item {
  padding: 10px 8px;
}

body.theme-b #left_banner .side-highlights__text strong {
  font-size: 15px;
}

body.theme-b #left_banner .side-highlights__text p {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

body.theme-b #right_banner {
  right: max(16px, calc(50% - 720px));
  width: 210px;
}

body.theme-b[data-page="home"] #left_banner,
body.theme-b[data-page="home"] #right_banner {
  z-index: 5;
}

body.theme-b #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-b #right_banner .side_counsel_card__banner {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

body.theme-b #right_banner > div.img_wrap {
  overflow: hidden;
  border: none;
  border-radius: 0;
}

body.theme-b #right_banner > div.img_wrap img {
  display: block;
  width: 100%;
}

body.theme-b #right_banner div.form_inner {
  padding: 8px;
  border: none;
  border-radius: 0;
  background: #fff;
}

body.theme-b #right_banner div.form_inner div.btn_wrap {
  overflow: hidden;
  display: flex;
  border-radius: 5px;
}

body.theme-b #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-b #right_banner div.form_inner div.btn_wrap button.active {
  color: #fff;
  background: var(--main-color);
}

body.theme-b #right_banner div.form_inner div.inp_wrap {
  margin-top: 6px;
}

body.theme-b #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-b #right_banner div.form_inner div.agr_wrap label {
  font-size: 14px;
}

body.theme-b #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-b #right_banner div.car_view {
  padding: 8px 17px;
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}

body.theme-b #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-b section.visual .view_box {
  height: var(--hero-height);
  border-bottom: none;
}

body.theme-b section.visual .visual_slide--youtube {
  overflow: hidden;
  background: #0a0a0a;
}
body.theme-b section.visual .visual_slide--youtube .yt-bleed {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
body.theme-b 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-b 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-b[data-page="home"] section.visual {
  margin-bottom: 0;
}

body.theme-b section.main_counsel {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 30px;
  padding-bottom: 0;
  background: #fff;
}

body.theme-b[data-page="home"] section.main_counsel {
  padding-bottom: 24px;
}

body.theme-b[data-page="home"] section.main_counsel + section.find {
  padding-top: 60px;
  margin-top: 0;
}

body.theme-b section.main_counsel + section.find {
  padding-top: 20px;
}

body.theme-b section.main_counsel .form_wrap {
  border-radius: 20px;
  background: url("../img/counsel_bg.png") no-repeat 50% 50%;
  background-size: cover;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

body.theme-b section.main_counsel .form_inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  height: 116px;
  padding: 0 24px 0 320px;
}

body.theme-b section.main_counsel .form_inner .inp_wrap input {
  width: 229px;
  height: 49px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

body.theme-b section.main_counsel .form_inner .send {
  flex: 1;
  min-width: 0;
  width: 100%;
}

body.theme-b section.main_counsel .form_inner .send input {
  width: 100%;
  padding: 20px 0;
  font-weight: 500;
  font-size: 20px;
  border-radius: 10px;
  background: var(--main-color);
}

/* ── Find car: eb4_basic_a/css/custom.css section.find 정본 이식 ── */
/* main.css section.find 간섭 차단 후 원본 규칙만 적용 (:not temp4) */

body.theme-b section.find:not(.find-home--temp4) {
  padding: 60px 0;
}

body.theme-b section.find:not(.find-home--temp4) h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
  text-align: center;
}

body.theme-b section.find:not(.find-home--temp4) h2 span {
  font-weight: 800;
  color: var(--main-color);
}

body.theme-b section.find:not(.find-home--temp4) .info_wrap {
  overflow: hidden;
  display: flex;
  border: 1px solid #bcbcbc;
  border-radius: 17px;
  min-height: 0;
}

body.theme-b section.find:not(.find-home--temp4) .tab_wrap {
  display: block;
  width: 190px;
  flex-shrink: 0;
  flex-direction: unset;
  background: transparent;
}

body.theme-b section.find:not(.find-home--temp4) .tab_wrap button {
  position: relative;
  display: block;
  width: 190px;
  height: 100px;
  flex: none;
  min-height: 0;
  padding: 15px 25px;
  font-weight: 500;
  font-size: 22px;
  line-height: normal;
  letter-spacing: inherit;
  text-align: left;
  border: none;
  border-right: 1px solid #bcbcbc;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  box-sizing: border-box;
}

body.theme-b section.find:not(.find-home--temp4) .tab_wrap button + button {
  border-top: 1px solid #bcbcbc;
}

body.theme-b section.find:not(.find-home--temp4) .tab_wrap button.active {
  border-right: none;
  font-weight: 500;
  padding-left: 15px;
  background: transparent;
  color: inherit;
}

body.theme-b section.find:not(.find-home--temp4) .tab_wrap button.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background: var(--main-color);
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap {
  position: relative;
  width: calc(100% - 190px);
  flex: none;
  padding: 0;
  min-height: 0;
  background: transparent;
  box-sizing: border-box;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -150%);
  width: 690px;
  max-width: none;
  opacity: 0;
  transition: all 0.5s;
  display: none;
  box-sizing: border-box;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab.active {
  transform: translate(-50%, -50%);
  opacity: 1;
  display: block;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab1 .ko_car {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab1 ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab1 ul li {
  width: calc(100% / 9);
  padding: 5px 0;
  text-align: center;
  box-sizing: border-box;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab1 ul li a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab1 ul li img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  margin: 0 auto;
  object-fit: contain;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab1 ul li p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab2 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab2 ul li {
  width: calc((100% - 60px) / 4);
  text-align: center;
  box-sizing: border-box;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab2 ul li img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  margin: 0 auto;
  object-fit: contain;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab2 ul li p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab3 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab3 ul li {
  width: calc((100% - 60px) / 3);
  border: 1px solid #ccc;
  border-radius: 999px;
  text-align: center;
  box-sizing: border-box;
}

body.theme-b section.find:not(.find-home--temp4) .content_wrap .tab3 ul li a {
  display: block;
  padding: 5px 0;
  font-size: 18px;
  color: inherit;
  text-decoration: none;
}

/* ── Home find (temp4) ── */
body.theme-b section.find.find-home--temp4 {
  padding: 40px 0 56px;
}

body.theme-b 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-b 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-b section.find.find-home--temp4 .content_wrap .tab.active {
  display: block;
  transform: none;
}

@media (min-width: 769px) {
  body.theme-b 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-b 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-b section.find.find-home--temp4 h2 {
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

body.theme-b 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-b section.find.find-home--temp4 .tab_wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
}

body.theme-b 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-b section.find.find-home--temp4 .tab_wrap button + button {
  border-top: none;
}

body.theme-b 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-b section.find.find-home--temp4 .tab_wrap button.active::after {
  display: none;
}

body.theme-b section.find.find-home--temp4 .home-find-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #4b5563;
}

body.theme-b 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-b 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-b 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-b 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-b section.find.find-home--temp4 .home-find-kind-card img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
}

body.theme-b 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-b 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-b 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-b section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__range {
  pointer-events: none;
}

body.theme-b section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__range::-webkit-slider-thumb,
body.theme-b section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__range::-moz-range-thumb {
  pointer-events: all;
}

body.theme-b section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__actions {
  margin-bottom: 0;
  max-width: 100%;
}

body.theme-b 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-b 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-b section.find.find-home--temp4 .home-find-brand-card:hover {
  border-color: var(--main-color);
  background: #eff6ff;
}

body.theme-b 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-b 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-b 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-b 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-b section.find.find-home--temp4 .home-find-import-pill:hover {
  color: var(--main-color);
  background: #eff6ff;
}

body.theme-b section.find.find-home--temp4 .home-find-kind-card:hover {
  border-color: var(--main-color);
  background: #eff6ff;
}

body.theme-b 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-b 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-b section.find.find-home--temp4 .find-price-range--temp4 .find-price-range__readout {
  margin-bottom: 16px;
  font-size: 30px;
}

body.theme-b 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-b 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-b section.find.find-home--temp4 .home-find-price-quick-label {
  margin-top: 16px;
}

body.theme-b 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-b section.find.find-home--temp4 .home-find-price-link:hover,
body.theme-b 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-b section.find.find-home--temp4 .content_wrap {
    padding: 24px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-ko-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-ex-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.theme-b section.find.find-home--temp4 .home-find-kind-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-kind-card {
    min-height: 112px;
    padding: 16px 10px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-kind-card img {
    width: 64px;
    height: 64px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-kind-card span {
    font-size: 17px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Footer counsel (modern) ── */
body.theme-b .footer-counsel-modern {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 70%, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(30, 136, 229, 0.12);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

body.theme-b .footer-counsel-modern__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px 0;
}

body.theme-b .footer-counsel-modern__lead {
  margin: 0;
  flex-shrink: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}

body.theme-b .footer-counsel-modern__lead strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 800;
  color: var(--main-color);
}

body.theme-b .footer-counsel-modern__lead-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

body.theme-b .footer-counsel-modern__fields {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

body.theme-b .footer-counsel-modern__field {
  flex: 1;
  max-width: 220px;
}

body.theme-b .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-b .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-b .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-b .footer-counsel-modern__submit:hover {
  background: #1565c0;
}

body.theme-b .footer-counsel-modern__submit:active {
  transform: scale(0.98);
}

body.theme-b .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-b[data-page="sub_view"] .footer_counsel {
  display: none !important;
}

/* type-b — mobile sticky counsel dock (문자상담 · 전화문의) */
.sub-view-mobile-dock {
  display: none;
}

@media (max-width: 1023px) {
  body.theme-b .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: linear-gradient(to top, rgba(255, 255, 255, 0.98) 65%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
  }

  body.theme-b .sub-view-mobile-dock__inner {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 28rem;
    margin: 0 auto;
    pointer-events: auto;
  }

  body.theme-b .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-b .sub-view-mobile-dock__btn:active {
    transform: scale(0.98);
  }

  body.theme-b .sub-view-mobile-dock__btn--sms {
    background: #fff;
    color: var(--main-color, #1e88e5);
    border: 1.5px solid var(--main-color, #1e88e5);
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.1);
  }

  body.theme-b .sub-view-mobile-dock__btn--tel {
    background: var(--main-color, #1e88e5);
    color: #fff;
    border: 1.5px solid var(--main-color, #1e88e5);
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.35);
    animation: theme-b-tel-glow 2s ease-in-out infinite;
  }

  body.theme-b .sub-view-mobile-dock__ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

@keyframes theme-b-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-b .sub-view-mobile-dock {
    display: none !important;
  }
}

/* ── sub_view sag_new (hd-lease 리스기간 표) ── */
body.theme-b section.sag_new .sag_form {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}

body.theme-b section.sag_new .head {
  background: #f7f7f7;
}

body.theme-b section.sag_new .head ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-b 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-b section.sag_new .head ul li:first-child {
  border-right: 1px solid #ddd;
}

body.theme-b section.sag_new .sag_wrap {
  display: flex;
  min-height: 12rem;
}

body.theme-b section.sag_new .sag_wrap > div {
  flex: 1;
}

body.theme-b section.sag_new .left_wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.theme-b 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-b section.sag_new .left_wrap ul li.active {
  color: #fff;
  background: var(--main-color, #1e88e5);
}

body.theme-b section.sag_new .right_wrap {
  display: flex;
  align-items: stretch;
}

body.theme-b 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, #1e88e5);
  border-top: 1px solid #ddd;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.15em;
}

body.theme-b section.sag_new .right_wrap #sagMonthlyAmount {
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.theme-b 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-b 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-b 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-b 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-b 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-b section.sag_new .promo-faq .form-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #e5e7eb;
}

body.theme-b section.sag_new .promo-faq .form-row:last-child {
  border-bottom: none;
}

body.theme-b section.sag_new .promo-faq .strong {
  font-weight: 600;
  color: #000;
}

body.theme-b section.sag_new .promo-faq .promo-faq-badge {
  color: var(--main-color);
  font-weight: 800;
  flex-shrink: 0;
}

  body.theme-b section.sag_new .promo-faq .promo-faq-text {
  color: #000;
  font-weight: 600;
}

/* ── sub_view 선수금 안내표 ── */
body.theme-b .deposit-table__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  body.theme-b .deposit-table__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

body.theme-b .deposit-table__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.theme-b .deposit-table__group {
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
}

body.theme-b .deposit-table__group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.theme-b .deposit-table__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

body.theme-b .deposit-table__months,
body.theme-b .deposit-table__pcts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-b .deposit-table__month,
body.theme-b .deposit-table__pct {
  position: relative;
  cursor: pointer;
}

body.theme-b .deposit-table__month input,
body.theme-b .deposit-table__pct input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.theme-b .deposit-table__month span,
body.theme-b .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-b .deposit-table__month input:checked + span,
body.theme-b .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-b .deposit-table__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--main-color);
}

body.theme-b .deposit-table__total-value {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
}

body.theme-b .deposit-table__result {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.theme-b .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-b .deposit-table__card {
  border-radius: 16px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  padding: 20px;
  text-align: center;
}

body.theme-b .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-b .deposit-table__card-company {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: #111827;
}

body.theme-b .deposit-table__card-label {
  margin: 0 0 6px;
  font-size: 14px;
  color: #6b7280;
}

body.theme-b .deposit-table__card-price {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 900;
  color: var(--main-color);
  line-height: 1.1;
}

body.theme-b .deposit-table__card-unit {
  margin-left: 2px;
  font-size: 19px;
  font-weight: 700;
}

body.theme-b .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-b section.sag_new .sag_wrap {
    min-height: 10rem;
  }

  body.theme-b section.sag_new .promo-faq .section-head {
    padding: 14px 16px;
  }

  body.theme-b section.sag_new .promo-faq .form-row > div {
    padding: 14px 16px !important;
  }

  body.theme-b section.sag_new .promo-faq .promo-faq-line {
    font-size: 12px !important;
  }
}

/* ── sub_view photo stack grid ── */
body.theme-b .photo-stack-grid {
  grid-template-columns: repeat(var(--photo-cols-mobile, 1), minmax(0, 1fr));
}

@media (min-width: 768px) {
  body.theme-b .photo-stack-grid {
    grid-template-columns: repeat(var(--photo-cols-pc, 2), minmax(0, 1fr));
  }
}

/* ── sub_view photo lightbox ── */
body.theme-b .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-b .photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

body.theme-b .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-b .photo-lightbox.is-open .photo-lightbox__panel {
  transform: scale(1);
}

body.theme-b .photo-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(82vh, 720px);
  object-fit: contain;
  background: #111;
}

body.theme-b .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-b section.sag_new .txt_wrap p {
  margin: 0 0 4px;
}

body.theme-b section.sag_new .txt_wrap p:last-child {
  margin-bottom: 0;
}

/* ── Middle banner ── */
body.theme-b section.middle_ban img {
  display: block;
  width: 100%;
}

/* ── Car list ── */
body.theme-b section.car_list.ko_car:not(.car_list-home--temp4),
body.theme-b section.car_list.tru_car:not(.car_list-home--temp4) { padding-top: 60px; }

body.theme-b section.car_list h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
}

body.theme-b section.car_list h2 span { font-weight: 800; color: var(--main-color); }

body.theme-b section.car_list .car_wrap { margin-bottom: 30px; }

body.theme-b section.car_list .car_wrap ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

body.theme-b section.car_list .car_wrap li {
  width: auto;
  border: 1px solid #c1c1c1;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

body.theme-b section.car_list .car_wrap li:hover {
  box-shadow: 0 0 10px var(--main-color);
  transform: none;
}

body.theme-b section.car_list .txt_wrap { padding: 10px; }

body.theme-b 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-b section.car_list .car_wrap li a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.theme-b section.car_list .img_wrap img {
  display: block;
  width: 100%;
}

body.theme-b section.car_list .opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
}

body.theme-b section.car_list .opt span {
  font-size: 14px;
  color: #737373;
}

body.theme-b section.car_list .opt .car_pri {
  font-weight: 900;
  font-size: 19px;
  color: var(--main-color);
}

body.theme-b 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-b section.car_list.car_list-home--temp4 {
  padding: 0;
  margin-bottom: 48px;
}

body.theme-b section.car_list.car_list-home--temp4.ko_car,
body.theme-b section.car_list.car_list-home--temp4.tru_car {
  padding-top: 0;
}

body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

body.theme-b 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-b section.car_list.car_list-home--temp4 .car-list-temp4__title span {
  font-weight: 800;
  color: var(--main-color);
}

body.theme-b 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-b 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-b section.car_list.car_list-home--temp4 .car-list-temp4__loading--err {
  color: #b45309;
  background: #fffbeb;
}

body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__foot {
  margin-top: 32px;
  text-align: center;
}

body.theme-b 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-b section.car_list.car_list-home--temp4 .car-list-temp4__more:hover {
  background: var(--main-color);
  color: #fff;
}

body.theme-b section.car_list.car_list-home--temp4 .car-card-type-b {
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

body.theme-b section.car_list.car_list-home--temp4 .car-card-type-b__body {
  padding: 12px;
}

@media (min-width: 640px) {
  body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__inner {
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  body.theme-b section.car_list.car_list-home--temp4 {
    margin-bottom: 64px;
  }

  body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__title {
    font-size: 24px;
  }

  body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__grid {
    gap: 20px;
  }

  body.theme-b section.car_list.car_list-home--temp4 .car-card-type-b__body {
    padding: 16px;
  }
}

@media (min-width: 1024px) {
  body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__inner {
    padding: 0 32px;
  }

  body.theme-b section.car_list.car_list-home--temp4 .car-list-temp4__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── Partner ── */
body.theme-b section.partner { padding: 60px 0; }

body.theme-b 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-b section.partner.partner-home--band h2 {
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
}

body.theme-b section.partner.partner-home--band .partner-marquee-wrap {
  overflow: hidden;
}

body.theme-b 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-b section.partner.partner-home--band .partner-marquee__track:hover {
  animation-play-state: paused;
}

body.theme-b 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-b section.partner.partner-home--band .partner-marquee__item:hover {
  filter: grayscale(0);
  opacity: 1;
}

body.theme-b section.partner.partner-home--band .partner-marquee__logo {
  max-height: 32px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.theme-b section.partner h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
}

body.theme-b section.partner h2 span { font-weight: 800; color: var(--main-color); }

body.theme-b section.partner .marquee__track {
  animation-duration: 38s;
}

body.theme-b section.partner .marquee__item {
  width: 132px;
  height: 44px;
}

body.theme-b section.partner img.marquee__logo {
  max-width: 124px !important;
  max-height: 34px !important;
  width: auto !important;
  height: auto !important;
}

/* ── Reviews ── */
body.theme-b section.review { padding: 60px 0; }

body.theme-b section.review h2 {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 35px;
}

body.theme-b section.review h2 span { font-weight: 800; color: var(--main-color); }

body.theme-b section.review p.desc {
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--main-color);
}

body.theme-b section.review .view_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

body.theme-b section.review .list {
  width: auto;
  border-radius: 8px;
  box-shadow: none;
}

body.theme-b section.review .list:hover { transform: none; }

body.theme-b section.review .list img {
  height: 240px;
  border-radius: 8px;
}

body.theme-b section.review .list p {
  padding: 5px 10px;
  font-size: 19px;
  -webkit-line-clamp: 1;
}

body.theme-b section.review .review-more-link {
  display: block;
  margin-top: 28px;
}

/* ── Process steps (HTML — hd-lease 이미지 대체) ── */
body.theme-b section.process {
  height: auto;
  margin-bottom: 30px;
  padding: 0;
  background: none;
}

body.theme-b section.process.process-home {
  padding-top: 0;
}

body.theme-b section.process.process-steps-type-b .inner_wrap {
  padding: 28px 16px 32px;
  border-radius: 16px;
  background: linear-gradient(180deg, #c5ebfc 0%, #9fd0f3 50%, #7fb8e6 100%);
}

body.theme-b .process-steps-type-b__title {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(26px, 5.25vw, 39px);
  font-weight: 800;
  color: #2d3748;
  letter-spacing: -0.02em;
}

body.theme-b .process-steps-type-b__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-b .process-steps-type-b__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

body.theme-b .process-steps-type-b__row--top {
  width: 100%;
}

body.theme-b .process-steps-type-b__row--bottom {
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}

body.theme-b .process-steps-type-b__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-b .process-steps-type-b__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #1e3a5f;
}

body.theme-b .process-steps-type-b__icon svg {
  width: 40px;
  height: 40px;
}

body.theme-b .process-steps-type-b__label {
  font-size: clamp(15px, 3.3vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  color: #1e3a5f;
  word-break: keep-all;
}

body.theme-b .process-steps-type-b__sep {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  padding: 0 1px;
  color: rgba(255, 255, 255, 0.92);
  user-select: none;
}

body.theme-b .process-steps-type-b__sep svg {
  display: block;
  width: 18px;
  height: 18px;
}

body.theme-b .process-steps-type-b__row-sep {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  body.theme-b .process-steps-type-b__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  body.theme-b .process-steps-type-b__row {
    display: contents;
  }

  body.theme-b .process-steps-type-b__row--bottom {
    width: auto;
    margin: 0;
  }

  body.theme-b .process-steps-type-b__row-sep {
    display: flex;
    align-items: center;
  }
}

body.theme-b section.process.process-home picture,
body.theme-b section.process.process-home img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* ── Sub list (hd-lease car_search + car_list) ── */
body.theme-b:not([data-page="home"]) main {
  padding-top: 48px;
}

body.theme-b section.car_search { padding-top: 10px; }

body.theme-b:not([data-page="home"]) section.car_search {
  padding-top: 0;
}

body.theme-b section.car_search .car_wrap { padding: 40px 10px 10px; }

body.theme-b section.car_search .car_wrap ul { display: flex; }

body.theme-b section.car_search .car_wrap ul li { flex: 1; }

body.theme-b section.car_search .car_wrap ul li.active {
  border: 1px solid var(--main-color);
  margin: -1px;
}

body.theme-b 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-b section.car_search div.subsearch_total_wrap div.chk_opt { display: flex; }

body.theme-b section.car_search div.subsearch_total_wrap div.chk_opt div.list {
  flex: 1;
  border: 1px solid #ccc;
}

body.theme-b section.car_search div.subsearch_total_wrap div.chk_opt div.list + div.list {
  border-left: none;
}

body.theme-b 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-b section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul {
  overflow-y: auto;
  height: 150px;
}

body.theme-b section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li {
  padding: 8px 12px;
  cursor: pointer;
}

body.theme-b section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li.active,
body.theme-b 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-b section.car_search .order {
  padding: 3px 0;
  margin-bottom: 30px;
  background: #333;
}

body.theme-b section.car_search .order ul {
  display: flex;
  justify-content: center;
  gap: 5px;
}

body.theme-b section.car_search .order ul li a {
  display: block;
  padding: 0 7px;
  font-size: 14px;
  color: #fff;
}

body.theme-b section.car_search .order ul li.active a {
  color: #333;
  background: #fff;
}

body.theme-b section.car_search .car_wrap-type-b ul li a {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

body.theme-b section.car_search .car_wrap-type-b ul li.active {
  border: none;
  margin: 0;
}

body.theme-b section.car_search .car_wrap-type-b ul li.active a {
  border: 2px solid var(--main-color);
  background: color-mix(in srgb, var(--main-color) 6%, #fff);
}

body.theme-b section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li.active,
body.theme-b section.car_search div.subsearch_total_wrap div.chk_opt div.list div.opt_wrap ul li:hover {
  color: inherit;
  background: transparent;
}

body.theme-b section.car_search .order.order-type-b {
  padding: 0 0 12px;
  margin: 20px 0 16px;
  background: transparent;
}

body.theme-b section.car_search .order.order-type-b ul {
  gap: 20px;
  justify-content: flex-start;
}

body.theme-b section.car_search .order.order-type-b ul li a {
  padding: 0 0 10px;
  font-size: 14px;
  color: #6b7280;
  background: transparent;
}

body.theme-b section.car_search .order.order-type-b ul li.active a {
  color: var(--main-color);
  background: transparent;
  font-weight: 700;
}

body.theme-b section.car_list-sub {
  padding-top: 0;
}

body.theme-b section.car_list-sub .car_wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.theme-b section.car_list-sub .car_wrap li {
  width: calc((100% - 30px) / 4);
}

body.theme-b section.car_list-sub .no_data {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  color: #666;
}

/* ── Footer counsel ── */
body.theme-b .footer_counsel:not(.footer-counsel-modern) { background: var(--main-color); }

body.theme-b .bottom_counsel { display: none; }

body.theme-b footer .logo_text { display: none; }

body.theme-b footer .logo_wrap {
  width: 245px;
  margin-bottom: 40px;
}

body.theme-b footer .logo_wrap img {
  display: block;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  body.theme-b section.car_list .car_wrap ul,
  body.theme-b section.car_list.car_list-home .car_wrap ul,
  body.theme-b section.car_list-sub .car_wrap ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  body.theme-b section.review .view_box {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  body.theme-b section.review .list img { height: 160px; }

  body.theme-b section.review .list p { font-size: 14px; }
}

@media (max-width: 768px) {
  /* hd-lease mobile head: award | logo center | search icon */
  body.theme-b 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-b header.header-classic .award {
    display: block;
    order: 0;
    width: 96px;
    flex-shrink: 0;
  }

  body.theme-b header.header-classic .award img {
    display: block;
    width: 100%;
    max-height: none;
    margin: 0;
    object-fit: contain;
  }

  body.theme-b 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-b header.header-classic .logo-chaitda-simple__brand {
    font-size: clamp(18px, 5vw, 24px);
  }

  body.theme-b header.header-classic .logo-chaitda-simple__type {
    font-size: 10px;
  }

  body.theme-b header.header-classic .right_wrap {
    order: 0;
    width: 96px;
    max-width: none;
    flex-shrink: 0;
  }

  body.theme-b header.header-classic .right_wrap .img_wrap img {
    width: 100%;
    height: auto;
  }

  /* hd-lease mobile nav: 3열 pill 버튼 */
  body.theme-b header.header-classic .gnb {
    background: transparent;
    padding: 0 10px 10px;
  }

  body.theme-b header.header-classic .gnb .inner_wrap {
    width: 100%;
    padding: 0;
  }

  body.theme-b header.header-classic .gnb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  body.theme-b header.header-classic .gnb ul li {
    width: calc((100% - 10px) / 3);
  }

  body.theme-b header.header-classic .gnb ul li a {
    display: block;
    padding: 15px 4px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background: var(--main-color);
  }

  body.theme-b section.visual .view_box { height: 200px; }

  body.theme-b section.main_counsel .form_inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: auto;
    padding: 16px !important;
    gap: 10px;
  }

  body.theme-b section.main_counsel .form_inner .inp_wrap,
  body.theme-b section.main_counsel .form_inner .send { width: 100%; }

  body.theme-b section.main_counsel .form_inner .inp_wrap input { width: 100%; }

  body.theme-b section.main_counsel {
    padding-bottom: 10px;
  }

  body.theme-b[data-page="home"] section.main_counsel + section.find {
    padding-top: 40px;
    margin-top: 0;
  }

  body.theme-b section.find h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
  }

  body.theme-b section.find .info_wrap {
    flex-direction: column;
    min-height: auto;
  }

  body.theme-b section.find .tab_wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #bcbcbc;
  }

  body.theme-b 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-b section.find .tab_wrap button + button {
    border-top: none;
    border-left: 1px solid #bcbcbc;
  }

  body.theme-b section.find .tab_wrap button.active {
    border-bottom-color: var(--main-color);
    padding-left: 8px;
  }

  body.theme-b section.find .tab_wrap button.active::after {
    display: none;
  }

  body.theme-b section.find:not(.find-home--temp4) .content_wrap {
    position: static;
    width: 100%;
    min-height: auto;
    padding: 16px;
  }

  body.theme-b 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-b section.find:not(.find-home--temp4) .content_wrap .tab.active {
    display: block;
    transform: none;
    opacity: 1;
  }

  body.theme-b section.find.find-home--temp4 .tab_wrap button {
    padding: 11px 5px;
    font-size: 14px;
  }

  body.theme-b section.find.find-home--temp4 .content_wrap {
    padding: 16px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-kind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.theme-b section.find.find-home--temp4 .home-find-kind-card img {
    width: 56px;
    height: 56px;
  }

  body.theme-b section.partner.partner-home--band {
    padding: 32px 0 40px;
    margin-bottom: 40px;
  }

  body.theme-b section.partner.partner-home--band h2 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  body.theme-b section.partner.partner-home--band .partner-marquee__track {
    gap: 28px;
  }

  body.theme-b section.partner.partner-home--band .partner-marquee__item {
    width: 96px;
  }

  body.theme-b .footer-counsel-modern__form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }

  body.theme-b .footer-counsel-modern__lead {
    text-align: center;
  }

  body.theme-b .footer-counsel-modern__fields {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-b .footer-counsel-modern__field {
    max-width: none;
  }

  body.theme-b .footer-counsel-modern__submit {
    width: 100%;
    min-height: 48px;
  }

  body.theme-b section.find .tab1 ul li { width: calc(100% / 3); }

  body.theme-b section.find .tab2 ul li { width: calc((100% - 20px) / 2); }

  body.theme-b section.find:not(.find-home--temp4) .tab3 ul {
    gap: 12px;
  }

  body.theme-b section.find:not(.find-home--temp4) .tab3 ul li {
    width: calc((100% - 12px) / 2);
  }

  body.theme-b section.find:not(.find-home--temp4) .tab3 ul li a {
    font-size: 14px;
    padding: 8px 0;
  }

  body.theme-b section.find .find-price-range__readout { font-size: 18px; }

  body.theme-b section.find .find-price-range__fields input[type="number"] {
    width: 64px;
    font-size: 14px;
  }

  body.theme-b section.find .find-price-range__quick-btn {
    padding: 10px 2px;
    font-size: 14px;
  }

  body.theme-b section.car_list .car_wrap ul,
  body.theme-b section.car_list.car_list-home .car_wrap ul,
  body.theme-b section.car_list-sub .car_wrap ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  body.theme-b section.car_list .car_wrap li { width: auto; border-radius: 12px; }

  body.theme-b section.car_list h2 {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
  }

  body.theme-b section.car_list .txt_wrap { padding: 8px; }

  body.theme-b section.car_list .txt_wrap p.tit {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  body.theme-b section.car_list .opt span { font-size: 11px; }

  body.theme-b section.car_list .opt .car_pri { font-size: 15px; }

  body.theme-b section.car_list a.more {
    width: auto;
    max-width: 225px;
    padding: 16px 24px;
    font-size: 18px;
    border-radius: 10px;
  }

  body.theme-b section.car_list.ko_car:not(.car_list-home--temp4),
  body.theme-b section.car_list.tru_car:not(.car_list-home--temp4) { padding-top: 40px; }

  body.theme-b section.partner { padding: 40px 0; }

  body.theme-b section.partner h2 { font-size: 22px; text-align: center; }

  body.theme-b section.partner .marquee__track {
    gap: 32px;
    animation-duration: 28s;
  }

  body.theme-b section.partner .marquee__item {
    width: 108px;
    height: 36px;
  }

  body.theme-b section.partner img.marquee__logo {
    max-width: 100px !important;
    max-height: 28px !important;
  }

  body.theme-b section.process.process-home {
    padding-top: 40px;
  }

  body.theme-b section.process.process-steps-type-b .inner_wrap {
    padding: 22px 14px 26px;
    border-radius: 12px;
  }

  body.theme-b .process-steps-type-b__title {
    margin-bottom: 18px;
    font-size: 26px;
  }

  body.theme-b .process-steps-type-b__list {
    gap: 18px;
  }

  body.theme-b .process-steps-type-b__row {
    gap: 6px;
  }

  body.theme-b .process-steps-type-b__row--bottom {
    width: min(88%, 320px);
  }

  body.theme-b .process-steps-type-b__item {
    max-width: none;
    gap: 10px;
  }

  body.theme-b .process-steps-type-b__icon {
    width: 60px;
    height: 60px;
  }

  body.theme-b .process-steps-type-b__icon svg {
    width: 46px;
    height: 46px;
  }

  body.theme-b .process-steps-type-b__label {
    font-size: 18px;
    line-height: 1.4;
  }

  body.theme-b .process-steps-type-b__sep {
    width: 20px;
    color: rgba(255, 255, 255, 0.95);
  }

  body.theme-b .process-steps-type-b__sep svg {
    width: 20px;
    height: 20px;
  }

  body.theme-b section.process.process-home .inner_wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.theme-b section.find h2 { font-size: 22px; text-align: center; }

  body.theme-b section.car_search .car_wrap ul { flex-wrap: wrap; }

  body.theme-b section.car_search .car_wrap ul li {
    flex: 0 0 calc(25% - 6px);
    min-width: 72px;
  }

  body.theme-b section.car_search .car_wrap ul li a {
    padding: 10px 4px;
    font-size: 12px;
  }

  body.theme-b section.car_search .car_wrap ul li a img {
    width: 36px;
    height: auto;
  }

  body.theme-b .wrapper,
  body.theme-b main {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0));
  }

  body.theme-b .footer_counsel { display: none; }

  body.theme-b footer.footer--type-b {
    padding: 0 0 calc(44px + env(safe-area-inset-bottom, 0));
  }

  body.theme-b .footer-type-b__menu {
    gap: 6px;
    padding: 14px 0;
  }

  body.theme-b .footer-type-b__menu-link {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  body.theme-b .footer-type-b__menu-link--mobile-only {
    display: inline-flex;
  }

  body.theme-b .footer-type-b__body {
    padding-top: 24px;
  }

  body.theme-b .footer-type-b__brand .logo-chaitda-simple__brand {
    font-size: 26px;
  }

  body.theme-b .footer-type-b__law {
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  body.theme-b .footer-type-b__intro {
    font-size: 13px;
    text-align: left;
  }

  body.theme-b .footer-type-b__disclaimer {
    font-size: 12px;
  }

  body.theme-b .footer-type-b__notice--warn {
    font-size: 11px;
    padding: 11px 12px;
  }

  body.theme-b .footer-type-b__notice {
    font-size: 12px;
  }

  body.theme-b .footer-type-b__business-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  body.theme-b .footer-type-b__business-row dt {
    font-size: 11px;
  }

  body.theme-b .footer-type-b__business-row dd {
    font-size: 12px;
  }

  body.theme-b .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-b .bottom_counsel .inner_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  body.theme-b .bottom_counsel .ico_wrap {
    flex-shrink: 0;
    width: 13%;
    max-width: 72px;
  }

  body.theme-b .bottom_counsel .ico_wrap img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.theme-b .bottom_counsel ul {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.theme-b .bottom_counsel ul li {
    overflow: hidden;
    flex: 1;
    border: 1px solid var(--main-color);
    border-radius: 999px;
    background: #fff;
  }

  body.theme-b .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-b .bottom_counsel ul li.tel {
    animation: theme-b-btn-bg 1s alternate infinite;
  }

  body.theme-b .bottom_counsel ul li.tel a {
    color: #fff;
  }

  @keyframes theme-b-btn-bg {
    0% { background-color: #05e048; border-color: #05e048; }
    100% { background-color: var(--main-color); border-color: var(--main-color); }
  }

  body.theme-b section.review .view_box {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  body.theme-b section.review .list img { height: 140px; }

  body.theme-b .side_banner { display: none !important; }

  body.theme-b .type-switcher {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
    font-size: 12px;
  }

  body.theme-b .type-switcher-label {
    width: 100%;
    text-align: center;
    margin-bottom: 2px;
  }
}

@media (max-width: 480px) {
  body.theme-b header.header-classic .gnb ul li {
    width: calc((100% - 10px) / 3);
  }

  body.theme-b header.header-classic .gnb ul li a {
    font-size: 3.2vw;
    padding: 15px 2px;
  }

  body.theme-b 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-b[data-page="sub_view"] #sub_view_temp3_root #explain .prose,
body.theme-b[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-b .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-b .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-b .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-b .footer-view-mode__btn.is-active {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

body.theme-b .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;
}
/* ═══════════════════════════════════════════════════════════
   Type B — eb4_basic_a reference look (header / footer / home / mobile)
   ═══════════════════════════════════════════════════════════ */

body.theme-b {
  --ref-gnb: #fff;
}

/* PC header: centered logo like reference */
body.theme-b header.header-classic.header-pc > .inner_wrap {
  position: relative;
  justify-content: flex-start;
  padding: 30px 0;
}
body.theme-b header.header-classic.header-pc h1.logo {
  left: 50%;
  width: min(365px, 40vw);
}
body.theme-b header.header-classic.header-pc h1.logo a img {
  display: block;
  width: 100%;
  height: auto;
}
body.theme-b header.header-classic.header-pc .gnb ul {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
body.theme-b header.header-classic.header-pc .gnb ul li a {
  display: block;
  padding: 18px 0;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 22px);
  color: #fff;
}

/* Mobile icon GNB — hidden on PC */
body.theme-b header.ik-header.header-mobile {
  display: none;
}

/* Left side banner = image */
body.theme-b #left_banner.side_banner--home img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Today: https://xn--m-pi5fg78b.com/ site/kimsy1899/default.css 정본 이식 ── */
/* slick-list/slide → list_wrap / item margin 대응 (vanilla ticker) */

@keyframes shm-live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.75; }
}

body.theme-b section.today {
  padding-top: 60px;
}

body.theme-b section.today .inner_wrap {
  display: flex;
  gap: 24px;
  padding: 0 20px;
  box-sizing: border-box;
  align-items: stretch;
}

body.theme-b section.today .left_wrap,
body.theme-b section.today .right_wrap {
  width: 50%;
  border: 1px solid color-mix(in srgb, var(--main-color) 22%, #e8e8e8);
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--main-color) 18%, transparent);
  overflow: hidden;
}

body.theme-b section.today .today_card_head {
  padding: 22px 20px 18px;
  text-align: center;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--main-color) 9%, #fff) 0%,
    #fff 100%
  );
  border-bottom: 1px solid color-mix(in srgb, var(--main-color) 14%, #f0f0f0);
}

body.theme-b section.today .today_card_head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  color: #222;
}

body.theme-b section.today .today_card_head h2 .today_head_blue {
  color: var(--main-color);
}

body.theme-b section.today .today_card_head--live h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 23px;
}

body.theme-b section.today .today_card_head .today_live_title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.theme-b section.today .today_card_head .today_live_label {
  color: var(--main-color);
}

body.theme-b section.today .today_card_head .today_live_title::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--main-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--main-color) 18%, transparent);
  animation: shm-live-pulse 1.4s ease-in-out infinite;
}

body.theme-b section.today .today_card_body {
  padding: 22px 14px 24px;
}

body.theme-b section.today .left_wrap ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-b section.today .left_wrap ul li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}

body.theme-b section.today .left_wrap ul li + li {
  border-left: 1px solid #f0f0f0;
}

body.theme-b section.today .left_wrap ul li p.tit {
  margin: 0;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #4a4a4a 0%, #6a6a6a 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

body.theme-b section.today .left_wrap ul li div.num {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 18px;
  color: #aaa;
  line-height: 1;
}

body.theme-b section.today .left_wrap ul li div.num span {
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.03em;
  color: var(--main-color);
}

body.theme-b section.today .left_wrap ul li p.desc {
  margin: 0;
  max-width: 148px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  color: #666;
  word-break: keep-all;
  text-wrap: pretty;
}

body.theme-b section.today .right_wrap .list_wrap {
  position: relative;
  height: 186px;
  min-height: 186px;
  max-height: 186px;
  overflow: hidden;
  margin: 0;
}

body.theme-b section.today .right_wrap .list_wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
  z-index: 2;
}

body.theme-b section.today .right_wrap .list_wrap .list_wrap-track {
  will-change: transform;
}

body.theme-b section.today .right_wrap .list_wrap .item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  padding: 11px 12px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.theme-b section.today .right_wrap .list_wrap .item:hover {
  border-color: color-mix(in srgb, var(--main-color) 28%, #ececec);
  background: #fff;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--main-color) 12%, transparent);
}

body.theme-b section.today .right_wrap .list_wrap .item .ex {
  flex: 0 0 68px;
  min-width: 68px;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
}

body.theme-b section.today .right_wrap .list_wrap .item .ex-buy {
  background: linear-gradient(135deg, var(--main-color) 0%, color-mix(in srgb, var(--main-color) 70%, #000) 100%);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--main-color) 22%, transparent);
}

body.theme-b section.today .right_wrap .list_wrap .item .ex-sell {
  background: linear-gradient(135deg, #5c5c5c 0%, #7a7a7a 100%);
}

body.theme-b section.today .right_wrap .list_wrap .item .item_main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.theme-b section.today .right_wrap .list_wrap .item p.desc {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-b section.today .right_wrap .list_wrap .item span.date {
  flex-shrink: 0;
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

body.theme-b section.today .right_wrap .list_wrap .item p.trans {
  flex-shrink: 0;
  min-width: 64px;
  margin: 0;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  white-space: nowrap;
}

body.theme-b section.today .right_wrap .list_wrap .item p.trans1 {
  background: linear-gradient(135deg, var(--main-color) 0%, color-mix(in srgb, var(--main-color) 70%, #000) 100%);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--main-color) 22%, transparent);
}

body.theme-b section.today .right_wrap .list_wrap .item p.trans2 {
  background: #bdbdbd;
}

body.theme-b section.hot {
  padding-top: 60px;
}
body.theme-b section.hot h2 {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 35px;
  text-align: center;
}
body.theme-b section.hot h2 span {
  font-weight: 800;
  color: var(--main-color);
}
body.theme-b section.hot .info_wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.theme-b section.hot .info_wrap li {
  flex: 1 1 180px;
  border: 2px solid #000;
  border-radius: 999px;
}
body.theme-b section.hot .info_wrap li a {
  display: block;
  padding: 14px 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
body.theme-b section.hot .info_wrap li:nth-child(even) a {
  color: var(--main-color);
}

body.theme-b section.review.review-home--ref .view_box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
body.theme-b section.review.review-home--ref .view_box .list {
  overflow: hidden;
  width: calc((100% - 60px) / 4);
}
body.theme-b section.review.review-home--ref .view_box .list img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}
body.theme-b section.review.review-home--ref .view_box .list p {
  margin: 0;
  padding: 5px 10px;
  font-size: 19px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Process = reference background image band */
body.theme-b section.process.process-home {
  height: 372px !important;
  margin-bottom: 30px;
  padding: 0 !important;
  background: url("/shared/img/section-five-img.jpg") no-repeat 50% 50% !important;
  background-size: cover !important;
}

body.theme-b section.partner .img_wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Classic footer */
body.theme-b section.bottom {
  padding: 40px 0;
  background: #f7f7f7;
}
body.theme-b section.bottom .info_wrap {
  display: flex;
  gap: 24px;
}
body.theme-b section.bottom .bottom_link {
  flex: 1;
}
body.theme-b section.bottom .bottom_link > p {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 16px;
}
body.theme-b section.bottom .bottom_link ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.theme-b section.bottom .bottom_link li a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: #555;
  text-decoration: none;
}
body.theme-b footer.footer--ref {
  padding: 40px 0 120px;
  background: #fff;
}
body.theme-b footer.footer--ref .footer-menu--mobile,
body.theme-b footer.footer--ref .footer-divider--mobile {
  display: none;
}
body.theme-b footer.footer--ref .footer-law-notice {
  margin-bottom: 28px;
  font-size: 1.125rem;
}
body.theme-b footer.footer--ref .logo_wrap {
  max-width: 280px;
  margin-bottom: 20px;
}
body.theme-b footer.footer--ref .logo_wrap img {
  display: block;
  width: 100%;
  height: auto;
}
body.theme-b footer.footer--ref .text-black {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
body.theme-b footer.footer--ref .footer-type-b__business {
  margin-top: 20px;
}
body.theme-b footer.footer--ref .footer-copyright {
  margin-top: 24px;
  font-size: 13px;
  color: #888;
}

/* PC fixed counsel bar */
body.theme-b .footer_counsel.footer_counsel--pc {
  z-index: 99;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: color-mix(in srgb, var(--main-color) 78%, transparent);
}
body.theme-b .footer_counsel.footer_counsel--pc .form_inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 88px;
}
body.theme-b .footer_counsel.footer_counsel--pc .send input {
  color: var(--main-color);
  background: #fff;
  border: 3px solid #afafaf;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile dock (btm_fix) — PC hidden */
body.theme-b .btm_fix,
body.theme-b .main_tel {
  display: none;
}

@media (max-width: 1024px) {
  body.theme-b section.today .inner_wrap {
    flex-direction: column;
    padding: 0 16px;
  }
  body.theme-b section.today .left_wrap,
  body.theme-b section.today .right_wrap {
    width: 100%;
  }
  body.theme-b section.review.review-home--ref .view_box .list {
    width: calc((100% - 20px) / 2);
  }
  body.theme-b section.review.review-home--ref .view_box .list img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  body.theme-b header.header-classic.header-pc {
    display: none;
  }
  body.theme-b header.ik-header.header-mobile {
    display: block;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  body.theme-b header.ik-header .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
  }
  body.theme-b header.ik-header .logo_wrap {
    max-width: 160px;
  }
  body.theme-b header.ik-header .logo_wrap img {
    display: block;
    width: 100%;
    height: auto;
  }
  body.theme-b header.ik-header nav ul {
    display: flex;
    margin: 0;
    padding: 8px 4px 12px;
    list-style: none;
    overflow-x: auto;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  body.theme-b header.ik-header nav li {
    flex: 0 0 auto;
    width: 72px;
  }
  body.theme-b header.ik-header nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #333;
    text-decoration: none;
  }
  body.theme-b header.ik-header nav a img {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  body.theme-b section.bottom { display: none; }
  body.theme-b footer.footer--ref {
    padding: 24px 0 calc(160px + env(safe-area-inset-bottom, 0));
  }
  body.theme-b footer.footer--ref .footer-menu--mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
    margin-bottom: 16px;
  }
  body.theme-b footer.footer--ref .footer-menu--mobile a,
  body.theme-b footer.footer--ref .footer-menu--mobile button {
    font-size: 14px;
    color: #333;
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
  }
  body.theme-b footer.footer--ref .footer-divider--mobile {
    display: block;
    height: 1px;
    margin-bottom: 20px;
    background: #ddd;
  }
  body.theme-b footer.footer--ref .footer-top--pc {
    display: none;
  }

  body.theme-b .footer_counsel.footer_counsel--pc {
    display: none !important;
  }

  body.theme-b .btm_fix {
    z-index: 100;
    display: block;
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0));
    transform: translateX(-50%);
    width: 90%;
    max-width: 960px;
  }
  body.theme-b .btm_fix .foot_notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    margin-bottom: 5px;
    border-radius: 7px;
    background: #f7f7f7;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  }
  body.theme-b .btm_fix .foot_notice .img_wrap {
    width: 30px;
    flex-shrink: 0;
  }
  body.theme-b .btm_fix .foot_notice .img_wrap img {
    display: block;
    width: 100%;
  }
  body.theme-b .btm_fix .news {
    overflow: hidden;
    width: calc(100% - 40px);
    padding: 12px 0;
  }
  body.theme-b .btm_fix .news .view_box {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: typeb-marque 12s linear infinite;
  }
  body.theme-b .btm_fix .notice_txt {
    font-weight: 500;
    white-space: nowrap;
  }
  body.theme-b .btm_fix .notice_txt span {
    color: var(--main-color);
  }
  @keyframes typeb-marque {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  body.theme-b .btm_fix .bottom_counsel {
    display: block !important;
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    left: auto;
    bottom: auto;
    padding: 10px;
    border: 2px solid var(--main-color);
    border-radius: 15px;
    background: #fff;
    box-sizing: border-box;
  }
  body.theme-b .main_tel {
    display: block;
    padding: 40px 10px 0;
  }
  body.theme-b .main_tel a {
    position: relative;
    display: block;
  }
  body.theme-b .main_tel img {
    display: block;
    width: 100%;
    border-radius: 5px;
  }
  body.theme-b .main_tel p {
    position: absolute;
    left: 13%;
    top: 45%;
    margin: 0;
    font-weight: 700;
    font-size: clamp(18px, 5vw, 24px);
    color: #fff;
  }

  body.theme-b section.process.process-home {
    height: 220px;
    background-image: url("/shared/img/section-five-img_m.jpg");
  }

  body.theme-b section.hot .info_wrap ul {
    flex-direction: column;
  }
  body.theme-b .wrapper,
  body.theme-b main {
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0));
  }
}

@media (min-width: 769px) {
  body.theme-b .wrapper,
  body.theme-b main {
    padding-bottom: 100px;
  }
}
