  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
font-family: "Rubik", Sans-serif;
	
	
	
            background-color: #fff;
            color: #222;
            line-height: 1.5;
            overflow-x: hidden;
        }


      /* Scroll animation keyframes */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .saf-fadeInUp {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s ease;
        }

        .saf-fadeInUp.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }
		

        /* ----- Navbar styles: dynamic background & font/logo color changes ----- */
        .header {
            position: fixed;
            top: 0;
            z-index: 9999;
            background: rgba(255, 255, 255, 0);
            transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom 0.2s;
            border-bottom: 1px solid transparent;
            left: 0;
            width: 100%;
        }

        .header.white-bg {
            background: #ffffff;
            border-bottom: 1px solid #eef2f6;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .header:not(.white-bg):hover {
            background: #ffffff;
            border-bottom: 1px solid #eef2f6;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .header:not(.white-bg):not(:hover) .logo svg path {
            fill: #ffffff;
            transition: fill 0.2s ease;
        }
        .header.white-bg .logo svg path,
        .header:not(.white-bg):hover .logo svg path {
            fill: #CC2936;
        }

        .header:not(.white-bg):not(:hover) .nav-menu a {
            color: #ffffff;
        }
        .header:not(.white-bg):not(:hover) .nav-menu a:hover {
            color: #ffd966;
        }
        .header.white-bg .nav-menu a,
        .header:not(.white-bg):hover .nav-menu a {
            color: #1f2937;
        }
        .header.white-bg .nav-menu a:hover,
        .header:not(.white-bg):hover .nav-menu a:hover {
            color: #e31e24;
        }

        .header:not(.white-bg):not(:hover) .phone-link {
            background: rgba(255, 255, 255, 0.2);
            color: #ffffff;
            
			font-size:20px;
        }
        .header:not(.white-bg):not(:hover) .phone-link i {
            color: #ffffff;
        }
        .header.white-bg .phone-link,
        .header:not(.white-bg):hover .phone-link {
        
            color: #e31e24;
			font-size:20px;
        }
        .header.white-bg .phone-link i,
        .header:not(.white-bg):hover .phone-link i {
            color: #e31e24;
        }
        
    	.header:not(.white-bg):not(:hover) .custom-logo-link img {
 filter: brightness(0) invert(1);
        }
		

        /* 搜索触发器样式 - 与phone-link保持视觉一致且间距紧凑 */
        .search-trigger {
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 22px;
            padding: 8px 12px;
            margin-left: 4px;    /* 与电话号码间距紧凑 */
            border-radius: 40px;
            transition: all 0.2s;
            line-height: 1;
        }
        /* 不同背景下的颜色继承 */
        .header:not(.white-bg):not(:hover) .search-trigger {
            color: #ffffff;
        }
        .header:not(.white-bg):not(:hover) .search-trigger:hover {
            color: #ffd966;
            background: rgba(255,255,255,0.1);
        }
        .header.white-bg .search-trigger,
        .header:not(.white-bg):hover .search-trigger {
            color: #1f2937;
        }
        .header.white-bg .search-trigger:hover,
        .header:not(.white-bg):hover .search-trigger:hover {
            color: #e31e24;
            background: rgba(227,30,36,0.08);
        }

        .header:not(.white-bg):not(:hover) .mobile-toggle {
            color: #ffffff;
        }
        .header.white-bg .mobile-toggle,
        .header:not(.white-bg):hover .mobile-toggle {
            color: #1f2937;
        }

        .dropdown-icon {
            font-size: 12px;
            margin-left: 6px;
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 16px 0;
            gap: 8px;  /* 整体间距略微紧凑，但不影响主要布局 */
        }

        .logo a {
            display: inline-block;
        }


