@charset "utf-8";
/* CSS Document */
/* style.css 完整内容（从HTML内联样式复制） */
.content-auto { content-visibility: auto; }
.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hover-lift { transition: all 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.section-padding { padding-top: clamp(2rem, 6vh, 4rem); padding-bottom: clamp(2rem, 6vh, 4rem); }
.golden-divider { width: 60px; height: 2px; background-color: theme('colors.secondary'); margin: 1.5rem auto; }
.product-tab.active { background-color: theme('colors.primary'); color: white; }
.faq-item { border-bottom: 1px solid theme('colors.light'); padding: 1rem 0; }
.faq-question { font-weight: 600; color: theme('colors.dark'); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding-top: 0.8rem; color: theme('colors.dark/70'); display: none; }
.faq-answer.active { display: block; }
.advantage-tab.active { background-color: theme('colors.primary'); color: white; }
.advantage-content { display: none; }
.advantage-content.active { display: block; }
.fixed-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.95); }
.fixed-footer-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: white; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); }
.main-content { padding-top: 80px; padding-bottom: 120px; }
.product-scroll { display: flex; overflow-x: auto; gap: 2rem; padding-bottom: 1rem; scroll-smooth: auto; }
.product-scroll::-webkit-scrollbar { height: 4px; }
.product-scroll::-webkit-scrollbar-thumb { background: theme('colors.primary/50'); border-radius: 2px; }


  video {
    width: 100%;
    height: auto;
    all: initial; /* 重置所有样式 */
  }
  /* 强制显示播放按钮和进度条（针对Chrome/Safari） */
  video::-webkit-media-controls {
    display: block !important;
  }
  video::-webkit-media-controls-timeline {
    display: block !important; /* 进度条 */
  }
  video::-webkit-media-controls-play-button {
    display: block !important; /* 播放按钮 */
  }




/* 图片懒加载优化，加速首屏加载 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* 压缩CSS，减少冗余 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 移动端按钮点击区域优化 */
@media (max-width: 768px) {
  button, a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}




/* 内容自动可见性优化（提升性能） */
.content-auto {
    content-visibility: auto;
}

/* 文字阴影效果 */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 悬浮上移+阴影效果（交互优化） */
.hover-lift {
    transition: all 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 区块内边距（响应式适配） */
.section-padding {
    padding-top: clamp(2rem, 6vh, 4rem);
    padding-bottom: clamp(2rem, 6vh, 4rem);
}

/* 金色分隔线（装饰元素）- 替换原 theme('colors.secondary') 为实际色值 #FFD166 */
.golden-divider {
    width: 60px;
    height: 2px;
    background-color: #FFD166;
    margin: 1.5rem auto;
}

/* 产品标签激活状态 - 替换原 theme('colors.primary') 为实际色值 #E64340 */
.product-tab.active {
    background-color: #E64340;
    color: white;
}

/* FAQ 样式组 - 替换原 theme('colors.light')/theme('colors.dark') 为实际色值 */
.faq-item {
    border-bottom: 1px solid #faf3f0;
    padding: 1rem 0;
}
.faq-question {
    font-weight: 600;
    color: #2b2a29;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding-top: 0.8rem;
    color: rgba(43, 42, 41, 0.7);
    display: none;
}
.faq-answer.active {
    display: block;
}

/* 优势标签激活状态 - 拆解原 @apply 为普通 CSS */
.advantage-tab.active {
    background-color: #E64340;
    color: white;
}
.advantage-content {
    display: none;
}
.advantage-content.active {
    display: block;
}

/* 固定框架样式组 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
}
.fixed-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}
.main-content {
    padding-top: 80px;
    padding-bottom: 120px; /* 适配固定头脚的内容内边距 */
}

/* 产品横向滚动容器 */
.product-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 1rem;
    scroll-smooth: auto;
}
.product-scroll::-webkit-scrollbar {
    height: 4px; /* 滚动条高度 */
}
/* 滚动条滑块样式 - 替换原 theme('colors.primary/50') 为实际色值 rgba(230, 67, 64, 0.5) */
.product-scroll::-webkit-scrollbar-thumb {
    background: rgba(230, 67, 64, 0.5);
    border-radius: 2px;
}



/* 在线客服模块样式 - 完全匹配你的需求 */
.online-service {
    position: relative;
    z-index: 50;
}
/* PC端客服样式 */
.service-pc .service-item {
    transition: all 0.3s ease;
}
.service-pc .service-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.service-pc .service-wechat-qrcode {
    transition: all 0.3s ease;
}
.service-pc .service-item:hover .service-wechat-qrcode {
    opacity: 1;
    visibility: visible;
    right: 18px; /* 微调位置，确保不遮挡图标 */
}
/* 强制显示申请样品图片图标 */
.sample-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain;
}
/* 移动端客服样式 */
.service-mobile {
    border-top: 1px solid #f0f0f0;
}
.service-mobile-item {
    transition: color 0.3s ease;
}
.service-mobile-item:hover {
    opacity: 0.9;
}
.service-mobile-qrcode.active {
    opacity: 1;
    visibility: visible;
}






      .faq-box { margin-bottom: 8px; }
      .faq-ask { 
        background: #faf3f0; 
        padding: 12px 16px; 
        border-radius: 4px; 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        cursor: pointer; 
        font-weight: 500; 
        color: #2b2a29;
      }
      .faq-ask:hover { background: #f5ebe6; }
      .faq-ans { 
        padding: 0 16px; 
        height: 0; 
        overflow: hidden; 
        transition: height 0.3s ease; 
        background: white; 
      }
      .faq-ans.show { 
        height: auto; 
        padding: 16px; 
        border: 1px solid #faf3f0; 
        border-top: none; 
        border-radius: 0 0 4px 4px;
        line-height: 1.8;
        color: #444;
      }
      .faq-icon { 
        color: #E64340; 
        transition: transform 0.3s; 
      }
      .faq-icon.show { transform: rotate(45deg); }


