/* ==========================================================================
   styles.css — 全站样式（精简合并版）
   包含：Design Tokens / Reset / Typography / Layout / Components / Pages
   风格：海洋欢乐风（深海蓝 + 活力橙 + 暖白，适合充气游乐设备）
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
    /* 主色 — 深海蓝（水上设备主题，专业但活泼） */
    --color-primary: #0C4A9E;
    --color-primary-soft: #1E5FBF;

    /* 强调色 — 活力橙（CTA / 链接，传递欢乐能量） */
    --color-accent: #FF6B35;
    --color-accent-hover: #E55A2B;

    /* 次要色 — 阳光黄 / 天空蓝 / 草地绿（多彩点缀） */
    --color-secondary: #FFC107;
    --color-secondary-hover: #E0A800;
    --color-tertiary: #2196F3;
    --color-fun: #84CC16;

    /* 中性色 — 暖白基底 + 石板灰文字 */
    --color-bg: #ffffff;
    --color-bg-soft: #FFF7ED;       /* 暖白替代冷灰 */
    --color-bg-dark: #0C4A9E;       /* Hero/Footer 深海蓝背景 */
    --color-text: #1E293B;          /* 深石板灰替代纯黑 */
    --color-text-soft: #475569;
    --color-text-mute: #94A3B8;
    --color-border: #E2E8F0;
    --color-border-strong: #CBD5E1;

    /* 语义色 */
    --color-success: #00b341;
    --color-warning: #ff9500;
    --color-danger: #ff3b30;

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
        'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

    /* 字号 */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --text-6xl: 60px;

    /* 字重 */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-bold: 700;

    /* 行高 */
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* 间距（8 倍数） */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 999px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);

    /* 过渡 */
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;

    /* 布局 */
    --header-height: 60px;
    --container-max: 1200px;
}

/* ==========================================================================
   2. Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

input,
textarea,
select {
    font: inherit;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    line-height: var(--leading-normal);
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-xl);
    }
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

.section {
    padding: var(--space-12) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-16) 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--space-24) 0;
    }
}

.section--soft {
    background: var(--color-bg-soft);
}

/* 注：.section--tight 在 Phase H 区域统一定义（含响应式），此处不再重复 */

.text-center {
    text-align: center;
}

.text-mute {
    color: var(--color-text-mute);
}

.text-soft {
    color: var(--color-text-soft);
}

/* ==========================================================================
   5. Section Head
   ========================================================================== */
.section-head {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-head__eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-soft);
    font-weight: var(--weight-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-soft);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--color-accent-hover);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-border-strong);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: var(--color-bg-soft);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
}

.btn-ghost:hover {
    background: var(--color-bg-soft);
}

.btn-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* ==========================================================================
   7. Badge
   ========================================================================== */
.badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--color-text-soft);
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   8. Skip Link（无障碍）
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary);
    color: #fff;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   9. Site Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--transition);
}

.site-header__inner {
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    overflow: hidden; /* 防止子元素溢出导致换行 */
}

@media (min-width: 768px) {
    .site-header__inner {
        padding: 0 var(--space-6);
    }
}

.site-logo {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--space-2);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text);
}

.site-logo img {
    height: 32px;
    width: auto;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
}

.site-logo__text small {
    font-size: var(--text-xs);
    color: var(--color-text-mute);
    font-weight: var(--weight-normal);
}

@media (max-width: 480px) {
    .site-logo__text small {
        display: none;  /* 超窄屏隐藏 tagline，只保留品牌名 */
    }
}

/* Primary Nav */
.primary-nav {
    display: none;
}

/* PC 端导航断点提升到 1024px：避免 768-1023px 区间元素拥挤 */
@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
        align-items: center;
        gap: var(--space-6);
    }
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

@media (min-width: 1280px) {
    .primary-nav__list {
        gap: var(--space-8);
    }
}

.primary-nav__item {
    position: relative;
}

.primary-nav__item>a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) 0;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-text-soft);
    transition: color var(--transition);
}

.primary-nav__item>a:hover,
.primary-nav__item>a[aria-current="page"] {
    color: var(--color-text);
}

/* Nav CTA */
.nav-cta {
    margin-left: var(--space-4);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    color: var(--color-text);
    transition: color var(--transition);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle[aria-expanded="true"] {
    color: var(--color-accent);
}

/* Mobile Nav Drawer（断点与桌面导航切换一致：≤1023px） */
@media (max-width: 1023px) {
    .primary-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: var(--space-6);
        overflow-y: auto;
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .primary-nav__item>a {
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        border-bottom: 1px solid var(--color-border);
        display: block;
        width: 100%;
    }

    .primary-nav .nav-cta {
        margin: var(--space-4) 0 0;
    }
}

/* ==========================================================================
   10. Hero Carousel（首页英雄区轮播）
   ========================================================================== */
.hero-carousel {
    position: relative;
    min-height: 56vh;              /* 64vh → 56vh，露出下方内容 */
    display: block;
    overflow: hidden;
    background: var(--color-bg-dark);
    padding-top: var(--header-height);  /* 为固定 header 留空 */
}

/* 移动端 */
@media (max-width: 640px) {
    .hero-carousel {
        min-height: 60vh;  /* 52vh → 60vh：为 subtitle + 全宽按钮留出空间 */
    }
}

/* === 视口容器 === */
.hero-carousel__viewport {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

/* === 幻灯片 === */
.hero-carousel__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.hero-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* === 背景图 === */
.hero-carousel__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-carousel__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 暗色遮罩（保证文字可读性，深海蓝遮罩替代纯黑） */
.hero-carousel__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        rgba(12, 74, 158, 0.75) 0%,
        rgba(12, 74, 158, 0.45) 60%,
        rgba(12, 74, 158, 0.25) 100%
    );
}

