/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.5;
    font-size: 0.32rem;
    margin-top: -198px;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input,
button {
    border: none;
    outline: none;
    font-family: inherit;
}

/* 头部导航 */
header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    position: relative;
    background: #fff !important;
}

.nav .left img {
    height: 0.8rem;
}

.nav .right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav .span1 {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #333;
    position: relative;
}

.nav .span1::before,
.nav .span1::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    left: 0;
}

.nav .span1::before {
    top: -0.2rem;
}

.nav .span1::after {
    bottom: -0.2rem;
}

.navlist {
    position: fixed;
    display: none;
    top: 55px;
    right: 0;
    width: 60%;
    height: 50%;
    background-color: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 1.2rem;
}

.navlist.active {
    right: 0;
}

.navlist ul li {
    border-bottom: 1px solid #f5f5f5;
}

.navlist ul li a {
    display: block;
    padding: 0.16rem 0.5rem;
    font-size: 0.3rem;
}

.navlist ul li a.active {
    color: #e63946;
}

/* 标签页导航 */
.tabs {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}

.tabs ul {
    display: flex;
    white-space: nowrap;
}

.tabs ul li {
    padding: 0.3rem 0.4rem;
    position: relative;
}

.tabs ul li a {
    font-size: 0.34rem;
    color: #666;
}

.tabs ul li.active a {
    color: #e63946;
    font-weight: 500;
}

.tabs ul li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.04rem;
    background-color: #e63946;
}

/* 轮播图 */
.banner {
    width: 100%;
    overflow: hidden;
    display: none;
}

