@charset "utf-8";

/* ========================================
   차량 실물 점검 가이드 (inspection)
======================================== */
.inspection-title {
    font-size: var(--fs-30);
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    margin-bottom: var(--space-16);
}

.inspection-desc b {
    font-weight: 700;
    color: var(--color-blue);
}

/* ----------------------------------------
   차량 다이어그램 + 핫스팟 점
---------------------------------------- */
.inspection-car {
    position: relative;
    width: 100%;
    max-width: 32.3rem;
    aspect-ratio: 323 / 580;
    margin: var(--space-46) auto var(--space-30);
}

.inspection-car__img {
    position: absolute;
    left: 5.26%;
    top: 0;
    width: 89.47%;
    height: auto;
    display: block;
}

.inspection-car__shadow {
    position: absolute;
    left: 0;
    top: 92.59%;
    width: 100%;
    height: auto;
    display: block;
}

.inspection-car__dot {
    position: absolute;
    width: 4.4rem;
    height: 4.4rem;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.inspection-car__dot-visual {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--color-blue);
    border: 0.4rem solid #ffffff;
    box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.15);
    display: block;
}

/* ----------------------------------------
   부위 칩 (Swiper 가로 스크롤)
---------------------------------------- */
.inspection-chips {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    margin-bottom: var(--space-30);
}

.inspection-chips::-webkit-scrollbar {
    display: none;
}

.inspection-chips .swiper-wrapper {
    display: flex;
    list-style: none;
}

.inspection-chips .swiper-wrapper {
    align-items: center;
}

.inspection-chips .swiper-slide {
    width: auto;
    margin-right: var(--space-20);
}

.inspection-chips .swiper-slide:last-child {
    margin-right: 0;
}

.inspection-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-14) var(--space-27);
    border: 0;
    border-radius: 999px;
    background: #f2f4f6;
    font-family: 'Pretendard';
    font-size: var(--fs-23);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-mid-gray);
    white-space: nowrap;
    cursor: pointer;
}

/* ----------------------------------------
   CTA (예산 페이지로 이동, 회색 톤)
---------------------------------------- */
.inspection-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
}

.inspection-cta__icon {
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
}

.inspection-cta__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----------------------------------------
   부위별 확인 꿀팁 드로어(바텀 시트)
---------------------------------------- */
.inspection-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-end;
}

.inspection-drawer[hidden] {
    display: none;
}

.inspection-drawer__dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.inspection-drawer__sheet {
    position: relative;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 4rem 4rem 0 0;
    padding: var(--space-46) var(--space-33) calc(var(--space-33) + var(--safe-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.inspection-drawer.is-open .inspection-drawer__dim {
    opacity: 1;
}

.inspection-drawer.is-open .inspection-drawer__sheet {
    transform: translateY(0);
}

.inspection-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
}

.inspection-drawer__badge {
    padding: var(--space-14) var(--space-27);
    border-radius: 999px;
    background: var(--color-sky);
    font-size: var(--fs-18);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-blue);
}

.inspection-drawer__close {
    flex: 0 0 auto;
    width: var(--space-64);
    height: var(--space-64);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f2f4f6;
    padding: 0;
    cursor: pointer;
}

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

.inspection-drawer__title {
    font-size: var(--fs-30);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.inspection-drawer__desc {
    font-size: var(--fs-25);
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-mid-gray);
}
