body{
    background-color: #F7F9FA;
}
#tinet-chat-visitor{
    display: none;
}
.n-page-container{
    width: 1400px;
    margin: 0 auto;
}
.search-box{
    margin: 30px auto 60px;
    width: 100%;
    display: flex;
    gap: 21px;
}
.n-question-box{
    width: 332px;
    background-color: #FFFFFF;
}
.n-product-list{
    width: calc(100% - 353px);
}
.n-question-title{
    color: #2A2B2E;
    font-size: 22px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E3E5E6;
    padding: 0 20px;
}
.n-question-title span{
    color: #6A6B6D;
    font-size: 14px;
    line-height: 150%; /* 21px */
}
.n-question-title img{
    margin-left: 10px;
}
.n-product-title{
    color:#2A2B2E;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%; /* 30px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}
.n-product-title-bar{
    display: flex;
    gap: 16px;
    align-items: center;
}
.n-product-title span{
    color: #6A6B6D;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%; /* 21px */
}
.sort-btn{
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(----E3E5E6, #E3E5E6);
    cursor: pointer;
}
.sort-btn-select{
    background: var(----E4E8EB, #E4E8EB);
}
.n-product-cards{
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}

/* 列表视图样式 */
.n-product-cards.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.n-product-cards.list-view .n-product-card {
    height: auto;
    min-height: 200px;
}

.n-product-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

/* 卡片视图中的垂直布局 */
.n-product-cards:not(.list-view) .n-product-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    height: auto;
}

.n-product-cards.list-view .n-product-img {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    margin: 0;
}

.n-product-cards.list-view .n-product-img img {
    width: 200px;
    height: auto;
    border-radius: 4px;
}

/* 卡片视图中的图片样式 */
.n-product-cards:not(.list-view) .n-product-img {
    width: 200px;
    height: auto;
    margin: 0;
}

.n-product-cards:not(.list-view) .n-product-img img {
    width: 200px;
    height: auto;
    border-radius: 4px;
}

.n-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px;
}

/* 卡片视图中的信息区域样式 */
.n-product-cards:not(.list-view) .n-product-info {
    height: auto;
    width: 100%;
}

.n-product-cards.list-view .n-product-name {
    text-align: left;
    overflow:unset;
    margin-top: 4px;
}

.n-product-cards.list-view .n-product-desc {
    text-align: left;
    margin-bottom: 12px;
    font-size: 16px;
    overflow:unset
}

.n-product-cards.list-view .n-product-features {
    flex: 1;
    margin: 0 0 12px 0;
}

.n-product-cards.list-view .n-product-link {
    display: none;
    margin: 0;
    position: absolute;
    right: 24px;
    top: 24px;
}
.n-product-cards.list-view .new-tag{
    position: absolute;
    top: 24px;
    left: 24px;
}
/* 卡片视图中的链接样式 */
.n-product-card{
    background-color: #FFFFFF;
    border-radius: 4px;
    padding: 24px;
    height: 396px;
    position: relative;
}
.new-tag{
    border-radius: 4px;
    background: #FFE8E8;
    color: var(----E60039, #E60039);
    font-size: 14px;
    line-height: 150%; /* 21px */
    padding: 4px 8px;
    width: fit-content;
}
.n-product-img{
    margin: 12px 0 0 0;
    text-align: center;
}
.n-product-img img{
    width: 200px;
}
.n-product-name{
    overflow: hidden;
    color: #292929;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%; /* 30px */
    display: -webkit-box;             /* 弹性伸缩盒子 */
    -webkit-line-clamp: 1;            /* 限制显示 2 行 */
    -webkit-box-orient: vertical;     /* 垂直排列 */
    text-overflow: ellipsis;  
    margin-bottom: 4px; 
}
.n-product-desc {
    overflow: hidden;
    color: #7D7D7D;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%; /* 21px */
    display: -webkit-box;             /* 弹性伸缩盒子 */
    -webkit-line-clamp: 2;            /* 限制显示 2 行 */
    -webkit-box-orient: vertical;     /* 垂直排列 */
    text-overflow: ellipsis;   
           /* 超出部分省略号 */
    margin-bottom: 8px;
}

.n-product-features {
    margin: 8px 0;
    padding: 0;
    list-style: none;
    display: none; /* 默认隐藏 */
}

/* 列表视图中显示features */
.n-product-cards.list-view .n-product-features {
    display: block;
    flex: 1;
    margin: 0 0 12px 0;
}

.n-product-features li {
    position: relative;
    list-style-type: disc;
    margin-left: 20px;
}



.n-product-features li:last-child {
    margin-bottom: 0;
}

/* 列表视图中features样式调整 */
.n-product-cards.list-view .n-product-features li {
    font-size: 14px;
    line-height: 150%;
    color: #7D7D7D;
}

/* 问题展开/收起样式 - 使用step结构 */
.n-question-item {
    position: relative;
    padding-left: 52px;
    margin-bottom: 24px;
    display: none;
}

.n-question-item .step-header {
    display: flex;
    align-items: center;
    min-height: 30px;
    color: #2A2B2E;
    padding: 15px 20px 15px 0;
    font-size: 16px;
}

.n-question-item .step-title {
    font-size: 16px;
    font-weight: 500;
    flex-grow: 1;
    transition: color 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.n-question-item .step-title .expand-arrow {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
    margin-left: 8px;
    transform: rotate(180deg);
}

.n-question-item .step-title .expand-arrow.expanded {
    transform: rotate(0deg);
}

.n-question-item .step-icon {
    position: absolute;
    left: 20px;
    top: 13.5px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
}

.n-question-item .step-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease;
}

.n-question-item .step-icon .number {
    opacity: 1;
    background: #FFE8E8;
    color: #E60039;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.n-question-item .step-icon .check {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(-20deg);
    color: #ef4444;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.n-question-item .step-icon.completed .number {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(20deg);
}

.n-question-item .step-icon.completed .check {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
}

/* 虚线 */
.n-question-item::before {
    content: '';
    position: absolute;
    left: 31.5px;
    top: 36px;
    width: 0;
    border-left: 1px dashed #e0e0e0;
    transition: height 0.5s ease;
    z-index: 1;
    height: 0;
}

.n-question-item.show-line::before {
    height: 100%;
}

/* 全部完成后前两步虚线，最后一步无虚线 */
.n-question-item.all-completed::before {
    border-left: 1px dashed #e0e0e0;
    height: 100%;
}

.n-question-item.all-completed:last-of-type::before {
    border-left: none;
    height: 0;
}

.n-question-item.active .step-header {
    color: #2A2B2E;
}

.n-question-item .step-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    padding-top: 0;
}

.n-question-item.active .step-content,
.n-question-item.expanded .step-content {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.n-question-item .radio-option {
    display: block;
    padding: 15px 0;
    cursor: pointer;
    font-size: 16px;
    color: #6A6B6D;
}

.n-question-item .radio-option input {
    display: none;
}

.n-question-item .radio-option label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.n-question-item .radio-option label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    transition: all 0.2s;
}

.n-question-item .radio-option label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    transition: transform 0.2s;
}

