/* ===== Torvexus Custom Styles ===== */

/* Logo 尺寸 */
.navbar-brand img,
.inspire-responsive-menu .logo img {
    max-height: 25px;
    width: auto;
}

/* 顶部社交图标间距 */
.inspire-nav-top-bar .top-social {
    margin-right: 20px;
}
.inspire-nav-top-bar .top-social li {
    margin-left: 12px;
}
.inspire-nav-top-bar .top-social li a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}

/* 子菜单箭头靠右 */
.inspire-nav .navbar .navbar-nav .nav-item .dropdown-menu li {
    border-bottom: none;
}
.inspire-nav .navbar .navbar-nav .nav-item .dropdown-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inspire-nav .navbar .navbar-nav .nav-item .dropdown-menu li a i.fa-chevron-right {
    margin-left: auto;
    padding-left: 15px;
    font-size: 9px;
}

/* 语言切换器下拉 */
.lang-switcher .dropdown-menu {
    min-width: 150px;
    padding: 6px 0;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.lang-switcher .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}
.lang-switcher .dropdown-item:hover {
    background-color: #f0f4ff;
    color: #4A7BF7;
}

/* 产品卡片 - 工业扁平风格 */
.product-card {
    background: #fff;
    border: 1px solid #e0e4ea;
    border-top: 3px solid #1a3a5c;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 24px;
    transition: border-top-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    border-top-color: #4A7BF7;
    box-shadow: 0 4px 16px rgba(26,58,92,0.12);
    transform: none;
}
.product-card .product-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f4f6f8;
}
.product-card .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img {
    transform: scale(1.04);
}
.product-card .product-body {
    padding: 16px 18px 14px;
    border-top: 1px solid #eef0f3;
}
.product-card .product-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}
.product-card .product-body h3 a {
    color: #1a2a3a;
    text-decoration: none;
    transition: color 0.2s;
}
.product-card .product-body h3 a:hover {
    color: #4A7BF7;
}
.product-card .product-body p {
    color: #777;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.product-card .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
}
.product-card .product-cat-tag {
    font-size: 10px;
    color: #999;
    background: #f4f6f8;
    padding: 2px 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card .product-link {
    font-size: 12px;
    color: #4A7BF7;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-card .product-link:hover { color: #1a3a5c; }
@media (max-width: 576px) {
    .product-card .product-thumb { height: 160px; }
}

/* 产品价格 */
.price-current { font-size: 15px; font-weight: 700; color: #c0392b; }
.price-original { font-size: 12px; color: #aaa; text-decoration: line-through; margin-left: 6px; }

/* 产品详情 */
.product-detail-gallery {
    margin-bottom: 30px;
}
.product-detail-gallery .main-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.product-detail-gallery .main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.product-detail-gallery .thumb-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-detail-gallery .thumb-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}
.product-detail-gallery .thumb-list img.active,
.product-detail-gallery .thumb-list img:hover {
    border-color: #4A7BF7;
}

/* 产品参数*/
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.spec-table tr:nth-child(even) {
    background: #f8f9fa;
}
.spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}
.spec-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 35%;
}

/* 询价按钮 */
.btn-inquiry {
    background: #4A7BF7;
    color: #fff;
    padding: 11px 24px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
}
.btn-inquiry:hover {
    background: #3A63D8;
    color: #fff;
    transform: none;
}

/* 下载列表 */
.download-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.download-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.download-item .dl-icon {
    font-size: 32px;
    color: #4A7BF7;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}
.download-item .dl-info {
    flex: 1;
}
.download-item .dl-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
}
.download-item .dl-info span {
    color: #999;
    font-size: 13px;
}
.download-item .dl-btn {
    margin-left: 20px;
}

/* 视频卡片 */
.video-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.video-card .video-thumb {
    position: relative;
    height: 200px;
    background: #000;
}
.video-card .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.video-card .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(14,162,189,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s;
}
.video-card:hover .video-play-btn {
    background: #4A7BF7;
    transform: translate(-50%, -50%) scale(1.1);
}
.video-card .video-body {
    padding: 15px 20px;
    background: #fff;
}
.video-card .video-body h4 {
    margin: 0;
    font-size: 16px;
}

/* 联系表单 */
.inquiry-modal .modal-header {
    background: #4A7BF7;
    color: #fff;
}
.inquiry-modal .modal-header .close {
    color: #fff;
}

/* 分类侧边�?*/
.category-sidebar {
    background: #fff;
    border-radius: 0;
    padding: 0 0 20px 0;
    box-shadow: none;
    margin-bottom: 30px;
}
.category-sidebar h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #4A7BF7;
}
.category-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-sidebar ul li {
    margin-bottom: 0;
}
.category-sidebar ul li a {
    display: block;
    padding: 10px 15px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}
