/* 컨테이너 */
.carousel-container {
    overflow: hidden;
    position: relative;
    touch-action: pan-y pinch-zoom;  /* 수직 스크롤 허용 */
}

/* 드래그 중 페이지 슬라이드 차단 */
.carousel-container[data-dragging="true"] {
    touch-action: none;
}

/* 래퍼 */
.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-wrapper.dragging {
    transition: none;
    cursor: grabbing;
}

/* 리스트 */
.carousel-list {
    display: flex;
    list-style: none;
    gap: 20px;  /* itemGap과 같은 값으로 */
}

/* 아이템 */
.carousel-list > li {
    flex-shrink: 0;
    user-select: none;
    /* max-width: 320px; */
    overflow: hidden;
}

/* 견적 조회 버튼 */
.fast-request-button {
    border: var(--color-hana-green) solid 1px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}
.fast-request-button .upper-box {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    background-color: var(--color-hana-green);
    color: white;
    font-size: 16px;
}
.fast-request-button .lower-box {
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    background-color: white;
    font-size: 12px;
}


/* 헤더 */
.home-header-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    padding: 20px;
    border-bottom: #aaaaaa solid 1px;
}

/* 카눈, 하나캐피탈 로고 */
.logo-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}
.carnoon-logo {
    width: 100px;
}
.go-carnoon {
    border: var(--color-gray) solid 1px;
    border-radius: 8px;
    padding: 2px 8px;
    color: var(--color-carnoon-blue);
}
.logo-divider {
    margin-left: 6px;
    font-size: 18px;
}

/* 상단 문구 영역 */
.top-box {
    padding: 20px 20px 0 20px;
    /* background-color: #093d50; */
    position: relative;
    overflow: hidden;
}
.top-box .top-box-image {
    position: absolute;
    top: 20px;
    right: -10px;
    height: 50%;
    max-width: 40%;
}
.top-box .top-box-center-image {
    width: 100%;
}
.top-box .content-box {
    padding: 10px 0;
}
.top-box .content-box .rent-info-list {
    /* width: 100%; */
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    font-weight: 600;
    border-radius: 12px;
}
.top-box .content-box .rent-info-list .rent-info-list-item {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
}
/* .top-box .title-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 60px;
}
.top-box .title-box .title-1 {
    font-size: 18px;
    font-weight: 600;
    color: white;
}
.top-box .title-box .title-2 {
    font-size: 24px;
    font-weight: 600;
    color: #c5f0ff;
}
.top-box .title-box .inline-hr {
    border: 0;
    height: 1px;
    background-color: #ffffff;
    opacity: 0.3;
    display: inline-block;
    width: 120px;
    margin-left: 8px;
}
.top-box .info-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: flex-start;
    color: white;
}
.top-box .info-box .check {
    display: flex;
    align-items: flex-start;
    gap: 0px;
}
.top-box .info-box .check::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #c5f0ff;
    mask-image: url('/images/checkMark.svg');
    mask-size: 20px 20px;
    margin-right: 8px;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('/images/checkMark.svg');
    -webkit-mask-size: 20px 20px;
    -webkit-mask-repeat: no-repeat;
    flex-shrink: 0;
} */

/* 본문 */
.main-box {
    padding: 20px;
}
.main-box .content-box {
    padding: 20px 0;
}

/* 최근 견적 보기 */
.recent-list-item {
    width: 320px;
    overflow: hidden;
    border: var(--color-hana-green) solid 1px;
}
.recent-list-button {
    width: 100%;
    height: 100%;
}
.recent-list-button .recent-list-content-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: flex-start;
}
.recent-list-button .recent-list-content-list > li {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.recent-list-button .recent-list-content-list > li .date-box {
    color: var(--color-gray);
    font-size: 12px;
    width: 100%;
    text-align: end;
}
.recent-list-button .recent-list-content-list > li .model-image {
    width: 120px;
}
.recent-list-button .recent-list-content-list > li .contract-table {
    text-align: center;
	border-collapse: separate;
	border-spacing: 0 10px;
    color: var(--color-light-gray);
    font-weight: 600;
}
.recent-list-button .recent-list-content-list > li .contract-table tr td {
    padding: 0px 6px;
    text-wrap: nowrap;
    text-align: start;
    position: relative;
}
.recent-list-button .recent-list-content-list > li .contract-table tr td::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 12px;
    background-color: var(--color-light-gray);
}
.recent-list-button .recent-list-content-list > li .contract-table tr td em {
    opacity: 0.75;
}
.recent-list-button .recent-list-content-list > li .car-image-box {
    width: 50%;
    text-align: center;
}
.recent-list-button .recent-list-content-list > li .car-price-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 16px;
    font-weight: 600;
}

/*  인기 차종 리스트 */
.popular-list-item {
    width: 200px;
    position: relative;
    border: var(--color-hana-green) solid 1px;
}
.popular-list-item .car-box {
    margin-bottom: 44px;
}
.popular-list-item .car-price-box {
    /* width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline; */
    padding: 0 16px;
    font-weight: 600;
    color: var(--color-light-gray);
}
.popular-list-item .month-price-box {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 즉시출고 */
.popup-area .fastship-request-image {
    max-width: 80vw;
}
.popup-area .kakao {
    position: absolute;
    bottom: 7%;
    width: 90%;
    margin-left: 5%;
    height: 10%;
    text-decoration: none;
}



@media (min-width: 800px) {
    .top-box .top-box-image {
        height: 60%;
        max-width: 60%;
    }

    /* .top-box .content-box .rent-info-list {
        margin: 0 auto;
        background-color: unset;
        flex-direction: row;
        gap: 0;
        padding: 20px;
        font-weight: 600;
        border-radius: 12px;
    }
    .top-box .content-box .rent-info-list .rent-info-list-item {
        flex: 1;
        flex-direction: column;
        gap: 4px;
        font-size: 14px;
    }
    .top-box .content-box .rent-info-list .rent-info-list-item > svg {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    } */
}