﻿/* ===== 全局重置 ===== */
html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 76px !important;
    overflow-x: clip;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f0f6fc;
    color: #0a2a44;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== 导航栏（固定顶部） ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 4%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 2000;
    box-shadow: 0 2px 20px rgba(0, 40, 80, 0.08);
    flex-wrap: nowrap;
    margin: 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
}

.logo-img {
    height: 48px;
    width: auto;
    vertical-align: middle;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 900;
    color: #0a2a44;
    white-space: nowrap;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.05);
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #0a2a44;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    color: #1a3a5c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #1a7fc4;
}

.nav-links a.nav-active {
    color: #1a7fc4;
    font-weight: 700;
    position: relative;
}
.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a7fc4;
    border-radius: 3px;
}

.nav-links .nav-cta {
    padding: 0.3rem 1.1rem;
    background: #1a7fc4;
    color: #fff !important;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    animation: ctaMildPulse 2.4s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(26, 127, 196, 0.3);
    position: relative;
}

.nav-links .nav-cta::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 33px;
    background: rgba(26, 127, 196, 0.1);
    z-index: -1;
    animation: ctaMildGlow 2.4s ease-in-out infinite;
}

.nav-links .nav-cta:hover {
    transform: scale(1.04);
    animation: none;
    background: #0a6fb4;
    box-shadow: 0 8px 30px rgba(26, 127, 196, 0.55);
}

.nav-links .nav-cta:hover::after {
    animation: none;
    opacity: 0;
}

@keyframes ctaMildPulse {
    0% { transform: scale(1); background: #1a7fc4; box-shadow: 0 2px 8px rgba(26, 127, 196, 0.3); }
    50% { transform: scale(1.035); background: #2a8fd4; box-shadow: 0 8px 30px rgba(26, 127, 196, 0.55); }
    100% { transform: scale(1); background: #1a7fc4; box-shadow: 0 2px 8px rgba(26, 127, 196, 0.3); }
}

@keyframes ctaMildGlow {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.12); opacity: 0; }
    100% { transform: scale(1); opacity: 0.3; }
}

.phone-item {
    margin-left: 0.2rem;
}

.phone-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    color: #FFFFFF !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
    letter-spacing: 0.3px;
    white-space: nowrap;
    animation: phoneMildPulse 2.4s ease-in-out 0.4s infinite;
    position: relative;
}

.phone-btn::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 33px;
    background: rgba(255, 69, 0, 0.1);
    z-index: -1;
    animation: phoneMildGlow 2.4s ease-in-out 0.4s infinite;
}