.category-sidebar ul li a:hover,
.category-sidebar ul li a.active {
    color: #4A7BF7;
    padding-left: 20px;
    background: #f8f9fa;
}
.category-sidebar ul li ul {
    padding-left: 15px;
}
.category-sidebar ul li ul li a {
    font-size: 14px;
    padding: 8px 15px;
}

/* 内容详情�?*/
.content-detail-body {
    line-height: 1.8;
    font-size: 16px;
}
.content-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.content-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.content-detail-body table td,
.content-detail-body table th {
    padding: 10px;
    border: 1px solid #ddd;
}

/* 搜索�?*/
.search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.search-result-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.search-result-item h3 a {
    color: #333;
}
.search-result-item h3 a:hover {
    color: #4A7BF7;
}
.search-result-item p {
    color: #666;
    margin-bottom: 5px;
}
.search-result-item .meta {
    color: #999;
    font-size: 13px;
}

/* ===== 全局容器宽度：90%，两边各留5% ===== */
.container {
    max-width: 92% !important;
    width: 92% !important;
    padding-left: 0;
    padding-right: 0;
}

/* ===== Slider 高度限制 ===== */
.home-slider,
.home-slider-single-item {
    height: 500px !important;
    min-height: 500px !important;
}
.home-slider-area {
    min-height: auto !important;
}

/* ===== 新版 Hero Slider ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27,42,74,0.7) 0%, rgba(74,123,247,0.3) 100%);
    z-index: 1;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 650px;
    padding-left: 50px;
}
/* 文字由下往上出现动画 */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-slide.active .hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}
.hero-slide.active .hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}
.hero-slide.active .hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}
.hero-slide.active .hero-btns {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}
.hero-title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
}
.hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 550px;
}
.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-btns .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    line-height: initial;
    transition: all 0.3s;
}
.hero-btns .btn-outline-light:hover {
    background: #fff;
    color: #1B2A4A;
}
.hero-btns .btn-primary {
    padding: 14px 28px;
    font-weight: 600;
}
/* 箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.35);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
/* 指示点 */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ===== 修复slider下方空白 ===== */
.section-padding {
    padding: 60px 0 !important;
}
.about-area.section-padding {
    padding-top: 60px !important;
}

/* ===== 美化移动端菜单 - 全屏侧滑设计 ===== */
/* 隐藏 meanmenu 默认样式 */
@media (max-width: 991px) {
    .mean-container .mean-bar { display: none !important; }
    .mean-container .mean-nav { display: none !important; }
    a.meanmenu-reveal { display: none !important; }
    .navbar-area { display: none !important; }
}

/* 移动端顶部栏 */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: #fff;
    height: 60px;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
@media (max-width: 991px) {
    .mobile-header { display: flex; }
    body { padding-top: 60px; }
}
.mobile-header .mobile-logo img {
    max-height: 22px;
    width: auto;
}
.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-search-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #1B2A4A;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: color 0.2s;
}
.mobile-search-btn:hover,
.mobile-menu-btn:hover {
    color: #4A7BF7;
}
.mobile-menu-btn .hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #1B2A4A;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 5px 0;
}

/* 侧滑菜单遮罩 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.mobile-menu-overlay.active {
    opacity: 1;
}

/* 侧滑菜单面板 */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 10003;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    overflow: hidden;
}
.mobile-menu-panel.active {
    right: 0;
}

/* 菜单头部 */
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    position: relative;
}
.mobile-menu-head img {
    max-height: 18px;
    width: auto;
}
.mobile-menu-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.mobile-menu-close:hover {
    background: #e8e8e8;
    color: #333;
}

/* 菜单内容区域 - 可滚动 */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
}

