/* 上海申银泵业制造有限公司 官网样式 */
/* 不使用 fonts.googleapis.com，避免外网请求拖慢本地/弱网首屏 */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色：深蓝灰（稳重、与 LOGO 红形成对比，不抢标识） */
    --primary-color: #2c3d52;
    --primary-dark: #1a2433;
    --primary-light: #3d546f;

    /* 点睛：LOGO 红（CTA、当前导航、关键强调） */
    --accent-color: #e32416;
    --accent-dark: #b81d12;
    --accent-light: #ff5a4d;
    --accent-soft: #fcecea;

    /* 中性色 - 高级灰倾向 */
    --text-color: #1c2330;
    --text-light: #4b5568;
    --text-muted: #7b8494;

    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f5f6f8;
    --bg-gray: #e9ecf0;
    --bg-dark: #1a2433;
    --bg-darker: #121820;

    /* 边框和阴影 */
    --border-color: #d5dae2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    
    /* 尺寸 */
    --max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* 产品列表/详情主图 Web 叠层强度。若 static-site 构建已 JW_STATIC_BAKE 烧进源副本，可改为 0 避免叠两层。 */
    --jw-product-watermark-opacity: 0.52;
    /* 主图平铺图：默认中文；英文页设 html[lang|="en"] 覆盖。其它语种加 watermark-tile.XX.svg 后增加 [lang|="xx"]{ --jw-watermark-tile: url(...); }，或与英文共用 */
    --jw-watermark-tile: url("watermark-tile.zh.svg");
}

html[lang|="en"] {
    --jw-watermark-tile: url("watermark-tile.en.svg");
}

