/* 外贸官网 PC 主样式 — 与 index.php 头部/页脚及 templates/pc 配套 */

:root {
    --color-bg: #f6f7f9;
    --color-surface: #ffffff;
    --color-text: #1a1d24;
    --color-muted: #5c6370;
    --color-accent: #c9a227;
    --color-accent-dark: #a68519;
    --color-dark: #0f1114;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 4px 24px rgba(15, 17, 20, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 17, 20, 0.1);
    --radius: 12px;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* —— 语言自动检测提示条 —— */
.lang-notice {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: #fff;
    overflow: hidden;
    z-index: 110;
    position: relative;
    animation: langNoticeSlideDown 0.4s ease-out;
}

@keyframes langNoticeSlideDown {
    from { max-height: 0; opacity: 0; }
    to { max-height: 120px; opacity: 1; }
}

.lang-notice.is-hiding {
    animation: langNoticeSlideUp 0.3s ease-in forwards;
}

@keyframes langNoticeSlideUp {
    from { max-height: 120px; opacity: 1; }
    to { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
}

.lang-notice__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.lang-notice__icon {
    font-size: 1.35rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.lang-notice__text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    min-width: 180px;
}

.lang-notice__text strong {
    font-weight: 700;
}

.lang-notice__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lang-notice__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.15s, transform 0.1s;
}

.lang-notice__btn:active { transform: scale(0.97); }

.lang-notice__btn--confirm {
    background: rgba(255,255,255,0.95);
    color: #1a237e;
}

.lang-notice__btn--confirm:hover { filter: brightness(0.95); }

.lang-notice__btn--switch {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}

.lang-notice__btn--switch:hover { background: rgba(255,255,255,0.25); }

.lang-notice__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px;
    margin-left: 4px;
    line-height: 1;
}

.lang-notice__close:hover { color: #fff; }

@media (max-width: 600px) {
    .lang-notice__inner { gap: 10px; padding: 10px 0; }
    .lang-notice__icon { display: none; }
    .lang-notice__text { font-size: 0.82rem; min-width: 100%; }
    .lang-notice__actions { width: 100%; }
    .lang-notice__btn { padding: 6px 12px; font-size: 0.78rem; flex: 1; justify-content: center; }
}

/* —— 顶栏 —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 17, 20, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--color-dark);
}

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

.nav-link {
    padding: 8px 14px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-dark);
    background: rgba(201, 162, 39, 0.12);
    text-decoration: none;
}

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    padding: 8px;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--color-text);
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: var(--color-bg);
    text-decoration: none;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* —— 语言切换器 —— */
.lang-switcher {
    position: relative;
    z-index: 120;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}

.lang-btn:hover {
    border-color: var(--color-accent);
    background: rgba(201, 162, 39, 0.06);
}

.lang-btn .fa-globe { font-size: 0.95rem; }
.lang-arrow { font-size: 0.65rem; opacity: 0.5; transition: transform 0.2s; }
.lang-switcher.is-open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 300px;
    max-height: 420px;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.06);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.lang-switcher.is-open .lang-dropdown { display: flex; }

.lang-search {
    padding: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.lang-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
}

.lang-search input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(201,162,39,0.15);
}

.lang-list {
    overflow-y: auto;
    max-height: 340px;
    padding: 6px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    color: var(--color-text);
    font-size: 0.85rem;
    transition: background 0.15s;
}

.lang-option:hover {
    background: rgba(0,0,0,0.04);
    text-decoration: none;
}

.lang-option.active {
    background: rgba(201,162,39,0.12);
    font-weight: 600;
}

.lang-native { font-weight: 500; }
.lang-name { color: var(--color-muted); font-size: 0.8rem; }

.lang-option[style*="display: none"] { display: none !important; }

@media (max-width: 768px) {
    .lang-btn span { display: none; }
    .lang-arrow { display: none; }
    .lang-btn { padding: 7px 10px; }
    .lang-dropdown { right: -60px; width: 280px; }
}

@media (max-width: 480px) {
    .lang-dropdown { right: -40px; width: 260px; max-height: 360px; }
}

/* —— RTL支持 —— */
html[dir="rtl"] .header-inner { direction: rtl; }
html[dir="rtl"] .main-nav { direction: rtl; }
html[dir="rtl"] .nav-link i { margin-left: 0; margin-right: 4px; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .product-detail__grid { direction: rtl; }
html[dir="rtl"] .contact-layout { direction: rtl; }
html[dir="rtl"] .breadcrumb { direction: rtl; }
html[dir="rtl"] .breadcrumb-sep { margin: 0 8px; }
html[dir="rtl"] .product-gallery__thumbs { direction: rtl; }
html[dir="rtl"] .product-summary { text-align: right; }
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .inquiry-form { direction: rtl; }
html[dir="rtl"] .contact-form { direction: rtl; }
html[dir="rtl"] .footer-col { text-align: right; }
html[dir="rtl"] .footer-brand { flex-direction: row-reverse; }
html[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
html[dir="rtl"] .back-to-top { right: auto; left: 24px; }

.btn-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #1a1406 !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.btn-inquiry:hover { filter: brightness(1.05); text-decoration: none; }

/* 桌面显示「获取报价」全文；手机端由 .device-mobile 改为仅图标 */
.btn-inquiry__label {
    display: inline;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
}

@media (max-width: 1024px) {
    .mobile-menu-btn { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        background: var(--color-surface);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: var(--shadow-sm);
    }
    .main-nav.is-open { display: flex; }
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 12px;
    }
}

/* —— 按钮 —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-hero {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #1a1406;
    border-color: transparent;
}

.btn-hero:hover { filter: brightness(1.06); }

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border-color: rgba(15, 17, 20, 0.2);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.btn-outline--light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline--light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.btn-quote {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

.btn-quote:hover { background: #2a2e35; }

.btn-block { width: 100%; }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

.btn-lg { padding: 16px 28px; font-size: 1rem; }

.btn-search {
    background: var(--color-dark);
    color: #fff;
    border: 0;
}

/* —— 首页横幅轮播（新）：16:9、自动淡入淡出，无箭头/圆点 —— */
.home-hero {
    position: relative;
    background: var(--color-dark);
}

.banner-carousel__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: var(--color-dark);
    overflow: hidden;
}

.banner-carousel__slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s ease, visibility 0.85s ease;
    z-index: 0;
    pointer-events: none;
}

.banner-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .banner-carousel__slide {
        transition: none;
    }
}

.banner-carousel__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 无图占位：纯色渐变底，不透明（避免灰透遮罩） */
.banner-carousel__media--plain {
    background: linear-gradient(135deg, #1a1d24 0%, #3d4350 100%);
}

/* 覆盖全局 img{max-width:100%;height:auto}，否则无法铺满 16:9，会露出深色底（看起来像黑边） */
.banner-carousel__img {
    max-width: none;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: top;
}

.banner-carousel__caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(24px, 4vw, 48px);
    min-height: 0;
}

.banner-carousel__title {
    margin: 0 0 16px;
    max-width: 720px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    /* 无半透明遮罩时略增可读性 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.25);
}

.banner-carousel__subtitle {
    margin: 0 0 28px;
    max-width: 560px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* —— 区块标题 —— */
.section {
    padding: 88px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head--left { text-align: left; }

.section-kicker {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 10px;
}

.section-title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title--left { font-size: 1.75rem; }

.section-rule {
    width: 64px;
    height: 4px;
    margin: 20px auto 0;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

.section-rule--short { margin-left: 0; width: 48px; }

.section-cta-inline { text-align: center; margin-top: 24px; }

.link-arrow {
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
}

.link-arrow:hover { color: var(--color-accent-dark); }

/* —— 首页在售产品（数据库真实上架） —— */
.section-home-catalog {
    background: var(--color-surface);
    padding-top: 56px;
    padding-bottom: 56px;
}

.section-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    margin-bottom: 36px;
}

.section-head--row .section-head__text {
    flex: 1 1 auto;
    min-width: 200px;
}

.section-head--row .section-title {
    margin-top: 4px;
}

.section-head--row .section-rule {
    margin: 16px 0 0;
}

.section-sub {
    margin: 10px 0 0;
    max-width: 560px;
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.55;
}

.section-head__action {
    flex-shrink: 0;
    align-self: center;
}

.section-home-overview {
    display: none;
    padding-top: 32px;
    padding-bottom: 8px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0));
}