.phone-btn:hover {
    transform: scale(1.04);
    animation: none;
    background: linear-gradient(135deg, #FF7A4A, #FF4500);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.55);
}

.phone-btn:hover::after {
    animation: none;
    opacity: 0;
}

@keyframes phoneMildPulse {
    0% { transform: scale(1); background: linear-gradient(135deg, #FF6B35, #FF4500); box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3); }
    50% { transform: scale(1.035); background: linear-gradient(135deg, #FF7A4A, #FF5500); box-shadow: 0 8px 30px rgba(255, 69, 0, 0.55); }
    100% { transform: scale(1); background: linear-gradient(135deg, #FF6B35, #FF4500); box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3); }
}

@keyframes phoneMildGlow {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.12); opacity: 0; }
    100% { transform: scale(1); opacity: 0.3; }
}

/* ============================================================ */
/* ===== 锚点跳转防遮挡（新增） ===== */
/* ============================================================ */
#home,
#categories,
#products,
#about,
#contact,
#searchSection {
    scroll-margin-top: 90px;
}

/* ============================================================ */
/* ===== 顶部搜索栏（z-index 抬高，防止下拉被导航栏遮挡） ===== */
/* ============================================================ */
.search-section {
    padding: 0.8rem 0 0.5rem;
    background: linear-gradient(135deg, #E8F4FD 0%, #B3D9F7 40%, #7BB8E8 100%);
    margin-top: 0;
    padding-top: 0.8rem;
    overflow: visible;
    position: relative;
    z-index: 1100;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 5%;
    position: relative;
    z-index: 1101;
}

.search-box-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1102;
}

.search-box {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(26, 127, 196, 0.2);
    overflow: hidden;
    transition: box-shadow 0.3s, border-radius 0.3s;
    height: 48px;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.search-box.open {
    border-radius: 24px 24px 0 0;
    box-shadow: 0 4px 30px rgba(26, 127, 196, 0.35);
}

.search-box:focus-within {
    box-shadow: 0 4px 30px rgba(26, 127, 196, 0.35);
}

.search-icon {
    padding: 0 0 0 18px;
    font-size: 1.1rem;
    color: #4a6a8a;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0 0.8rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: #0a2a44;
    background: transparent;
    min-width: 0;
    cursor: pointer;
}

.search-input::placeholder {
    color: #8aaccc;
}

.search-dropdown-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #4a6a8a;
    font-size: 0.7rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.search-box.open .search-dropdown-arrow {
    transform: rotate(180deg);
}

.search-btn {
    padding: 0 1.8rem;
    background: linear-gradient(135deg, #1a7fc4, #4a9fd8);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
    flex-shrink: 0;
    outline: none;
    margin: 0;
    border-radius: 0;
    line-height: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(135deg, #0a6fb4, #3a8fc8);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 12px 40px rgba(0, 40, 80, 0.18);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 1103;
    padding: 0;
    text-align: left;
}

.search-dropdown.open {
    max-height: 700px;
    padding: 12px 0 16px;
    overflow-y: auto;
}

.search-dropdown-inner {
    display: flex;
    gap: 0;
}

.search-dropdown-col {
    flex: 1;
    padding: 4px 0;
}

.search-dropdown-col-left {
    flex: 1.1;
    border-right: 1px solid #f0f4f8;
}

.search-dropdown-col-right {
    flex: 0.9;
    background: #fafcfe;
    padding: 4px 12px;
}

.search-dropdown-group {
    padding: 4px 0;
}

.search-dropdown-group + .search-dropdown-group {
    border-top: 1px solid #f0f4f8;
    margin-top: 4px;
    padding-top: 8px;
}

.search-dropdown-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8aaccc;
    padding: 6px 20px 4px;
    letter-spacing: 0.5px;
}

.search-dropdown-item {
    padding: 9px 20px;
    font-size: 0.9rem;
    color: #1a3a5c;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-dropdown-item:hover {
    background: #f0f6fc;
    color: #1a7fc4;
    padding-left: 26px;
}

.search-dropdown-item:active {
    background: #e4f0fb;
}

.search-dropdown-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px 8px;
}

.search-keyword {
    display: inline-block;
    padding: 4px 12px;
    background: white;
    border: 1px solid #dce8f5;
    border-radius: 16px;
    font-size: 0.75rem;
    color: #1a3a5c;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-keyword:hover {
    background: #1a7fc4;
    color: white;
    border-color: #1a7fc4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 127, 196, 0.25);
}

.search-keyword:active {
    transform: scale(0.96);
}

.search-dropdown::-webkit-scrollbar {
    width: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #d0d8e0;
    border-radius: 4px;
}

/* ============================================================ */
/* ===== 快速筛选标签 ===== */
/* ============================================================ */
.search-tags-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 0.5rem;
    padding: 0 0 4px 0;
    box-sizing: border-box;
}

.search-tags-wrapper::-webkit-scrollbar {
    display: none;
}

.search-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: flex-start;
    align-items: center;
    min-width: max-content;
    padding: 0 4%;
}

.search-tag {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #0a2a44;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-tag:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-tag.active-tag {
    background: #1a7fc4;
    color: white;
    border-color: #1a7fc4;
}

.search-tag.search-tag-custom {
    background: linear-gradient(135deg, #5b5bd6, #7c7ce6);
    color: white;
    border-color: #5b5bd6;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(91, 91, 214, 0.3);
}
.search-tag.search-tag-custom:hover {
    background: linear-gradient(135deg, #4a4ac4, #6c6cd8);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(91, 91, 214, 0.5);
}

/* ============================================================ */
/* ===== 配件中心 - 橘黄色高亮 ===== */
/* ============================================================ */

.search-dropdown-item.search-dropdown-item-acc {
    background: linear-gradient(135deg, #FFF4E6, #FFE0B3);
    color: #A84A00;
    font-weight: 700;
    border-left: 3px solid #FF6B35;
    position: relative;
}
.search-dropdown-item.search-dropdown-item-acc:hover {
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    color: white;
    padding-left: 26px;
}
.search-dropdown-item.search-dropdown-item-acc::after {
    content: 'HOT';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #FF4500;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.search-dropdown-item.search-dropdown-item-acc:hover::after {
    background: white;
    color: #FF4500;
}

.search-dropdown-item.search-dropdown-item-custom {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #4a4ab8;
    font-weight: 700;
    border-left: 3px solid #5b5bd6;
    position: relative;
}
.search-dropdown-item.search-dropdown-item-custom:hover {
    background: linear-gradient(135deg, #5b5bd6, #7c7ce6);
    color: white;
    padding-left: 26px;
}
.search-dropdown-item.search-dropdown-item-custom::after {
    content: '定制';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #5b5bd6;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.search-dropdown-item.search-dropdown-item-custom:hover::after {
    background: white;
    color: #5b5bd6;
}

.search-dropdown-item.search-dropdown-item-tech {
    background: linear-gradient(135deg, #e8f9ef, #d0f0de);
    color: #0a6a3a;
    font-weight: 700;
    border-left: 3px solid #07c160;
    position: relative;
}
.search-dropdown-item.search-dropdown-item-tech:hover {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: white;
    padding-left: 26px;
}
.search-dropdown-item.search-dropdown-item-tech::after {
    content: 'NEW';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #07c160;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.search-dropdown-item.search-dropdown-item-tech:hover::after {
    background: white;
    color: #07c160;
}

.search-keyword.search-keyword-acc {
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    color: white;
    border-color: #FF4500;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
    animation: accKeywordPulse 2s ease-in-out infinite;
}
.search-keyword.search-keyword-acc:hover {
    background: linear-gradient(135deg, #FF4500, #E63E00);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(255, 69, 0, 0.5);
}
@keyframes accKeywordPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3); }
    50% { box-shadow: 0 4px 16px rgba(255, 69, 0, 0.6); }
}

.search-keyword.search-keyword-custom {
    background: linear-gradient(135deg, #5b5bd6, #7c7ce6);
    color: white;
    border-color: #5b5bd6;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(91, 91, 214, 0.3);
}
.search-keyword.search-keyword-custom:hover {
    background: linear-gradient(135deg, #4a4ac4, #6c6cd8);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(91, 91, 214, 0.5);
}

.search-keyword.search-keyword-tech {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: white;
    border-color: #07c160;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(7, 193, 96, 0.3);
}
.search-keyword.search-keyword-tech:hover {
    background: linear-gradient(135deg, #06ad56, #059a4d);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(7, 193, 96, 0.5);
}

.filter-btn.filter-btn-acc {
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    color: white;
    border-color: #FF4500;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.25);
    position: relative;
}
.filter-btn.filter-btn-acc::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF4500;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 69, 0, 0.4);
}
.filter-btn.filter-btn-acc:hover {
    background: linear-gradient(135deg, #FF4500, #E63E00);
    color: white;
    border-color: #FF4500;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(255, 69, 0, 0.5);
}

.filter-btn.filter-btn-custom {
    background: linear-gradient(135deg, #5b5bd6, #7c7ce6);
    color: white;
    border-color: #5b5bd6;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(91, 91, 214, 0.25);
    position: relative;
}
.filter-btn.filter-btn-custom::after {
    content: '定制';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #5b5bd6;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(91, 91, 214, 0.4);
}
.filter-btn.filter-btn-custom:hover {
    background: linear-gradient(135deg, #4a4ac4, #6c6cd8);
    color: white;
    border-color: #5b5bd6;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(91, 91, 214, 0.5);
}

.filter-btn.filter-btn-d3 {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border-color: #f39c12;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.25);
    position: relative;
}
.filter-btn.filter-btn-d3::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e67e22;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.4);
}
.filter-btn.filter-btn-d3:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    border-color: #e67e22;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.5);
}

/* ★★★ 小推车式筛选按钮 ★★★ */
.filter-btn.filter-btn-cart {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #2980b9;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.25);
    position: relative;
}
.filter-btn.filter-btn-cart::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2980b9;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(41, 128, 185, 0.4);
}
.filter-btn.filter-btn-cart:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    color: white;
    border-color: #2980b9;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
}

/* ============================================================ */
/* ===== 首页主视觉 ===== */
/* ============================================================ */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5% 3rem;
    position: relative;
    background: linear-gradient(135deg, #E8F4FD 0%, #B3D9F7 40%, #7BB8E8 100%);
    color: #0a2a44;
    z-index: 1;
}

.hero-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #0a2a44;
    text-shadow: 0 2px 10px rgba(255,255,255,0.3);
}

.subtitle {
    font-size: 1.4rem;
    color: #1a5a8a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.description {
    font-size: 1.1rem;
    color: #2a4a6a;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #0a7fc4;
}

.stat-label {
    font-size: 0.9rem;
    color: #2a5a7a;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: linear-gradient(135deg, #1a7fc4, #4a9fd8);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(26, 127, 196, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(26, 127, 196, 0.45);
}

/* ============================================================ */
/* ===== 产品分类 ===== */
/* ============================================================ */
.categories {
    padding: 3rem 5%;
    background: white;
}

.categories h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #0a2a44;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.category-card {
    background: #f5f9ff;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.category-card:hover,
.category-card:focus {
    border-color: #1a7fc4;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 127, 196, 0.08);
    outline: none;
    z-index: 50;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 100vw;
    height: 28px;
    background: transparent;
    pointer-events: none;
    z-index: 40;
}

.category-card:hover::after,
.category-card.cat-open::after {
    pointer-events: auto;
}

.category-icon {
    font-size: 2.2rem;
    color: #1a7fc4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 0.3rem;
    transition: transform 0.3s, color 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.15);
}

.category-card[data-cat="ccd"] .category-icon { color: #1a7fc4; }
.category-card[data-cat="uv"] .category-icon { color: #5b5bd6; }
.category-card[data-cat="fiber"] .category-icon { color: #f39c12; }
.category-card[data-cat="co2"] .category-icon { color: #e74c3c; }
.category-card[data-cat="green"] .category-icon { color: #07c160; }
.category-card[data-cat="cutter"] .category-icon { color: #e67e22; }
.category-card[data-cat="welder"] .category-icon { color: #3498db; }
.category-card[data-cat="flying"] .category-icon { color: #5b5bd6; }
.category-card[data-cat="cart"] .category-icon { color: #3498db; }
.category-card[data-cat="d3"] .category-icon { color: #f39c12; }

.category-card h3 {
    font-size: 1rem;
    color: #0a2a44;
    margin: 0.4rem 0;
}

.category-card p {
    font-size: 0.8rem;
    color: #4a6a8a;
}

.count {
    display: inline-block;
    padding: 0.05rem 0.7rem;
    background: #1a7fc4;
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-top: 0.4rem;
}

.category-card.category-accessories {
    background: linear-gradient(135deg, #fff4e6, #ffe0b3);
    border: 2px solid #FF6B35;
    position: relative;
    overflow: hidden;
}
.category-card.category-accessories::before {
    content: 'NEW';
    position: absolute;
    top: 8px;
    right: -24px;
    background: #FF4500;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 28px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(255, 69, 0, 0.3);
}
.category-card.category-accessories .category-icon {
    color: #FF6B35;
}
.category-card.category-accessories .count {
    background: #FF6B35;
}
.category-card.category-accessories:hover {
    border-color: #FF4500;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}
.category-card.category-accessories:hover .category-icon {
    transform: scale(1.15) rotate(-8deg);
}

.category-card.category-custom {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border: 2px solid #5b5bd6;
    position: relative;
    overflow: hidden;
}
.category-card.category-custom::before {
    content: '定制';
    position: absolute;
    top: 8px;
    right: -24px;
    background: #5b5bd6;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 28px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(91, 91, 214, 0.35);
}
.category-card.category-custom .category-icon {
    color: #5b5bd6;
}
.category-card.category-custom .count {
    background: #5b5bd6;
}
.category-card.category-custom:hover {
    border-color: #4a4ac4;
    box-shadow: 0 10px 30px rgba(91, 91, 214, 0.25);
}
.category-card.category-custom:hover .category-icon {
    transform: scale(1.15) rotate(-8deg);
}

/* ============================================================ */
/* ===== 下拉菜单 ===== */
/* ============================================================ */

.cat-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    background: linear-gradient(180deg, #e8f4fd 0%, #d4e8f7 100%);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(26, 127, 196, 0.28), 0 4px 12px rgba(26, 127, 196, 0.12);
    border: 2px solid #1a7fc4;
    padding: 16px 18px;
    display: flex;
    gap: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, margin-top 0.25s ease;
    z-index: 100;
    max-width: 90vw;
    text-align: left;
    margin-top: 0;
}

.cat-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #e8f4fd;
    border-left: 2px solid #1a7fc4;
    border-top: 2px solid #1a7fc4;
    border-radius: 3px 0 0 0;
    z-index: 1;
}

.category-card:hover .cat-dropdown,
.category-card.cat-open .cat-dropdown {
    opacity: 1;
    pointer-events: auto;
    margin-top: 14px;
}

.cat-dropdown-group {
    display: flex;
    flex-direction: column;
}

.cat-dropdown-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0a5a8a;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(26, 127, 196, 0.4);
    white-space: nowrap;
    text-align: left;
}

.cat-dropdown-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    min-width: 150px;
}

.cat-dropdown-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0.2rem 0.6rem;
    background: white;
    border-radius: 16px;
    font-size: 0.72rem;
    color: #0a2a44;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 1px 3px rgba(26, 127, 196, 0.08);
}

.cat-dropdown-item:hover {
    background: #1a7fc4;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(26, 127, 196, 0.3);
}

.cat-dropdown-item[data-sub^="cabinet"] {
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.25);
}

.cat-dropdown-item[data-sub^="cabinet"]:hover {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.35);
}

.cat-dropdown-item[data-sub^="split"] {
    background: rgba(91, 91, 214, 0.12);
    border: 1px solid rgba(91, 91, 214, 0.25);
}

.cat-dropdown-item[data-sub^="split"]:hover {
    background: #5b5bd6;
    color: white;
    border-color: #5b5bd6;
    box-shadow: 0 3px 10px rgba(91, 91, 214, 0.35);
}

.cat-dropdown-item[data-sub^="enclosed"] {
    background: rgba(7, 193, 96, 0.12);
    border: 1px solid rgba(7, 193, 96, 0.25);
}

.cat-dropdown-item[data-sub^="enclosed"]:hover {
    background: #07c160;
    color: white;
    border-color: #07c160;
    box-shadow: 0 3px 10px rgba(7, 193, 96, 0.35);
}

.cat-dropdown-item[data-sub^="d3"] {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.cat-dropdown-item[data-sub^="d3"]:hover {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.4);
}

.category-fiber-expanded {
    position: relative;
}

.category-fiber-expanded:hover {
    border-color: #1a7fc4;
    z-index: 20;
}

.category-card.category-custom .cat-dropdown {
    border-color: #5b5bd6;
    box-shadow: 0 16px 48px rgba(91, 91, 214, 0.28), 0 4px 12px rgba(91, 91, 214, 0.12);
}
.category-card.category-custom .cat-dropdown::before {
    background: #ede9fe;
    border-left-color: #5b5bd6;
    border-top-color: #5b5bd6;
}
.category-card.category-custom .cat-dropdown-title {
    color: #4a4ab8;
    border-bottom-color: rgba(91, 91, 214, 0.4);
}
.category-card.category-custom .cat-dropdown-item:hover {
    background: #5b5bd6;
    color: white;
    box-shadow: 0 3px 10px rgba(91, 91, 214, 0.3);
}

/* ============================================================ */
/* ===== 产品区域 ===== */
/* ============================================================ */
.products {
    padding: 3rem 5%;
    background: #f5f9ff;
}

.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0a2a44;
}

.product-search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    border: 2px solid #dce8f5;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.product-search-box:focus-within {
    border-color: #1a7fc4;
    box-shadow: 0 0 0 3px rgba(26, 127, 196, 0.15);
}

.product-search-input {
    padding: 0.35rem 0.8rem;
    border: none;
    outline: none;
    font-size: 0.85rem;
    font-family: inherit;
    color: #0a2a44;
    background: transparent;
    min-width: 140px;
}

.product-search-input::placeholder {
    color: #8aaccc;
    font-size: 0.8rem;
}

.product-search-btn {
    padding: 0.35rem 0.8rem;
    background: transparent;
    color: #1a7fc4;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.product-search-btn:hover {
    color: #0a5a8a;
}

.filter-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

.filter-btn {
    padding: 0.35rem 1rem;
    border: 2px solid #dce8f5;
    border-radius: 30px;
    background: white;
    color: #1a3a5c;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1a7fc4;
    color: white;
    border-color: #1a7fc4;
}

.search-result-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.75rem;
    background: #e8f4fd;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #0a2a44;
    white-space: nowrap;
    margin-left: 0.4rem;
    align-self: center;
}

.search-result-inline #resultCount {
    font-weight: 700;
    color: #1a7fc4;
    font-size: 0.82rem;
}

.clear-search {
    color: #1a7fc4;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 0.2rem;
}

.clear-search:hover {
    color: #0a5a8a;
}

.no-result {
    text-align: center;
    padding: 3rem 1rem;
    color: #4a6a8a;
}

.no-result p {
    font-size: 1.1rem;
}

.no-result-hint {
    font-size: 0.9rem;
    color: #6b8aa8;
    margin-top: 0.3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #dce8f5;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 127, 196, 0.1);
}

.product-card .product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #e8f0f8;
}

.product-card h3 {
    font-size: 1.05rem;
    color: #0a2a44;
    padding: 0.6rem 1rem 0.15rem;
}

.product-card h3 .hl-series {
    color: #1a7fc4;
    font-weight: 800;
}
.product-card h3 .hl-power {
    color: #FF4500;
    font-weight: 800;
}

.product-spec {
    font-size: 0.85rem;
    color: #4a6a8a;
    padding: 0 1rem;
}

.product-desc {
    font-size: 0.85rem;
    color: #6b8aa8;
    padding: 0.1rem 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem 1rem;
    border-top: 1px solid #f0f4f8;
    margin-top: 0.4rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a7fc4;
    letter-spacing: 0.5px;
}

.btn-inquiry {
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, #1a7fc4, #4a9fd8);
    color: white !important;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-inquiry:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 127, 196, 0.3);
}

/* ============================================================ */
/* ===== 关于我们 ===== */
/* ============================================================ */
.about {
    padding: 3rem 5%;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #0a2a44;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-text p {
    color: #1a3a5c;
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.about-features span {
    padding: 0.25rem 1rem;
    background: #f5f9ff;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #0a2a44;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    height: 400px;
    object-fit: cover;
    background: #e8f0f8;
}

/* ============================================================ */
/* ===== 联系我们 ===== */
/* ============================================================ */
.contact {
    padding: 3rem 5%;
    background: #f5f9ff;
}

.contact h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #0a2a44;
}

.contact-desc {
    text-align: center;
    color: #4a6a8a;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info p {
    padding: 0.4rem 0;
    font-size: 1rem;
    color: #1a3a5c;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.7rem 1rem;
    border: 2px solid #dce8f5;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    font-family: inherit;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a7fc4;
}

.contact-form button {
    width: 100%;
}

.contact-qr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-qr-box {
    background: white;
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #07c160;
    text-align: center;
    box-shadow: 0 4px 20px rgba(7, 193, 96, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-qr-box:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(7, 193, 96, 0.2);
}

.contact-qr-img {
    width: 140px;
    height: 140px;
    display: block;
    border-radius: 8px;
    background: #f5f9ff;
}

.contact-qr-label {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #07c160;
    font-weight: 600;
    line-height: 1.4;
}

.contact-qr-label small {
    font-weight: 400;
    color: #6b8aa8;
    font-size: 0.7rem;
}

/* ============================================================ */
/* ===== 页脚 ===== */
/* ============================================================ */
footer {
    text-align: center;
    padding: 2rem 5% 1.5rem;
    background: #0a2a44;
    color: #8ab4d6;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    text-align: left;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8ab4d6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    text-align: right;
    font-size: 0.85rem;
}

.footer-contact a {
    color: #8ab4d6;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 1rem auto 0;
    font-size: 0.8rem;
    color: #4a6a8a;
}

/* ============================================================ */
/* ===== 右侧悬浮微信二维码 ===== */
/* ============================================================ */
.side-wechat {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    cursor: pointer;
}

.side-wechat-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #07c160;
    width: 64px;
    height: 64px;
    direction: rtl;
}

.side-wechat-wrapper.expanded {
    width: 220px;
    height: auto;
    border-radius: 12px;
    border-color: #07c160;
    box-shadow: 0 12px 50px rgba(7, 193, 96, 0.25);
}

.side-wechat-wrapper.expanded .side-wechat-content {
    display: flex;
    opacity: 1;
    width: 156px;
    padding: 10px 12px 10px 10px;
}

.side-wechat-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: linear-gradient(135deg, #07c160, #06ad56);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: border-radius 0.3s;
}

.side-wechat-wrapper.expanded .side-wechat-icon,
.side-wechat-wrapper:not(.expanded):hover .side-wechat-icon {
    border-radius: 10px;
}

.side-wechat-icon svg {
    width: 32px;
    height: 32px;
    margin-top: -2px;
}

.side-wechat-badge {
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    margin-top: -1px;
    letter-spacing: 1px;
}

.side-wechat-content {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 10px;
    direction: ltr;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
    white-space: normal;
}

.side-wechat-qr {
    flex-shrink: 0;
}

.side-wechat-img {
    width: 72px;
    height: 72px;
    display: block;
    border-radius: 8px;
    background: #f5f9ff;
    border: 1px solid #e8f0f8;
}

.side-wechat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.side-wechat-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0a2a44;
    line-height: 1.2;
    white-space: normal;
}

.side-wechat-desc {
    font-size: 0.62rem;
    color: #6b8aa8;
    line-height: 1.2;
    white-space: normal;
}

.side-wechat-wrapper:not(.expanded):hover {
    width: 220px;
    height: auto;
    border-radius: 12px;
    border-color: #07c160;
    box-shadow: 0 12px 50px rgba(7, 193, 96, 0.25);
}

.side-wechat-wrapper:not(.expanded):hover .side-wechat-content {
    display: flex;
    opacity: 1;
    width: 156px;
    padding: 10px 12px 10px 10px;
}

.side-wechat::before {
    content: '';
    position: fixed;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(7, 193, 96, 0.25);
    animation: sideRipple 2.8s ease-out infinite;
    pointer-events: none;
    z-index: 998;
}

.side-wechat::after {
    content: '';
    position: fixed;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(7, 193, 96, 0.12);
    animation: sideRipple 2.8s ease-out 1s infinite;
    pointer-events: none;
    z-index: 998;
}

@keyframes sideRipple {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    100% { transform: translateY(-50%) scale(1.8); opacity: 0; }
}

/* ============================================================ */
/* ===== 24小时在线客服 ===== */
/* ============================================================ */
.service-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.service-bubble {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a7fc4, #0a6fb4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(26, 127, 196, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 2;
    animation: serviceFloat 3s ease-in-out infinite;
}

@keyframes serviceFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.service-bubble:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 40px rgba(26, 127, 196, 0.65);
    animation: none;
}

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 1px;
}