/* 其它语种例：与英文共用
html[lang|="de"] { --jw-watermark-tile: url("watermark-tile.en.svg"); }
或单独 de 水印文件：
html[lang|="de"] { --jw-watermark-tile: url("watermark-tile.de.svg"); }
*/

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    font-size: 16px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 头部样式 ========== */
.site-header {
    /* 与主导航条同色阶，避免整头条「死白」切断上下深色区 */
    background: #eceff4;
    box-shadow: 0 1px 0 rgba(44, 61, 82, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
    min-width: 0;
    text-decoration: none;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-names {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.logo-img {
    height: 46px;
    width: auto;
    max-width: min(200px, 38vw);
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo-names .logo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.logo-names .logo-sub {
    margin: 0;
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.4px;
    line-height: 1.25;
}

.logo .logo-tagline {
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    max-width: min(36rem, 92vw);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

.logo .logo-tagline__lead {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.logo .logo-tagline__dash {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0.12em;
    letter-spacing: 0;
    text-transform: none;
}

.logo .logo-tagline__tail {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #5c6678;
}

/* 导航菜单 */
.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a {
    font-weight: 500;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    display: block;
    color: var(--text-color);
}

.main-nav a:hover {
    color: var(--primary-color);
    background: rgba(44, 61, 82, 0.07);
}

.main-nav > ul > li > a.active {
    color: var(--accent-color);
    background: rgba(227, 36, 22, 0.09);
}

/* 产品中心 mega 下拉 */
.nav-mega {
    position: relative;
    /* 扩大可悬停区域，消除「导航 → 面板」之间的空隙导致菜单消失 */
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.nav-mega:hover > a,
.nav-mega:focus-within > a {
    color: var(--primary-color);
    background: rgba(44, 61, 82, 0.07);
}

/* 当前在产品中心等页时触发项带 .active；展开 mega 时与首页悬停保持一致，避免红底与下拉同时出现 */
.nav-mega:hover > a.active,
.nav-mega:focus-within > a.active {
    color: var(--primary-color);
    background: rgba(44, 61, 82, 0.07);
}

.mega-panel {
    position: absolute;
    top: calc(100% - 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: min(900px, calc(100vw - 48px));
    padding: 0;
    margin-top: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.2s;
    z-index: 200;
    overflow: hidden;
}

.mega-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.nav-mega:hover .mega-panel,
.nav-mega:focus-within .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* 网格：3 列 × 6 行（先填满第 1 列再第 2 列，与旧版顺序一致） */
.mega-menu-grid.sub-menu,
.sub-menu.mega-menu-grid {
    position: static;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    gap: 4px 8px;
    padding: 12px 14px 12px;
    margin: 0;
    list-style: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
}

.mega-menu-grid.sub-menu::before,
.sub-menu.mega-menu-grid::before {
    display: none;
}

.mega-menu-grid li {
    list-style: none;
}

.mega-menu-grid a.mega-link {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 6px 10px 6px 8px;
    min-height: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #475569;
    border-radius: 8px;
    white-space: normal;
    overflow: visible;
    display: flex;
    gap: 10px;
    border: 1px solid transparent;
    background: rgba(248, 250, 252, 0.65);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-link__art {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(165deg, #fff 0%, #e8eef5 100%);
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.08),
        0 1px 2px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.mega-link__art img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    opacity: 0.88;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        filter 0.25s ease;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.14));
}

/* 线稿类图标：略放大以保持细线清晰 */
.mega-link__art--lineart img {
    width: 34px;
    height: 34px;
    object-position: center 56%;
}

.mega-menu-grid a.mega-link:hover .mega-link__art img,
.mega-menu-grid a.mega-link:focus-visible .mega-link__art img {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 3px 10px rgba(44, 61, 82, 0.22));
}

.mega-link__label {
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    overflow-wrap: anywhere;
}

.mega-menu-grid a.mega-link:hover,
.mega-menu-grid a.mega-link:focus-visible {
    background: linear-gradient(145deg, rgba(44, 61, 82, 0.1), rgba(44, 61, 82, 0.04));
    color: var(--primary-color);
    border-color: rgba(44, 61, 82, 0.18);
    box-shadow: 0 4px 12px rgba(44, 61, 82, 0.08);
    transform: translateY(-1px);
}

.mega-menu-grid a.mega-link:hover .mega-link__art,
.mega-menu-grid a.mega-link:focus-visible .mega-link__art {
    transform: scale(1.05);
    box-shadow:
        0 6px 12px rgba(15, 23, 42, 0.1),
        0 2px 6px rgba(44, 61, 82, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* 兼容：非 mega 的普通 sub-menu（若其他页使用） */
.main-nav .sub-menu:not(.mega-menu-grid) {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 25px 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    margin-top: 10px;
}

.main-nav > ul > li:hover .sub-menu:not(.mega-menu-grid) {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 响应式 mega */
@media (max-width: 1280px) {
    .mega-panel {
        width: min(780px, calc(100vw - 40px));
    }
}

@media (max-width: 1100px) {
    .mega-panel {
        width: min(700px, calc(100vw - 32px));
    }
}

@media (max-width: 900px) {
    .mega-menu-grid.sub-menu,
    .sub-menu.mega-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(9, auto);
    }
}

@media (max-width: 768px) {
    .nav-mega {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .mega-panel {
        display: none;
    }

    .nav-mega:hover .mega-panel,
    .nav-mega:focus-within .mega-panel {
        display: none;
    }

    .mega-menu-grid.sub-menu,
    .sub-menu.mega-menu-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        padding: 8px 12px 14px;
        gap: 2px;
        max-height: none;
        overflow: visible;
    }

    .mega-menu-grid a.mega-link {
        white-space: normal;
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mega-panel {
        transition: none;
    }

    .mega-menu-grid a.mega-link,
    .mega-menu-grid a.mega-link .mega-link__art,
    .mega-menu-grid a.mega-link .mega-link__art img {
        transition: none;
    }

    .mega-menu-grid a.mega-link:hover,
    .mega-menu-grid a.mega-link:focus-visible {
        transform: none;
    }

    .mega-menu-grid a.mega-link:hover .mega-link__art,
    .mega-menu-grid a.mega-link:focus-visible .mega-link__art {
        transform: none;
    }

    .mega-menu-grid a.mega-link:hover .mega-link__art img,
    .mega-menu-grid a.mega-link:focus-visible .mega-link__art img {
        transform: none;
    }
}

/* ========== 轮播图 ========== */
.banner-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-item.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.banner-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.banner-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 36, 22, 0.35);
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.banner-indicator.active {
    background: #fff;
    width: 36px;
    border-radius: 6px;
}

/* ========== 产品展示 ========== */
.products-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.product-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

/* 列表/卡片用 <picture> 包 WebP 时，picture 需占满容器，否则 img 的 % 高度相对未定义会被裁切 */
.product-image picture {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.product-item:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== 公司简介 ========== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.feature-text {
    font-weight: 500;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== 优势展示 ========== */
.advantages-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    background: var(--bg-light);
    transition: var(--transition);
}

.advantage-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== 页脚 ========== */
.site-footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: #e0e0e0;
}

.footer-content {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-dev-edit-wrap {
    margin: 0 0 14px;
}

/* ========== 内页通用样式 ========== */
.page-banner {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

.page-banner.page-banner--contact {
    height: auto;
    min-height: 340px;
    padding: 62px 24px 70px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(18, 24, 32, 0.92), rgba(44, 61, 82, 0.88)),
        url("hero-factory.webp") center / cover no-repeat;
}

.page-banner.page-banner--contact::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.page-banner--contact__inner {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    margin: 0 auto;
}

.page-banner--contact__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.page-banner--contact__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-color);
}

.page-banner.page-banner--contact h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    margin-bottom: 16px;
}

.page-banner.page-banner--contact p {
    max-width: 660px;
    margin: 0 auto;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.contact-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.contact-hero-actions a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.contact-hero-actions .contact-hero-actions__primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
}

.contact-hero-actions .contact-hero-actions__primary:hover {
    background: linear-gradient(135deg, #9c1810, var(--accent-dark));
}

.breadcrumb {
    padding: 20px 0;
    background: var(--bg-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-muted);
    margin: 0 10px;
}

.page-content {
    padding: 80px 0;
}

/* ========== 产品列表页：Banner + 顶栏（body.page-products-list） ========== */
.page-banner.page-banner--product-list {
    height: auto;
    min-height: clamp(180px, 26vw, 260px);
    padding: clamp(36px, 6vw, 52px) 0 clamp(48px, 8vw, 80px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: linear-gradient(152deg, #0c1218 0%, #151d28 38%, #1e2a3a 72%, #283548 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-banner--product-list__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 90% 70% at 12% 40%, rgba(227, 36, 22, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 70% 88%, rgba(44, 61, 82, 0.35) 0%, transparent 45%);
    animation: product-detail-mesh-drift 24s ease-in-out infinite;
}

.page-banner--product-list__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.page-banner--product-list__copy {
    min-width: 0;
    text-align: center;
}

.page-banner.page-banner--product-list .page-banner--product-list__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: clamp(0.6875rem, 0.35vw + 0.62rem, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.page-banner.page-banner--product-list .page-banner--product-list__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-color), rgba(255, 255, 255, 0.4));
}

.page-banner.page-banner--product-list .page-banner--product-list__copy h1,
.page-banner--product-list__copy h1 {
    font-size: clamp(1.85rem, 4.2vw + 0.45rem, 2.75rem);
    font-weight: 750;
    line-height: 1.12;
    margin: 0 0 clamp(12px, 2vw, 18px);
    letter-spacing: -0.03em;
    color: #fff;
    text-align: center;
    text-wrap: balance;
}

.page-banner.page-banner--product-list .page-banner--product-list__lead {
    margin: 0 auto;
    max-width: 36rem;
    font-size: clamp(0.9375rem, 0.35vw + 0.88rem, 1.0625rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 450;
    opacity: 1;
}

/* 产品中心 / 产品列表 / 产品详情：顶栏导航（与内页 Banner 衔接，样式一致） */
body.page-products-hub .site-header,
body.page-products-list .site-header,
body.page-product-detail .site-header {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

body.page-products-hub .header-main,
body.page-products-list .header-main,
body.page-product-detail .header-main {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid rgba(44, 61, 82, 0.12);
}

body.page-products-hub .header-inner .main-nav > ul,
body.page-products-list .header-inner .main-nav > ul,
body.page-product-detail .header-inner .main-nav > ul {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.07);
}

body.page-products-hub .main-nav > ul > li > a,
body.page-products-list .main-nav > ul > li > a,
body.page-product-detail .main-nav > ul > li > a {
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.page-products-hub .main-nav > ul > li > a:hover,
body.page-products-list .main-nav > ul > li > a:hover,
body.page-product-detail .main-nav > ul > li > a:hover {
    background: rgba(44, 61, 82, 0.08);
    box-shadow: inset 0 0 0 1px rgba(44, 61, 82, 0.06);
}

body.page-products-hub .main-nav > ul > li > a.active,
body.page-products-list .main-nav > ul > li > a.active,
body.page-product-detail .main-nav > ul > li > a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    box-shadow:
        0 4px 14px rgba(227, 36, 22, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.page-products-hub .nav-mega:hover > a.active,
body.page-products-hub .nav-mega:focus-within > a.active,
body.page-products-list .nav-mega:hover > a.active,
body.page-products-list .nav-mega:focus-within > a.active,
body.page-product-detail .nav-mega:hover > a.active,
body.page-product-detail .nav-mega:focus-within > a.active {
    color: #fff;
    background: linear-gradient(135deg, #9c1810, var(--accent-dark));
}

body.page-products-hub .header-export__wa,
body.page-products-list .header-export__wa,
body.page-product-detail .header-export__wa {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.28);
}

body.page-products-hub .header-export__wa:hover,
body.page-products-list .header-export__wa:hover,
body.page-product-detail .header-export__wa:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* 产品中心 hub / 产品列表 / 产品详情：共用毛玻璃面包屑 — 外层与 .container 同宽；玻璃仅包在 nav 上 */
body.page-products-list .product-list-breadcrumb,
body.page-products-hub .product-list-breadcrumb,
body.page-product-detail .product-list-breadcrumb {
    margin-top: -40px;
    margin-bottom: 0;
    padding: 0 0 10px;
    background: transparent;
    position: relative;
    z-index: 2;
}

body.page-products-list .product-list-breadcrumb .container,
body.page-products-hub .product-list-breadcrumb .container,
body.page-product-detail .product-list-breadcrumb .container {
    display: block;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

body.page-products-list .product-list-breadcrumb__glass,
body.page-products-hub .product-list-breadcrumb__glass,
body.page-product-detail .product-list-breadcrumb__glass {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 11px 24px;
    border-radius: 999px;
    background: rgba(12, 18, 24, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.page-products-list .product-list-breadcrumb__glass,
    body.page-products-hub .product-list-breadcrumb__glass,
    body.page-product-detail .product-list-breadcrumb__glass {
        background: rgba(30, 38, 48, 0.9);
    }
}

body.page-products-list .product-list-breadcrumb__glass a,
body.page-products-hub .product-list-breadcrumb__glass a,
body.page-product-detail .product-list-breadcrumb__glass a {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

body.page-products-list .product-list-breadcrumb__glass a:hover,
body.page-products-hub .product-list-breadcrumb__glass a:hover,
body.page-product-detail .product-list-breadcrumb__glass a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(227, 36, 22, 0.85);
}

body.page-products-list .product-list-breadcrumb__sep,
body.page-products-hub .product-list-breadcrumb__sep,
body.page-product-detail .product-list-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.38);
    margin: 0 10px;
    font-weight: 500;
    user-select: none;
}

body.page-products-list .page-content.page-content--product-list {
    padding-top: 48px;
    padding-bottom: 72px;
}

body.page-products-hub .page-content.page-content--product-hub {
    padding-top: 48px;
    padding-bottom: 72px;
}

body.page-products-list .product-list-count {
    margin-bottom: 28px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(44, 61, 82, 0.06), rgba(227, 36, 22, 0.04));
    border: 1px solid rgba(44, 61, 82, 0.08);
    font-size: 15px;
    color: var(--text-light);
}

body.page-products-list .product-list-count strong {
    color: var(--accent-color);
    font-weight: 800;
}

@media (max-width: 600px) {
    .page-banner.page-banner--product-list {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    body.page-products-list .product-list-breadcrumb,
    body.page-products-hub .product-list-breadcrumb,
    body.page-product-detail .product-list-breadcrumb {
        margin-top: -28px;
    }

    body.page-products-list .product-list-breadcrumb__glass,
    body.page-products-hub .product-list-breadcrumb__glass,
    body.page-product-detail .product-list-breadcrumb__glass {
        padding: 10px 18px;
        border-radius: 14px;
        row-gap: 4px;
    }

    body.page-products-list .product-list-breadcrumb__sep,
    body.page-products-hub .product-list-breadcrumb__sep,
    body.page-product-detail .product-list-breadcrumb__sep {
        margin: 0 8px;
    }
}

/* ========== 产品列表页 ========== */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.product-list-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-list-grid .product-card > a {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    color: inherit;
    text-decoration: none;
}

.product-list-grid .product-card .product-info {
    flex: 1;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* 非 grid 的 product-card 仍用固定高；见下方 .product-list-grid 内 16:9 */
.product-card .product-image {
    height: 220px;
}

/* 产品列表 / 分类 hub：主图 16:9 铺满（与 16:9 上传图一致，其它比例居中裁切） */
.product-list-grid .product-card .product-image {
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
}

.product-list-grid .product-card .product-image > img,
.product-list-grid .product-card .product-image > picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
}

.product-list-grid .product-card .product-image > picture {
    display: block;
}

.product-list-grid .product-card .product-image > img {
    object-fit: cover;
    object-position: center;
}

.product-list-grid .product-card .product-image picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
    max-height: none;
    transition: var(--transition);
    z-index: 0;
}

/* 平铺 + 角标，弱不抢眼；可改 --jw-product-watermark-opacity 总强度 */
.product-list-grid .product-card .product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: var(--jw-watermark-tile) 0 0 / 400px 200px repeat;
    opacity: var(--jw-product-watermark-opacity);
    border-radius: inherit;
}

.product-card .product-info {
    padding: 25px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ========== 关于我们页 ========== */
.about-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-page-content h2 {
    font-size: 28px;
    color: var(--text-color);
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-gray);
}

.about-page-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-page-content ul,
.about-page-content ol {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0 0 24px;
    padding-left: 1.35em;
}

.about-page-content li {
    margin-bottom: 12px;
}

.about-page-content li strong {
    color: var(--text-color);
    font-weight: 600;
}

.about-page-content .cooperation-note {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ========== 联系我们页 ========== */
.contact-page .page-content {
    padding-bottom: 40px;
}

.contact-page-lead-wrap {
    max-width: 980px;
    margin: 0 auto 32px;
    padding: 22px 26px 22px 30px;
    background: linear-gradient(135deg, rgba(44, 61, 82, 0.07), rgba(227, 36, 22, 0.04));
    border: 1px solid rgba(44, 61, 82, 0.12);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
}

.contact-page-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
}

.contact-page-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.contact-row--channels .contact-card {
    min-height: 100%;
}

.contact-panel--form {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-form--in-grid {
    flex: 1;
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.06);
    border: 1px solid var(--border-color);
}

.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 26px 26px 24px;
    box-shadow: 0 12px 30px rgba(26, 26, 46, 0.07);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(44, 61, 82, 0.26);
    box-shadow: 0 18px 40px rgba(26, 26, 46, 0.1);
}

.contact-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(44, 61, 82, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.contact-card__title {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px;
    line-height: 1.35;
}

.contact-card__hint {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

.contact-card__action {
    margin: 0 0 12px;
}

.contact-card__action--phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card__action--phones span {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.contact-card__action--phones span a {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-card__note {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.contact-mailto {
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 600;
    color: var(--accent-color);
    word-break: break-all;
}

.contact-mailto:hover {
    text-decoration: underline;
}

.contact-wa-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 4px;
}

.contact-wa-split__main {
    min-width: 0;
}

.contact-wa-btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: var(--border-radius);
    background: #25d366;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-wa-btn:hover {
    background: #1ebe57;
    color: #fff !important;
    transform: translateY(-1px);
}

.contact-wa-btn--wechat {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.contact-wa-btn--wechat:hover {
    background: linear-gradient(135deg, #15803d, #166534);
}

.contact-wa-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 10px 0 0;
    letter-spacing: 0.02em;
}

.contact-wa-qr-wrap {
    margin: 0;
    padding: 0;
}

.contact-wa-qr {
    display: block;
    width: 148px;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-wa-caption {
    font-size: 12px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 14px 0 0;
}

.contact-wechat-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 148px;
    min-height: 148px;
    padding: 16px;
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, #f0fdf4, #dcfce7);
    border: 1px solid rgba(22, 163, 74, 0.22);
    color: #166534;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.12);
}

.contact-wechat-code strong {
    display: block;
    margin-top: 4px;
    color: #14532d;
    font-size: 16px;
    word-break: keep-all;
}

.contact-wechat-qr-wrap {
    width: 188px;
    margin: 0;
    padding: 10px;
    border-radius: var(--border-radius);
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.22);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.12);
    text-align: center;
}

.contact-wechat-qr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.contact-wechat-qr-wrap figcaption {
    margin-top: 8px;
    color: #166534;
    font-size: 12px;
    line-height: 1.45;
}

.contact-market-section {
    padding-top: 6px;
}

.contact-section-heading {
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--border-color);
}

.contact-section-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-section-heading h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 24px;
    line-height: 1.35;
}

.contact-domestic-panel {
    background: linear-gradient(180deg, #fff, var(--bg-light));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px 26px 10px;
    box-shadow: 0 12px 30px rgba(26, 26, 46, 0.06);
}

.contact-domestic-panel__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-list--domestic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.contact-info-list--domestic li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-list--domestic .contact-info-list__full {
    grid-column: 1 / -1;
}

.contact-icon--muted {
    width: 44px;
    height: 44px;
    font-size: 18px;
    background: linear-gradient(135deg, #64748b, #94a3b8);
    border-radius: var(--border-radius);
}

.contact-address-en {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form-lead {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: -6px 0 20px;
}


.contact-map-section {
    margin: 44px auto 64px;
    padding-top: 28px;
    padding-bottom: 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 34px rgba(26, 26, 46, 0.07);
}

.contact-map-heading {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 10px;
}

.contact-map-address {
    font-size: 15px;
    color: var(--text-light);
    margin: 0 0 16px;
    line-height: 1.6;
}

.contact-map-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.contact-map-embed iframe {
    display: block;
}

.contact-map-link-wrap {
    margin: 14px 0 0;
}

.contact-map-external {
    font-weight: 600;
    color: var(--primary-color);
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 15px;
    color: var(--text-light);
}

.contact-form {
    background: linear-gradient(180deg, #fff, var(--bg-light));
    padding: 34px;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 61, 82, 0.1);
}

.jw-selector-input-with-unit {
    display: grid;
    grid-template-columns: 1fr 116px;
    gap: 10px;
}

.jw-selector-input-with-unit input,
.jw-selector-input-with-unit select {
    margin: 0;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-section {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .page-banner.page-banner--contact {
        min-height: 300px;
        padding: 48px 18px 54px;
    }

    .contact-hero-actions {
        gap: 10px;
    }

    .contact-hero-actions a {
        flex: 1 1 150px;
        max-width: 220px;
    }

    .contact-page-lead-wrap,
    .contact-card,
    .contact-domestic-panel,
    .contact-form {
        padding: 22px;
    }

    .contact-wa-split {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .contact-wa-qr {
        width: 200px;
    }

    .contact-info-list--domestic {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .products-section,
    .about-section,
    .advantages-section {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }

    .page-banner.page-banner--contact h1 {
        font-size: 32px;
    }

    .contact-hero-actions a {
        flex-basis: 100%;
        max-width: none;
    }

    .contact-map-section {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
}

/* ========== 首页现代化改版（仅覆盖首页主要模块） ========== */
.header-main {
    padding: 14px 0;
    /* 浅冷灰 + 轻微下沿阴影，过渡到下方深色 Hero 时不那么刺眼 */
    background: linear-gradient(180deg, #f5f6fa 0%, #e8ecf2 100%);
    border-bottom: 1px solid rgba(44, 61, 82, 0.1);
    box-shadow: 0 12px 32px rgba(18, 24, 32, 0.07);
    overflow: visible;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    overflow: visible;
    /* 避免中间导航被左右挤压得过窄导致每个词换行 */
    flex-wrap: nowrap;
}

/* 主导航在中间区域：可分配剩余空间，但最小宽度不小于整组药丸内容，避免被压成竖条换行 */
.header-inner .main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: min-content;
    max-width: 100%;
}

.header-inner .main-nav > ul {
    flex-wrap: nowrap;
    flex-shrink: 0;
    max-width: 100%;
    /* 内容宽度不足一行时占满；不足viewport 时不把每个 li 压成竖条 */
    width: max-content;
}

.logo {
    gap: 5px;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff url("./logo-shenyin.png") center / contain no-repeat;
    box-shadow: 0 10px 24px rgba(44, 61, 82, 0.18);
    color: transparent;
    font-size: 0;
}

.logo-names .logo-title {
    font-size: 20px;
    letter-spacing: 0.2px;
}

.logo-names .logo-sub {
    font-size: 11px;
    color: #64748b;
}

.logo .logo-tagline {
    font-size: 11px;
}

.logo .logo-tagline__lead {
    font-size: 10px;
    letter-spacing: 0.12em;
}

.logo .logo-tagline__tail {
    font-size: 10px;
}

.main-nav > ul {
    gap: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    overflow: visible;
}

.main-nav > ul > li {
    flex-shrink: 0;
}

/* 仅顶部一级链接单行显示（mega 面板内 .mega-link 另有一套排版） */
.main-nav > ul > li > a {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.25;
    text-align: center;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(227, 36, 22, 0.32);
}

.header-cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #9c1810, var(--accent-dark));
    box-shadow: 0 12px 28px rgba(227, 36, 22, 0.42);
}

.header-export {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    flex-shrink: 0;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(15, 74, 122, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}

.language-switcher__link {
    display: inline-flex;
    min-width: 31px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    color: #31546f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.language-switcher__link:hover,
.language-switcher__link:focus-visible {
    color: #0f4a7a;
    background: rgba(15, 74, 122, 0.08);
}

.language-switcher__link.is-active {
    color: #fff;
    background: #0f4a7a;
}

.header-export__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}

.header-export__wa--domestic {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28);
}

.header-export__wa:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

/* Non-Chinese labels need more horizontal room than the Chinese header. */
html:not([lang|="zh"]) .header-main .container {
    max-width: 1480px;
}

@media (max-width: 1500px) {
    html:not([lang|="zh"]) .header-inner {
        gap: 12px;
    }

    html:not([lang|="zh"]) .logo-names .logo-title {
        font-size: 18px;
    }

    html:not([lang|="zh"]) .logo .logo-tagline {
        display: none;
    }

    html:not([lang|="zh"]) .main-nav > ul {
        gap: 4px;
        padding: 5px;
    }

    html:not([lang|="zh"]) .main-nav > ul > li > a {
        padding: 9px 11px;
        font-size: 14px;
    }

    html:not([lang|="zh"]) .header-export__wa {
        display: none;
    }
}

@media (max-width: 1320px) {
    .header-inner {
        gap: 12px;
    }

    .logo-img {
        height: 38px;
    }

    .logo-names .logo-title {
        font-size: 18px;
    }

    .logo .logo-tagline {
        display: none;
    }

    .main-nav > ul {
        gap: 4px;
        padding: 5px;
    }

    .main-nav > ul > li > a {
        padding: 9px 11px;
        font-size: 14px;
    }

    .header-export__wa {
        display: none;
    }
}

/* 咨询入口：桌面右侧悬浮图标 + 展开面板；移动端底栏（由 main.js 注入 #wa-chrome-root） */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wa-chrome-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.32);
    border: none;
    padding: 0;
    margin: 0;
}

.wa-chrome-float-stack {
    display: none;
}

.wa-chrome-fab-wrap {
    display: none;
}

.mobile-wa-bar {
    display: none;
}

.wa-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    box-shadow: 0 8px 24px rgba(227, 36, 22, 0.38);
    transition: var(--transition);
}

.wa-float-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(227, 36, 22, 0.45);
}

.wa-float-btn__icon {
    flex-shrink: 0;
}

.wa-chrome-panel {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 240px;
    max-width: min(320px, calc(100vw - 32px));
    padding: 6px 0;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.wa-chrome-panel__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.15s ease;
}

.wa-chrome-panel__meta {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.wa-chrome-panel__item:hover {
    background: var(--bg-light);
}

.wa-chrome-panel__glyph {
    flex-shrink: 0;
}

.wa-chrome-panel__item--wa .wa-chrome-panel__glyph {
    color: #25d366;
}

.wa-chrome-panel__item--phone .wa-chrome-panel__glyph,
.wa-chrome-panel__item--wechat .wa-chrome-panel__glyph {
    color: #16a34a;
}

.wa-chrome-panel__item--mail .wa-chrome-panel__glyph {
    color: var(--primary-color);
}

.wa-chrome-panel__item--form .wa-chrome-panel__glyph {
    color: var(--accent-color);
}

/* 本页「编辑」开发入口：在咨询圆钮下方、同列固定，static-site 不输出（见 data-jw-static-site + main.js） */
.jw-dev-edit-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: #334155;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    white-space: nowrap;
}

.jw-dev-history-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: #0f766e;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    white-space: nowrap;
}

.jw-dev-history-float[hidden] {
    display: none !important;
}

.jw-dev-edit-float:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.jw-dev-history-float:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

@media (min-width: 769px) {
    .wa-chrome-backdrop {
        display: none !important;
    }

    /*
     * 仅悬浮在圆形按钮或展开后的菜单上时显示三选一；不再使用大区域 ::before，避免「靠近就出现」。
     * 面板向左叠出一小段，减少从按钮滑向菜单时的空隙断悬停。
     */
    .wa-chrome-float-stack {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        position: fixed;
        right: max(16px, env(safe-area-inset-right));
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .wa-chrome-fab-wrap {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 0;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }

    .wa-float-btn {
        position: relative;
        z-index: 2;
    }

    .wa-chrome-panel {
        position: absolute;
        right: calc(100% - 4px);
        top: 50%;
        z-index: 1;
        transform: translateY(-50%) translateX(10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }

    .wa-chrome-fab-wrap:not(:hover):not(:focus-within) .wa-chrome-panel {
        transition-delay: 0.45s;
    }

    .wa-chrome-fab-wrap:hover .wa-chrome-panel,
    .wa-chrome-fab-wrap:focus-within .wa-chrome-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%) translateX(0);
        transition-delay: 0s;
    }

    .mobile-wa-bar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.has-wa-chrome {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    body.has-wa-chrome .page-content {
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }

    body.has-wa-chrome.page-products-hub .page-content.page-content--product-hub,
    body.has-wa-chrome.page-products-list .page-content.page-content--product-list,
    body.has-wa-chrome.page-product-detail .product-detail-page {
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }

    .wa-chrome-float-stack {
        display: contents;
    }

    .jw-dev-edit-float {
        position: fixed;
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(92px + env(safe-area-inset-bottom, 0px));
        z-index: 1002;
        pointer-events: auto;
    }

    .jw-dev-history-float {
        position: fixed;
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(140px + env(safe-area-inset-bottom, 0px));
        z-index: 1002;
        pointer-events: auto;
    }

    .wa-chrome-fab-wrap {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        z-index: 1001;
        pointer-events: none;
    }

    .wa-float-btn {
        display: none;
    }

    .wa-chrome-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom) + 10px);
        max-width: none;
        margin: 0 auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px);
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }

    #wa-chrome-root.wa-chrome-root--open .wa-chrome-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-wa-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        padding:
            8px max(12px, env(safe-area-inset-right))
            calc(8px + env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        pointer-events: auto;
    }

    .mobile-wa-bar__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 48px;
        width: 100%;
        margin: 0;
        padding: 0 16px;
        font-size: 16px;
        font-weight: 700;
        border: none;
        cursor: pointer;
        color: #fff !important;
        background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(227, 36, 22, 0.28);
    }

    .mobile-wa-bar__btn .wa-float-btn__icon {
        width: 22px;
        height: 22px;
    }

    .mobile-wa-bar__btn:active {
        filter: brightness(0.96);
    }
}

/* PC 端咨询条：WhatsApp 二维码弹窗 */
body.wa-chrome-qr-modal-open {
    overflow: hidden;
}

.wa-chrome-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.wa-chrome-qr-modal[hidden] {
    display: none !important;
}

.wa-chrome-qr-modal:not([hidden]) {
    display: flex;
}

.wa-chrome-qr-modal__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(15, 23, 42, 0.5);
    cursor: pointer;
}

.wa-chrome-qr-modal__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    padding: 28px 24px 22px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.wa-chrome-qr-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    line-height: 1;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.wa-chrome-qr-modal__close:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

.wa-chrome-qr-modal__title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.wa-chrome-qr-modal__img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 12px auto 0;
    border-radius: 8px;
}

.wa-chrome-qr-modal__hint {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-light);
}

.wa-chrome-qr-modal__phone-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-color);
}

