/* ===== 车型详情页 ===== */
html,
body {
    position: relative;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.w {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

.clear-fix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== Banner ===== */
.ban img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 面包屑导航（居中、字体大） ===== */
.p-t {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 0 16px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.p-t dd {
    margin: 0;
    padding: 0;
}

.p-t dd a {
    display: block;
    padding: 10px 32px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.p-t dd a:hover {
    background: #e8edf4;
    color: #1a3a6b;
}

.p-t dd.on a {
    background: #1a3a6b;
    color: #fff;
}

/* ===== 车型详情 ===== */
.pro {
    padding: 16px 0 40px;
}

.p-right {
    list-style: none;
    padding: 0;
}

/* ===== Swiper 图片轮播 ===== */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 主图 ===== */
.mySwiper2 {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
}

.mySwiper2 .swiper-slide {
    background: #f5f5f5;
}

/* ===== 缩略图 ===== */
.mySwiper {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 8px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1a3a6b;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
}

/* ===== 视图区：左右布局，垂直居中 ===== */
.view {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    align-items: center;
}

.view .left {
    flex: 0 0 48%;
    min-width: 300px;
}

.view .right {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== 右侧信息（上下结构） ===== */
.view .right h1 {
    font-size: 28px;
    color: #1a3a6b;
    margin-bottom: 8px;
}

.price-main {
    font-size: 17px;
    color: #333;
    margin: 6px 0 14px;
}

.price-main b {
    color: #d40000;
    font-size: 26px;
}

.price-main i {
    color: #999;
    font-size: 14px;
    font-style: normal;
}

/* ===== 车型规格表格 ===== */
.car-spec {
    width: 100%;
    max-width: 100%;
    margin: 8px 0 6px;
}
table, th, td {
    border: 1px solid #e0e5ec;
  }
.car-spec tr:first-child {
    background: #f0f4fa;
}

.car-spec td {
    padding: 14px 10px;
    text-align: center;
    font-size: 16px;
}

.car-spec td:last-child {
    border-right: none;
}

.car-spec .spec-label {
    color: #888;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
}

.car-spec .spec-value {
    color: #1a3a6b;
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 14px;
}

/* ===== 租车热线 + 预约按钮 ===== */
.t-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
    gap: 12px;
}

.t-info .text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-info .text i {
    font-size: 32px;
    color: #1a3a6b;
}

.t-info .tel h4 {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.t-info .tel p {
    font-size: 22px;
    font-weight: 700;
    color: #d40000;
    margin: 0;
}

.t-info .form .btn:hover {
    background: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 0, 0, 0.3);
}

/* ===== 费用详情 ===== */
.cont {
    margin-top: 24px;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cont h3 {
    font-size: 18px;
    color: #1a3a6b;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 16px;
}

.cont h3 i {
    margin-right: 6px;
}

.cont .content {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}
.cont .content img{
    width: 100%;
    height: auto!important;
}

.cont .content p {
    margin-bottom: 8px;
}

/* ===== 上下篇 ===== */
.p-d {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 16px 0;
    margin-top: 12px;
    border-top: 1px solid #eee;
}

.p-d li {
    font-size: 13px;
    color: #666;
}

.p-d li a {
    color: #1a3a6b;
    text-decoration: none;
}

.p-d li a:hover {
    color: #d40000;
    text-decoration: underline;
}

/* ===== 热门车型 ===== */
.h-tj {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.h-tj h3 {
    font-size: 18px;
    color: #1a3a6b;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 16px;
    grid-column: 1 / -1;
}

.h-tj li {
    list-style: none;
}

.h-tj li a {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.h-tj li a:hover {
    border-color: #1a3a6b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.h-tj li a img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
}

.h-tj li a h4 {
    font-size: 14px;
    color: #1a3a6b;
    margin: 8px 0 0;
}

/* ===== 响应式 ===== */
@media (max-width: 820px) {
    .view .left {
        flex: 1 1 100%;
    }
    .view .right {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .view .left {
        flex: 1 1 100%;
        min-width: auto;
    }
    .view .right {
        flex: 1 1 100%;
        min-width: auto;
    }
    .mySwiper2 {
        height: 280px;
    }
    .mySwiper {
        height: 60px;
    }
    .view .right h1 {
        font-size: 22px;
    }
    .price-main b {
        font-size: 22px;
    }
    .car-spec td {
        padding: 10px 6px;
        font-size: 14px;
    }
    .car-spec .spec-value {
        font-size: 16px;
    }
    .t-info .tel p {
        font-size: 18px;
    }
    .h-tj {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-d {
        flex-direction: column;
        gap: 6px;
    }
    .t-info {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .t-info .form .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    /* 导航移动端 */
    .p-t {
        gap: 8px;
        padding: 14px 0 12px;
    }
    .p-t dd a {
        padding: 8px 18px;
        font-size: 14px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .view {
        padding: 12px;
    }
    .mySwiper2 {
        height: 200px;
    }
    .mySwiper {
        height: 45px;
    }
    .view .right h1 {
        font-size: 18px;
    }
    .price-main b {
        font-size: 18px;
    }
    .car-spec td {
        padding: 8px 4px;
        font-size: 12px;
    }
    .car-spec .spec-value {
        font-size: 14px;
    }
    .t-info {
        flex-direction: column;
        align-items: stretch;
    }
    .t-info .form .btn {
        text-align: center;
        padding: 10px 20px;
        font-size: 15px;
    }
    .t-info .tel p {
        font-size: 16px;
    }
    .h-tj {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .h-tj li a img {
        height: 80px;
    }
    /* 导航移动端更小 */
    .p-t {
        gap: 6px;
        padding: 10px 0 10px;
        justify-content: center;
    }
    .p-t dd a {
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 16px;
    }
}
/* ===== 底部视图样式（覆盖） ===== */
.p-right .view {
    border: 1px solid #eee;
    padding: 5px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.p-right .view .left {
    width: calc(50% - 15px);
    cursor: pointer;
}

.p-right .view .left .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-right .view .left .mySwiper2 {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
}

.p-right .view .left .mySwiper2 .swiper-slide {
    width: 100%;
    height: 100%;
}

.p-right .view .left .mySwiper {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    padding: 8px 0;
    box-sizing: border-box;
}

.p-right .view .left .mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

.p-right .view .left .mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-right .view .left .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1a3a6b;
}

.p-right .view .right {
    width: calc(50% - 25px);
    margin-top: 3%;
}

.p-right .view .right h1 {
    font-size: 26px;
    margin: 10px 0px;
    border-bottom: 1px solid #eee;
    line-height: 2;
}

.p-right .view .right .info {
    font-size: 18px;
    border-bottom: 1px solid #eee;
    line-height: 3;
    padding: 5px 0;
    overflow: hidden;
}

.p-right .view .right .info b {
    font-size: 26px;
    color: #e60212;
}

.p-right .view .right .info dl {
    display: flex;
    text-align: center;
    justify-content: space-around;
    border: 1px solid gray;
    border-right: none;
    font-size: 16px;
}

.p-right .view .right .info dl dd {
    flex-grow: 1;
    border-right: 1px solid gray;
}

.p-right .view .right .info dl dd em {
    display: block;
    font-style: normal;
    border-top: 1px solid gray;
}

.p-right .view .right .text {
    display: flex;
    padding: 15px 0;
}

.p-right .view .right .text i {
    font-size: 48px;
    color: #e60212;
    margin: 0px 15px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.p-right .view .right .text h4 {
    font-size: 14px;
}

.p-right .view .right .text p {
    font-size: 28px;
    font-weight: bold;
    color: #e60212;
}

.p-right .view .right .t-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.p-right .view .right .t-info .form {
    display: block;
}

.p-right .view .right .t-info .form a {
    display: inline-block;
    background: #e60212;
    color: #fff;
    padding: 10px 30px;
    text-align: center;
    border-radius: 6px;
    font-size: 16px;
}

/* ===== 只针对移动端修改 ===== */
@media (max-width: 820px) {
    .p-right .view .left {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .p-right .view .right {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 0;
    }
    .p-right .view .left .mySwiper2 {
        height: 350px !important;
    }
    .p-right .view .left .mySwiper {
        height: 75px !important;
    }
    .p-right .view {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .p-right .view .left .mySwiper2 {
        height: 280px !important;
    }
    .p-right .view .left .mySwiper {
        height: 65px !important;
    }
    .p-right .view {
        padding: 0px;
    }
    .p-right .view .right h1 {
        font-size: 20px;
    }
    .p-right .view .right .info {
        font-size: 15px;
    }
    .p-right .view .right .info b {
        font-size: 22px;
    }
    .p-right .view .right .t-info .form a {
        padding: 8px 20px;
        font-size: 14px;
    }
}