.home-overview-card {
    border-radius: 18px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
    color: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.home-overview-card .section-kicker,
.home-overview-card .section-title,
.home-overview-card .section-sub {
    color: #fff;
}

.home-overview-card .section-sub {
    max-width: none;
    opacity: 0.78;
}

.home-overview__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.overview-metric {
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.overview-metric strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1.15;
    color: #f8fafc;
}

.overview-metric span {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.home-overview__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.overview-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
}

.overview-pill--address {
    max-width: 100%;
    border-radius: 14px;
}

.home-overview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.home-overview__actions .btn {
    min-width: 140px;
}

.product-grid--home-catalog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card__excerpt--home {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card--catalog .product-card__body {
    padding: 16px 16px 18px;
}

.btn-quote--compact {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.875rem;
}

.section-home-catalog--empty {
    padding: 48px 0;
    background: var(--color-bg);
}

.home-catalog-empty {
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}

.home-catalog-empty__text {
    margin: 0 0 20px;
    color: var(--color-muted);
}

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

@media (max-width: 768px) {
    /* 手机/平板 body class 下由 .device-* .product-grid 固定三列，此处不降为两列 */
    body:not(.device-mobile):not(.device-tablet) .product-grid--home-catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .section-head--row .section-head__action {
        width: 100%;
        justify-content: center;
    }
}

/* —— 关于预览 —— */
.section-about { background: var(--color-surface); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin: 0 0 20px;
}

.about-meta { color: var(--color-muted); margin-bottom: 24px; }

.about-highlights ul {
    list-style: none;
    margin: 0;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-highlights li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-highlights li:last-child { margin-bottom: 0; }
.about-highlights i { color: var(--color-accent-dark); margin-top: 3px; }

/* —— 商品网格 —— */
.product-grid {
    display: grid;
    gap: 28px;
}

.product-grid--home {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid--list {
    grid-template-columns: repeat(3, 1fr);
}

.product-grid--related {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .product-grid--home, .product-grid--list, .product-grid--related {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 极窄视窗下列表变单列；手机/平板由 body class 固定三列，不在此强制单列 */
@media (max-width: 520px) {
    body:not(.device-mobile):not(.device-tablet) .product-grid--home,
    body:not(.device-mobile):not(.device-tablet) .product-grid--list,
    body:not(.device-mobile):not(.device-tablet) .product-grid--related {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

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

.product-card__media {
    display: block;
    aspect-ratio: 1;
    background: #eceef2;
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    color: #b4b9c2;
    font-size: 2.5rem;
}

.product-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-card__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--color-accent-dark); }

.product-card__price {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.product-card--list .product-card__media { aspect-ratio: 4/3; }

.product-card__price-range { font-weight: 700; color: var(--color-accent-dark); margin: 0 0 6px; }
.product-card__price-range .unit { font-weight: 500; color: var(--color-muted); font-size: 0.9rem; }

/* 「获取报价」价位占位：可点击打开询价弹窗（与 .btn-quote 行为一致） */
button.product-card__quote-hint {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--color-accent-dark);
    text-align: left;
    cursor: pointer;
}
button.product-card__quote-hint:hover,
button.product-card__quote-hint:focus-visible {
    text-decoration: underline;
    outline: none;
}
.product-card__body > button.product-card__price.product-card__quote-hint {
    margin-bottom: 16px;
}
button.product-summary__price.product-card__quote-hint {
    margin: 0;
    text-align: left;
}
.product-card__moq { margin: 0 0 10px; font-size: 0.9rem; color: var(--color-muted); }
.product-card__excerpt { margin: 0 0 16px; font-size: 0.88rem; color: var(--color-muted); flex: 1; }

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* —— 视频网格 —— */
.video-grid {
    display: grid;
    gap: 24px;
}

.video-grid--compact { grid-template-columns: repeat(4, 1fr); }
.video-grid--page { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
    .video-grid--compact { grid-template-columns: repeat(2, 1fr); }
    .video-grid--page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .video-grid--compact, .video-grid--page { grid-template-columns: 1fr; }
}

.video-tile__btn, .video-card__open {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.video-tile__cover, .video-card__visual {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    overflow: hidden;
    background: #dfe3ea;
}

.video-tile__cover img, .video-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-tile__placeholder, .video-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2e35, #4a5160);
}

.video-tile__play, .video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 20, 0.35);
    color: #fff;
    font-size: 1.75rem;
    transition: background 0.2s;
}

.video-tile__btn:hover .video-tile__play,
.video-card__open:hover .video-card__play {
    background: rgba(201, 162, 39, 0.45);
}

.video-tile__title {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    font-size: 0.95rem;
}

.video-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.video-card__body { padding: 20px; display: block; }
.video-card__title { margin: 0 0 8px; font-size: 1.1rem; }
.video-card__desc { margin: 0; font-size: 0.9rem; color: var(--color-muted); }

/* —— CTA —— */
.cta-banner {
    background: linear-gradient(120deg, #1a1d24 0%, #2d3340 50%, #1a1d24 100%);
    color: #fff;
    padding: 72px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-title { margin: 0 0 10px; font-size: 1.75rem; font-weight: 800; }
.cta-desc { margin: 0; opacity: 0.88; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 首页底部 CTA：与深色页脚之间禁止露出 main/body 浅底白条（外边距折叠 + 统一内边距） */
.section.section-cta.cta-banner {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 56px;
    padding-bottom: 56px;
}

/* —— 内页页头 —— */
.page-header {
    padding: 48px 0 32px;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-header--compact { padding: 24px 0; }

.page-title {
    margin: 12px 0 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
}

.page-lead {
    margin: 16px 0 0;
    max-width: 640px;
    color: var(--color-muted);
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--color-muted);
}

.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent-dark); }

.breadcrumb-sep { margin: 0 8px; opacity: 0.5; }

/* —— 产品列表布局 —— */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 80px;
}

@media (max-width: 900px) {
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { order: 2; }
}

.sidebar-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 92px;
}

.sidebar-title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 800;
}

.category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-tree a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
}

.category-tree a:hover { background: var(--color-bg); }
.category-tree a.is-active {
    background: rgba(201, 162, 39, 0.15);
    font-weight: 600;
    color: var(--color-dark);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag-pill {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

.tag-pill:hover { border-color: var(--color-accent); }
.tag-pill.is-active {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

.products-search {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.input-search {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--color-surface);
    border-radius: var(--radius);
    color: var(--color-muted);
}

.empty-state i { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.4; }

/* —— 分页 —— */
.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--color-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.page-btn:hover { border-color: var(--color-accent); }
.page-btn.is-active {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

.page-dots { padding: 0 6px; color: var(--color-muted); }
.page-info { margin-left: auto; font-size: 0.875rem; color: var(--color-muted); }

/* —— 产品详情 —— */
.product-detail { padding-top: 40px; padding-bottom: 80px; }

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

.product-gallery__stage {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #eceef2;
    aspect-ratio: 1;
}

.product-gallery__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s;
}

.product-gallery__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.product-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.product-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.product-gallery__thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.product-gallery__thumb.is-active { border-color: var(--color-accent); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-gallery__empty {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceef2;
    color: #b4b9c2;
    font-size: 3rem;
    border-radius: var(--radius);
}

.product-summary__title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
}

.product-summary__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.product-summary__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent-dark);
}

.product-summary__original {
    text-decoration: line-through;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.product-summary__unit { color: var(--color-muted); }

.product-summary__moq { margin: 0 0 20px; color: var(--color-muted); }

.product-summary__desc { margin-bottom: 24px; color: var(--color-text); }

.product-subheading {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.product-video__wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.product-video__iframe, .product-video__tag {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.product-summary__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.product-content-block {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.user-content {
    line-height: 1.75;
    color: var(--color-text);
}

.user-content img { max-width: 100%; height: auto; border-radius: 8px; }

.related-products { margin-top: 64px; }

/* —— 关于页 —— */
.about-page { padding-top: 40px; padding-bottom: 80px; }

.about-main { margin-bottom: 56px; }

.about-fallback .lead { font-size: 1.2rem; color: var(--color-muted); }

.about-company-card {
    margin-top: 32px;
    padding: 28px;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-subtitle { margin: 0 0 16px; }

.about-facts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-facts li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.about-facts i { color: var(--color-accent-dark); margin-top: 4px; }

.about-strengths { margin-top: 56px; }

.strength-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .strength-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .strength-grid { grid-template-columns: 1fr; }
}

.strength-item {
    padding: 28px 22px;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.strength-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--color-accent-dark);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.strength-title { margin: 0 0 8px; font-size: 1.05rem; }
.strength-text { margin: 0; font-size: 0.9rem; color: var(--color-muted); }

.card-cta {
    margin-top: 48px;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #1a1d24, #343b48);
    color: #fff;
    border-radius: var(--radius);
}

.card-cta__title { margin: 0 0 8px; }
.card-cta__text { margin: 0 0 20px; opacity: 0.9; }

/* —— 联系页 —— */
.contact-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}

.contact-card {
    background: var(--color-surface);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card__title { margin: 0 0 20px; font-size: 1.1rem; }

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list__item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-list__icon {
    color: var(--color-accent-dark);
    width: 24px;
    text-align: center;
}

.contact-list__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
}

.contact-list__value { font-weight: 500; }

.contact-social { margin-top: 28px; }
.contact-social__title { font-size: 0.9rem; margin-bottom: 12px; }

.footer-social a, .contact-social__links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.12);
    color: var(--color-dark);
    text-decoration: none;
}

.footer-social a:hover, .contact-social__links a:hover {
    background: var(--color-accent);
    color: #1a1406;
}

.contact-form-wrap {
    background: var(--color-surface);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field--full { grid-column: 1 / -1; }

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-field .req { color: #c0392b; }

.form-field input, .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
}

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

.btn-submit-contact { margin-top: 24px; }

.alert {
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-success {
    background: rgba(39, 174, 96, 0.12);
    color: #1e7a45;
    border: 1px solid rgba(39, 174, 96, 0.25);
}

.alert-error {
    background: rgba(192, 57, 43, 0.1);
    color: #922b21;
    border: 1px solid rgba(192, 57, 43, 0.2);
}

/* —— 咨询弹窗 —— */
.inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    isolation: isolate;
}

.inquiry-modal.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.inquiry-modal .modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 17, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.inquiry-modal .modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 32px 28px 28px;
    opacity: 1;
    transform: none;
}

/* 弹窗内若存在 [data-anim]，勿保持入场 opacity:0（手机 WebKit + 初始 display:none 时观察器可能不触发） */
#inquiryModal [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* 手机/平板：抬高 z-index 盖过顶栏/底栏；去掉遮罩毛玻璃，避免部分 WebKit 把合成层盖在内容之上 */
.device-mobile .inquiry-modal.is-open,
.device-tablet .inquiry-modal.is-open {
    z-index: 10050;
}

.device-mobile .inquiry-modal .modal-overlay,
.device-tablet .inquiry-modal .modal-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-muted);
}

.modal-header h3 { margin: 0 0 8px; font-size: 1.35rem; }
.modal-header p { margin: 0; color: var(--color-muted); font-size: 0.9rem; }

.modal-body { margin-top: 24px; }

.modal-contacts { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.contact-item .contact-label { display: block; font-weight: 600; }
.contact-item .contact-value { color: var(--color-muted); }
.contact-item a.contact-value { color: var(--color-muted); text-decoration: none; }
.contact-qr-link { display: inline-block; line-height: 0; }
.contact-qr { max-width: 80px; border-radius: 6px; }

/* 联系页：后台配置的多个二维码（标题 + 副标题 + 图） */
.contact-card--qr {
    margin-top: 20px;
}

.contact-card__lead--qr {
    margin: 0 0 16px;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.contact-qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 18px;
    margin: 0;
}

.contact-qr-card {
    margin: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 16px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-qr-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--color-dark);
}

.contact-qr-card__sub {
    margin: 0 0 12px;
    font-size: 0.78rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.contact-qr-card__img-wrap {
    display: flex;
    justify-content: center;
}

.contact-qr-card__link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-qr-card__link:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.contact-qr-card__link img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
}

/* 询价弹窗内：多组二维码 */
.modal-qr-block {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-qr-block__title {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--color-dark);
}

.modal-qr-block__hint {
    margin: 0 0 14px;
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.45;
}

.modal-qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-qr-card__meta {
    text-align: center;
    width: 100%;
    min-width: 0;
}

.modal-qr-card__name {
    display: block;
    font-size: 0.82rem;
    color: var(--color-dark);
    word-break: break-word;
}

.modal-qr-card__sub {
    display: block;
    font-size: 0.72rem;
    color: var(--color-muted);
    margin-top: 2px;
    line-height: 1.35;
    word-break: break-word;
}

.modal-qr-card__thumb {
    display: block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.modal-qr-card__thumb img {
    width: 100%;
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 400px) {
    .modal-qr-grid { grid-template-columns: 1fr; }
}

.modal-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.modal-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.modal-divider span {
    position: relative;
    background: var(--color-surface);
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .inquiry-form .form-row { grid-template-columns: 1fr; }
}

.inquiry-form input, .inquiry-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-family: inherit;
    margin-bottom: 12px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--color-dark);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.form-result { margin-top: 12px; font-size: 0.9rem; }
.form-result--ok { color: #1e7a45; }
.form-result--err { color: #922b21; }

/* —— 视频弹层 —— */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.video-modal.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 20, 0.7);
    backdrop-filter: blur(4px);
}

.video-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    background: #111;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

.video-modal__title {
    margin: 0;
    padding: 16px 56px 12px 20px;
    font-size: 1rem;
    color: #fff;
    background: #1a1d24;
}

.video-modal__player {
    aspect-ratio: 16/9;
    background: #000;
}

.video-modal__iframe, .video-modal__video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* —— 页脚 —— */
.site-footer {
    background: #14161a;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0;
}

.footer-main { padding: 64px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* 页脚品牌区：Logo 与站点名并排（PC / 平板 / 手机同一结构） */
.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 2px;
}

.footer-brand__logo {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.footer-brand__logo:hover {
    opacity: 0.9;
}

.footer-brand__logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 56px;
    max-width: 140px;
    object-fit: contain;
}

.footer-brand__text {
    flex: 1;
    min-width: 0;
}

.footer-brand__text h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.footer-brand__text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.45;
}