.service-icon svg {
    margin-top: 2px;
}

.service-badge {
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.service-badge small {
    font-size: 0.4rem;
    font-weight: 400;
    opacity: 0.85;
}

.service-ripple {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(26, 127, 196, 0.3);
    animation: serviceRipple 2s ease-out infinite;
    z-index: 1;
}

.service-ripple-delay {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(26, 127, 196, 0.2);
    animation: serviceRipple 2s ease-out 0.7s infinite;
    z-index: 0;
}

@keyframes serviceRipple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.service-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: scale(0.8);
    transform-origin: bottom right;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    border: 1px solid #e8f0f8;
}

.service-panel.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.service-panel-header {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: linear-gradient(135deg, #1a7fc4, #0a6fb4);
    color: white;
    gap: 8px;
}

.service-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    flex: 1;
}

.service-panel-status {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-panel-close {
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0 4px;
}

.service-panel-close:hover {
    opacity: 1;
}

.service-panel-body {
    display: flex;
    flex-direction: column;
    height: 380px;
}

.service-messages {
    flex: 1;
    padding: 14px 16px;
    overflow-y: auto;
    background: #f8fafc;
}

.service-messages::-webkit-scrollbar {
    width: 4px;
}

.service-messages::-webkit-scrollbar-track {
    background: transparent;
}

.service-messages::-webkit-scrollbar-thumb {
    background: #d0d8e0;
    border-radius: 4px;
}

.service-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    animation: msgFadeIn 0.3s ease-out;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-msg-bot .service-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-msg-user {
    flex-direction: row-reverse;
}

.service-msg-user .service-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a7fc4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.service-msg-bubble {
    max-width: 75%;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #1a3a5c;
    word-break: break-word;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.service-msg-bot .service-msg-bubble {
    background: white;
    border-top-left-radius: 4px;
}

.service-msg-user .service-msg-bubble {
    background: #1a7fc4;
    color: white;
    border-top-right-radius: 4px;
}

.service-quick-actions {
    display: flex;
    gap: 6px;
    padding: 8px 14px 4px 14px;
    flex-wrap: wrap;
    background: #f8fafc;
    border-top: 1px solid #f0f4f8;
}

.service-quick-btn {
    padding: 4px 12px;
    border: 1px solid #dce8f5;
    border-radius: 16px;
    background: white;
    font-size: 0.7rem;
    color: #1a3a5c;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.service-quick-btn:hover {
    border-color: #1a7fc4;
    background: #f0f6fc;
    color: #1a7fc4;
}

.service-input-area {
    display: flex;
    gap: 8px;
    padding: 10px 14px 14px 14px;
    background: #f8fafc;
    border-top: 1px solid #f0f4f8;
}

.service-input {
    flex: 1;
    padding: 8px 14px;
    border: 2px solid #dce8f5;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}

.service-input:focus {
    border-color: #1a7fc4;
}

.service-input::placeholder {
    color: #8aaccc;
}

.service-send-btn {
    padding: 8px 18px;
    background: linear-gradient(135deg, #1a7fc4, #0a6fb4);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.service-send-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 15px rgba(26, 127, 196, 0.3);
}

.service-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.service-panel-footer {
    padding: 6px 16px;
    background: #f5f9ff;
    border-top: 1px solid #e8f0f8;
    text-align: center;
    font-size: 0.65rem;
    color: #6b8aa8;
}

/* ============================================================ */
/* ===== 配件中心页面 ===== */
/* ============================================================ */

.accessories-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 5% 2.5rem;
    background: linear-gradient(135deg, #FFF4E6 0%, #FFD9B3 40%, #FFB380 100%);
    position: relative;
}
.accessories-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}
.accessories-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #7A2E00;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255,255,255,0.4);
}
.accessories-hero .subtitle {
    font-size: 1.3rem;
    color: #A84A00;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.accessories-hero .description {
    font-size: 1rem;
    color: #8A3E00;
    margin-bottom: 1.5rem;
}
.accessories-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.accessories-hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #FF4500;
}
.accessories-hero-stats .stat-label {
    font-size: 0.85rem;
    color: #8A3E00;
}

.accessories-matcher {
    padding: 2.5rem 5%;
    background: white;
}
.accessories-matcher-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.accessories-matcher h2 {
    font-size: 1.8rem;
    color: #0a2a44;
    margin-bottom: 0.4rem;
}
.matcher-desc {
    color: #6b8aa8;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}
.matcher-box {
    display: flex;
    gap: 0.6rem;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 0.3rem;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
    border: 2px solid #FFD9B3;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.matcher-box:focus-within {
    border-color: #FF6B35;
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.3);
}
.matcher-input {
    flex: 1;
    padding: 0.6rem 1.2rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: #0a2a44;
    min-width: 0;
}
.matcher-input::placeholder {
    color: #b8a890;
}
.matcher-btn {
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: inherit;
}
.matcher-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.35);
}
.matcher-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6b8aa8;
}
.matcher-hint > span:first-child {
    font-weight: 600;
    color: #4a6a8a;
}
.matcher-tag {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    margin: 0.2rem 0.2rem;
    background: #FFF4E6;
    border: 1px solid #FFD9B3;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #A84A00;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}
.matcher-tag:hover {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
    transform: translateY(-1px);
}
.matcher-result {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: #FFF9F2;
    border-radius: 16px;
    border: 2px solid #FFD9B3;
    text-align: left;
}
.matcher-result-title {
    font-size: 1rem;
    color: #7A2E00;
    margin-bottom: 1rem;
}
.matcher-result-title strong {
    color: #FF4500;
}
.matcher-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.6rem;
}
.matcher-result-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.6rem 0.9rem;
    background: white;
    border-radius: 10px;
    border-left: 3px solid #FF6B35;
    font-size: 0.85rem;
}
.matcher-result-cat {
    font-size: 0.7rem;
    color: #FF6B35;
    font-weight: 600;
}
.matcher-result-name {
    color: #0a2a44;
    font-weight: 500;
}
.matcher-result-price {
    color: #FF4500;
    font-weight: 700;
    font-size: 0.9rem;
}