.n-question-item .radio-option input:checked+label::before {
    border-color: #ef4444;
}

.n-question-item .radio-option input:checked+label::after {
    transform: translateY(-50%) scale(1);
}
.n-question-list{
    padding-top: 16px;
}
.n-zixun{
    margin: 20px 20px;
    text-align: center;
    display: none;
}
.n-btn{
    display: flex;
    width: fit-content;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    border: 1px solid #E60039;
    background: #FFF;
    backdrop-filter: blur(2.5px);
    color:#DA0030;
    font-size: 16px;
    line-height: 150%; /* 24px */
    width: 230px;
    margin:0 auto 16px;
    cursor: pointer;
}
.n-btn-red{
    background: #E60039;
    color: #FFF;
}
.n-btn:hover{
    background: #DA0030;
    color: #FFF;
}
/* zixun-2 按钮 hover 时，内部 svg/img 变白 */
#zixun-2 .n-btn img{
    transition: filter 0.2s ease;
}
#zixun-2:hover .n-btn img{
    filter: brightness(0) invert(1);
}
.n-product-link{
    display: none;
    text-align: center;
    color: #E60039;
    font-size: 14px;
    line-height: 150%; /* 21px */
    position: relative;
    width: fit-content;
    margin: 14px auto 0;
    align-items: center;
}
.n-product-card:hover{
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
}
.n-product-card:hover .n-product-link{
    display: flex;
}
.n-faq-box{
    background-color: #FFFFFF;
    width: 100%;
    margin: 0 auto 60px;
    padding: 0 16px;
}
.faq-title{
    color: #2A2B2E;
    text-align: center;
    font-size: 24px;
    line-height: 150%; /* 36px */
    padding: 32px 0 24px;
}
.faq-desc{
    padding: 0 32px;
    color: #6A6B6D;
    text-align: center;
    font-size: 16px;
    line-height: 42px;
    border-radius: 24px;
    background: #F7F9FA;
    width: fit-content;
    margin: 0 auto 24px;
}
.faq-item{
    padding: 36px;
}
.faq-q{
    padding-left: 38px;
    color: #2A2B2E;
    font-size: 18px;
    line-height: 150%; /* 27px */
    margin-bottom: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-q::before{
    content: "Q";
    color:#6A6B6D;
    font-size: 12px;
    background-color: #F1F3F5;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-item.active .faq-q::before{
    background-color: #E60039;
    color:#FFF;
}
.faq-a{
    padding-left: 38px;
    color:#6A6B6D;
    font-size: 16px;
    line-height: 150%; /* 24px */
    position: relative;
    display: none;
    transition: all 0.3s ease;
}
.faq-a::before{
    content: "A";
    color:#E60039;
    font-size: 12px;
    border: 1px solid #E60039;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.n-page-desc{
    padding: 24px;
    color:#6A6B6D;
    font-size: 14px;
    line-height: 150%; /* 21px */
    background: #FFF;
    width: 100%;
    margin: 0 auto 60px;
}

/* 分页器样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 0;
    padding: 0 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #E5E5E5;
    background: #FFF;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #E60039;
    color: #E60039;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn img {
    width: 16px;
    height: 16px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E5E5E5;
    background: #FFF;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination-page:hover {
    border-color: #E60039;
    color: #E60039;
}

.pagination-page.active {
    background: #E60039;
    border-color: #E60039;
    color: #FFF;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #999;
    font-size: 14px;
}

/* FAQ箭头样式 */
.faq-arrow {
    width: 25px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    transform: rotate(180deg);
}

/* FAQ展开状态 */
.faq-item.active .faq-a {
    display: block;
}

.faq-item.active .faq-arrow {
    transform: rotate(0deg);
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(10000%) hue-rotate(340deg) brightness(0.9) contrast(1.2);
}

/* 右下角咨询弹窗 */
.rj-popup-zixun{
    position: fixed;
    right: 40px;
    bottom: 40px;
    cursor: pointer;
    z-index: 10;
}
.rj-float-popup{
    position: fixed;
    right: 40px;
    bottom: 140px;
    z-index: 10;
    width: 428px;
    height: 160px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 4px;
    /* 动画：初始在右侧外部，进入时滑入，关闭时滑出 */
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}
.rj-float-popup::before,
.rj-float-popup::after{
    content: "";
    position: absolute;
    left: auto;
    right: 35px; /* 靠右35px */
    bottom: -13px; /* 放在下边框外侧 */
    width: 0;
    height: 0;
    pointer-events: none;
}
/* 边框三角（外层，略大一圈做描边） */
.rj-float-popup::before{
    right: 35px;
    bottom: -20px; /* 下移4px */
    border-width: 11px; /* 更大 */
    border-style: solid;
    border-color: #EEEDF2 transparent transparent transparent; /* 下边描边色 */
}
/* 填充三角（内层，白色填充，与卡片背景一致） */
.rj-float-popup::after{
    right: 35px;
    bottom: -18px; /* 与外层对应下移4px */
    border-width: 10px; /* 更大 */
    border-style: solid;
    border-color: #EEEDF2 transparent transparent transparent; /* 填充色与卡片背景一致 */
}
.rj-float-popup.is-visible{
    transform: translateX(0);
    opacity: 1;
}
.rj-popup-close{
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid #FFF;
    background: rgba(106, 107, 109, 0.50);
    color: #ffffff;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
}
.rj-popup-content{
    position: absolute;
    left: 134px; /* 右侧文案区，与左侧插画留白对齐 */
    top: 44px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.rj-popup-text{
    color: #2A2B2E;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
}
.rj-popup-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    border-radius: 24px;
    padding: 12px 32px;
    background: #E60039;
    color: #FFF;
    font-size: 16px;
    cursor: pointer;
    width: fit-content;
}
.rj-popup-cta:hover{
    color: #FFF;
    background: #DA0030;
}
@media (max-width: 768px){
    .rj-float-popup{
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        height: 140px;
    }
    .rj-float-popup::before{ right: 26px; bottom: -19px; border-width: 10px; }
    .rj-float-popup::after{ right: 26px; bottom: -17px; border-width: 9px; }
    .rj-popup-content{
        left: 170px;
        top: 28px;
        right: 12px;
        gap: 10px;
    }
    .rj-popup-text{ font-size: 16px; }
    .rj-popup-cta{ height: 40px; padding: 0 16px; }
}

@media screen and (max-width: 1440px) {
    .n-page-container{
        width: 1200px;
        margin: 0 auto;
    }
}