/* === 内容覆盖层 === */
.hero-carousel__content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
    max-width: 900px;
}

.hero-carousel__eyebrow {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.5);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: #FF6B35;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.hero-carousel__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-3);
    max-width: 90ch;
    letter-spacing: -0.02em;
    color: #fff;
}

/* === 副标题（新增） === */
.hero-carousel__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: var(--weight-medium);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-4);
    letter-spacing: 0.02em;
}

.hero-carousel__desc {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--weight-light);
    margin-bottom: var(--space-5);
    max-width: 48ch;
    line-height: var(--leading-relaxed);
}

.hero-carousel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* === 导航箭头（底部两侧，与圆点同行，避免遮挡内容按钮） === */
.hero-carousel__arrow {
    position: absolute;
    bottom: var(--space-5);
    top: auto;
    transform: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-carousel__arrow:hover,
.hero-carousel__arrow:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
}

.hero-carousel__arrow--prev {
    left: var(--space-4);
}

.hero-carousel__arrow--next {
    right: var(--space-4);
}

/* 移动端：箭头缩小但保留（底部有空间，不再遮挡内容） */
@media (max-width: 768px) {
    .hero-carousel__arrow {
        width: 36px;
        height: 36px;
    }
}

/* === 分页圆点 === */
.hero-carousel__dots {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: var(--space-2);
}

.hero-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.hero-carousel__dot.is-active {
    width: 24px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
}

.hero-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-carousel__dot.is-active:hover {
    background: var(--color-accent);
}

/* === reduced-motion 适配 === */
@media (prefers-reduced-motion: reduce) {
    .hero-carousel__slide {
        transition: none;
    }
}

/* === 移动端内容调整 === */
@media (max-width: 640px) {
    .hero-carousel__content {
        padding-top: var(--space-4);     /* 32px → 16px */
        padding-bottom: var(--space-16); /* 32px → 64px：为底部箭头(36)+圆点(8)+间距 留独立空间，避免与全宽按钮重叠 */
        max-width: 100%;
    }

    .hero-carousel__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .hero-carousel__subtitle {
        font-size: var(--text-sm);     /* 14px，与 desc 一致 */
    }

    .hero-carousel__desc {
        font-size: var(--text-sm);
        max-width: 100%;
    }

    .hero-carousel__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-carousel__actions .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }
}

/* ==========================================================================
   11. Product Grid & Card
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

.product-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-strong);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-bg-soft);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__body {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-1);
}

.product-card__title a {
    color: var(--color-text);
}

.product-card__title a:hover {
    color: var(--color-accent);
}

.product-card__size {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
    margin-bottom: var(--space-2);
}

.product-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

/* ==========================================================================
   12. Selling Points
   ========================================================================== */
.selling-points__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .selling-points__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .selling-points__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.selling-point {
    text-align: center;
    padding: var(--space-6);
}

.selling-point__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
}

.selling-point__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-2);
}

.selling-point__desc {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: var(--leading-normal);
}

/* ==========================================================================
   13. Trust Badges
   ========================================================================== */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    text-align: center;
    padding: var(--space-6);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-item__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
}

.trust-item__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-2);
}

.trust-item__desc {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: var(--leading-normal);
}

/* ==========================================================================
   14. Form（联系页表单）
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-soft);
    margin-bottom: var(--space-2);
}

.required {
    color: var(--color-danger);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-control::placeholder {
    color: var(--color-text-mute);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-error {
    display: none;
    font-size: var(--text-sm);
    color: var(--color-danger);
    margin-top: var(--space-1);
}

.form-group.has-error .form-control {
    border-color: var(--color-danger);
}

.form-group.has-error .form-error {
    display: block;
}

.form-feedback {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
    display: none;
}

.form-feedback.is-success {
    display: block;
    background: #e8f5e9;
    color: var(--color-success);
}

.form-feedback.is-error {
    display: block;
    background: #ffeaea;
    color: var(--color-danger);
}

.form-submit {
    text-align: center;
}

.form-submit__hint {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
    margin-bottom: var(--space-4);
}

.form-honeypot {
    display: none;
}

/* ==========================================================================
   16. Site Footer
   ========================================================================== */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-12) 0 var(--space-8);
}

/* === 左右分栏布局 === */
.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;       /* 移动端：单列堆叠 */
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;  /* 平板：左右各半 */
        gap: var(--space-12);
    }
}

@media (min-width: 1024px) {
    .site-footer__inner {
        grid-template-columns: 1.5fr 1fr;  /* 桌面：左大右小 */
        gap: var(--space-16);
    }
}

/* === 左侧：信息区 === */
.site-footer__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    color: #fff;
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
}

.site-footer__desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
    margin-bottom: var(--space-4);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.social-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.site-footer__title {
    color: #fff;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-4);
}

.site-footer__links li,
.site-footer__contact li {
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    line-height: var(--leading-relaxed);
}

