:root {
  --palcha_index_primary: #0085e4;
  --palcha_index_primary_hover: #006fbe;
  --palcha_index_primary_soft: #eaf6ff;
  --palcha_index_text: #17212b;
  --palcha_index_muted: #687583;
  --palcha_index_line: #dce5ee;
  --palcha_index_surface: #ffffff;
  --palcha_index_background: #f5f7fa;
  --palcha_index_radius: 18px;
  --palcha_index_shadow: 0 8px 24px rgba(23, 33, 43, 0.06);
  --palcha_index_content_max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--palcha_index_background);
  color: var(--palcha_index_text);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  word-break: keep-all;
}
body.palcha_index_body_locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.palcha_index_skip_link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 5000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 800;
}
.palcha_index_skip_link:focus { top: 16px; }

.palcha_index_container {
  width: min(calc(100% - 40px), var(--palcha_index_content_max));
  margin-inline: auto;
}

.palcha_index_header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(220, 229, 238, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.palcha_index_header_inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.palcha_index_header .palcha_logo {
  min-width: 138px;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--palcha_index_primary);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}
.palcha_index_header .palcha_logo > div {
  width: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.palcha_index_header .palcha_logo img {
  width: auto !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
}
.palcha_index_header .palcha_logo strong {
  display: inline-block;
  font: inherit;
  letter-spacing: 0;
  font-family: 'YeogiOttaeJalnanGothic', sans-serif;
  font-size: 24px;
}
.palcha_index_navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}
.palcha_index_navigation a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px 2px;
  border-radius: 10px;
  font-family: 'PyeojinGothic', sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: #263646;
}
.palcha_index_navigation a:hover,
.palcha_index_navigation a:focus-visible {
  background: var(--palcha_index_primary_soft);
  color: var(--palcha_index_primary);
}
.palcha_index_navigation_current {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px 2px;
  border-radius: 10px;
  font-family: 'PyeojinGothic', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--palcha_index_primary);
  cursor: default;
}
.palcha_index_header_actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.palcha_index_mobile_menu_button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--palcha_index_line);
  border-radius: 10px;
  background: #fff;
}
.palcha_index_mobile_menu_button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--palcha_index_text);
}

.palcha_index_button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.palcha_index_button:hover { transform: translateY(-1px); }
.palcha_index_button_primary {
  background: var(--palcha_index_primary);
  color: #fff;
}
.palcha_index_button_primary:hover { background: var(--palcha_index_primary_hover); }
.palcha_index_button_outline {
  border-color: var(--palcha_index_primary);
  background: #fff;
  color: var(--palcha_index_primary);
}
.palcha_index_button_text {
  padding-inline: 8px;
  background: transparent;
  color: #263646;
}

.palcha_index_page {
  padding: 22px 0 32px;
}
.palcha_index_page_grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}
.palcha_index_main_column { min-width: 0; }

.palcha_index_hero {
  position: relative;
  width: 100%;
  min-height: 184px;
  /* display: grid; */
  /* grid-template-columns: minmax(0, 52%) minmax(130px, 20%) minmax(0, 28%); */
  /* align-items: end; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px 46px 30px;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: var(--palcha_index_radius);
  background:
    /* linear-gradient(120deg, rgba(234, 246, 255, .94), rgba(255, 255, 255, .98)),
    url('../img/palcha_hero.svg') right center / 46% auto no-repeat; */
    linear-gradient(120deg, rgba(234, 246, 255, .75), rgba(255, 255, 255, .85));
  box-shadow: var(--palcha_index_shadow);
}
.palcha_index_hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/dreamdigitalartist-auto-7132712_640.png') 100% 40px / 50% auto no-repeat;
  filter: grayscale(100%) brightness(30%); 
  z-index: -1; /* 그라데이션과 글자 뒤로 배치 */
}
.palcha_index_hero_copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}
.palcha_index_hero_copy span {
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.palcha_index_hero_titleimg {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  height: 210px;  /* min(100%, 180px) */;
}
/* .palcha_index_hero_seller {
  position: absolute;
  left: 36px;
  bottom: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: min(98%, 180px);
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
} */
.palcha_index_hero_titleimg > img {
  height: 100%;
  transform: scaleX(-1);
}

.palcha_index_hero_brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 0;
  font-size: clamp(64px, 6.7vw, 102px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--palcha_index_primary);
}

