/**
 * seedz1 内页样式（Products / About / Application / Contact / Download）
 */

body.seedz1-page.seedz1-page-inner .seedz1-main a {
    color: inherit;
}

/* 内页顶栏广告图（Winsen 分类页风格：宽幅工业蓝底 + 产品图，无文字；首页 Hero 不在此） */
.seedz1-inner-page-banner {
    width: 100%;
    overflow: hidden;
    background: #061428;
    line-height: 0;
}

.seedz1-inner-page-banner__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 767px) {
    .seedz1-inner-page-banner__img {
        max-height: 200px;
        object-position: 72% center;
    }
}

.seedz1-page-hero {
    background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%);
    border-bottom: 1px solid #e8edf3;
}

/* 应用详情：顶栏 hero 与正文区之间留白 20px */
.seedz1-page-hero + .seedz1-application-detail {
    margin-top: 20px;
}

.seedz1-breadcrumb a:hover {
    color: var(--primary, #1c6bae) !important;
}

/* 产品详情图库（主图相对原 520px 基准为 77%，右侧参数区） */
.seedz1-product-detail-media {
    width: 100%;
    --seedz1-gallery-original-max: 520px;
    --seedz1-gallery-main-scale: 0.77;
    --seedz1-gallery-main-max: calc(var(--seedz1-gallery-original-max) * var(--seedz1-gallery-main-scale));
}

.seedz1-product-media-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.seedz1-product-media-row__gallery {
    flex: 0 0 auto;
    width: var(--seedz1-gallery-main-max);
    max-width: 100%;
    min-width: 0;
}

.seedz1-product-media-row__specs {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.25rem 0 0;
}

.seedz1-product-media-specs__title {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.seedz1-product-media-specs__list {
    margin: 0;
}

.seedz1-product-media-specs__row {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    gap: 0.35rem 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.seedz1-product-media-specs__row:last-child {
    border-bottom: 0;
}

.seedz1-product-media-specs__row dt {
    margin: 0;
    color: #6c757d;
    font-weight: 500;
}

.seedz1-product-media-specs__row dd {
    margin: 0;
    color: #212529;
    word-break: break-word;
}

.seedz1-product-media-specs__datasheets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.seedz1-product-datasheet-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: #d63939;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.seedz1-product-datasheet-link:hover {
    color: #b02a2a;
    background-color: rgba(214, 57, 57, 0.08);
}

.seedz1-product-datasheet-link .fa-file-pdf {
    font-size: 1.125rem;
    line-height: 1;
}

.seedz1-product-media-specs__actions {
    margin-top: 0.85rem;
}

.seedz1-product-gallery {
    width: 100%;
    max-width: var(--seedz1-gallery-main-max);
}

.seedz1-product-gallery__viewer {
    position: relative;
    width: 100%;
    max-width: var(--seedz1-gallery-main-max);
}

.seedz1-product-gallery__zoom-wrap {
    position: relative;
    width: 100%;
    max-width: var(--seedz1-gallery-main-max);
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #e3e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: crosshair;
}

.seedz1-product-gallery__main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-drag: none;
}

.seedz1-product-gallery__lens {
    position: absolute;
    left: 0;
    top: 0;
    width: 84px;
    height: 84px;
    border: 1px solid rgba(28, 107, 174, 0.55);
    background: rgba(28, 107, 174, 0.12);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.seedz1-product-gallery__zoom-pane {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 52%;
    height: 52%;
    border: 1px solid #e3e7eb;
    border-radius: 6px;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 3;
    pointer-events: none;
}

.seedz1-product-gallery__zoom-pane.is-visible {
    display: block;
}

.seedz1-product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    width: 100%;
    max-width: var(--seedz1-gallery-main-max);
}

.seedz1-product-gallery__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    padding: 3px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.seedz1-product-gallery__thumb:hover,
.seedz1-product-gallery__thumb:focus {
    border-color: #1c6bae;
    outline: none;
}

.seedz1-product-gallery__thumb.is-active {
    border-color: #1c6bae;
    box-shadow: 0 0 0 1px #1c6bae;
}

.seedz1-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.seedz1-product-gallery--empty .seedz1-product-gallery__placeholder {
    aspect-ratio: 1;
    width: 100%;
    max-width: var(--seedz1-gallery-main-max);
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

@media (max-width: 991.98px) {
    .seedz1-product-media-row {
        flex-direction: column;
    }

    .seedz1-product-media-row__gallery,
    .seedz1-product-media-row__specs {
        flex: 1 1 auto;
        width: 100%;
    }

    .seedz1-product-media-row__specs {
        padding-top: 0;
    }

    .seedz1-product-media-row__gallery {
        width: 100%;
        max-width: var(--seedz1-gallery-main-max);
    }

    .seedz1-product-gallery__viewer,
    .seedz1-product-gallery__thumbs,
    .seedz1-product-gallery--empty .seedz1-product-gallery__placeholder {
        width: 100%;
        max-width: var(--seedz1-gallery-main-max);
    }

    .seedz1-product-gallery__zoom-wrap {
        cursor: default;
    }

    .seedz1-product-gallery__zoom-pane,
    .seedz1-product-gallery__lens {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .seedz1-product-media-specs__row {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}

/* 兼容旧类名（列表页等仍可能引用） */
.seedz1-product-detail-img {
    max-width: 100%;
    height: auto;
}

.seedz1-product-list-img {
    background: #f6f8fb;
    padding: 16px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seedz1-product-list-img img {
    max-height: 140px;
    width: auto;
    margin: 0 auto;
}

.seedz1-product-list-card:hover {
    box-shadow: 0 8px 24px rgba(28, 107, 174, 0.12);
    transform: translateY(-2px);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.seedz1-solution-card-img {
    overflow: hidden;
    max-height: 200px;
}

.seedz1-solution-card-img img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.seedz1-solution-card:hover .custom-read-more {
    color: var(--primary, #1c6bae);
}

.seedz1-about-detail {
    background-image: url(/upload/seedz1/image/background-1.jpg);
    background-size: cover;
    background-position: center;
}

.seedz1-download-card {
    border: 1px solid #e8edf3;
    transition: box-shadow 0.2s ease;
}

.seedz1-download-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .seedz1-page-hero h1 {
        font-size: 1.75rem !important;
    }
}

/* 单页富文本：表格边框（与 rich-text-content.css / richTextTableStyles.ts 一致，防止样式未加载） */
.single-page-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin: 0.75em 0;
}

.single-page-content table th,
.single-page-content table td {
    border: 1px solid #ccc;
    padding: 4px 8px;
    vertical-align: top;
}

.single-page-content table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* 单页：富文本 .single-page-content 下一行的公司地址地图 */
.seedz1-company-addr-map {
    width: 100%;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

/* 富文本内历史插入的地图块不再展示（统一在正文下方） */
.single-page-content .seedz1-company-addr-map {
    display: none !important;
}

.seedz1-company-addr-map__canvas {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: 4px;
}

.seedz1-company-addr-map__canvas .mapboxgl-ctrl-logo,
.seedz1-company-addr-map__canvas .mapboxgl-ctrl-attrib {
    display: none !important;
}

/* 应用/选型指南列表 */
.seedz1-application-list__intro {
    max-width: 920px;
    line-height: 1.7;
}

.seedz1-app-detail .seedz1-app-section + .seedz1-app-section {
    border-top: 1px solid #eef2f6;
}

.seedz1-app-detail .seedz1-app-section img {
    display: block;
}

.seedz1-app-card__media img {
    object-fit: cover;
    min-height: 220px;
}

.seedz1-application-card {
    border: 1px solid #e8edf3;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.seedz1-application-card:hover {
    box-shadow: 0 12px 32px rgba(28, 107, 174, 0.12);
    transform: translateY(-2px);
}

.seedz1-application-card__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f7fb;
}

.seedz1-application-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seedz1-application-card__body {
    padding: 1.35rem 1.5rem 1.65rem;
}

.seedz1-application-card__link {
    color: inherit;
}

.seedz1-application-card__desc {
    min-height: 4.5rem;
}

.seedz1-application-card .custom-read-more {
    margin-top: auto;
}

/* 应用列表：Porto 卡片网格（参照 winsen selection-guide） */
.seedz1-application-grid .card {
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.seedz1-application-grid .custom-link-hover-effects:hover .card {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16) !important;
}

.seedz1-application-grid .seedz1-app-card__media {
    overflow: hidden;
}

.seedz1-application-grid .seedz1-app-card__media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.seedz1-application-grid .custom-link-hover-effects:hover .seedz1-app-card__media img {
    transform: scale(1.05);
}

.seedz1-application-grid .seedz1-app-card__cap {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0) 100%);
}

.seedz1-application-grid .seedz1-app-card__cap h4 {
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.seedz1-application-grid .card-body {
    min-height: 168px;
}

.seedz1-application-grid .card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.seedz1-application-grid .custom-view-more .animated-icon {
    flex: 0 0 auto;
    width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

.seedz1-application-grid .custom-link-hover-effects:hover .custom-view-more .animated-icon {
    width: 42px;
    margin-left: 0.75rem;
    opacity: 1;
}

.seedz1-application-detail__hero {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(28, 107, 174, 0.1);
    aspect-ratio: 16 / 10;
    max-height: 420px;
    background-color: #e8edf3;
}

.seedz1-application-detail__hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 应用详情：正文字体与层级（覆盖 Porto text-8/9 + Lora 混用） */
.seedz1-application-detail {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[lang="zh-cn"] .seedz1-application-detail,
html[lang="zh-CN"] .seedz1-application-detail {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

.seedz1-application-detail .single-page-content,
.seedz1-application-detail .seedz1-application-detail__body {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.01em;
}

.seedz1-application-detail .single-page-content p,
.seedz1-application-detail .seedz1-application-detail__body p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.seedz1-application-detail .single-page-content h2,
.seedz1-application-detail .single-page-content h3,
.seedz1-application-detail .single-page-content h4,
.seedz1-application-detail .single-page-content h5,
.seedz1-application-detail .seedz1-application-detail__body h2,
.seedz1-application-detail .seedz1-application-detail__body h3,
.seedz1-application-detail .seedz1-application-detail__body h4,
.seedz1-application-detail .seedz1-application-detail__body h5 {
    font-family: inherit;
    color: #222;
    letter-spacing: 0;
}

.seedz1-application-detail .single-page-content h2,
.seedz1-application-detail .single-page-content h2.text-8,
.seedz1-application-detail .seedz1-application-detail__body h2 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.seedz1-application-detail .single-page-content h3,
.seedz1-application-detail .seedz1-application-detail__body h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
}

.seedz1-application-detail .single-page-content h4,
.seedz1-application-detail .single-page-content h5,
.seedz1-application-detail .single-page-content .featured-box h4,
.seedz1-application-detail .single-page-content .featured-box h5,
.seedz1-application-detail .seedz1-application-detail__body h4,
.seedz1-application-detail .seedz1-application-detail__body h5 {
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.seedz1-application-detail .single-page-content .solution-advantage {
    background-color: #f9f9f9;
    border-left: 4px solid #1c6bae;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* 正文内嵌 section：去掉 Porto 默认灰底与上下边距 */
.seedz1-application-detail .seedz1-application-detail__body section.section,
.seedz1-application-detail .single-page-content section.section {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.seedz1-application-detail .seedz1-application-detail__body section.section .container.pt-4 {
    padding-top: 0 !important;
}

/* 导语段与场景卡片之间的留白（原横幅图位置） */
.seedz1-application-detail .seedz1-application-intro-gap {
    display: block;
    height: 1.5rem;
    margin: 0.5rem 0 2rem;
}

.seedz1-application-detail .seedz1-application-detail__body section .col > p:first-of-type {
    margin-bottom: 0.5rem;
}

/* 应用场景卡片：图在上、标题正下方居中 */
.seedz1-application-detail .featured-boxes-style-5 .row {
    align-items: stretch;
}

.seedz1-application-detail .featured-boxes-style-5 .row > [class*="col-"] {
    display: flex;
    margin-bottom: 1rem;
}

.seedz1-application-detail .featured-boxes-style-5 .featured-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.seedz1-application-detail .featured-boxes-style-5 .featured-box .box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    padding: 0.75rem 0.5rem !important;
    position: static !important;
    top: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.seedz1-application-detail .featured-boxes-style-5 .featured-box .box-content img {
    display: block;
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto 0.75rem !important;
    flex-shrink: 0;
}

.seedz1-application-detail .featured-boxes-style-5 .featured-box .box-content h4,
.seedz1-application-detail .featured-boxes-style-5 .featured-box .box-content h5 {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 0.25rem;
    text-align: center !important;
    line-height: 1.45 !important;
    word-break: keep-all;
}

/* 方案亮点三栏卡：保留 Porto 顶栏色条，整体下移避免顶线被裁切 */
.seedz1-app-detail .seedz1-app-features,
.seedz1-app-detail > .container > .row.mt-2.mb-5 {
    padding-top: 20px;
    overflow: visible;
}

.seedz1-app-detail .seedz1-app-features .featured-box,
.seedz1-app-detail > .container > .row.mt-2.mb-5 .featured-box {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible;
    background: #fff;
    border: 1px solid #ececec;
    border-bottom-color: #dfdfdf;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.seedz1-application-detail .seedz1-app-features .featured-box .box-content,
.seedz1-application-detail .seedz1-app-detail .seedz1-app-features .featured-box .box-content,
.seedz1-application-detail .seedz1-app-detail > .container > .row.mt-2.mb-5 .featured-box .box-content {
    display: block;
    position: relative;
    top: 0 !important;
    text-align: left;
    width: 100%;
    padding: calc(1rem + 20px) 1.5rem 1rem !important;
    border: 0 !important;
    border-top: 4px solid var(--primary, #1c6bae) !important;
    border-radius: 8px;
    background: #fff !important;
    overflow: visible;
}

.seedz1-application-detail .seedz1-app-features .featured-box .box-content h4,
.seedz1-application-detail .seedz1-app-detail .seedz1-app-features .featured-box .box-content h4,
.seedz1-application-detail .seedz1-app-detail > .container > .row.mt-2.mb-5 .featured-box .box-content h4 {
    margin: 0 0 0.5rem !important;
    padding: 0;
    text-align: left !important;
    line-height: 1.45 !important;
}

.seedz1-application-detail .seedz1-app-features .featured-box .box-content p,
.seedz1-application-detail .seedz1-app-detail .seedz1-app-features .featured-box .box-content p,
.seedz1-application-detail .seedz1-app-detail > .container > .row.mt-2.mb-5 .featured-box .box-content p {
    margin-bottom: 0;
}

.seedz1-application-detail .single-page-content ul,
.seedz1-application-detail .single-page-content ol,
.seedz1-application-detail .seedz1-application-detail__body ul,
.seedz1-application-detail .seedz1-application-detail__body ol {
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.seedz1-application-detail .single-page-content li,
.seedz1-application-detail .seedz1-application-detail__body li {
    margin-bottom: 0.35rem;
}

.seedz1-application-detail .single-page-content .post-image {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.seedz1-application-detail .single-page-content .post-image img,
.seedz1-application-detail .single-page-content > .post-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

.seedz1-application-detail .single-page-content img.img-fluid {
    max-width: 100%;
    height: auto;
}

.seedz1-application-detail .single-page-content table,
.seedz1-application-detail .seedz1-app-product-table {
    font-size: 0.875rem;
    line-height: 1.6;
}

.seedz1-application-detail .seedz1-app-product-section h2 {
    font-size: 1.375rem !important;
}

/* 应用详情：关联分类产品推荐 */
.seedz1-app-product-sections {
    border-top: 1px solid #e8edf3;
    padding-top: 2rem;
}

.seedz1-app-product-section + .seedz1-app-product-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e8edf3;
}

.seedz1-app-product-card {
    border: 1px solid #e8edf3;
    border-radius: 6px;
    padding: 1rem;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.seedz1-app-product-card:hover {
    box-shadow: 0 10px 28px rgba(28, 107, 174, 0.12);
    transform: translateY(-2px);
}

.seedz1-app-product-card__img {
    aspect-ratio: 1 / 1;
    background: #f7f9fc;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seedz1-app-product-card__img img {
    max-height: 100%;
    object-fit: contain;
}

.seedz1-app-product-card__name a:hover {
    color: #1c6bae !important;
}

/* 分类产品列表：Winsen 风格卡片网格（参考 co2-sensor 页） */
/* 分类列表页主标题（如「PM2.5传感器 (5)」）— 略小于主题 text-10 */
.seedz1-category-filter h1.text-10,
.seedz1-category-all h1.text-10 {
    font-size: 2rem !important;
    font-family: 'Lora', serif;
    line-height: 1.2;
}

.seedz1-category-filter h1.text-10 .text-3,
.seedz1-category-all h1.text-10 .text-3 {
    font-size: 0.72em !important;
}

.seedz1-category-filter-layout {
    align-items: flex-start;
}

.seedz1-category-sidebar-nav {
    position: sticky;
    top: 96px;
    max-width: calc(100% - 50px);
}

.seedz1-category-sidebar-link {
    display: block;
    padding: 0.35rem 0;
    color: #212529;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease;
}

.seedz1-category-sidebar-link:hover,
.seedz1-category-sidebar-link:focus {
    color: #1c6bae;
    text-decoration: none;
}

.seedz1-category-sidebar-link.is-active {
    color: #1c6bae;
    font-weight: 700;
}

.seedz1-category-product-grid {
    margin-bottom: 0;
}

.seedz1-cat-product-card {
    padding-bottom: 0.5rem;
}

.seedz1-cat-product-card__img {
    background: #f7f9fc;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seedz1-cat-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.seedz1-cat-product-card__placeholder {
    max-width: 72px !important;
    max-height: 72px !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    opacity: 0.75;
}

.seedz1-cat-product-card__title {
    font-family: 'Lora', serif;
    transition: color 0.2s ease;
}

.seedz1-cat-product-card__title:hover {
    color: #1c6bae !important;
}

.seedz1-cat-product-card .custom-room-suite-info ul {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.seedz1-cat-product-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-align: left;
}

.seedz1-category-filter .custom-room-suite-info ul li:has(.seedz1-cat-product-card__desc) {
    padding: 0.65rem 0;
}

.seedz1-category-filter .custom-room-suite-info ul li:has(.seedz1-cat-product-card__desc) label {
    display: block;
    width: 100%;
    margin-bottom: 0.35rem;
}

.seedz1-category-filter .custom-room-suite-info ul li:has(.seedz1-cat-product-card__desc) .seedz1-cat-product-card__desc {
    display: -webkit-box;
    width: 100%;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

.seedz1-category-filter .room-suite-info-book {
    color: #1c6bae;
}

.seedz1-category-filter .room-suite-info-book:hover {
    color: #16558b;
}

@media (max-width: 991px) {
    .seedz1-category-sidebar-nav {
        position: static;
    }
}

/* 旧表格链接样式保留给其它页 */
.seedz1-category-filter .seedz1-product-row-link {
    color: inherit;
    cursor: pointer;
}

.seedz1-category-filter .seedz1-product-row-link:hover,
.seedz1-category-filter .seedz1-product-row-link:focus {
    color: #1c6bae;
    text-decoration: none;
}

.seedz1-category-filter .seedz1-product-row-link:hover .text-primary,
.seedz1-category-filter .seedz1-product-row-link:focus .text-primary {
    text-decoration: underline;
}

/* 全部分类页：Winsen co2-sensor 风格筛选 + 卡片网格 */
.seedz1-category-all-filter-panel {
    border-bottom: 1px solid #e9ecef;
}

.seedz1-category-all-filters {
    gap: 0.35rem 1.25rem;
    padding-bottom: 0.75rem;
}

.seedz1-category-all-filters__btn {
    display: inline-block;
    background: none;
    border: 0;
    padding: 0.35rem 0;
    color: #212529;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.seedz1-category-all-filters__btn:hover,
.seedz1-category-all-filters__btn:focus {
    color: #1c6bae;
    outline: none;
}

.seedz1-category-all-filters__btn.is-active {
    color: #1c6bae;
    font-weight: 700;
}

.seedz1-category-all-subfilters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.15rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f3f7fb 100%);
    border: 1px solid #e3eaf2;
    border-radius: 10px;
}

.seedz1-category-all-subfilters__label {
    flex: 0 0 auto;
    margin: 0;
    padding-right: 0.35rem;
    color: #6c757d;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.seedz1-category-all-subfilters__list {
    flex: 1 1 auto;
    gap: 0.45rem;
    min-width: 0;
}

.seedz1-category-all-subfilters__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid #d7dee8;
    border-radius: 999px;
    background: #fff;
    color: #495057;
    font-size: 0.8125rem;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.seedz1-category-all-subfilters__btn:hover,
.seedz1-category-all-subfilters__btn:focus {
    color: #1c6bae;
    border-color: #9ec5e8;
    background: #fff;
    outline: none;
    box-shadow: 0 1px 4px rgba(28, 107, 174, 0.08);
}

.seedz1-category-all-subfilters__btn.is-active {
    border-color: #1c6bae;
    background: #e8f2fa;
    color: #1c6bae;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(28, 107, 174, 0.08);
}

@media (max-width: 767px) {
    .seedz1-category-all-subfilters {
        flex-direction: column;
        align-items: stretch;
    }

    .seedz1-category-all-subfilters__label {
        padding-bottom: 0.15rem;
    }
}

.seedz1-category-all .seedz1-cat-product-card__desc-row {
    border-bottom: 1px solid #e9e9e9;
    padding: 0.65rem 0;
}

.seedz1-category-all .seedz1-cat-product-card__desc-row .seedz1-cat-product-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: normal;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
}

/* 产品详情富文本（含规格书） */
.seedz1-product-content--rich {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333;
}

.seedz1-product-content--rich > p {
    margin-bottom: 0.75rem;
}

/* 规格书 — Web 语义化布局 */
.seedz1-datasheet {
    border: 1px solid #e3e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.seedz1-ds-hero {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0f8 100%);
    border-bottom: 1px solid #cfe2f8;
    color: #212529;
}

.seedz1-product-content--rich .seedz1-datasheet .seedz1-ds-hero,
.seedz1-product-content--rich .seedz1-datasheet .seedz1-ds-hero__title,
.seedz1-product-content--rich .seedz1-datasheet .seedz1-ds-hero__desc {
    color: inherit;
}

.seedz1-ds-hero__title {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1c6bae;
}

.seedz1-ds-hero__desc {
    margin: 0;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
}

.seedz1-ds-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: #f4f7fa;
    border-bottom: 1px solid #e3e7eb;
    position: sticky;
    top: 0;
    z-index: 5;
}

.seedz1-ds-nav__link {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    transition: all 0.15s ease;
}

.seedz1-ds-nav__link:hover,
.seedz1-ds-nav__link:focus {
    color: #1c6bae;
    border-color: #1c6bae;
    background: #eef6fc;
}

.seedz1-ds-body {
    padding: 0.5rem 0 0;
}

.seedz1-ds-block {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #eef1f4;
    scroll-margin-top: 72px;
}

.seedz1-ds-block:last-child {
    border-bottom: 0;
}

.seedz1-ds-block__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-left: 0.75rem;
    border-left: 4px solid #1c6bae;
}

.seedz1-ds-block p {
    margin: 0 0 0.75rem;
    color: #444;
    line-height: 1.7;
}

.seedz1-ds-lead {
    font-size: 1rem;
    color: #333;
    line-height: 1.75;
    margin-bottom: 1.25rem !important;
}

.seedz1-ds-subtitle {
    margin: 1.25rem 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1c6bae;
}

.seedz1-ds-highlights {
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    background: #f0f7ff;
    border: 1px solid #cfe2f8;
    border-radius: 8px;
}

.seedz1-ds-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.seedz1-ds-list li {
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.seedz1-ds-list--checks {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.seedz1-ds-list--checks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.seedz1-ds-list--checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1c6bae;
    font-weight: 700;
}

.seedz1-ds-note {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

.seedz1-datasheet .table-responsive {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.seedz1-ds-table {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.seedz1-ds-caption {
    caption-side: top;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    text-align: left;
}

.seedz1-ds-table th {
    background: #f1f3f5;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.8125rem;
}

.seedz1-ds-table td,
.seedz1-ds-table th {
    vertical-align: top;
    padding: 0.5rem 0.75rem;
    line-height: 1.55;
    word-break: break-word;
}

.seedz1-ds-table tbody td:first-child {
    width: 42%;
    font-weight: 600;
    color: #343a40;
    background: #fafbfc;
}

.seedz1-ds-gallery {
    margin-top: 1rem;
}

.seedz1-ds-figure {
    margin: 0;
    padding: 0.65rem;
    background: #fafbfc;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.seedz1-ds-figure--single {
    max-width: 480px;
    margin: 1rem auto 0;
}

.seedz1-ds-figure img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.seedz1-product-detail-content {
    margin-top: 1.5rem;
    width: 100%;
}

.seedz1-product-detail-content .seedz1-product-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .seedz1-ds-hero {
        padding: 1.15rem 1rem;
    }

    .seedz1-ds-nav {
        padding: 0.65rem 0.75rem;
        gap: 0.35rem;
    }

    .seedz1-ds-nav__link {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .seedz1-ds-block {
        padding: 1.15rem 1rem;
    }
}

/* 搜索结果高亮 */
.seedz1-search-highlight {
    background-color: #fff3cd;
    color: inherit;
    padding: 0 0.12em;
    border-radius: 2px;
}

.seedz1-search-results .seedz1-search-part:hover {
    color: #1c6bae !important;
    text-decoration: underline;
}

.seedz1-search-match-badge {
    font-weight: 500;
    vertical-align: middle;
}