.site-footer__contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.site-footer__contact a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact a:hover {
    color: #fff;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 480px) {
    .site-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

/* === 右侧：询盘表单 === */
.site-footer__title--form {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.site-footer__inquiry-sub {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

/* 紧凑表单输入框（无 label，仅 placeholder） */
.site-footer__form .form-group {
    margin-bottom: var(--space-3);
}

.site-footer__form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    width: 100%;
    transition: border-color var(--transition), background var(--transition);
}

.site-footer__form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.site-footer__form .form-control:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.site-footer__form textarea.form-control {
    min-height: 80px;
    resize: vertical;
    margin-bottom: var(--space-4);
}

.site-footer__form .form-error {
    color: var(--color-warning);
    margin-top: var(--space-1);
}

.site-footer__form .form-group.has-error .form-control {
    border-color: var(--color-warning);
}

/* 提交按钮 */
.site-footer__form .btn-accent {
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .site-footer__form .btn-accent {
        width: auto;
        min-width: 140px;
    }
}

/* 移动端：为右侧悬浮 contact-sidebar 留出空间，避免遮挡提交按钮文字 */
@media (max-width: 640px) {
    .site-footer__form .btn-accent {
        padding-right: 60px;  /* contact-sidebar 40px + 20px 间距 */
    }
}

/* 表单反馈区 */
.site-footer__form .form-feedback {
    margin-top: var(--space-3);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    text-align: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__icp {
    margin-top: var(--space-1);
}

/* ==========================================================================
   17. Product Detail Page
   ========================================================================== */
.product-hero {
    padding-top: var(--space-12);
}

.product-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .product-hero__grid {
        grid-template-columns: 3fr 2fr;
        gap: var(--space-12);
    }
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
}

.product-gallery__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-soft);
    aspect-ratio: 4 / 3;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumbs {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
    overflow-x: auto;
}

.product-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
}

.product-gallery__thumb.is-active {
    border-color: var(--color-accent);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info__title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.product-info__name-en {
    font-size: var(--text-base);
    color: var(--color-text-mute);
    font-weight: var(--weight-normal);
    margin-bottom: var(--space-2);
}

.product-info__size {
    font-size: var(--text-lg);
    color: var(--color-text-mute);
    margin-bottom: var(--space-4);
}

/* Product Highlights */
.product-info__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
    .product-info__highlights {
        grid-template-columns: 1fr 1fr;
    }
}

.product-info__highlights li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: var(--leading-normal);
}

.product-info__highlights svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

/* Product Tags & CTA */
.product-info__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.product-info__cta {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

/* Spec Table */
.product-sections {
    padding: var(--space-12) 0;
}

.product-section {
    margin-bottom: var(--space-12);
}

.product-section:last-child {
    margin-bottom: 0;
}

.product-section h2 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-border);
}

.spec-table {
    margin-top: var(--space-6);
}

.spec-table th,
.spec-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-sm);
}

.spec-table th {
    background: var(--color-bg-soft);
    color: var(--color-text-soft);
    font-weight: var(--weight-medium);
    width: 30%;
}

.spec-table td {
    color: var(--color-text);
}

/* ==========================================================================
   18. Contact Page
   ========================================================================== */
.page-hero {
    background: var(--color-bg-soft);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    margin-bottom: var(--space-3);
}

.page-hero p {
    font-size: var(--text-lg);
    color: var(--color-text-soft);
}

.contact-form__title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
}

.contact-form__desc {
    color: var(--color-text-soft);
    margin-bottom: var(--space-8);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

/* Contact Info Card */
.contact-info__card {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}

.contact-info__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-6);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info__item:last-child {
    border-bottom: none;
}

.contact-info__item svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: var(--space-2);
    background: #fff;
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.contact-info__item-label {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
    margin-bottom: 2px;
}

.contact-info__item-value {
    font-size: var(--text-base);
    color: var(--color-text);
    font-weight: var(--weight-medium);
}

/* ==========================================================================
   19. 404 Page
   ========================================================================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-24) var(--space-4);
}

.error-page__code {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: var(--weight-bold);
    color: var(--color-text-mute);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.error-page__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
}

.error-page__desc {
    color: var(--color-text-soft);
    margin-bottom: var(--space-8);
}

.error-page__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.error-page__inner {
    max-width: 600px;
}

.error-page__suggest-products {
    margin-top: var(--space-16);
}

.error-page__suggest-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
    text-align: center;
}

/* ==========================================================================
   20. Page Body Padding (for fixed header)
   ========================================================================== */
body.page-home .hero {
    margin-top: 0;
}

body:not(.page-home) main {
    padding-top: var(--header-height);
}

/* ==========================================================================
   21. Breadcrumb（面包屑导航）
   ========================================================================== */
.breadcrumb {
    padding: var(--space-4) 0;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-sm);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    color: var(--color-text-mute);
}

.breadcrumb__item a {
    color: var(--color-text-soft);
    transition: color var(--transition);
}

.breadcrumb__item a:hover {
    color: var(--color-text);
}

.breadcrumb__item:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-2);
    color: var(--color-border-strong);
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: var(--weight-medium);
}

/* ==========================================================================
   22. Product Related（相关产品）
   ========================================================================== */
.product-related {
    padding: var(--space-16) 0;
}

@media (min-width: 768px) {
    .product-related {
        padding: var(--space-24) 0;
    }
}

