nav {
    position: relative;
    border-bottom: 2px solid var(--xaBlueFooter);
}

.xa-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
   padding: 1.5rem 0 3rem;
}

.xa-wrapper .xa-col-l {
    flex-basis: 68%;
}

.xa-wrapper .xa-col-r {
    flex-basis: 28%;
}

.xa-wrapper .xa-col-b {
    flex-basis: 68%;
}

.xa-wrapper .xa-col-l .xa-title-car {
    color: var(--xaBlack);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*danh sách ảnh xe*/
.xa-box-img {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#xa-main-photo {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
}

#xa-main-photo img {
    height: 500px;
}

.xa-box-img .xa-list-img {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    overflow-x: auto;
}

.xa-box-img .xa-list-img:after {
    content: '';
    flex-basis: 24%;
}

.xa-list-img .xa-item {
    margin-bottom: 0.5rem;
    margin-right: 1.5rem;
    flex: 0 0 25%;
}

.xa-list-img .xa-item:last-child {
    margin-right: 0;
}

.xa-list-img .xa-item .xa-photo-list {
    display: inline-block;
    width: 100%;
}

.xa-list-img .xa-item .xa-photo-list img {
    height: 150px;
}

/*thông tin xe*/
.xa-box-info-car {
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.xa-box-info-car .xa-info-car {
    flex-basis: 48%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}

.xa-box-info-car .xa-info-car .xa-item {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--xaGrayListCars);
}

.xa-box-info-car .xa-info-car .xa-item label {
    color: var(--xaBreadcrumb);
}

.xa-box-info-car .xa-info-car .xa-item span {
    color: var(--xaBlackTitle);
    font-weight: bold;
}

.xa-price-car {
    font-size: 2.0rem;
    line-height: 2.4rem;
    font-weight: bold;
    color: var(--bgBtn);
}

/*thông tin salon*/
.xa-box-info-salon {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    background: var(--bgDetail);
    padding: 1.5rem;
}

.xa-box-info-salon p {
    margin-top: 1rem;
}

.xa-box-info-salon .xa-info-hotline {
    background: var(--xaRed);
    color: var(--xaWhite);
    padding: 1.5rem;
    font-size: 1.6rem;
}

.xa-box-info-salon .xa-info-hotline:hover {
    background: var(--xaRedHover);
}

.xa-info-hotline b {
    color: var(--xaWhite);
    -webkit-text-fill-color: var(--xaWhite);
    font-size: 2.1rem;
}

/*nội dung tin xe*/
.xa-car-description {
    padding: 1.5rem 0;
}

.xa-car-description p {
    display: block;
    margin-top: 1rem;
    width: 100%;
}

