:root {
    --primary: #0a4da2;
    --primary-light: #0d5fc4;
    --secondary: #ff6b00;
    --secondary-light: #ff8533;
    --dark: #1a2b4d;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border-color: #e9ecef;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.14);
    --transition-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============ 产品分类区块 ============ */
.product-category-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.product-category-section:nth-child(odd) {
    background: #ffffff;
}
.product-category-section:nth-child(even) {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.product-category-section::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(10, 77, 162, 0.025);
    top: -80px;
    right: -100px;
    pointer-events: none;
}
.product-category-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.02);
    bottom: -60px;
    left: -70px;
    pointer-events: none;
}

/* 分类标题 */
.category-header {
    margin-bottom: 45px;
    position: relative;
    z-index: 1;
}
.category-header .category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(10, 77, 162, 0.2);
}
.category-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.category-header .category-divider {
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    margin-top: 10px;
}
.category-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
    margin-top: 10px;
}

/* ============ 产品卡片（统一新结构） ============ */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: #dce5f0;
    z-index: 5;
}
.product-card .card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f4f6f9;
    flex-shrink: 0;
}
.product-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .card-img-wrap img {
    transform: scale(1.08);
}
.product-card .card-img-overlay-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}
.product-card:hover .card-img-overlay-stripe {
    transform: scaleX(1);
}
.product-card .card-body-content {
    padding: 22px 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card .card-body-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.product-card .card-body-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.25s ease;
}
.product-card .card-body-content h3 a:hover {
    color: var(--primary);
}
.product-card .card-body-content .card-desc {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}
.product-card .card-body-content .btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.product-card .card-body-content .btn-view i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}
.product-card:hover .card-body-content .btn-view {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}
.product-card:hover .card-body-content .btn-view i {
    transform: translateX(4px);
}

/* 响应式调整 */
@media (max-width: 991px) {
    .product-category-section {
        padding: 40px 0;
    }
    .category-header h2 {
        font-size: 1.6rem;
    }
    .product-card .card-img-wrap {
        height: 180px;
    }
}
@media (max-width: 767px) {
    .product-category-section {
        padding: 30px 0;
    }
    .category-header {
        margin-bottom: 28px;
    }
    .category-header h2 {
        font-size: 1.4rem;
    }
    .product-card .card-img-wrap {
        height: 200px;
    }
    .product-card .card-body-content {
        padding: 16px 14px 14px;
    }
    .product-card .card-body-content h3 {
        font-size: 0.95rem;
    }
}
@media (max-width: 575px) {
    .product-card .card-img-wrap {
        height: 220px;
    }
}

/* ============ 面包屑导航 ============ */
.breadcrumbs {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 14px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}
.breadcrumbs .breadcrumbs-container {
    font-size: 0.9rem;
    font-weight: 500;
}
.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: var(--secondary);
}
.breadcrumbs .separator {
    margin: 0 10px;
    color: #c0c7cf;
    font-size: 0.7rem;
}
.breadcrumbs .current {
    color: var(--dark);
    font-weight: 600;
}

/* 页面顶部介绍 */
.products-hero {
    background: linear-gradient(160deg, #ffffff 0%, #f0f4f9 50%, #e8edf5 100%);
    padding: 50px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.products-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(10, 77, 162, 0.03);
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.products-hero .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}
.products-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}
@media (max-width: 767px) {
    .products-hero {
        padding: 32px 0 28px;
    }
    .products-hero .hero-title {
        font-size: 1.8rem;
    }
    .products-hero .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* ============ 右侧悬浮按钮组（优化对齐） ============ */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.floating-buttons > a:first-child {
    margin-bottom: 18px;
}
.floating-buttons > * {
    pointer-events: auto;
}

.floating-email,
.back-to-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(10, 77, 162, 0.3);
    transition: all 0.35s ease;
    position: relative;
    margin: 0;
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
}

.floating-email {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}
.floating-email i {
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}

.back-to-top {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}
.back-to-top i {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.floating-email:hover,
.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 10px 28px rgba(255, 107, 0, 0.4);
}

.floating-email::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(10, 77, 162, 0.45);
    animation: emailPulse 2.2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}
.floating-email::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    border: 1.5px solid rgba(10, 77, 162, 0.25);
    animation: emailPulse 2.2s ease-in-out 0.55s infinite;
    pointer-events: none;
    z-index: -1;
}
@keyframes emailPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}
.floating-email:hover::before,
.floating-email:hover::after {
    animation: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.floating-email .email-tooltip {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.floating-email .email-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--dark);
}
.floating-email:hover .email-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 767px) {
    .floating-buttons {
        right: 16px;
        bottom: 20px;
    }
    .floating-email,
    .back-to-top {
        width: 42px;
        height: 42px;
    }
    .floating-email i {
        font-size: 1rem;
    }
    .back-to-top i {
        font-size: 0.9rem;
    }
    .floating-email .email-tooltip {
        right: 50px;
        font-size: 0.72rem;
        padding: 6px 10px;
    }
}

/* ============ 其他组件和布局样式 ============ */
.header-top {
    background-color: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}
.header-top a {
    color: white;
    text-decoration: none;
}
.header-top-right {
    text-align: right;
}
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}
.navbar-brand img {
    height: 50px;
    width: auto;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 10px;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--secondary);
}
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}
.dropdown-item {
    padding: 8px 20px;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background-color: #e1e5ed;
    color: var(--primary);
}
.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary:hover {
    background-color: #e55a00;
    border-color: #e55a00;
    transform: translateY(-2px);
}
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}
.footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #b0b7c3;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #b0b7c3;
    font-size: 0.9rem;
}
.mega-menu {
    padding: 20px !important;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
}
.mega-menu .dropdown-item {
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    margin-bottom: 2px;
    font-size: 0.9rem;
}
.mega-menu .dropdown-item:hover {
    background-color: #f0f7ff;
    color: var(--primary);
    transform: translateX(5px);
}
@media (max-width: 991px) {
    .header-top-right {
        text-align: left;
        margin-top: 10px;
    }
    .mega-menu {
        width: 100% !important;
        min-width: auto !important;
        left: 0 !important;
    }
    .mega-menu .row {
        margin: 0;
    }
    .mega-menu .col-md-3 {
        margin-bottom: 15px;
    }
}