.wa-chrome-qr-modal__phone-line strong {
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
}

.wa-chrome-qr-modal__link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #128c7e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wa-chrome-qr-modal__link:hover {
    color: #25d366;
}

.hero-section {
    min-height: 620px;
    height: auto;
    padding: 76px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(61, 84, 111, 0.45), transparent 46%),
        radial-gradient(circle at 85% 28%, rgba(227, 36, 22, 0.14), transparent 42%),
        linear-gradient(140deg, #121820 0%, #1a2433 45%, #2c3d52 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    position: static;
    opacity: 1;
    display: block;
    text-align: left;
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    margin-bottom: 22px;
}

.hero-content h2 {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-desc {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn,
.hero-actions .banner-btn {
    margin-top: 0;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ghost-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.hero-data {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.hero-data div {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-data strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-data span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-media {
    display: flex;
}

.hero-visual-frame {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    aspect-ratio: 720 / 560;
}

.hero-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-placeholder {
    width: 100%;
    min-height: 560px;
}

.img-placeholder {
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.img-placeholder p {
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.img-placeholder span {
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
}

.products-section {
    padding: 90px 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 34px;
}

.section-title {
    font-size: 38px;
}

.products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.product-image {
    height: 240px;
    padding: 0;
}

.product-info {
    padding: 18px;
}

.highlight-section {
    padding: 10px 0 90px;
    background: #f8fafc;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 26px rgba(15, 23, 42, 0.06);
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
}

.highlight-card p {
    font-size: 15px;
    color: #475569;
}

.selection-cta-section {
    padding: 0 0 90px;
    background: #f8fafc;
}

.selection-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(227, 36, 22, 0.16), transparent 32%),
        linear-gradient(135deg, #172033 0%, #2c3d52 100%);
    color: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.selection-cta-eyebrow {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.selection-cta-card h2 {
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1.25;
}

.selection-cta-card p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

.selection-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.selection-cta-actions .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-section {
    background: linear-gradient(160deg, #f0f1f4 0%, #fafbfc 55%, #e8eaef 100%);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .header-export {
        justify-content: flex-start;
        width: 100%;
    }

    .hero-content h2 {
        font-size: 38px;
    }

    .hero-visual-frame {
        margin-left: 0;
        max-width: none;
        aspect-ratio: 16 / 10;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .selection-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .selection-cta-actions {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-inner .main-nav {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }

    .header-inner .main-nav > ul {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-wrap: wrap;
    }

    .main-nav > ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .selection-cta-section {
        padding-bottom: 70px;
    }

    .selection-cta-card {
        padding: 24px;
        border-radius: 18px;
    }

    .selection-cta-card h2 {
        font-size: 24px;
    }

    .selection-cta-actions .btn {
        width: 100%;
    }

    .main-nav > ul > li {
        flex: 1 1 auto;
    }

    .main-nav > ul > li > a {
        padding: 9px 10px;
    }

    .hero-section {
        min-height: auto;
        padding: 56px 0;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-data {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: sticky;
    }

    .header-main {
        padding: 8px 0 9px;
    }

    .header-inner,
    .header-main .container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .logo {
        width: 100%;
        align-items: center;
        gap: 0;
    }

    .logo-brand {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .logo-img {
        height: 34px;
        max-width: 72px;
    }

    .logo-names {
        flex: 0 1 auto;
        max-width: calc(100% - 86px);
    }

    .logo-names .logo-title {
        font-size: clamp(17px, 5vw, 21px);
        line-height: 1.18;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-names .logo-sub {
        font-size: 10px;
        line-height: 1.15;
        letter-spacing: 0.1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-inner .main-nav {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        overflow: hidden;
    }

    .header-inner .main-nav > ul,
    .main-nav > ul {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        padding: 5px;
        border-radius: 999px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header-inner .main-nav > ul::-webkit-scrollbar,
    .main-nav > ul::-webkit-scrollbar {
        display: none;
    }

    .main-nav > ul > li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .main-nav > ul > li > a {
        min-width: auto;
        padding: 8px 12px;
        font-size: 13px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .header-export {
        display: flex;
        justify-content: center;
    }
}

/* 首页产品图 / 关于区：真实图片铺满裁切 */
.products-section .product-image {
    padding: 0;
    background: #e2e8f0;
    cursor: zoom-in;
}

.products-section .product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.15));
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 1;
    pointer-events: none;
}

.products-section .product-image::after {
    content: '完整预览';
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%) translateY(6px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
    pointer-events: none;
}

html[lang|="en"] .products-section .product-image::after {
    content: "Full preview";
}

.products-section .product-item:hover .product-image::before,
.products-section .product-item:hover .product-image::after {
    opacity: 1;
}

.products-section .product-item:hover .product-image::after {
    transform: translateX(-50%) translateY(0);
}

.products-section .product-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease, object-fit 0s;
}

/* 悬停：contain 显示全图 + 轻微放大（覆盖滚动入场时的 transform） */
.products-section .product-item:hover .product-image img,
.products-section .product-item.scroll-reveal.is-visible:hover .product-image img,
.products-section .product-item.scroll-reveal:not(.is-visible):hover .product-image img {
    object-fit: contain;
    transform: scale(1.06);
}

.about-visual-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 560 / 420;
    min-height: 0;
}

.about-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* 滚动出现动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-item.scroll-reveal .product-image img,
.about-visual-frame.scroll-reveal img {
    transform: scale(1.06);
    transition: transform 0.9s ease;
}

.product-item.scroll-reveal.is-visible .product-image img,
.about-visual-frame.scroll-reveal.is-visible img {
    transform: scale(1);
}

.hero-visual-frame {
    --hero-parallax-y: 0px;
}

.hero-visual-frame img {
    transform: translate3d(0, var(--hero-parallax-y), 0);
    transition: transform 0.2s linear;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .product-item.scroll-reveal .product-image img,
    .about-visual-frame.scroll-reveal img,
    .hero-visual-frame img {
        transform: none;
        transition: none;
    }

    .products-section .product-image::before,
    .products-section .product-image::after {
        display: none;
    }

    .products-section .product-item:hover .product-image img,
    .products-section .product-item.scroll-reveal.is-visible:hover .product-image img,
    .products-section .product-item.scroll-reveal:not(.is-visible):hover .product-image img {
        object-fit: cover;
        transform: none;
    }

    .products-section .product-image {
        cursor: default;
    }
}

/* 资料中心、全站目录等：与首页共用顶栏后的正文区 */
main.container {
    padding-top: 8px;
    padding-bottom: 48px;
}

main.container .page-hero {
    padding: 40px 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
}

main.container .page-hero h1 {
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.2;
}

main.container .page-hero p {
    margin: 0;
    font-size: 16px;
    color: #475569;
    max-width: 720px;
}

main.container .section {
    padding: 0 0 32px;
}

main.container .list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    main.container .list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

main.container .list-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

main.container .list-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px;
}

main.container .list-item p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 8px;
}

main.container .link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 14px;
    align-items: center;
}

main.container a.tag-link,
main.container span.tag-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: var(--transition);
}

main.container a.tag-link:hover {
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-color: rgba(227, 36, 22, 0.22);
}

.support-page,
.support-detail-page {
    padding-bottom: 64px;
}

.support-page {
    background:
        linear-gradient(180deg, #f7f9fc 0, #fff 320px);
}

.support-list-section {
    padding-top: 18px;
}

.support-list-panel {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(26, 36, 51, 0.08);
    overflow: hidden;
}

.support-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, #fff 0, #fbfcfe 100%);
}

.support-list-head h2 {
    margin: 4px 0 0;
    color: var(--primary-dark);
    font-size: 24px;
    line-height: 1.25;
}

.support-list-head .section-eyebrow {
    margin: 0;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.support-list-count {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    color: var(--text-muted);
    white-space: nowrap;
}

.support-list-count strong {
    color: var(--accent-dark);
    font-size: 24px;
    line-height: 1;
}

.support-title-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #fff;
}

.support-title-row {
    display: flex;
    align-items: stretch;
    min-width: 0;
    border-bottom: 1px solid var(--border-color);
}

.support-title-row:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.support-title-row:last-child:nth-child(odd) {
    border-right: 0;
}

.support-title-row:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.support-title-row a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    padding: 12px 18px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: var(--transition);
}

.support-title-row a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-title-row a::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-top: 2px solid #aab3c0;
    border-right: 2px solid #aab3c0;
    transform: rotate(45deg);
    transition: var(--transition);
}

.support-title-row__delete {
    flex: 0 0 auto;
    align-self: center;
    margin-right: 12px;
    border: 1px solid rgba(220, 38, 38, 0.28);
    border-radius: 6px;
    background: #fff;
    color: #b91c1c;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 10px;
}

.support-title-row__delete:hover {
    background: #fef2f2;
}

.support-title-row__delete:disabled {
    cursor: wait;
    opacity: 0.55;
}

.support-title-row a:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.support-title-row a:hover::after {
    border-color: var(--accent-color);
    transform: translateX(2px) rotate(45deg);
}

.support-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 22px 28px 26px;
    border-top: 1px solid var(--border-color);
    background: #fbfcfe;
}

.support-pagination a,
.support-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.support-pagination a:hover {
    border-color: var(--accent-color);
    color: var(--accent-dark);
}

.support-pagination span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.support-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 30px 0 16px;
    color: #64748b;
    font-size: 14px;
}

.support-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.support-article {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 42px 50px 44px;
    box-shadow: 0 10px 34px rgba(26, 36, 51, 0.08);
}

.support-article__head {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.support-article__kicker {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.support-article__head h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 34px;
    line-height: 1.25;
}

.support-article__body p {
    margin: 0 0 14px;
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.95;
    text-indent: 2em;
}

.support-article__body h2 {
    margin: 32px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--accent-color);
    color: var(--primary-dark);
    font-size: 22px;
    line-height: 1.45;
}

.support-article__body h2:first-child {
    margin-top: 0;
}

.support-article__body p + h2 {
    margin-top: 36px;
}

.support-article__foot {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.support-article__foot a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-weight: 700;
}

.support-article__foot a:hover {
    border-color: var(--accent-color);
    color: var(--accent-dark);
}

.support-editbar {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 50;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
}

@media (max-width: 768px) {
    .support-list-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 18px 16px;
    }

    .support-title-list {
        grid-template-columns: 1fr;
    }

    .support-title-row:nth-child(odd) {
        border-right: 0;
    }

    .support-title-row:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--border-color);
    }

    .support-title-row:last-child {
        border-bottom: 0;
    }

    .support-article {
        padding: 28px 20px 32px;
    }

    .support-article__head h1 {
        font-size: 25px;
    }

    .support-title-row a {
        padding: 11px 14px;
    }

    .support-title-row a span {
        white-space: normal;
    }

    .support-pagination {
        padding: 18px;
    }

    .support-article__body p {
        font-size: 16px;
        line-height: 1.9;
    }
}