.footer-about > .footer-brand + .footer-social {
    margin-top: 14px;
}

.footer-col h4 {
    color: #fff;
    margin: 0 0 16px;
    font-size: 1rem;
}

.footer-col p { margin: 0; font-size: 0.9rem; opacity: 0.85; }

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-contact__val {
    min-width: 0;
    flex: 1;
    word-break: break-word;
    line-height: 1.4;
}

.footer-contact__val a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom .icp { margin: 8px 0 0; }

/* —— 回到顶部 & WhatsApp —— */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--color-dark);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 90;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover { filter: brightness(1.08); color: #fff; }

/* 不再使用 min-height: 48vh；flow-root 阻断与页脚的外边距折叠，避免中间露出浅灰「断层」 */
.main-content {
    min-height: 0;
    flex: 1 0 auto;
    display: flow-root;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-videos-page { padding-bottom: 80px; }

/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║  高端动画特效 · 视觉增强 · 三端差异化样式                               ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

/* ============================================================
   1. 滚动入场动画系统（Scroll Reveal）
   ============================================================ */

/* 所有带 data-anim 属性的元素初始隐藏，滚动到视口时触发动画 */
[data-anim] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-anim].is-visible {
    opacity: 1;
    transform: none;
}

/* 各方向入场动画 */
[data-anim="fade-up"]    { transform: translateY(50px); }
[data-anim="fade-down"]  { transform: translateY(-50px); }
[data-anim="fade-left"]  { transform: translateX(-50px); }
[data-anim="fade-right"] { transform: translateX(50px); }
[data-anim="zoom-in"]    { transform: scale(0.85); }
[data-anim="zoom-out"]   { transform: scale(1.1); }
[data-anim="flip"]       { transform: perspective(800px) rotateY(30deg); }
[data-anim="rotate-in"]  { transform: rotate(-8deg) scale(0.9); }
[data-anim="blur-in"]    { transform: translateY(20px); filter: blur(8px); }

/* is-visible 统一恢复 */
[data-anim="fade-up"].is-visible,
[data-anim="fade-down"].is-visible,
[data-anim="fade-left"].is-visible,
[data-anim="fade-right"].is-visible,
[data-anim="zoom-in"].is-visible,
[data-anim="zoom-out"].is-visible,
[data-anim="flip"].is-visible,
[data-anim="rotate-in"].is-visible {
    opacity: 1;
    transform: none;
}

[data-anim="blur-in"].is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

/* 延迟序列，用于交错动画 */
[data-anim-delay="1"] { transition-delay: 0.1s; }
[data-anim-delay="2"] { transition-delay: 0.2s; }
[data-anim-delay="3"] { transition-delay: 0.3s; }
[data-anim-delay="4"] { transition-delay: 0.4s; }
[data-anim-delay="5"] { transition-delay: 0.5s; }
[data-anim-delay="6"] { transition-delay: 0.6s; }
[data-anim-delay="7"] { transition-delay: 0.7s; }
[data-anim-delay="8"] { transition-delay: 0.8s; }

/* 持续时间变体 */
[data-anim-duration="fast"]  { transition-duration: 0.4s; }
[data-anim-duration="slow"]  { transition-duration: 1.2s; }

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    [data-anim] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* ============================================================
   2. 产品卡片高端悬浮特效
   ============================================================ */

.product-card {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
}

/* 卡片顶部渐变装饰线 */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #6366f1, #ec4899);
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.product-card:hover::before {
    opacity: 1;
}

/* 图片区域 */
.product-card__media {
    overflow: hidden;
    position: relative;
}

.product-card__media img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* 图片区域渐变遮罩 */
.product-card__media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.06), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover .product-card__media::after {
    opacity: 1;
}

