/* Shared styles for Nuna AquaClean product detail pages (2026) */

/* Banner 750×508 assets; img cover-fills the 6.7rem carousel. */
.pagebox > .swiper-container {
    overflow: hidden;
    background: #fff;
}

.banner.swiper-wrapper .swiper-slide {
    height: 100%;
    background: #fff;
}

.banner.swiper-wrapper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

/*
 * 详情页版式对齐 /bathroom/floordrain1：
 * 产品介绍→技术参数 = 白底黑字；图文介绍 = 独立深色底；同类推荐 = 回白底。
 * FloorSmart / SmartWallhungToilet 聚合页不加 .pagebox-detail，保持原深色。
 */
.pagebox-detail {
    background-color: #fff;
}

.pagebox-detail > .tcintro:not(.pro-features) > .tcbottomtxt_content {
    color: #666666;
    min-height: auto;
}

/* 产品介绍 / 型号 / 供货范围 / 配件 / 技术参数：白底，结构对齐 .nature */
.pro-nature {
    width: 8.453333rem;
    margin: 0 auto;
    padding: 0.2rem 0 0.6rem;
    background: #fff;
    color: #000;
}

.tcintro.pro-nature {
    width: 8.453333rem;
}

.pro-nature-block {
    margin-bottom: 0.5rem;
    overflow: auto;
}

.pro-nature-title {
    display: inline-block;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.36rem;
    line-height: 0.8rem;
    color: #000;
    font-family: FZLTCHJW;
}

.pro-nature-box {
    width: 100%;
    font-size: 0.3rem;
    line-height: 0.8rem;
    color: #000;
}

.pro-nature-box div {
    width: 100%;
    display: block;
    float: none;
}

.pro-nature-box div.note {
    margin-top: 0.2rem;
    font-size: 0.24rem;
    line-height: 0.42rem;
    color: #707070;
}

.pro-nature .protable {
    width: 100%;
    margin: 0.3rem 0 0;
}

/* 白底技术参数表 */
.pro-nature .protable table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.pro-nature .protable table,
.pro-nature .protable td {
    border: 0.01rem solid #d0d0d0;
    font-size: 0.26rem;
    color: #333;
}

.pro-nature .protable td:first-child {
    color: #000;
    width: 36%;
    white-space: nowrap;
    background: #f7f7f7;
}

.pro-nature .protable tr {
    height: 0.9rem;
}

.protable {
    width: 8rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0.5rem auto 0.45rem;
}

.td_tl {
    padding: 0.15rem 0.2rem;
    text-align: left;
}

/* 图文介绍：独立深色底（Nuna 金配色），通栏覆盖 tcintro 默认 9rem */
.pro-features,
.tcintro.pro-features {
    width: 10rem;
    margin: 0 auto;
    padding: 0.4rem 0 0.8rem;
    background: #303030;
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.pro-features > .tcintro {
    width: 9rem;
}

.pro-features .pro_img_tctxt {
    color: #AF9272;
}

.pro-features .tcbottomtxt_content {
    color: #cccccc;
}

/* 深色区内参数表（Vella 分档等） */
.pro-features .protable table {
    width: 100%;
    border-collapse: collapse;
    background: #3a3a3a;
}

.pro-features .protable table,
.pro-features .protable td {
    border: 0.01rem solid rgba(175, 146, 114, 0.55);
    font-size: 0.26rem;
    color: #e8e8e8;
}

.pro-features .protable td:first-child {
    color: #AF9272;
    width: 32%;
    white-space: nowrap;
    background: transparent;
}

.pro-features .protable tr {
    height: 0.9rem;
}

/* 同类产品推荐：与 /bathroom/floordrain1（product.css / floordrain.css）一致 */
.pagebox-detail .fd-same {
    width: 10.0rem;
    margin: 0.4rem auto 1.2rem;
    padding: 0;
    background: #fff;
}

.pagebox-detail .fd-same-title {
    height: 1.066667rem;
    line-height: 1.066667rem;
    margin-left: 0.8rem;
    font-family: FZLTCHJW;
    color: #000;
}

.pagebox-detail .fd-same-list {
    margin: 0 0.666667rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.pagebox-detail .fd-same-list > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 0.266667rem;
    color: #707070;
}

.pagebox-detail .fd-same-zh {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.973333rem;
    height: 2.826667rem;
    border: #ccc solid 0.013333rem;
    background: #fff;
    box-sizing: border-box;
}

.pagebox-detail .fd-same-zh > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #707070;
}