.site-footer .container.footer-wrap {
    padding: 56px 24px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer .footer-wrap h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
}

.site-footer .footer-wrap > div:first-child p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-wrap div.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-wrap div.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
}

.site-footer .footer-wrap div.footer-links a:hover {
    color: var(--accent-color);
}

/* ========== 产品详情页（现代化 + 动效） ========== */
@keyframes product-detail-enter-up {
    from {
        opacity: 0;
        transform: translate3d(0, 1.15rem, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes product-detail-mesh-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-1.5%, 1.2%, 0) scale(1.03);
    }
}

@keyframes product-detail-shine {
    0% {
        transform: translateX(-120%) skewX(-12deg);
    }
    100% {
        transform: translateX(220%) skewX(-12deg);
    }
}

.product-detail-page {
    --pd-radius: 22px;
    --pd-radius-sm: 14px;
    --pd-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --pd-shadow-lg: 0 22px 56px -16px rgba(15, 23, 42, 0.14);
    --pd-text-base: clamp(1.0625rem, 0.55vw + 0.95rem, 1.1875rem);
    --pd-text-lead: clamp(1rem, 0.45vw + 0.92rem, 1.1875rem);
    --pd-line-tight: 1.42;
    --pd-line-body: 1.82;
    padding-top: 40px;
    padding-bottom: 96px;
    background-color: #f1f5f9;
    background-image:
        radial-gradient(ellipse 90% 60% at 50% -30%, rgba(44, 61, 82, 0.08), transparent),
        radial-gradient(ellipse 50% 40% at 100% 10%, rgba(227, 36, 22, 0.05), transparent);
}

