@charset "utf-8";

/* 모바일 목록 */
@media all and (max-width: 767px) {
  .responsive #bo_list .float-left.float-md-none {
    margin-right: 0.75rem;
  }

  .responsive #bo_list .na-title {
    margin-bottom: 0.14rem;
  }
}

/* gallery */
#bo_gallery .chk-box {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 2;
}

#bo_gallery .wr-now {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* 게시판 읽기 */
#bo_v_title {
  font-size: 23px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: -1px;
}

#bo_v_con {
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
}

@media all and (max-width: 575px) {
  .responsive #bo_v_title {
    font-size: 20px;
    line-height: 1.5;
  }

  .responsive #bo_v_con {
    min-height: 140px;
  }
}

#bo_v_con img {
  max-width: 100%;
  height: auto;
}

#bo_v_img {
  width: 100%;
  text-align: center;
  overflow: hidden;
  zoom: 1;
}

#bo_v_img:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

#bo_v_img a.view_image {
  display: block;
}

#bo_v_img img {
  margin-bottom: 1rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon {
  margin: -5px auto;
}

#bo_v_sns_icon img {
  width: 40px;
  border-radius: 50%;
  margin: 5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
  top: 0;
  left: -16px;
}

.by-writer {
  background: #fbefef !important;
  border-top: 1px solid #f6cece !important;
}

.cmt-content {
  word-break: break-all;
  overflow: hidden;
}

.cmt-content img {
  max-width: 100%;
  height: auto;
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul {
  list-style: none;
  margin: 0;
}

.cmt-btn ul>li {
  float: left;
  font-size: 12px;
  padding: 0 10px;
}

.cmt-btn ul>li::before {
  float: left;
  color: #ccc;
  content: "|";
  margin-left: -12px;
}

.cmt-btn ul>li:last-child {
  padding-right: 0;
}

.cmt-btn ul>li:first-child::before,
.cmt-btn ul>li.no-bar::before {
  content: "";
  margin-left: 0;
}

.cmt-btn ul>li>a {
  float: left;
  color: #888;
  white-space: nowrap;
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content {
  resize: none;
}

@media all and (max-width: 575px) {
  .responsive .cmt-box {
    border-right: 0 !important;
  }

  .responsive #bo_vc_w .cmt-box {
    border-left: 0 !important;
    border-radius: 0 !important;
  }

  .responsive #bo_vc_login {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
  background: #ccc;
  border-radius: 3px;
}

#bo_vc_opt ol:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

#bo_vc_opt ol li {
  float: left;
  margin: 0;
}

#bo_vc_send_sns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
}

#bo_vc_send_sns ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

#bo_vc_send_sns ul li {
  float: left;
  margin: 0 1rem 0 0;
}

#bo_vc_send_sns input {
  margin: 0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
  padding-left: 0;
  padding-right: 0;
  border-left: 0;
  border-right: 0;
}

#bo_w #wr_content {
  margin-bottom: 1rem !important;
}

@media all and (max-width: 575px) {
  #bo_w .list-group-item {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .responsive #bo_w #wr_content {
    max-height: 160px !important;
  }
}

/* 가격 표시 스타일 */
.lst-special .car-price .fxsb .num.price-normal {
  padding-top: 0;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #626262 !important;
  text-align: right;
}

.lst-special .car-price .price-main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-top: 0;
}

.lst-special .car-price .fxsb .num.price-original {
  padding-top: 0;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #626262 !important;
  text-decoration: line-through;
  text-align: right;
  line-height: 16.70703125px;
  letter-spacing: -0.7px;
}

.lst-special .car-price .fxsb .num.price-main {
  padding-top: 0;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #eb0000 !important;
  text-align: right;
  line-height: 18px;
}

/* fxsb 내부 정렬 */
.lst-special .car-price .fxsb {
  align-items: flex-start;
}

.lst-special .car-price .fxsb .price-tit {
  padding-top: 0;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #666666 !important;
  text-align: left;
}