/* ==========================================================================
   23. Language Switcher（语言切换器 - i18n 新增）
   ========================================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    font-size: 13px;
    line-height: 1;
}

.lang-switcher__link {
    padding: 4px 8px;
    color: var(--color-text-soft);
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.lang-switcher__link:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-soft);
}

.lang-switcher__link.is-active {
    color: var(--color-accent);
    font-weight: 600;
}

.lang-switcher__sep {
    color: var(--color-text-mute);
    user-select: none;
}

/* 移动端：语言切换器放在导航底部（与导航栏断点 1024px 同步） */
@media (max-width: 1023px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: var(--space-4);
        padding-top: var(--space-4);
        border-top: 1px solid var(--color-border);
        width: 100%;
        justify-content: center;
    }
}

/* 字体优化：英文使用更专业的字体栈 */
html[lang="en"] body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
        Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 中文保持现有字体栈 */
html[lang="zh-CN"] body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
        'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ==========================================================================
   Phase H 新增组件样式
   ========================================================================== */

/* --- WhatsApp 按钮 --- */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background: #1eb858;
}

.btn-whatsapp .icon {
    fill: #fff;
}

/* --- Facebook 按钮 --- */
.btn-facebook {
    background: #1877F2;
    color: #fff;
    border: none;
}

.btn-facebook:hover {
    background: #1463CC;
}

.btn-facebook .icon {
    fill: #fff;
}

.nav-cta-facebook {
    white-space: nowrap;
}

/* ==========================================================================
   Chat Actions — "Chat on" + WhatsApp/Facebook 双图标按钮组
   ========================================================================== */

.chat-actions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: nowrap;
}

.chat-actions__label {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    margin-right: var(--space-1);
    white-space: nowrap;
}

.chat-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.chat-actions__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.chat-actions__btn .icon {
    fill: currentColor;
}

.chat-actions__btn--whatsapp {
    background: #25D366;
}

.chat-actions__btn--whatsapp:hover {
    background: #1eb858;
}

.chat-actions__btn--facebook {
    background: #1877F2;
}

.chat-actions__btn--facebook:hover {
    background: #1463CC;
}

/* 尺寸变体 */
.chat-actions--lg .chat-actions__btn {
    width: 52px;
    height: 52px;
}

.chat-actions--sm .chat-actions__btn {
    width: 38px;
    height: 38px;
}

.chat-actions--lg .chat-actions__label {
    font-size: var(--text-lg);
}

.chat-actions--sm .chat-actions__label {
    font-size: var(--text-sm);
}

/* Footer 上下文：在深色 CTA 带中 label 用浅色 */
.chat-actions--footer .chat-actions__label {
    color: #fff;
}

/* Hero 上下文：按钮稍微放大 */
.chat-actions--hero .chat-actions__btn {
    width: 56px;
    height: 56px;
}

/* About 上下文：与相邻按钮对齐 */
.chat-actions--about .chat-actions__btn {
    width: 46px;
    height: 46px;
}

/* 浮动按钮上下文 — 紧凑、固定右下角 */
.chat-actions--floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    padding: var(--space-2) var(--space-3);
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    gap: var(--space-2);
}

.chat-actions--floating .chat-actions__label {
    font-size: var(--text-sm);
    color: var(--color-text);
}

.chat-actions--floating .chat-actions__btn {
    width: 44px;
    height: 44px;
}

@media (max-width: 768px) {
    .chat-actions--floating .chat-actions__label {
        display: none;
    }

    .chat-actions--floating {
        padding: var(--space-2);
    }
}

/* 产品页存在粘性询盘条时，浮动按钮上移避免遮挡 */
body.page-product .chat-actions--floating {
    bottom: 80px;
}

@media (max-width: 768px) {
    body.page-product .chat-actions--floating {
        bottom: 72px;
    }
}

/* 移动端：label 隐藏，只保留图标按钮，避免过宽 */
@media (max-width: 640px) {
    .chat-actions:not(.chat-actions--floating) .chat-actions__label {
        display: none;
    }
}

/* --- Nav Actions 容器 --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: nowrap; /* PC 端禁止换行，确保在同一行 */
    margin-left: auto;  /* 推到导航栏最右侧 */
}

@media (min-width: 1024px) {
    .nav-actions {
        margin-left: var(--space-6);
    }
}

.nav-cta-whatsapp {
    white-space: nowrap;
}

/* 移动端抽屉内：nav-actions 纵向铺开（与导航断点 1024px 同步） */
@media (max-width: 1023px) {
    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: var(--space-4);
    }

    .nav-cta-whatsapp,
    .nav-cta-facebook {
        flex: 1;
        justify-content: center;
    }
}

/* --- Section Tight（紧凑间距） --- */
.section--tight {
    padding: var(--space-8) 0;
}

@media (min-width: 768px) {
    .section--tight {
        padding: var(--space-12) 0;
    }
}

/* --- Section Head Actions --- */
.section-head__actions {
    text-align: center;
    margin-top: var(--space-8);
}

/* --- Why Choose 信任徽章条 --- */
.why-choose__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.why-choose__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.why-choose__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-soft);
    border-radius: 50%;
    color: var(--color-accent);
}

.why-choose__label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-soft);
}

/* --- How to Order 步骤 --- */
.order-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .order-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .order-steps {
        grid-template-columns: repeat(6, 1fr);
    }
}

.order-step {
    position: relative;
    text-align: center;
    padding: var(--space-6) var(--space-4);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.order-step__num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}

.order-step__icon {
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.order-step__title {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.order-step__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
}

/* --- Factory 工厂实景 --- */
.factory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .factory-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.factory-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-bg-soft);
}