.pagebox-detail .fd-same-zh > a > img {
    width: 2.266667rem;
    height: 2.266667rem;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* 搭配产品推荐：结构/样式对齐 /bathroom/acantoturboflush（product.css） */
.pagebox-detail .fd-dapei.nature {
    width: 8.453333rem;
    height: auto;
    line-height: 0.8rem;
    margin: 0 auto 0.5rem;
    overflow: auto;
    background: #fff;
}

.pagebox-detail .fd-dapei .dapei-title {
    color: #000;
    width: 100%;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.3rem;
    font-family: FZLTCHJW;
}

.pagebox-detail .fd-dapei .same-list {
    width: 100%;
    margin: 0;
    color: #757575;
    overflow: hidden;
}

.pagebox-detail .fd-dapei .same-list > ul {
    width: 100%;
    height: auto;
    min-height: 5.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
}

.pagebox-detail .fd-dapei .same-list li {
    width: 45%;
    height: auto;
    min-height: 5.2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.pagebox-detail .fd-dapei .abs-w {
    width: 100%;
    height: auto;
    min-height: 5.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    color: #757575;
}

.pagebox-detail .fd-dapei .abs-w img {
    height: 2rem;
    width: auto;
    display: block;
}

.pagebox-detail .fd-dapei .abs_no {
    bottom: 0;
    text-align: center;
    width: 100%;
    line-height: 0.45rem;
}

.pagebox-detail .fd-dapei .fd-dapei-note {
    margin: 0.3rem 0 0;
    font-size: 0.24rem;
    line-height: 0.42rem;
    color: #707070;
    text-align: justify;
}

/* FloorSmart / SmartWallhungToilet hub — keep Geberit dark + gold; refine rhythm & hierarchy */
.fs-page-title {
    width: 100%;
    margin: 0;
    padding: 1rem 0.7rem 0.28rem;
    box-sizing: border-box;
    font-size: 0.44rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #AF9272;
    font-family: FZLTCHJW;
    font-weight: normal;
    text-align: center;
}

.fs-lead {
    width: 84% !important;
    padding: 0.18rem 8% 0.1rem !important;
    font-size: 0.34rem !important;
    line-height: 0.58rem !important;
    color: #d4d4d4 !important;
    text-align: justify;
    text-justify: inter-ideograph;
}

.fs-section-title {
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.04em;
    padding: 0.12rem 0 0.55rem;
}

.fs-highlights,
.fs-models {
    margin-top: 0.9rem;
}

.fs-highlights > .fs-section-title {
    padding-bottom: 0.2rem;
}

/* 需压过 swiper.min.css 的 .swiper-container { margin: 0 auto } */
.swiper-container.fs-highlight {
    width: 9rem;
    height: 5.06rem;
    margin: 0.5rem auto 0;
    overflow: hidden;
    background: #262626;
}

.fs-highlight .swiper-slide {
    height: 100%;
    background: #262626;
}

.fs-highlight .swiper-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fs-caption {
    background-color: #3d3d3d;
}

.fs-caption .tcbottomtxt_title {
    color: #AF9272;
    font-size: 0.36rem;
    padding: 0.36rem 0 0.14rem;
}

.fs-caption .tcbottomtxt_content {
    min-height: 0;
    width: 8.2rem;
    padding: 0 0.4rem 0.36rem;
    font-size: 0.32rem;
    line-height: 0.52rem;
    color: #c8c8c8;
}

.fs-models > .fs-section-title {
    padding-bottom: 0.48rem;
}

.fs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.1rem 0.08rem 1.2rem;
    gap: 0.28rem 0.28rem;
}

/* 深炭灰底衬白产品（对齐选型参考图），避免浅底与产品白底糊在一起 */
.fs-card {
    width: calc(50% - 0.14rem);
    text-align: center;
    background: #404040;
    padding: 0.48rem 0.22rem 0.44rem;
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.fs-card a {
    color: #e8e8e8;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.fs-card a:focus-visible {
    outline: 1px solid #AF9272;
    outline-offset: 0.06rem;
}

.fs-card img,
.fs-card .fs-card-img {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto 0.28rem;
    background: transparent;
}

.fs-card-name {
    display: block;
    font-size: 0.32rem;
    line-height: 1.35;
    font-family: FZLTCHJW;
    color: #f0f0f0;
    letter-spacing: 0.02em;
}

.fs-card .sub {
    font-size: 0.24rem;
    color: #b0b0b0;
    margin-top: 0.1rem;
    line-height: 1.35;
}

.fs-card:hover,
.fs-card:active {
    background: #4a4a4a;
    box-shadow: inset 0 0 0 1px rgba(175, 146, 114, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .fs-card {
        transition: none;
    }
}

/*
 * Vella Classic / Comfort — 与 Nuna Classics 的 .cbox1_option 同结构。
 * 白底详情页加深金色，保证对比；交互态与 Classics 一致。
 */
.pagebox-detail .cbox1_option {
    color: #8B6F4E;
}

.pagebox-detail .cbox1_option > p > a {
    color: #8B6F4E;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pagebox-detail .cbox1_option > p > a:hover {
    color: #6F563C;
}

.pagebox-detail .cbox1_option > p > a:focus-visible {
    outline: 0.02rem solid #8B6F4E;
    outline-offset: 0.04rem;
}

.pagebox-detail .cbox1_option .option_label {
    border-bottom-color: #8B6F4E;
}

.pagebox-detail .cbox1_option > p:last-child {
    border-left-color: #8B6F4E;
}

@media (prefers-reduced-motion: reduce) {
    /* 不可对 .swiper-wrapper 设 transition:none：Swiper 靠 wrapper 的
       transitionend 把 animating 置回 false，!important 会盖掉 inline
       transition，导致箭头只能点一次。轮播减速交给各页 speed:0。 */
    .pagebox-detail .cbox1_option > p > a {
        transition: none;
    }
}

/*
 * Vella 功能对比：还原 compare.jpg 三列斑马纹表。
 * 提高选择器优先级，避开 nuna20230426 里 `td` 全局边框。
 */
.pro-features .vella-cmp {
    width: 92%;
    margin: 0 auto 0.4rem;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.pro-features .vella-cmp th,
.pro-features .vella-cmp td {
    border: 0;
    margin: 0;
    padding: 0.18rem 0.08rem;
    font-size: 0.28rem;
    line-height: 1.4;
    font-family: FZLTHJW, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-style: normal !important;
    font-weight: normal !important;
    font-synthesis: none;
    color: #4a4a4a;
    background: #fff;
    text-align: center;
    vertical-align: middle;
}

.pro-features .vella-cmp thead th {
    padding: 0.28rem 0.08rem 0.2rem;
    font-size: 0.3rem;
    color: #4a4a4a;
}

.pro-features .vella-cmp .vella-cmp-feat,
.pro-features .vella-cmp tbody th {
    width: 46%;
    padding-left: 0.36rem;
    text-align: left;
}

.pro-features .vella-cmp thead th:nth-child(2),
.pro-features .vella-cmp thead th:nth-child(3),
.pro-features .vella-cmp td {
    width: 27%;
}

.pro-features .vella-cmp tbody tr:nth-child(odd) th,
.pro-features .vella-cmp tbody tr:nth-child(odd) td {
    background: #eeeeee;
}

.pro-features .vella-cmp.is-comfort thead th:nth-child(2),
.pro-features .vella-cmp.is-classic thead th:nth-child(3) {
    color: #AF9272;
    background: #f4ece3;
    box-shadow: inset 0 0.04rem 0 #AF9272;
}

.pro-features .vella-cmp.is-comfort tbody td:nth-child(2),
.pro-features .vella-cmp.is-classic tbody td:nth-child(3) {
    background: #f7f1ea;
    color: #AF9272;
}

.pro-features .vella-cmp.is-comfort tbody tr:nth-child(odd) td:nth-child(2),
.pro-features .vella-cmp.is-classic tbody tr:nth-child(odd) td:nth-child(3) {
    background: #eee4d8;
}

.pro-features img.pro_img_show {
    image-rendering: auto;
}
