.mobile-modal{

    position:fixed;

    inset:0;

    display:none;

    z-index:9999;

}

.mobile-modal.show{

    display:block;

}

.mobile-modal-backdrop{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

}

.mobile-modal-sheet{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    background:#fff;

    border-radius:28px 28px 0 0;

    padding:20px;

    max-height:90vh;

    overflow:auto;

}

.close-modal{

    position:absolute;

    right:18px;

    top:18px;

    width:36px;

    height:36px;

    border:none;

    border-radius:50%;

    background:#eee;

}

#modalImage{

  width:100%;

    aspect-ratio:16/10;

    object-fit:cover;

    border-radius:18px;

}

.modal-brand{

    display:flex;
    align-items:center;
    justify-content:center;
    gap: 2px;

    margin-top:18px;

}

.modal-brand img{
    object-fit:contain;

}


#modalModel{
    margin-top:8px;
    text-align:center;

    font-size:24px;
    font-weight:700;
    line-height:1.3;
}

.modal-brand span{
    font-size:16px;
    font-weight:600;
    color:#555;
    display: none;
}

.modal-spec{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    border-radius:16px;

    overflow:hidden;

    border:1px solid #ececec;

    margin:24px 0;

}

.modal-spec>div{

    padding:10px 4px;

    text-align:center;

    border-right:1px solid #ececec;

}

.modal-spec>div:last-child{

    border-right:none;

}

.modal-spec span{

    font-size:12px;

    color:#777;

}

.spec-grid small{
    display:flex;
    justify-content:center;
    align-items:center;
    height:22px;
    margin-bottom:6px;
}

.spec-grid small img{
    width:20px;
    height:20px;
    object-fit:contain;
    opacity:.8;
}

.modal-spec strong{

    display:block;

    margin-top:6px;

    font-size:15px;

    font-weight:700;

}


.spec-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}

.spec-icon{
    width:20px;
    height:20px;
}



.price-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:22px 0;
}

.modal-price{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:14px;
    padding:16px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.04);
}

.modal-price span{
    display:block;
    font-size:12px;
    color:#888;
    margin-bottom:8px;
}

.modal-price strong{
    font-size:20px;
    font-weight:700;
    color:#111;
}


.modal-price strong{

    display:block;

    font-size:18px;

    white-space:nowrap;

    color:#06b6b6;

}



.modal-content{

    padding-bottom:90px;

}

#modalConsultBtn{

    position:sticky;

    bottom:0;

}


.modal-brand-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
}

.modal-brand-row img{
    width:32px;
    height:32px;
    object-fit:contain;
    flex-shrink:0;
}

.modal-brand-row span{
    font-size:22px;
    font-weight:600;
    color:#444;
}

#modalName{
    margin-top:8px;
    font-size:32px;
    font-weight:700;
    line-height:1.3;
}

.modal-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:22px;
}

.modal-buttons a{
    height:52px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
}

.phone-btn{
    border:1px solid #dcdcdc;
    background:#fff;
    color:#222;
}

.kakao-btn{
    background:#62d4cb;   /* 현재 티파니 컬러 */
    color:#fff;
}

.modal-brand-logo{
    width: 60px;
    height:60px;
    width:auto;
    object-fit:contain;
    display:block;

}

/* BMW */
.brand-bmw{
    height:48px;
}

/* Mercedes-Benz */
.brand-benz{
    width:80px;
    height:auto;
}

/* Audi */
.brand-audi{
    height:28px;
}

/* Bentley */
.brand-bentley{
    width:72px;
    height:auto;
}

/* Genesis */
.brand-genesis{
    width:82px;
    height:18px;
}

/* Hyundai */
.brand-hyundai{
    width:  98px;
    height: auto;

}

/* Kia */
.brand-kia{
    width:38px;
    height:18px;
}

/* Jaguar */
.brand-jaguar{
    width: 82px;
    height:auto;
}

/* Land Rover */
.brand-landrover{
    height:34px;
}

/* Lincoln */
.brand-lincoln{
    width: 78px;
    height:auto;
    
}

/* Ferrari */
.brand-ferrari{
    height:32px;
}

/* Lamborghini */
.brand-lamborghini{
    height:30px;
}

/* Porsche */
.brand-porsche{
    width:72px;
}

/* Volvo */
/* .brand-volvo{
    width: 50px;
} */