/* 菜单项 */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-item {
    border-bottom: 1px solid #f5f5f5;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    overflow: hidden;
}
.mobile-nav-link:hover {
    color: #4A7BF7;
    background: #f8faff;
}
.mobile-nav-link.active {
    color: #4A7BF7;
    font-weight: 600;
}
.mobile-nav-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f5f7fa;
    border-radius: 6px;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
    margin-right: 16px;
}
.mobile-nav-toggle:hover {
    background: #e8eeff;
    color: #4A7BF7;
}
.mobile-nav-toggle.open {
    background: #4A7BF7;
    color: #fff;
    transform: rotate(90deg);
}

/* 子菜单 */
.mobile-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fafbfc;
}
.mobile-sub-menu.open {
    max-height: 600px;
}
.mobile-sub-menu .mobile-nav-link {
    padding: 12px 20px 12px 36px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    justify-content: flex-start;
}
.mobile-sub-menu .mobile-nav-link::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 11px;
    color: #bbb;
    transition: color 0.2s;
    flex-shrink: 0;
}
.mobile-sub-menu .mobile-nav-link:hover::before {
    color: #4A7BF7;
}
.mobile-sub-menu .mobile-nav-link:hover {
    color: #4A7BF7;
    padding-left: 40px;
}
/* 三级子菜单 */
.mobile-sub-menu .mobile-sub-menu .mobile-nav-link {
    padding-left: 52px;
    font-size: 13px;
    color: #777;
}
.mobile-sub-menu .mobile-sub-menu .mobile-nav-link::before {
    content: '\f101';
    color: #ccc;
}
.mobile-sub-menu .mobile-sub-menu .mobile-nav-link:hover {
    padding-left: 56px;
}

/* 菜单底部 - 联系信息和社交 */
.mobile-menu-footer {
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
    padding: 16px 20px;
    background: #fafbfc;
}
.mobile-contact-info {
    margin-bottom: 14px;
}
.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-decoration: none;
}
.mobile-contact-item:hover {
    color: #4A7BF7;
}
.mobile-contact-item i {
    width: 16px;
    text-align: center;
    color: #4A7BF7;
    font-size: 14px;
}
.mobile-social-icons {
    display: flex;
    gap: 10px;
}
.mobile-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}
.mobile-social-icons a:hover {
    background: #4A7BF7;
    border-color: #4A7BF7;
    color: #fff;
}

/* CTA 按钮 */
.mobile-menu-cta {
    display: block;
    margin: 12px 20px 4px;
    padding: 12px;
    background: #4A7BF7;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.mobile-menu-cta:hover {
    background: #3A63D8;
    color: #fff;
}