.palcha_index_section_list {
  display: grid;
  gap: 14px;
}
.palcha_index_layout_2x2 .palcha_index_section_list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.palcha_index_section_card {
  min-width: 0;
  padding: 20px 24px;
  border: 1px solid var(--palcha_index_line);
  border-radius: var(--palcha_index_radius);
  background: var(--palcha_index_surface);
  box-shadow: 0 4px 18px rgba(23, 33, 43, .035);
  scroll-margin-top: 92px;
}
.palcha_index_section_header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 16px;
}
.palcha_index_section_title {
  margin: 0;
  color: var(--palcha_index_primary);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 950;
  letter-spacing: -0.035em;
}
.palcha_index_section_description {
  margin: 0;
  color: #33475b;
  font-size: 14px;
  line-height: 1.65;
}

.palcha_index_search_form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
}
.palcha_index_layout_2x2 .palcha_index_search_form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.palcha_index_layout_2x2 .palcha_index_search_form .palcha_index_search_submit {
  grid-column: 1 / -1;
}
.palcha_index_select,
.palcha_index_input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd8e5;
  border-radius: 8px;
  background-color: #fff;
  color: var(--palcha_index_text);
  outline: none;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .04);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.palcha_index_select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 44px 0 14px;
  background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M7%2010L12%2015L17%2010%22%20stroke%3D%22%230085e4%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E);
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 18px 18px;
  cursor: pointer;
}
.palcha_index_input { padding: 0 14px; }
.palcha_index_select:hover,
.palcha_index_input:hover {
  border-color: #b8cadb;
  background-color: #fcfeff;
}
.palcha_index_select:focus,
.palcha_index_input:focus {
  border-color: var(--palcha_index_primary);
  box-shadow: 0 0 0 3px rgba(0, 133, 228, .14), 0 1px 2px rgba(23, 33, 43, .04);
}

.palcha_index_accordion_group {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.palcha_index_accordion {
  overflow: hidden;
  border: 1px solid var(--palcha_index_line);
  border-radius: 10px;
  background: #fff;
}
.palcha_index_accordion_summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
  color: #263646;
  font-size: 13px;
  font-weight: 850;
  user-select: none;
}
.palcha_index_accordion_summary::-webkit-details-marker { display: none; }
.palcha_index_accordion_summary::after {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-color: var(--palcha_index_primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9.5l5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9.5l5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.palcha_index_accordion[open] .palcha_index_accordion_summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 14.5l5-5 5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 14.5l5-5 5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.palcha_index_accordion_body {
  padding: 14px;
  border-top: 1px solid var(--palcha_index_line);
  background: #fbfdff;
}
.palcha_index_detail_search_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.palcha_index_layout_2x2 .palcha_index_detail_search_grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.palcha_index_carousel_viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
}
.palcha_index_carousel_viewport::-webkit-scrollbar { display: none; }
.palcha_index_carousel_viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.palcha_index_carousel_track {
  width: max-content;
  display: flex;
  gap: 12px;
}
.palcha_index_vehicle_card {
  width: 198px;
  flex: 0 0 198px;
  overflow: hidden;
  border: 1px solid var(--palcha_index_line);
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
}
.palcha_index_vehicle_card img,
.palcha_index_no_image {
  width: 100%;
  height: 112px;
  background: #f1f5f9;
}
.palcha_index_vehicle_card img { object-fit: cover; }
.palcha_index_no_image {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--palcha_index_line);
  color: #8a98a8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.palcha_index_no_image span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 30px;
  border: 1px solid #d4dee9;
  border-radius: 999px;
  background: #fff;
}
.palcha_index_vehicle_card_body { padding: 11px 12px 13px; }
.palcha_index_vehicle_card h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 900;
}
.palcha_index_vehicle_meta {
  margin: 0;
  color: var(--palcha_index_muted);
  font-size: 12px;
  line-height: 1.5;
}
.palcha_index_vehicle_price {
  margin-top: 7px;
  color: var(--palcha_index_primary);
  font-size: 15px;
  font-weight: 950;
}
.palcha_index_vehicle_card_actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
.palcha_index_micro_button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--palcha_index_primary);
  border-radius: 8px;
  background: var(--palcha_index_primary);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.palcha_index_micro_button.is-ghost {
  background: #fff;
  color: var(--palcha_index_primary);
}