/*phí sang tên*/
.xa-name-transfer-fee .xa-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.xa-name-transfer-fee .xa-box .xa-item {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.xa-name-transfer-fee .xa-pdb .xa-choose {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xa-name-transfer-fee .xa-pdb .xa-choose select {
    width: 130px;
}

.xa-name-transfer-fee .xa-cacu .gia-xe-co-bien{
    color: var(--xaRed);
    font-weight: bold;
}

.xa-name-transfer-fee .xa-note {
    text-align: center;
    font-style: italic;
    color: var(--xaGrayNote);
    border-bottom: 1px solid var(--xaGrayListCars);
    padding-bottom: 1rem;
}

/*vay trả góp*/
.xa-box-installment {
    margin-top: 3rem;
}

.xa-installment {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.xa-installment .xa-item {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xa-installment .xa-item:last-child {
    margin-bottom: 0;
}

.xa-installment .xa-item label {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.xa-installment .xa-item  input,  .xa-installment .xa-item  select {
    width: 50%;
    height: 40px;
    outline: none;
    padding-left: 10px;
    background: var(--xaWhite);
    border-radius: 4px;
    border: 1px solid #c7c5c5;
}

.xa-installment .xa-item .xa-icon {
    color: var(--xaRed);
}

.xa-installment .xa-item .car-price {
    cursor: no-drop;
}

.xa-installment .xa-btn-send {
    text-align: left;
    flex-basis: auto;
    margin-top: 5px;
}

.xa-installment input[type="text"][disabled] {
    font-weight: bold;
}

.xa-installment .xa-btn-send {
    text-align: right;
    width: 100%;
}

.xa-installment .xa-btn-send a {
    display: inline-block;
    text-transform: uppercase;
    color: var(--xaWhite);
    background: var(--bgBtn);
    font-weight: bold;
    padding: 6px 30px;
}

.xa-installment .xa-btn-send a:hover {
    background: var(--bgBtnHover);
}

.xa-rs-installment {
    background: var(--bgDetail);
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    margin-top: 2rem;
}

.xa-rs-installment .xa-item {
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.xa-rs-installment .xa-item label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.xa-rs-installment .xa-item span {
    color: var(--xaRed);
    font-weight: bold;
}

/*xem thêm xe*/
.xa-car-new {
    margin-top: 2rem;
}

.xa-other-cars .xa-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
}

.xa-other-cars .xa-item .xa-box-img {
    width: 35%;
}

.xa-other-cars .xa-item .xa-box-info {
    width: 63%;
}

.xa-other-cars .xa-item .xa-box-img img {
    height: 190px;
}

.xa-other-cars .xa-box-info .xa-car {
    text-transform: uppercase;
}

.xa-other-cars .xa-box-info .xa-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.xa-other-cars .xa-box-info .xa-item-info {
    flex-basis: 32%;
    margin-bottom: 1.5rem;
}

.xa-other-cars .xa-box-info .xa-item-info i {
    color: var(--xaBlueA);
    margin-right: 0.3rem;
}

.xa-other-cars .xa-box-info .xa-box-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.xa-other-cars .xa-box-price .xa-price {
    display: inline-block;
    clip-path: polygon(0% 0%, 92% 0%, 100% 100%, 0% 100%);
    background: var(--bgBtn);
    padding: 1rem 1.5rem;
    position: absolute;
    bottom: 0;
}

.xa-other-cars .xa-box-price .xa-prepay {
    position: absolute;
    bottom: 0;
    right: 0;
}

@media only screen and (max-width: 1230px) {
    .xa-wrapper {
        padding: 1.5rem;
    }

    /*thông tin xe*/
    .xa-box-info .xa-price-car {
        font-size: 2.1rem;
        padding: 1.5rem 0;
    }

    .xa-box-info .xa-info-car .xa-item label {
        flex-basis: 40%;
    }

    /*thông tin salon*/
    .xa-box-info-salon .xa-info-hotline {
        font-size: 1.8rem;
    }

    .xa-info-hotline b {
        font-size: 2.1rem;
    }

    /*xem thêm xe*/
    .xa-car-new {
        margin-top: 0.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    .xa-wrapper .xa-col-l {
        flex-basis: 100%;
    }

    .xa-wrapper .xa-col-b {
        flex-basis: 100%;
    }

    /*cột phải*/
    .xa-wrapper .xa-col-r {
        flex-basis: 100%;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .xa-wrapper .xa-col-r .xa-name-transfer-fee {
        flex-basis: 48%;
    }

    .xa-wrapper .xa-col-r .xa-box-installment {
        flex-basis: 48%;
    }

    .xa-wrapper .xa-col-r .xa-qc {
        flex-basis: 100%;
    }

    .xa-box-installment {
        margin-top: 1.5rem;
    }

    /*xem thêm xe*/
    .xa-other-cars .xa-item .xa-box-img img {
        height: 232px;
    }
}

@media only screen and (max-width: 768px) {
    .xa-wrapper {
        padding: 1.5rem 1rem;
    }

    .xa-price-car {
        flex-basis: 100%;
        margin-top: 1rem;
    }

    .xa-wrapper .xa-col-l .xa-title-car {
        margin-bottom: 1rem;
    }

    /*danh sách ảnh xe*/
    #xa-main-photo img {
        height: 492px;
    }

    .xa-list-img .xa-item .xa-photo-list img {
        height: 123px;
    }

    /*thông tin xe*/
    .xa-other-cars .xa-item .xa-box-img {
        width: 40%;
    }

    .xa-other-cars .xa-item .xa-box-info {
        width: 58%;
    }

    .xa-other-cars .xa-item .xa-box-img img {
        height: 197px;
    }

    /*thông tin salon*/
    .xa-box-info-salon ul {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    .xa-box-info-salon .xa-info-hotline {
        font-size: 1.6rem;
        padding: 1rem;
    }

    .xa-info-hotline b {
        font-size: 1.8rem;
    }
}

@media only screen and (max-width: 640px) {
    /*danh sách ảnh xe*/
    #xa-main-photo img {
        height: 406px;
    }

    .xa-list-img .xa-item .xa-photo-list img {
        height: 102px;
    }

    /*xem thêm xe*/
    .xa-other-cars .xa-item .xa-box-img img {
        height: 163px;
    }

    .xa-other-cars .xa-box-price .xa-price {
        padding: 0.5rem 1rem;
    }

    .xa-other-cars .xa-box-info .xa-info {
        margin-top: 1.5rem;
    }

    .xa-other-cars .xa-box-info .xa-item-info {
        margin-bottom: 1rem;
    }

    /*cột phải*/
    .xa-wrapper .xa-col-r .xa-name-transfer-fee {
        flex-basis: 100%;
    }

    .xa-wrapper .xa-col-r .xa-box-installment {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 576px) {
    /*danh sách ảnh xe*/
    .xa-box-img {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #xa-main-photo {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }

    #xa-main-photo img {
        height: 364px;
    }

    .xa-list-img .xa-item .xa-photo-list img {
        height: 88px;
    }

    .xa-box-img .xa-list-img {
        flex-basis: 100%;
        flex-wrap: wrap;
    }

    .xa-list-img .xa-item {
        flex: none;
        flex-basis: 24%;
        margin-right: 0;
    }

    .xa-box-img .xa-list-img {
        overflow: hidden;
    }

    /*thông tin salon*/
    .xa-box-info-salon {
        padding: 1rem
    }

    /*thông tin xe*/
    .xa-box-info-car {
        margin-top: 0;
    }

    .xa-box-info-car .xa-info-car {
        flex-basis: 100%;
    }

    .xa-box-info-car .xa-info-car .xa-item {
        justify-content: space-between;
    }

    .xa-box-info {
        margin-top: 0;
    }

    .xa-box-info-car .xa-info-car:first-child {
        padding-bottom: 0;
    }

    .xa-box-info-car .xa-info-car:last-child {
        padding-top: 0;
    }

    /*xem thêm xe*/
    .xa-car-new {
        margin-top: 1.5rem;
    }

    .xa-other-cars .xa-item .xa-box-img {
        width: 100%;
    }

    .xa-other-cars .xa-item {
        border: 1px solid var(--xaGrayListCars);
        padding: 1rem;
        background: var(--xaGray);
        box-shadow: 1px 3px 7px 0 #dddfe2;
        margin-bottom: 1.5rem;
    }

    .xa-other-cars .xa-item .xa-box-img img {
        height: 288px;
    }

    .xa-other-cars .xa-item .xa-box-info {
        width: 100%;
        padding-top: 1rem;
    }

    .xa-other-cars .xa-box-info .xa-info {
        margin: 1rem 0 0.5rem;
    }

    .xa-other-cars .xa-box-price .xa-price {
        position: static;
    }

    .xa-other-cars .xa-box-price .xa-prepay {
        position: static;
    }
}

@media only screen and (max-width: 480px) {
    .xa-wrapper .xa-col-r {
        margin-top: 0;
    }

    /*danh sách ảnh xe*/
    #xa-main-photo img {
        height: 300px;
    }

    .xa-list-img .xa-item .xa-photo-list img {
        height: 73px;
    }

    /*xem thêm xe*/
    .xa-other-cars .xa-item .xa-box-img img {
        height: 246px;
    }
}

@media only screen and (max-width: 420px) {
    /*danh sách ảnh xe*/
    #xa-main-photo img {
        height: 266px;
    }

    .xa-list-img .xa-item .xa-photo-list img {
        height: 64px;
    }

    /*thông tin salon*/
    .xa-box-info-salon .xa-info-hotline {
        font-size: 1.6rem;
    }

    .xa-info-hotline b {
        font-size: 1.8rem;
    }

    /*xem thêm xe*/
    .xa-other-cars .xa-item .xa-box-img img {
        height: 212px;
    }
}

@media only screen and (max-width: 375px) {
    /*danh sách ảnh xe*/
    #xa-main-photo img {
        height: 237px;
    }

    .xa-list-img .xa-item .xa-photo-list img {
        height: 57px;
    }

    /*xem thêm xe*/
    .xa-other-cars .xa-item .xa-box-img img {
        height: 188px;
    }
}

@media only screen and (max-width: 360px) {
    /*thông tin xe*/
    .xa-info-hotline b {
        font-size: 1.6rem;
    }

    /*xem thêm xe*/
    .xa-other-car .xa-info-car .xa-item-info i {
        line-height: 1.8rem;
        font-size: 1.2rem;
        margin-right: 0.1rem;
    }

    .xa-other-car .xa-info-car .xa-item-info {
        line-height: 1.8rem;
        font-size: 1.2rem;
    }

    .xa-other-cars .xa-box-info .xa-item-info {
        flex-basis: 49%;
    }

    /*xem thêm xe*/
    .xa-other-cars .xa-item .xa-box-img img {
        height: 177px;
    }
}

