@charset "utf-8";

/* 본문 콘텐츠 영역 - 사용자 입력 HTML 기본 스타일 */
#bo_v_con a { color: var(--hex-primary-600); text-decoration: underline; }
#bo_v_con a:hover { color: var(--hex-primary-700); }
#bo_v_con img { max-width: 100%; height: auto; }
#container > .tw-pt-4.tw-mb-6 {}
/* 임시저장 콘텐츠 숨김 */
.autosave_content { display: none; }
.tw-pt-4 {display: none;}
#wrapper{padding: 0rem 1rem 1rem !important;}
/* =========================
   견적 폼
========================= */
.quote-wrap{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    background:#ffffff;
    position:relative;
}

/* 상단 풀배경 비주얼 */
.quote-top-hero{
    position:relative;
    left:50%;
    right:50%;
    width:100vw;
    margin-left:-50vw;
    margin-right:-50vw;
    background:#e3f4f1;
    overflow:hidden;
}

.quote-top-hero__inner{
    width:100%;
    max-width:1280px;
    margin:0 auto;
}

.quote-top-hero__picture{
    display:block;
    width:100%;
    height:450px;
    overflow:hidden;
}

.quote-top-hero__img{
    display:block;
    width:100%;
    max-width:1280px;
    height:450px;
    object-fit:cover;
    object-position:center center;
    margin:0 auto;
}

.quote-step-head{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    align-items:center;
    border-bottom:1px solid #ddd;
    margin-bottom:24px;
    background:#ffffff;
}

.quote-step-head__item{
    position:relative;
    text-align:center;
    font-size:17px;
    font-weight:500;
    color:#111;
    padding:20px 10px 18px;
    border-bottom:2px solid transparent;
}

.quote-step-head__item.is-active{
    color:#0869f9;
    border-bottom-color:#0869f9;
    font-weight:700;
}

.quote-step{
    display:none;
}

.quote-step.is-active{
    display:block;
}

.quote-type-tabs{
    display:flex;
    gap:0;
    max-width:600px;
    margin:0 0 18px;
}

.quote-type-btn{
    flex:1;
    height:54px;
    border:1px solid #d9d9d9;
    background:#fff;
    color:#777;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}

.quote-type-btn + .quote-type-btn{
    border-left:0;
}

.quote-type-btn.is-active{
    color:#ffffff;
    background: #0869f9;
    border-color:#0869f9;
    position:relative;
    z-index:1;
}

.quote-selector-pc{
    display:block;
}

.quote-selector-mobile{
    display:none;
}

.quote-selector-grid{
    display:grid;
    grid-template-columns:420px 1fr 1fr 1fr 1.2fr;
    border:1px solid #dcdcdc;
    background:#fff;
}

.quote-col{
    min-height:266px;
    border-left:1px solid #dcdcdc;
}

.quote-col:first-child{
    border-left:0;
}

.quote-col-title{
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ffffff;
    color:#000000;
    font-size:16px;
    font-weight:700;
    border-bottom:1px solid #dcdcdc;
}

.quote-maker-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:12px;
    padding:14px;
}

.quote-maker-card{
    min-height:92px;
    border:1px solid #d9d9d9;
    background:#fff;
    border-radius:12px;
    padding:10px;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:.15s ease;
}

.quote-maker-card.is-active{
    border-color:#0869f9;
    box-shadow:inset 0 0 0 1px #0869f9;
}

.quote-maker-logo{
    width:60px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.quote-maker-logo img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.quote-maker-name{
    font-size:15px;
    color:#222;
    font-weight:600;
}

.quote-list{
    display:flex;
    flex-direction:column;
    height:calc(100% - 44px);
    max-height:266px;
    overflow-y:auto;
}

.quote-list-btn{
    width:100%;
    min-height:40px;
    padding:10px 14px;
    border:0;
    border-bottom:1px solid #ececec;
    text-align:left;
    background:#fff;
    color:#222;
    font-size:15px;
    cursor:pointer;
    transition:.15s ease;
}

.quote-list-btn.is-active{
    color:#0869f9;
    font-weight:700;
    box-shadow:inset 0 -2px 0 #0869f9;
}

.quote-empty{
    padding:18px 14px;
    color:#999;
    font-size:14px;
}

.quote-step-actions{
    margin-top:16px;
    display:flex;
    justify-content:flex-end;
}

.quote-next-btn{
    width:122px;
    height:46px;
    border:0;
    background:#ff9d00;
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}

/* step2 */
.quote-selected-title{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 14px;
    margin-bottom:16px;
    font-size:22px;
    font-weight:800;
    color:#111;
}

.quote-selected-brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    font-weight:700;
    color:#111;
}

.quote-selected-brand img{
    width:38px;
    height:22px;
    object-fit:contain;
}

.quote-selected-name{
    font-size:22px;
    font-weight:800;
    color:#111;
}

.quote-condition-box{
    display:grid;
    grid-template-columns:1fr 452px;
    border:1px solid #e2e2e2;
    border-radius:0;
    overflow:hidden;
    background:#fff;
}

.quote-condition-left{
    min-height:560px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
}