.factory-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.factory-item figcaption {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    font-weight: var(--weight-medium);
}

/* --- Cases 客户案例 --- */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.case-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.case-item__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-item__body {
    padding: var(--space-4);
}

.case-item__flag {
    font-size: var(--text-2xl);
    display: block;
    margin-bottom: var(--space-2);
}

.case-item__country {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-1);
}

.case-item__project {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    margin-bottom: var(--space-2);
}

.case-item__year {
    font-size: var(--text-xs);
    color: var(--color-text-mute);
}

/* --- Certificates 证书墙 --- */
.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
}

.cert-item {
    width: 300px;
    height: min(600px, 40vw);
    text-align: center;
}

.cert-item__image {
    width: 100%;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.cert-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-4);
}

.cert-item__name {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-1);
}

.cert-item__desc {
    font-size: var(--text-xs);
    color: var(--color-text-mute);
}

/* --- Process 生产流程 --- */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-step {
    text-align: center;
    padding: var(--space-6);
}

.process-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-bg-soft);
    border-radius: 50%;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.process-step__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.process-step__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
}

/* --- Sticky Quote Bar 粘性询盘条 --- */
.quote-bar {
    position: sticky;
    bottom: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: var(--space-3) 0;
}

.quote-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.quote-bar__text strong {
    display: block;
    font-size: var(--text-base);
}

.quote-bar__text span {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
}

.quote-bar__features {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.quote-bar__features span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--color-success);
}

.quote-bar__actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .quote-bar__features {
        display: none;
    }

    .quote-bar__text {
        flex: 1;
    }
}

/* 超窄屏：询盘条纵向堆叠，按钮平分宽度 */
@media (max-width: 640px) {
    .quote-bar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .quote-bar__text {
        text-align: center;
    }

    .quote-bar__actions {
        justify-content: center;
    }

    .quote-bar__actions .btn {
        flex: 1;
        min-width: 0;
    }
}

/* --- Floating WhatsApp 浮动按钮 --- */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    font-weight: var(--weight-medium);
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.floating-whatsapp .icon {
    fill: #fff;
}

.floating-whatsapp__label {
    font-size: var(--text-sm);
}

@media (max-width: 768px) {
    .floating-whatsapp__label {
        display: none;
    }

    .floating-whatsapp {
        padding: var(--space-3);
    }
}

/* 产品页同时存在浮动按钮与粘性询盘条，需上移避免遮挡 */
body.page-product .floating-whatsapp {
    bottom: 80px;
}

@media (max-width: 768px) {
    body.page-product .floating-whatsapp {
        bottom: 72px;
    }
}

/* --- Contact Channels 三合一卡片 --- */
.contact-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .contact-channels {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-channel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-channel--whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-channel--whatsapp .icon {
    fill: #fff;
}

.contact-channel--email {
    background: var(--color-accent);
    color: #fff;
}

.contact-channel--email .icon {
    fill: #fff;
}

.contact-channel--form {
    background: var(--color-primary);
    color: #fff;
}

.contact-channel--form .icon {
    fill: #fff;
}

.contact-channel__icon {
    margin-bottom: var(--space-2);
}

.contact-channel__name {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
}

.contact-channel__hint {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* --- Materials 材质网格 --- */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.material-item {
    text-align: center;
    padding: var(--space-6);
}

.material-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-bg-soft);
    border-radius: 50%;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.material-item__title {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.material-item__desc {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
}

/* --- Accessories 配件列表 --- */
.accessories-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .accessories-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accessories-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    color: var(--color-text-soft);
}

.accessories-list .icon {
    color: var(--color-success);
    flex-shrink: 0;
}

/* --- FAQ 手风琴 --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item__q {
    padding: var(--space-4) 0;
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item__q::after {
    content: '+';
    font-size: var(--text-xl);
    color: var(--color-text-mute);
    transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
    transform: rotate(45deg);
}

.faq-item__a {
    padding: 0 0 var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: 1.6;
}

/* --- Product Video --- */
.product-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.product-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Product Info CTA Hint --- */
.product-info__hint {
    font-size: var(--text-sm);
    color: var(--color-text-mute);
    margin-top: var(--space-2);
}

/* --- About Page --- */
.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-intro__grid {
        grid-template-columns: 2fr 1fr;
    }
}

.about-intro__text p {
    margin-bottom: var(--space-4);
    color: var(--color-text-soft);
    line-height: 1.7;
}

.about-intro__cta {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

.about-intro__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.about-stat {
    text-align: center;
    padding: var(--space-4);
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
}

.about-stat__value {
    display: block;
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--color-accent);
}

.about-stat__label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-mute);
    margin-top: var(--space-1);
}

/* --- Social Link Icons --- */
.social-link--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 0.2s;
}

.social-link--icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link--icon .icon {
    fill: #fff;
}

/* --- Contact Info Promises --- */
.contact-info__promises {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.contact-info__promises p {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    margin-bottom: var(--space-2);
}

.contact-info__promises .icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ==========================================================================
   Phase J 新增：Cases / Factory 独立页面样式
   ========================================================================== */

/* --- 面包屑导航 --- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-mute);
    margin-bottom: var(--space-4);
}

.breadcrumb a {
    color: var(--color-text-soft);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb__sep {
    color: var(--color-border-strong);
}

.breadcrumb [aria-current="page"] {
    color: var(--color-text);
    font-weight: var(--weight-medium);
}

/* --- 页面英雄区（独立页面通用） --- */
.page-hero {
    padding-top: calc(var(--header-height) + var(--space-8));
    background: var(--color-bg-soft);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl));
    margin-bottom: var(--space-3);
}

