@charset "utf-8";

/* ===========================
   공통
=========================== */
#main_content {
    padding-top: 125px;
    /* 헤더 높이 */
    /* fixbar 높이 */
    word-break: keep-all;
    letter-spacing: -0.03em;
}

#main_content .inner {
    max-width: 484px;
    width: 90%;
    margin: 0 auto;
}

#main_content .inner span {
    /*display: flex;*/
    align-items: center;
    gap: 5px;
}

/* 색상 유틸 */
.fc-blue {
    color: rgba(31, 83, 240, 1);
    display: flex;
    align-items: center;
    gap: 3px;
}

.fc-teal {
    color: #34BAB1;
}

.fc-gray {
    color: #555555;
}

/* ===========================
   ① 메인 배너 슬라이더
=========================== */
#main_content .section-visual {}

#main_content .section-visual .visualSwiper {
    width: 100%;
}

#main_content .section-visual .swiper-slide img {
    width: 100%;
    padding: 0 5%;
    display: block;
    box-sizing: border-box;
}

#main_content .section-visual .swiper-pagination-bullet-active {
    background-color: #00b8a0;
}

/* ===========================
   ② 빠른 상담 버튼
=========================== */
#main_content .section-fast {
    padding: 12px 0;
    background-color: #fff;
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderSpin {
    to { --angle: 360deg; }
}

@keyframes glowSpin {
    0%   { box-shadow: 3px 0px 12px rgba(37, 228, 216, 0.6); }
    25%  { box-shadow: 0px 3px 12px rgba(130, 126, 246, 0.6); }
    50%  { box-shadow: -3px 0px 12px rgba(192, 24, 249, 0.6); }
    75%  { box-shadow: 0px -3px 12px rgba(130, 126, 246, 0.6); }
    100% { box-shadow: 3px 0px 12px rgba(37, 228, 216, 0.6); }
}

#main_content .section-fast .fast-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background-color: #EAFFFE;
    color: #222;
    border-radius: 10px;
    background-clip: padding-box;
    border: 3.5px solid transparent;
    background-image: linear-gradient(#EAFFFE, #EAFFFE), linear-gradient(var(--angle), rgba(37, 228, 216, 1), rgba(192, 24, 249, 1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: borderSpin 3s linear infinite, glowSpin 3s linear infinite;
}
#main_content .section-fast .fast-btn span{
    display: flex;
    align-items: center;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderSpin {
    to { --angle: 360deg; }
}


#main_content .section-fast .fast-arrow {
    color: rgba(85, 85, 85, 1);
}

/* ===========================
   ③ 심사패스 배너
=========================== */
#main_content .section-pass {
    padding: 8px 0 14px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#main_content .section-pass img {
    width: 100%;
}

#main_content .section-pass .pass-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, #0d2b3e 0%, #1a4a5e 100%);
    border-radius: 10px;
    overflow: hidden;
}

#main_content .section-pass .pass-txt {
    flex: 1;
}

#main_content .section-pass .pass-txt .prt-bold {
    margin-bottom: 4px;
}

#main_content .section-pass .pass-txt .prt-regular {
    color: #cce8e4;
}

#main_content .section-pass .pass-img {
    width: 100px;
    flex-shrink: 0;
}

#main_content .section-pass .pass-img img {
    width: 100%;
    object-fit: contain;
}

/* ===========================
   ④ 리스 & 렌탈 모델
=========================== */
#main_content .section-model {
    padding: 10px 0;
    background-color: #fff;
}

#main_content .section-model .model-tit {
    width: 90%;
    margin: 0 auto 14px;
}

/* 탭 */
#main_content .section-model .model-tab {
    width: 90%;
    margin: 0 auto 16px;
    display: flex;
    gap: 0;
    background-color: #F1F1F1;
    border-radius: 8px;
}

#main_content .section-model .tab-btn {
    flex: 1;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: #999999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

#main_content .section-model .tab-btn.active {
    color: #1B3159;
    background-color: #fff;
    margin: 5px;
    border-radius: 8px;
}

/* 탭 콘텐츠 */
#main_content .section-model .tab-content {
    display: none;
}

#main_content .section-model .tab-content.active {
    display: block;
}

/* 모델 카드 그리드 */
#main_content .section-model .model-list {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

#main_content .section-model .model-card {
    border: 1px solid #efefef;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 뱃지 */
#main_content .section-model .model-badges {
    padding: 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

#main_content .section-model .badge {
    padding: 6px 10px;
    border-radius: 15px;

}

#main_content .section-model .badge-sale {
    background-color: rgba(9, 101, 96, 1);
    color: #fff;
}