.quote-car-image-box{
    width:100%;
    max-width:520px;
    min-height:380px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.quote-car-image{
    max-width:100%;
    max-height:360px;
    object-fit:contain;
}

.quote-condition-right{
    padding:18px;
    background:#fafafa;
    border-left:1px solid #e5e5e5;
}

.quote-option-row{
    margin-bottom:14px;
}

.quote-option-label{
    margin-bottom:8px;
    font-size:16px;
    font-weight:800;
    color:#111;
}

.quote-btn-group{
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    border:1px solid #d7d7d7;
    overflow:hidden;
    background:#fff;
}

.quote-btn-group[data-name="useType"]{
    grid-template-columns:repeat(2, 1fr);
}

.quote-btn-group[data-name="period"]{
    grid-template-columns:repeat(4, 1fr);
}

.quote-btn-group[data-name="distance"]{
    grid-template-columns:repeat(4, 1fr);
}

.quote-btn-group--half{
    grid-template-columns:repeat(2, 1fr);
}

.quote-option-btn{
    height:48px;
    border:0;
    border-left:1px solid #ddd;
    background:#fff;
    color:#777;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
}

.quote-option-btn:first-child{
    border-left:0;
}

.quote-option-btn.is-active{
    color:#0869f9;
    background:#fff;
    box-shadow:inset 0 0 0 1px #0869f9;
    font-weight:800;
}

.quote-contact-area{
    margin-top:10px;
}

.quote-contact-desc{
    margin:0 0 10px;
    color:#333;
    font-size:14px;
    line-height:1.5;
}

.quote-phone-row{
    display:grid;
    grid-template-columns:124px 1fr 1fr;
    gap:10px;
}

.quote-phone-select,
.quote-phone-input,
.quote-select{
    width:100%;
    height:44px;
    border:1px solid #d9d9d9;
    background:#fff;
    padding:0 12px;
    font-size:15px;
    color:#111;
    outline:none;
    border-radius:0;
}

.quote-submit-wrap{
    margin-top:16px;
}

.quote-submit-btn{
    width:100%;
    height:58px;
    border:0;
    border-radius:8px;
    background:#0869f9;
    color:#fff;
    font-size:20px;
    font-weight:800;
    cursor:pointer;
}

.quote-submit-btn:disabled{
    opacity:.7;
    cursor:default;
}

/* 보기페이지 결과 */
.quote-result-content{
    width:100%;
}

.quote-result-success{
    margin-bottom:24px;
    padding:18px 20px;
    border-radius:14px;
    background:#eef3ff;
    border:1px solid #cddbff;
    color:#1e3a8a;
    line-height:1.7;
    font-size:16px;
    font-weight:600;
}

.quote-result-section{
    margin-top:20px;
}

.quote-result-section h3{
    margin:0 0 12px;
    font-size:18px;
    font-weight:800;
    color:#111;
}

.quote-result-table{
    width:100%;
    border-collapse:collapse;
    border-top:2px solid #1f2937;
}

.quote-result-table th,
.quote-result-table td{
    padding:12px 14px;
    border-bottom:1px solid #e5e7eb;
    text-align:left;
    font-size:15px;
    line-height:1.5;
}

.quote-result-table th{
    width:170px;
    background:#f8fafc;
    color:#111827;
    font-weight:700;
}

.quote-result-table td{
    color:#374151;
}

/* mobile */
@media (max-width: 991px){
    .quote-top-hero{
        background:#ececec;
    }

    .quote-top-hero__inner{
        max-width:100%;
    }

    .quote-top-hero__picture{
        display:block;
        width:100%;
        height:auto;
        aspect-ratio:1 / 1;
        overflow:hidden;
    }

    .quote-top-hero__img{
        width:100%;
        max-width:none;
        height:100%;
        aspect-ratio:1 / 1;
        object-fit:cover;
        object-position:center center;
        margin:0;
    }

    .quote-step-head__item{
        font-size:15px;
        padding:14px 4px 12px;
    }

    .quote-selector-pc{
        display:none;
    }

    .quote-selector-mobile{
        display:block;
    }

    .quote-type-tabs{
        max-width:none;
        margin-bottom:25px;
    }

    .quote-type-btn{
        height:44px;
        font-size:16px;
    }

    .quote-mobile-selects{
        display:grid;
        gap:10px;
    }

    .quote-select{
        height:46px;
        font-size:15px;
        border:1px solid #dcdcdc;
        background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23bdbdbd' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
        appearance:none;
    }

    .quote-step-actions{
        justify-content:stretch;
        margin-top:25px;
    }

    .quote-next-btn{
        width:100%;
        height:44px;
        font-size:18px;
    }

    .quote-selected-title{
        display:block;
        margin-bottom:14px;
    }

    .quote-selected-brand{
        margin-bottom:6px;
        font-size:16px;
    }

    .quote-selected-name{
        font-size:18px;
        line-height:1.4;
    }

    .quote-condition-box{
        grid-template-columns:1fr;
        border-radius:16px;
        overflow:hidden;
    }

    .quote-condition-left{
        min-height:auto;
        padding:14px 14px 8px;
        background:#fff;
    }

    .quote-car-image-box{
        min-height:auto;
        padding:12px;
        border-radius:14px;
        background:#fff;
        border:1px solid #efefef;
    }

    .quote-car-image{
        max-height:220px;
    }

    .quote-condition-right{
        border-left:0;
        padding:14px;
        background:#fafafa;
    }

    .quote-option-label{
        font-size:15px;
    }

    .quote-option-btn{
        height:44px;
        font-size:14px;
    }

    .quote-phone-row{
        grid-template-columns:120px 1fr 1fr;
        gap:8px;
    }

    .quote-submit-btn{
        height:54px;
        font-size:18px;
        border-radius:10px;
    }

    .quote-result-table th{
        width:110px;
    }
}

@media (max-width: 520px){
    .quote-wrap{
        padding:0px 0 30px;
    }

    .quote-step-head{
        margin-bottom:25px;
    }

    .quote-step-head__item{
        font-size:13px;
    }

    .quote-phone-row{
        grid-template-columns:1fr 1fr 1fr;
    }

    .quote-result-table th,
    .quote-result-table td{
        padding:10px 10px;
        font-size:14px;
    }
}