.page-hero p {
    font-size: var(--text-lg);
    color: var(--color-text-soft);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cases 统计指标 --- */
.cases-stats {
    background: var(--color-primary);
    color: #fff;
}

.cases-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    text-align: center;
}

@media (min-width: 768px) {
    .cases-stats__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cases-stat__value {
    display: block;
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: var(--weight-bold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.cases-stat__label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* --- Cases 应用场景卡片 --- */
.cases-scenarios__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .cases-scenarios__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.scenario-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scenario-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.scenario-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.scenario-card:hover .scenario-card__image img {
    transform: scale(1.05);
}

.scenario-card__tag {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
}

.scenario-card__body {
    padding: var(--space-6);
}

.scenario-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.scenario-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    line-height: var(--leading-relaxed);
}

/* --- Cases 订单记录卡片 --- */
.cases-orders__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .cases-orders__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.order-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.order-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.order-card__image {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-soft);
}

.order-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.order-card__body {
    padding: var(--space-4);
}

.order-card__country {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--color-accent);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
}

.order-card__product {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.order-card__amount {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
}

.cases-orders__note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-mute);
    margin-top: var(--space-6);
    font-style: italic;
}

/* --- Factory 概览统计 --- */
.factory-overview {
    background: var(--color-primary);
    color: #fff;
}

.factory-overview__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    text-align: center;
}

@media (min-width: 768px) {
    .factory-overview__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.factory-overview__value {
    display: block;
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: var(--weight-bold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.factory-overview__label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* --- Factory 时间线（zigzag 布局） --- */
.factory-timeline__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: center;
}

@media (min-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    /* 偶数项（第 2、4、6 项）反转方向 */
    .timeline-item--reverse {
        direction: rtl;
    }
    .timeline-item--reverse > * {
        direction: ltr;
    }
}

.timeline-item__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.timeline-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-item__step {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.timeline-item__body {
    padding: var(--space-4);
}

.timeline-item__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.timeline-item__desc {
    font-size: var(--text-base);
    color: var(--color-text-soft);
    line-height: var(--leading-relaxed);
}

/* --- Factory 视频卡片 --- */
.factory-videos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .factory-videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.video-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-card__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
}

.video-card__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card__body {
    padding: var(--space-4) var(--space-6);
}

.video-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.video-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-soft);
}

/* --- 证书卡片（Factory 页用） --- */
.cert-grid--cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    justify-items: center;
}

@media (min-width: 640px) {
    .cert-grid--cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cert-item--card {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cert-item--card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.cert-item--card .cert-item__image {
    height: min(360px, 40vw);
    border-bottom: 1px solid var(--color-border);
}

.cert-item--card .cert-item__image img {
    width: 100%;
    object-fit: contain;
    padding: var(--space-4);
    background: var(--color-bg-soft);
}

.cert-item--card .cert-item__name {
    padding: var(--space-3) var(--space-4) 0;
}

.cert-item--card .cert-item__desc {
    padding: 0 var(--space-4) var(--space-4);
}


/* ==========================================================================
   Phase L: 借鉴 langko 全站重构样式
   组织顺序：
   L-0  通用工具类（visually-hidden / container--narrow）
   L-1  右侧悬浮联系工具栏（contact-sidebar）
   L-2  首页精选产品（home-featured）
   L-3  产品列表页（products-listing / filter / pagination）
   L-3  产品卡片增强（product-card--listing / cat-badge / view）
   L-4  产品画廊灯箱（lightbox / zoom-hint）
   L-4  产品询盘表单（product-inquiry）
   响应式断点：640 / 768 / 1024 / 1280
   ========================================================================== */


/* ---------- L-0: 通用工具类 ---------- */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container--narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================================
   L-1: 右侧悬浮联系工具栏（contact-sidebar）
   - 固定视口右侧、垂直居中偏下
   - 每个图标左侧悬停弹出 tooltip
   - 微信特殊：悬停/聚焦弹出微信号 + 二维码弹窗
   - 返回顶部按钮：滚动超过 600px 才显示
   ========================================================================== */

.contact-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    pointer-events: none;
}

.contact-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    pointer-events: auto;
    overflow: visible;
}

.contact-sidebar__item {
    position: relative;
}

/* === 按钮基础样式：默认白图标，悬停发光 === */
.contact-sidebar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    color: #ffffff;              /* 默认白色图标 */
    cursor: pointer;
    transition: background var(--transition),
                color var(--transition),
                box-shadow 0.3s ease,
                transform 0.3s ease;
    text-decoration: none;
    padding: 0;
    position: relative;
}

/* 悬停/聚焦通用：放大 + 过渡准备 */
.contact-sidebar__btn:hover,
.contact-sidebar__btn:focus-visible {
    transform: scale(1.08);
    outline: none;
    z-index: 5;
}

.contact-sidebar__btn:focus-visible {
    box-shadow: inset 0 0 0 2px #ffffff, 0 0 0 3px var(--color-accent);
}

/* === 各渠道默认品牌色 + 悬停发光 === */