/* 移动端搜索框 */
.mobile-search-box {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 10001;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mobile-search-box.active {
    display: block;
}
.mobile-search-form {
    display: flex;
    gap: 0;
}
.mobile-search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.mobile-search-form input:focus {
    border-color: #4A7BF7;
}
.mobile-search-form button {
    padding: 10px 16px;
    background: #4A7BF7;
    border: 2px solid #4A7BF7;
    border-radius: 0 8px 8px 0;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* 语言切换 - 移动端 */
.mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-lang-switch i {
    color: #4A7BF7;
}
.mobile-lang-switch select {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    color: #333;
    background: #fff;
    outline: none;
}

/* 移动端slider响应式 */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-desc {
        font-size: 13px;
    }
    .hero-content {
        padding-left: 30px;
    }
    .hero-arrow {
        width: 36px; height: 36px;
        font-size: 14px;
    }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    .section-padding {
        padding: 40px 0 !important;
    }
}

/* ===== 产品选项卡区域 ===== */
.products-tab-area {
    background: #f8f9fb;
}
.products-tab-area .section-title {
    margin-bottom: 20px;
}
.section-desc {
    color: #666;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}
.product-tab {
    padding: 8px 24px;
    border: 2px solid #ddd;
    border-radius: 30px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    vertical-align: middle;
}
.product-tab:hover {
    border-color: #4A7BF7;
    color: #4A7BF7;
}
.product-tab.active {
    background: #4A7BF7;
    border-color: #4A7BF7;
    color: #fff;
}
.product-grid-item {
    transition: all 0.4s ease;
}
.product-grid-item.hidden {
    display: none;
}
.product-thumb-placeholder {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

/* ===== 新版 Footer ===== */
.footer-area {
    background: #1B2A4A !important;
    color: #ccc;
    padding: 50px 0 0 !important;
}
.footer-links-row {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}
.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-links li {
    margin-bottom: 10px;
}
.footer-nav-links li a {
    color: #aab;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-nav-links li a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-sub-links {
    list-style: none;
    padding: 0 0 0 12px;
    margin: 4px 0 0;
}
.footer-sub-links li {
    margin-bottom: 6px;
}
.footer-sub-links li a {
    color: #8899aa;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-sub-links li a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #aab;
    line-height: 1.6;
}
.footer-contact-list li i {
    color: #4A7BF7;
    width: 20px;
    margin-right: 8px;
}
.footer-contact-list li a {
    color: #aab;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact-list li a:hover {
    color: #fff;
}

/* 第二段：Logo + 社交 + 订阅 */
.footer-middle {
    padding: 30px 0;
}
.footer-middle .row {
    display: flex;
    align-items: center;
}
.footer-logo img {
    max-height: 50px;
    width: auto;
}
/* 订阅区域：小字绝对定位到上方，不占空间 */
.footer-subscribe {
    position: relative;
    padding-top: 24px;
    top: -20px;
}
.subscribe-text {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

.footer-social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    position: relative;
    top: -10px;
}
.footer-social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ccc;
    font-size: 15px;
    transition: all 0.3s;
}
.footer-social-icons li a:hover {
    background: #4A7BF7;
    border-color: #4A7BF7;
    color: #fff;
    transform: translateY(-2px);
}

/* 订阅表单 */
.subscribe-text {
    color: #aab;
    font-size: 13px;
    margin-bottom: 10px;
}
.subscribe-form {
    display: flex;
    gap: 0;
    max-width: 420px;
}
.subscribe-name {
    width: 120px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.subscribe-name::placeholder {
    color: #888;
}
.subscribe-name:focus {
    border-color: #4A7BF7;
}
.subscribe-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.subscribe-btn {
    padding: 10px 16px;
    background: #4A7BF7;
    border: 1px solid #4A7BF7;
    border-radius: 0 4px 4px 0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}
.subscribe-btn:hover {
    background: #3A63D8;
}

/* Copyright */
.copyright-area {
    background: #141f35 !important;
    padding: 16px 0 !important;
}
.copyright-area p {
    color: #888;
    font-size: 13px;
    margin: 0;
}
.copyright-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.copyright-area .copyright-links li a {
    color: #ccc !important;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}
.copyright-area .copyright-links li a:hover {
    color: #4A7BF7 !important;
    text-decoration: underline;
}

/* ===== 回到顶部按钮位置调整 ===== */
.go-top {
    right: 20px !important;
    bottom: 180px !important;
    top: auto !important;
    z-index: 999;
}
.go-top.active {
    top: auto !important;
    bottom: 120px !important;
    transform: none !important;
}

/* Contact Info 地址换行 */
.footer-contact-list li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* footer 4列等宽 */
.footer-links-row > .footer-col {
    flex: 0 0 25%;
    max-width: 25%;
}
@media (max-width: 991px) {
    .footer-links-row > .footer-col {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 25px;
    }
}
@media (max-width: 575px) {
    .footer-links-row > .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* 确保导航下拉菜单不被产品详情 Tab 栏遮挡 */
.navbar-area {
    z-index: 10000 !important;
}
.inspire-nav.scroll-to-fixed-fixed {
    z-index: 10000 !important;
}

/* ===== 产品列表页优化 ===== */
.products-list-page .products-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4A7BF7;
}
.products-list-page .products-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0;
}
.products-list-page .products-count {
    font-size: 14px;
    color: #999;
}
.products-list-page .category-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* 分类手风琴（全局通用） */
.cat-tree { list-style:none; padding:0; margin:0; }
.cat-tree ul.cat-children { list-style:none; padding:0; margin:0; padding-left:15px; }
.cat-item-row { display:flex; align-items:center; justify-content:space-between; }
.cat-item-row a { flex:1; display:block; padding:10px 15px; color:#555; border-bottom:1px solid #f0f0f0; transition:all 0.3s; text-decoration:none; }
.cat-item-row a:hover,
.cat-item-row a.active { color:#4A7BF7; padding-left:20px; background:#f8f9fa; }
.cat-item-row a .cat-icon { margin-right:8px; font-size:11px; color:#bbb; transition:all 0.3s; }
.cat-item-row a:hover .cat-icon,
.cat-item-row a.active .cat-icon { color:#4A7BF7; }
.cat-toggle { width:36px; height:40px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:#999; border-bottom:1px solid #f0f0f0; transition:color 0.2s; flex-shrink:0; }
.cat-toggle:hover { color:#4A7BF7; }
.cat-toggle i { font-size:12px; }

/* ===== 通用单页样式 ===== */
.page-content-area {
    padding: 60px 0;
}
.page-content-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.page-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}
.page-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}
.page-content-wrapper .content-detail-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.page-content-wrapper .content-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
}
.page-content-wrapper .content-detail-body h2,
.page-content-wrapper .content-detail-body h3 {
    color: #1B2A4A;
    margin-top: 28px;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .page-content-wrapper {
        padding: 20px;
    }
    .page-main-title {
        font-size: 24px;
    }
}

/* ===== 首页关于我们 - 重新设计 ===== */
.home-about-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}
.home-about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}
.home-about-image-col {
    flex: 0 0 48%;
    max-width: 48%;
}
.home-about-content-col {
    flex: 1;
}
.home-about-image-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.home-about-image-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.home-about-image-box:hover img {
    transform: scale(1.03);
}
.home-about-experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #4A7BF7, #2563eb);
    color: #fff;
    padding: 16px 22px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(74,123,247,0.4);
}
.badge-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}
.badge-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.home-about-content {
    padding-left: 10px;
}
.home-about-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #4A7BF7;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}
.home-about-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: #4A7BF7;
}
.home-about-title {
    font-size: 34px;
    font-weight: 800;
    color: #1B2A4A;
    line-height: 1.25;
    margin-bottom: 18px;
}
.home-about-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 28px;
}
.home-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.home-about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #f8f9fb;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.home-about-feature-item:hover {
    background: #fff;
    border-color: #e0e7ff;
    box-shadow: 0 4px 16px rgba(74,123,247,0.1);
    transform: translateY(-2px);
}
.feature-icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4A7BF7, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.feature-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0 0 4px;
}
.feature-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}
.home-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
}
.home-about-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}
.home-about-btn:hover i {
    transform: translateX(4px);
}