.palcha_index_sell_action_card {
  /* display: grid; */
  /* grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); */
  /* gap: 18px; */
  display: flex;
  align-items: center;
  min-height: 126px;
  padding: 24px 26px;
  border: 1px solid #d6e0e9;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #fbfdff);
  box-shadow: 0 8px 22px rgba(23, 33, 43, .05);
}
.palcha_index_layout_2x2 .palcha_index_sell_action_card {
  grid-template-columns: 1fr;
}
.palcha_index_sell_action_copy h3 {
  margin: 0 0 7px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 950;
  letter-spacing: -0.04em;
}
.palcha_index_sell_action_copy p {
  margin: 0;
  color: #33475b;
  font-size: 14px;
}
.palcha_index_sell_action_button {
  min-height: 64px;
  font-size: 18px;
}
.palcha_index_button_arrow {
  width: 16px;
  height: 17px;
  flex: 0 0 auto;
  object-fit: contain;
}
.palcha_index_login_note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--palcha_index_muted);
  font-size: 12px;
}
.palcha_index_login_note_icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  border-radius: 999px;
  background: var(--palcha_index_primary_soft);
  color: var(--palcha_index_primary);
}
.palcha_index_login_note_icon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.palcha_index_carousel_track.is-loading {
  min-width: 100%;
}
.palcha_index_market_empty {
  width: min(100%, 520px);
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px 20px;
  border: 1px dashed #c8d7e6;
  border-radius: 12px;
  background: #fff;
  color: #405266;
}
.palcha_index_market_empty strong {
  color: var(--palcha_index_text);
  font-size: 15px;
  font-weight: 900;
}
.palcha_index_market_empty span {
  color: var(--palcha_index_muted);
  font-size: 13px;
  line-height: 1.55;
}

.palcha_index_dealer_panel.is-attention {
  outline: 3px solid rgba(0, 133, 228, .28);
  outline-offset: 3px;
}
.palcha_index_dealer_welcome {
  text-align: center;
}
.palcha_index_dealer_welcome_eyebrow {
  margin: 0 0 8px;
  color: var(--palcha_index_primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}
.palcha_index_dealer_welcome h2 {
  margin-bottom: 10px;
  font-size: 24px;
}
.palcha_index_dealer_welcome > p:not(.palcha_index_dealer_welcome_eyebrow) {
  margin: 0 0 22px;
}
.palcha_index_dealer_panel {
  position: sticky;
  top: 90px;
  padding: 28px 22px;
  border: 1px solid var(--palcha_index_line);
  border-radius: var(--palcha_index_radius);
  background: #fff;
  box-shadow: var(--palcha_index_shadow);
}
.palcha_index_dealer_panel h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 27px;
  font-weight: 950;
}
.palcha_index_dealer_panel > p {
  margin: 0;
  text-align: center;
  color: #405266;
  font-size: 14px;
  line-height: 1.75;
}
.palcha_index_dealer_illustration {
  width: min(100%, 240px);
  aspect-ratio: 16 / 11;
  height: auto;
  margin: 24px auto 20px;
  border: 1px solid var(--palcha_index_line);
  border-radius: 12px;
  object-fit: cover;
  object-position: 28% center;
  background: #eef4f8;
}
.palcha_index_dealer_actions {
  display: grid;
  gap: 10px;
}
.palcha_index_dealer_actions .palcha_index_button {
  font-size: 18px;
}
.palcha_index_dealer_features {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 18px;
  border-radius: 14px;
  background: #f8fbff;
}
.palcha_index_dealer_feature {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  color: #33475b;
  font-size: 13px;
  font-weight: 750;
}
.palcha_index_icon {
  width: 28px;
  height: 28px;
  color: var(--palcha_index_primary);
}

.palcha_index_modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 20px;
}
.palcha_index_modal.is-open { display: grid; }
.palcha_index_modal_backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 24, 24, .82);
}
.palcha_index_modal_panel {
  position: relative;
  width: min(100%, 680px);
  min-height: 518px;
  padding: 86px 66px 58px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}