/* Get Quote 按钮脉冲闪光 */
.product-card .btn-outline:hover {
    animation: btnPulseGlow 1.5s ease-in-out infinite;
}

@keyframes btnPulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb, 59, 130, 246), 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(var(--color-accent-rgb, 59, 130, 246), 0);
    }
}

/* 产品标签闪光动画（热销/新品/推荐） */
.product-badge {
    position: relative;
    overflow: hidden;
}

.product-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-25deg);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0%   { left: -60%; }
    30%  { left: 120%; }
    100% { left: 120%; }
}

/* 卡片焦点可访问性 */
.product-card:focus-within {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}


/* ============================================================
   3. 区域标题装饰线动画
   ============================================================ */

/* 装饰线从中心向两边展开 */
.section-rule {
    width: 0;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    margin-left: auto;
    margin-right: auto;
}

.is-visible .section-rule,
.section-head:hover .section-rule {
    width: 60px;
}

/* 区域标题文字动画 */
.section-title {
    transition: letter-spacing 0.4s ease;
}

.section-head:hover .section-title {
    letter-spacing: 0.02em;
}


/* ============================================================
   5. 视频卡片特效
   ============================================================ */

/* 播放按钮呼吸脉冲 */
.video-tile__play {
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

/* 封面悬浮效果 */
.video-tile {
    overflow: hidden;
}

.video-tile img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.4s ease;
}

.video-tile:hover img {
    transform: scale(1.06);
    filter: brightness(0.7);
}

.video-tile:hover .video-tile__play {
    animation: playBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes playBounce {
    0%   { transform: translate(-50%, -50%) scale(1); }
    40%  { transform: translate(-50%, -50%) scale(1.25); }
    70%  { transform: translate(-50%, -50%) scale(0.95); }
    100% { transform: translate(-50%, -50%) scale(1.05); }
}


/* ============================================================
   6. CTA 区域高级效果
   ============================================================ */

.cta-banner {
    position: relative;
    background: linear-gradient(-45deg, #0f1114, #1a237e, #0d47a1, #1a1d24);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 浮动光粒子装饰 */
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(3px 3px at 80% 60%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 70% 40%, rgba(255, 255, 255, 0.18), transparent),
        radial-gradient(2px 2px at 50% 90%, rgba(255, 255, 255, 0.22), transparent);
    animation: floatParticles 30s linear infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-5%, 10%) rotate(90deg); }
    50%  { transform: translate(5%, -5%) rotate(180deg); }
    75%  { transform: translate(-3%, -8%) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* CTA 按钮发光 */
.cta-banner .btn {
    position: relative;
    overflow: hidden;
}

.cta-banner .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.cta-banner .btn:hover::after {
    left: 120%;
}


/* ============================================================
   7. 页脚增强
   ============================================================ */

/* 社交图标悬浮动画 */
.footer-social a {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.15);
}

/* 链接下划线从左到右展开 */
.footer-col a {
    position: relative;
    transition: color 0.25s ease;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col a:hover::after {
    width: 100%;
}

/* 页脚渐变分隔线 */
.site-footer {
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}


/* ============================================================
   8. 关于我们 - 优势项动画
   ============================================================ */

/* 图标浮动动画 */
.advantage-icon,
.feature-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* 列表项交错动画 */
.advantage-item,
.feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.advantage-item.is-visible,
.feature-item.is-visible {
    opacity: 1;
    transform: none;
}

.advantage-item:nth-child(1), .feature-item:nth-child(1) { transition-delay: 0.05s; }
.advantage-item:nth-child(2), .feature-item:nth-child(2) { transition-delay: 0.1s; }
.advantage-item:nth-child(3), .feature-item:nth-child(3) { transition-delay: 0.15s; }
.advantage-item:nth-child(4), .feature-item:nth-child(4) { transition-delay: 0.2s; }
.advantage-item:nth-child(5), .feature-item:nth-child(5) { transition-delay: 0.25s; }
.advantage-item:nth-child(6), .feature-item:nth-child(6) { transition-delay: 0.3s; }

/* 优势卡片悬浮 */
.advantage-item:hover,
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}


/* ============================================================
   9. 表单输入框聚焦增强
   ============================================================ */

/* 输入框基础样式增强 */
.form-control,
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* 聚焦时底部高亮线 */
.form-group {
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group:focus-within::after {
    width: 100%;
    left: 0;
}

/* 浮动标签效果 */
.form-label-float {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #999;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus ~ .form-label-float,
.form-group input:not(:placeholder-shown) ~ .form-label-float,
.form-group textarea:focus ~ .form-label-float,
.form-group textarea:not(:placeholder-shown) ~ .form-label-float {
    top: 2px;
    font-size: 0.72rem;
    color: var(--color-accent);
    transform: translateY(0);
}

/* 提交按钮光晕 */
.btn-submit,
button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease,
                box-shadow 0.3s ease;
}

.btn-submit:hover,
button[type="submit"]:hover {
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb, 59, 130, 246), 0.4),
                0 8px 25px rgba(0, 0, 0, 0.12);
}

.btn-submit:active,
button[type="submit"]:active {
    transform: scale(0.97);
}


/* ============================================================
   10. 全局微交互
   ============================================================ */

