/* Website Styles */

/* ========================================
   关键帧动画定义
   ======================================== */

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 从上方淡入 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 从上方滑入 */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 从下方滑入 */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 从左侧滑入 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 从右侧滑入 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 缩放淡入 */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 全局样式 - 防止页面抖动 */
html {
    overflow-y: scroll; /* 始终显示垂直滚动条,防止页面切换时抖动 */
}

body {
    min-height: 100vh; /* 确保body至少占满整个视口高度 */
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.3);
}

.top-bar .contact-info {
    text-align: center;
}

.top-bar .contact-info span {
    margin: 0 20px;
    color: #ecf0f1;
    transition: all 0.3s ease;
    display: inline-block;
}

.top-bar .contact-info span:hover {
    color: #fff;
    transform: translateY(-2px);
}

.top-bar .contact-info i {
    margin-right: 8px;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.top-bar .contact-info span:hover i {
    transform: scale(1.2);
    color: #0066FF;
}

/* 导航栏中的语言切换器 */
.language-switcher-nav {
    padding: 0 !important;
    margin-left: 10px;
    display: flex !important;
    align-items: center !important;
    height: 70px;
}

.language-switcher-nav select {
    width: auto;
    display: inline-block;
    padding: 8px 30px 8px 12px;
    font-size: 13px;
    background: rgba(0, 102, 255, 0.1);
    color: #333;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.language-switcher-nav select:hover {
    background-color: rgba(0, 102, 255, 0.15);
    border-color: #0066FF;
    box-shadow: 0 2px 6px rgba(0, 102, 255, 0.2);
}

.language-switcher-nav select:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

/* Header */
.site-header {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky Header */
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.site-header.sticky .top-bar {
    display: none;
}

.site-header.sticky .main-navbar {
    min-height: 60px;
}

.site-header.sticky .navbar-brand {
    height: 60px !important;
    padding: 5px 15px !important;
}

.site-header.sticky .navbar-brand img {
    max-height: 45px !important;
}

.site-header.sticky .navbar-nav > li > a {
    padding: 20px 20px !important;
}

.site-header.sticky .navbar-toggle {
    margin-top: 13px !important;
}

/* Sticky状态下语言切换器对齐 */
.site-header.sticky .language-switcher-nav {
    height: 60px;
}

/* Sticky Placeholder */
body.has-sticky-header {
    padding-top: 0;
}

.sticky-placeholder {
    display: none;
    height: 0;
}

.sticky-placeholder.active {
    display: block;
    height: 130px; /* top-bar (50px) + navbar (70px) + margin (10px) */
}

.main-navbar {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: #fff;
    min-height: 70px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navbar .container {
    position: relative;
}

.main-navbar .navbar-collapse {
    position: static;
}

.main-navbar .navbar-brand {
    padding: 10px 15px;
    height: 70px;
    line-height: 50px;
    transition: all 0.3s ease;
}

.main-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.main-navbar .navbar-brand img {
    max-height: 50px;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.main-navbar .navbar-brand:hover img {
    filter: brightness(1.1);
}

.main-navbar .navbar-nav > li > a {
    padding: 25px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.main-navbar .navbar-nav > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.main-navbar .navbar-nav > li > a:hover::before {
    left: 0;
}

.main-navbar .navbar-nav > li > a:hover {
    color: #0066FF;
    background: transparent;
    transform: translateY(-2px);
}

.main-navbar .navbar-nav > li.active > a,
.main-navbar .navbar-nav > li.active > a:hover,
.main-navbar .navbar-nav > li.active > a:focus {
    color: #0066FF;
    background: transparent;
}

/* 导航菜单项 - 移除动画效果 */
.main-navbar .navbar-nav > li {
    /* 动画已移除,直接显示 */
}

.main-navbar .navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0066FF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.main-navbar .navbar-nav > li > a:hover::after,
.main-navbar .navbar-nav > li.active > a::after {
    width: 80%;
}

/* Navbar Toggle */
.main-navbar .navbar-toggle {
    border-color: #333;
    margin-top: 18px;
}

.main-navbar .navbar-toggle:hover,
.main-navbar .navbar-toggle:focus {
    background-color: #0066FF;
}

.main-navbar .navbar-toggle .icon-bar {
    background-color: #333;
}

.main-navbar .navbar-toggle:hover .icon-bar {
    background-color: #fff;
}

/* Mega Dropdown Menu */
.mega-dropdown {
    position: relative;
}

.mega-dropdown.open .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Dropdown Menu - Final Professional Style */
.mega-dropdown-menu {
    display: block;
    position: absolute;
    left: 50%;
    width: 880px; /* Adjusted width for 4 columns */
    padding: 0;
    margin-top: 0;
    border: 1px solid #e9e9e9;
    border-top: 3px solid #0066FF;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: #fff;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mega-dropdown-content {
    padding: 25px;
}

.product-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.product-category-link {
    flex: 1 1 calc(25% - 12px); /* Flexbox approach to create 4 columns */
}

.product-category-link a {
    display: block;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-category-link a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.product-category h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    white-space: nowrap; /* Prevent category names from wrapping */
}

.product-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-category ul li {
    margin-bottom: 10px;
}

.product-category ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-category ul li a:hover {
    color: #0066FF;
}

.mega-dropdown-menu > li {
    width: 100%;
}

.mega-dropdown-menu .container-fluid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mega-dropdown-menu .category-column {
    padding: 0 15px;
    border-right: 1px solid #f0f0f0;
}

.mega-dropdown-menu .category-column:last-child {
    border-right: none;
}

.mega-dropdown-menu .category-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px 5px 5px;
}

.mega-dropdown-menu .category-item i {
    margin-right: 12px;
    font-size: 18px;
    color: #0066FF;
    transition: all 0.3s ease;
}

.mega-dropdown-menu .category-item:hover {
    background: #f0f5ff;
    color: #0052CC;
    text-decoration: none;
    transform: translateX(5px);
}

.mega-dropdown-menu .category-item:hover i {
    transform: scale(1.2);
}

.mega-dropdown-menu .featured-link-column {
    background: linear-gradient(135deg, #e6f0ff 0%, #f8faff 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.mega-dropdown-menu .featured-link {
    display: block;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #0066FF;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mega-dropdown-menu .featured-link:hover {
    background: #0066FF;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Search Toggle */
.search-toggle a {
    font-size: 18px;
    color: #333 !important;
    padding: 25px 15px !important;
}

.search-toggle a:hover {
    color: #0066FF !important;
}

.search-toggle a::after {
    display: none !important;
}

/* Search Bar */
.search-bar {
    background: #f5f5f5;
    padding: 20px 0;
    border-bottom: 2px solid #0066FF;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-bar .search-form {
    max-width: 700px;
    margin: 0 auto;
}

.search-bar .search-input {
    height: 50px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-right: none;
    background: #fff;
    padding: 0 20px;
    border-radius: 0;
}

.search-bar .search-input:focus {
    box-shadow: none;
    border-color: #0066FF;
    outline: none;
}

.search-bar .btn {
    height: 50px;
    padding: 0 30px;
    border: none;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-bar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.search-bar .search-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.search-bar .search-close:hover {
    color: #0066FF;
    transform: translateY(-50%) rotate(90deg);
}

/* Banner Slider */
.banner-slider {
    position: relative;
    margin-top: 0;
}

.banner-slider .carousel {
    height: 500px;
}

.banner-slider .carousel-inner {
    height: 100%;
}

.banner-slider .item {
    height: 500px;
    background-color: #f5f5f5;
}

.banner-slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    width: 80%;
    background: rgba(0,0,0,0.3);
    padding: 30px;
    border-radius: 10px;
}

.banner-slider .carousel-caption h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.banner-slider .carousel-caption p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
}

.banner-slider .carousel-control {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-slider .carousel-control.left {
    left: 30px;
}

.banner-slider .carousel-control.right {
    right: 30px;
}

.banner-slider .carousel-control:hover {
    opacity: 1;
    background-color: rgba(255,102,0,0.8);
}

.banner-slider .carousel-control .glyphicon {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    font-size: 28px;
    line-height: 1;
    margin: 0;
    display: block;
}

.banner-slider .carousel-indicators {
    bottom: 30px;
}

.banner-slider .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
}

.banner-slider .carousel-indicators .active {
    background-color: #fff;
}

/* Section Title */
.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
}

/* Product Categories */
.product-categories {
    background: #f5f5f5;
    padding: 70px 0;
}

.product-categories .section-title {
    margin-bottom: 50px;
}

.product-categories .section-title h2 {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-categories .section-title p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.category-grid {
    margin: 0 -10px;
}

.category-grid > [class*='col-'] {
    padding: 0 10px;
    margin-bottom: 20px;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
}

.category-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.category-card .category-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.category-card .category-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card .category-info {
    padding: 20px 15px;
    text-align: center;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card .category-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.category-card .category-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.category-card .category-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
}

.testimonial-card {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    font-size: 20px;
    font-style: italic;
    margin: 20px 0;
}

.customer-name {
    font-weight: bold;
    margin-top: 20px;
}

.company-name {
    color: #666;
}

/* News Cards */
.news-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card .news-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-content {
    padding: 20px;
}

.news-card .news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-card h4 a {
    color: #333;
    text-decoration: none;
}

.news-card h4 a:hover {
    color: #0066FF;
}

.news-card .read-more {
    color: #0066FF;
    text-decoration: none;
    font-weight: 500;
}

/* ========================================
   Footer - 优化版
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 50%, #0a1628 100%);
    color: #cbd5e0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0066FF 20%, #00a8ff 50%, #0066FF 80%, transparent);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.footer-main {
    padding: 70px 0 50px;
    position: relative;
}

.footer-widget {
    margin-bottom: 35px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0066FF 0%, #00a8ff 100%);
    border-radius: 2px;
}

.footer-desc {
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 18px;
    line-height: 1.8;
}

/* 联系信息 */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    filter: brightness(1.2);
    transition: filter 0.3s ease;
}

.footer-logo img:hover {
    filter: brightness(1.5);
}

.footer-contact .contact-item {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    color: #cbd5e0;
    line-height: 1.8;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-contact .contact-item:hover {
    transform: translateX(5px);
}

.footer-contact .contact-item i {
    width: 24px;
    height: 24px;
    margin-right: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0066FF 0%, #00a8ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.footer-contact .contact-item a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #00a8ff;
}

/* 快速链接 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background: #0066FF;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00a8ff;
    padding-left: 25px;
}

.footer-links a:hover::before {
    left: 5px;
    background: #00a8ff;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.6);
}

/* 热门标签 */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 102, 255, 0.1);
    color: #cbd5e0;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(0, 102, 255, 0.3);
    font-weight: 500;
}

.tag-item:hover {
    background: linear-gradient(135deg, #0066FF 0%, #00a8ff 100%);
    color: #fff;
    border-color: #00a8ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
}

/* 订阅表单 */
.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-form .input-group {
    display: flex;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px 0 0 50px;
    height: 50px;
    flex: 1;
    font-size: 14px;
}

.newsletter-form .form-control::placeholder {
    color: #a0aec0;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: transparent;
    color: #fff;
    box-shadow: none;
    outline: none;
}

.newsletter-form .input-group-append {
    display: flex;
}

.newsletter-form .btn-primary {
    background: linear-gradient(135deg, #0066FF 0%, #00a8ff 100%);
    border: none;
    padding: 0 28px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 50px 50px 0;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.newsletter-form .btn-primary:hover {
    background: linear-gradient(135deg, #0052CC 0%, #0088cc 100%);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
}

.newsletter-form .btn-primary:focus {
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.5);
    outline: none;
}

.newsletter-form .btn-primary i {
    font-size: 18px;
}

/* 社交媒体图标 */
.social-links-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.social-icon.facebook:hover {
    background: #3b5998;
    border-color: #3b5998;
}

.social-icon.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

/* 底部版权 */
.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px 0;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    backdrop-filter: blur(10px);
}

.copyright-text,
.beian-text {
    margin: 0;
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.8;
}

.copyright-text a,
.beian-text a {
    color: #00a8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-text a:hover,
.beian-text a:hover {
    color: #0066FF;
    text-decoration: none;
}

/* ========================================
   侧边栏联系方式 - 右侧固定,统一蓝色调
   ======================================== */

.sidebar-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    cursor: pointer;
    overflow: visible;
}

.contact-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* 联系信息弹出框 */
.contact-info {
    position: absolute;
    right: 70px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    z-index: 1001;
}

.contact-info::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #34495e;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.contact-value {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
    font-size: 14px;
}

.copy-hint {
    display: block;
    font-size: 11px;
    color: #bdc3c7;
    font-style: italic;
}

/* 悬停和点击时显示联系信息 */
.contact-btn:hover .contact-info,
.contact-btn.active .contact-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.contact-btn:hover i {
    transform: scale(1.15);
}

/* 复制成功动画 */
.contact-btn.copied {
    animation: copySuccess 0.6s ease;
}

@keyframes copySuccess {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.contact-btn.copied i {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.3);
    }
}

/* 所有按钮统一蓝色调 */
.phone-btn,
.email-btn,
.whatsapp-btn,
.telegram-btn {
    background: #0066FF;
    color: #fff;
}

.phone-btn:hover,
.email-btn:hover,
.whatsapp-btn:hover,
.telegram-btn:hover {
    background: #0052CC;
}



/* 复制成功提示 */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    pointer-events: none;
}

.copy-toast i {
    font-size: 20px;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Back to Top - 右下角按钮,与侧边栏样式统一 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 0;
    width: 60px;
    height: 60px;
    background: #0066FF;
    color: #fff;
    border-radius: 0;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    text-decoration: none;
    /* 图标居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.back-to-top.show {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover {
    background: #0052CC;
    color: #fff;
    text-decoration: none;
    box-shadow: -3px 0 20px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: scale(1.15);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 0 40px;
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
    margin-bottom: 20px;
    font-size: 38px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.page-header .breadcrumb-item {
    color: #666;
}

.page-header .breadcrumb-item a {
    color: #0066FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: #0052CC;
}

.page-header .breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

/* Product Pages */
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-card .product-image {
    overflow: hidden;
    height: 200px;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .product-info {
    padding: 20px;
}

.product-card .product-info h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card .product-info h5 a {
    color: #333;
    text-decoration: none;
}

.product-card .product-info h5 a:hover {
    color: #007bff;
}

.product-model {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Product Detail */
.product-detail-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-price .price {
    font-size: 28px;
    color: #e74c3c;
    font-weight: 700;
}

/* News Pages */
.news-item {
    padding: 20px 0;
}

.news-item .news-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-item .news-image:hover img {
    transform: scale(1.05);
}

.news-meta {
    color: #666;
    font-size: 14px;
}

.news-meta span {
    margin-right: 15px;
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.news-item h3 a {
    color: #333;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #007bff;
}

.news-summary {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* News Detail Page */
.news-detail-section {
    padding: 60px 0 80px !important;
}

.news-article {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.news-article .news-meta {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.news-article .news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #666;
}

.news-article .news-meta i {
    color: #0066FF;
    font-size: 16px;
}

.news-article .news-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 45px;
}

.news-article .news-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
}

.news-article .news-summary {
    margin-bottom: 45px;
    padding: 35px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.news-article .news-summary::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 48px;
    color: #e0e0e0;
    font-family: Georgia, serif;
    line-height: 1;
}

.news-article .news-summary .lead {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.news-article .news-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 50px;
    min-height: 200px;
}

.news-article .news-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-article .news-content p {
    margin-bottom: 25px;
    line-height: 2;
}

.news-article .news-content h1,
.news-article .news-content h2,
.news-article .news-content h3,
.news-article .news-content h4,
.news-article .news-content h5,
.news-article .news-content h6 {
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #222;
}

.news-article .news-actions {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.news-article .news-actions .btn {
    padding: 14px 40px;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #fff;
    color: #0066FF;
    border: 2px solid #0066FF;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,102,255,0.15);
}

.news-article .news-actions .btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.news-article .news-actions .btn:hover {
    background: #0066FF;
    color: #fff;
    border-color: #0066FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,255,0.3);
}

.news-article .news-actions .btn:hover i {
    transform: translateX(-3px);
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.sidebar h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066FF;
    color: #222;
}

.related-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news-list li {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.related-news-list li:first-child {
    padding-top: 0;
}

.related-news-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-news-list li:hover {
    padding-left: 10px;
}

.related-news-list h6 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-news-list a {
    text-decoration: none;
}

.related-news-list a:hover h6 {
    color: #0066FF;
}

.related-news-list small {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-news-list small i {
    color: #0066FF;
}

/* Sidebar */
.sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.sidebar h4 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-list li a:hover,
.category-list li.active a {
    background: #007bff;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-slider {
        margin-top: -50px;
    }

    .banner-slider .carousel,
    .banner-slider .item {
        height: 300px;
    }

    .banner-slider .carousel-caption h2 {
        font-size: 28px;
    }

    .banner-slider .carousel-caption p {
        font-size: 16px;
    }

    .banner-slider .carousel-control {
        width: 40px;
        height: 40px;
    }

    .banner-slider .carousel-control.left {
        left: 10px;
    }

    .banner-slider .carousel-control.right {
        right: 10px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    /* Mobile Navigation */
    .mega-dropdown-menu {
        position: relative !important;
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px 15px;
    }

    .mega-dropdown-menu .category-column {
        width: 100%;
        margin-bottom: 20px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;
        min-height: auto;
    }

    .mega-dropdown-menu .category-column:last-child {
        border-bottom: none;
    }

    .search-bar .search-close {
        right: 5px;
    }
}



/* FAQ */
.faq-section {
    min-height: calc(100vh - 400px); /* 确保页面有足够高度,避免抖动 */
}

.faq-section .card {
    border: 1px solid #e0e0e0;
}

.faq-section .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.faq-section .btn-link {
    color: #333;
    text-decoration: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
}

.faq-section .btn-link:hover {
    color: #0066FF;
}

/* Contact Page */
.contact-info-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
}

.info-item .info-content h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form-box {
    background: white;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* About Page */
.about-section {
    padding: 70px 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 50px;
}

.about-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.about-intro .lead {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.about-content {
    margin-bottom: 30px;
}

.about-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0066FF;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.feature-box {
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #0066FF;
}

.feature-box i {
    color: #0066FF;
    transition: all 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

.feature-box h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.about-contact {
    border-radius: 8px;
    background: #f5f5f5;
}

.about-contact h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.about-contact .lead {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.about-contact .btn-primary {
    background: #0066FF;
    border-color: #0066FF;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.about-contact .btn-primary:hover {
    background: #0052CC;
    border-color: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
}

/* Related News */
.related-news-list {
    list-style: none;
    padding: 0;
}

.related-news-list li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.related-news-list li:last-child {
    border-bottom: none;
}

.related-news-list h6 {
    font-size: 16px;
    margin-bottom: 5px;
}

.related-news-list h6 a {
    color: #333;
    text-decoration: none;
}

.related-news-list h6 a:hover {
    color: #007bff;
}

/* Products Page */
.products-section {
    padding: 70px 0;
    background: #fff;
}

.sidebar {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066FF;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background: #fff;
    color: #0066FF;
    padding-left: 20px;
}

.category-list li.active a {
    background: #0066FF;
    color: #fff;
}

.category-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #0066FF;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 40px;
}

.product-card .product-info h5 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-info h5 a:hover {
    color: #0066FF;
}

.product-card .product-model {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.product-card .product-price {
    font-size: 20px;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 15px;
}

.product-card .btn {
    margin-top: auto;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.no-products {
    padding: 80px 0;
}

.no-products i {
    color: #ddd;
}

.pagination-wrapper {
    margin-top: 40px;
}

.pagination-wrapper .pagination {
    display: inline-flex;
}

.pagination-wrapper .pagination > li > a,
.pagination-wrapper .pagination > li > span {
    color: #666;
    border-color: #e0e0e0;
}

.pagination-wrapper .pagination > li > a:hover {
    background: #0066FF;
    border-color: #0066FF;
    color: #fff;
}

.pagination-wrapper .pagination > .active > a,
.pagination-wrapper .pagination > .active > span {
    background: #0066FF;
    border-color: #0066FF;
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail-section .main-image {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-detail-section .main-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-detail-section .image-gallery .img-thumbnail {
    height: 100px;
    width: 100%;
    object-fit: contain;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail-section .image-gallery .img-thumbnail:hover {
    transform: scale(1.05);
    border-color: #0066FF;
}

.product-detail-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.product-detail-info .product-model {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.product-detail-info .product-price {
    font-size: 18px;
    margin-bottom: 20px;
}

.product-detail-info .product-price .price {
    font-size: 32px;
    font-weight: 700;
    color: #0066FF;
}

.product-content {
    background: #fff;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.product-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066FF;
}

.product-content .content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* 富文本内容样式 */
.product-content .content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.product-content .content-body p {
    margin-bottom: 15px;
}

.product-content .content-body h1,
.product-content .content-body h2,
.product-content .content-body h3,
.product-content .content-body h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-content .content-body ul,
.product-content .content-body ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

/* ========================================
   Enhanced Product Detail Page
   ======================================== */

/* Product Title */
.product-detail-info .product-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-detail-info .product-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Product Parameters Card */
.product-params-card {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.product-params-card .param-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.product-params-card .param-item:last-child {
    border-bottom: none;
}

.product-params-card .param-label {
    font-weight: 600;
    color: #333;
    min-width: 150px;
    flex-shrink: 0;
}

.product-params-card .param-value {
    color: #666;
    flex: 1;
}

/* Contact Button */
.btn-contact {
    background: #0066FF;
    border-color: #0066FF;
    color: #fff;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #0052CC;
    border-color: #0052CC;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Product Tabs */
.product-tabs {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid #e5e5e5;
    padding: 0 20px;
    background: #f8f9fa;
}

.product-tabs .nav-tabs .nav-item {
    margin-bottom: -2px;
}

.product-tabs .nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    padding: 15px 30px;
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.product-tabs .nav-tabs .nav-link:hover {
    color: #0066FF;
    border-bottom-color: #0066FF;
}

.product-tabs .nav-tabs .nav-link.active {
    color: #0066FF;
    background: #fff;
    border-bottom-color: #0066FF;
}

.product-tabs .tab-content {
    padding: 30px;
}

.product-tabs .tab-pane-content {
    min-height: 300px;
}

/* Product Content Detail */
.product-content-detail h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.product-content-detail p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.product-content-detail ul,
.product-content-detail ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.product-content-detail ul li,
.product-content-detail ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.product-content-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

/* Specifications */
.specs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.specs-content table th,
.specs-content table td {
    padding: 12px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.specs-content table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.specs-content table td {
    color: #666;
}

/* FAQ Section */
.faq-section h4 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Related Products Grid */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066FF;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-product-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.related-product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #0066FF;
}

.related-product-item a {
    text-decoration: none;
    display: block;
}

.related-product-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 10px;
}

.related-product-name {
    padding: 15px;
    font-size: 14px;
    color: #333;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-item:hover .related-product-name {
    color: #0066FF;
}

/* Hot Tags */
.hot-tags {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.hot-tags strong {
    color: #333;
    margin-right: 15px;
    font-size: 16px;
}

.hot-tags .tag-item {
    display: inline-block;
    padding: 6px 15px;
    margin: 5px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hot-tags .tag-item:hover {
    background: #0066FF;
    border-color: #0066FF;
    color: #fff;
}

/* Image Gallery Thumbnails */
.gallery-thumb {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: #0066FF !important;
}

/* Responsive */
@media (max-width: 768px) {
    .product-params-card .param-item {
        flex-direction: column;
    }

    .product-params-card .param-label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-tabs .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
}

.product-content .content-body table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.product-content .content-body table th,
.product-content .content-body table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.product-content .content-body table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* ========================================
   首页优化样式
   ======================================== */

/* ========================================
   Bootstrap 轮播图样式优化
   现代、流畅、专业的设计
   ======================================== */

.banner-slider-modern {
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
}

.banner-slider-modern .carousel {
    height: 650px;
    background: #000;
}

.banner-slider-modern .carousel-inner,
.banner-slider-modern .item {
    height: 100%;
    background: #000;
}

/* 图片容器 */
.banner-slider-modern .banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.banner-slider-modern .banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 8s ease-out;
}

/* 图片缩放效果 - Ken Burns 效果 */
.banner-slider-modern .item.active .banner-image-wrapper img {
    transform: scale(1.1);
}

/* 遮罩层 */
.banner-slider-modern .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

/* 文字内容区域 - 底部居中 */
.banner-slider-modern .carousel-caption {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    padding: 30px;
    z-index: 10;
}

/* 文字内容 */
.banner-slider-modern .banner-content {
    max-width: 900px;
    margin: 0 auto;
}

.banner-slider-modern .banner-title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
    letter-spacing: -1px;
}

.banner-slider-modern .banner-subtitle {
    font-size: 22px;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    font-weight: 300;
}

.banner-slider-modern .banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 按钮样式 */
.banner-slider-modern .btn-modern {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.banner-slider-modern .btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.banner-slider-modern .btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.banner-slider-modern .btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.banner-slider-modern .btn-modern i {
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.banner-slider-modern .btn-modern:hover i {
    transform: translateX(5px);
}

.banner-slider-modern .btn-modern span {
    position: relative;
    z-index: 1;
}

.banner-slider-modern .btn-primary.btn-modern {
    background: linear-gradient(135deg, #E13124 0%, #c72a1f 100%);
    border: none;
    color: #fff;
}

.banner-slider-modern .btn-primary.btn-modern:hover {
    background: linear-gradient(135deg, #c72a1f 0%, #a82318 100%);
}

.banner-slider-modern .btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.banner-slider-modern .btn-outline-light:hover {
    background: #fff;
    color: #E13124;
    border-color: #fff;
}

/* ========================================
   轮播图控制按钮 - 现代设计
   ======================================== */

.banner-slider-modern .carousel-control {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-slider-modern:hover .carousel-control {
    opacity: 1;
}

.banner-slider-modern .carousel-control:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.banner-slider-modern .carousel-control.left {
    left: 30px;
}

.banner-slider-modern .carousel-control.right {
    right: 30px;
}

.banner-slider-modern .carousel-control-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-slider-modern .carousel-control-icon i {
    font-size: 24px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ========================================
   轮播图指示器 - 现代设计
   ======================================== */

.banner-slider-modern .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.banner-slider-modern .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    cursor: pointer;
}

.banner-slider-modern .carousel-indicators li:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.banner-slider-modern .carousel-indicators li.active {
    background: #fff;
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ========================================
   轮播图滑动效果 - 平滑过渡
   ======================================== */

.banner-slider-modern .carousel-inner > .item {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}



/* 数据统计区域 */
.stats-section {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 36px;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* 通用区块标题样式 */
.section-heading {
    font-size: 36px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066FF 0%, #0066FF 100%);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 产品分类卡片优化 */
.product-categories-modern {
    background: #fff;
}

.category-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.category-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f8f8;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-modern:hover .category-img {
    transform: scale(1.1);
}

.category-overlay {
    display: none;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.category-card-modern:hover .category-icon {
    transform: scale(1);
}

.category-icon i {
    font-size: 36px;
    color: #fff;
}

.category-info {
    padding: 25px 20px;
    text-align: center;
}

.category-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.category-btn-modern {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-btn-modern:hover {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.category-btn-modern i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.category-btn-modern:hover i {
    transform: translateX(5px);
}

/* 客户评价优化 */
.testimonials-modern {
    background: #F8F9FA;
}

.testimonial-card-modern {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: rgba(0, 102, 255, 0.1);
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #FFC107;
    font-size: 16px;
    margin-right: 2px;
}

.testimonial-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder i {
    font-size: 28px;
    color: #fff;
}

.author-info {
    flex: 1;
}

.customer-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.company-name {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 新闻卡片优化 */
.latest-news-modern {
    background: #fff;
}

.news-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.news-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f8f8;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-modern:hover .news-img {
    transform: scale(1.1);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E5E5E5 0%, #CCCCCC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder i {
    font-size: 64px;
    color: #999;
}

.news-badge {
    display: none; /* 隐藏新闻卡片左上角的图标 */
}

.news-badge i {
    display: none;
}

.news-content-modern {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #0066FF;
}

.news-summary {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0066FF;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-modern:hover {
    color: #0052CC;
    gap: 12px;
}

.read-more-modern i {
    transition: transform 0.3s ease;
}

.read-more-modern:hover i {
    transform: translateX(5px);
}

/* 按钮样式增强 */
.btn-lg.btn-modern {
    padding: 16px 40px;
    font-size: 18px;
}

/* 查看所有新闻按钮 - 新设计 */
.news-view-all-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 40px 0;
    position: relative;
}

.news-view-all-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0066ff, transparent);
}

.btn-view-all-news {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    background: transparent;
    border: 2px solid #0066ff;
    color: #0066ff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-view-all-news::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066ff, #00ccff);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-view-all-news:hover {
    color: #fff;
    border-color: #0066ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
    text-decoration: none;
}

.btn-view-all-news:hover::before {
    width: 300px;
    height: 300px;
}

.btn-view-all-news i {
    transition: transform 0.4s ease;
    font-size: 14px;
}

.btn-view-all-news:hover i {
    transform: translateX(5px);
}

.btn-view-all-news .news-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.btn-view-all-news:hover .news-count {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* 响应式设计 - 首页优化 */
@media (max-width: 992px) {
    .banner-title {
        font-size: 42px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-heading {
        font-size: 32px;
    }
}

/* ========================================
   响应式设计 - 平板
   ======================================== */

@media (max-width: 768px) {
    .banner-slider-modern .carousel {
        height: 500px;
    }

    .banner-slider-modern .carousel-caption {
        bottom: 60px;
        padding: 20px;
    }

    .banner-slider-modern .banner-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .banner-slider-modern .banner-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .banner-slider-modern .banner-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .banner-slider-modern .banner-buttons .btn-modern {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .banner-slider-modern .carousel-control {
        width: 50px;
        height: 50px;
    }

    .banner-slider-modern .carousel-control.left {
        left: 15px;
    }

    .banner-slider-modern .carousel-control.right {
        right: 15px;
    }

    .banner-slider-modern .carousel-control-icon i {
        font-size: 20px;
    }

    .banner-slider-modern .carousel-indicators {
        bottom: 20px;
    }

    .banner-slider-modern .carousel-indicators li {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .banner-slider-modern .carousel-indicators li.active {
        width: 30px;
    }
}

    .stats-section {
        padding: 40px 0;
        margin-top: -60px;
    }

    .stat-card {
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .section-heading {
        font-size: 28px;
    }

    .category-image-wrapper {
        height: 200px;
    }

    .news-image-wrapper {
        height: 200px;
    }
}

/* ========================================
   响应式设计 - 小屏手机
   ======================================== */

@media (max-width: 576px) {
    .banner-slider-modern .carousel {
        height: 400px;
    }

    .banner-slider-modern .carousel-caption {
        bottom: 40px;
        padding: 15px;
    }

    .banner-slider-modern .banner-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .banner-slider-modern .banner-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .banner-slider-modern .btn-modern {
        padding: 14px 28px;
        font-size: 14px;
        border-radius: 30px;
    }

    .banner-slider-modern .carousel-control {
        width: 45px;
        height: 45px;
    }

    .banner-slider-modern .carousel-control.left {
        left: 10px;
    }

    .banner-slider-modern .carousel-control.right {
        right: 10px;
    }

    .banner-slider-modern .carousel-control-icon i {
        font-size: 18px;
    }

    .banner-slider-modern .carousel-indicators {
        bottom: 15px;
    }

    .banner-slider-modern .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .banner-slider-modern .carousel-indicators li.active {
        width: 24px;
    }
}

    .banner-title {
        font-size: 24px;
    }

    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn-modern {
        padding: 12px 24px;
        font-size: 14px;
    }

    .stats-section {
        margin-top: -40px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon i {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }

    .section-heading {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }
}

/* ========================================
   产品列表页优化样式
   ======================================== */

/* 侧边栏优化 */
.sidebar-modern {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-widget {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: #0066FF;
    font-size: 20px;
}

.category-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-modern li {
    margin-bottom: 8px;
}

.category-list-modern li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.category-list-modern li a i {
    margin-right: 10px;
    color: #999;
    transition: color 0.3s ease;
}

.category-list-modern li a .count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.category-list-modern li a:hover {
    background: #F8F9FA;
    color: #0066FF;
    transform: translateX(5px);
}

.category-list-modern li a:hover i {
    color: #0066FF;
}

.category-list-modern li.active a {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
}

.category-list-modern li.active a i {
    color: #fff;
}

.category-list-modern li.active a .count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 筛选选项 */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.filter-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filter-checkbox:hover .checkmark {
    border-color: #0066FF;
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: #0066FF;
    border-color: #0066FF;
}

.filter-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.filter-checkbox .label-text {
    color: #666;
    font-size: 15px;
    transition: color 0.3s ease;
}

.filter-checkbox:hover .label-text {
    color: #0066FF;
}

/* 分类标题优化 */
.category-header-modern {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    padding: 30px;
    border-radius: 12px;
    color: #fff;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.category-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 工具栏 */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.toolbar-left .result-count {
    font-size: 15px;
    color: #666;
}

.toolbar-left .result-count strong {
    color: #0066FF;
    font-weight: 600;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 视图切换 */
.view-switcher {
    display: flex;
    gap: 5px;
    background: #f8f8f8;
    padding: 5px;
    border-radius: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: #e5e5e5;
    color: #0066FF;
}

.view-btn.active {
    background: #0066FF;
    color: #fff;
}

.view-btn i {
    font-size: 16px;
}

/* 排序下拉框 */
.sort-dropdown {
    flex-shrink: 0;
}

.sort-dropdown select,
.sort-dropdown select.form-control {
    padding: 10px 40px 10px 15px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #666 !important;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center !important;
    background-size: 12px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 180px !important;
    height: auto !important;
    min-height: 42px !important;
    line-height: 1.4 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

.sort-dropdown select:hover,
.sort-dropdown select.form-control:hover {
    border-color: #0066FF !important;
}

.sort-dropdown select:focus,
.sort-dropdown select.form-control:focus {
    outline: none !important;
    border-color: #0066FF !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1) !important;
}

/* 产品卡片优化 */
.products-grid-modern {
    margin-top: 0;
}

.product-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.product-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #f8f8f8;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .product-img {
    transform: scale(1.1);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E5E5E5 0%, #CCCCCC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder i {
    font-size: 80px;
    color: #999;
}

/* 产品标签 */
.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-badges .badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border-radius: 4px;
}

.badge-stock {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

/* 快速操作按钮 */
.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card-modern:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #0066FF;
    color: #fff;
    transform: scale(1.1);
}

.action-btn i {
    font-size: 18px;
}

/* 产品信息 */
.product-info-modern {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 50px;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: #0066FF;
}

.product-model {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-model i {
    color: #999;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: #999;
}

.stock-info {
    color: #28a745;
    font-weight: 600;
}

/* 价格 */
.product-price-wrapper {
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #0066FF;
    font-family: 'Arial', sans-serif;
}

.price-label {
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

.contact-price {
    font-size: 16px;
    color: #0066FF;
    font-weight: 600;
}

/* 产品底部 */
.product-footer {
    margin-top: auto;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover i {
    transform: translateX(5px);
}

/* 列表视图 */
.products-list-view .product-item {
    margin-bottom: 20px;
}

.product-card-modern.list-layout {
    flex-direction: row;
}

.product-card-modern.list-layout .product-image-wrapper {
    width: 300px;
    height: 250px;
    flex-shrink: 0;
}

.product-card-modern.list-layout .product-info-modern {
    flex: 1;
}

.product-card-modern.list-layout .product-title {
    min-height: auto;
}

.product-card-modern.list-layout .product-footer {
    margin-top: 20px;
}

.product-card-modern.list-layout .btn-view-details {
    width: auto;
}

/* 分页优化 */
.pagination-wrapper-modern {
    margin-top: 40px;
    text-align: center;
}

.pagination-wrapper-modern .pagination {
    display: inline-flex;
    gap: 8px;
}

.pagination-wrapper-modern .pagination li {
    list-style: none;
}

.pagination-wrapper-modern .pagination li a,
.pagination-wrapper-modern .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-wrapper-modern .pagination li a:hover {
    border-color: #0066FF;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.05);
}

.pagination-wrapper-modern .pagination li.active span {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-color: #0066FF;
    color: #fff;
}

.pagination-wrapper-modern .pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 空状态优化 */
.no-products-modern {
    padding: 80px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E5E5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 60px;
    color: #999;
}

.empty-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.empty-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* 响应式设计 - 产品列表页 */
@media (max-width: 992px) {
    .products-toolbar {
        flex-direction: column;
        gap: 15px;
    }

    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }

    .toolbar-right {
        justify-content: space-between;
    }

    .sort-dropdown select {
        min-width: auto;
        flex: 1;
    }

    .product-image-wrapper {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .sidebar-modern {
        margin-bottom: 20px;
    }

    .category-header-modern {
        padding: 20px;
    }

    .category-title {
        font-size: 24px;
    }

    .product-image-wrapper {
        height: 220px;
    }

    .product-title {
        font-size: 16px;
        min-height: auto;
    }

    .product-price {
        font-size: 24px;
    }

    .product-card-modern.list-layout {
        flex-direction: column;
    }

    .product-card-modern.list-layout .product-image-wrapper {
        width: 100%;
        height: 220px;
    }

    .product-card-modern.list-layout .btn-view-details {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .view-switcher {
        display: none;
    }

    .sort-dropdown select,
    .sort-dropdown select.form-control {
        font-size: 13px !important;
        padding: 8px 35px 8px 12px !important;
        width: 160px !important;
        min-height: 38px !important;
    }

    .product-badges {
        top: 10px;
        left: 10px;
    }

    .product-badges .badge {
        padding: 4px 8px;
        font-size: 11px;
    }

    .product-actions {
        display: none;
    }

    .product-info-modern {
        padding: 20px;
    }

    .product-title {
        font-size: 15px;
    }

    .product-price {
        font-size: 22px;
    }

    .btn-view-details {
        padding: 10px 20px;
        font-size: 13px;
    }

    .pagination-wrapper-modern .pagination li a,
    .pagination-wrapper-modern .pagination li span {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }
}

/* ========================================
   联系我们页面优化样式
   ======================================== */

/* 联系信息卡片 */
.contact-info-modern {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.info-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #F8F9FA;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 28px;
    color: #fff;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.phone-link,
.email-link {
    color: #0066FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
    color: #0052CC;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #0066FF;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: #0052CC;
    gap: 8px;
}

.info-link i {
    font-size: 13px;
}

/* 社交媒体 */
.social-media-modern {
    padding: 25px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E5E5 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 22px;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* WhatsApp和微信按钮使用统一蓝色主题 */
.wechat-btn {
    background: #0066FF;
}

.whatsapp-btn {
    background: #0066FF;
}

.linkedin-btn {
    background: linear-gradient(135deg, #0077B5 0%, #005E93 100%);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.youtube-btn {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

/* 工作时间 */
.business-hours {
    padding: 25px;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
}

.hours-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.hours-item .time {
    font-size: 14px;
    color: #0066FF;
    font-weight: 600;
}

/* 联系表单 */
.contact-form-modern {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-label i {
    color: #0066FF;
    font-size: 16px;
}

.form-label .required {
    color: #0066FF;
    margin-left: 3px;
}

.form-control-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control-modern:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-control-modern.error {
    border-color: #0066FF;
}

.form-control-modern::placeholder {
    color: #999;
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    display: block;
    color: #0066FF;
    font-size: 13px;
    margin-top: 5px;
}

/* 表单底部 */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-submit-modern {
    padding: 16px 40px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit-modern:hover {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.btn-submit-modern i {
    font-size: 18px;
}

.form-note {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-note i {
    color: #0066FF;
}

/* 成功消息 */
.success-message {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 1s ease-out;
}

.success-icon i {
    font-size: 50px;
    color: #fff;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h4 {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 16px;
    color: #666;
}

/* 响应式设计 - 联系我们页面 */
@media (max-width: 992px) {
    .contact-info-modern {
        margin-bottom: 30px;
    }

    .info-title {
        font-size: 24px;
    }

    .form-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-info-modern,
    .contact-form-modern {
        padding: 25px;
    }

    .info-card {
        padding: 20px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon i {
        font-size: 24px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit-modern {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-info-modern,
    .contact-form-modern {
        padding: 20px;
    }

    .info-title,
    .form-title {
        font-size: 22px;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .social-buttons {
        justify-content: center;
    }

    .form-control-modern {
        padding: 12px 15px;
        font-size: 14px;
    }

    .btn-submit-modern {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* ========================================
   关于我们页面优化样式
   ======================================== */

/* 公司介绍区域 */
.about-section-modern {
    padding: 60px 0;
    background: #fff;
}

.about-intro-modern {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.intro-content {
    padding: 40px;
}

.intro-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.intro-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-text {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.intro-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.intro-stats .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 5px;
}

.intro-stats .stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-image {
    position: relative;
    padding: 40px;
}

.intro-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.rounded-modern {
    border-radius: 4px;
}

.image-badge {
    position: absolute;
    bottom: 60px;
    right: 60px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-badge i {
    font-size: 24px;
}

.image-badge span {
    font-size: 14px;
    font-weight: 600;
}

/* 使命和愿景 */
.mission-vision-section {
    margin-bottom: 80px;
}

.mission-card,
.vision-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mission-card .card-icon {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
}

.vision-card .card-icon {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
}

.card-icon i {
    font-size: 32px;
    color: #fff;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.card-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.mission-list,
.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li,
.vision-list li {
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mission-list li i,
.vision-list li i {
    color: #28a745;
    font-size: 16px;
}

/* 发展历程时间轴 */
.timeline-section {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0066FF 0%, #0066FF 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-item:nth-child(even) .timeline-year {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.3);
}

.timeline-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: 0 40px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 为什么选择我们 */
.why-choose-section {
    margin-bottom: 80px;
}

.feature-card-modern {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF 0%, #0066FF 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-modern:hover::before {
    transform: scaleX(1);
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 36px;
    color: #0066FF;
    transition: color 0.3s ease;
}

.feature-card-modern:hover .feature-icon i {
    color: #fff;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

/* 资质证书 */
.certificates-section {
    margin-bottom: 80px;
}

.certificate-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.certificate-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.certificate-icon i {
    font-size: 32px;
    color: #fff;
}

.certificate-card h6 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.certificate-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* CTA区域 */
.about-cta-section {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: #fff;
    color: #0066FF;
}

.btn-cta-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: #0066FF;
    transform: translateY(-3px);
}

/* 响应式 - 关于我们页面 */
@media (max-width: 992px) {
    .intro-title {
        font-size: 28px;
    }

    .timeline-wrapper::before {
        left: 60px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-year {
        width: 100px;
        height: 100px;
        font-size: 20px;
    }

    .timeline-content {
        margin: 0 0 0 40px;
    }
}

@media (max-width: 768px) {
    .about-intro-modern {
        padding: 40px 0;
    }

    .intro-content {
        padding: 30px;
    }

    .intro-title {
        font-size: 24px;
    }

    .intro-stats {
        gap: 20px;
    }

    .intro-stats .stat-number {
        font-size: 24px;
    }

    .intro-image {
        padding: 30px;
    }

    .image-badge {
        bottom: 40px;
        right: 40px;
        padding: 15px 20px;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 18px;
    }

    .timeline-content {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .intro-stats {
        justify-content: space-between;
    }

    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }

    .timeline-wrapper::before {
        left: 40px;
    }

    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 16px;
    }

    .timeline-content {
        margin: 0 0 0 30px;
    }
}

/* ========================================
   FAQ页面优化样式
   ======================================== */

.faq-section-modern {
    padding: 60px 0;
    background: #F8F9FA;
}

/* 搜索框 */
.faq-search-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 15px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 55px;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-clear:hover {
    color: #333;
}

.search-hint {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 分类侧边栏 */
.faq-categories {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

.categories-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.category-item:hover {
    background: #F8F9FA;
}

.category-item.active {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
}

.category-item i {
    font-size: 18px;
    color: #0066FF;
}

.category-item.active i {
    color: #fff;
}

.category-item span:first-of-type {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.category-count {
    background: #e5e5e5;
    color: #666;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.category-item.active .category-count {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

/* 支持框 */
.faq-support-box {
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E5E5 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.faq-support-box i {
    font-size: 40px;
    color: #0066FF;
    margin-bottom: 15px;
}

.faq-support-box h6 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.faq-support-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.btn-support {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-support:hover {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* FAQ问答卡片 */
.faq-accordion-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #F8F9FA;
}

.faq-question[aria-expanded="true"] {
    background: #F8F9FA;
    border-bottom: 2px solid #f0f0f0;
}

.question-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.question-icon i {
    font-size: 24px;
    color: #fff;
}

.question-text {
    flex: 1;
}

.question-text h5 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.question-toggle {
    width: 30px;
    height: 30px;
    background: #F8F9FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.question-toggle i {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .question-toggle {
    background: #0066FF;
}

.faq-question[aria-expanded="true"] .question-toggle i {
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
}

.answer-content {
    padding: 25px 30px 25px 100px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.answer-content p {
    margin-bottom: 15px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.answer-helpful {
    padding: 20px 30px 25px 100px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.answer-helpful span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.btn-helpful {
    padding: 8px 20px;
    background: #F8F9FA;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-helpful:hover {
    background: #e5e5e5;
    border-color: #d0d0d0;
}

.btn-helpful.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    color: #fff;
}

.btn-helpful i {
    font-size: 14px;
}

.feedback-message {
    font-size: 13px;
    color: #28a745;
    font-weight: 500;
    margin-left: 10px;
}

/* 无结果 */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
}

.no-results i {
    font-size: 60px;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.no-results h4 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 15px;
    color: #666;
}

/* 响应式 - FAQ页面 */
@media (max-width: 992px) {
    .faq-categories {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .faq-search-box {
        padding: 30px 20px;
    }

    .search-input {
        padding: 16px 50px 16px 50px;
        font-size: 15px;
    }

    .faq-question {
        padding: 20px;
        gap: 15px;
    }

    .question-icon {
        width: 40px;
        height: 40px;
    }

    .question-icon i {
        font-size: 20px;
    }

    .question-text h5 {
        font-size: 16px;
    }

    .answer-content {
        padding: 20px 20px 20px 75px;
        font-size: 14px;
    }

    .answer-helpful {
        padding: 15px 20px 20px 75px;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 15px;
        gap: 12px;
    }

    .question-icon {
        width: 35px;
        height: 35px;
    }

    .question-icon i {
        font-size: 18px;
    }

    .question-text h5 {
        font-size: 15px;
    }

    .answer-content {
        padding: 15px;
        font-size: 14px;
    }

    .answer-helpful {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-helpful {
        padding: 6px 16px;
        font-size: 12px;
    }

    /* Footer 响应式 */
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-tags {
        gap: 6px;
    }

    .tag-item {
        padding: 5px 12px;
        font-size: 12px;
    }

    /* 侧边栏联系方式 - 移动端 */
    .sidebar-contact {
        position: fixed;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        padding: 0;
    }

    .contact-btn {
        width: 20%;
        height: 50px;
        border-radius: 0;
    }

    .contact-btn i {
        font-size: 18px;
    }

    .contact-info {
        display: none;
    }

    /* 移动端复制提示 */
    .copy-toast {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* 移动端统一蓝色 */
    .phone-btn,
    .email-btn,
    .whatsapp-btn,
    .telegram-btn {
        background: #0066FF;
        color: #fff;
    }

    /* 回到顶部按钮 - 移动端 */
    .back-to-top {
        bottom: 70px;
        right: 0;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}
}


/* Product Gallery Styles */
.product-gallery-container .lSSlideOuter .lSPager.lSGallery {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.product-gallery-container .lSSlideOuter .lSPager.lSGallery li {
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}
.product-gallery-container .lSSlideOuter .lSPager.lSGallery li.active,
.product-gallery-container .lSSlideOuter .lSPager.lSGallery li:hover {
    border-color: #007bff; /* Theme color */
}

/* Fixed size for product gallery images */
.product-gallery-container .lSSlideOuter .lSSlideWrapper {
    border: 1px solid #eee;
    border-radius: 4px;
}

.product-gallery-container #image-gallery li img {
    height: 450px;
    width: 100%;
    object-fit: contain; /* Ensures the whole image is visible */
}

.product-gallery-container .lSSlideOuter .lSPager.lSGallery li {
    width: 80px !important;
    height: 80px !important;
}

.product-gallery-container .lSSlideOuter .lSPager.lSGallery li img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Fills the thumbnail area */
}

.product-gallery-container #image-gallery li {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 防止lightSlider初始化前的闪动 - 初始隐藏图片库 */
#image-gallery {
    opacity: 0;
    visibility: hidden;
    min-height: 450px; /* 预留空间防止布局跳动 */
}

/* lightSlider初始化后显示 */
#image-gallery.lightSlider {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* ========================================
   3级分类 Mega Menu 样式
   ======================================== */

/* 分类列容器 */
.product-category-column {
    flex: 0 0 200px;
    min-width: 180px;
    padding: 0 15px;
    border-right: 1px solid #f0f0f0;
}

.product-category-column:last-child {
    border-right: none;
}

/* 品牌标题（一级分类） */
.product-category-column .brand-title {
    font-size: 15px;
    font-weight: 700;
    color: #0066FF;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #0066FF;
}

.product-category-column .brand-title a {
    color: #0066FF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-category-column .brand-title a:hover {
    color: #0052CC;
}

/* 系列列表（二级分类） */
.product-category-column .series-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-category-column .series-item {
    margin-bottom: 8px;
}

.product-category-column .series-item > a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.product-category-column .series-item > a:hover {
    color: #0066FF;
    padding-left: 5px;
}

/* More Series 链接样式 */
.product-category-column .series-item.more-series > a {
    color: #0066FF;
    font-weight: 600;
    font-style: italic;
}

.product-category-column .series-item.more-series > a:hover {
    color: #0052CC;
}

/* 调整 mega menu 宽度以适应更多列 */
.mega-dropdown-menu {
    width: 900px !important;
    max-width: 900px;
}

.mega-dropdown-content {
    padding: 20px 15px;
}

.product-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* 每行显示4个品牌 */
.product-category-column {
    flex: 0 0 25%;
    max-width: 25%;
    min-width: auto;
    box-sizing: border-box;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .mega-dropdown-menu {
        width: 100% !important;
        max-width: none;
        min-width: auto;
        left: 0 !important;
        transform: none !important;
    }

    .product-categories-grid {
        flex-wrap: wrap;
    }

    .product-category-column {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        min-width: auto;
        margin-bottom: 20px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }

    .product-category-column:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .product-category-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ========================================
   产品列表页 - 3级分类侧边栏样式
   ======================================== */

/* 分类树容器 */
.category-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 分类项通用样式 - 重置通用 .category-item 的样式 */
.category-tree .category-item {
    margin-bottom: 4px;
    padding: 0;
    gap: 0;
    background: transparent;
}

/* 分类头部（包含链接和展开按钮） */
.category-tree .category-header {
    display: flex;
    align-items: center;
    position: relative;
}

/* 分类链接 - 居中对齐，固定宽度 */
.category-tree .category-item .category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    gap: 10px;
    text-align: center;
}

.category-tree .category-item .category-link:hover {
    background: #f5f7fa;
    color: #0066FF;
}

/* 隐藏分类图标 */
.category-tree .category-item .category-link i {
    display: none;
}

.category-tree .category-item .category-link .category-name {
    flex: 0 1 auto;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    text-align: center;
}

.category-tree .category-item .category-link .count {
    flex-shrink: 0;
    background: #f0f0f0;
    color: #888;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    min-width: 28px;
    text-align: center;
    line-height: 1;
}

/* 展开/折叠按钮 */
.category-tree .toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s ease;
    border-radius: 4px;
    position: absolute;
    right: 5px;
}

.category-tree .toggle-icon:hover {
    background: #e8e8e8;
    color: #666;
}

.category-tree .toggle-icon i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

/* 展开状态 */
.category-tree .category-item.expanded > .category-header .toggle-icon i {
    transform: rotate(180deg);
}

/* 一级分类样式 */
.category-tree .category-item.level-1 > .category-link {
    font-weight: 500;
    color: #333;
}

/* 选中状态 - 使用更高优先级 */
.category-tree .category-item.level-1.active > .category-link {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #fff !important;
}

.category-tree .category-item.level-1.active > .category-link .category-name {
    color: #fff !important;
}

.category-tree .category-item.level-1.active > .category-link .count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
}

/* ========================================
   二级分类标签区域（右侧产品区域顶部）
   ======================================== */
.subcategory-tabs-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e8e8e8;
}

.subcategory-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subcategory-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.subcategory-tab:hover {
    background: #0066FF;
    border-color: #0066FF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
    text-decoration: none;
}

.subcategory-tab.active {
    background: #0066FF;
    border-color: #0066FF;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.subcategory-tab i {
    margin-right: 6px;
}

.subcategory-tab .tab-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.subcategory-tab.active .tab-count,
.subcategory-tab:hover .tab-count {
    background: rgba(255, 255, 255, 0.2);
}

/* 响应式 */
@media (max-width: 991px) {
    .category-tree .category-link {
        padding: 8px 10px;
        font-size: 13px;
    }

    .subcategory-tabs-wrapper {
        padding: 12px;
    }

    .subcategory-tabs {
        gap: 8px;
    }

    .subcategory-tab {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .subcategory-tabs {
        gap: 6px;
    }

    .subcategory-tab {
        padding: 5px 10px;
        font-size: 12px;
    }

    .subcategory-tab .tab-count {
        display: none;
    }
}