.palcha_index_modal_panel h2 {
  margin: 0 0 24px;
  color: #2c2c2c;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}
.palcha_index_modal_panel p { color: #555; line-height: 1.7; }
.palcha_index_modal_close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
}
.palcha_index_modal_close svg,
.palcha_index_local_login_back svg {
  display: block; width: 100%; height: 100%;
}

/* 
 * [로그인 모달 전용 닫기 버튼 스타일]
 * - 레거시 모달의 디자인 큐(모서리에서 절반 튀어나오는 원형)를 반영하여 예외 적용
 * - 그림자(box-shadow), 배경, 마우스 호버 트랜지션을 추가해 기존보다 미려한 시각 경험 제공
 */
.palcha_index_modal[data-palcha-index-role="loginModal"] .palcha_index_modal_close {
  top: -22px;
  right: -22px;
  width: 44px;
  height: 44px;
  padding: 8px; /* 아이콘 크기 1.25배 확대를 위해 패딩 축소 */
  border-radius: 50%;
  /* background: #ffffff;
  border: 1px solid #eaeef2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); */
  background: #000000;
  border: 4px solid #feffff;
  box-shadow: 2px 6px 16px rgba(0, 0, 0, 0.3);
  color: #343c54;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.palcha_index_modal[data-palcha-index-role="loginModal"] .palcha_index_modal_close > svg {
  filter: #ffffff;
  filter: invert(1) brightness(1.2);
}
.palcha_index_modal[data-palcha-index-role="loginModal"] .palcha_index_modal_close:hover > svg {
  filter: #ffffff;
  filter: none;
}

.palcha_index_modal[data-palcha-index-role="loginModal"] .palcha_index_modal_close:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #0085e4;
  border-color: #0085e4;
}
.palcha_index_login_choice > p { margin: 0; font-size: 17px; }
.palcha_index_login_choice .palcha_index_login_help { margin-top: 8px; color: #777; font-size: 14px; }
.palcha_index_login_method_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 116px;
}
.palcha_index_login_method {
  min-width: 0;
  min-height: 74px;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
}
.palcha_index_login_method.is-local { background: #0085e4; color: #fff; }
.palcha_index_login_method.is-naver { background: #03c75a; color: #fff; }
.palcha_index_login_method.is-kakao { background: #fee500; color: #191919; }
.palcha_index_login_method img,
.palcha_index_login_method svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.palcha_index_login_method.is-local svg {
  filter: brightness(0) invert(1);
}
.palcha_index_login_modalheader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.palcha_index_login_modalheader .palcha_logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--palcha_index_primary);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}
.palcha_index_login_modalheader .palcha_logo > div {
  width: auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.palcha_index_login_modalheader .palcha_logo img {
  width: auto !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
}
.palcha_index_login_modalheader .palcha_logo strong {
  display: inline-block;
  font: inherit;
  letter-spacing: 0;
  font-family: 'YeogiOttaeJalnanGothic', sans-serif;
  font-size: 24px;
}
.palcha_index_login_modalheader h2 {
  margin: 0 !important;
  padding-left: 12px;
  border-left: 1px solid #ccd6df;
  font-size: 24px !important;
  font-weight: 900;
  color: #2c2c2c;
  line-height: 1;
}
.palcha_index_login_method:disabled { opacity: .42; cursor: not-allowed; filter: grayscale(.3); }
.palcha_index_login_signup { margin: 24px 0 0 !important; text-align: center; font-size: 13px; }
.palcha_index_login_signup a { color: #0085e4; font-weight: 850; }
.palcha_index_local_login { position: relative; }
.palcha_index_local_login_back {
  position: absolute;
  top: -4px;
  left: -44px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
}
.palcha_index_local_login > p { margin: -14px 0 26px; }
.palcha_index_local_login_form { display: grid; gap: 14px; }
.palcha_index_local_login_form label { display: grid; gap: 7px; color: #333; font-size: 13px; font-weight: 850; }
.palcha_index_local_login_form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #ccd6df;
  border-radius: 0;
  background: #fff;
  color: #17212b;
  font: inherit;
  outline: none;
}
.palcha_index_local_login_form input:focus { border-color: #0085e4; box-shadow: 0 0 0 3px rgba(0, 133, 228, .12); }
.palcha_index_local_login_submit {
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  background: #0085e4;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.palcha_index_local_login_submit:disabled { opacity: .55; cursor: wait; }
.palcha_index_login_status { min-height: 22px; margin: 14px 0 0 !important; font-size: 13px; }
.palcha_index_login_status[data-status="error"] { color: #b42318; }
.palcha_index_login_status[data-status="success"] { color: #137a4b; }
@media (max-width: 700px) {
  .palcha_index_modal { padding: 12px; }
  .palcha_index_modal_panel { min-height: 0; padding: 68px 22px 30px; }
  .palcha_index_modal_panel h2 { font-size: 28px; }
  .palcha_index_login_method_grid { grid-template-columns: 1fr; margin-top: 48px; }
  .palcha_index_login_method { min-height: 56px; }
  .palcha_index_local_login_back { top: -46px; left: -6px; }
  /* [모바일 뷰 예외 처리] 모바일 화면에서는 패딩(12px)을 초과하지 않도록 닫기 버튼 위치 조절 */
  .palcha_index_modal[data-palcha-index-role="loginModal"] .palcha_index_modal_close {
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    padding: 6px; /* 아이콘 크기 유지를 위해 패딩 축소 */
  }
}

@media (max-width: 1180px) {
  .palcha_index_page_grid { grid-template-columns: 1fr; }
  .palcha_index_dealer_panel { position: static; }
  .palcha_index_dealer_panel {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    align-items: center;
    gap: 20px;
  }
  .palcha_index_dealer_illustration { margin: 0 auto; }
  .palcha_index_dealer_features { margin-top: 0; }
  .palcha_index_dealer_panel h2,
  .palcha_index_dealer_panel > p { text-align: left; }
}

@media (max-width: 960px) {
  .palcha_index_navigation {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--palcha_index_line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--palcha_index_shadow);
  }
  .palcha_index_navigation.is-open { display: flex; }
  .palcha_index_mobile_menu_button { display: block; }
  .palcha_index_header_actions { gap: 4px; }
  .palcha_index_header_actions .palcha_index_button {
    min-height: 38px;
    padding-inline: 9px;
    font-size: 13px;
  }
  .palcha_index_search_form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .palcha_index_search_form .palcha_index_search_submit { grid-column: 1 / -1; }
  .palcha_index_detail_search_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .palcha_index_layout_2x2 .palcha_index_section_list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .palcha_index_container { width: min(calc(100% - 24px), var(--palcha_index_content_max)); }
  .palcha_index_header_inner { min-height: 60px; }
  .palcha_index_header .palcha_logo {
    min-width: 112px;
    gap: 7px;
    font-size: 17px;
  }
  .palcha_index_header .palcha_logo > div { height: 52px; }
  .palcha_index_header_inner { gap: 5px; }
  .palcha_index_header_actions .palcha_index_button {
    min-height: 36px;
    padding-inline: 7px;
    font-size: 12px;
  }
  .palcha_index_hero {
    min-height: 194px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    gap: 5px 10px;
    padding: 22px 18px 14px;
  }
  .palcha_index_hero_copy { grid-column: 1 / -1; }
  .palcha_index_hero_copy span { font-size: 22px; }
  .palcha_index_hero_brand {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
    font-size: 62px;
  }
  .palcha_index_section_card { padding: 18px 16px; }
  .palcha_index_search_form,
  .palcha_index_layout_2x2 .palcha_index_search_form,
  .palcha_index_detail_search_grid,
  .palcha_index_layout_2x2 .palcha_index_detail_search_grid {
    grid-template-columns: 1fr;
  }
  .palcha_index_sell_action_card { grid-template-columns: 1fr; }
  .palcha_index_dealer_panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .palcha_index_dealer_panel h2,
  .palcha_index_dealer_panel > p { text-align: center; }
  .palcha_index_dealer_features { margin-top: 4px; }
}

.palcha_index_signup_panel {
  width: min(100%, 440px);
}

.palcha_index_signup_oauth {
  display: grid;
  gap: 10px;
}

.palcha_index_oauth_image_button {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 850;
}

.palcha_index_oauth_image_button.is-google {
  padding: 0;
  background: transparent;
}

.palcha_index_oauth_image_button.is-google img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.palcha_index_oauth_image_button.is-kakao {
  background: #fee500;
  color: #191919;
}

.palcha_index_oauth_image_button.is-naver {
  background: #03c75a;
  color: #fff;
}

.palcha_index_oauth_icon {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
}

.palcha_index_oauth_image_button:disabled {
  opacity: .48;
  cursor: not-allowed;
  filter: grayscale(.35);
}

.palcha_index_oauth_image_button:focus-visible {
  outline: 3px solid rgba(0, 133, 228, .24);
  outline-offset: 2px;
}

.palcha_index_signup_status {
  min-height: 20px;
  margin: 14px 0 0 !important;
  color: var(--palcha_index_muted);
  font-size: 13px;
}

.palcha_index_signup_status[data-palcha-status="error"] {
  color: #b42318;
}


/*
 * PyeojinGothic 한글 글리프의 실제 시각 중심을 버튼 중앙에 맞추는 공통 광학 보정임.
 * 영문 기준의 line-height: 1 강제를 사용하지 않음.
 */
.palcha_index_button,
.palcha_index_dealer_actions .palcha_index_button {
  font-family: 'PyeojinGothic', sans-serif;
  line-height: 1.35;
  padding-block: 0 2px;
}
