/**
 * Default Section Styles
 * 此文件存放 templates/section 目录下各 section 的专属样式（按 section-creation 规则追加）。
 * 由 main.css 拆分而来，作为 section 样式的单一源文件。
 * 同步链路：sync:assets -> frontend/public/assets/css/default.css
 * 加载链路：BaseLayout.astro（与 main.css 一起加载）/ PreviewSandbox.tsx（?raw 注入）
 * 包含 section：dynamic-carousel / color-options / product-header / specs / config-table /
 *               luban-certs-services / faq / expo-carousel / about-intro
 */
/*--------------------------------------------------------------
# Dynamic Carousel Section（动态滚动幻灯片）
  参考 _legacy_template/product-detail-v2.html 的 img-card 设计语言：
  - 卡片：白底 + 圆角 12px + 轻阴影 + hover 上浮
  - 图片：overflow hidden + hover scale(1.06) 缩放
  - 标题：heading-font + 单行省略
  - 分类标签：accent-color + uppercase + letter-spacing
  - 箭头：圆形浮动按钮 + hover 变 accent 色
--------------------------------------------------------------*/

.dynamic-carousel-section {
    padding: 60px 0;
}

.dynamic-carousel-section .section-title {
    padding-bottom: 40px;
}

.scroll-carousel-wrapper {
    position: relative;
}

.scroll-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    margin: -8px -4px 0;
}

.scroll-carousel::-webkit-scrollbar {
    display: none;
}

.scroll-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--heading-color, #222);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    opacity: 1;
}

.scroll-carousel-arrow[hidden],
.scroll-carousel-arrow[data-hidden="true"] {
    opacity: 0;
    pointer-events: none;
}

.scroll-carousel-wrapper:hover .scroll-carousel-arrow {
    opacity: 1;
}

