.l-usedCarSearch .title {
  padding: 0;
}

.l-usedCarSearch .title__main {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
}

.l-usedCarSearch .title__sub {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 0;
}

.l-usedCarSearch .title__secondary {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: var(--content-main);
}

.l-usedCarSearch .usedcar-price__list {
  padding: 16px;
  border-radius: 12px;
  background-color: var(--bg-light-gray)
}

.l-usedCarSearch .select-group__item {
  gap: 4px;
}

.l-usedCarSearch .select-group__item .select-group__item--title {
  font-size: 13px;
}
    
.l-usedCarSearch .custom-select__native {
    display: none;
}

.l-usedCarSearch .c-select .nice-select {
    width: 100%;
    background-color: var(--gray-100);
    border: none;
    box-shadow: none;
}

.l-usedCarSearch .select-box {
   display: flex;
   flex-direction: column;
   gap: 24px;
   border-radius: 16px;
   margin-top: 24px;
   margin-bottom: 36px;
}
.l-usedCarSearch .car-spec__item {
   display: flex;
   flex-direction: column;
   gap: 4px;
   background-color: var(--gray-100);
   border-radius: 10px;
   padding: 20px;
}
.l-usedCarSearch .car-spec__item .c-tip {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 5px;
}

/* .l-usedCarSearch .car-spec__item .c-tip__title {
   font-weight: 500;
   font-size: 13px;  
   line-height: 150%;
   color: var(--content-sub);
} */

.l-usedCarSearch .car-profile {
  position: relative;
  padding-top: 12px;
  align-items: center;
  display: flex;
  margin-bottom: 12px;
}

.l-usedCarSearch .car-profile__img {
  position: relative;
  width: 40%;
  height: 7.5rem;
}

.l-usedCarSearch .car-profile__img img:last-child {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 94%;
  height: 94%;
  max-width: 94%;
  max-height: 94%;
  -o-object-fit: contain;
  object-fit: contain;
}

/* .l-usedCarSearch .car-profile__img img:first-child {
 position: absolute;
 width: 36px;
 top: 0;
 right: 0;
 z-index: 1;
} */


.l-usedCarSearch .car-profile__container {
  flex: auto;
}

.l-usedCarSearch .car-profile__container>* {
  position: relative;
}

.l-usedCarSearch .car-profile__brand {
  font-size: 14px;
  font-weight: 400;
  color: var(--content-caption);
}

.l-usedCarSearch .car-profile__title {
  padding: 0.375rem 0;
  font-size: 24px;
  flex-wrap: wrap;
}

.l-usedCarSearch .car-profile__title__model {
  margin-right: 0.1875rem;
  font-weight: 600;
  font-size: inherit;
  color: var(--content-main);
}

.l-usedCarSearch .car-profile__title__trim {
  font-weight: 600;
  font-size: inherit;
  color: var(--content-main);
  border: 0;
  background: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-align: left;
}
.l-usedCarSearch .car-spec__item span {
 font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--content-sub);
    align-items: center;
    gap: 4px;
    text-align: left;
}

.l-usedCarSearch .car-spec__item strong {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
}

.l-usedCarSearch .car-profile__sub {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--content-sub);
  flex-direction: column;
}

.l-usedCarSearch .car-profile__sub span {
  color: var(--content-caption);
  font-weight: 400;
}



.l-usedCarSearch .tab__sub-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--content-main);
  padding: 8px 0px 8px 0px;
}


.l-usedCarSearch .predicted-price {
  margin-bottom: 16px;
  margin-top: 24px;
}

.l-usedCarSearch .year-later-price {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 4px 0px 4px 0px;
 gap: 6px;
}

.l-usedCarSearch .year-price-wrapper {
 display: flex;
 gap:21px;
 padding: 4px 0;
 color: var(--content-main);
 font-size: 14px;
}

.l-usedCarSearch span.year {
 color: var(--content-sub);
 width: 40px;
}

.l-usedCarSearch span.price {
 text-align: left;
 width: 80px;
 color: var(--content-main);
 font-weight: 500;
 font-size: 15px;
}

.l-usedCarSearch span.later-price {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--content-sub)
}

.l-usedCarSearch .registration-period-price-wrapper > div {
  color: var(--content-sub);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.l-usedCarSearch .model-detail-price-wrapper {
    padding: 8px 16px 8px 16px;
}





.l-usedCarSearch .usedcar-price__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}


.l-usedCarSearch .usedcar-price__label {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: var(--content-sub);
}

.l-usedCarSearch .usedcar-price__btn {
  font-weight: 600;
  line-height: 18px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--content-main);
  text-align: end;
}

.l-usedCarSearch .usedcar-price__btn {
  color: var(--content-caption);
}

.l-usedCarSearch .usedcar-price__btn.selected {
  color: var(--content-main);
}


.l-usedCarSearch .usedcar-price__actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}


.l-usedCarSearch .vehicle-value-wrapper {
 display: flex;
 width: 100%;
 justify-content: space-between;
 padding: 24px 0px 0px 0px;
 gap : 8px
}

.l-usedCarSearch .residual-value {
 display: flex;
 flex-direction: column;
 font-size: 16px;
 font-weight: 600;
 line-height: 24px;
 border-radius: 10px;
 width: 100%;
}

.l-usedCarSearch .residual-value > button {
 display: flex;
 align-items: center;
 gap:4px;
}