/* 电话：站点强调色（活力橙） */
.contact-sidebar__btn--phone {
    background: var(--color-accent);
}
.contact-sidebar__btn--phone:hover,
.contact-sidebar__btn--phone:focus-visible {
    background: var(--color-accent);
    box-shadow: 0 0 16px rgba(255, 107, 53, 0.65), 0 0 4px rgba(255, 107, 53, 0.8);
}

/* 邮箱：Gmail 红 */
.contact-sidebar__btn--email {
    background: #ea4335;
}
.contact-sidebar__btn--email:hover,
.contact-sidebar__btn--email:focus-visible {
    background: #ea4335;
    box-shadow: 0 0 16px rgba(234, 67, 53, 0.65), 0 0 4px rgba(234, 67, 53, 0.8);
}

/* WhatsApp：官方绿 */
.contact-sidebar__btn--whatsapp {
    background: #25D366;
}
.contact-sidebar__btn--whatsapp:hover,
.contact-sidebar__btn--whatsapp:focus-visible {
    background: #25D366;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.65), 0 0 4px rgba(37, 211, 102, 0.8);
}

/* Facebook：官方蓝 */
.contact-sidebar__btn--facebook {
    background: #1877F2;
}
.contact-sidebar__btn--facebook:hover,
.contact-sidebar__btn--facebook:focus-visible {
    background: #1877F2;
    box-shadow: 0 0 16px rgba(24, 119, 242, 0.65), 0 0 4px rgba(24, 119, 242, 0.8);
}

/* LinkedIn：官方蓝 */
.contact-sidebar__btn--linkedin {
    background: #0A66C2;
}
.contact-sidebar__btn--linkedin:hover,
.contact-sidebar__btn--linkedin:focus-visible {
    background: #0A66C2;
    box-shadow: 0 0 16px rgba(10, 102, 194, 0.65), 0 0 4px rgba(10, 102, 194, 0.8);
}

/* 微信：官方绿 */
.contact-sidebar__btn--wechat {
    background: #07C160;
}
.contact-sidebar__btn--wechat:hover,
.contact-sidebar__btn--wechat:focus-visible {
    background: #07C160;
    box-shadow: 0 0 16px rgba(7, 193, 96, 0.65), 0 0 4px rgba(7, 193, 96, 0.8);
}

/* 返回顶部：站点主色（深海蓝） */
.contact-sidebar__btn--top {
    background: var(--color-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom-left-radius: var(--radius-md);
}
.contact-sidebar__btn--top:hover,
.contact-sidebar__btn--top:focus-visible {
    background: var(--color-primary);
    box-shadow: 0 0 14px rgba(12, 74, 158, 0.55);
}

/* 滚动前隐藏返回顶部按钮 */
.contact-sidebar__item--top {
    display: none;
}

.contact-sidebar.is-scrolled .contact-sidebar__item--top {
    display: block;
}

/* Tooltip */
.contact-sidebar__tooltip {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: #ffffff;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-md);
}

.contact-sidebar__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--color-primary);
}

.contact-sidebar__item:hover .contact-sidebar__tooltip,
.contact-sidebar__item:focus-within .contact-sidebar__tooltip {
    opacity: 1;
    visibility: visible;
}

/* 微信弹窗 */
.contact-sidebar__wechat-popup {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 10;
}

.contact-sidebar__item--wechat:hover .contact-sidebar__wechat-popup,
.contact-sidebar__item--wechat:focus-within .contact-sidebar__wechat-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-sidebar__item--wechat:focus-within .contact-sidebar__wechat-popup {
    /* 保持聚焦时不消失 */
    transition-delay: 0s;
}

.contact-sidebar__wechat-popup[hidden] {
    display: none;
}

.contact-sidebar__wechat-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-sidebar__wechat-hint {
    margin: 0 0 var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-soft);
    text-align: center;
    font-weight: 500;
}

.contact-sidebar__wechat-qr {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.contact-sidebar__wechat-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-sidebar__wechat-id-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
}