.scroll-carousel-arrow:hover {
    background: var(--accent-color, #0ea5e9);
    border-color: var(--accent-color, #0ea5e9);
    color: #fff;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.scroll-carousel-arrow.prev {
    left: -22px;
}

.scroll-carousel-arrow.next {
    right: -22px;
}

.carousel-card {
    flex: 0 0 auto;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.carousel-card-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.carousel-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-card:hover .carousel-card-media img {
    transform: scale(1.06);
}

.carousel-card-caption {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carousel-card-cat {
    display: inline-block;
    font-family: var(--nav-font);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color, #0ea5e9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
}

.carousel-card-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
    color: var(--heading-color, #1a1a1a);
}

.carousel-card-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.carousel-card-title a:hover {
    color: var(--accent-color, #0ea5e9);
}

/* ================================================================
   卡片样式1: 文字在图片下方 (card-style-text-below) - 默认样式，无需额外覆盖
   ================================================================ */

/* ================================================================
   卡片样式2: 浮动层叠卡片 (card-style-text-floating)
   文字区白色卡片向上浮起23px，覆盖图片底部，形成层叠纵深
   ================================================================ */
.carousel-card.card-style-text-floating {
    position: relative;
    padding-bottom: 0;
}

.carousel-card.card-style-text-floating .carousel-card-media {
    aspect-ratio: 16 / 9;
    border-radius: 12px 12px 0 0;
}

.carousel-card.card-style-text-floating .carousel-card-floating-caption {
    position: relative;
    z-index: 2;
    margin-top: -23px;
    margin-left: 14px;
    margin-right: 14px;
    padding: 16px 18px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
}

.carousel-card.card-style-text-floating:hover .carousel-card-floating-caption {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.carousel-card.card-style-text-floating .carousel-card-cat {
    color: var(--accent-color, #0ea5e9);
}

.carousel-card.card-style-text-floating .carousel-card-title {
    font-size: 16px;
}

/* ================================================================
   卡片样式3: 文字悬浮在图片上方 (card-style-text-overlay)
   全图卡片 + 渐变遮罩 + 文字居中叠加
   ================================================================ */
.carousel-card.card-style-text-overlay {
    position: relative;
}

.carousel-card.card-style-text-overlay .carousel-card-media {
    aspect-ratio: 16 / 9;
    position: relative;
}

.carousel-card.card-style-text-overlay .carousel-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.05) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: background 0.4s ease;
}

.carousel-card.card-style-text-overlay:hover .carousel-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 80%,
        rgba(0, 0, 0, 0) 100%
    );
}

.carousel-card.card-style-text-overlay .carousel-card-caption {
    text-align: center;
    padding: 24px;
    max-width: 90%;
}

.carousel-card.card-style-text-overlay .carousel-card-cat {
    color: var(--accent-color, #0ea5e9);
}

.carousel-card.card-style-text-overlay .carousel-card-title {
    color: #fff;
    font-size: 19px;
}

.carousel-card.card-style-text-overlay .carousel-card-title a {
    color: #fff;
    text-decoration: none;
}

.carousel-card.card-style-text-overlay .carousel-card-title a:hover {
    color: var(--accent-color, #0ea5e9);
}

/* ================================================================
   卡片样式4: 横向图文布局 (card-style-text-side)
   图片在左、文字在右。图片用绝对定位填充，高度由 flex align-items:stretch 统一控制
   ================================================================ */
.carousel-card.card-style-text-side {
    flex-direction: row;
    width: 480px;
}

.carousel-card.card-style-text-side .carousel-card-media {
    width: 180px;
    min-width: 180px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.carousel-card.card-style-text-side .carousel-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card.card-style-text-side .carousel-card-caption {
    flex: 1;
    padding: 20px 22px;
    justify-content: center;
    gap: 8px;
}

/* ================================================================
   卡片样式5: 底部渐变叠加文字 (card-style-text-overlay-bottom)
   全图 + 底部渐变遮罩 + 文字叠加在底部
   ================================================================ */
.carousel-card.card-style-text-overlay-bottom {
    position: relative;
}

.carousel-card.card-style-text-overlay-bottom .carousel-card-media {
    aspect-ratio: 4 / 3;
    position: relative;
}

.carousel-card.card-style-text-overlay-bottom .carousel-card-bottom-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: padding-bottom 0.35s ease, background 0.35s ease;
}

.carousel-card.card-style-text-overlay-bottom:hover .carousel-card-bottom-caption {
    padding-bottom: 26px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.05) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

.carousel-card.card-style-text-overlay-bottom .carousel-card-cat {
    color: var(--accent-color, #0ea5e9);
}

.carousel-card.card-style-text-overlay-bottom .carousel-card-title {
    color: #fff;
    font-size: 18px;
}

.carousel-card.card-style-text-overlay-bottom .carousel-card-title a {
    color: #fff;
    text-decoration: none;
}

.carousel-card.card-style-text-overlay-bottom .carousel-card-title a:hover {
    color: var(--accent-color, #0ea5e9);
}

/* ================================================================
   卡片样式6: 杂志式文字框 (card-style-text-boxed)
   图片为主体，右下角悬停精致小白框，错位留白，编辑感强烈
   ================================================================ */
.carousel-card.card-style-text-boxed {
    position: relative;
    overflow: visible;
}

.carousel-card.card-style-text-boxed .carousel-card-media {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
}

.carousel-card.card-style-text-boxed .carousel-card-boxed-caption {
    position: absolute;
    right: -6px;
    bottom: -10px;
    max-width: 72%;
    padding: 14px 18px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    z-index: 2;
}

.carousel-card.card-style-text-boxed:hover .carousel-card-boxed-caption {
    transform: translateY(-4px) translateX(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.carousel-card.card-style-text-boxed .carousel-card-cat {
    color: var(--accent-color, #0ea5e9);
}

.carousel-card.card-style-text-boxed .carousel-card-title {
    font-size: 15px;
}

/* 响应式：移动端卡片缩小、箭头内置 */
@media (max-width: 768px) {
    .dynamic-carousel-section {
        padding: 40px 0;
    }

    .carousel-card {
        width: 260px;
    }

    .carousel-card-caption {
        padding: 14px 16px 16px;
    }

    .carousel-card-title {
        font-size: 15px;
    }

    .scroll-carousel-arrow {
        width: 38px;
        height: 38px;
        opacity: 1;
        pointer-events: auto;
    }

    .scroll-carousel-arrow.prev { left: 8px; }
    .scroll-carousel-arrow.next { right: 8px; }

    /* 横向布局：移动端改为纵向 */
    .carousel-card.card-style-text-side {
        flex-direction: column;
        width: 260px;
    }

    .carousel-card.card-style-text-side .carousel-card-media {
        width: 100%;
        min-width: auto;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .carousel-card.card-style-text-overlay .carousel-card-title {
        font-size: 16px;
    }

    .carousel-card.card-style-text-overlay-bottom .carousel-card-title {
        font-size: 15px;
    }

    /* 浮动卡片：减小上移量 */
    .carousel-card.card-style-text-floating .carousel-card-floating-caption {
        margin-top: -18px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 12px 14px 16px;
    }

    /* 杂志文字框：减小偏移 */
    .carousel-card.card-style-text-boxed .carousel-card-boxed-caption {
        right: -4px;
        bottom: -8px;
        max-width: 78%;
        padding: 10px 14px 12px;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        width: 220px;
    }

    .scroll-carousel {
        gap: 16px;
    }

    .carousel-card.card-style-text-side {
        width: 220px;
    }
}

.table-of-contents .toc-item.level-2>.toc-link {
    padding-left: 1.25rem;
}

.table-of-contents .toc-item.level-3>.toc-link {
    padding-left: 2.75rem;
}

.table-of-contents .toc-number {
    min-width: 1.8rem;
    text-align: right;
    font-weight: 600;
    color: var(--color-text-secondary, #6c757d);
    flex-shrink: 0;
}

.table-of-contents .toc-text {
    flex: 1;
    line-height: 1.45;
}

/* React Select Styles */
.react-select-container {
    width: 100%;
}

.react-select__control {
    min-height: 48px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 0.375rem !important;
    background-color: var(--surface-color) !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.react-select__control:hover {
    border-color: var(--color-text-secondary) !important;
}

.react-select__control--is-focused {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 75%) !important;
}

.react-select__value-container {
    padding: 0.375rem 0.75rem !important;
}

.react-select__single-value {
    color: var(--default-color) !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

.react-select__placeholder {
    color: var(--color-text-secondary) !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

.react-select__menu {
    z-index: 1000 !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem var(--shadow-color) !important;
    background-color: var(--surface-color) !important;
}

.react-select__menu-list {
    padding: 0.25rem 0 !important;
}

.react-select__option {
    padding: 0.5rem 0.75rem !important;
    color: var(--default-color) !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease-in-out !important;
}

.react-select__option:hover {
    background-color: var(--surface-color) !important;
}

.react-select__option--is-focused {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%) !important;
}

.react-select__option--is-selected {
    background-color: var(--accent-color) !important;
    color: var(--contrast-color) !important;
}

.react-select__indicator-separator {
    background-color: var(--color-border) !important;
}

.react-select__indicator {
    padding: 0.5rem 0.5rem 0.5rem 0 !important;
    color: var(--color-text-secondary) !important;
}

.react-select__dropdown-indicator:hover {
    color: var(--default-color) !important;
}

/*--------------------------------------------------------------
# Capsule House — 插槽系统样式
--------------------------------------------------------------*/

/* 插槽区域过渡动画(背景色/主题切换) */
.section-transition {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 富文本内容区域(TinyEditor 输出) — 替代 Tailwind prose */
.ch-prose {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}
.ch-prose h1, .ch-prose h2, .ch-prose h3, .ch-prose h4, .ch-prose h5, .ch-prose h6 {
    color: var(--heading-color);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}
.ch-prose h1 { font-size: 2rem; }
.ch-prose h2 { font-size: 1.75rem; }
.ch-prose h3 { font-size: 1.5rem; }
.ch-prose h4 { font-size: 1.25rem; }
.ch-prose p {
    margin-bottom: 1em;
}
.ch-prose ul, .ch-prose ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.ch-prose li {
    margin-bottom: 0.25em;
}
.ch-prose a {
    color: var(--accent-color);
    text-decoration: underline;
}
.ch-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.ch-prose blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 1em;
    margin-left: 0;
    color: var(--color-text-secondary);
    font-style: italic;
}
.ch-prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}
.ch-prose th, .ch-prose td {
    border: 1px solid var(--color-border);
    padding: 0.5em 0.75em;
    text-align: left;
}
.ch-prose th {
    background-color: var(--color-bg-light);
    font-weight: 600;
}
.ch-prose code {
    background-color: var(--color-bg-light);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}
.ch-prose pre {
    background-color: var(--color-bg-light);
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
}
.ch-prose pre code {
    background: none;
    padding: 0;
}

/*--------------------------------------------------------------
# Common Image Card Hover（统一图片 hover：scale + shadow，overflow 容器兜底）
--------------------------------------------------------------*/

.img-card {
    overflow: hidden;
    border-radius: 8px;
}

.image-grid-section[data-lightbox="true"] .img-card {
    cursor: pointer;
}

.img-card img {
    display: block;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.img-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* 图片卡片描述文字（featured-gallery 主图描述 / 配图描述，参考 product-detail-v2.html 360° VR Option 字体样式） */
.img-card-caption {
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 14px;
    color: #999;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/*--------------------------------------------------------------
# Color Options Section (product-detail)
--------------------------------------------------------------*/

.color-options-section .color-options-layout {
    gap: 24px;
}

.color-options-section .color-section-img {
    width: 70%;
    flex-shrink: 0;
}

.color-options-section .color-section-ctrl {
    width: 30%;
    flex-shrink: 0;
}

.color-options-section .color-preview-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.color-options-section .color-options-title {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--heading-color);
    font-size: 28px;
    margin-bottom: 8px;
    padding-bottom: 16px;
    position: relative;
    text-align: left;
}

.color-options-section .color-options-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

/* 色块按钮：纯色块，无文字（文字在下方 .color-swatch-name） */
.color-options-section .color-swatch-btn {
    width: 100%;
    aspect-ratio: 782 / 190;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    background: var(--swatch-color, var(--surface-color));
    border-color: var(--color-border-light);
}

.color-options-section .color-swatch-btn:hover {
    border-color: rgba(0,0,0,.15);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.color-options-section .color-swatch-btn.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.color-options-section .color-swatch-name {
    display: block;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--heading-color);
    text-align: center;
    margin-top: 6px;
    line-height: 1.3;
}

.color-options-section .color-options-note {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
}

/* 响应式：移动端堆叠 */
@media (max-width: 991.98px) {
    .color-options-section .color-section-img,
    .color-options-section .color-section-ctrl {
        width: 100%;
    }

    .color-options-section .color-section-img {
        margin-bottom: 24px;
    }

    .color-options-section .color-options-title {
        text-align: left;
        font-size: 24px;
    }

    /* 移动端横线保持左下角，换行时不会变成上下两根线 */
}

/*--------------------------------------------------------------
# Product Gallery Section (product-detail)
--------------------------------------------------------------*/

.productMainSwiper {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.productMainSwiper .swiper-slide {
    overflow: hidden;
}

.productMainSwiper img {
    width: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.productMainSwiper img:hover {
    transform: scale(1.03);
}

.productThumbSwiper {
    padding: 4px 0;
}

.productThumbSwiper .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 6px;
    overflow: hidden;
}

.productThumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.productThumbSwiper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.productMainSwiper .swiper-button-prev,
.productMainSwiper .swiper-button-next {
    color: var(--accent-color);
    background: rgba(255, 255, 255, .85);
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.productMainSwiper .swiper-button-prev::after,
.productMainSwiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

/* Product info */
.product-info h1 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--heading-color);
    font-size: 28px;
    margin-bottom: 12px;
}

.product-price {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.product-price small {
    font-size: 16px;
    font-weight: 600;
}

.product-meta-table dt {
    color: var(--heading-color);
    font-weight: 600;
    font-family: var(--heading-font);
}

.product-meta-table dt::after {
    content: ":";
    color: #999;
    margin-left: 4px;
}

.product-meta-table dd {
    color: var(--default-color);
    margin-bottom: 8px;
}

/* Product buttons */
.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-product-primary {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.btn-product-primary:hover {
    background: color-mix(in srgb, var(--accent-color), black 15%);
    color: #fff;
}

.btn-product-outline {
    background: transparent;
    color: var(--heading-color);
    border-color: var(--heading-color);
}

.btn-product-outline:hover {
    background: var(--heading-color);
    color: #fff;
}

/*--------------------------------------------------------------
# Specs Section (product-detail)
  规格配置：dt 标签 + dd 描述列表
  - HTML 结构：dl.spec-list > div.spec-row > dt + dd（每行一个 spec-row）
  - 分隔线加在 .spec-row 上，避免 dt/dd 高度不等时 border-bottom 错位
  - dt 固定 220px（解决 col-sm-4 对短标签过宽的问题）
--------------------------------------------------------------*/

.specs-section .spec-list {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.specs-section .spec-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: stretch;
    border-bottom: 1px solid #e0e0e0;
}

.specs-section .spec-row:last-child {
    border-bottom: 0;
}

.specs-section .spec-row dt,
.specs-section .spec-row dd {
    line-height: 1.7;
    padding: 8px 16px;
}

.specs-section .spec-row dt {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.specs-section .spec-row dd {
    font-size: 14px;
    color: var(--default-color);
    font-weight: 400;
    margin-bottom: 0;
}

/* 侧边配置图：白底圆角卡片 + 内边距，贴合 legacy spec-box 视觉 */
.specs-section .spec-box {
    background: var(--surface-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.specs-section .spec-box img {
    display: block;
    width: 100%;
    height: auto;
}

/* 移动端：dt/dd 堆叠，紧凑展示 */
@media (max-width: 575.98px) {
    .specs-section .spec-row {
        grid-template-columns: 1fr;
    }

    .specs-section .spec-row dt {
        padding: 16px 12px 4px;
    }

    .specs-section .spec-row dd {
        padding: 0 12px 12px;
    }
}

/*--------------------------------------------------------------
# Config Table Section (product-detail)
  配置清单：分组表格，首列序号 + 末列对勾
  提取自 _legacy_template/product-detail-v2.html L247-275
--------------------------------------------------------------*/

.config-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.config-table th,
.config-table td {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: middle;
}

.config-table thead th {
    background: #e9ecef;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.config-table thead th:first-child {
    width: 50px;
    text-align: center;
}

.config-table thead th:nth-child(2) {
    width: 220px;
}

.config-table thead th:last-child {
    width: 80px;
    text-align: center;
}

.config-table tbody td:first-child {
    text-align: center;
    font-weight: 600;
    color: var(--heading-color);
    background: #f8f9fa;
}

.config-table tbody td:last-child {
    text-align: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 16px;
}

.config-table .section-row td {
    background: #dee2e6 !important;
    font-family: var(--heading-font);
    font-weight: 700 !important;
    color: var(--heading-color) !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/*--------------------------------------------------------------
# Luban Certs & Services Section (product-detail)
  认证徽章 + 10 项无忧服务承诺
  提取自 _legacy_template/product-detail-v2.html L278-319
--------------------------------------------------------------*/

.cert-img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px;
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    padding: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-icon-circle:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.service-name {
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--heading-color);
    text-align: center;
    line-height: 1.3;
}

/*--------------------------------------------------------------
# FAQ Section — Accordion
  问答折叠面板，匹配 UpConstruction 设计语言（金 accent 色系）
  Bootstrap 5.3 Accordion 为基础，自定义 Q/A 标记 + 悬停微交互
--------------------------------------------------------------*/

/* Accordion 容器 */
.faq-section .accordion {
    max-width: 860px;
    margin: 0 auto;
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-radius: 12px;
    --bs-accordion-btn-padding-x: 24px;
    --bs-accordion-btn-padding-y: 20px;
    --bs-accordion-body-padding-x: 28px;
    --bs-accordion-body-padding-y: 20px;
    --bs-accordion-active-color: var(--accent-color);
    --bs-accordion-active-bg: rgba(254, 185, 0, 0.04);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23364d59'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23feb900'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* 单个 FAQ 条目 */
.faq-section .accordion-item {
    margin-bottom: 12px;
    background: var(--surface-color);
    border: 1px solid var(--color-border, #E2E8F0);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-section .accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
    box-shadow: 0 4px 24px rgba(254, 185, 0, 0.12);
}

/* Question 按钮 */
.faq-section .accordion-button {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 17px;
    color: var(--heading-color);
    background: transparent;
    border-radius: 12px;
    gap: 14px;
    transition: color 0.3s ease, background 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background: rgba(254, 185, 0, 0.04);
    box-shadow: none;
}

.faq-section .accordion-button::after {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-left: auto;
    transition: transform 0.35s ease;
}

/* Q 标记 */
.faq-q-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 16px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    letter-spacing: 0.02em;
    transition: background 0.3s ease, color 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed) .faq-q-marker {
    background: var(--accent-color);
    color: var(--contrast-color);
}

/* Question 文本 */
.faq-q-text {
    line-height: 1.45;
}

/* Answer 面板 */
.faq-section .accordion-body {
    display: flex;
    gap: 14px;
    padding-top: 6px;
    color: var(--default-color);
    font-family: var(--default-font);
    font-size: 15px;
    line-height: 1.75;
}

/* A 标记 */
.faq-a-marker {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 16px;
    background: color-mix(in srgb, var(--default-color), transparent 90%);
    color: var(--default-color);
    letter-spacing: 0.02em;
    line-height: 36px;
    opacity: 0.7;
}

/* Answer 内容 */
.faq-a-content {
    flex: 1;
    min-width: 0;
}

.faq-a-content p:last-child {
    margin-bottom: 0;
}

/* Empty 状态 */
.faq-empty {
    font-family: var(--default-font);
    font-size: 15px;
    color: var(--color-text-secondary, #6c757d);
}

/* 响应式 */
@media (max-width: 767.98px) {
    .faq-section .accordion {
        --bs-accordion-btn-padding-x: 18px;
        --bs-accordion-btn-padding-y: 16px;
        --bs-accordion-body-padding-x: 20px;
        --bs-accordion-body-padding-y: 16px;
    }

    .faq-section .accordion-button {
        font-size: 15px;
        gap: 10px;
    }

    .faq-q-marker,
    .faq-a-marker {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border-radius: 6px;
    }

    .faq-a-marker {
        line-height: 30px;
    }

    .faq-section .accordion-body {
        gap: 10px;
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Expo Carousel Section
  展会滚动轮播：单行最多 4 张，超过滚动；重置 .carousel-card 默认卡片外观
--------------------------------------------------------------*/

.expo-carousel .carousel-card.expo-card {
    flex: 0 0 calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.expo-carousel .expo-card-title {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 12px;
}

.expo-carousel .expo-card .img-card {
    overflow: hidden;
    border-radius: 8px;
}

.expo-carousel .expo-card .img-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.expo-carousel .expo-card .img-card:hover img {
    transform: scale(1.05);
}

/* 平板：2 张一行 */
@media (max-width: 991px) {
    .expo-carousel .carousel-card.expo-card {
        flex: 0 0 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

/* 手机：1 张一行 */
@media (max-width: 575px) {
    .expo-carousel .carousel-card.expo-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*--------------------------------------------------------------
# About Intro Section (index)
  关于我们简介：标题（单边下划线 accent 装饰）+ 介绍段落（左）+ 统计卡片（右）+ 视频 + CTA
  提取自 https://lubancabin.com/ 首页 data-id="d0360ab"
  布局与内容参考源站，配色与字体沿用 _legacy_template 设计系统（CSS 变量体系）
--------------------------------------------------------------*/

/* 上部分：左列 + 右列 */
.about-intro-top {
    margin-bottom: 40px;
}

/* 左列：标题 + 介绍段落 */
.about-intro-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题：单边下划线 accent 风格（参考 color-options / alt-services h3）
   使用 <div> 而非 <h2>，因为 i18n_rich 字段可能包含块级元素（如 <h2>/<p>），
   嵌套在 <h2> 内会导致 HTML 解析破裂，使 ::after 下划线位置异常 */
.about-intro-title:empty {
    display: none;
}

.about-intro-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 28px;
    color: var(--heading-color);
    margin-bottom: 20px;
    padding-bottom: 16px;
    position: relative;
    text-align: left;
}

.about-intro-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

/* 介绍段落 */
.about-intro-desc {
    font-family: var(--default-font);
    font-size: 16px;
    line-height: 1.8;
    color: var(--default-color);
}

.about-intro-desc p:last-child {
    margin-bottom: 0;
}

/* 右列：统计卡片 */
.about-intro-right {
    display: flex;
    align-items: center;
}

.about-intro-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.about-intro-stat-card {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 8px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-intro-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-intro-stat-value {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-color);
}

.about-intro-stat-label {
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
}

/* 视频 */
.about-intro-video {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.about-intro-video video {
    display: block;
    width: 100%;
}

/* CTA 按钮 */
.about-intro-cta {
    text-align: center;
}

.about-intro-btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--contrast-color);
    background: var(--accent-color);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.about-intro-btn:hover {
    background: color-mix(in srgb, var(--accent-color), black 15%);
    color: #fff;
    transform: translateY(-1px);
}

/* 响应式：移动端堆叠 */
@media (max-width: 991.98px) {
    .about-intro-left {
        margin-bottom: 32px;
    }

    .about-intro-title {
        font-size: 24px;
    }

    .about-intro-stat-value {
        font-size: 32px;
    }

    .about-intro-stat-card {
        padding: 22px 24px;
    }

    .about-intro-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .about-intro-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-intro-title {
        text-align: center;
    }

    .about-intro-stat-card {
        padding: 18px 20px;
    }
}

/*--------------------------------------------------------------
# Testimonials Section (index)
  客户评价轮播：标题 + Swiper 轮播（上中下结构：评价文案 → 客户信息 → 视频）
  布局：垂直排列、居中对齐，移动端紧凑
--------------------------------------------------------------*/

.testimonials-section .section-title {
    padding-bottom: 30px;
}

.testimonials-section .section-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper 容器 */
.testimonials-swiper {
    overflow: hidden;
    padding-bottom: 60px;
    position: relative;
}

.testimonials-swiper .swiper-wrapper {
    height: auto;
}

/* 单个 Slide：垂直居中排列，撑满 container */
.testimonial-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* ================================================================
   上：评价文案
   ================================================================ */
.testimonial-content {
    text-align: center;
    width: 100%;
}

.testimonial-text {
    font-family: var(--default-font);
    font-size: 16px;
    line-height: 1.9;
    color: var(--default-color);
    margin: 0;
    white-space: pre-line;
}

/* ================================================================
   中：客户信息（头像 + 姓名 + 地区）
   ================================================================ */
.testimonial-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.testimonial-name {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 17px;
    color: var(--heading-color);
    margin: 0;
}

.testimonial-location {
    font-family: var(--nav-font);
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ================================================================
   下：视频
   ================================================================ */
.testimonial-video {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    position: relative;
}

.testimonial-video-embed {
    width: 100%;
    height: 100%;
}

.testimonial-video-embed iframe,
.testimonial-video-embed video,
.testimonial-video-embed > div {
    width: 100% !important;
    height: 100% !important;
}

.testimonial-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Swiper 导航箭头 */
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-color);
    color: var(--heading-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 45%);
}

/* ================================================================
   响应式：平板
   ================================================================ */
@media (max-width: 991.98px) {
    .testimonial-slide {
        gap: 24px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .testimonials-swiper .swiper-button-prev,
    .testimonials-swiper .swiper-button-next {
        width: 38px;
        height: 38px;
    }
}

/* ================================================================
   响应式：手机
   ================================================================ */
@media (max-width: 767.98px) {
    .testimonials-section .section-title {
        padding-bottom: 24px;
    }

    .testimonial-slide {
        gap: 20px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .testimonial-avatar {
        width: 52px;
        height: 52px;
    }

    .testimonial-name {
        font-size: 15px;
    }

    .testimonials-swiper {
        padding-bottom: 50px;
    }

    .testimonials-swiper .swiper-button-prev,
    .testimonials-swiper .swiper-button-next {
        width: 34px;
        height: 34px;
    }

    .testimonials-swiper .swiper-button-prev::after,
    .testimonials-swiper .swiper-button-next::after {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Header 覆盖 — Logo 尺寸 & 菜单居中
--------------------------------------------------------------*/

.header .logo img {
    max-height: 48px;
}

@media (min-width: 1200px) {
    .navmenu {
        left: 50%;
    }
}

/*--------------------------------------------------------------
# Header Products Nav（分类+产品横向分组 · Refined Industrial）
- 桌面端(≥1200px)：CSS Grid 自适应 1-4 列，max-width 880px 封顶
- 移动端(<1200px)：复用 main.css 原生 click 展开，纵向堆叠
- 颜色全部用 --nav-dropdown-* token；选择器 4class 特异性压制 main.css 覆盖
- 外层 ul 仍受 main.css `.navmenu .dropdown:hover>ul` 控制显隐
--------------------------------------------------------------*/

/* 分类标题：深色加粗大写，hover 出橙色下划线
   4class 特异性 .header.navmenu.products-nav-dropdown.products-nav-cat 压制 main.css */
.header .navmenu .products-nav-dropdown .products-nav-cat {
    display: inline-block;
    font-family: var(--nav-font);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--nav-dropdown-color);
    padding: 0 0 10px;
    margin: 0 0 6px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.header .navmenu .products-nav-dropdown .products-nav-cat:hover {
    color: var(--nav-dropdown-hover-color);
    border-bottom-color: var(--nav-dropdown-hover-color);
}

/* 产品链接容器：纵向平铺 */
.header .navmenu .products-nav-dropdown .products-nav-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
}

/* 产品链接：二级灰，hover 橙色左移 */
.header .navmenu .products-nav-dropdown .products-nav-items a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary, #6c757d);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.header .navmenu .products-nav-dropdown .products-nav-items a:hover {
    color: var(--nav-dropdown-hover-color);
    padding-left: 8px;
}

/* 桌面端(≥1200px)：Grid 自适应横向铺开，最多4列
   auto-fit 折叠空轨道（分类少时无空白列）；
   minmax(180px,220px) 限定每列 180-220px，2列≈440px，4列≈880px；
   width:max-content 让容器收缩到刚好容纳所有列；
   顶部橙色装饰条(::before)强化品牌识别；
   选择器加 .dropdown 提升特异性到 0,4,0，压制 main.css `.navmenu .dropdown:hover>ul`(0,3,1) */
@media (min-width: 1200px) {
    .header .navmenu .dropdown .products-nav-dropdown {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
        gap: 0;
        align-items: start; /* 分类组顶对齐，产品少的列不垂直居中 */
        width: max-content;
        max-width: 880px;
        padding: 22px 4px 18px;
        margin: 0;
        border-radius: 8px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }

    /* 顶部品牌强调装饰线 */
    .header .navmenu .dropdown .products-nav-dropdown::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--accent-color, #feb900);
    }

    /* 分类组：列间竖线分隔，首列无左线 */
    .header .navmenu .dropdown .products-nav-dropdown .products-nav-group {
        display: flex;
        flex-direction: column;
        padding: 0 18px;
        border-left: 1px solid var(--color-border-light, #e9ecef);
    }

    .header .navmenu .dropdown .products-nav-dropdown .products-nav-group:first-child {
        border-left: 0;
    }
}

/* 移动端(<1200px)：纵向堆叠，分类标题显式深色防覆盖 */
@media (max-width: 1199px) {
    .header .navmenu .products-nav-dropdown .products-nav-cat {
        color: var(--nav-dropdown-color);
    }
    .header .navmenu .products-nav-dropdown .products-nav-items a {
        color: var(--nav-dropdown-color);
    }
}

/*--------------------------------------------------------------
# Video Carousel Section（视频滚动列表）
  横向滚动视频卡片，复用 scroll-carousel-wrapper 框架
--------------------------------------------------------------*/

.video-carousel-section {
    padding: 60px 0;
}

.video-carousel-section .section-title {
    padding-bottom: 20px;
}

.video-carousel-desc {
    text-align: center;
    color: var(--color-text-muted, #6c757d);
    font-size: 0.95rem;
    max-width: 720px;
    margin: -10px auto 30px;
    line-height: 1.6;
}

/* 视频卡片基础 */
.video-carousel .video-card {
    flex: 0 0 calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* 大卡片样式：3 列布局（play-center / gradient-overlay / hover-reveal） */
.video-carousel .card-style-play-center.video-card,
.video-carousel .card-style-gradient-overlay.video-card,
.video-carousel .card-style-hover-reveal.video-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
}

.video-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    background: var(--color-bg-light, #f1f5f9);
}

.video-card-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* 嵌入模式容器：包裹第三方 HTML（如 YouTube/Youku iframe），撑满 16:9 容器 */
.video-card-embed {
    position: absolute;
    inset: 0;
}

.video-card-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-play {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.video-card-caption {
    padding: 12px 4px 0;
}

.video-card-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--heading-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted, #6c757d);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- 样式1: 居中播放 (play-center) ---- */
.card-style-play-center .video-card-play {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-style-play-center:hover .video-card-play {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card-style-play-center:hover .video-card-poster {
    transform: scale(1.05);
}

/* ---- 样式2: 角落播放 (play-corner) ---- */
.card-style-play-corner .video-card-play {
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.card-style-play-corner:hover .video-card-play {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.card-style-play-corner:hover .video-card-poster {
    transform: scale(1.03);
}

/* ---- 样式3: 渐变叠加 (gradient-overlay) ---- */
.card-style-gradient-overlay.video-card {
    position: relative;
}

.card-style-gradient-overlay .video-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    transition: background 0.3s ease;
}

.card-style-gradient-overlay .video-card-play {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.card-style-gradient-overlay .video-card-caption {
    position: absolute;
    left: 14px;
    bottom: 16px;
    right: 60px;
    z-index: 1;
    padding: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-style-gradient-overlay .video-card-title {
    color: #fff;
    font-size: 0.9rem;
}

.card-style-gradient-overlay .video-card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.card-style-gradient-overlay:hover .video-card-media::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 45%);
}

.card-style-gradient-overlay:hover .video-card-play {
    transform: translateY(-2px);
}

.card-style-gradient-overlay:hover .video-card-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ---- 样式4: 悬停展开 (hover-reveal) ---- */
.card-style-hover-reveal .video-card-play {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
}

.card-style-hover-reveal .video-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 14px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-style-hover-reveal .video-card-title {
    color: #fff;
}

.card-style-hover-reveal .video-card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.card-style-hover-reveal:hover .video-card-caption {
    opacity: 1;
    transform: translateY(0);
}

.card-style-hover-reveal:hover .video-card-poster {
    transform: scale(1.05);
}

/* ---- 样式5: 精致框架 (framed-card) ---- */
.card-style-framed-card {
    background: var(--surface-color);
    border: 1px solid var(--color-border-light, #e2e8f0);
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden !important;
}

.card-style-framed-card .video-card-media {
    border-radius: 0;
}

.card-style-framed-card .video-card-play {
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/*--------------------------------------------------------------
# Solutions List Section (solutions-list)
# 编辑式工业风:左右交替布局 + 巨幅描边编号 + 横线分隔 + 四角装饰
--------------------------------------------------------------*/

/* ===== 容器与分隔节奏 ===== */
.solutions-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.solutions-list-item {
    display: flex;
    align-items: stretch;
    gap: 64px;
    position: relative;
    padding-top: 72px;
    margin-top: 72px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transition: border-color 0.4s ease;
}

.solutions-list-item:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

/* 偶数项(第2、4、6...项)图片在右,内容在左 */
.solutions-list-item:nth-child(even) {
    flex-direction: row-reverse;
}

.solutions-list-item:hover {
    border-top-color: var(--accent-color);
}

/* ===== 图片区域 ===== */
.solutions-list-item__media {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    border-radius: 6px;
    overflow: visible;
}

.solutions-list-item__img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 四角装饰线 — 编辑式氛围 */
.solutions-list-item__img-wrapper::before,
.solutions-list-item__img-wrapper::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--accent-color);
    z-index: 3;
    pointer-events: none;
    transition: width 0.4s ease, height 0.4s ease;
}

.solutions-list-item__img-wrapper::before {
    top: 14px;
    left: 14px;
    border-right: none;
    border-bottom: none;
}

.solutions-list-item__img-wrapper::after {
    bottom: 14px;
    right: 14px;
    border-left: none;
    border-top: none;
}

.solutions-list-item:hover .solutions-list-item__img-wrapper {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.solutions-list-item:hover .solutions-list-item__img-wrapper::before,
.solutions-list-item:hover .solutions-list-item__img-wrapper::after {
    width: 30px;
    height: 30px;
}

.solutions-list-item__img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solutions-list-item__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.solutions-list-item:hover .solutions-list-item__img {
    transform: scale(1.05);
}

.solutions-list-item:hover .solutions-list-item__img-overlay {
    opacity: 1;
}

/* ===== 巨幅描边编号(从图片溢出) ===== */
.solutions-list-item__index {
    position: absolute;
    top: -36px;
    left: -28px;
    font-family: var(--heading-font);
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--heading-color);
    pointer-events: none;
    z-index: 4;
    letter-spacing: -0.04em;
    transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
}

.solutions-list-item:nth-child(even) .solutions-list-item__index {
    left: auto;
    right: -28px;
}

.solutions-list-item:hover .solutions-list-item__index {
    color: var(--accent-color);
    -webkit-text-stroke-color: var(--accent-color);
}

/* ===== 内容区域 ===== */
.solutions-list-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 32px 0;
}

/* 国家标签:圆点 + 大写字母 */
.solutions-list-item__country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    padding: 0;
    border: none;
    border-radius: 0;
}

.solutions-list-item__country::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

.solutions-list-item__title {
    font-size: 36px;
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.015em;
    transition: color 0.3s ease;
}

.solutions-list-item:hover .solutions-list-item__title {
    color: var(--accent-color);
}

.solutions-list-item__desc {
    font-size: 15px;
    color: var(--default-color);
    line-height: 1.8;
    margin: 0;
    max-width: 480px;
}

.solutions-list-item__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--heading-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start;
    padding: 8px 0;
    border: none;
    border-bottom: 1.5px solid var(--heading-color);
    transition: gap 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                color 0.3s ease,
                border-color 0.3s ease;
}

.solutions-list-item__link-arrow {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solutions-list-item__link:hover {
    gap: 16px;
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.solutions-list-item__link:hover .solutions-list-item__link-arrow {
    transform: translateX(6px);
}

/* ===== 响应式:平板垂直布局 ===== */
@media (max-width: 991px) {
    .solutions-list-item,
    .solutions-list-item:nth-child(even) {
        flex-direction: column;
        gap: 32px;
        padding-top: 56px;
        margin-top: 56px;
    }

    .solutions-list-item__media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .solutions-list-item__img {
        min-height: 320px;
        height: 320px;
    }

    .solutions-list-item__index {
        font-size: 100px;
        top: -24px;
        left: -16px;
    }

    .solutions-list-item:nth-child(even) .solutions-list-item__index {
        left: -16px;
        right: auto;
    }

    .solutions-list-item__content {
        padding: 12px 0;
        gap: 14px;
    }

    .solutions-list-item__title {
        font-size: 28px;
    }

    .solutions-list-item__desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .solutions-list-item {
        gap: 24px;
        padding-top: 44px;
        margin-top: 44px;
    }

    .solutions-list-item__img {
        min-height: 240px;
        height: 240px;
    }

    .solutions-list-item__index {
        font-size: 72px;
        top: -16px;
        left: -8px;
    }

    .solutions-list-item:nth-child(even) .solutions-list-item__index {
        left: -8px;
        right: auto;
    }

    .solutions-list-item__title {
        font-size: 22px;
    }

    .solutions-list-item__desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .solutions-list-item__link {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    .solutions-list-item__img-wrapper::before,
    .solutions-list-item__img-wrapper::after {
        width: 16px;
        height: 16px;
    }
}

/* ===== 深色背景适配 ===== */
.dark-background .solutions-list-item {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-background .solutions-list-item:hover {
    border-top-color: var(--accent-color);
}

.dark-background .solutions-list-item__index {
    -webkit-text-stroke-color: var(--heading-color);
}

.card-style-framed-card .video-card-caption {
    padding: 10px 14px 14px;
    text-align: center;
}

.card-style-framed-card .video-card-title {
    font-size: 0.88rem;
}

.card-style-framed-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
}

.card-style-framed-card:hover .video-card-poster {
    transform: scale(1.03);
}

/*--------------------------------------------------------------
# Project Showcase Section（项目案例展示）
   提取自 https://lubancabin.com/project/ data-id="18966c5" + "5ae7e23"
   设计方向：编辑式工业风 — container 级渐变遮罩轮播 + 大数字编号场景卡片 + 立体 CTA 卡片
   配色：accent-color 高亮关键元素，黑/灰构建层次，橙色点缀视觉焦点
--------------------------------------------------------------*/

/* ===== 图片轮播（与内容同宽，受 container 约束） ===== */
.solutions-showcase-carousel {
    width: 100%;
    overflow: hidden;
}

.solutions-showcase-swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.solutions-showcase-slide-img-wrapper {
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    position: relative;
    background: var(--heading-color);
}

.solutions-showcase-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.solutions-showcase-swiper .swiper-slide-active .solutions-showcase-slide-img {
    transform: scale(1.08);
}

/* 渐变遮罩：底部深色渐变，增强纵深感 */
.solutions-showcase-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.15) 75%,
            rgba(0, 0, 0, 0.45) 100%
        );
    pointer-events: none;
    z-index: 1;
}

/* 自定义导航箭头 — 圆形半透明白底 */
.solutions-showcase-nav-prev,
.solutions-showcase-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--heading-color);
    font-size: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.solutions-showcase-carousel:hover .solutions-showcase-nav-prev,
.solutions-showcase-carousel:hover .solutions-showcase-nav-next {
    opacity: 1;
}

.solutions-showcase-nav-prev { left: 24px; }
.solutions-showcase-nav-next { right: 24px; }

.solutions-showcase-nav-prev:hover,
.solutions-showcase-nav-next:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 6px 24px color-mix(in srgb, var(--accent-color), transparent 55%);
    transform: translateY(-50%) scale(1.05);
}

/* Pagination — 长条形胶囊 */
.solutions-showcase-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.solutions-showcase-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
}

.solutions-showcase-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 32px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* ===== 头部：分隔线 + 标题 + 装饰线 ===== */
.solutions-showcase-header {
    padding-top: 60px;
    margin-bottom: 48px;
}

.solutions-showcase-header-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solutions-showcase-divider {
    width: 56px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.solutions-showcase-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 34px;
    line-height: 1.3;
    color: var(--heading-color);
    margin: 0;
    letter-spacing: -0.02em;
}

.solutions-showcase-title strong,
.solutions-showcase-title b {
    color: var(--accent-color);
}

.solutions-showcase-header-deco {
    margin-top: 28px;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--heading-color), transparent 90%) 0%,
            color-mix(in srgb, var(--heading-color), transparent 90%) 30%,
            var(--accent-color) 50%,
            color-mix(in srgb, var(--heading-color), transparent 90%) 70%,
            color-mix(in srgb, var(--heading-color), transparent 90%) 100%
        );
}

/* ===== 内容区：场景列表（上）+ CTA（下）===== */
.solutions-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ===== 场景列表（2列网格）===== */
.solutions-showcase-scenario-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.solutions-showcase-scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 8px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.solutions-showcase-scenario-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--accent-color), transparent 96%) 0%,
            transparent 60%
        );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.solutions-showcase-scenario-item:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
    border-left: 3px solid var(--accent-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.solutions-showcase-scenario-item:hover::before {
    opacity: 1;
}

/* 大数字编号 */
.solutions-showcase-scenario-num {
    flex-shrink: 0;
    width: 26px;
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    text-align: center;
    transition: color 0.35s ease;
    position: relative;
    z-index: 1;
}

.solutions-showcase-scenario-item:hover .solutions-showcase-scenario-num {
    color: var(--accent-color);
}

/* 文本体 */
.solutions-showcase-scenario-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.solutions-showcase-scenario-text {
    font-family: var(--default-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--heading-color);
    font-weight: 500;
}

/* ===== 联系 CTA — 简约风格 ===== */
.solutions-showcase-cta {
    text-align: left;
    padding-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.solutions-showcase-cta-text {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--heading-color);
    margin: 0 0 20px;
}

.solutions-showcase-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--nav-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--heading-color);
    background: var(--accent-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solutions-showcase-cta-btn:hover {
    background: color-mix(in srgb, var(--accent-color), black 15%);
    color: var(--heading-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.solutions-showcase-cta-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.solutions-showcase-cta-btn:hover i {
    transform: translateX(4px);
}

/* ===== 响应式：平板 ===== */
@media (max-width: 991px) {
    .solutions-showcase-slide-img-wrapper {
        aspect-ratio: 16 / 9;
    }

    .solutions-showcase-nav-prev,
    .solutions-showcase-nav-next {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .solutions-showcase-nav-prev { left: 12px; }
    .solutions-showcase-nav-next { right: 12px; }

    .solutions-showcase-pagination {
        bottom: 14px;
    }

    .solutions-showcase-header {
        padding-top: 40px;
        margin-bottom: 36px;
    }

    .solutions-showcase-title {
        font-size: 26px;
    }

    .solutions-showcase-content {
        gap: 36px;
    }

    .solutions-showcase-scenario-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .solutions-showcase-scenario-item {
        padding: 16px 18px;
        gap: 12px;
    }

    .solutions-showcase-scenario-num {
        font-size: 20px;
        width: 22px;
    }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
    .solutions-showcase-slide-img-wrapper {
        aspect-ratio: 4 / 3;
    }

    .solutions-showcase-nav-prev,
    .solutions-showcase-nav-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .solutions-showcase-nav-prev { left: 8px; }
    .solutions-showcase-nav-next { right: 8px; }

    .solutions-showcase-header {
        padding-top: 32px;
        margin-bottom: 28px;
    }

    .solutions-showcase-divider {
        width: 44px;
        height: 3px;
    }

    .solutions-showcase-title {
        font-size: 22px;
    }

    .solutions-showcase-header-deco {
        margin-top: 22px;
    }

    .solutions-showcase-scenario-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .solutions-showcase-scenario-item {
        padding: 14px 16px;
        gap: 10px;
    }

    .solutions-showcase-scenario-num {
        font-size: 18px;
        width: 20px;
    }

    .solutions-showcase-scenario-text {
        font-size: 13px;
    }

    .solutions-showcase-cta-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .solutions-showcase-cta-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ---- 响应式 ---- */
@media (max-width: 991px) {
    .video-carousel .video-card {
        flex: 0 0 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }

    /* 大卡片在中等屏幕也降为 2 列 */
    .video-carousel .card-style-play-center.video-card,
    .video-carousel .card-style-gradient-overlay.video-card,
    .video-carousel .card-style-hover-reveal.video-card {
        flex: 0 0 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 575px) {
    .video-carousel-section {
        padding: 40px 0;
    }

    .video-carousel .video-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .video-carousel .card-style-play-center.video-card,
    .video-carousel .card-style-gradient-overlay.video-card,
    .video-carousel .card-style-hover-reveal.video-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .video-carousel-desc {
        font-size: 0.88rem;
        margin: -8px auto 24px;
    }
}

/*--------------------------------------------------------------
# Text Image Section（图文混排 — 通用）
   左文案右图片（支持互换）+ 毛玻璃标签组
   参考：premium-lodging-in-brazil 页 data-id="702d8d7" 结构 +
   data-id="a68d86b" 标签样式
--------------------------------------------------------------*/
.text-image-section {
    background-color: var(--background-color);
}

.text-image-row {
    align-items: center;
}

/* 左右互换：用 Bootstrap order 类交换 */
.text-image-row--reversed .text-image-text-col {
    order: 2;
}
.text-image-row--reversed .text-image-media-col {
    order: 1;
}

/* ===== 标题 ===== */
.text-image-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    color: var(--heading-color);
    margin: 0 0 16px;
}

/* ===== 描述 ===== */
.text-image-desc {
    font-family: var(--default-font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--default-color);
    margin: 0 0 24px;
}

/* ===== 标签组（毛玻璃胶囊）— 参考 a68d86b ===== */
.text-image-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.text-image-tag {
    display: inline-block;
    padding: 8px 20px;
    font-family: var(--default-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
    background: rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.text-image-tag:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

/* 深色背景下的标签 */
.dark-background .text-image-tag {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.dark-background .text-image-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
}

/* ===== 图片区 ===== */
.text-image-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.text-image-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.text-image-img-wrapper:hover .text-image-img {
    transform: scale(1.04);
}

/* ===== 响应式：平板 ===== */
@media (max-width: 991px) {
    .text-image-title {
        font-size: 26px;
    }

    .text-image-desc {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .text-image-row--reversed .text-image-text-col {
        order: 0;
    }
    .text-image-row--reversed .text-image-media-col {
        order: 0;
    }

    .text-image-media-col {
        margin-top: 32px;
    }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
    .text-image-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .text-image-desc {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .text-image-tags {
        gap: 8px;
    }

    .text-image-tag {
        padding: 6px 16px;
        font-size: 13px;
    }

    .text-image-media-col {
        margin-top: 24px;
    }

    .text-image-img {
        aspect-ratio: 16 / 9;
    }
}

/*--------------------------------------------------------------
# Case Features Section（案例亮点）
--------------------------------------------------------------*/
.case-features-section .case-features-row {
    row-gap: 30px;
}

/* 滚动模式（> 3 卡片） */
.case-features-section .case-features-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.case-features-section .case-features-scroll::-webkit-scrollbar {
    display: none;
}

.case-features-section .case-features-col--scroll {
    flex: 0 0 320px;
    scroll-snap-align: start;
}

.case-features-section .case-features-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-features-section .case-features-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-features-section .case-features-img-wrapper {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.case-features-section .case-features-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-features-section .case-features-card:hover .case-features-img {
    transform: scale(1.05);
}

.case-features-section .case-features-card-body {
    padding: 24px;
}

.case-features-section .case-features-card-title {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.case-features-section .case-features-card-desc {
    color: var(--default-color);
    font-family: var(--default-font);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
    .case-features-section .case-features-row {
        row-gap: 20px;
    }

    .case-features-section .case-features-card-body {
        padding: 20px;
    }

    .case-features-section .case-features-card-title {
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
# Factory Stats Section（工厂数据统计）
   提取自 https://lubancabin.com/factory/ data-id="339f800"
   两列布局：每列一张图 + 下方两个数据指标卡片
--------------------------------------------------------------*/

.factory-stats-section .factory-stats-columns {
    row-gap: 32px;
}

.factory-stats-section .factory-stats-column {
    display: flex;
    flex-direction: column;
}

/* 标题 */
.factory-stats-section .factory-stats-heading {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* 图片 */
.factory-stats-section .factory-stats-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.factory-stats-section .factory-stats-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.factory-stats-section .factory-stats-img-wrapper:hover .factory-stats-img {
    transform: scale(1.04);
}

/* 卡片行：每列内两卡片并排 */
.factory-stats-section .factory-stats-cards {
    row-gap: 20px;
}

.factory-stats-section .factory-stats-card {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    height: 100%;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.factory-stats-section .factory-stats-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.factory-stats-section .factory-stats-value {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.factory-stats-section .factory-stats-title {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* 响应式：平板 */
@media (max-width: 991.98px) {
    .factory-stats-section .factory-stats-heading {
        font-size: 24px;
        margin-bottom: 32px;
    }
    .factory-stats-section .factory-stats-columns {
        row-gap: 28px;
    }

    .factory-stats-section .factory-stats-img-wrapper {
        margin-bottom: 16px;
    }

    .factory-stats-section .factory-stats-value {
        font-size: 30px;
    }

    .factory-stats-section .factory-stats-card {
        padding: 22px 14px;
    }
}

/* 响应式：手机 */
@media (max-width: 767.98px) {
    .factory-stats-section .factory-stats-heading {
        font-size: 22px;
        margin-bottom: 24px;
    }
    .factory-stats-section .factory-stats-columns {
        row-gap: 24px;
    }

    .factory-stats-section .factory-stats-img-wrapper {
        margin-bottom: 14px;
    }

    .factory-stats-section .factory-stats-value {
        font-size: 26px;
    }

    .factory-stats-section .factory-stats-title {
        font-size: 13px;
    }

    .factory-stats-section .factory-stats-card {
        padding: 18px 12px;
    }
}

/*--------------------------------------------------------------
# Image Grid Lightbox（image-grid section）
   点击放大 + 前后切换，纯 CSS + JS 实现，无外部依赖
--------------------------------------------------------------*/

.image-grid-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.image-grid-lightbox.active {
    display: flex;
}

.image-grid-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.image-grid-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-grid-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
}

.image-grid-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.image-grid-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.image-grid-lightbox-prev,
.image-grid-lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, transform 0.2s ease;
}

.image-grid-lightbox-prev {
    left: 24px;
}

.image-grid-lightbox-next {
    right: 24px;
}

.image-grid-lightbox-prev:hover,
.image-grid-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.image-grid-lightbox-prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.image-grid-lightbox-next:hover {
    transform: translateY(-50%) translateX(2px);
}

.image-grid-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: var(--default-font);
    letter-spacing: 0.04em;
}

/* 响应式：移动端缩小按钮 */
@media (max-width: 768px) {
    .image-grid-lightbox-close {
        top: 10px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .image-grid-lightbox-prev,
    .image-grid-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .image-grid-lightbox-prev {
        left: 10px;
    }

    .image-grid-lightbox-next {
        right: 10px;
    }

    .image-grid-lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }

    .image-grid-lightbox-img {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/*--------------------------------------------------------------
# Video Button Section（视频播放按钮）
   单个视频按钮，GLightbox 灯箱播放。高亮用 var(--accent-color)
--------------------------------------------------------------*/

.video-button-section .video-button-title {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 16px;
}

.video-button-section .video-button-wrap {
    display: flex;
}

.video-button-section .video-button-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 6px;
    font-family: var(--default-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent-color);
    color: var(--contrast-color);
    border: 1px solid var(--accent-color);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.video-button-section .video-button-btn:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.video-button-section .video-button-btn i {
    font-size: 14px;
}

/*--------------------------------------------------------------
# Image to Image Section（图片到图片流程）
   左图 → 箭头 → 右图，手机端堆叠纵向
--------------------------------------------------------------*/

.image-to-image-section .image-to-image-title {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.image-to-image-section .image-to-image-flow {
    display: flex;
    align-items: center;
    gap: 20px;
}

.image-to-image-section .image-to-image-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.image-to-image-section .image-to-image-el {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.image-to-image-section .image-to-image-img:hover .image-to-image-el {
    transform: scale(1.03);
}

.image-to-image-section .image-to-image-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--accent-color);
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .image-to-image-section .image-to-image-flow {
        flex-direction: column;
        gap: 12px;
    }

    .image-to-image-section .image-to-image-arrow {
        transform: rotate(90deg);
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
# Video Grid Section（视频网格）
   参考 image-grid 网格布局，每项 video_block（文件/嵌入）
--------------------------------------------------------------*/

.video-grid-section .video-grid-item {
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.video-grid-section .video-grid-el {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #000;
}

.video-grid-section .video-grid-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-grid-section .video-grid-embed :where(iframe, video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*--------------------------------------------------------------
# Contact Section 消息提示优化（loading / success / error）
   作用域：.contact-section .php-email-form
   增强 main.css 中的 .error-message / .sent-message / .loading
   JS 通过 inline display:block 显示，此处不用 display:none !important
   阴影统一用 color-mix(in srgb, var(--default-color), transparent N%) 避免硬编码
--------------------------------------------------------------*/

/* 淡入上浮动画：opacity 0→1 + translateY 8px→0 */
@keyframes contact-msg-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用：圆角 + 轻阴影 + 淡入动画（display 切换时动画自动重播） */
.contact-section .php-email-form .loading,
.contact-section .php-email-form .error-message,
.contact-section .php-email-form .sent-message {
    border-radius: 8px;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--default-color), transparent 92%);
    animation: contact-msg-fade-in-up 0.3s ease-out both;
}

/* loading：半透明黄背景 + heading 文字色（spinner 已由 main.css ::before 提供，不重复加图标） */
.contact-section .php-email-form .loading {
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--heading-color);
    font-weight: 500;
}

/* error：左红边框 + 警告图标 */
.contact-section .php-email-form .error-message {
    position: relative;
    border-left: 4px solid var(--color-error);
    padding-left: 44px;
    text-align: left;
}

.contact-section .php-email-form .error-message::before {
    content: "\26A0";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: var(--contrast-color);
}

/* sent：左绿边框 + 成功图标（原 center 改为 left，与图标对齐更协调） */
.contact-section .php-email-form .sent-message {
    position: relative;
    border-left: 4px solid var(--color-success);
    padding-left: 44px;
    text-align: left;
}

.contact-section .php-email-form .sent-message::before {
    content: "\2713";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: var(--contrast-color);
}

/* submit 按钮：hover 上浮 + 阴影增强，transition 0.2s */
.contact-section .php-email-form button[type="submit"],
.contact-section .php-email-form input[type="submit"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-section .php-email-form button[type="submit"]:hover,
.contact-section .php-email-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--default-color), transparent 88%);
}

/* 响应式：移动端缩小 padding 与字号 */
@media (max-width: 575px) {
    .contact-section .php-email-form .loading,
    .contact-section .php-email-form .error-message,
    .contact-section .php-email-form .sent-message {
        padding: 12px;
        font-size: 14px;
    }

    /* 带图标的消息框保留图标位 */
    .contact-section .php-email-form .error-message,
    .contact-section .php-email-form .sent-message {
        padding-left: 40px;
    }

    .contact-section .php-email-form .error-message::before,
    .contact-section .php-email-form .sent-message::before {
        left: 11px;
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
# Contact Section 字段级验证错误提示（.field-error）
   作用域：.contact-section .php-email-form
   JS 通过 inline display:block 显示，此处默认 display:none
   与顶部 .error-message 区分：字段级提示更轻量，紧贴输入框下方
--------------------------------------------------------------*/

.contact-section .php-email-form .field-error {
    display: none;
    color: var(--color-error);
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    text-align: left;
    border-left: 2px solid var(--color-error);
    padding-left: 8px;
    animation: contact-msg-fade-in-up 0.25s ease-out both;
}

/* 输入框获焦时隐藏同字段的错误提示（用户正在修正） */
.contact-section .php-email-form .form-control:focus ~ .field-error {
    display: none;
}

/*--------------------------------------------------------------
# Icon Features Section（图标特征卡片）
   提取自 https://lubancabin.com/partner-aluxria/ data-id="89644fd"
   多列图标卡片网格：每列含图标、标题和描述
--------------------------------------------------------------*/

/* 标题区 */
.icon-features-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.icon-features-section .section-title h2 {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.icon-features-section .icon-features-subtitle {
    color: var(--default-color);
    font-family: var(--default-font);
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

/* 卡片网格 */
.icon-features-section .icon-features-row {
    row-gap: 30px;
}

/* 滚动模式（> 3 卡片） */
.icon-features-section .icon-features-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.icon-features-section .icon-features-scroll::-webkit-scrollbar {
    display: none;
}

.icon-features-section .icon-features-col--scroll {
    flex: 0 0 320px;
    min-width: 0;
    scroll-snap-align: start;
}

/* 卡片 */
.icon-features-section .icon-features-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-features-section .icon-features-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 图标圆形容器 */
.icon-features-section .icon-features-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--accent-color);
    font-size: 30px;
    transition: background 0.3s ease, color 0.3s ease;
}

.icon-features-section .icon-features-icon i {
    line-height: 1;
}

.icon-features-section .icon-features-card:hover .icon-features-icon {
    background: var(--accent-color);
    color: var(--contrast-color);
}

/* 卡片正文 */
.icon-features-section .icon-features-card-body {
    text-align: center;
}

.icon-features-section .icon-features-card-title {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.icon-features-section .icon-features-card-desc {
    color: var(--default-color);
    font-family: var(--default-font);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ===== 响应式：平板 ===== */
@media (max-width: 991.98px) {
    .icon-features-section .section-title {
        margin-bottom: 36px;
    }

    .icon-features-section .section-title h2 {
        font-size: 1.75rem;
    }

    .icon-features-section .icon-features-row {
        row-gap: 24px;
    }

    .icon-features-section .icon-features-card {
        padding: 30px 24px;
    }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 767.98px) {
    .icon-features-section .section-title {
        margin-bottom: 28px;
    }

    .icon-features-section .section-title h2 {
        font-size: 1.5rem;
    }

    .icon-features-section .icon-features-row {
        row-gap: 20px;
    }

    .icon-features-section .icon-features-card {
        padding: 26px 20px;
    }

    .icon-features-section .icon-features-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
        margin-bottom: 18px;
    }

    .icon-features-section .icon-features-card-title {
        font-size: 16px;
    }
}