.accessories-categories {
    padding: 3rem 5%;
    background: #f5f9ff;
}
.accessories-categories h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #0a2a44;
    margin-bottom: 2.5rem;
}
.acc-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
}
.acc-category-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 40, 80, 0.04);
}
.acc-category-card:hover {
    border-color: #FF6B35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}
.acc-category-icon {
    font-size: 2.2rem;
    color: #FF6B35;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 0.3rem;
    transition: transform 0.3s;
}
.acc-category-card:hover .acc-category-icon {
    transform: scale(1.15);
}
.acc-category-card h3 {
    font-size: 1rem;
    color: #0a2a44;
    margin: 0.4rem 0;
}
.acc-category-card p {
    font-size: 0.8rem;
    color: #4a6a8a;
}
.acc-category-card .count {
    display: inline-block;
    padding: 0.05rem 0.7rem;
    background: #FF6B35;
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-top: 0.4rem;
}

.accessories-list {
    padding: 3rem 5%;
    background: white;
}
.acc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.acc-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #FFE0B3;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.acc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.12);
    border-color: #FF6B35;
}
.acc-product-img-wrap {
    position: relative;
    overflow: hidden;
}
.acc-product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #FFF4E6;
    transition: transform 0.4s;
}
.acc-product-card:hover .acc-product-img {
    transform: scale(1.05);
}
.acc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
}
.acc-product-card h3 {
    font-size: 1rem;
    color: #0a2a44;
    padding: 0.7rem 1rem 0.2rem;
    line-height: 1.4;
}
.acc-product-spec {
    font-size: 0.82rem;
    color: #4a6a8a;
    padding: 0 1rem;
}
.acc-product-fit {
    font-size: 0.78rem;
    color: #A84A00;
    padding: 0.2rem 1rem;
    font-weight: 500;
}
.acc-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1rem 1rem;
    border-top: 1px solid #FFF4E6;
    margin-top: 0.4rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.acc-product-footer .price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FF4500;
    letter-spacing: 0.3px;
}
.acc-product-footer .btn-inquiry {
    background: linear-gradient(135deg, #FF6B35, #FF4500);
}
.acc-product-footer .btn-inquiry:hover {
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.accessories-cta {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #FFF4E6, #FFD9B3);
    text-align: center;
}
.accessories-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}
.accessories-cta h2 {
    font-size: 1.8rem;
    color: #7A2E00;
    margin-bottom: 0.5rem;
}
.accessories-cta p {
    color: #8A3E00;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: white;
    color: #FF4500 !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #FF6B35;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-secondary:hover {
    background: #FF6B35;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.3);
}

/* ============================================================ */
/* ===== 非标定制页面 ===== */
/* ============================================================ */

.custom-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5% 3rem;
    background: linear-gradient(135deg, #ede9fe 0%, #c7bfff 40%, #a99cff 100%);
    position: relative;
}
.custom-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}
.custom-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2e2e7a;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255,255,255,0.5);
}
.custom-hero .subtitle {
    font-size: 1.2rem;
    color: #4a4ab8;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.custom-hero .description {
    font-size: 1rem;
    color: #5b5bd6;
    margin-bottom: 1.5rem;
}
.custom-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.custom-hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #5b5bd6;
}
.custom-hero-stats .stat-label {
    font-size: 0.85rem;
    color: #4a4ab8;
}

