@charset "utf-8";
/*common*/

input::placeholder {
  color: #bdbdbd;
}

select,
input {
  outline: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*공통*/
body {
  background-color: #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.w_bg {
  background-color: #fff !important;
}

.wrap_contents.w_bg {
  background-color: #fff !important;
  /*padding-bottom: 120px;
*/
}

.wrap_contents.w_bg:has(.normal_b) {
  padding-bottom: 0;
}

.footer_menu.footer_btn {
  height: auto;
  background-color: transparent;
  border-top: 0;
}

.f_group_btn {
  width: 100%;
  display: flex;
  gap: 1%;
  background-color: #fff;
}

.footer_btn .f_group_btn button {
  height: 56px;
  border-radius: 12px;
}

.footer_btn .f_group_btn button {
  width: calc(99% - 50px);
}

.footer_btn .f_group_btn button.w_100 {
  width: 100%;
}

.footer_btn .f_group_btn .btn_save {
  width: 50px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  justify-content: center;
  align-items: center;
}

.btn_save .ico_save {
  cursor: pointer;
  border: 0;
  font-size: 0;
  display: block;
}

.btn_save .ico_save.on {
  background: url(../images/icon/iconamoon_heart-fill.svg);
  animation: beating 0.5s 1 alternate;
}

@keyframes beating {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.25);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

/*select*/
.select_group select {
  border: 1px solid #cccccc;
  padding: 16px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("../images/icon/down.svg") no-repeat 95% 50%/15px auto;
  background-color: #fff;
  padding-right: 20px;
  width: 100%;
}

/*btn-color*/
button.btn_main {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  border-radius: 12px;
}

button.done {
  background-color: #3b3b3b;
  border: 1px solid #3b3b3b;
}

button.more_btn {
  font-weight: 500;
  font-size: 14px;
  color: #828282;
}

button.btn_line {
  background-color: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 500;
}

.ico_g_down {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-image: url(../images/icon/g-down.svg);
  margin-left: 7px;
  background-position: center;
}

.ico_g_up {
  transform: rotate(180deg);
}

button.btn_b_line {
  background-color: #fff;
  border: 1px solid #3b3b3b;
  color: #3b3b3b;
  font-weight: 500;
  font-size: 14px;
  border-radius: 12px;
}

button.btn_w_line {
  border: 1px solid #fff;
  border-radius: 12px;
}

button.btn_w {
  background-color: #fff;
  border-radius: 12px;
  color: var(--primary);
  font-weight: 600;
}

button.btn_kakao {
  background-color: #fde500;
  color: #3b1f1e;
  width: 100%;
  border-radius: 12px;
  height: 56px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.btn_kakao .ico_kakao {
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: cover;
  margin-right: 4px;
}

button.btn_sub_line {
  color: #717171;
  border-bottom: 1px solid #717171;
}

.option_btn {
  display: flex;
  align-items: center;
  gap: 1%;
}

.option_btn butto {
  width: 49.5%;
  height: 48px;
}

.option_btn {
  width: 100%;
  margin-top: 8px;
}

.option_btn button {
  border: 1px solid var(--primary);
  background-color: var(--primary-light, #f2f6ff);
  color: var(--primary);
  font-size: 14px;
  padding: 10px;
  border-radius: 12px;
  width: 100%;
}

.option_btn button i {
  display: inline-block;
  position: inherit;
  left: 0;
}

.ico_save {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(../images/icon/save.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/*btn_style*/
.accordion_btn {
  border: 0;
  border-top: 1px solid #ebebeb;
  font-size: 12px;
  font-weight: 400;
  color: #959595;
}

.accordion_btn button {
  width: 100%;
  border: 0;
}

.ico_next {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../images/icon/next.svg);
}

/*text-color*/
.main_color {
  color: var(--primary);
  display: inline-block;
  margin-left: 2px;
}

.g_txt {
  color: #757575;
}

.r_font {
  color: #f36471 !important;
}

.g_font {
  color: #17867d !important;
}

/*text-style*/
.page_sub_title {
  font-weight: 600;
  font-size: 20px;
}

.con_sub_title {
  font-weight: 700;
  font-size: 18px;
}

.sub_txt {
  font-size: 14px;
  font-weight: 400;
  color: #767676;
}

.strong_txt {
  font-size: 22px;
  font-weight: 500;
}

.total_txt lable {
  font-size: 14px;
  color: #828282;
}

.total_txt.sec_txt lable {
  color: #2b2b2b;
}

.total_txt.sec_txt .price {
  color: #1f1f1f !important;
  font-size: 16px;
}

.total_txt .price {
  font-size: 16px !important;
  color: var(--primary) !important;
  font-weight: 500;
}

.txt {
  color: #3b3b3b;
  font-size: 14px;
  font-weight: 400;
}

.s_txt {
  color: #282828;
  font-size: 12px;
  font-weight: 400;
}

.option_g_line {
  background-color: #edfaf7;
  border-radius: 8px;
  font-weight: 700;
  color: #17867d;
  font-size: 14px;
  padding: 16px;
  text-align: center;
}

.title_sub {
  color: #828282;
  font-size: 12px;
  font-weight: 400;
}

h4 {
  color: #2f2f2f;
  font-size: 14px;
}

.check_title {
  margin-bottom: 20px;
}

.check_title h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
}

.list_head .title_guide {
  font-size: 14px;
  color: #85898f;
  width: 100%;
  margin-top: 2px;
}

.sub_name {
  font-size: 14px;
  color: #868e96;
  font-weight: 500;
}

.card_sub_title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.sub_t_wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: column;
  font-size: 14px;
  gap: 1%;
  margin-top: 8px;
  color: #3b3b3b;
  font-weight: 400;
}

.sub_t_wrap .sub_txt {
  margin-bottom: 4px;
  color: #3b3b3b;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.sub_t_wrap .sub_select {
  width: auto;
  min-width: 150px;
  height: auto;
  padding-bottom: 4px;
  border: 0;
  border-bottom: 1px solid #dcdde1;
  background-color: #fff;
  color: #3b3b3b;
  font-size: 14px;
  font-weight: 400;
  background-position: right 8px center;
  background-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("../images/icon/down.svg");
  line-height: 1.5;
  margin-bottom: 6px;
}

.sub_t_wrap .sub_select:hover,
.sub_t_wrap .sub_select:focus {
  border-color: var(--primary);
}

/*badge*/
.badge_r {
  background-color: #f06653;
}

.badge_y {
  background-color: #f6984c;
}

.badge_b {
  background-color: #4faea6;
}

.badge_m {
  background-color: var(--primary);
}

.badge_p {
  background-color: #5a4cf6;
}

.badge_pi {
  background-color: #f947a7;
}

.badge_vi {
  background-color: #bf6fe8;
}

.badge_pro {
  background-color: #ff364d;
  color: #fff;
}

.badge_r_line {
  border: 1px solid #f06653;
  color: #f06653;
}

.badge_b_line {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.badge_b_f {
  color: var(--primary);
  background-color: #ebf2fe;
}

.badge_p_f {
  color: #7068e5;
  background-color: #f2f1ff;
}

.badge_y_f {
  color: #ff9226;
  background-color: #fdf7e5;
}

.badge_r_f {
  color: #ff5c6a;
  background-color: #fff4f5;
}

.badge_g_f {
  color: #32bf72;
  background-color: #f4fff9;
}

.badge_s_f {
  color: #32bfb6;
  background-color: #f4ffff;
}

.badge_pi_f {
  color: #f947a7;
  background-color: #fff4f9;
}

.badge_vi_f {
  color: #bf6fe8;
  background-color: #f8f0ff;
}

.badge.cr_b {
  background-color: var(--primary);
  width: 6px;
  height: 6px;
  border-radius: 100px;
  padding: 0;
  margin-right: 4px;
}

.c_title .badge_l_main {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  border: 1px solid var(--primary);
  position: relative;
  top: -1px;
  width: 60px;
  margin-left: auto;
  float: right;
}

/*check box*/
.checkbox_group {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox_group p {
  width: 100%;
  word-break: keep-all;
}

.checkbox_group input[type="checkbox"] {
  display: none;
}

.checkbox_group input[type="checkbox"] + label {
  display: flex;
  background-color: #fff;
  cursor: pointer;
  padding: 15px 10px;
  font-size: 16px;
  width: 100%;
  text-align: center;
  border: 1px solid #e7e8ec;
  color: #a3a3a3;
  font-weight: 400;
  border-radius: 8px;
  flex-wrap: wrap;
}

.checkbox_group input[type="checkbox"]:checked + label {
  background-color: #fff;
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--primary);
}

.mb_chat {
  margin-bottom: 10px;
}

.ico_check_o {
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: inline-block;
  background-image: url(../images/icon/g_check.svg);
  margin-right: 8px;
}

.con_release .radio_form input[type="radio"]:checked + label i {
  background-image: url(../images/icon/b_check.svg);
}

/*padding*/
.p_20 {
  padding: 20px;
}

.p_b_54 {
  padding-bottom: 10px;
}

.pb_20 {
  padding-bottom: 20px !important;
}

/*margin*/
.mt_10 {
  margin-top: 10px;
}

/*line*/
.line_y {
  border: 1px solid #f6984c;
}

.line_r {
  border: 1px solid #f06653;
}

/*icon*/
i.ico_main_logo {
  display: inline-block;
  width: 150px;
  height: 20px;
  background-image: url(../images/common/logo.svg);
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}

i.ico_next_arrow {
  width: 16px;
  height: 16px;
  background-image: url(../images/icon/ico_next_arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

i.ico_main_sub {
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  height: 26px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: 5px;
}

.ico_sub1 {
  background-image: url(../images/icon/soft_menu_1.svg);
}

.ico_sub2 {
  background-image: url(../images/icon/soft_menu_3.svg);
}

.ico_sub3 {
  background-image: url(../images/icon/ico_main_sub3.svg);
}

.ico_sub4 {
  background-image: url(../images/icon/soft_menu_2.svg);
}

.ico_sub5 {
  background-image: url(../images/icon/soft_menu_8.svg);
}

.ico_sub6 {
  background-image: url(../images/icon/soft_menu_9.svg);
}

i.ico_main_up {
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/ico_main_up.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.mypage .ico_save {
  width: 20px;
  height: 20px;
}

.ico_headset {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/ico_headset.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_send_b {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/ico_send_pro.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_not {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_not.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_l_youtube {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_youtube.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_navercafe {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_navercafe.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_link {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_link.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_event {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_event.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_posting {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../images/icon/ico_posting.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_logout {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_logout.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_faq {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_faq.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_kakao_bubble {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url(../images/icon/ico_kakao_bubble.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ico_warning {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url(../images/icon/ico_warning.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: 10px;
}

.c_area {
  cursor: pointer;
}

/* Custom Select Box */
.custom-select-box {
  position: relative;
  user-select: none;
  width: auto;
  min-width: 150px;
  display: inline-block;
  margin-bottom: 6px;
  vertical-align: middle;
}

.custom-select-box select {
  display: none;
  /* Hide original select if present */
}

.select-selected {
  background-color: #fff;
  border-bottom: 1px solid #dcdde1;
  color: #3b3b3b;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.select-selected:after {
  content: "";
  /* Arrow icon */
  width: 18px;
  height: 18px;
  background-image: url("../images/icon/down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: auto;
  transition: transform 0.2s;
}

.select-selected.select-arrow-active:after {
  transform: rotate(180deg);
}

.select-selected:hover,
.select-selected.select-arrow-active {
  border-color: var(--primary);
  /* Match .sub_select hover */
}

.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border: 1px solid #dcdde1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  max-height: 300px;
  overflow-y: auto;
}

.select-hide {
  display: none;
}

.select-item {
  color: #3b3b3b;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: background-color 0.1s;
  border-bottom: 1px solid #ededed;
}

.select-item:hover,
.same-as-selected {
  background-color: var(--primary-light, #f2f6ff);
  color: var(--primary);
  font-weight: 500;
}

/* Badge styling adjustments inside select */
.select-selected .badge,
.select-item .badge {
  margin: 0 2px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: normal;
  display: inline-block;
  white-space: nowrap;
}

.select-selected span.text,
.select-item span.text {
  margin-right: 4px;
}

/* Custom Select Box - Color Images */
.custom-select-box .select-selected,
.custom-select-box .select-item {
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 8px;
  flex-wrap: wrap;
}

.custom-select-box .colors-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
}

.custom-select-box .color-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.custom-select-box .color-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f0f0f0;
}

.custom-select-box .color-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-select-box .color-label {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

.custom-select-box .text {
  flex-shrink: 0;
}

.color-display-area .colors-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
  margin-top: 4px;
}

.color-display-area .color-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.color-display-area .color-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f0f0f0;
}

.color-display-area .color-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.color-display-area .color-label {
  font-size: 14px;
  color: #888;
  white-space: nowrap;
}

/* spprice: img_group 패딩 제거 */
.car_info .car_group .nav ul .img_group {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

/* release-info: group_txt 안 색상은 작게 */
.group_txt .color-display-area .color-box {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.group_txt .color-display-area .color-label {
  font-size: 11px;
}

.custom-select-box .badge {
  white-space: nowrap;
}

/*width*/
.check_100 {
  width: 100% !important;
}

/*txt*/
.n_txt {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  color: #828282;
  justify-content: center;
  height: 300px;
  font-size: 16px;
}

.n_txt i {
  margin-bottom: 10px;
  opacity: 0.6;
}

/*border*/
.t_line {
  border-top: 1px dotted #dcdde1 !important;
  border-radius: 0 !important;
  padding-top: 6px !important;
  margin-top: 6px;
}

/* 1. Main Visual Aspect Ratio Fix */
.main_visual .swiper-slide::after {
  padding-bottom: 56.25% !important;
  content: "";
  display: block;
}

/* 2. Vertical Car List (Sub Contents 1) */
.vertical_car_list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 5px;
}

.v_car_item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

.v_car_img {
  width: 35%;
  flex-shrink: 0;
  margin-right: 15px;
}

.v_car_img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.v_car_info {
  flex-grow: 1;
  width: calc(100% - 35% - 15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.v-car-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 4px;
  width: 100%;
}

.v-label {
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 500;
  line-height: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.v-label.badge_r,
.v-label.badge_p,
.v-label.badge_y,
.v-label.badge_pro,
.v-label.badge_pi,
.v-label.badge_vi {
  color: #ffffff;
  color: #fff;
  padding: 4px;
}

.v-label-cond {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #495057;
}

.v_car_model {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.v_car_prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.v_car_prices span {
  font-size: 11px;
  color: #888;
  letter-spacing: -0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v_car_prices .price {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.estimate_radio_group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.estimate_radio_group .radio_row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimate_radio_group .row_title {
  font-size: 14px;
  font-weight: 600;
  color: #3b3b3b;
}

.estimate_radio_group .row_options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.estimate_radio_group .form_radio_btn {
  flex: 1;
  min-width: 80px;
}

.estimate_radio_group .form_radio_btn input[type="radio"] {
  display: none;
}

.estimate_radio_group .form_radio_btn label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 46px;
  border: 1px solid #dcdde1;
  border-radius: 8px;
  background-color: #fff;
  color: #828282;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 6px;
}

.estimate_radio_group .form_radio_btn label .radio-main-txt {
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.radio-sub-txt {
  width: 100%;
  text-align: center;
  font-size: 12px;
}

.estimate_radio_group .form_radio_btn input[type="radio"]:checked + label {
  border-color: var(--primary);
  background-color: var(--primary-light, #f0f5ff);
  color: var(--primary);
  font-weight: 500;
}

.estimate_radio_group .form_radio_btn input[type="radio"]:hover + label {
  border-color: var(--primary);
}

/* Estimate Price Box */
.estimate_price_box {
  background-color: var(--primary-light, #f0f5ff);
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  width: 100%;
  flex-direction: column;
  border-radius: 10px;
}

.estimate_price_box .price-gruop {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.estimate_price_box .price-num {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 0;
  width: 100%;
}

.estimate_price_box .sp-price-contents .price_title {
  font-size: 16px;
  font-weight: 500;
  color: #3b3b3b;
  margin-right: 6px;
}

.estimate_price_box .sp-price-contents {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.price-name {
  flex: 0 0 auto;
  min-width: 0;
  font-weight: 500;
  font-size: 16px;
}

.estimate_price_box .sp-price-contents .amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 4px;
}

.estimate_price_box .sp-price-contents .unit {
  font-size: 16px;
  font-weight: 500;
  color: #3b3b3b;
}

.price_amount-sub {
  width: 100%;
  gap: 4px;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

/* Hide scrollbar for Chrome/Safari/Opera */
.price_amount-sub::-webkit-scrollbar {
  display: none;
}

.es-badge {
  border-radius: 100px;
  padding: 3px 10px;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 4px;
  font-size: 13px;
}

@media (max-width: 500px) {
  .price_amount-sub {
    font-size: 11px;
  }

  .es-badge {
    padding: 2px 8px;
    font-size: 11px;
  }

  .estimate_price_box .sp-price-contents {
    flex-direction: row;
    align-items: center;
  }

  .estimate_price_box .price-gruop {
    width: auto;
    margin-left: auto;
    margin-top: 0;
  }

  .price-name {
    width: auto;
  }
}

/* Rolling Animation Styles */
.digit-amount-wrapper {
  display: flex;
  align-items: flex-end;
  margin-right: 4px;
}

.digit-viewport {
  height: 36px;
  overflow: hidden;
  position: relative;
  display: inline-block;
}

.digit-tape {
  display: flex;
  flex-direction: column;
}

.amount-value {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  height: 36px;
  line-height: 36px;
  display: block;
  text-align: center;
}

/* Specific adjustment for comma to ensure spacing */
.digit-viewport.comma {
  width: auto;
}

.digit-viewport.comma .amount-value {
  width: auto;
}

/* Option Price Tooltip Styles */
.label_tooltip_area {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.tooltip_wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tooltip_wrap {
  position: relative;
}
.tooltip_box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background-color: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: normal;
  width: 220px;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.tooltip_box::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 6px;
  transform: none;
  border: 5px solid transparent;
  border-top-color: #333;
}
.tooltip_wrap:hover .tooltip_box {
  display: block;
}

.btn_tooltip {
  border: none;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/ico_info.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.btn_tooltip img {
  width: 100%;
  height: 100%;
}

.option_detail_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option_detail_list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
  padding: 4px 0;
  border-bottom: 1px dashed #eee;
}

.option_detail_list li:last-child {
  border-bottom: none;
}

.option_detail_list li .name {
  flex: 1;
  margin-right: 10px;
  word-break: keep-all;
}

.option_detail_list li .price {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

/* 셀프견적 배너 (sub_visual 대체) */
.sub_visual_banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f9;
}

/*.sub_visual_banner:hover {
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}*/

.sub_visual_banner__txt {
  position: relative;
  z-index: 2;
  padding-right: 15px;
}

.sub_visual_banner__eyebrow {
  font-size: 13px;
  color: #767676;
  margin-bottom: 4px;
  font-weight: 500;
}

.sub_visual_banner__title {
  font-size: 18px;
  color: #1f1f1f;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.sub_visual_banner__cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
}

.sub_visual_banner__arrow {
  margin-left: 4px;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.sub_visual_banner:hover .sub_visual_banner__arrow {
  transform: translateX(4px);
}

.sub_visual_banner__visual {
  position: absolute;
  right: 0px;
  bottom: -10px;
  width: 150px;
  height: 150px;
  z-index: 1;
}

.est_svg {
  width: 100%;
  height: 100%;
}

/* SVG Animations */
@keyframes docFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes drawCheck {
  0% {
    stroke-dasharray: 0, 50;
  }

  30%,
  100% {
    stroke-dasharray: 40, 50;
  }
}

@keyframes popCoin1 {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-10px) scale(1.1);
    opacity: 1;
  }
}

@keyframes popCoin2 {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-8px) scale(1.05);
    opacity: 1;
  }
}

@keyframes drawLines {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  15% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes blinkSpark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(15deg);
  }
}

.sub_visual_banner--anim .e_doc_group {
  animation: docFloat 3s ease-in-out infinite;
}

.sub_visual_banner--anim .e_check {
  stroke-dasharray: 40, 50;
  animation: drawCheck 3s ease-out infinite;
}

.sub_visual_banner--anim .e_coin.c1 {
  transform-origin: 150px 50px;
  animation: popCoin1 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.sub_visual_banner--anim .e_coin.c2 {
  transform-origin: 60px 110px;
  animation: popCoin2 4s ease-in-out infinite;
  animation-delay: 1s;
}

.sub_visual_banner--anim .e_line {
  transform-origin: left;
  animation: drawLines 3s ease-out infinite;
}

.sub_visual_banner--anim .e_line.l1 {
  animation-delay: 0.2s;
}

.sub_visual_banner--anim .e_line.l2 {
  animation-delay: 0.5s;
}

.sub_visual_banner--anim .e_line.l3 {
  animation-delay: 0.8s;
}

.sub_visual_banner--anim .e_spark {
  transform-origin: 140px 120px;
  animation: blinkSpark 2.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Delivery Guide Message box */
.delivery-guide-msg {
  display: flex;
  align-items: flex-start;
  background-color: #f8faff;
  border: 1px dashed #d3e2ff;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 15px;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.delivery-guide-msg i {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.delivery-guide-msg p {
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.delivery-guide-msg p b {
  font-weight: 500;
  color: #222;
}

.delivery-guide-msg .v-label {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 2px 0;
  color: #ffffff;
}

/* 
    ========================================================================== 
    404 Error Page    ========================================================================== 
*/

.error-404-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  box-sizing: border-box;
}

/* 상단 영역 (아이콘, 텍스트) */
.error-404-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px 100px;
}

/* Visual Elements & SVG Car Animation */
.error-404-visual {
  margin-bottom: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-404-img {
  width: 250px;
  height: auto;
  max-width: 100%;
  margin: 0 auto 20px auto;
  display: block;
}

.error-404-code {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin: 0;
  letter-spacing: -1px;
}

/* Text */
.error-404-title {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 12px 0;
  word-break: keep-all;
}

.error-404-desc {
  font-size: 15px;
  color: #777777;
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* 하단 고정 버튼 영역 */
.error-404-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px 32px 20px;
  background: #ffffff;
  box-sizing: border-box;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.03);
  z-index: 100;
}

.error-404-actions {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

/* 버튼 공통 */
.error-404-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}

/* 홈으로 가기 (강조) */
.error-404-btn--primary {
  background-color: var(--primary);
  color: #ffffff;
}

.error-404-btn--primary:active {
  background-color: var(--primary-dark, #2659b5);
  transform: scale(0.98);
}

/* 이전 페이지 */
.error-404-btn--outline {
  background-color: #f5f6f8;
  color: #444444;
}

.error-404-btn--outline:active {
  background-color: #e9eaee;
  transform: scale(0.98);
}

/* ── 전체 씬 ── */
.error-404-content .scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-bottom: 50px;
}

/* ════════════════════════════
       말풍선 컨테이너
    ════════════════════════════ */
.error-404-content .bubble {
  position: relative;
  background: var(--primary);
  border-radius: clamp(20px, 4vw, 32px);
  padding: clamp(16px, 3vw, 28px) clamp(20px, 5vw, 40px)
    clamp(14px, 2.5vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 8px);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.22);
  width: fit-content;
  animation:
    bubblePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    bubbleFloat 3s ease-in-out 0.55s infinite;
}

/* 팝 인 */
@keyframes bubblePop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 둥실 떠다니기 */
@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* 말풍선 꼬리 */
.error-404-content .bubble::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: clamp(28px, 6vw, 44px);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 6px solid transparent;
  border-top: 24px solid var(--primary);
  filter: drop-shadow(0 6px 8px rgba(var(--primary-rgb), 0.15));
}

/* 내부 shimmer */
.error-404-content .bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 55%
  );
  pointer-events: none;
}

/* ════════════════════════════
       숫자 글자
    ════════════════════════════ */
.error-404-content .num {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 16vw, 96px);
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  position: relative;
  animation: numWiggle 3s ease-in-out 0.55s infinite;
}

.error-404-content .num:nth-child(1) {
  animation-delay: 0.55s;
}

.error-404-content .num:nth-child(2) {
  animation-delay: 0.65s;
}

.error-404-content .num:nth-child(3) {
  animation-delay: 0.75s;
}

@keyframes numWiggle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  20% {
    transform: translateY(-5px) rotate(-1.5deg);
  }

  60% {
    transform: translateY(-3px) rotate(1.5deg);
  }
}

/* 0에 작은 눈 */
.error-404-content .zero {
  position: relative;
  display: inline-block;
}

.error-404-content .eyes {
  position: absolute;
  top: clamp(16px, 4vw, 30px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(7px, 2vw, 13px);
}

.error-404-content .eye {
  width: clamp(4px, 1.2vw, 7px);
  height: clamp(4px, 1.2vw, 7px);
  background: var(--primary);
  border-radius: 50%;
  animation: eyeBlink 3.5s ease-in-out infinite;
}

@keyframes eyeBlink {
  0%,
  90%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.1);
  }
}

/* PC 환경에서 카드 모달 형태로 깨지지 않게 렌더링 */
@media (min-width: 600px) {
  .error-404-container {
    align-items: center;
    justify-content: center;
    background-color: #f8f9fc;
  }

  .error-404-content {
    flex: none;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
  }

  .error-404-bottom {
    position: relative;
    /* fixed 해제 */
    max-width: 400px;
    width: 100%;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    padding: 0 40px 60px 40px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
  }
}

/*--------------------------------------------------------------------------------------
스텝 인디케이터 (calculator 플로우 공통)
----------------------------------------------------------------------------------------*/
.step_indicator {
  display: flex;
  align-items: center;
  padding: 16px 20px 8px;
}

.step_indicator .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.step_indicator .step_dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #e2e5ea;
  color: #adb5bd;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.step_indicator .step span {
  display: none;
}

.step_indicator .step_line {
  flex: 1;
  height: 2px;
  background-color: #e2e5ea;
  margin-bottom: 0;
}

.step_indicator .step.done .step_dot {
  background-color: var(--primary);
  color: #fff;
}

.step_indicator .step.done span {
  color: var(--primary);
}

.step_indicator .step_line.done {
  background-color: var(--primary);
}

.step_indicator .step.current .step_dot {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.step_indicator .step.current span {
  color: var(--primary);
  font-weight: 700;
}

/*--------------------------------------------------------------------------------------
브랜드 선택 배경 (calculator.html)
----------------------------------------------------------------------------------------*/
main:has(.brand_list) {
  background-color: #f3f4f7;
  padding-bottom: 140px;
}

main:has(.brand_list) .nav .row .content {
  background-color: #fff;
  border-radius: 16px;
  margin: 16px 20px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/*--------------------------------------------------------------------------------------
브랜드 선택 라디오 버튼 (calculator.html)
----------------------------------------------------------------------------------------*/
.brand_list .list_group ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.brand_list .list_group ul li {
  width: auto;
  margin-bottom: 0;
}

.brand_list .form_radio_btn label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 12px 8px;
  gap: 6px;
  border: 1px solid #e1e6ec;
  background-color: #fdfdfd;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}

.brand_list .form_radio_btn label img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.brand_list .form_radio_btn label span {
  font-size: 14px;
  font-weight: 500;
  color: #3b3b3b;
}

.brand_list .form_radio_btn label:hover {
  border-color: var(--primary);
  background-color: var(--primary-light, #f0f5ff);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.08);
}

.brand_list .form_radio_btn input[type="radio"]:checked + label {
  border-color: var(--primary);
  background-color: var(--primary-light, #f0f5ff);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
  transform: translateY(-1px);
}

.brand_list .form_radio_btn input[type="radio"]:checked + label span {
  color: var(--primary);
  font-weight: 700;
}

/*--------------------------------------------------------------------------------------
라인업/트림 선택 라디오 버튼 (lineup, trim 페이지 공통)
----------------------------------------------------------------------------------------*/
main:has(.p_20:not(.write_form)) {
  background-color: #f3f4f7;
}

.p_20:not(.write_form) {
  padding: 16px 20px 24px;
}

.p_20:not(.write_form) .radio_form {
  background-color: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.p_20:not(.write_form) .radio_form > ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p_20:not(.write_form) .radio_form > ul li {
  border: 1px solid #e1e6ec;
  border-radius: 12px;
  background-color: #fdfdfd;
  width: auto;
  margin-bottom: 0;
  overflow: hidden;
}

.p_20:not(.write_form) .radio_form .form_radio_btn input[type="radio"] {
  display: none;
}

.p_20:not(.write_form) .radio_form .form_radio_btn label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #868e96;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
  transform: none;
  flex-wrap: wrap;
}

.p_20:not(.write_form) .radio_form .form_radio_btn label:hover {
  background-color: var(--primary-light, #f0f5ff);
  color: var(--primary);
  border: none;
  box-shadow: none;
  transform: none;
}

.p_20:not(.write_form)
  .radio_form
  .form_radio_btn
  input[type="radio"]:checked
  + label {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: none;
  border: none;
  transform: none;
}

.p_20:not(.write_form) .radio_form > ul li:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background-color: var(--primary);
}

/* 라인업 라디오 — 텍스트 + 차량 이미지 */
.radio_car_list .form_radio_btn label {
  justify-content: space-between;
  height: auto;
  min-height: 0;
}

.p_lineup:not(.write_form) .radio_form .form_radio_btn label {
  padding: 4px 16px;
}

.radio_car_list .form_radio_btn label span {
  line-height: 1.4;
  word-break: keep-all;
}

.radio_car_list .form_radio_btn label > span:first-child {
  max-width: 100%;
  flex-shrink: 1;
}

.radio_car_list .form_radio_btn label img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
}

/* 국산/수입 카테고리 라벨 */
.brand_category_label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #868e96;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.brand_category_label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}