.product-detail-enter {
    opacity: 0;
    animation: product-detail-enter-up 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-detail-enter--delay {
    animation-delay: 0.14s;
}

.product-detail-reveal {
    opacity: 0;
    transform: translate3d(0, 1.65rem, 0);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.product-detail-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.product-detail-hero.product-detail-reveal {
    transition-delay: 0.06s;
}

.product-detail-rich-card.product-detail-reveal {
    transition-delay: 0.12s;
}

.product-detail-layout {
    max-width: var(--max-width);
}

.page-banner.product-detail-banner {
    height: auto;
    min-height: 268px;
    padding: 52px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(148deg, #0f1419 0%, #1a2433 42%, #243047 78%, #2f3d52 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-detail-banner__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(227, 36, 22, 0.16) 0%, transparent 38%);
    pointer-events: none;
    animation: product-detail-mesh-drift 22s ease-in-out infinite;
}

.product-detail-banner__inner {
    position: relative;
    z-index: 1;
    text-align: left;
}

.product-detail-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: clamp(0.6875rem, 0.35vw + 0.65rem, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.product-detail-banner__eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-color), rgba(255, 255, 255, 0.45));
}

.page-banner.product-detail-banner .product-detail-banner__title,
.product-detail-banner__title {
    font-size: clamp(1.9rem, 4.5vw + 0.5rem, 2.875rem);
    font-weight: 750;
    line-height: var(--pd-line-tight);
    margin: 0 0 clamp(14px, 2vw, 20px);
    letter-spacing: -0.035em;
    color: #fff;
    text-align: left;
    text-wrap: balance;
}

.product-detail-banner__lead {
    margin: 0;
    max-width: min(56rem, 95%);
    font-size: var(--pd-text-lead);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 450;
    opacity: 1;
}

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(272px, 1fr) minmax(0, 1.14fr);
    gap: clamp(28px, 4.5vw, 52px);
    align-items: stretch;
    margin-top: 40px;
    padding: clamp(26px, 4vw, 44px);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.45s ease, border-color 0.45s ease;
}

.product-detail-hero:hover {
    box-shadow: 0 26px 60px -14px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(44, 61, 82, 0.1);
}

/* 需明确宽度，否则子级为 position:absolute 时 fit-content 与 100% 形成循环，画框会塌为 0 */
.product-detail-figure {
    position: relative;
    border-radius: calc(var(--pd-radius-sm) + 6px);
    align-self: start;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-detail-figure__glow {
    position: absolute;
    inset: -18% -12%;
    background: radial-gradient(circle at 45% 45%, rgba(44, 61, 82, 0.14) 0%, transparent 62%);
    pointer-events: none;
    z-index: 0;
}

/* 主图 4:3 视窗；16:9 等横图以 cover 填充（多裁左右），竖图则裁上下 */
.product-detail-figure__frame {
    --pd-photo-max-h: min(68vh, 520px);
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 440px, calc((var(--pd-photo-max-h) * 4) / 3));
    max-width: 100%;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--pd-radius-sm);
    overflow: hidden;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid rgba(203, 213, 225, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.product-detail-figure:hover .product-detail-figure__frame {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 16px 40px -12px rgba(44, 61, 82, 0.16);
}

.product-detail-figure__frame > picture,
.product-detail-figure__frame > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    box-sizing: border-box;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-detail-figure__frame > img {
    object-fit: cover;
    object-position: center;
}

.product-detail-figure__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: var(--jw-watermark-tile) 0 0 / 400px 200px repeat;
    opacity: var(--jw-product-watermark-opacity);
    border-radius: inherit;
}

.product-detail-figure__frame picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-detail-figure:hover .product-detail-figure__frame img {
    transform: scale(1.03);
}

.product-detail-figure__selector-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    border: 1px solid rgba(30, 41, 59, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.product-detail-figure__selector-btn:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.35);
}

.product-detail-figure__selector-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.product-detail-hints-card {
    margin: 0 0 28px;
    padding: 16px 20px 16px 22px;
    background: linear-gradient(145deg, var(--accent-soft) 0%, #f8fafc 100%);
    border: 1px solid rgba(227, 36, 22, 0.16);
    border-radius: var(--pd-radius-sm);
}

.product-detail-hints-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    justify-content: space-between;
}

.product-detail-hints__selector-btn {
    flex-shrink: 0;
    border: 1px solid rgba(227, 36, 22, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #991b1b;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 16px;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 14px rgba(127, 29, 29, 0.08);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.product-detail-hints__selector-btn:hover {
    background: #ffffff;
    border-color: rgba(185, 28, 28, 0.45);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 18px rgba(127, 29, 29, 0.1);
}

.product-detail-hints__selector-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.product-detail-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 2px 0;
}

.product-detail-intro__eyebrow {
    margin: 0 0 8px;
    font-size: clamp(0.6875rem, 0.25vw + 0.65rem, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.product-detail-badge {
    margin: 0 0 16px;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 8px 16px;
    font-size: clamp(0.8125rem, 0.2vw + 0.78rem, 0.875rem);
    font-weight: 600;
    color: var(--accent-dark);
    background: linear-gradient(135deg, rgba(227, 36, 22, 0.1), rgba(227, 36, 22, 0.04));
    border: 1px solid rgba(227, 36, 22, 0.24);
    border-radius: 999px;
    letter-spacing: 0.03em;
    line-height: 1.35;
}

a.product-detail-badge {
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

a.product-detail-badge:hover {
    color: var(--primary-color);
    border-color: rgba(227, 36, 22, 0.45);
    background: linear-gradient(135deg, rgba(227, 36, 22, 0.14), rgba(227, 36, 22, 0.06));
    box-shadow: 0 2px 12px rgba(227, 36, 22, 0.12);
}

a.product-detail-badge:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.product-detail-summary {
    margin: 0 0 24px;
    max-width: 100%;
    font-size: var(--pd-text-base);
    line-height: var(--pd-line-body);
    color: #475569;
    letter-spacing: 0.01em;
}

.product-detail-hints {
    margin: 0;
    padding: 0;
    flex: 1 1 220px;
    min-width: 0;
    list-style: none;
    font-size: clamp(0.875rem, 0.2vw + 0.84rem, 0.9375rem);
    color: #475569;
    line-height: 1.68;
}

.product-detail-hints li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
}

.product-detail-hints li:last-child {
    margin-bottom: 0;
}

.product-detail-hints li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 0 3px rgba(227, 36, 22, 0.18);
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.product-detail-actions .btn {
    margin-top: 0;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: clamp(0.875rem, 0.2vw + 0.84rem, 0.9375rem);
    font-weight: 600;
    line-height: 1.35;
}

.product-detail-btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 168px;
    padding: 15px 26px !important;
    border: none;
    background: linear-gradient(148deg, var(--accent-dark) 0%, var(--accent-color) 55%, #e84235 100%) !important;
    box-shadow: 0 12px 32px rgba(227, 36, 22, 0.34);
    isolation: isolate;
}

.product-detail-btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    left: -40%;
    width: 45%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.22) 45%,
        transparent 90%
    );
    transform: translateX(-120%) skewX(-12deg);
    pointer-events: none;
    z-index: 1;
}

.product-detail-btn-primary:hover::after {
    animation: product-detail-shine 0.85s ease forwards;
}

.product-detail-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(227, 36, 22, 0.42);
}

.product-detail-btn-primary__label {
    position: relative;
    z-index: 2;
    font-size: clamp(0.6875rem, 0.15vw + 0.66rem, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.94;
}

.product-detail-btn-primary__num {
    position: relative;
    z-index: 2;
    font-size: clamp(0.6875rem, 0.2vw + 0.66rem, 0.8125rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    word-break: break-all;
    text-align: center;
    max-width: 16rem;
}

.product-detail-btn-wa {
    border: 1px solid #128c7e;
    color: #075e54 !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(7, 94, 84, 0.12);
}

.product-detail-btn-wa:hover {
    background: #e7ffef !important;
    border-color: #0a9968;
    transform: translateY(-1px);
}

.product-detail-btn-back {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-detail-btn-back:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fafc;
    transform: translateY(-1px);
}

.product-detail-btn-outline {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary-color);
    border: 1px solid rgba(44, 61, 82, 0.3);
}

.product-detail-btn-outline:hover {
    background: rgba(44, 61, 82, 0.07);
    transform: translateY(-1px);
}

.product-detail-rich-wrap {
    margin-top: 48px;
}

.product-detail-rich-card {
    position: relative;
    background: #fff;
    border-radius: var(--pd-radius);
    border: 1px solid rgba(226, 232, 240, 0.98);
    box-shadow: var(--pd-shadow-lg);
    overflow: hidden;
    transition: box-shadow 0.45s ease, transform 0.45s ease;
}

.product-detail-rich-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--accent-color));
    opacity: 0.92;
    pointer-events: none;
}

.product-detail-rich-card:hover {
    box-shadow: 0 26px 58px -16px rgba(15, 23, 42, 0.15);
}

.product-detail-rich-head {
    position: relative;
    padding: clamp(22px, 3.5vw, 28px) clamp(22px, 4vw, 36px) clamp(18px, 2.5vw, 22px);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
    border-bottom: 1px solid #eef2f6;
}

.product-detail-rich-heading {
    position: relative;
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.6vw + 0.45rem, 1.65rem);
    font-weight: 750;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: var(--pd-line-tight);
    border: none;
    padding: 0;
}

.product-detail-rich-heading::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
    opacity: 0.9;
}

.product-detail-rich-sub {
    margin: 0;
    max-width: 100%;
    font-size: clamp(0.875rem, 0.35vw + 0.82rem, 0.9375rem);
    color: #64748b;
    line-height: 1.65;
}

