/* step2 고객 후기 슬라이더 (메인 sec4 기반, step2 전용 클래스) */

.estimate-step2 .step2-reviews__lead {
    margin: -8px 0 20px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #666;
    letter-spacing: -0.01em;
}

.estimate-step2 .step2-reviews__card-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.estimate-step2 .step2-reviews__card-date {
    font-size: 0.75rem;
    color: #999;
}

.estimate-step2 .step2-reviews {
    width: 100%;
    padding: 40px 0;
    background: #f9f9f9;
    border-radius: 16px;
}

.estimate-step2 .car-side-wrap > .step2-reviews {
    margin-top: 40px;
}

.estimate-step2 .step2-reviews__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.estimate-step2 .step2-reviews__slider {
    position: relative;
    box-sizing: border-box;
    overflow: visible;
}

.estimate-step2 .step2-reviews__nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 5;
    cursor: pointer;
}

.estimate-step2 .step2-reviews__nav::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #111;
    border-right: 2px solid #111;
    display: block;
    font-size: 0;
    line-height: 0;
}

.estimate-step2 .step2-reviews__nav--prev::after {
    transform: rotate(-135deg);
}

.estimate-step2 .step2-reviews__nav--next::after {
    transform: rotate(45deg);
}

.estimate-step2 .step2-reviews__nav--prev {
    left: 0;
    right: auto;
    transform: translate(-50%, -50%);
}

.estimate-step2 .step2-reviews__nav--next {
    right: 0;
    left: auto;
    transform: translate(50%, -50%);
}

.estimate-step2 .step2-reviews__swiper {
    padding: 4px 0;
}

.estimate-step2 .step2-reviews__swiper .swiper-wrapper {
    align-items: stretch;
}

.estimate-step2 .step2-reviews__swiper .swiper-slide {
    height: auto;
    display: flex;
}

.estimate-step2 .step2-reviews__card {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.estimate-step2 .step2-reviews__card-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.estimate-step2 .step2-reviews__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.estimate-step2 .step2-reviews__card-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.estimate-step2 .step2-reviews__card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.estimate-step2 .step2-reviews__card-name {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

.estimate-step2 .step2-reviews__card-head .review-stars {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 !important;
}

.estimate-step2 .step2-reviews__card-head .review-stars::before {
    display: none !important;
}

.estimate-step2 .step2-reviews__card-head .review-stars__star {
    display: block;
    width: 14px;
    height: 14px;
    padding: 0 !important;
    position: static;
}

.estimate-step2 .step2-reviews__card-head .review-stars__star::before {
    content: "★";
    display: block;
    font-size: 14px;
    line-height: 1;
    color: #d1d5db;
}

.estimate-step2 .step2-reviews__card-head .review-stars__star.is-filled::before {
    color: var(--primary);
}

.estimate-step2 .step2-reviews__card-car {
    display: flex;
    align-items: baseline;
    gap: 0;
    min-width: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #666;
}

.estimate-step2 .step2-reviews__card-car-name {
    font-weight: 600;
    color: #333;
}

.estimate-step2 .step2-reviews__card-car-name::after {
    content: '·';
    margin: 0 5px;
    font-weight: 400;
    color: #c4c4c4;
}

.estimate-step2 .step2-reviews__card-car-type {
    font-weight: 400;
    color: #666;
    white-space: nowrap;
}

.estimate-step2 .step2-reviews__card-thumb {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.estimate-step2 .step2-reviews__card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estimate-step2 .step2-reviews__card-best {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 1;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.78);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
}

.estimate-step2 .step2-reviews__card-content {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.estimate-step2 .step2-reviews__card-reply {
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f5f6f8;
}

.estimate-step2 .step2-reviews__card-reply-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

.estimate-step2 .step2-reviews__card-reply-author .review-reply__author-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-color: var(--primary);
    -webkit-mask: url('/images/ic-star.svg') center / contain no-repeat;
    mask: url('/images/ic-star.svg') center / contain no-repeat;
}

.estimate-step2 .step2-reviews__card-reply-content {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
    color: #444;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: break-word;
    word-break: break-word;
}

.estimate-step2 .step2-reviews__card-reply-content .review-reply__emoji {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-left: 2px;
    vertical-align: -0.15em;
}

.estimate-step2 .step2-reviews__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.estimate-step2 .step2-reviews__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #fff;
    font-size: 1.14rem;
    color: #111;
    text-decoration: none;
    transition: 0.2s;
}

.estimate-step2 .step2-reviews__more-arrow {
    width: 7px;
    height: 7px;
    border-top: 1.8px solid #111;
    border-right: 1.8px solid #111;
    transform: rotate(45deg);
}

.estimate-step2 .step2-reviews__more-btn:hover {
    border-color: #ddd;
    background: #fff;
}

@media (max-width: 768px) {
    .estimate-step2 .step2-reviews {
        padding: 32px 0;
        border-radius: 0;
    }

    .estimate-step2 .car-side-wrap > .step2-reviews {
        margin-top: 10px;
    }

    .estimate-step2 .step2-reviews__slider {
        padding: 0 24px;
    }

    .estimate-step2 .step2-reviews__nav {
        display: none;
    }

    .estimate-step2 .step2-reviews__card {
        padding: 16px;
    }

    .estimate-step2 .step2-reviews__card-content,
    .estimate-step2 .step2-reviews__card-reply-content {
        font-size: 14px;
    }

    .estimate-step2 .step2-reviews__more-wrap {
        padding: 0 24px;
    }

    .estimate-step2 .step2-reviews__more-btn {
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 16px 20px;
        border: none;
        border-radius: 16px;
        background: #f2f2f2;
        font-size: 18px;
        font-weight: 500;
    }

    .estimate-step2 .step2-reviews__more-btn:hover {
        background: #e8e8e8;
        border-color: transparent;
    }
}

@media (max-width: 550px) {
    .estimate-step2 .step2-reviews__slider {
        padding: 0;
    }

    .estimate-step2 .step2-reviews__more-wrap {
        padding: 0 20px;
    }
}