.icon {
    font-size: 16px;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: middle;
    margin-top: -3px;
    fill: currentColor;
	}



        .nav-menu {
            display: flex;
            gap: 32px;
        }
        .nav-menu a {
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-item {
            position: relative;
        }

        .sub-menu {
            position: absolute;
            top: 32px;
            left: 0;
            background: white;
            box-shadow: 0 12px 28px rgba(0,0,0,0.08);
            padding: 12px 0;
            min-width: 160px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s;
            z-index: 10;
        }
        .nav-item:hover .sub-menu {
            opacity: 1;
            visibility: visible;
            top: 42px;
        }
        .sub-menu a {
            display: block;
            padding: 8px 8px;
            font-size: 14px;
            color: #1f2937 !important;
        }
        .sub-menu a:hover {
            color: #e31e24 !important;
        }

        .phone-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .mobile-toggle {
            display: none;
            font-size: 26px;
            background: none;
            border: none;
            cursor: pointer;
        }

        /* 全局搜索面板（优雅下拉） */
        .global-search-panel {
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            background: #ffffff;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            z-index: 10000;
            padding: 20px 24px;
            border-bottom: 1px solid #eef2f6;
            display: none;
            animation: slideDown 0.25s ease;
        }
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .search-panel-inner {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        .search-input-wrapper {
            display: flex;
            align-items: center;
            background: #f8fafc;
            border-radius: 60px;
            border: 1px solid #e2e8f0;
            padding: 6px 16px;
            transition: all 0.2s;
            gap: 8px;
        }
        .search-input-wrapper:focus-within {
            border-color: #e31e24;
            box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
        }
        .search-input-wrapper i {
            color: #94a3b8;
        
        }
        .search-input-wrapper input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 14px 0;
            font-size: 16px;
            outline: none;
            font-weight: 500;
        }
        .search-input-wrapper button {
            background: transparent;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #64748b;
            transition: 0.2s;
            padding: 6px 12px;
            border-radius: 40px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }
        .search-input-wrapper button:hover {
            color: #e31e24;
            background: #fff0f0;
        }
        #submitSearchBtn {
            background: #f1f5f9;
            color: #1e293b;
        }
        #submitSearchBtn:hover {
            background: #e31e24;
            color: white;
        }
        .search-stats {
            margin-top: 12px;
            text-align: center;
            font-size: 14px;
            font-weight: 500;
            color: #475569;
        }
        .search-stats span {
            background: #f1f5f9;
            padding: 4px 12px;
            border-radius: 40px;
        }
        .no-result-msg {
            text-align: center;
            padding: 12px;
            color: #e31e24;
            font-size: 14px;
        }








  .footer {
            background: #0f172a;
            color: #cbd5e1;
            padding: 40px 0 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 28px;
            margin-bottom: 32px;
        }
        .footer-col h4 { color: #fff; margin-bottom: 14px; }
        .footer-col a {
            color: #94a3b8;
            text-decoration: none;
            display: block;
            margin-bottom: 6px;
        }
        .footer-col a:hover { color: #e31e24; }
        .footer-bottom {
            border-top: 1px solid #1e293b;
            padding-top: 18px;
            text-align: center;
        }

        /* 悬浮工具栏 */
        .float-contact-bar {
            position: fixed;
            right: 24px;
            bottom: 40px;
            z-index: 999;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .float-contact-btn {
            width: 56px;
            height: 56px;
            background: #e31e24;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 20px;
            position: relative;
        }

        .float-contact-btn:hover {
            background: #c0161f;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        }

        /* 统一左侧弹窗样式 */
        .float-popup {
            position: absolute;
            right: 70px;
            background: #fff;
            padding: 10px 14px;
            border-radius: 6px;
            box-shadow: 0 3px 12px rgba(0,0,0,0.15);
            font-size: 15px;
            font-weight: 600;
            color: #333;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
            z-index: 998;
        }
        .float-popup::after {
            content: '';
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-left: 6px solid #fff;
        }
        .float-popup.show {
            opacity: 1;
            visibility: visible;
        }

        /* 电话弹窗位置 */
        #phonePopup { top: 50%; transform: translateY(-50%); }
        /* 邮箱弹窗位置 */
        #emailPopup { top: 50%; transform: translateY(-50%); }

        /* WhatsApp 客服菜单 */
        .whatsapp-popup {
            position: absolute;
            right: 70px;
            top: 50%;
            transform: translateY(-50%);
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            padding: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
            z-index: 998;
        }
        .whatsapp-popup.show {
            opacity: 1;
            visibility: visible;
        }
        .whatsapp-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: #25D366;
            color: #fff;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            transition: background 0.2s;
        }
        .whatsapp-item:hover {
            background: #1da851;
        }
        .whatsapp-item i {
            font-size: 16px;
        }

        /* 返回顶部默认隐藏 */
        .back-to-top {
            opacity: 0;
            visibility: hidden;
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 768px) {
            .mobile-toggle { display: block; }
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 80%;
                height: 100vh;
                background: #fff;
                flex-direction: column;
                padding: 32px 24px;
                transition: left 0.3s;
            }
            .nav-menu.active { left: 0; }
            .blog-grid { grid-template-columns: 1fr; }
            
            .float-contact-bar {
                right: 12px;
                bottom: 20px;
            }
            .float-contact-btn {
                width: 48px;
                height: 48px;
                font-size: 18px;
            }
            .float-popup {
                right: 60px;
                font-size: 13px;
                padding: 6px 10px;
            }
            .whatsapp-popup {
                right: 60px;
            }
            .whatsapp-item {
                font-size: 12px;
                padding: 6px 10px;
            }
        }
		
		
	
		/* Mobile Close Button */

.mobile-close{
    display:none;
}

@media(max-width:768px){

    .mobile-close{
        display:flex;
        align-items:center;
        justify-content:center;
        position:absolute;
        top:20px;
        right:20px;
        width:42px;
        height:42px;
        border:none;
        background:#f5f5f5;
        border-radius:50%;
        cursor:pointer;
        font-size:22px;
        z-index:1001;
    }

    .mobile-close:hover{
        background:#e31e24;
        color:#fff;
    }

    .nav-menu{
        padding-top:80px;
    }

    .nav-item.has-submenu>a{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .nav-item.active .dropdown-icon{
        transform:rotate(180deg);
    }

    .dropdown-icon{
        transition:.3s;
    }

    .sub-menu{
        display:none;
        padding-top:10px;
        padding-bottom:10px;
    }

    .nav-item.active .sub-menu{
        display:block;
    }

}




        @media (max-width: 768px) {
            /* 手机端隐藏产品分类侧边栏 */
            .product-category-sidebar {
                display: none;
            }
			
			
            /* 手机端让产品网格区域占满全宽，无额外边距 */
            .product-layout-new .product-grid-right {
                width: 100%;
                margin-left: 0;
                flex: auto;
            }
            .mobile-toggle { display: block; }
            .nav-menu {
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
           height: calc(100vh - 100px);
                background: white;
                flex-direction: column;
                padding: 32px 24px;
                box-shadow: 4px 0 20px rgba(0,0,0,0.1);
                transition: left 0.3s ease;
                z-index: 999;
                gap: 24px;
                overflow-y: auto;
            }
            .nav-menu.active { left: 0; }
            .sub-menu {
                position: static;
                box-shadow: none;
                padding-left: 20px;
                opacity: 1;
                visibility: visible;
                display: none;
            }
            .nav-item.active .sub-menu { display: block; }
            .header-inner { flex-wrap: nowrap;padding:10px ; gap: 4px;}
            .phone-link { display: none; }  /* 手机隐藏电话，搜索单独保留 */
            .search-trigger { margin-left: 50%; padding: 8px 10px; }		
		
		}
		
		
		    .footer-bottom {
            border-top: 1px solid #1e293b;
            padding-top: 18px;      /* 从24px减小到18px */
            text-align: center;
            font-size: 13px;
        }
		
		
		
		
		
		   /* responsive additional */
        @media (max-width: 1024px) {
            .footer-grid {
                gap: 24px;
            }
            .global-search-panel { top: 72px; }
        }

        @media (max-width: 768px) {
          
            .footer-grid {
                gap: 28px;
            }
            .footer {
                padding: 32px 0 16px;
            }
            .global-search-panel { top: 60px; padding: 16px; }
            .search-input-wrapper button { padding: 4px 10px; font-size: 14px; }
        }
        @media (max-width: 560px) {

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
        }
        
        
.custom-logo-link{
    width: 100px;
}



.custom-logo-link img{
    width:160px;
    height:auto;
 background: rgba(255, 255, 255, 0.2);
}