@media screen and (min-width: 768px) {

  .lst-special .car-price .fxsb {
    align-items: center;
  }

  .lst-special .car-price .price-main-wrapper {
    flex-direction: row;
    gap: 4px;
  }

  .lst-special .car-price .fxsb .price-tit {
    padding-top: 0;
    font-size: 14px !important;
  }

  .lst-special .car-price .fxsb .num.price-normal {
    font-size: 18px !important;
  }

  .lst-special .car-price .fxsb .num.price-original {
    padding-top: 0;
    font-size: 14px !important;
    line-height: 32px !important;
  }

  .lst-special .car-price .fxsb .num.price-main {

    font-size: 18px !important;
    line-height: 32px !important;
  }
}

/* 빠른견적 버튼 하단 고정 및 카드 높이 동일화 */
.lst-special>li {
  display: flex;
  flex-direction: column;
}

.lst-special .na-title {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lst-special .na-item.special-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lst-special .special-item a {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lst-special .special-item .price-btn {
  margin-top: auto;
}

/* ========== 추천차량 목록  ========== */
.recommend-board {
  padding: 120px 0;
}

@media (max-width: 991px) {
  .recommend-board {
    padding: 60px 0;
  }
}

/* 검색: 좌측 검색대상 pill + 우측 회색 검색바, 항상 표시 */
.recommend-board .recommend-search-form {
  max-width: 100%;
}

.recommend-board .recommend-search-sfl .recommend-search-sfl-select.custom-select {
  min-width: 7.25rem;
  height: 3.5rem;
  padding: 0 1rem;
  border: none;
  border-radius: 999px;
  background-color: #f8f8f8;
  color: rgba(42, 49, 44, 0.8);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important;
  padding-right: 2rem;
}

.recommend-board .recommend-search-sfl .recommend-search-sfl-select.custom-select::-ms-expand {
  display: none;
}

.recommend-board .recommend-search-sfl {
  position: relative;
}

.recommend-board .recommend-search-sfl-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2a312c;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.recommend-search-sfl-select {
  outline: none !important;
  box-shadow: none !important;
}

.recommend-board .recommend-search-field .recommend-search-inner {
  min-height: 3.5rem;
  padding: 0 0.75rem 0 1rem;
  border-radius: 999px;
  background-color: #f8f8f8;
}

.recommend-board .recommend-search-input {
  height: 2rem;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(42, 49, 44, 0.8);
  font-size: 1rem;
  font-weight: 500;
}

.recommend-board .recommend-search-input::placeholder {
  color: rgba(42, 49, 44, 0.8);
  opacity: 1;
}

.recommend-board .recommend-search-submit {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: rgba(42, 49, 44, 0.75);
}

.recommend-board .recommend-search-submit:hover,
.recommend-board .recommend-search-submit:focus {
  color: #028e71;
  box-shadow: none;
}

@media (min-width: 992px) {
  .recommend-board .recommend-search-controls {
    width: 100%;
    max-width: 39.375rem;
    margin-left: auto;
  }

  .recommend-board .recommend-search-controls .recommend-search-field {
    min-width: 0;
  }

  .recommend-board .recommend-search-form>.d-flex {
    width: 100%;
  }

}

@media (max-width: 767.98px) {
  .recommend-board .recommend-search-sfl .recommend-search-sfl-select.custom-select {
    width: 100%;
    font-size: 0.875rem;
    height: 3rem;
  }

  .recommend-board .recommend-search-field .recommend-search-inner {
    min-height: 3rem;
  }

  .recommend-board .recommend-search-input {
    font-size: 0.875rem;
  }
}

/* 카드: 다이렉트 (6:2335) */
.recommend-gallery .lst-direct-card {
  row-gap: 40px;
}

.recommend-gallery .lst-direct-card>li {
  margin-bottom: 0;
}

.recommend-gallery .direct-card {
  position: relative;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.recommend-gallery .direct-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

#bo_gallery.recommend-gallery .direct-card__thumb .chk-box {
  bottom: 0.5rem;
  right: 0.5rem;
}

.recommend-gallery .direct-card__thumb {
  position: relative;
  border-radius: 12px;
  background: #f5f5f5;
  overflow: hidden;
  aspect-ratio: 330 / 186;
}

.recommend-gallery .direct-card__thumb-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.recommend-gallery .direct-card__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recommend-gallery .direct-card__body {
  padding: 0.75rem 0.5rem 0;
}

.recommend-gallery .direct-card__link {
  color: inherit;
  display: block;
}

.recommend-gallery .direct-card__head {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.recommend-gallery .direct-card__title {
  font-family: "Hana 2.0", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  max-width: 48%;
}

.recommend-gallery .direct-card__meta {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(42, 49, 44, 0.6);
  white-space: nowrap;
}

.recommend-gallery .direct-card__meta-label {
  margin-right: 0.125rem;
}

.recommend-gallery .direct-card__meta-val {
  margin-right: 0.25rem;
}

.recommend-gallery .direct-card__meta-sep {
  margin: 0 0.25rem;
  opacity: 0.8;
}

.recommend-gallery .direct-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recommend-gallery .direct-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.recommend-gallery .direct-card__lbl {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(42, 49, 44, 0.8);
  flex-shrink: 0;
}

.recommend-gallery .direct-card__val {
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(42, 49, 44, 0.8);
  text-align: right;
}

.recommend-gallery .direct-card__row--price {
  flex-direction: column;
}

@media all and (min-width: 768px) {
  .recommend-gallery .direct-card__row--price {
    flex-direction: row;
  }
}

.recommend-gallery .direct-card__row--price .direct-card__lbl {
  align-self: flex-start;
  padding-top: 0.25rem;
}

.recommend-gallery .direct-card__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

.recommend-gallery .direct-card__price-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #626262;
  text-decoration: line-through;
}

.recommend-gallery .direct-card__price-main {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2a312c;
}


.recommend-gallery .direct-card__cta {
  margin-top: 0.75rem !important;
  height: 3.3125rem;
  line-height: 1.6;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 12px;
  background: #f2f9f8 !important;
  color: #028e71 !important;
  font-size: 1.375rem;
  font-weight: 600;
  text-align: center;
}

.recommend-gallery .direct-card__cta:hover,
.recommend-gallery .direct-card__cta:focus {
  background: #e6f3f0 !important;
  color: #028e71 !important;
  box-shadow: none !important;
}




@media (max-width: 767.98px) {
  .recommend-gallery .direct-card__title {
    max-width: 100%;
    font-size: 1.125rem;
  }

  .recommend-gallery .direct-card__meta {
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .recommend-gallery .direct-card__val {
    font-size: 1rem;
  }

  .recommend-gallery .direct-card__price-main {
    font-size: 1rem;
  }

  .recommend-gallery .direct-card__cta {
    font-size: 1.125rem;
    height: 3rem;
  }
}

/* 페이징 (6:2264): 네모 버튼 */
.recommend-board .recommend-paging {
  gap: 0.5rem;
}

.recommend-board .recommend-paging .page-item .page-link {
  min-width: 1.875rem;
  height: 1.875rem;
  margin-left: 0;
  padding: 0 0.25rem;
  border: none;
  border-radius: 5px;
  line-height: 1.875rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(42, 49, 44, 0.8);
  background-color: #f1f1f1;
}

.recommend-board .recommend-paging .page-item .page-link:focus {
  outline: none !important;
  box-shadow: none !important;
}


.recommend-board .recommend-paging .page-item.active .page-link {
  color: #fff !important;
  background-color: #028e71 !important;
}

.recommend-board .recommend-paging .page-item.disabled .page-link {
  opacity: 0.45;
  background-color: #f1f1f1;
  color: rgba(42, 49, 44, 0.5);
}

.recommend-board .recommend-paging .page-item:not(.disabled) .page-link:hover {
  background-color: #e4e4e4;
  color: #2a312c;
}

.recommend-board .recommend-paging .page-item.active .page-link:hover {
  background-color: #028e71 !important;
  color: #fff !important;
}

.recommend-paging-wrap {
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .recommend-paging-wrap {
    margin-top: 100px
  }
}

@media (max-width: 767.98px) {
  .recommend-board .recommend-paging .page-item .page-link {
    min-width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    font-size: 1rem;
  }
}