.l-usedCarSearch .residual-value > button >span {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--content-sub);
}

.l-usedCarSearch .depreciation-value {
 display: flex;
 flex-direction: column;
 font-size: 16px;
 font-weight: 600;
 line-height: 24px;
 text-align: right;
 color: var(--content-main)
}

.l-usedCarSearch .depreciation-value > button {
  display: flex;
  align-items: center;
  gap:4px;
}

.l-usedCarSearch .depreciation-value > button > span {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--content-sub);
}

.l-usedCarSearch .registration-period-price-wrapper {
  padding: 10px 0px 10px 0px; 
}


/* ================================
   Bottom Sheet (선택 바텀시트)
   ================================ */
#bottom-sheet-c-tip,
#bottom-sheet-choose-filter {
 max-width: 620px;
}

.bottom-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:16px;
  flex-direction: row;
}

.bottom-sheet__header h3 {
  font-size: 20px;
  font-weight: 700;
}

.bottom-sheet.c-tip .bottom-sheet__header {
     padding: 20px 16px 8px;
}

.bottom-sheet.c-tip .bottom-sheet__header h3 {
width: 100%;
    font-size: 20px;
    color: var(--content-main);
}

.l-usedCarSearch .bs-btn {
  background: none;
  border: 0;
  cursor: pointer;
}


.bottom-sheet.c-tip .notice__list {
  margin-top: 10px;
}

.bottom-sheet.c-tip .notice__list li{
  position: relative;
  display: block;
  padding-left: 1.188rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--content-sub);
}

.l-usedCarSearch  .notice__list li {
  position: relative;
  display: block;
  padding-left: 1.188rem;
  color: var(--content-caption);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.bottom-sheet.c-tip .notice__list li:not(:first-child) {
  margin-top: 0.3125rem;
}

.bottom-sheet.c-tip .notice__list li:before {
  content: '•';
  display: inline-block;
  position: absolute;
  left: 0.4375rem;
  width: 0.1875rem;
  height: 0.1875rem;
  -webkit-border-radius: 6.25rem;
  border-radius: 6.25rem;
}

.l-usedCarSearch .notice__list li strong {
  font-weight: 600;
  font-size: inherit;
  color: inherit;
}




/* ===== 바텀시트 내부 슬라이더 ===== */

.bs-steps {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 트랙은 가로로만 흐르게 */
.bs-steps__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.25s ease; 
  min-height: 500px;
  
}

.bs-btn--close img {
  transform: rotate(45deg);
}

.bs-step {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  overflow: auto;
  max-height: calc(85vh - 56px);
}


.bs-step .list-item.selected,
.bs-step .brand-card.selected {
  border: 2px solid var(--primary-blue);
}

/* ===== 브랜드 카드 그리드 ===== */

.brand-section__title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--content-sub);
}

 .grid-brand {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

 .brand-card {
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: var(--bg-light-gray)
}

 .brand-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-card .name {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-700);
  font-weight: 600;
  width: 80px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
  text-align: center;
}



/* ===== 리스트 셀렉트 (대표모델, 모델, 세부모델, 연식) ===== */
.list-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

 .list-item {
  border: 1px solid var(--border-outline);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

 .list-item__thumb {
  width: 106px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;

}

 .list-item__label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: var(--content-main)
}


.l-usedCarSearch .cont-5 {
  width: 100%;
  max-width: 1130px;
  background-color: var(--blue-50);
  border-radius: 16px;
}

.l-usedCarSearch .cont-5.first {
   margin-top: 64px;
   margin-bottom: 30px;
}

.l-usedCarSearch .cont-5.second {
    background-color: var(--gray-100);
}


.l-usedCarSearch .cont-5 a {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 20px;
}

.l-usedCarSearch .cont-5 a>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.l-usedCarSearch .cont-5 a>div>p {
    font-size: 24px;
    color: var(--content-main);
    font-weight: 700;
    line-height: 36px;
}  

.l-usedCarSearch .cont-5 a> div > button {
   margin-top: 24px;
  }

.l-usedCarSearch .purchase-summary {
  margin-top: 30px;
}

.l-usedCarSearch .purchase-summary > p {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  vertical-align: middle;
  color: var(--content-main);
}

.l-usedCarSearch .purchase-summary > span {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: var(--content-sub);
}

.l-usedCarSearch .divider {
    height: 12px;
    background-color: var(--gray-50);
    margin: 40px 0px;
}


@media only screen and (max-width: 768px) {
    .l-usedCarSearch .contents {
        padding-top: 20px;
    }
    .l-usedCarSearch .car-profile {
        flex-direction: column-reverse;
    }
    .l-usedCarSearch .car-profile__img {
        width: 100%;
    }
    .l-usedCarSearch .car-profile__container {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .l-usedCarSearch .cont-5.first {
       margin-top: 50px;
       margin-bottom: 16px;
     }
   
     
    .l-usedCarSearch .cont-5 a>div>p {
       font-size: 18px;
     }
     
     .l-usedCarSearch .cont-5 a> div > button {
      margin-top: 10px;
     }
     
      .grid-brand {
        grid-template-columns: repeat(3, 1fr);
      }
     
/*      .l-usedCarSearch .cont-5.second a::before,
     .l-usedCarSearch .cont-5.first a::before {
       height: 120px;
     } */
}

