 /* 自定义蓝色主色调（符合海外审美） */
        :root {
            --primary-color: #306c9e; /* 沉稳商务蓝 */
            --secondary-color: #1A73E8;
            --light-blue: #F0F7FF;
            --dark-blue: #083378;
            --text-dark: #202124;
            --text-gray: #5F6368;
        }
		a {
    text-decoration: none !important; /* 移除下划线，!important 确保覆盖其他样式 */
    color: inherit; /* 继承父元素文字颜色，避免链接默认蓝色 */
    transition: color 0.3s ease; /* 颜色过渡动画，提升交互体验 */
}
h2.section-title {
    font-style: italic;
    /* 可选：搭配 Raleway 字体，斜体效果更美观 */
    font-family: 'Raleway', italic, sans-serif;
	font-size:30px;
}
        .pd-100{padding:100px 0px !important;}
        /* 全局样式 */
        body {
            font-family: "Raleway", Sans-serif;
			
            color: var(--text-dark);
            line-height: 1.6;
        }

        .navbar-toggler{border:0px !important;}
        /* 导航栏样式 - 核心修改部分 */
        .navbar {
            background-color: white !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 1rem 0;
        }
        .navbar-brand {
            color: var(--primary-color) !important;
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -0.5px;
        }
		.navbar-brand  img{height:60px;}
        /* 导航容器布局调整 */
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
        /* 导航菜单居中 */
        .nav-menu {
            display: flex;
            justify-content: center;
            flex: 1;
        }
        .nav-link {
            color: var(--text-gray) !important;
            font-weight: 500;
            margin: 0 10px;
            transition: color 0.3s;
            font-size: 0.95rem;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--primary-color) !important;
        }
        /* 右侧按钮区域 */
        .nav-actions {
            display: flex;
            align-items: center;
        }
        .btn-primary {
            background-color: var(--primary-color) !important;
            border-color: var(--primary-color) !important;
            padding: 0.6rem 0.6rem;
            font-weight: 500;
            border-radius: 4px;
        }
        .btn-primary:hover {
            background-color: var(--secondary-color) !important;
            border-color: var(--secondary-color) !important;
        }
        .btn-outline-primary {
            border-color: var(--primary-color) !important;
            color: var(--primary-color) !important;
            padding: 0.6rem 1.5rem;
            font-weight: 500;
            border-radius: 4px;
        }
        .btn-outline-primary:hover {
            background-color: var(--primary-color) !important;
            color: white !important;
        }
        .middle-line-space {
  /* 总宽度 */
  width: 300px;
  /* 让横线居中 */
  margin: 20px auto;
  /* 关键：通过边框实现横线，左右留空 */
  border-top: 1px solid #666;
  /* 左右内边距（控制两侧空白宽度） */
  padding: 0 20px;
  /* 消除默认高度 */
  height: 0;
}

 .left-line-space {
  /* 总宽度 */
  width: 30%;
  /* 让横线居中 */
  margin: 10px 20px 10px 0px;
  /* 关键：通过边框实现横线，左右留空 */
  border-top: 1px solid #fff;
  /* 左右内边距（控制两侧空白宽度） */
  padding: 0 20px;
  /* 消除默认高度 */
  height: 0;
}
        /* 轮播图样式 */
        .carousel-item {
            height: 650px;
        }
        .carousel-item img {
            object-fit: cover;
            height: 100%;
            filter: brightness(1);
        }
        .carousel-caption {
            bottom: 120px;
            text-align: left;
            max-width: 600px;
            left: 8%;
            right: auto;
        }
        .carousel-caption h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        .carousel-caption p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            color: #f8f9fa;
        }
        
        /* 核心优势 */
        .feature-section {
            padding: 6rem 0;
        }
        .feature-card {
            background-color: white;
            border: none;
            box-shadow: 0 4px 20px rgba(15, 82, 186, 0.08);
            border-radius: 8px;
            transition: transform 0.3s;
            padding: 2.5rem 2rem;
            height: 100%;
        }
        .feature-card:hover {
            transform: translateY(-8px);
        }
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }
        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }
        .section-subtitle {
            color: var(--text-gray);
            max-width: 600px;
            margin: 0 auto 4rem;
        }
        
        /* 商品展示 */
        .product-section {
            padding: 4rem 0 6rem;
            background-color: var(--light-blue);
        }
		
		.product-section2{
            padding: 4rem 0 6rem;
            background-color: #fff;
        }
        .product-card {
            border: none;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            height: 100%;
        }
        .product-card:hover {
            box-shadow: 0 8px 25px rgba(15, 82, 186, 0.15);
        }
        
        .price {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.3rem;
        }
        .product-title {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        
        /* 配送与支付 */
        .shipping-section {
            padding: 4rem 0;
            background-color: white;
        }
        .payment-icon {
            font-size: 2rem;
            color: var(--text-gray);
            margin: 0 10px;
        }
        
        /* 联系我们（外贸核心） */
        .contact-section {
            padding: 6rem 0;
            background-color: var(--light-blue);
        }
        .contact-card {
            background-color: white;
            border-radius: 8px;
            padding: 3rem;
            box-shadow: 0 4px 20px rgba(15, 82, 186, 0.08);
        }
        .form-control {
            border: 1px solid #e0e0e0;
            padding: 0.8rem 1rem;
            border-radius: 4px;
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(15, 82, 186, 0.1);
        }
        
        /* 页脚（外贸信息） */
        .footer {
            background-color: var(--dark-blue);
            color: white;
            padding: 4rem 0 2rem;
        }
        .footer-link {
            color: #d0d7e3;
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            margin-bottom: 0.8rem;
        }
        .footer-link:hover {
            color: white;
        }
        .footer-title {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .social-icon {
            font-size: 1.5rem;
            color: white;
            margin-right: 1.5rem;
            transition: color 0.3s;
        }
        .social-icon:hover {
            color: #b8d0f5;
        }
		
		  
        /* 产品图片轮播核心样式 */
        .product-gallery {
            width: 100%;
        }
        /* 缩略图导航 */
        .thumbnail-container {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            overflow-x: auto;
            padding-bottom: 8px;
        }
        .thumbnail {
            width: 80px;
            height: 80px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 4px;
            transition: border-color 0.3s;
        }
        .thumbnail.active {
            border-color: var(--primary-color);
        }
        /* 主图展示区 */
        .main-image {
            height: 500px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }
        
        /* 产品信息模块 */
        .product-info {
            padding: 2rem 0;
        }
        .product-title {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }
        .product-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }
        .product-specs {
            background-color: var(--light-blue);
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 2rem;
        }
        .spec-item {
            display: flex;
            justify-content: space-between;
             
            border-bottom: 1px solid var(--border-gray);
        }
        .spec-item:last-child {
            border-bottom: none;
        }
        .spec-label {
            font-weight: 500;
            color: var(--text-dark);
        }
        .spec-value {
            color: var(--text-gray);
        }
        
        /* 订购表单 */
        .order-form {
            background-color: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(15, 82, 186, 0.08);
            margin-bottom: 3rem;
        }
        .form-control {
            border: 1px solid var(--border-gray);
            padding: 0.8rem 1rem;
            border-radius: 4px;
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(15, 82, 186, 0.1);
        }
        
        /* 产品详情标签页 */
        .product-tabs {
            margin: 3rem 0;
        }
        .nav-tabs {
            border-bottom: 1px solid var(--border-gray);
        }
        .nav-tabs .nav-link {
            border: none;
            color: var(--text-gray);
            font-weight: 600;
            padding: 1rem 1.5rem;
        }
        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            border-bottom: 2px solid var(--primary-color);
            background-color: transparent;
        }
        .tab-content {
            padding: 2rem 0;
        }
        
        /* 相关产品 */
        .related-products {
            padding: 3rem 0;
            background-color: var(--light-blue);
        }
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 2rem;
            color: var(--text-dark);
            text-align: center;
        }
        .related-card {
            border: none;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            height: 100%;
        }
        .related-card:hover {
            box-shadow: 0 8px 25px rgba(15, 82, 186, 0.15);
        }
        .related-img {
            height: 180px;
            object-fit: cover;
        }
        .related-title {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        .related-price {
            color: var(--primary-color);
            font-weight: 700;
        }
        
        /* 响应式适配 */
        @media (max-width: 992px) {
            .main-image {
                height: 400px;
            }
        }
        @media (max-width: 768px) {
            .main-image {
                height: 300px;
            }
            .product-title {
                font-size: 1.5rem;
            }
            .product-price {
                font-size: 1.5rem;
            }
            .order-form {
                padding: 1.5rem;
            }
			.head-top h2{font-size:24px !important;}
        }
	.position a{color:#fff;text-decoration: none; }	
	.position a:hover{color:#2196f3;}	
 /* 页面标题 */
        .page-header {
            padding: 2rem 0;
            background-color: var(--light-blue);
            margin-bottom: 2rem;
        }
        .page-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text-dark);
        }
        .page-subtitle {
            color: var(--text-gray);
            max-width: 800px;
        }

        /* 筛选栏 */
        .filter-section {
            background-color: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 2rem;
        }
        .filter-title {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }
        .form-select {
            border: 1px solid var(--border-gray);
            padding: 0.6rem 1rem;
            border-radius: 4px;
            color: var(--text-gray);
        }
        .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(15, 82, 186, 0.1);
        }

        /* 产品列表卡片 */
        .product-grid {
            margin-bottom: 3rem;
        }
        .product-card {
            border: none;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            height: 100%;
        }
		.product-card a{
			text-decoration: none;
        }
        .product-card:hover {
            box-shadow: 0 8px 25px rgba(15, 82, 186, 0.15);
            transform: translateY(-5px);
        }
        .product-img {
            
            object-fit: cover;
        }
        .product-card-body {
            padding: 1.5rem;
        }
        .product-title {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
            color: var(--text-dark);
        }
        .product-desc {
            color: var(--text-gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .product-price {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }
        .product-spec {
            font-size: 0.85rem;
            color: var(--text-gray);
            margin-bottom: 0.3rem;
        }

        /* 分页样式 */
        .pagination-section {
            display: flex;
            justify-content: center;
            margin: 3rem 0;
        }
        .pagination {
            gap: 8px;
        }
		.pagination li {
			background-color:#fff;
            color: var(--text-gray);
            border: 1px solid #d9ebff;
            border-radius: 4px !important;
            padding: 10px 20px;
            font-weight: 500;
        }
		.pagination li a{
			text-decoration: none;
        }
		.pagination .active{
			border:1px var(--primary-color) solid;
            background-color:var(--primary-color) !important;
			color:#fff;
        }
		
        .page-link {
            color: var(--text-gray);
            border: 1px solid var(--border-gray);
            border-radius: 4px !important;
            padding: 0.8rem 1.2rem;
            font-weight: 500;
        }
        .page-link:hover {
            color: var(--primary-color);
            border-color: var(--primary-color);
            background-color: transparent;
        }
        .page-item.active .page-link {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        /* 响应式适配 */
        @media (max-width: 992px) {
            
        }
        @media (max-width: 768px) {
            .page-title {
                font-size: 1.8rem;
            }
            .filter-section {
                padding: 1rem;
            }
            
            .page-link {
                padding: 0.6rem 0.9rem;
            }
        }		
		
		
        @media (min-width: 1400px) {
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 90% !important;
}
.me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}
}
        /* 响应式适配 */
        @media (max-width: 768px) {
            .carousel-item {
                height: 350px;
            }
            .carousel-caption h1 {
                font-size: 1.8rem;
            }
            .carousel-caption p {
                font-size: 0.9rem;
            }
            .section-title {
                font-size: 1.8rem;
            }
            .contact-card {
                padding: 2rem 1.5rem;
            }
        }
		
		
	 /* ========== 新增：回到顶部按钮样式 ========== */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 4px 12px rgba(15, 82, 186, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 9999;
        }
        
        .back-to-top:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }	
		
		.radius100{border-radius:100px;}
		
		
  /* 滚动动画基础样式 */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .animate-on-scroll.animate-active {
            opacity: 1;
            transform: translateY(0);
        }
        /* 不同方向的动画初始状态 */
        .animate-left { transform: translateX(-30px); }
        .animate-right { transform: translateX(30px); }
        .animate-up { transform: translateY(-30px); }

        /* 隐藏滚动条 */
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
		.display-4 {
			font-size: 2.2rem;
		}
		.head-top h2{position: absolute;    
        top: 60%;          
        left: 50%;         
        transform: translate(-50%, -50%);  
        color: white;       
        margin: 0;      
        text-shadow: 0 0 5px rgba(0,0,0,0.5); 
        z-index: 10;      
        font-size: 44px;   
        padding: 0 20px; text-transform: uppercase;	 }
		
        /* 响应式调整 */
        @media (max-width: 768px) {
            .btn {
                 
                height: 35px !important;
            }
			.navbar-brand  img{height:30px !important;}
			.carousel-item {
				height: auto;
				margin-top: 50px;
			}
			.display-4 {
			font-size: 1.2rem !important;
		    }
			.head-top{margin-top:80px !important;}
        }

        /* windows 板块样式 */
        .section-container {
            background-color: #f8f9fa;
            padding: 40px 0;
        }
        .content-card {
            background-color: #ffffff;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .img-left {
            border-radius: 8px;
            overflow: hidden;
        }
        .img-right {
            border-radius: 8px;
            overflow: hidden;
            margin-top: 16px;
        }
        .section-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .section-text {
            font-size: 14px;
            color: #6c757d;
            line-height: 1.6;
        }

        /* Shower Doors 板块样式 */
        .product-section {
            background-color: #f8f9fa;
            padding: 40px 0;
        }
        .small-img-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
        .small-img-grid img {
            border-radius: 8px;
            width: 100%;
            height: 120px;
            object-fit: cover;
        }
        .right-img-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            height: 100%;
        }
        .right-img-grid img {
            border-radius: 12px;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        @media (max-width: 768px) {
            .right-img-grid {
                grid-template-columns: 1fr;
                margin-top: 16px;
            }
        }

        /* railings 板块样式 */
        .railings-section {
            background-color: #f8f9fa;
            padding: 40px 0;
        }
        .card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 2rem;
            color: #fff;
        }
        .right-img-grid .img-item {
            border-radius: 12px;
            overflow: hidden;
        }

        /* Mirror 板块样式 */
        .mirror-section {
            background-color: #f8f9fa;
            padding: 60px 0;
        }
        .mirror-container {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            align-items: stretch;
        }
        .left-images {
            flex: 1;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .img-box {
            border-radius: 12px;
            overflow: hidden;
        }
        .img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .text-content {
            flex: 0 0 200px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 8px;
        }
        .text-content h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 16px;
            color: #212529;
        }
        .right-image {
            flex: 1.5;
            min-width: 300px;
        }
        @media (max-width: 992px) {
            .mirror-container {
                flex-direction: column;
            }
            .text-content {
                flex: auto;
                text-align: center;
                padding: 16px 0;
            }
            .left-images, .right-image {
                min-width: 100%;
            }
			.wap_in{
				margin-top: 90px !important;
			}
        }
		
		.line{height:6px; width:15% !important; display: block; object-fit: cover;margin:0px auto;border-radius:10px;background:#306c9e;}
		
		
		/* 基础样式：初始隐藏动画元素，设置过渡 */
        .animate-on-scroll {
            opacity: 0;
            transform: translateX(-50px); /* 左移初始状态，对应left动画 */
            transition: all 0.6s ease;
        }
        /* 动画触发后的样式 */
        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateX(0);
        }
        /* 修复产品卡片定位问题（关键） */
     
        .product-card .product-label {
            line-height: 50px;
            background: rgba(255,255,255,0.7); /* 修正rgba语法 */
            width: 100%;
            position: absolute; /* 改为绝对定位，贴在图片底部 */
            text-align: center;
            bottom: 20%; /* 原bottom:100px会导致文字层脱离卡片 */
            left: 0;
            font-weight: bold;
        }
        .product-img {
            width: 100%;
            height: auto;
            display: block; /* 消除图片下方空白 */
        }
		