/* 所有链接微妙过渡 */
a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* 按钮点击缩放反馈 */
.btn,
button {
    transition: transform 0.15s ease,
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

.btn:active,
button:active {
    transform: scale(0.96);
}

/* 页面间过渡动画 */
.page-transition-enter {
    opacity: 0;
    transform: translateY(12px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition-exit {
    opacity: 1;
}

.page-transition-exit-active {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 图片懒加载淡入 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].is-loaded {
    opacity: 1;
}

/* 骨架屏闪烁动画 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 涟漪点击效果容器 */
.ripple-wrap {
    position: relative;
    overflow: hidden;
}

.ripple-wrap .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 工具提示动画 */
.tooltip {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.tooltip.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* ============================================================
   11. 三端差异化样式
   ============================================================ */

/* -------- 手机端 (device-mobile) -------- */

/* 手机：所有 .product-grid（含 --home / --list / --related / --home-catalog）三列 */
.device-mobile .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.device-mobile .btn {
    min-height: 48px;
    font-size: 1rem;
    padding-left: 20px;
    padding-right: 20px;
}

/* 底部固定联系/报价栏 */
.device-mobile .mobile-bottom-bar {
    position: fixed;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 99;
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    animation: slideUpBar 0.4s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpBar {
    to { transform: translateY(0); }
}

.device-mobile .mobile-bottom-bar .btn {
    flex: 1;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

/* 底栏占位由 .site-footer 底部内边距 + JS 提供，勿在 main 上加 padding，否则会夹在内容与页脚之间形成浅灰空白带 */

/* 手机端字号增强 */
.device-mobile .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
}

.device-mobile .banner-carousel__title {
    font-size: 1.75rem;
}

/* 滑动指示器 */
.device-mobile .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    color: #999;
    font-size: 0.75rem;
    animation: swipeHint 2s ease-in-out infinite;
}

@keyframes swipeHint {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50%      { transform: translateX(8px); opacity: 1; }
}

/* 手机端卡片减少阴影提升性能 */
.device-mobile .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 手机导航增强 */
.device-mobile .nav-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 手机端触摸友好间距 */
.device-mobile .footer-col a {
    display: inline-block;
    padding: 6px 0;
}

/* 手机页脚：紧凑排版，减少大块留白 */
.device-mobile .footer-main {
    padding: 18px 0 14px;
}

.device-mobile .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.device-mobile .footer-about,
.device-mobile .footer-contact {
    grid-column: 1 / -1;
}

.device-mobile .footer-col {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.device-mobile .footer-col h4 {
    margin: 0 0 8px;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.device-mobile .footer-brand {
    gap: 10px;
    align-items: center;
}

.device-mobile .footer-brand__logo img {
    max-height: 40px;
    max-width: 88px;
}

.device-mobile .footer-brand__text h3 {
    font-size: 0.92rem;
    margin: 0 0 4px;
}

.device-mobile .footer-brand__text p {
    font-size: 0.76rem;
    line-height: 1.4;
}

.device-mobile .footer-col p {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-top: 2px;
}

.device-mobile .footer-col li {
    margin-bottom: 4px;
}

.device-mobile .footer-col a {
    padding: 3px 0;
    font-size: 0.82rem;
}

.device-mobile .footer-contact li {
    font-size: 0.8rem;
    gap: 8px;
    align-items: flex-start;
}

.device-mobile .footer-social {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-mobile .footer-social a {
    margin-right: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0.95rem;
}

.device-mobile .footer-bottom {
    padding: 8px 0 10px;
    font-size: 0.75rem;
}

/* 手机展开顶栏菜单：更紧凑 */
@media (max-width: 1024px) {
    .device-mobile .main-nav {
        padding: 10px 16px 14px;
    }

    .device-mobile .main-nav .nav-link {
        padding: 7px 10px;
        font-size: 0.88rem;
    }

    .device-mobile .main-nav .dropdown-menu a {
        padding: 5px 10px 5px 16px;
        font-size: 0.82rem;
    }
}


/* -------- 平板端 (device-tablet) -------- */

/* 平板与手机一致：商品区三列（首页 / 产品列表 / 分类 / 关联等） */
.device-tablet .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.device-tablet .banner-carousel__caption {
    max-width: 70%;
}

.device-tablet .section-title {
    font-size: 1.75rem;
}

/* 平板侧滑导航增强 */
.device-tablet .nav-drawer {
    width: 360px;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
}

.device-tablet .product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 平板卡片两列均匀间距 */
.device-tablet .product-card__body {
    padding: 20px;
}

/* 平板端表单布局 */
.device-tablet .contact-form {
    max-width: 600px;
    margin: 0 auto;
}


/* -------- PC端 (device-pc) -------- */

.device-pc .product-grid--home {
    grid-template-columns: repeat(4, 1fr);
}

.device-pc .product-grid--category {
    grid-template-columns: repeat(3, 1fr);
}

.device-pc .product-card {
    cursor: pointer;
}

/* PC端更精致的阴影层次 */
.device-pc .product-card {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
}

.device-pc .product-card:hover {
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.1);
}

/* 鼠标跟随光标高亮效果容器 */
.device-pc .card-spotlight {
    position: relative;
    overflow: hidden;
}

.device-pc .card-spotlight::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--color-accent-rgb, 59, 130, 246), 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
    z-index: 0;
}

.device-pc .card-spotlight:hover::before {
    opacity: 1;
}

/* PC端宽屏布局优化 */
@media (min-width: 1440px) {
    .device-pc .container {
        max-width: 1320px;
    }

    .device-pc .product-grid--home {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .device-pc .banner-carousel__title {
        font-size: 3.5rem;
    }
}

/* PC端超宽屏 */
@media (min-width: 1920px) {
    .device-pc .container {
        max-width: 1600px;
    }

    .device-pc .product-grid--home {
        gap: 36px;
    }
}


/* ============================================================
   12. 页面头部装饰
   ============================================================ */

/* 页面头部微妙图案背景 */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(var(--color-accent-rgb, 59, 130, 246), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(var(--color-accent-rgb, 59, 130, 246), 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* 几何图案点缀 */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.5;
}

/* 面包屑动画进入 */
.breadcrumb {
    opacity: 0;
    animation: breadcrumbIn 0.5s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes breadcrumbIn {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* 面包屑分隔符动画 */
.breadcrumb li + li::before {
    display: inline-block;
    transition: transform 0.2s ease;
}

.breadcrumb a:hover + li::before,
.breadcrumb li:hover::before {
    transform: translateX(2px);
}


/* ============================================================
   13. 图片画廊增强（产品详情页）
   ============================================================ */

/* 缩略图切换主图淡入 */
.gallery-main img {
    animation: galleryFadeIn 0.4s ease;
}

@keyframes galleryFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: none; }
}

/* 缩略图激活状态 */
.gallery-thumb {
    transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery-thumb.is-active {
    border-color: var(--color-accent);
    opacity: 1;
}

/* 主图放大镜效果容器 */
.gallery-zoom {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-zoom .zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(var(--color-accent-rgb, 59, 130, 246), 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.gallery-zoom:hover .zoom-lens {
    opacity: 1;
}

/* 画廊滑动切换 */
.gallery-slide-enter {
    opacity: 0;
    transform: translateX(30px);
}

.gallery-slide-enter-active {
    opacity: 1;
    transform: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide-exit {
    opacity: 1;
    position: absolute;
}

.gallery-slide-exit-active {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.35s ease;
}


/* ============================================================
   14. 联系页面增强
   ============================================================ */

/* 联系卡片发光效果 */
.contact-card {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--color-accent), #6366f1, #ec4899);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.contact-card:hover::before {
    opacity: 0.12;
}

/* 联系图标动画 */
.contact-card__icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.25s ease;
}

.contact-card:hover .contact-card__icon {
    transform: scale(1.15) rotate(-5deg);
    color: var(--color-accent);
}

/* 联系表单浮动标签 */
.contact-form .form-group {
    position: relative;
    margin-bottom: 24px;
}

.contact-form .form-group label {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.9rem;
    color: #aaa;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 0 4px;
}

.contact-form .form-group input:focus ~ label,
.contact-form .form-group input:not(:placeholder-shown) ~ label,
.contact-form .form-group textarea:focus ~ label,
.contact-form .form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 0.72rem;
    color: var(--color-accent);
    background: #fff;
}

/* 联系提交按钮渐变动画 */
.contact-form .btn-submit {
    background: linear-gradient(135deg, var(--color-accent), #6366f1);
    background-size: 200% 200%;
    animation: submitGradient 3s ease infinite;
    border: none;
    color: #fff;
}

@keyframes submitGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ============================================================
   15. 滚动条美化
   ============================================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 4px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Firefox 滚动条 */
* {
    scrollbar-width: thin;
    scrollbar-color: #c5c5c5 #f1f1f1;
}


/* ============================================================
   16. 文字选中高亮色
   ============================================================ */

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

::-moz-selection {
    background: var(--color-accent);
    color: #fff;
}


/* ============================================================
   17. 额外高级动画关键帧
   ============================================================ */

/* 闪烁光效 */
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 旋转入场 */
@keyframes spinIn {
    from { opacity: 0; transform: rotate(-180deg) scale(0.5); }
    to   { opacity: 1; transform: none; }
}

/* 弹性缩放 */
@keyframes elasticScale {
    0%   { transform: scale(0); }
    55%  { transform: scale(1.08); }
    70%  { transform: scale(0.96); }
    85%  { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* 心跳 */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14%      { transform: scale(1.1); }
    28%      { transform: scale(1); }
    42%      { transform: scale(1.1); }
    70%      { transform: scale(1); }
}

/* 打字光标闪烁 */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* 水平摇摆 */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-3deg); }
    75%      { transform: rotate(3deg); }
}

/* 渐变文字流动 */
.gradient-text {
    background: linear-gradient(90deg, var(--color-accent), #6366f1, #ec4899, var(--color-accent));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextFlow 5s ease infinite;
}

@keyframes gradientTextFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 呼吸发光 */
.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(var(--color-accent-rgb, 59, 130, 246), 0.2); }
    50%      { box-shadow: 0 0 20px rgba(var(--color-accent-rgb, 59, 130, 246), 0.5); }
}

/* 悬浮旋转3D */
.hover-rotate-3d {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.hover-rotate-3d:hover {
    transform: perspective(600px) rotateY(8deg) rotateX(4deg);
}

/* 计数器滚动数字动画辅助 */
.counter-number {
    display: inline-block;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 进度条动画 */
.progress-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), #6366f1);
    border-radius: 2px;
    width: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar__fill.is-visible {
    width: var(--progress, 0%);
}


/* ============================================================
   18. 通知/Toast 动画
   ============================================================ */

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.is-active {
    transform: translateX(0);
}

.toast.is-leaving {
    transform: translateX(120%);
    transition: transform 0.3s ease-in;
}


/* ============================================================
   19. 模态/弹窗增强
   ============================================================ */

.modal-backdrop {
    opacity: 0;
    backdrop-filter: blur(0);
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.modal-backdrop.is-active {
    opacity: 1;
    backdrop-filter: blur(6px);
}

/* 仅用于 .modal-backdrop 体系；勿写成全局 .modal-content，否则会命中 #inquiryModal .modal-content 导致弹窗主体 opacity:0 只剩遮罩 */
.modal-backdrop .modal-content {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-active .modal-content {
    opacity: 1;
    transform: none;
}


/* ============================================================
   20. 暗色模式适配（如果有 data-theme="dark"）
   ============================================================ */

[data-theme="dark"] ::-webkit-scrollbar-track { background: #1a1a1a; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #444; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #555; }
[data-theme="dark"] * { scrollbar-color: #444 #1a1a1a; }

[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

[data-theme="dark"] .device-mobile .mobile-bottom-bar {
    background: rgba(26, 26, 26, 0.95);
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .contact-form .form-group input:focus ~ label,
[data-theme="dark"] .contact-form .form-group input:not(:placeholder-shown) ~ label,
[data-theme="dark"] .contact-form .form-group textarea:focus ~ label,
[data-theme="dark"] .contact-form .form-group textarea:not(:placeholder-shown) ~ label {
    background: #1a1a1a;
}

[data-theme="dark"] .page-header::after {
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

[data-theme="dark"] .site-footer::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ============================================================
 *  增强交互功能样式
 * ============================================================ */

/* ---------- 页面加载进度条 ---------- */
.page-load-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-load-bar__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent, #2563eb), #7c3aed, var(--accent, #2563eb));
    background-size: 200% 100%;
    animation: loadBarShimmer 1.5s ease-in-out infinite;
    transition: width 0.4s ease;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

@keyframes loadBarShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---------- 导航栏滚动缩小 ---------- */
.site-header {
    transition: min-height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.site-header.is-scrolled .header-inner {
    min-height: 56px;
}

[data-theme="dark"] .site-header.is-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- 产品卡片鼠标光效 ---------- */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    top: var(--glow-y, -999px);
    left: var(--glow-x, -999px);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 50%;
}

.product-card:hover::after {
    opacity: 1;
}

[data-theme="dark"] .product-card::after {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
}

/* ---------- 手机端底部操作栏（JS动态创建） ---------- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    animation: slideUpBar 0.4s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobile-bar-btn:active {
    transform: scale(0.96);
}

.mobile-bar-btn--quote {
    background: var(--accent, #2563eb);
    color: #fff;
}

.mobile-bar-btn--wa {
    background: #25d366;
    color: #fff;
}

[data-theme="dark"] .mobile-bottom-bar {
    background: rgba(26, 26, 26, 0.96);
    border-top-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- 打字机光标闪烁 ---------- */
[data-typewriter] {
    border-right: 2px solid var(--accent, #2563eb);
    animation: typewriterBlink 0.8s steps(1) infinite;
}

@keyframes typewriterBlink {
    50% { border-color: transparent; }
}

/* ============================================================
   21. 首页新增区块样式：统计区、流程区、信任区
   ============================================================ */

/* ---------- 数据统计区 ---------- */
.section-stats {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px;
    pointer-events: none;
}

.section-head--light .section-kicker { color: rgba(255, 255, 255, 0.7); }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-rule { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.stat-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #60a5fa;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

.stat-card__number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- 服务流程区 ---------- */
.section-process {
    padding: 80px 0;
    background: #f8fafc;
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 32px 20px;
    position: relative;
    max-width: 260px;
}

.process-step__number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-accent, #2563eb);
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.process-step__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent, #2563eb), #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.process-step:hover .process-step__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

.process-step__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.process-step__desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.2rem;
    padding-top: 64px;
    flex-shrink: 0;
    width: 40px;
}

/* ---------- 信任徽章区 ---------- */
.section-trust {
    padding: 80px 0;
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.trust-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
}

.trust-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent, #2563eb);
}

.trust-item__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    color: var(--color-accent, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
    transition: transform 0.3s, background 0.3s;
}

.trust-item:hover .trust-item__icon {
    background: linear-gradient(135deg, var(--color-accent, #2563eb), #7c3aed);
    color: #fff;
    transform: rotateY(180deg);
}

.trust-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.trust-item__text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* ---------- CTA浮动粒子 ---------- */
.cta-banner { position: relative; overflow: hidden; }

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: ctaFloat 6s ease-in-out infinite;
}

.cta-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.cta-particles span:nth-child(2) { left: 30%; top: 60%; animation-delay: 1s; animation-duration: 5s; width: 8px; height: 8px; }
.cta-particles span:nth-child(3) { left: 60%; top: 30%; animation-delay: 2s; animation-duration: 8s; width: 4px; height: 4px; }
.cta-particles span:nth-child(4) { left: 80%; top: 70%; animation-delay: 3s; animation-duration: 6s; }
.cta-particles span:nth-child(5) { left: 50%; top: 10%; animation-delay: 1.5s; animation-duration: 9s; width: 10px; height: 10px; }

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

/* ---------- 产品卡片徽章 ---------- */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(4px);
}

.product-card__badge--hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.product-card__badge--new {
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

.product-card__badge--featured {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* ---------- 发光按钮 ---------- */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: btnGlowSweep 3s ease-in-out infinite;
}

@keyframes btnGlowSweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* ---------- 产品详情页增强 ---------- */
.product-summary__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.product-summary__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.product-summary__original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
}

.product-summary__moq {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
    margin-top: 12px;
}

/* 联系页联系卡片增强 */
.contact-card {
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-accent, #2563eb), #7c3aed, #ec4899, var(--color-accent, #2563eb));
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
    animation: contactCardGlow 4s ease infinite;
}

.contact-card:hover::before {
    opacity: 1;
}

@keyframes contactCardGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---------- 响应式：新增区块 ---------- */
@media (max-width: 1023px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .process-grid { flex-wrap: wrap; gap: 16px; }
    .process-connector { display: none; }
    .process-step { flex: 0 0 calc(50% - 8px); max-width: none; }
    .stat-card__number { font-size: 2.2rem; }
}

@media (max-width: 639px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .trust-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-step { flex: 0 0 100%; }
    .stat-card { padding: 24px 16px; }
    .stat-card__number { font-size: 1.8rem; }
    .stat-card__icon { font-size: 1.5rem; }
    .section-stats { padding: 48px 0; }
    .section-process { padding: 48px 0; }
    .section-trust { padding: 48px 0; }
    .trust-item { padding: 28px 16px; }
    .product-summary__cta { flex-direction: column; }
    .product-summary__cta .btn { width: 100%; }
}

/* ---------- 关于页面强化 ---------- */
.strength-item {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}

.strength-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.strength-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.strength-item:hover .strength-icon {
    transform: scale(1.15) rotate(5deg);
}

/* ---------- 视频页面增强 ---------- */
.video-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.video-card__visual img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-card__visual img {
    transform: scale(1.05);
}

/* ---------- 产品列表侧栏增强 ---------- */
.sidebar-cat-list a {
    position: relative;
    overflow: hidden;
}

.sidebar-cat-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent, #2563eb);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-cat-list a:hover::before,
.sidebar-cat-list a.active::before {
    transform: scaleY(1);
}

/* ---------- 页面Header增强装饰 ---------- */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.page-title {
    position: relative;
    z-index: 1;
}

.page-lead {
    position: relative;
    z-index: 1;
}

/* ============================================================
   22. 关于页面时间线
   ============================================================ */

.about-timeline {
    margin-top: 60px;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent, #2563eb), #7c3aed);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: 16px;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent, #2563eb), #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-content {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ---------- CTA卡片增强 ---------- */
.card-cta {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.card-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.card-cta__title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.card-cta__text {
    position: relative;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.card-cta__actions {
    position: relative;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 响应式时间线 ---------- */
@media (max-width: 639px) {
    .timeline::before { left: 18px; }
    .timeline-marker { left: 2px; width: 32px; height: 32px; font-size: 0.8rem; }
    .timeline-item { padding-left: 52px; }
    .timeline-content { padding: 16px; }
    .card-cta { padding: 40px 20px; }
    .card-cta__title { font-size: 1.4rem; }
}

/* ============================================================
   23. 三端精简深度适配（手机触控与信息层级）
   ============================================================ */

html {
    -webkit-tap-highlight-color: rgba(201, 162, 39, 0.12);
}

/* —— 手机端 —— */
.device-mobile .site-header {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

.device-mobile .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 48px;
    padding-top: max(4px, env(safe-area-inset-top, 0px));
    padding-bottom: 4px;
}

/* 品牌名区吃掉剩余宽度（右侧：语言 + 询价 + 菜单） */
.device-mobile .header-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 148px);
}

.device-mobile .header-brand a {
    display: block;
    min-width: 0;
}

.device-mobile .logo-text {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
}

.device-mobile .header-actions {
    flex-shrink: 0;
    gap: 6px;
}

/* 手机：报价改为圆形图标按钮，避免竖排文字、大幅占高 */
.device-mobile .btn-inquiry {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    gap: 0;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.4);
}

.device-mobile .btn-inquiry__label {
    display: none;
}

.device-mobile .btn-inquiry .fa-envelope {
    font-size: 1.1rem;
    margin: 0;
}

.device-mobile .lang-btn {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.device-mobile .mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

/* 横幅轮播：文案左对齐 */
.device-mobile .banner-carousel__caption {
    padding-top: 18px;
    padding-bottom: 26px;
    align-items: flex-start;
    text-align: left;
}

.device-mobile .banner-carousel__title {
    font-size: clamp(1.3rem, 5.5vw, 1.85rem);
    margin-bottom: 10px;
}

.device-mobile .banner-carousel__subtitle {
    font-size: 0.92rem;
    margin-bottom: 18px;
    line-height: 1.55;
}

.device-mobile .banner-carousel__caption .btn-hero {
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 14px 26px;
    font-size: 0.95rem;
}

.device-mobile .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.device-mobile .section {
    padding-top: 18px;
    padding-bottom: 18px;
}

.device-mobile .section-title {
    font-size: 1.35rem;
}

.device-mobile .section-head {
    margin-bottom: 16px;
}

.device-mobile .section-kicker {
    margin-bottom: 6px;
    font-size: 0.72rem;
}

.device-mobile .section-rule {
    margin-top: 12px;
}

/* 首页底部 CTA 蓝条：手机减少上下留白，避免与页脚之间视觉「断层」 */
.device-mobile .section-cta.cta-banner,
.device-mobile .cta-banner {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 18px;
    padding-bottom: 18px;
}

.device-mobile .cta-title {
    font-size: 1.2rem;
}

.device-mobile .cta-desc {
    font-size: 0.85rem;
}

.device-mobile .about-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.device-mobile .about-highlights ul {
    padding: 18px 16px;
}

.device-mobile .about-highlights li {
    font-size: 0.9rem;
    gap: 10px;
}

/* 产品列表：操作区全宽易点 */
.device-mobile .product-card__actions {
    flex-direction: column;
    gap: 10px;
}

.device-mobile .product-card__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
}

.device-mobile .product-card__title {
    font-size: 1.02rem;
}

/* 手机/平板商品区为三列网格时，压缩单卡排版（列表/首页/关联推荐等共用 .product-grid） */
.device-mobile .product-grid .product-card__title,
.device-tablet .product-grid .product-card__title {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.device-mobile .product-grid .product-card__title a,
.device-tablet .product-grid .product-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.device-mobile .product-grid .product-card__body,
.device-tablet .product-grid .product-card__body {
    padding: 8px 6px 10px;
}

.device-mobile .product-grid .product-card__media,
.device-tablet .product-grid .product-card__media {
    aspect-ratio: 1;
}

.device-mobile .product-grid .product-card__price,
.device-mobile .product-grid .product-card__price-range,
.device-tablet .product-grid .product-card__price,
.device-tablet .product-grid .product-card__price-range {
    font-size: 0.68rem;
    margin-bottom: 4px;
}

.device-mobile .product-grid .product-card__moq,
.device-tablet .product-grid .product-card__moq {
    font-size: 0.62rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.device-mobile .product-grid .product-card__excerpt,
.device-tablet .product-grid .product-card__excerpt {
    display: none;
}

.device-mobile .product-grid .product-card__excerpt--home,
.device-tablet .product-grid .product-card__excerpt--home {
    display: none;
}

.device-mobile .product-grid .product-card__actions,
.device-tablet .product-grid .product-card__actions {
    flex-direction: column;
    gap: 6px;
}

.device-mobile .product-grid .product-card__actions .btn,
.device-tablet .product-grid .product-card__actions .btn {
    width: 100%;
    min-height: 34px;
    font-size: 0.62rem;
    padding: 5px 4px;
}

.device-mobile .product-grid .btn-quote--compact,
.device-tablet .product-grid .btn-quote--compact {
    min-height: 34px;
    font-size: 0.62rem;
    padding: 5px 4px;
}

.device-mobile .btn-sm {
    min-height: 44px;
    font-size: 0.9rem;
}

.device-mobile .page-header {
    padding: 18px 0 14px;
}

.device-mobile .page-title {
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
}

.device-mobile .products-search {
    flex-direction: column;
    align-items: stretch;
}

.device-mobile .products-search .btn-search {
    width: 100%;
    min-height: 48px;
}

.device-mobile .tag-pill {
    min-height: 40px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
}

.device-mobile .category-tags {
    gap: 8px;
    flex-wrap: wrap;
}

.device-mobile .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 20px;
}

.device-mobile .cta-actions {
    justify-content: center;
    flex-direction: column;
}

.device-mobile .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    min-height: 48px;
}

.device-mobile .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
}

.device-mobile .form-field input,
.device-mobile .form-field textarea,
.device-mobile .contact-form input,
.device-mobile .contact-form textarea {
    min-height: 48px;
    font-size: 16px; /* 防止 iOS 自动缩放 */
}

.device-mobile .contact-form textarea {
    min-height: 140px;
}

.device-mobile .contact-card--qr {
    margin-top: 16px;
    padding: 18px 14px;
}

.device-mobile .contact-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.device-mobile .contact-qr-card {
    padding: 12px 8px;
}

.device-mobile .contact-qr-card__link img {
    max-width: 100%;
}

@media (max-width: 360px) {
    .device-mobile .contact-qr-grid {
        grid-template-columns: 1fr;
    }
}

/* 底栏与安全区（与 JS paddingBottom 一致） */
.device-mobile .mobile-bottom-bar {
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

/* 为固定底栏预留滚动空间：加在页脚（深色背景）上，避免 body 浅底在页脚下方露出一条白/灰边 */
.device-mobile .site-footer.site-footer--mobile-bar-space {
    padding-bottom: calc(var(--mobile-bottom-bar-height, 0px) + 16px);
}

.device-mobile .whatsapp-float {
    bottom: calc(var(--mobile-bottom-bar-height, 0px) + 28px);
    right: max(16px, env(safe-area-inset-right, 0px));
}

.device-mobile .back-to-top {
    bottom: calc(var(--mobile-bottom-bar-height, 0px) + 28px);
    right: max(16px, env(safe-area-inset-right, 0px));
}

/* 首页概览：仅手机/平板显示，补充信息密度 */
.device-mobile .section-home-overview,
.device-tablet .section-home-overview {
    display: block;
}

.device-mobile .section-home-overview {
    padding-top: 16px;
    padding-bottom: 8px;
}

.device-mobile .home-overview-card {
    padding: 16px;
    border-radius: 16px;
}

.device-mobile .home-overview-card .section-title {
    font-size: 1.1rem;
}

.device-mobile .home-overview-card .section-sub {
    margin-top: 8px;
    font-size: 0.8rem;
    line-height: 1.45;
}

.device-mobile .home-overview__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.device-mobile .overview-metric {
    padding: 11px 10px;
    border-radius: 12px;
}

.device-mobile .overview-metric strong {
    font-size: 1rem;
}

.device-mobile .overview-metric span {
    font-size: 0.68rem;
    margin-top: 4px;
}

.device-mobile .home-overview__highlights {
    gap: 8px;
    margin-top: 12px;
}

.device-mobile .overview-pill {
    padding: 7px 10px;
    font-size: 0.72rem;
}

.device-mobile .home-overview__actions {
    gap: 8px;
    margin-top: 14px;
}

.device-mobile .home-overview__actions .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 42px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 0.82rem;
}

/* 首页在售区：手机更紧凑 + 横向滑动浏览 */
.device-mobile .section-home-catalog {
    padding-top: 16px;
    padding-bottom: 18px;
}

.device-mobile .section-home-catalog .section-head--row {
    margin-bottom: 12px;
    gap: 10px;
    align-items: flex-start;
}

.device-mobile .section-home-catalog .section-kicker {
    font-size: 0.68rem;
    margin-bottom: 4px;
}

.device-mobile .section-home-catalog .section-title {
    font-size: 1.15rem;
    line-height: 1.25;
}

.device-mobile .section-home-catalog .section-sub {
    font-size: 0.78rem;
    margin-top: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.device-mobile .section-home-catalog .section-head__action {
    width: auto;
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 7px 12px;
    min-height: 38px;
}

.device-mobile .product-grid--home-catalog,
.device-tablet .product-grid--home-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
}

.device-mobile .product-grid--home-catalog .product-card--catalog,
.device-tablet .product-grid--home-catalog .product-card--catalog {
    min-width: 0;
    max-width: none;
    width: 100%;
    border-radius: 10px;
}

.device-mobile .product-card--catalog .product-card__media,
.device-tablet .product-card--catalog .product-card__media {
    aspect-ratio: 1;
}

.device-mobile .product-card--catalog .product-card__body,
.device-tablet .product-card--catalog .product-card__body {
    padding: 8px 6px 10px;
}

.device-mobile .product-card--catalog .product-card__title,
.device-tablet .product-card--catalog .product-card__title {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.device-mobile .product-card--catalog .product-card__excerpt--home,
.device-tablet .product-card--catalog .product-card__excerpt--home {
    display: none;
}

.device-mobile .product-card--catalog .product-card__price,
.device-tablet .product-card--catalog .product-card__price {
    font-size: 0.68rem;
    margin-bottom: 4px;
}

.device-mobile .product-card--catalog .btn-quote--compact,
.device-tablet .product-card--catalog .btn-quote--compact {
    min-height: 34px;
    font-size: 0.62rem;
    padding: 5px 4px;
}

/* 首页下方推荐/热销等区块手机/平板略紧凑 */
.device-mobile .section-products,
.device-tablet .section-products {
    padding-top: 24px;
    padding-bottom: 24px;
}

.device-mobile .section-products .section-head,
.device-tablet .section-products .section-head {
    margin-bottom: 16px;
}

.device-mobile .section-products .section-title,
.device-tablet .section-products .section-title {
    font-size: 1.15rem;
}

.device-mobile .section-products .product-grid--home,
.device-tablet .section-products .product-grid--home {
    gap: 8px;
}

.device-mobile .section-products .product-card__body,
.device-tablet .section-products .product-card__body {
    padding: 8px 6px 10px;
}

.device-mobile .section-products .product-card__title,
.device-tablet .section-products .product-card__title {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.device-mobile .section-products .product-card__title a,
.device-tablet .section-products .product-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.device-mobile .section-products .product-card__price,
.device-tablet .section-products .product-card__price {
    font-size: 0.68rem;
    margin-bottom: 4px;
}

.device-mobile .section-products .btn-quote,
.device-tablet .section-products .btn-quote {
    min-height: 34px;
    font-size: 0.62rem;
}

.device-mobile .section-products .product-card__media,
.device-tablet .section-products .product-card__media {
    aspect-ratio: 1;
}

.device-mobile .section-stats,
.device-mobile .section-process,
.device-mobile .section-videos,
.device-mobile .section-trust {
    padding-top: 24px;
    padding-bottom: 24px;
}

.device-mobile .stats-grid {
    gap: 10px;
    margin-top: 18px;
}

.device-mobile .stat-card {
    padding: 16px 10px;
    border-radius: 14px;
}

.device-mobile .stat-card__icon {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.device-mobile .stat-card__number {
    font-size: 1.35rem;
}

.device-mobile .stat-card__label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.device-mobile .video-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.device-mobile .video-tile__title {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
}

.device-mobile .process-grid {
    gap: 10px;
    margin-top: 18px;
}

.device-mobile .process-step {
    flex: 0 0 calc(50% - 5px);
    padding: 16px 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.device-mobile .process-step__number {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 1px;
}

.device-mobile .process-step__icon {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.device-mobile .process-step__title {
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.device-mobile .process-step__desc {
    font-size: 0.74rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.device-mobile .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.device-mobile .trust-item {
    padding: 18px 12px;
    border-radius: 14px;
}

.device-mobile .trust-item__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.device-mobile .trust-item__title {
    font-size: 0.85rem;
    line-height: 1.35;
}

.device-mobile .trust-item__text {
    font-size: 0.74rem;
    line-height: 1.45;
}

/* —— 平板：留白与触控折中 —— */
.device-tablet .container {
    padding-left: 20px;
    padding-right: 20px;
}

.device-tablet .header-inner {
    min-height: 64px;
}

.device-tablet .banner-carousel__caption {
    padding-left: 8px;
    padding-right: 8px;
}

.device-tablet .btn-inquiry {
    min-height: 46px;
}

.device-tablet .product-card__actions .btn {
    min-height: 44px;
}

.device-tablet .footer-main {
    padding: 40px 0 28px;
}

.device-tablet .footer-grid {
    gap: 28px;
}

.device-tablet .footer-col li {
    margin-bottom: 6px;
}

.device-tablet .footer-col h4 {
    margin-bottom: 10px;
}

.device-tablet .footer-brand__logo img {
    max-height: 52px;
    max-width: 120px;
}

.device-tablet .section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.device-tablet .home-overview-card {
    padding: 22px;
}

.device-tablet .home-overview__metrics {
    gap: 10px;
}

.device-tablet .overview-metric {
    padding: 14px 10px;
}

.device-tablet .overview-metric strong {
    font-size: 1.1rem;
}

.device-tablet .overview-metric span {
    font-size: 0.72rem;
}

.device-tablet .home-overview__actions .btn {
    min-height: 44px;
}

.device-tablet .product-grid--home-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.device-tablet .video-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.device-tablet .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.device-tablet .stat-card {
    padding: 24px 14px;
}

.device-tablet .stat-card__number {
    font-size: 1.8rem;
}

.device-tablet .process-grid {
    gap: 12px;
    margin-top: 28px;
}

.device-tablet .process-step {
    flex: 0 0 calc(50% - 6px);
    padding: 24px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.device-tablet .process-step__icon {
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.device-tablet .process-step__title {
    font-size: 1rem;
}

.device-tablet .process-step__desc {
    font-size: 0.82rem;
}

.device-tablet .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.device-tablet .trust-item {
    padding: 28px 18px;
}

/* —— PC：保持精简信息密度 —— */
.device-pc .header-inner {
    min-height: 70px;
}