/* 响应式 */
@media (max-width: 991px) {
    .home-about-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .home-about-image-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .home-about-image-box img {
        height: 320px;
    }
    .home-about-content {
        padding-left: 0;
    }
    .home-about-title {
        font-size: 28px;
    }
}
@media (max-width: 575px) {
    .home-about-section {
        padding: 50px 0;
    }
    .home-about-features {
        grid-template-columns: 1fr;
    }
    .home-about-image-box img {
        height: 240px;
    }
    .home-about-title {
        font-size: 24px;
    }
}

/* ===== 首页统计数据 - 重新设计 ===== */
.home-counter-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #1B2A4A 0%, #2a3f6e 100%);
    position: relative;
    overflow: hidden;
}
.home-counter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(74,123,247,0.08);
}
.home-counter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(74,123,247,0.06);
}
.home-counter-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.home-counter-card {
    flex: 1 1 0;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.home-counter-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.home-counter-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A7BF7, #6C9CFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(74,123,247,0.35);
}
.home-counter-number {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
}
.counter-suffix {
    font-size: 28px;
    font-weight: 700;
    color: #6C9CFF;
}
.home-counter-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 767px) {
    .home-counter-grid {
        flex-wrap: wrap;
        gap: 16px;
    }
    .home-counter-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 0;
    }
    .home-counter-number {
        font-size: 30px;
    }
    .home-counter-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

/* ===== 默认表单模态框 ===== */
.default-form-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,20,40,0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.default-form-modal {
    background: #fff;
    border-radius: 0;
    width: 560px;
    max-width: 94vw;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    animation: dfmSlideUp 0.28s cubic-bezier(.22,.68,0,1.2);
}
@keyframes dfmSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.default-form-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: #4A7BF7;
    color: #fff;
    position: relative;
}
.default-form-modal-head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6600, rgba(255,255,255,0.3), transparent);
}
.default-form-modal-head h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.default-form-modal-close {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
    border-radius: 4px;
    transition: all 0.2s;
}
.default-form-modal-close:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.default-form-modal-body {
    padding: 28px 28px 24px;
    overflow-y: auto;
    max-height: calc(92vh - 68px);
    background: #fafbfc;
}
.dfm-field {
    margin-bottom: 14px;
}
.dfm-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.dfm-field input,
.dfm-field textarea,
.dfm-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e6ea;
    border-radius: 0;
    font-size: 14px;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
}
.dfm-field input:focus,
.dfm-field textarea:focus,
.dfm-field select:focus {
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}
.dfm-field textarea {
    resize: vertical;
    min-height: 90px;
}
.dfm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.dfm-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #4A7BF7, #6a9bff);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.dfm-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.dfm-submit:active {
    transform: translateY(0);
}
.dfm-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