.custom-services {
    padding: 3.5rem 5%;
    background: white;
}
.custom-services h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a2a44;
    margin-bottom: 0.5rem;
}
.custom-services-desc {
    text-align: center;
    color: #6b8aa8;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}
.custom-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.custom-service-card {
    background: linear-gradient(180deg, #f8f5ff 0%, #ede9fe 100%);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    text-align: left;
}
.custom-service-card:hover {
    border-color: #5b5bd6;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(91, 91, 214, 0.15);
}
.custom-service-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: block;
}
.custom-service-card h3 {
    font-size: 1.15rem;
    color: #2e2e7a;
    margin-bottom: 0.6rem;
}
.custom-service-card p {
    font-size: 0.9rem;
    color: #4a4ab8;
    line-height: 1.7;
}

.custom-industries {
    padding: 3.5rem 5%;
    background: #f8f5ff;
}
.custom-industries h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a2a44;
    margin-bottom: 0.5rem;
}
.custom-industries-desc {
    text-align: center;
    color: #6b8aa8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.custom-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.custom-industry-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(91, 91, 214, 0.06);
}
.custom-industry-card:hover {
    border-color: #5b5bd6;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(91, 91, 214, 0.15);
}
.custom-industry-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
.custom-industry-card h3 {
    font-size: 0.95rem;
    color: #2e2e7a;
    margin-bottom: 0.3rem;
}
.custom-industry-card p {
    font-size: 0.75rem;
    color: #8aaccc;
}