#main_content .section-model .badge-fast {
    background-color: rgba(27, 49, 89, 1);
    color: #fff;
}

#main_content .section-model .badge-used {
    background-color: #888;
    color: #fff;
}

/* 모델 이미지 */
#main_content .section-model .model-img {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

#main_content .section-model .model-img img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

/* 모델 정보 */
#main_content .section-model .model-info {
    padding: 0 10px 12px;
}

#main_content .section-model .model-info h3 {
    margin-bottom: 4px;
    color: #222;
    line-height: 1.3;
}


#main_content .section-model .model-info p{
    margin: 0;
    width: 100%;
    /* 최대 2줄 + 말줄임 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

#main_content .section-model .model-info .model-info-txt{
    height: 52.5px;
    overflow: hidden;
}
#main_content .section-model .model-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

#main_content .section-model .model-check {
    color: #aaa;
    margin-bottom: 10px;
}
#main_content .section-model .model-check p{
    display: flex;
    align-items: center;
    gap: 7.5px;
    margin: 5px 0;
    color: #405A62;
}

/* 상담신청 버튼 */
#main_content .section-model .consult-btn {
    width: 100%;
    padding: 9px 0;
    background-color: rgba(25, 59, 69, 1);
    color: #fff;
    border: none;
    border-radius: 20.5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* 모델 슬라이더 */
#main_content .section-model .modelSwiper-new,
#main_content .section-model .modelSwiper-used {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 36px; /* 페이지네이션 공간 */
}

#main_content .section-model .model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

#main_content .section-model .model-pagination {
    bottom: 0;
}

#main_content .section-model .model-pagination .swiper-pagination-bullet-active {
    background-color: #1B3159;
}
/* ===========================
   ⑤ Review
=========================== */
#main_content .section-review {
    padding: 28px 0;
    background-color: #f8f8f8;
}

#main_content .section-review .review-tit {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#main_content .section-review .review-tit h2 {
    line-height: 1.4;
    margin-top: 4px;
    color: #222;
}

#main_content .section-review .review-more-btn {
    display: inline-block;
    padding: 30px 20px;
    background-color: #00b8a0;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* 리뷰 카드 */
#main_content .section-review .reviewSwiper {
    overflow: hidden;
}

#main_content .section-review .review-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#main_content .section-review .review-img {
    width: 100%;
    aspect-ratio: 4/2;
    overflow: hidden;
    background-color: #e0e0e0;
}

#main_content .section-review .review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main_content .section-review .review-txt {
    padding: 10px 12px;
    color: #555;
    line-height: 1.4;
    /*height: 185px;*/
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

#main_content .section-review .review-txt .reivew-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 6px;
}

#main_content .section-review .review-txt .prt-medium {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* ===========================
   ⑥ FAQ
=========================== */
#main_content .section-faq {
    padding: 28px 0;
    background-color: #fff;
}

#main_content .section-faq .faq-tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

#main_content .section-faq .faq-tit h2 {
    color: #222;
}

/* FAQ 아이템 */
#main_content .section-faq .faq-item {
    border-bottom: 1px solid #f0f0f0;
}

#main_content .section-faq .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    color: #222;
    line-height: 1.4;
    transition: color 0.2s;
}

#main_content .section-faq .faq-q.open {
    color: #00b8a0;
}

#main_content .section-faq .faq-q span:first-child {
    flex: 1;
    padding-right: 10px;
}

#main_content .section-faq .faq-arrow {
    color: #aaa;
    flex-shrink: 0;
}

#main_content .section-faq .faq-arrow i {
    display: inline-block;
    transition: transform 0.3s, color 0.2s;
}

#main_content .section-faq .faq-item.open .faq-arrow i {
    transform: rotate(180deg);
    color: #00b8a0;
}

#main_content .section-faq .faq-a {
    display: none;
    padding: 15px 20px;
    color: #111;
    line-height: 1.5;
    background-color: #F1F1F1;
    border-radius: 25px;
}
#main_content .section-faq .faq-a p{
    margin: 2.5px 0;
}

#main_content .section-faq .faq-item.open .faq-a {
    display: block;
}

/* 페이지네이션 */
#main_content .section-faq .faq-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

#main_content .section-faq .faq-pagination .swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}

#main_content .section-faq .faq-pagination .swiper-pagination-bullet-active {
    background-color: #00b8a0;
}

#main_content .section-faq .faqSwiper {
    padding-bottom: 40px;
}

/* mobile */
@media screen and (max-width: 767px) {

    #main_content .section-review .review-more-btn{
        padding: 20px;
    }
}