/* ===== TikTok 图标补丁（FA5 无 tiktok） ===== */
.fa-tiktok::before {
    content: '';
}
.fab.fa-tiktok {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448 209.9a210.1 210.1 0 01-122.8-39.3v178.8A162.6 162.6 0 11185 188.3v89.9a74.6 74.6 0 1052.2 71.2V0h88a121 121 0 00122.8 121.3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.9a210.1 210.1 0 01-122.8-39.3v178.8A162.6 162.6 0 11185 188.3v89.9a74.6 74.6 0 1052.2 71.2V0h88a121 121 0 00122.8 121.3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.9a210.1 210.1 0 01-122.8-39.3v178.8A162.6 162.6 0 11185 188.3v89.9a74.6 74.6 0 1052.2 71.2V0h88a121 121 0 00122.8 121.3z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
    background-image: none;
}

/* 产品对比按钮 */
.product-thumb { position: relative; }
.compare-btn {
    position: absolute; top: 8px; right: 8px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: 1px solid #e0e0e0;
    color: #666; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; opacity: 0; z-index: 2;
}
.product-card:hover .compare-btn { opacity: 1; }
.compare-btn:hover, .compare-btn.active {
    background: #4A7BF7; color: #fff; border-color: #4A7BF7;
}

/* ===== 移动端适配补充 ===== */
@media (max-width: 767px) {
    /* 产品对比浮窗 */
    #compareBar > div { flex-direction: column; gap: 8px; }
    #compareBar #compareItems { justify-content: center; }

    /* 产品详情页 */
    .product-action-bar { flex-wrap: wrap; gap: 8px; }
    .product-share { flex-wrap: wrap; }
    .product-detail-title { font-size: 22px; }

    /* 询价弹窗 */
    .inquiry-modal-dialog { width: 95% !important; max-width: 95% !important; }
    .inquiry-modal-body { padding: 16px; }

    /* 侧边栏在移动端全宽 */
    .category-sidebar { margin-bottom: 20px; }

    /* 面包屑 */
    .page-title-content ul { font-size: 12px; }
    .page-title-content ul li { padding: 0 4px; }

    /* 最近浏览 */
    #recentlyViewedSection .col-lg-3 { flex: 0 0 50%; max-width: 50%; }

    /* Cookie 横幅 */
    #cookieConsent > div { flex-direction: column; text-align: center; }

    /* 社交分享 */
    .product-share span:last-child { margin-left: 0 !important; border-left: none !important; padding-left: 0 !important; }
}

@media (max-width: 480px) {
    /* 超小屏 */
    .product-card .product-body h3 { font-size: 14px; }
    .product-card .product-body p { font-size: 12px; }
    #recentlyViewedSection .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
    .hero-slider { height: 300px; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 14px; }
    .hero-desc { font-size: 13px; }
}

/* ===== 移动端 Footer 修复 ===== */
@media (max-width: 767px) {
    /* 1. Logo 居中 */
    .footer-area .col-lg-3.col-md-4 {
        text-align: center;
    }
    .footer-logo {
        display: inline-block;
    }

    /* 2. 三块区域（logo、社交、订阅）间距 */
    .footer-area .row > [class*="col-"] {
        margin-bottom: 20px;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-subscribe {
        text-align: center;
    }
    .subscribe-form {
        justify-content: center;
    }

    /* 3. 返回顶部按钮上移，避开 subscribe 按钮 */
    .go-top, .go-top.active {
        bottom: 80px !important;
        right: 16px !important;
    }
}

/* 移动端输入框防缩放 */
@media (max-width: 767px) {
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="search"], input[type="number"], input[type="url"],
    textarea, select, .form-control {
        font-size: 16px !important;
    }
}