.custom-process {
    padding: 3.5rem 5%;
    background: white;
}
.custom-process h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a2a44;
    margin-bottom: 0.5rem;
}
.custom-process-desc {
    text-align: center;
    color: #6b8aa8;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}
.custom-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.custom-process-step {
    background: #f8f5ff;
    border-radius: 14px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    position: relative;
    border: 2px solid #ede9fe;
    transition: all 0.3s;
}
.custom-process-step:hover {
    border-color: #5b5bd6;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(91, 91, 214, 0.12);
}
.custom-step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: linear-gradient(135deg, #5b5bd6, #7c7ce6);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(91, 91, 214, 0.3);
}
.custom-step-title {
    font-size: 1rem;
    color: #2e2e7a;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.custom-step-desc {
    font-size: 0.82rem;
    color: #6b8aa8;
    line-height: 1.6;
}

.custom-cases {
    padding: 3.5rem 5%;
    background: #f8f5ff;
}
.custom-cases h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a2a44;
    margin-bottom: 0.5rem;
}
.custom-cases-desc {
    text-align: center;
    color: #6b8aa8;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}
.custom-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.custom-case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(91, 91, 214, 0.08);
    transition: all 0.3s;
    border: 1px solid #ede9fe;
}
.custom-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(91, 91, 214, 0.18);
    border-color: #5b5bd6;
}
.custom-case-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #ede9fe;
    overflow: hidden;
    position: relative;
}
.custom-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.custom-case-card:hover .custom-case-img {
    transform: scale(1.05);
}
.custom-case-content {
    padding: 1rem 1.2rem 1.2rem;
}
.custom-case-content h3 {
    font-size: 1rem;
    color: #2e2e7a;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}
.custom-case-content p {
    font-size: 0.82rem;
    color: #6b8aa8;
    line-height: 1.6;
}

.custom-form-section {
    padding: 3.5rem 5%;
    background: white;
}
.custom-form-inner {
    max-width: 900px;
    margin: 0 auto;
}
.custom-form-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a2a44;
    margin-bottom: 0.5rem;
}
.custom-form-desc {
    text-align: center;
    color: #6b8aa8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.custom-form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.custom-form input,
.custom-form select,
.custom-form textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #ede9fe;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.3s;
    color: #0a2a44;
}
.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: #5b5bd6;
    box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.12);
}
.custom-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}
.custom-form button {
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #5b5bd6, #7c7ce6);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(91, 91, 214, 0.3);
}
.custom-form button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(91, 91, 214, 0.45);
}
.custom-form-tip {
    font-size: 0.75rem;
    color: #8aaccc;
    text-align: center;
    margin-top: -0.2rem;
}
.custom-contact-info {
    background: #f8f5ff;
    border-radius: 16px;
    padding: 1.5rem 1.5rem;
    border: 2px solid #ede9fe;
}
.custom-contact-info h3 {
    font-size: 1rem;
    color: #2e2e7a;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed #c7bfff;
}
.custom-contact-info p {
    font-size: 0.9rem;
    color: #4a4ab8;
    padding: 0.35rem 0;
    line-height: 1.6;
}
.custom-contact-info a {
    color: #5b5bd6;
    text-decoration: none;
    font-weight: 600;
}
.custom-contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .custom-hero {
        padding: 2.5rem 4% 2rem;
        min-height: auto;
    }
    .custom-hero h1 {
        font-size: 1.8rem;
    }
    .custom-hero .subtitle {
        font-size: 1rem;
    }
    .custom-hero-stats {
        gap: 1.2rem;
    }
    .custom-hero-stats .stat-number {
        font-size: 1.5rem;
    }
    .custom-hero-stats .stat-label {
        font-size: 0.75rem;
    }

    .custom-services,
    .custom-industries,
    .custom-process,
    .custom-cases,
    .custom-form-section {
        padding: 2rem 4%;
    }
    .custom-services h2,
    .custom-industries h2,
    .custom-process h2,
    .custom-cases h2,
    .custom-form-section h2 {
        font-size: 1.5rem;
    }

    .custom-form-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .custom-form-row {
        grid-template-columns: 1fr;
    }

    .custom-services-grid,
    .custom-cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .custom-industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .custom-process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .custom-process-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================ */