.product-detail-prose {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: clamp(30px, 4.5vw, 48px) clamp(24px, 5vw, 48px) clamp(38px, 5vw, 56px);
    font-size: var(--pd-text-base);
    line-height: var(--pd-line-body);
    color: #334155;
    overflow-x: auto;
    letter-spacing: 0.02em;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* 详细说明增强：滚入视口后再入场（.is-inview 由 IntersectionObserver 添加） */
.product-detail-prose--enhanced .product-detail-section {
    position: relative;
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.62s cubic-bezier(0.22, 1, 0.32, 1),
        transform 0.62s cubic-bezier(0.22, 1, 0.32, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
}

.product-detail-prose--enhanced .product-detail-section.is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.product-detail-prose--enhanced .product-detail-section.is-inview:hover {
    transform: translate3d(0, -3px, 0);
    border-color: rgba(44, 61, 82, 0.22);
    box-shadow:
        0 18px 44px -22px rgba(15, 23, 42, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.product-detail-prose--enhanced .product-detail-section::before {
    content: "";
    position: absolute;
    left: 14px;
    top: clamp(16px, 2.5vw, 22px);
    bottom: clamp(16px, 2.5vw, 22px);
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    opacity: 0;
    transform: scaleY(0.65);
    transform-origin: center top;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(227, 36, 22, 0.2);
    transition:
        opacity 0.5s ease 0.06s,
        transform 0.5s cubic-bezier(0.22, 1, 0.32, 1) 0.06s;
}

.product-detail-prose--enhanced .product-detail-section--intro::before {
    background: linear-gradient(180deg, #94a3b8 0%, #cbd5e1 100%);
    box-shadow: none;
}

.product-detail-prose--enhanced .product-detail-section.is-inview::before {
    opacity: 0.88;
    transform: scaleY(1);
}

.product-detail-prose--enhanced .product-detail-section--intro.is-inview::before {
    opacity: 0.75;
}

.product-detail-prose--enhanced .product-detail-section__title {
    border-bottom: none;
    padding-bottom: 0.45em;
    margin-bottom: 0.75em;
}

.product-detail-prose--enhanced .product-detail-section__title::after {
    content: "";
    display: block;
    width: min(56px, 18%);
    height: 3px;
    margin-top: 0.42em;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.95;
}

.product-detail-prose--enhanced table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px -14px rgba(15, 23, 42, 0.14);
    border: 1px solid #e2e8f0;
}

/* 详细说明：按章节标题拆成的卡片块 */
.product-detail-prose .product-detail-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: clamp(18px, 2.8vw, 26px) clamp(16px, 3.2vw, 28px) clamp(22px, 3.2vw, 32px);
    margin-bottom: clamp(14px, 2.2vw, 20px);
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.product-detail-prose .product-detail-section:last-child {
    margin-bottom: 0;
}

.product-detail-prose.product-detail-prose--enhanced .product-detail-section {
    padding-left: clamp(26px, 3.8vw, 40px);
}

.product-detail-prose .product-detail-section--intro {
    background: #fafbfc;
    border-style: dashed;
    border-color: #e2e8f0;
    box-shadow: none;
}

.product-detail-prose .product-detail-section__title {
    font-size: clamp(1.0625rem, 0.55vw + 0.98rem, 1.25rem);
    font-weight: 750;
    color: #0f172a;
    margin: 0 0 0.85em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #e2e8f0;
    letter-spacing: -0.02em;
    line-height: var(--pd-line-tight);
    max-width: 100%;
}

.product-detail-prose .product-detail-section__title + p {
    margin-top: 0;
}

.product-detail-prose .product-detail-subheading {
    margin: 1.15em 0 0.35em;
    color: #1e3a5f;
    font-weight: 750;
    line-height: 1.45;
}

html[lang|="en"] .product-detail-prose .product-detail-section--translated {
    padding: clamp(24px, 3.4vw, 38px);
    background:
        linear-gradient(135deg, rgba(15, 74, 122, 0.035), transparent 38%),
        #fff;
    border-color: #dbe5ef;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
}

html[lang|="en"] .product-detail-prose .product-detail-section--translated p,
html[lang|="en"] .product-detail-prose .product-detail-section--translated ul,
html[lang|="en"] .product-detail-prose .product-detail-section--translated ol {
    max-width: 76ch;
}

html[lang|="en"] .product-detail-prose .product-detail-section__subtitle {
    margin: 1.45em 0 0.55em;
    color: #1e3a5f;
    font-size: clamp(1rem, 0.4vw + 0.94rem, 1.125rem);
    font-weight: 750;
    line-height: 1.4;
}

html[lang|="en"] .product-detail-prose .product-detail-section--model {
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(15, 74, 122, 0.09), transparent 36%),
        #f8fafc;
}

html[lang|="en"] .product-detail-prose .product-detail-section--model > .product-detail-section__title {
    margin-bottom: 1.2em;
}

html[lang|="en"] .product-detail-prose .jw-model-card {
    margin-top: 0;
    margin-bottom: 0;
}

html[lang|="en"] .product-detail-prose .jw-model-card__meaning-en {
    margin: 0;
    color: #24324a;
    font-size: clamp(0.95rem, 0.4vw + 0.87rem, 1.0625rem);
    font-weight: 650;
    line-height: 1.42;
}

.product-detail-prose .product-detail-section > h1:first-child,
.product-detail-prose .product-detail-section > h2:first-child,
.product-detail-prose .product-detail-section > h3:first-child {
    margin-top: 0;
}

/* 旧 CMS：内联 width + margin-left 会把正文挤成窄条，需用 !important 拉满容器 */
.product-detail-prose div.ProText {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.product-detail-prose div[style*="width"],
.product-detail-prose div[style*="WIDTH"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.product-detail-prose [style*="margin-left"],
.product-detail-prose [style*="margin-left: 20px"],
.product-detail-prose [style*="MARGIN-LEFT"] {
    margin-left: 0 !important;
}

.product-detail-prose div[align="left"],
.product-detail-prose div[align="LEFT"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

/* CMS 里 12px/14px 的 span 过小，跟随正文字号 */
.product-detail-prose span[style*="font-size"],
.product-detail-prose span[style*="FONT-SIZE"] {
    font-size: inherit !important;
    line-height: inherit !important;
}

.product-detail-prose font {
    font-size: inherit !important;
}

.product-detail-empty {
    margin: 0;
    max-width: 100%;
    color: #64748b;
    font-size: var(--pd-text-base);
    line-height: var(--pd-line-body);
}

.product-detail-empty a {
    color: var(--primary-color);
    font-weight: 600;
}

.product-detail-empty a:hover {
    text-decoration: underline;
}

.product-detail-prose .NewsTile,
.product-detail-prose [class*="NewsTile"] {
    font-size: clamp(1.2rem, 2.2vw + 0.55rem, 1.5rem);
    font-weight: 750;
    color: #0f172a;
    margin: 0 0 14px;
    line-height: var(--pd-line-tight);
    letter-spacing: -0.02em;
    max-width: 100%;
}

.product-detail-prose .NewsTime {
    font-size: clamp(0.8125rem, 0.25vw + 0.78rem, 0.875rem);
    color: #94a3b8;
    margin: 0 0 22px;
    letter-spacing: 0.03em;
}

.product-detail-prose h1,
.product-detail-prose h2,
.product-detail-prose h3 {
    font-size: clamp(1.125rem, 0.65vw + 1.02rem, 1.3125rem);
    font-weight: 750;
    color: #0f172a;
    margin: 1.45em 0 0.55em;
    letter-spacing: -0.02em;
    line-height: var(--pd-line-tight);
    max-width: 100%;
}

.product-detail-prose h1:first-child,
.product-detail-prose h2:first-child {
    margin-top: 0;
}

.product-detail-prose p {
    margin: 0 0 1.05em;
    max-width: 100%;
}

.product-detail-prose .product-detail-section > p:not(.product-detail-subheading):not(.product-detail-empty) {
    text-indent: 2em;
}

.product-detail-prose .jw-model-card p,
.product-detail-prose .jw-model-card__note,
.product-detail-prose .jw-model-card__item p,
.product-detail-prose .jw-model-card__subtitle {
    text-indent: 0;
}

.product-detail-prose ul,
.product-detail-prose ol {
    max-width: 100%;
    margin: 0.45em 0 1.15em;
    padding-left: 2em;
}

.product-detail-prose ul {
    list-style: none;
}

.product-detail-prose ol {
    padding-left: 2.25em;
}

.product-detail-prose li {
    position: relative;
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 0.45em;
    padding-left: 0.35em;
}

.product-detail-prose ul > li::before {
    content: "";
    position: absolute;
    left: -1.15em;
    top: 0.72em;
    width: 0.34em;
    height: 0.34em;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(227, 36, 22, 0.08);
}

.product-detail-prose li:last-child {
    margin-bottom: 0;
}

.product-detail-prose table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: clamp(0.875rem, 0.35vw + 0.82rem, 0.9375rem);
    line-height: 1.58;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.product-detail-prose td,
.product-detail-prose th {
    border: 1px solid #e8edf3;
    padding: 12px 15px;
    vertical-align: top;
}

.product-detail-prose th {
    background: #f8fafc;
    font-weight: 600;
    color: #334155;
}

.product-detail-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.25em 0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-detail-prose img:hover {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.product-detail-prose a[href] {
    color: var(--accent-dark);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(227, 36, 22, 0.35);
    text-underline-offset: 3px;
}

.product-detail-prose a[href]:hover {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

.product-detail-prose .jw-model-card {
    max-width: 980px;
    margin: 24px auto;
    padding: clamp(24px, 4.2vw, 42px) clamp(18px, 4.8vw, 48px);
    background: #fff;
    border: 1px solid #d7e0ec;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.075);
    color: #1d2a44;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.product-detail-prose .jw-model-card__ocr-source {
    display: none !important;
}

html[lang|="zh"] .product-detail-prose .jw-model-card__meaning em,
html[lang|="zh"] .product-detail-prose .jw-model-card__note--en {
    display: none !important;
}

.product-detail-prose .jw-model-card--diagram {
    position: relative;
    max-width: 1060px;
    padding-top: clamp(18px, 3.2vw, 30px);
    padding-bottom: clamp(18px, 3.2vw, 30px);
    overflow: hidden;
}

.product-detail-prose .jw-model-card--diagram::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-dark), var(--accent-color));
    opacity: 0.9;
}

.product-detail-prose .jw-model-card--diagram h2 {
    font-size: clamp(1.6rem, 2vw + 0.8rem, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__subtitle {
    margin: 6px 0 24px;
    font-size: clamp(0.98rem, 0.55vw + 0.85rem, 1.18rem);
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__code {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--field-count, 4), minmax(0, 1fr)) minmax(0, 25%);
    gap: 0;
    width: 100%;
    max-width: 980px;
    margin: 22px auto 0;
    color: #12365a;
    font-size: clamp(1.38rem, calc(3rem - var(--field-count, 4) * 0.16rem), 2.25rem);
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__code span {
    position: relative;
    display: block;
    justify-self: center;
    width: fit-content;
    max-width: none;
    box-sizing: border-box;
    min-width: 0;
    margin-right: 0;
    padding: 0 clamp(6px, calc(20px - var(--field-count, 4) * 1.5px), 16px) 7px;
    border-bottom-width: 3px;
    border-bottom-color: #12365a;
    overflow: visible;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__sep {
    position: absolute;
    top: 0.02em;
    left: var(--sep-left);
    min-width: 0;
    margin-right: 0;
    padding-bottom: 7px;
    transform: translateX(-50%);
    color: #12365a;
    font-size: 0.98em;
    line-height: 1;
    text-align: center;
    white-space: pre;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__grid {
    display: grid;
    position: relative;
    grid-template-columns: repeat(var(--field-count, 4), minmax(0, 1fr)) minmax(0, 25%);
    grid-auto-rows: 118px;
    gap: 0;
    max-width: 980px;
    margin: 62px auto 10px;
    overflow: visible;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__item {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(var(--field-count, 4), minmax(0, 1fr)) minmax(0, 25%);
    max-width: none;
    min-width: 0;
    min-height: 0;
    height: 118px;
    padding: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    align-items: start;
    text-align: left;
    --lead-color: #172033;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__item strong {
    grid-column: var(--field-index);
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__item strong::before {
    content: "";
    position: absolute;
    display: none;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__item::before,
.product-detail-prose .jw-model-card--diagram .jw-model-card__item::after {
    display: none;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__line {
    position: absolute;
    top: -62px;
    left: var(--lead-x);
    width: max(34px, calc(75% - var(--lead-x) - 28px));
    height: calc(62px + var(--lead-y));
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__line::before,
.product-detail-prose .jw-model-card--diagram .jw-model-card__line::after {
    content: "";
    position: absolute;
    left: 0;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__line::before {
    top: 0;
    width: 1px;
    height: 100%;
    background: #334155;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__line::after {
    top: 100%;
    width: 100%;
    border-top: 1px solid #334155;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__meaning {
    grid-column: var(--text-col);
    grid-row: 1;
    min-width: 0;
    max-width: 340px;
    margin: -3px 0 0;
    padding-left: 30px;
    text-align: left;
    position: relative;
    z-index: 3;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__item p {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: clamp(0.98rem, 0.45vw + 0.88rem, 1.1rem);
    font-weight: 760;
    line-height: 1.38;
    overflow-wrap: anywhere;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__item em {
    display: block;
    max-width: 100%;
    color: #24324a;
    font-size: 0.92rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

html[lang|="en"] .product-detail-prose .jw-model-card--diagram .jw-model-card__item p {
    font-weight: 680;
    line-height: 1.44;
}

.product-detail-prose .jw-model-card--diagram .jw-model-card__note {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

.product-detail-prose .jw-model-card h2 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.5rem, 2.2vw + 0.75rem, 2.125rem);
    color: #12365a;
    letter-spacing: 1px;
}

.product-detail-prose .jw-model-card__subtitle {
    margin: 8px 0 32px;
    text-align: center;
    font-size: clamp(1rem, 0.7vw + 0.82rem, 1.25rem);
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.product-detail-prose .jw-model-card__code {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 3vw, 34px);
    margin-bottom: 30px;
    color: #12365a;
    font-size: clamp(1.7rem, 2.4vw + 0.9rem, 2.375rem);
    font-weight: 800;
    line-height: 1.15;
}

.product-detail-prose .jw-model-card__code span {
    min-width: clamp(52px, 8vw, 80px);
    padding-bottom: 10px;
    border-bottom: 3px solid #12365a;
    text-align: center;
}

.product-detail-prose .jw-model-card__sep {
    min-width: 0;
    padding-bottom: 10px;
    color: #12365a;
    font: inherit;
}

.product-detail-prose .jw-model-card__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.product-detail-prose .jw-model-card__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 150px;
    max-width: 180px;
    min-width: 150px;
    min-height: 170px;
    padding: 18px 14px;
    border: 1px solid #d6e0f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    text-align: center;
}

.product-detail-prose .jw-model-card__item strong {
    display: block;
    margin-bottom: 10px;
    color: #12365a;
    font-size: clamp(1.25rem, 1.3vw + 0.9rem, 1.625rem);
}

.product-detail-prose .jw-model-card__item p {
    margin: 0 0 6px;
    color: #1d2a44;
    font-size: clamp(0.95rem, 0.45vw + 0.84rem, 1.0625rem);
    font-weight: 800;
    line-height: 1.35;
}

.product-detail-prose .jw-model-card__item em {
    color: #56677f;
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.35;
}

.product-detail-prose .jw-model-card__note {
    position: relative;
    margin-top: 14px;
    padding: 16px 20px 16px 52px;
    border: 1px solid rgba(15, 74, 122, 0.14);
    border-left: 4px solid var(--primary-color);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.9));
    color: #1d2a44;
    font-size: 1rem;
    line-height: 1.8;
}

.product-detail-prose .jw-model-card__note::before {
    content: "i";
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #12365a;
    color: #fff;
    font-size: 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1;
}

.product-detail-prose .jw-model-card__note--en {
    color: #333;
}

@media (max-width: 760px) {
    .product-detail-prose .jw-model-card__item {
        flex-basis: min(100%, 150px);
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__code,
    .product-detail-prose .jw-model-card--diagram .jw-model-card__lines {
        display: none;
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
        margin: 20px 0 0;
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__item {
        display: grid;
        grid-column: auto !important;
        grid-row: auto !important;
        grid-template-columns: minmax(60px, 82px) minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        justify-content: stretch;
        height: auto;
        min-height: 118px;
        padding: 18px 16px;
        border: 1px solid #d6e0f3;
        border-radius: 14px;
        background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
        box-shadow: 0 8px 22px rgba(30, 64, 175, 0.07);
        text-align: left;
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__item strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 44px;
        margin: 0;
        padding: 8px 10px;
        border-radius: 12px;
        background: #eef6ff;
        border: 1px solid rgba(15, 74, 122, 0.14);
        overflow: visible;
        color: #12365a;
        font-size: 1.25rem;
        line-height: 1.25;
        opacity: 1;
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__item::before,
    .product-detail-prose .jw-model-card--diagram .jw-model-card__item::after,
    .product-detail-prose .jw-model-card--diagram .jw-model-card__lead {
        display: none;
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__item p,
    .product-detail-prose .jw-model-card--diagram .jw-model-card__item em,
    .product-detail-prose .jw-model-card--diagram .jw-model-card__meaning {
        display: block;
        position: static;
        grid-column: auto;
        grid-row: auto;
        width: auto;
        max-width: 100%;
        min-height: 0;
        margin-top: 0;
        margin-left: 0;
        padding: 0;
        text-align: left;
    }

    .product-detail-prose .jw-model-card--diagram .jw-model-card__item p {
        margin-bottom: 4px;
    }
}

@media (min-width: 560px) and (max-width: 760px) {
    .product-detail-prose .jw-model-card--diagram .jw-model-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 761px) {
    .product-detail-prose .jw-model-card__grid:has(.jw-model-card__item:first-child:nth-last-child(-n+5)) {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .product-detail-prose .jw-model-card__grid:has(.jw-model-card__item:first-child:nth-last-child(-n+2)) {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .page-banner.product-detail-banner {
        min-height: 0;
        padding: 44px 0 64px;
    }

    .product-detail-hero {
        grid-template-columns: 1fr;
    }

    .product-detail-figure {
        justify-self: stretch;
        width: 100%;
        max-width: none;
    }

    .product-detail-figure__frame {
        --pd-photo-max-h: min(56vh, 480px);
        width: min(100%, calc((var(--pd-photo-max-h) * 4) / 3));
        max-width: none;
    }
}

@media (max-width: 600px) {
    .product-detail-page {
        padding-top: 28px;
        padding-bottom: 72px;
    }

    .product-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-actions .btn,
    .product-detail-btn-primary {
        width: 100%;
        min-width: 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-banner__mesh {
        animation: none;
    }

    .product-detail-enter {
        animation: none;
        opacity: 1;
    }

    .product-detail-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }

    .product-detail-btn-primary::after {
        display: none;
    }

    .product-detail-btn-primary:hover,
    .product-detail-btn-back:hover,
    .product-detail-btn-outline:hover,
    .product-detail-hero:hover,
    .product-detail-figure:hover .product-detail-figure__frame,
    .product-detail-figure:hover .product-detail-figure__frame img,
    .product-detail-figure:hover .product-detail-figure__frame picture img,
    .product-detail-prose img:hover {
        transform: none;
    }

    .product-detail-prose--enhanced .product-detail-section,
    .product-detail-prose--enhanced .product-detail-section:hover {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .product-detail-prose--enhanced .product-detail-section::before {
        opacity: 0.88;
        transform: scaleY(1);
        transition: none;
    }

    .product-detail-prose--enhanced .product-detail-section--intro::before {
        opacity: 0.75;
    }
}

/* ========== 在线选型（演示页） ========== */
.jw-selector-page .jw-selector-lead {
    max-width: 52rem;
    margin: 0 auto 28px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-light);
}

.jw-selector-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.jw-selector-card.jw-selector-results {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.jw-selector-results-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text-color);
}

.jw-selector-empty {
    margin: 0;
    font-size: 15px;
    color: var(--text-light);
}

.jw-selector-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: jw-sel;
}

.jw-selector-item {
    counter-increment: jw-sel;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.jw-selector-item:last-child {
    border-bottom: none;
}

.jw-selector-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    margin-bottom: 8px;
}

.jw-selector-item__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.jw-selector-item__title {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

.jw-selector-item__title:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.jw-selector-item__pts {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
}

.jw-selector-item__meta {
    margin: 0 0 8px 36px;
    font-size: 13px;
    color: var(--text-light);
}

.jw-selector-item__blurb {
    margin: 0 0 0 36px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-color);
}

.jw-selector-item__models {
    margin: 0 0 10px 36px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color);
}

.jw-selector-item__models-label {
    font-weight: 600;
    margin-right: 4px;
}

.jw-selector-item__models-note {
    color: var(--text-light);
    font-size: 12px;
    margin-left: 4px;
}

.jw-selector-item__qh-chart {
    margin: 12px 0 8px 36px;
    max-width: 430px;
}

.jw-selector-item__qh-svg {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(44, 61, 82, 0.1);
}

.jw-selector-item__qh-chart-cap {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-light);
}

.jw-selector-item__qh-axis-row {
    margin: 4px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 12px;
    color: #475569;
}

.jw-selector-item__qh-axis-label {
    color: #334155;
}

.jw-selector-item__qh-model-out {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 900px) {
    .jw-selector-item__qh-chart {
        margin-left: 0;
    }
}

.jw-selector-lead code {
    font-size: 0.88em;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(44, 61, 82, 0.08);
}

.jw-selector-item__pick {
    margin: 0 0 10px 36px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--primary-color, #2c3d52);
}

.jw-selector-item__pick-label {
    font-weight: 600;
    margin-right: 6px;
    color: var(--text-color);
}

.jw-selector-item__pick-tag {
    display: inline-block;
    margin: 6px 0 0 8px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    vertical-align: middle;
}

.jw-selector-item__pick-tag--ok {
    background: rgba(34, 197, 94, 0.16);
    color: #166534;
}

.jw-selector-item__pick-tag--warn {
    background: rgba(251, 191, 36, 0.22);
    color: #854d0e;
}

@media (max-width: 900px) {
    .jw-selector-item__pick {
        margin-left: 0;
    }

    .jw-selector-item__pick-tag {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* —— 产品详情：型号与参数表（默认前 3 行 + 其余折叠） —— */
.jw-product-spec-mount {
    margin-top: 28px;
}

body.jw-pd-selector-open {
    overflow: hidden;
}

.jw-pd-selector-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.jw-pd-selector-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.jw-pd-selector-modal__panel {
    position: relative;
    width: min(860px, calc(100vw - 24px));
    max-height: calc(100vh - 28px);
    margin: 14px auto;
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    padding: 20px 20px 18px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.35);
}

.jw-pd-selector-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
}

.jw-pd-selector-modal__title {
    margin: 0;
    font-size: 22px;
    color: #0f172a;
}

.jw-pd-selector-modal__hint {
    margin: 8px 0 14px;
    color: #64748b;
    font-size: 13px;
}

.jw-pd-selector-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.jw-pd-selector-form__row label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.jw-pd-selector-input-with-unit {
    display: grid;
    grid-template-columns: 1fr 108px;
    gap: 8px;
}

.jw-pd-selector-input-with-unit input,
.jw-pd-selector-input-with-unit select {
    width: 100%;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

.jw-pd-selector-form__submit {
    height: 42px;
    padding: 0 18px;
}

.jw-pd-selector-result {
    margin-top: 14px;
}

.jw-pd-selector-result-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jw-pd-model-toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jw-pd-model-toolbar__label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.02em;
}

.jw-pd-model-select {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.jw-pd-model-select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.jw-pd-model-meta {
    margin: 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
    word-break: break-word;
}

.jw-pd-chart-root {
    min-height: 0;
}

.jw-pd-chart-footer {
    margin-top: 10px;
    padding: 0 6px 0 2px;
}

.jw-pd-chart-footer__disclaimer {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #64748b;
}

.jw-pd-selector-chart__svg {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.94);
    border: 1px solid rgba(100, 116, 139, 0.24);
}

.jw-pd-selector-chart__axis-row {
    margin: 6px 2px 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #334155;
    font-weight: 600;
}

.jw-pd-selector-chart__cap {
    margin: 5px 2px 0;
    color: #64748b;
    font-size: 12px;
}

.jw-pd-selector-chart__note {
    margin: 8px 2px 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #92400e;
    font-size: 12px;
    line-height: 1.45;
}

.jw-pd-selector-empty {
    margin: 0;
    padding: 12px 10px;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
}

.jw-product-spec {
    border: 1px solid rgba(44, 61, 82, 0.12);
    border-radius: 12px;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.jw-product-spec__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 16px 16px 16px 18px;
    border: none;
    border-left: 4px solid var(--primary-color, #2c3d52);
    background: linear-gradient(90deg, rgba(44, 61, 82, 0.05) 0%, #fff 52%);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    box-sizing: border-box;
}

.jw-product-spec__toggle-lead {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color, #2c3d52);
    opacity: 0.95;
}

.jw-product-spec__icon {
    display: block;
}

.jw-product-spec__toggle-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.jw-product-spec__toggle-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.jw-product-spec__toggle-label {
    letter-spacing: 0.02em;
}

.jw-product-spec__toggle-sub {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #64748b;
    letter-spacing: 0.01em;
}

.jw-product-spec__count {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color, #2c3d52);
    background: rgba(44, 61, 82, 0.1);
    line-height: 1.4;
}

.jw-product-spec__ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.jw-product-spec__ranges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid rgba(44, 61, 82, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
}

.jw-product-spec__ranges b {
    font-weight: 700;
    color: #1e293b;
}

.jw-product-spec__ranges em {
    font-style: normal;
    color: #475569;
}

.jw-product-spec__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px 14px;
    padding: 14px 16px;
    border-top: 1px solid rgba(44, 61, 82, 0.1);
    background: #fff;
}

.jw-product-spec__search {
    display: grid;
    gap: 6px;
    width: min(420px, 100%);
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.jw-product-spec__search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6e1ee;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    box-sizing: border-box;
}

.jw-product-spec__search input:focus {
    outline: none;
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.13);
}

.jw-product-spec__filter-note {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.jw-product-spec__sheet {
    border-top: 1px solid rgba(44, 61, 82, 0.1);
    background: #fff;
}

.jw-product-spec__table-wrap {
    max-height: min(72vh, 720px);
    overflow: auto;
    padding: 0 10px 4px;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    box-sizing: border-box;
}

.jw-product-spec__expand-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px 16px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-top: 1px dashed rgba(44, 61, 82, 0.14);
}

.jw-product-spec__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(44, 61, 82, 0.2);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color, #2c3d52);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.jw-product-spec__more-btn:hover {
    background: #f1f5f9;
    border-color: rgba(44, 61, 82, 0.28);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.jw-product-spec__more-btn:focus-visible {
    outline: 2px solid var(--primary-color, #2c3d52);
    outline-offset: 2px;
}

.jw-product-spec__more-btn--open {
    background: rgba(44, 61, 82, 0.06);
}

.jw-product-spec__more-che {
    font-size: 10px;
    opacity: 0.9;
    line-height: 1;
}

@media (max-width: 560px) {
    .jw-product-spec__head {
        flex-wrap: wrap;
    }
}

.jw-product-spec__table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: clamp(12px, 0.78vw, 14px);
    line-height: 1.5;
}

.jw-product-spec__table th,
.jw-product-spec__table td {
    border: 1px solid #e2e8f0;
    padding: 9px 10px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

.jw-product-spec__table th {
    position: sticky;
    top: 0;
    z-index: 4;
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    font-weight: 600;
    font-size: clamp(12px, 0.72vw, 13px);
    white-space: normal;
    line-height: 1.3;
    color: #334155;
    border-bottom: 2px solid #cbd5e1;
}

.jw-product-spec__th-title {
    display: inline;
    margin-right: 4px;
}

.jw-product-spec__unit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
    padding: 2px 7px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #334155;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.jw-product-spec__unit-btn:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.jw-product-spec__unit-btn:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.35);
    outline-offset: 1px;
}

.jw-product-spec__unit-btn[aria-expanded="true"] {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.18);
    background: #eff6ff;
}

.jw-product-spec__unit-caret {
    font-size: 10px;
    color: #64748b;
}

.jw-product-spec__unit-menu {
    position: absolute;
    right: 8px;
    top: calc(100% - 2px);
    z-index: 5;
    min-width: 88px;
    padding: 6px;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.jw-product-spec__unit-opt {
    display: block;
    width: 100%;
    margin: 0;
    padding: 6px 8px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #334155;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}

.jw-product-spec__unit-opt:hover {
    background: #f1f5f9;
}

.jw-product-spec__table tbody tr:nth-child(even) td {
    background: #fafbfc;
}

.jw-product-spec__table tbody tr:hover td {
    background: rgba(44, 61, 82, 0.04);
}

.jw-product-spec__table tbody td.jw-product-spec__td-model {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 1px 0 0 #e2e8f0;
}

.jw-product-spec--cols-9 .jw-product-spec__table,
.jw-product-spec--cols-10 .jw-product-spec__table {
    min-width: 860px;
    table-layout: auto;
}

.jw-product-spec--cols-8 .jw-product-spec__table th,
.jw-product-spec--cols-8 .jw-product-spec__table td,
.jw-product-spec--cols-9 .jw-product-spec__table th,
.jw-product-spec--cols-9 .jw-product-spec__table td,
.jw-product-spec--cols-10 .jw-product-spec__table th,
.jw-product-spec--cols-10 .jw-product-spec__table td {
    padding-right: 8px;
    padding-left: 8px;
}

.jw-product-spec__table thead th:first-child {
    left: 0;
    z-index: 6;
    box-shadow: 1px 0 0 #cbd5e1;
}

.jw-product-spec__table tbody tr:nth-child(even) td.jw-product-spec__td-model {
    background: #fafbfc;
}

.jw-product-spec__table tbody tr:hover td.jw-product-spec__td-model {
    background: #f3f6fa;
}

.jw-product-spec__model-text {
    vertical-align: middle;
}

.jw-product-spec__curve-expand {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    cursor: pointer;
    vertical-align: middle;
    white-space: nowrap;
}

.jw-product-spec__curve-expand:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.jw-product-spec__curve-expand:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 1px;
}

.jw-product-spec__table tbody td[rowspan] {
    vertical-align: middle;
}

.jw-product-spec__extra {
    min-width: 140px;
    font-size: 13px;
    color: #475569;
}

.jw-product-spec__empty {
    margin: 0;
    padding: 16px;
    color: #64748b;
    text-align: center;
}

.jw-product-spec__cards {
    display: none;
}

.jw-product-spec-card {
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    padding: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.jw-product-spec-card h4 {
    margin: 0 0 10px;
    color: #12365a;
    font-size: 16px;
    line-height: 1.3;
}

.jw-product-spec-card__main {
    display: grid;
    gap: 8px;
}

.jw-product-spec-card__main span {
    display: grid;
    grid-template-columns: minmax(82px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

.jw-product-spec-card__main b {
    color: #64748b;
    font-weight: 700;
}

.jw-product-spec-card__main em {
    color: #1e293b;
    font-style: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .jw-product-spec__table-wrap,
    .jw-product-spec__expand-bar {
        display: none;
    }

    .jw-product-spec__cards {
        display: grid;
        gap: 12px;
        padding: 12px 14px 16px;
        border-top: 1px solid rgba(44, 61, 82, 0.1);
        background: #fff;
    }

    .jw-product-spec__tools {
        padding: 12px 14px;
    }

    .jw-product-spec__ranges span {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 900px) {
    .jw-selector-layout {
        grid-template-columns: 1fr;
    }

    .jw-selector-item__meta,
    .jw-selector-item__blurb,
    .jw-selector-item__models {
        margin-left: 0;
    }
}


@media (max-width: 900px) {
    .jw-pd-selector-form {
        grid-template-columns: 1fr;
    }

    .jw-pd-selector-form__submit {
        width: 100%;
    }

    .jw-pd-selector-chart__axis-row {
        flex-direction: column;
        gap: 2px;
    }
}

.jw-export-cta {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.jw-export-cta--compact {
    margin-top: 28px;
}

.product-detail-hero + .jw-export-cta--compact {
    display: grid;
    grid-template-columns: minmax(220px, 0.6fr) minmax(360px, 1.35fr) minmax(190px, auto);
    align-items: center;
    gap: 8px 28px;
    margin: 22px 0 0;
    padding: 20px 26px;
}

.product-detail-hero + .jw-export-cta--compact .jw-export-cta__eyebrow {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 4px;
}

.product-detail-hero + .jw-export-cta--compact h3 {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 6px;
    max-width: 340px;
    font-size: clamp(18px, 1.25vw, 22px);
}

.product-detail-hero + .jw-export-cta--compact p {
    grid-column: 2;
    grid-row: 1 / 3;
    max-width: 850px;
    font-size: 16px;
    line-height: 1.65;
}

.product-detail-hero + .jw-export-cta--compact .jw-export-cta__actions {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    margin-top: 0;
    min-width: 190px;
}

.product-detail-hero + .jw-export-cta--compact .jw-export-cta__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    margin-top: 0;
    padding: 12px 18px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

.product-detail-hero + .jw-export-cta--compact .jw-export-cta__actions .ghost-btn {
    color: #1e3a5f;
    border: 1px solid rgba(30, 58, 95, 0.24);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.product-detail-hero + .jw-export-cta--compact .jw-export-cta__actions .ghost-btn:hover {
    color: #0f4a7a;
    border-color: rgba(15, 74, 122, 0.42);
    background: #ffffff;
}

html[lang="en"] .product-detail-summary {
    margin-bottom: 18px;
    line-height: 1.58;
}

html[lang="en"] .product-detail-hints-card {
    margin-bottom: 22px;
    padding: 14px 18px;
}

.jw-export-cta__eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jw-export-cta h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
}

.jw-export-cta p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.jw-export-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.jw-export-cta__actions .btn {
    min-width: 170px;
    justify-content: center;
}

@media (max-width: 640px) {
    .jw-export-cta {
        padding: 16px;
        border-radius: 16px;
    }

    .jw-export-cta__actions .btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .product-detail-hero + .jw-export-cta--compact {
        display: block;
        margin-top: 18px;
    }

    .product-detail-hero + .jw-export-cta--compact .jw-export-cta__eyebrow {
        margin-bottom: 8px;
    }

    .product-detail-hero + .jw-export-cta--compact .jw-export-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 14px;
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .product-detail-hero + .jw-export-cta--compact {
        grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    }

    .product-detail-hero + .jw-export-cta--compact p {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .product-detail-hero + .jw-export-cta--compact .jw-export-cta__actions {
        grid-column: 1 / -1;
        grid-row: 3;
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 8px;
    }
}