.contact-sidebar__wechat-id-label {
    font-size: var(--text-xs);
    color: var(--color-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-sidebar__wechat-id {
    flex: 1;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: var(--text-sm);
    color: var(--color-primary);
    word-break: break-all;
}

.contact-sidebar__wechat-copy {
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    cursor: pointer;
    transition: background var(--transition);
}

.contact-sidebar__wechat-copy:hover {
    background: var(--color-accent-hover);
}

.contact-sidebar__wechat-copy.is-copied {
    background: var(--color-success);
}

/* 移动端：缩小尺寸 + 减弱发光 */
@media (max-width: 768px) {
    .contact-sidebar__btn {
        width: 40px;
        height: 40px;
    }

    .contact-sidebar__btn .icon {
        width: 18px;
        height: 18px;
    }

    .contact-sidebar__btn:hover,
    .contact-sidebar__btn:focus-visible {
        transform: scale(1.05);
    }

    .contact-sidebar__btn--whatsapp:hover,
    .contact-sidebar__btn--whatsapp:focus-visible {
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
    }

    .contact-sidebar__btn--facebook:hover,
    .contact-sidebar__btn--facebook:focus-visible {
        box-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
    }

    .contact-sidebar__btn--linkedin:hover,
    .contact-sidebar__btn--linkedin:focus-visible {
        box-shadow: 0 0 10px rgba(10, 102, 194, 0.5);
    }

    .contact-sidebar__btn--wechat:hover,
    .contact-sidebar__btn--wechat:focus-visible {
        box-shadow: 0 0 10px rgba(7, 193, 96, 0.5);
    }

    .contact-sidebar__btn--phone:hover,
    .contact-sidebar__btn--phone:focus-visible {
        box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    }

    .contact-sidebar__btn--email:hover,
    .contact-sidebar__btn--email:focus-visible {
        box-shadow: 0 0 10px rgba(234, 67, 53, 0.5);
    }

    .contact-sidebar__wechat-popup {
        min-width: 180px;
        padding: var(--space-3);
    }

    .contact-sidebar__wechat-qr {
        width: 110px;
        height: 110px;
    }
}

/* 小屏：仅在悬停时显示 tooltip，触屏点击直接触发 */
@media (max-width: 640px) {
    .contact-sidebar {
        bottom: 12px;
        top: auto;
        transform: none;
    }
}


/* ==========================================================================
   L-2: 首页精选产品（home-featured）
   ========================================================================== */

.home-featured .product-grid--featured {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .home-featured .product-grid--featured {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-featured .product-grid--featured {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
}

@media (max-width: 480px) {
    .home-featured .product-grid--featured {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   L-3: 产品列表页（products-listing / filter / pagination / empty）
   ========================================================================== */

.page-hero--products {
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, #ffffff 100%);
    padding: var(--space-12) 0;
    text-align: center;
}

.page-hero--products .page-hero__eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
}

.page-hero--products .page-hero__title {
    font-size: var(--text-4xl);
    margin: 0 0 var(--space-3);
    color: var(--color-primary);
}

.page-hero--products .page-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-soft);
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero--products .page-hero__title {
        font-size: var(--text-3xl);
    }
}

/* 分类筛选条 */
.products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--color-text-soft);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}

.filter-chip:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-chip.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.filter-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
}

.filter-chip.is-active .filter-chip__count {
    background: rgba(255, 255, 255, 0.25);
}

/* 产品列表网格 */
.product-grid--listing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .product-grid--listing {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid--listing {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
}

@media (max-width: 480px) {
    .product-grid--listing {
        grid-template-columns: 1fr;
    }
}

/* 空状态 */
.products-empty {
    text-align: center;
    padding: var(--space-16) 0;
    color: var(--color-text-mute);
}

.products-empty p {
    margin: 0 0 var(--space-4);
    font-size: var(--text-lg);
}

/* 分页 */
.pagination {
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
}

.pagination__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-1);
}

.pagination__item {
    display: inline-flex;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--color-text-soft);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}

.pagination__link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination__link.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.pagination__link--prev .icon {
    transform: rotate(180deg);
}


/* ==========================================================================
   L-3: 产品卡片增强（product-card--listing）
   ========================================================================== */

.product-card--listing {
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card--listing:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.product-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card--listing:hover .product-card__media img {
    transform: scale(1.05);
}

/* 分类徽章（仅列表上下文显示） */
.product-card__cat-badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* 悬停查看覆盖层 */
.product-card__view {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.0);
    color: #ffffff;
    opacity: 0;
    transition: opacity var(--transition), background var(--transition);
    z-index: 2;
}

.product-card__view .icon {
    width: 32px;
    height: 32px;
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 2px solid #ffffff;
}

.product-card--listing:hover .product-card__view {
    opacity: 1;
    background: rgba(0, 102, 255, 0.35);
}

.product-card__btn {
    margin-top: var(--space-3);
}


/* ==========================================================================
   L-4: 产品画廊灯箱（lightbox / zoom-hint）
   ========================================================================== */

.product-gallery__main {
    position: relative;
}

.product-gallery__main [data-gallery-zoom] {
    cursor: zoom-in;
}

.product-gallery__zoom-hint {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.product-gallery__main:hover .product-gallery__zoom-hint {
    opacity: 1;
}

/* 灯箱容器 */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__stage {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__nav--prev {
    left: var(--space-4);
}

.lightbox__nav--prev .icon {
    transform: rotate(180deg);
}

.lightbox__nav--next {
    right: var(--space-4);
}

.lightbox__counter {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: var(--text-sm);
    background: rgba(0, 0, 0, 0.5);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
}

@media (max-width: 640px) {
    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__nav--prev {
        left: var(--space-2);
    }

    .lightbox__nav--next {
        right: var(--space-2);
    }
}


/* ==========================================================================
   L-4: 产品询盘表单（product-inquiry）
   ========================================================================== */

.product-inquiry {
    background: var(--color-bg-soft);
}

.product-inquiry__form {
    background: #ffffff;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.product-inquiry__form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.product-inquiry__form .form-group {
    margin-bottom: 0;
}

.product-inquiry__form .form-group + .form-group,
.product-inquiry__form .form-row + .form-group {
    margin-top: 0;
}

.product-inquiry__form .form-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

@media (max-width: 640px) {
    .product-inquiry__form {
        padding: var(--space-4);
    }

    .product-inquiry__form .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .product-inquiry__form .form-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .product-inquiry__form .form-submit .btn {
        width: 100%;
    }
}


/* ==========================================================================
   L-7: 旧 floating-whatsapp 兼容清理
   保留 .chat-actions 基础样式（hero/footer/about 仍使用），
   仅清理不再使用的 --floating 变体（floating-contact.php 已删除）
   ========================================================================== */

/* 注：旧 .floating-whatsapp 与 .chat-actions--floating 样式保留但实际不再渲染，
   因 .contact-sidebar 已替换其功能。可在确认无其他依赖后由后续清理删除。 */