/* ===== 响应式 ===== */
/* ============================================================ */
@media (max-width: 1200px) {
    .navbar {
        padding: 0.8rem 3%;
    }
    .nav-links {
        gap: 0.8rem;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    .logo-text {
        font-size: 1.05rem;
    }
    .logo-img {
        height: 44px;
    }
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-image img {
        height: 300px;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-qr {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand,
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 68px !important;
    }

    /* 移动端锚点防遮挡（导航栏更矮，留 70px 即可） */
    #home,
    #categories,
    #products,
    #about,
    #contact,
    #searchSection {
        scroll-margin-top: 70px;
    }

    .navbar {
        padding: 0.6rem 4%;
        flex-wrap: wrap;
    }
    .logo {
        flex: 1;
        min-width: 0;
    }
    .logo-img {
        height: 42px;
    }
    .logo-text {
        font-size: 0.85rem;
        font-weight: 900;
        white-space: normal;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0 0.8rem;
        gap: 0.6rem;
        border-top: 1px solid #e0e8f0;
        margin-top: 0.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }
    .nav-links .nav-cta {
        display: inline-block;
        padding: 0.3rem 1.5rem;
        margin: 0 auto;
    }
    .nav-links .nav-cta::after {
        display: none;
    }
    .phone-item {
        margin-left: 0;
        width: 100%;
    }
    .phone-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.4rem;
        font-size: 0.95rem;
    }
    .phone-btn::after {
        display: none;
    }

    .side-wechat {
        right: 12px;
    }
    .side-wechat-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 50px;
    }
    .side-wechat-icon svg {
        width: 26px;
        height: 26px;
    }
    .side-wechat-wrapper {
        width: 54px;
        height: 54px;
        border-radius: 50px;
    }
    .side-wechat-wrapper.expanded,
    .side-wechat-wrapper:not(.expanded):hover {
        width: 190px;
        height: auto;
        border-radius: 12px;
    }
    .side-wechat-wrapper.expanded .side-wechat-content,
    .side-wechat-wrapper:not(.expanded):hover .side-wechat-content {
        display: flex;
        width: 136px;
        padding: 8px 10px 8px 8px;
    }
    .side-wechat-img {
        width: 58px;
        height: 58px;
    }
    .side-wechat-title {
        font-size: 0.7rem;
    }
    .side-wechat-desc {
        font-size: 0.55rem;
    }
    .side-wechat::before,
    .side-wechat::after {
        right: 44px;
        width: 54px;
        height: 54px;
    }

    .service-float {
        bottom: 80px;
        right: 16px;
    }
    .service-bubble {
        width: 64px;
        height: 64px;
    }
    .service-bubble svg {
        width: 22px;
        height: 22px;
    }
    .service-badge {
        font-size: 0.4rem;
    }
    .service-badge small {
        font-size: 0.3rem;
    }
    .service-panel {
        width: 320px;
        bottom: 70px;
        right: 0;
    }
    .service-panel-body {
        height: 320px;
    }
    .service-quick-actions {
        gap: 4px;
    }
    .service-quick-btn {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-qr {
        justify-content: center;
    }
    .contact-qr-img {
        width: 120px;
        height: 120px;
    }
    .contact-qr-box {
        padding: 1rem 1rem 0.8rem 1rem;
    }

    .search-section {
        padding: 0.6rem 0 0.4rem;
    }
    .search-container {
        padding: 0 4%;
    }
    .search-box {
        height: 42px;
    }
    .search-icon {
        padding: 0 0 0 12px;
        font-size: 0.9rem;
    }
    .search-input {
        padding: 0 0.6rem;
        font-size: 0.9rem;
    }
    .search-btn {
        padding: 0 1.2rem;
        font-size: 0.85rem;
    }
    .search-tag {
        font-size: 0.7rem;
        padding: 0.1rem 0.5rem;
    }

    .search-tags {
        padding: 0 4%;
        gap: 0.3rem;
    }

    .search-dropdown-inner {
        flex-direction: column;
    }
    .search-dropdown-col-left {
        border-right: none;
        border-bottom: 1px solid #f0f4f8;
    }
    .search-dropdown-col-right {
        padding: 4px 8px;
    }
    .search-dropdown.open {
        max-height: 600px;
    }
    .search-dropdown-item {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .search-dropdown-title {
        padding: 4px 16px 2px;
    }
    .search-keyword {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .search-dropdown-item.search-dropdown-item-acc::after {
        right: 10px;
        font-size: 0.5rem;
        padding: 1px 5px;
    }
    .search-dropdown-item.search-dropdown-item-custom::after {
        right: 10px;
        font-size: 0.5rem;
        padding: 1px 5px;
    }
    .search-dropdown-item.search-dropdown-item-tech::after {
        right: 10px;
        font-size: 0.5rem;
        padding: 1px 5px;
    }
    .filter-btn.filter-btn-acc::after {
        font-size: 0.45rem;
        top: -6px;
        right: -6px;
    }
    .filter-btn.filter-btn-custom::after {
        font-size: 0.45rem;
        top: -6px;
        right: -6px;
    }
    .filter-btn.filter-btn-d3::after {
        font-size: 0.45rem;
        top: -6px;
        right: -6px;
    }
    .filter-btn.filter-btn-cart::after {
        font-size: 0.45rem;
        top: -6px;
        right: -6px;
    }
    .search-keyword.search-keyword-acc {
        font-size: 0.7rem;
    }
    .search-keyword.search-keyword-custom {
        font-size: 0.7rem;
    }
    .search-keyword.search-keyword-tech {
        font-size: 0.7rem;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .section-header h2 {
        font-size: 1.6rem;
        text-align: center;
    }
    .product-search-box {
        width: 100%;
        border-radius: 25px;
    }
    .product-search-input {
        flex: 1;
        min-width: 0;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    .product-search-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 4% 2rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .description {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    .hero-stats {
        gap: 1.2rem;
        margin: 1.2rem 0;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .btn-primary {
        padding: 0.6rem 1.8rem;
        font-size: 0.9rem;
    }

    .categories {
        padding: 2rem 4%;
    }
    .categories h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .category-card {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }
    .category-icon {
        font-size: 1.6rem;
        height: 44px;
    }
    .category-card h3 {
        font-size: 0.8rem;
    }
    .category-card p {
        font-size: 0.65rem;
    }
    .count {
        font-size: 0.6rem;
        padding: 0.05rem 0.5rem;
    }
    .category-card.category-accessories::before {
        font-size: 0.5rem;
        padding: 1px 22px;
        top: 6px;
        right: -22px;
    }
    .category-card.category-custom::before {
        font-size: 0.5rem;
        padding: 1px 22px;
        top: 6px;
        right: -22px;
    }

    .cat-dropdown {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding: 0;
        display: block;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        pointer-events: auto;
        transition: max-height 0.35s ease, margin-top 0.3s ease;
        border-radius: 0;
        background: transparent;
        white-space: normal;
        text-align: left;
        margin-top: 0 !important;
    }
    .cat-dropdown::before {
        display: none;
    }
    .category-card::after {
        display: none;
    }
    .category-card.cat-open .cat-dropdown {
        max-height: 1000px;
        margin-top: 8px !important;
    }
    .category-card:hover .cat-dropdown {
        max-height: 0;
        margin-top: 0 !important;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .category-card.cat-open:hover .cat-dropdown {
        max-height: 1000px;
        margin-top: 8px !important;
    }
    .cat-dropdown-group {
        margin-bottom: 8px;
    }
    .cat-dropdown-title {
        font-size: 0.68rem;
    }
    .cat-dropdown-list {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
    .cat-dropdown-item {
        font-size: 0.65rem;
        padding: 0.12rem 0.45rem;
    }

    .products {
        padding: 2rem 4%;
    }
    .filter-tabs {
        gap: 0.3rem;
        justify-content: center;
    }
    .filter-btn {
        padding: 0.25rem 0.7rem;
        font-size: 0.7rem;
    }

    .search-result-inline {
        font-size: 0.68rem;
        padding: 0.15rem 0.55rem;
        margin-left: 0.2rem;
    }
    .search-result-inline #resultCount {
        font-size: 0.72rem;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .product-card .product-img {
        height: 120px;
    }
    .product-card h3 {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem 0.1rem;
    }
    .product-spec {
        font-size: 0.7rem;
        padding: 0 0.6rem;
    }
    .product-desc {
        font-size: 0.7rem;
        padding: 0.1rem 0.6rem;
    }
    .product-footer {
        padding: 0.4rem 0.6rem 0.6rem;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    .price {
        font-size: 0.95rem;
    }
    .btn-inquiry {
        font-size: 0.7rem;
        padding: 0.2rem 0.7rem;
    }

    .about {
        padding: 2rem 4%;
    }
    .about h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    .about-text p {
        font-size: 0.9rem;
    }
    .about-features span {
        font-size: 0.75rem;
        padding: 0.2rem 0.7rem;
    }
    .about-image img {
        height: 250px;
    }

    .contact {
        padding: 2rem 4%;
    }
    .contact h2 {
        font-size: 1.6rem;
    }
    .contact-desc {
        font-size: 0.9rem;
    }
    .contact-info p {
        font-size: 0.9rem;
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem 1.2rem;
    }
    .footer-contact {
        text-align: center;
    }

    footer {
        padding: 1.5rem 4% 1rem;
        font-size: 0.75rem;
    }

    .accessories-hero {
        padding: 2.5rem 4% 1.8rem;
        min-height: auto;
    }
    .accessories-hero h1 {
        font-size: 1.8rem;
    }
    .accessories-hero .subtitle {
        font-size: 1rem;
    }
    .accessories-hero .description {
        font-size: 0.85rem;
    }
    .accessories-hero-stats {
        gap: 1.2rem;
        margin-top: 1rem;
    }
    .accessories-hero-stats .stat-number {
        font-size: 1.5rem;
    }
    .accessories-hero-stats .stat-label {
        font-size: 0.75rem;
    }

    .accessories-matcher {
        padding: 1.8rem 4%;
    }
    .accessories-matcher h2 {
        font-size: 1.3rem;
    }
    .matcher-box {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }
    .matcher-input {
        padding: 0.6rem 1rem;
        text-align: center;
    }
    .matcher-btn {
        width: 100%;
        border-radius: 12px;
        padding: 0.6rem;
    }
    .matcher-result-grid {
        grid-template-columns: 1fr;
    }

    .accessories-categories {
        padding: 2rem 4%;
    }
    .accessories-categories h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    .acc-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .acc-category-card {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }
    .acc-category-icon {
        font-size: 1.6rem;
        height: 44px;
    }
    .acc-category-card h3 {
        font-size: 0.85rem;
    }
    .acc-category-card p {
        font-size: 0.65rem;
    }
    .acc-category-card .count {
        font-size: 0.6rem;
        padding: 0.05rem 0.5rem;
    }

    .accessories-list {
        padding: 2rem 4%;
    }
    .acc-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .acc-product-img {
        height: 120px;
    }
    .acc-product-card h3 {
        font-size: 0.82rem;
        padding: 0.5rem 0.6rem 0.1rem;
    }
    .acc-product-spec {
        font-size: 0.68rem;
        padding: 0 0.6rem;
    }
    .acc-product-fit {
        font-size: 0.65rem;
        padding: 0.1rem 0.6rem;
    }
    .acc-product-footer {
        padding: 0.4rem 0.6rem 0.6rem;
    }
    .acc-product-footer .price {
        font-size: 0.9rem;
    }
    .acc-product-footer .btn-inquiry {
        font-size: 0.68rem;
        padding: 0.2rem 0.6rem;
    }
    .acc-badge {
        font-size: 0.55rem;
        padding: 2px 8px;
        top: 6px;
        left: 6px;
    }

    .accessories-cta {
        padding: 2rem 4%;
    }
    .accessories-cta h2 {
        font-size: 1.4rem;
    }
    .accessories-cta p {
        font-size: 0.9rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 36px;
    }
    .logo-text {
        font-size: 0.75rem;
        font-weight: 900;
        letter-spacing: 0.3px;
    }
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .category-icon {
        font-size: 1.4rem;
        height: 38px;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-stats {
        gap: 0.8rem;
    }
    .stat-number {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .about-image img {
        height: 200px;
    }
    .contact-wrapper {
        gap: 1rem;
    }
    .contact-qr-img {
        width: 100px;
        height: 100px;
    }
    .contact-qr-box {
        padding: 0.8rem 0.8rem 0.6rem 0.8rem;
    }
    .contact-qr-label {
        font-size: 0.7rem;
    }

    .side-wechat {
        right: 8px;
    }
    .side-wechat-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 50px;
    }
    .side-wechat-icon svg {
        width: 20px;
        height: 20px;
    }
    .side-wechat-badge {
        font-size: 0.4rem;
    }
    .side-wechat-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 50px;
        border-width: 1.5px;
    }
    .side-wechat-wrapper.expanded,
    .side-wechat-wrapper:not(.expanded):hover {
        width: 170px;
        height: auto;
        border-radius: 12px;
    }
    .side-wechat-wrapper.expanded .side-wechat-content,
    .side-wechat-wrapper:not(.expanded):hover .side-wechat-content {
        display: flex;
        width: 126px;
        padding: 6px 8px 6px 6px;
        gap: 6px;
    }
    .side-wechat-img {
        width: 48px;
        height: 48px;
    }
    .side-wechat-title {
        font-size: 0.62rem;
    }
    .side-wechat-desc {
        font-size: 0.5rem;
    }
    .side-wechat::before,
    .side-wechat::after {
        right: 36px;
        width: 44px;
        height: 44px;
        border-width: 1.5px;
    }

    .service-float {
        bottom: 70px;
        right: 12px;
    }
    .service-bubble {
        width: 56px;
        height: 56px;
    }
    .service-bubble svg {
        width: 18px;
        height: 18px;
    }
    .service-badge {
        font-size: 0.35rem;
    }
    .service-badge small {
        font-size: 0.25rem;
    }
    .service-panel {
        width: 290px;
        bottom: 60px;
        right: -4px;
        border-radius: 12px;
    }
    .service-panel-body {
        height: 280px;
    }
    .service-msg-bubble {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .service-quick-btn {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
    .service-input {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .service-send-btn {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    .service-ripple,
    .service-ripple-delay {
        display: none;
    }

    .search-box {
        height: 38px;
    }
    .search-btn {
        padding: 0 0.8rem;
        font-size: 0.8rem;
    }
    .search-input {
        font-size: 0.8rem;
    }
    .search-tags {
        gap: 0.2rem;
        padding: 0 4%;
    }
    .search-tag {
        font-size: 0.65rem;
        padding: 0.05rem 0.4rem;
    }
    .product-search-input {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    .product-search-btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .search-result-inline {
        font-size: 0.62rem;
        padding: 0.12rem 0.45rem;
        margin-left: 0.15rem;
    }
    .search-result-inline #resultCount {
        font-size: 0.68rem;
    }

    .acc-product-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .acc-product-img {
        height: 160px;
    }
    .accessories-hero h1 {
        font-size: 1.5rem;
    }
    .acc-category-grid {
        gap: 0.6rem;
    }
    .acc-category-icon {
        font-size: 1.4rem;
        height: 38px;
    }
}/* ============================================================ */
/* ===== 性能优化：把所有无限动画提升到 GPU 合成层 ===== */
/* ============================================================ */
.nav-cta,
.phone-btn,
.side-wechat-wrapper,
.side-wechat-icon,
.side-wechat-content,
.side-wechat::before,
.side-wechat::after,
.service-bubble,
.service-ripple,
.service-ripple-delay,
.category-icon,
.product-card,
.acc-product-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}