.swiper {
    width: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

.swiper-slide img {
    width: 100%;
    height: auto;
}

.swiper-pagination {
    position: absolute;
    bottom: 0.2rem;
    left: 0;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    display: inline-block;
    width: 0.16rem;
    height: 0.16rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 0.05rem;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
}

/* 介绍区域 */
.jieshao {
    background-color: #fff;
    padding: 0.3rem;
    margin-bottom: 0.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jieshao .left .title {
    font-size: 0.4rem;
    font-weight: bold;
    color: #1d3557;
    margin-bottom: 0.15rem;
}

.jieshao .price {
    display: flex;
    align-items: center;
}

.jieshao .price .s1 {
    color: #999;
    margin-right: 0.15rem;
}

.jieshao .price .s2 {
    color: #e63946;
    font-size: 0.36rem;
    font-weight: bold;
}

.jieshao .price .s4 {
    margin-left: 0.2rem;
    background-color: #f0f9f0;
    color: #36b37e;
    font-size: 0.24rem;
    padding: 0.05rem 0.15rem;
    border-radius: 0.2rem;
}

.jieshao .right {
    text-align: right;
}

.jieshao .right .p1 {
    font-size: 0.34rem;
    font-weight: 500;
    color: #1d3557;
    margin-bottom: 0.1rem;
}

.jieshao .right .p2 {
    font-size: 0.28rem;
    color: #666;
}

/* 详情内容区 */
.details {
    padding: 0 0.2rem;
}

.box {
    background-color: #fff;
    border-radius: 0.15rem;
    padding: 0.35rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.box .title {
    font-size: 0.38rem;
    font-weight: bold;
    color: #1d3557;
    padding-bottom: 0.25rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid #f5f5f5;
}

.box .c-title {
    font-size: 0.38rem;
    font-weight: bold;
    color: #1d3557;
    padding-bottom: 0.25rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid #f5f5f5;
}

/* 费率说明等列表 */
.list .left {
    font-size: 0.34rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}

.list ul li {
    flex: 1;
    min-width: 45%;
    background-color: #f9fafb;
    padding: 0.25rem;
    border-radius: 0.1rem;
    display: flex;
    align-items: center;
}

.list ul li img {
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.2rem;
}

.list ul li span {
    color: #e63946;
    font-weight: 500;
    margin-left: 0.1rem;
}

/* 产品参数 */
.canshu ul {
    margin-bottom: 0;
}

.canshu ul li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
}

.canshu ul li:last-child {
    border-bottom: none;
}

.canshu ul li b {
    color: #666;
    min-width: 1.6rem;
}

/* 产品详情文章 */
.xiangqing article {
    font-size: 0.32rem;
    line-height: 1.8;
}

.xiangqing article p {
    margin-bottom: 0.3rem;
}

.xiangqing article strong {
    font-weight: bold;
    color: #1d3557;
}

.xiangqing article ul,
.xiangqing article ol {
    margin-left: 0.5rem;
    margin-bottom: 0.3rem;
}

.xiangqing article ul li,
.xiangqing article ol li {
    margin-bottom: 0.15rem;
}

.xiangqing article img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0.3rem auto;
    display: block;
    border-radius: 0.1rem;
}

/* 咨询办理表单 */
.zxbl h2 {
    font-size: 0.34rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.zxbl form ul {
    margin-bottom: 0.3rem;
}

.zxbl form ul li {
    margin-bottom: 0.25rem;
}

.zxbl form ul li div {
    font-size: 0.32rem;
    margin-bottom: 0.1rem;
    display: flex;
    align-items: center;
}

.zxbl form ul li div i {
    color: #e63946;
    margin-left: 0.1rem;
}

.zxbl form ul li input {
    width: 100%;
    height: 1rem;
    padding: 0 0.3rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.1rem;
    font-size: 0.32rem;
}

.zxbl .tags {
    color: #999;
    font-size: 0.28rem;
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

.zxbl form button {
    width: 100%;
    height: 1.1rem;
    background-color: #e63946;
    color: #fff;
    font-size: 0.36rem;
    border-radius: 0.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.zxbl form button:hover {
    background-color: #d62839;
}

/* 相关文章 */
.about .newList ul {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.about .newList ul li a {
    display: flex;
    gap: 0.25rem;
}

.about .newList ul li img {
    width: 25%;
    height: auto;
    border-radius: 0.1rem;
    object-fit: cover;
}

.about .newList .con {
    flex: 1;
    overflow: hidden;
}

.about .newList .con .p1 {
    font-size: 0.32rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about .newList .con .p2 {
    font-size: 0.26rem;
    color: #666;
    margin-bottom: 0.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about .newList .con .p3 {
    display: flex;
    justify-content: space-between;
    font-size: 0.24rem;
    color: #999;
}

.about .newList .con .p3 span:first-child {
    background-color: #f1f5f9;
    padding: 0 0.1rem;
    border-radius: 0.05rem;
}

.about .newList{
    margin-bottom: 60px;
}

/* 底部导航 */
footer .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    z-index: 90;
    height: auto;
}

footer .footer ul {
    display: flex;
    justify-content: space-around;
}

footer .footer ul li {
    flex: 1;
    text-align: center;
    padding: 0.2rem 0;
    height: 65px;
}

footer .footer ul li img {
    width: 0.5rem;
    height: 0.5rem;
    margin-bottom: 0.1rem;
}

footer .footer ul li p {
    font-size: 0.24rem;
    color: #666;
}

footer .footer ul li.active p {
    color: #e63946;
}

footer .footer ul li:nth-child(3) {
    position: relative;
        top:  -0.63rem;
}

footer .footer ul li:nth-child(3) img {
    width: 1.2rem;
    height: 1.2rem;
    margin-bottom: 0.05rem;
}

/* 返回按钮 */
.sy_back {
    position: fixed;
    bottom: 2rem;
    right: 0.3rem;
    width: 1rem;
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 80;
}

.sy_back img {
    width: 0.4rem;
    height: 0.4rem;
}

/* 适配不同屏幕 */
@media screen and (max-width: 320px) {
    html {
        font-size: 42.67px !important;
    }
}

@media screen and (min-width: 321px) and (max-width: 375px) {
    html {
        font-size: 50px !important;
    }
}

@media screen and (min-width: 376px) and (max-width: 414px) {
    html {
        font-size: 55.2px !important;
    }
}

@media screen and (min-width: 415px) and (max-width: 768px) {
    html {
        font-size: 64px !important;
    }
}