/*
Theme Name: Industrial Theme
Theme URI: 
Author: Your Name
Description: 工控产品询价独立站主题
Version: 1.0.0
Text Domain: industrial-theme
*/

/* ========== 变量 ========== */
:root {
    --primary: #c9a86c;
    --dark: #222;
    --gray: #666;
    --light-gray: #f7f7f7;
    --border: #e5e5e5;
    --white: #fff;
}

/* ========== 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 头部 ========== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.site-logo:hover {
    text-decoration: none;
}

.site-logo .logo-image {
    max-height: 70px;
    width: auto;
}

.logo-auto {
    color: var(--primary);
}

.logo-module {
    color: var(--dark);
    font-weight: 300;
}

.logo-xpert {
    color: var(--dark);
    font-weight: 700;
}

/* 导航 */
.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.5px;
    position: relative;
}

.main-nav .arrow {
    font-size: 10px;
    margin-left: 3px;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li > a.active::after,
.main-nav > ul > li.current > a::after {
    width: calc(100% - 30px);
}

.main-nav a:hover,
.main-nav a.active,
.main-nav > ul > li.current > a {
    color: var(--primary);
}

/* 普通下拉菜单 */
.main-nav .has-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-top: 2px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

/* 品牌下拉多列显示 */
.main-nav .has-dropdown .sub-menu.brands-dropdown {
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 0;
    gap: 0;
}

.main-nav .has-dropdown .sub-menu.brands-dropdown li {
    border-bottom: none;
}

.main-nav .has-dropdown .sub-menu.brands-dropdown li a {
    padding: 8px 20px;
}

.main-nav .has-dropdown:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu li {
    border-bottom: 1px solid var(--border);
}

.main-nav .sub-menu li:last-child {
    border-bottom: none;
}

.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
}

.main-nav .sub-menu a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

/* ========== Mega Menu ========== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 品牌列表样式（一级分类） */
.mega-menu-inner.brands-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    padding: 20px;
    min-width: 600px;
}

.brand-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.brand-menu-item:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.brand-menu-item img {
    width: 30px;
    height: 20px;
    object-fit: contain;
}

/* 旧版多列样式（保留兼容） */
.mega-menu-inner:not(.brands-list) {
    display: grid;
    grid-template-columns: repeat(5, auto);
    padding: 25px 20px;
}

.mega-menu-col {
    padding: 0 25px;
    border-right: 1px solid var(--border);
    white-space: nowrap;
}

.mega-menu-col:nth-child(5n) {
    border-right: none;
}

.mega-menu-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.mega-menu-col h4 a {
    color: var(--dark);
    padding: 0;
}

.mega-menu-col h4 a:hover {
    color: var(--primary);
}

.mega-menu-col ul {
    list-style: none;
}

.mega-menu-col ul li {
    margin-bottom: 8px;
}

.mega-menu-col ul a {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    padding: 0;
    display: block;
}

.mega-menu-col ul a:hover {
    color: var(--primary);
}

/* 右侧图标 */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    color: var(--dark);
    position: relative;
}

.icon-link:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 搜索框 */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 移动端菜单按钮 - 桌面端隐藏 */
.mobile-menu-toggle {
    display: none;
}

.header-search-form {
    display: flex;
    align-items: stretch;
    background: var(--primary);
    padding: 3px;
}

.header-search-form input[type="text"] {
    width: 280px;
    padding: 8px 12px;
    border: none;
    font-size: 13px;
    outline: none;
    background: var(--white);
}

.header-search-form button {
    padding: 8px 15px;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.header-search-form button:hover {
    background: #b8994f;
    color: var(--white);
}


/* ========== 主内容 ========== */
.site-main {
    min-height: 60vh;
}

/* ========== 底部 ========== */
.site-footer {
    background: var(--light-gray);
    padding: 50px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.company-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}

.company-name svg {
    color: var(--gray);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gray);
}

.contact-list a {
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    background: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--gray);
    border-top: 1px solid var(--border);
}

/* ========== 产品网格 ========== */
.products-section {
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ========== 产品卡片 ========== */
.product-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Hot 标签 */
.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #c9a86c;
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0 4px 0 4px;
    z-index: 10;
}

.product-card .product-image {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--white);
    width: 320px;
    height: 320px;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
}

.product-card .product-image .img-main {
    position: relative;
}

.product-card .product-image .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* 有两张图时：hover切换图片 */
.product-card.has-hover:hover .product-image .img-main {
    opacity: 0;
}

.product-card.has-hover:hover .product-image .img-hover {
    opacity: 1;
}

/* 只有一张图时：hover放大并轻微旋转 */
.product-card.single-image:hover .product-image .img-main {
    transform: scale(1.08) rotate(2deg);
}

.product-card-body {
    padding: 10px 0 0;
    text-align: left;
}

.product-card h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card h3 a {
    color: var(--dark);
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-brand {
    display: block;
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
}

.btn-inquiry {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

.btn-inquiry:hover {
    background: #b8975b;
    color: var(--white);
}

/* ========== 产品详情 ========== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}

.product-gallery {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.gallery-main {
    margin-bottom: 15px;
}

.gallery-main img {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片左右切换按钮 */
.gallery-main {
    position: relative;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

.gallery-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gallery-nav svg {
    width: 18px;
    height: 18px;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.product-gallery img {
    max-height: 400px;
}

/* 产品描述 - 全宽显示 */
.product-description-full {
    margin-top: 0;
    padding: 0 0;
    background: #fff;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.product-description-full h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.product-description-full p {
    margin-bottom: 10px;
}

.product-description-full p:last-child {
    margin-bottom: 0;
}

/* 按钮放在描述下方 */
.product-actions-bottom {
    padding-top: 0;
    margin-top: 0px;
    text-align: right;
}

.product-actions-bottom .btn-inquiry {
    display: inline-block;
    padding: 12px 35px;
}

.product-info h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-meta {
    background: var(--white);
    padding: 15px 0 0 0;
    border-radius: 8px;
    margin-bottom: 0;
}

/* 属性两列布局 */
.product-meta.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

.product-meta-item {
    display: flex;
    align-items: baseline;
    padding: 15px 0;
}

.product-meta-item:last-child {
    border-bottom: none;
}

.product-meta-item label {
    width: 100px;
    min-width: 100px;
    color: var(--gray);
    font-size: 13px;
}

.product-meta-item span {
    flex: 1;
    font-weight: 500;
}

.product-meta-item .model-number {
    color: var(--primary);
    font-weight: 500;
}

/* 产品标签 */
.product-tags {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-tags label {
    color: var(--gray);
    font-size: 13px;
    min-width: 50px;
    padding-top: 8px;
}

.product-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-tag {
    background: transparent;
    position: relative;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--primary);
    border-radius: 15px;
    outline: none;
    overflow: hidden;
    color: var(--primary);
    transition: color 0.3s 0.1s ease-out;
}

.product-tag::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: '';
    border-radius: 50%;
    display: block;
    width: 20em;
    height: 20em;
    left: -5em;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
}

.product-tag:hover {
    color: #fff;
    border-color: var(--primary);
}

.product-tag:hover::before {
    box-shadow: inset 0 0 0 10em var(--primary);
}

/* ========== 询价表单 ========== */
.inquiry-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    margin: 40px auto;
}

.inquiry-form h2 {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 13px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--light-gray);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .prev,
.pagination .next {
    padding: 0 15px;
}

.pagination .dots {
    border: none;
    background: transparent;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .site-logo {
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .site-logo .logo-image {
        max-height: 35px;
    }
    
    .header-right {
        flex: 1;
        order: 2;
    }
    
    .header-search-form {
        flex: 1;
    }
    
    .header-search-form input[type="text"] {
        width: 100%;
    }
    
    .gtranslate-wrap {
        flex-shrink: 0;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: 10px 0;
    }
    
    .main-nav > ul > li > a {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid var(--border);
    }
    
    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        padding: 0;
        display: none;
    }
    
    .main-nav .has-dropdown.open .sub-menu {
        display: block;
    }
    
    .main-nav .sub-menu li a {
        padding: 10px 25px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 4;
        width: 100%;
        justify-content: center;
        padding: 8px;
        background: var(--light-gray);
        border: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        color: var(--dark);
        gap: 8px;
        align-items: center;
    }
    
    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card .product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gtranslate-wrap {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .header-search-form {
        max-width: 120px;
    }
}


/* ========== 首页分类区块 ========== */
.hero-categories {
    padding: 20px 0 0;
    background: var(--white);
}

.category-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.category-box {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 350px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    text-decoration: none;
    position: relative;
    padding: 30px;
}

.category-content {
    text-align: center;
    padding: 20px;
}

.category-box h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.category-link {
    display: inline-block;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.category-box:hover .category-link {
    color: var(--dark);
    animation: none;
}

@media (max-width: 768px) {
    .category-boxes {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-box {
        min-height: 280px;
    }
    
    .category-box h3 {
        font-size: 22px;
    }
}


/* ========== Why Book With Us ========== */
.why-us {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-us-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-us-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-us-header p {
    font-size: 14px;
    color: var(--gray);
}

.why-us-header .divider {
    display: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-us-item {
    text-align: center;
    padding: 20px 15px;
}

.why-us-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--primary);
    transition: transform 0.3s;
}

.why-us-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    stroke-width: 1.2;
}

.why-us-item:hover .why-us-icon {
    transform: translateY(-5px);
}

.why-us-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-us-item p {
    font-size: 13px;
    color: var(--gray);
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-header h2 {
        font-size: 24px;
    }
}


/* ========== View More 按钮 ========== */
.view-more-wrap {
    text-align: center;
    padding: 25px 0 10px;
}

.btn-view-more {
    display: inline-block;
    padding: 10px 28px;
    border: 1.5px solid var(--dark);
    border-radius: 25px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-view-more span {
    margin-right: 8px;
    display: inline-block;
    animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.btn-view-more:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-view-more:hover span {
    animation: none;
    transform: translateX(5px);
}



/* ========== About Us ========== */
.about-us {
    padding: 60px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content .about-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content h2 {
        font-size: 28px;
    }
}


/* ========== Latest News ========== */
.latest-news {
    padding: 60px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
}

.news-card .news-image {
    display: block;
    overflow: hidden;
    height: 220px;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px 5px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 50px;
}

.news-content h3 a {
    color: var(--dark);
}

.news-content h3 a:hover {
    color: var(--primary);
}

.news-date {
    display: block;
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== Partner Brands ========== */
.partner-brands {
    padding: 60px 0;
    background: var(--white);
}

.brands-header {
    text-align: center;
    margin-bottom: 40px;
}

.brands-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.brands-header p {
    font-size: 14px;
    color: var(--gray);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    padding: 15px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.brand-logo .brand-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.brand-name {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
}

@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========== Contact Section ========== */
.contact-section {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 25px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--gray);
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
}

.contact-form-wrap h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-top {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.form-top input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--dark);
    font-size: 12px;
    outline: none;
}

.form-top input:focus {
    border-color: var(--dark);
}

.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dark);
    font-size: 12px;
    outline: none;
    resize: vertical;
    flex: 1;
    min-height: 180px;
}

.contact-form textarea:focus {
    border-color: var(--dark);
}

.btn-send {
    padding: 10px 20px;
    background: #34495e;
    color: var(--white);
    border: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    animation: btnBreathe 2s ease-in-out infinite;
}

@keyframes btnBreathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

.btn-send:hover {
    background: var(--dark);
    animation: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-top {
        flex-direction: column;
    }
    
    .form-top input {
        width: 100%;
    }
}


/* ========== 品牌/产品列表页 ========== */
.brand-page-header {
    background: var(--white);
    padding: 40px 0 25px;
}

.brand-page-header .container {
    text-align: left;
}

.brand-page-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.brand-page-header p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.8;
    max-width: 900px;
}

.brand-page-nav {
    background: var(--white);
    padding: 15px 0 25px;
    margin-bottom: 40px;
}

.brand-page-nav .container {
    text-align: left;
}

.brand-page-nav a {
    display: inline-block;
    padding: 6px 16px;
    margin: 4px 6px 4px 0;
    font-size: 14px;
    color: var(--gray);
    border-radius: 3px;
    transition: all 0.2s;
}

.brand-page-nav a:hover {
    color: var(--dark);
}

.brand-page-nav a.active {
    background: var(--primary);
    color: var(--white);
}

/* 无产品提示 */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    font-size: 16px;
}


/* ========== 询价提示 ========== */
.brand-inquiry-tip {
    margin-top: 20px;
    padding: 15px 20px;
    background: #fff8e6;
    border-left: 4px solid var(--primary);
    font-size: 14px;
    color: var(--dark);
}

.brand-inquiry-tip .click-here {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.brand-inquiry-tip .click-here:hover {
    color: #b8975b;
}

/* ========== 询价弹窗 ========== */
.inquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.inquiry-modal.active {
    display: flex;
}

.inquiry-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.inquiry-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    line-height: 1;
}

.inquiry-modal-close:hover {
    color: var(--dark);
}

.inquiry-modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
}

.inquiry-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.inquiry-modal-form input,
.inquiry-modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.inquiry-modal-form input:focus,
.inquiry-modal-form textarea:focus {
    border-color: var(--primary);
}

.inquiry-modal-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.btn-submit-inquiry {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit-inquiry:hover {
    background: #b8975b;
}

@media (max-width: 480px) {
    .inquiry-modal-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .inquiry-modal-content {
        padding: 30px 20px;
    }
}


/* ========== 面包屑导航 ========== */
.breadcrumb {
    padding: 20px 0;
    font-size: 13px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: var(--dark);
    margin: 0;
}

/* ========== 产品详情页优化 ========== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px 0 0;
    align-items: start;
}

.product-gallery {
    background: var(--white);
    padding: 0px;
    border-radius: 4px;
    text-align: center;
}

.product-gallery img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.product-info h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.product-meta {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.product-meta-item {
    display: flex;
    padding: 8px 0;
    font-size: 14px;
}

.product-meta-item:last-child {
    border-bottom: none;
}

.product-meta-item label {
    width: 80px;
    color: var(--gray);
    font-size: 13px;
}

.product-meta-item span {
    flex: 1;
}

.product-meta-item .model-number {
    color: var(--primary);
    font-weight: 500;
}

.product-specs h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-specs pre {
    background: var(--white);
    padding: 15px;
    font-size: 13px;
    white-space: pre-wrap;
    border-radius: 4px;
}

.product-actions {
    margin-top: 20px;
    text-align: left;
    padding-left: 50%;
}

.product-actions .btn-inquiry {
    display: inline-block;
    width: auto;
    padding: 12px 30px;
    font-size: 16px;
}

.product-actions .btn-inquiry span {
    display: inline-block;
    animation: text-breathe 2s ease-in-out infinite;
}

@keyframes text-breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.inquiry-form {
    max-width: 100%;
    margin: 0 0 40px;
    padding: 30px;
}

.inquiry-form h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-meta.two-columns {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        padding-left: 0;
        text-align: center;
    }
    
    .product-actions .btn-inquiry {
        white-space: nowrap;
        padding: 10px 25px;
        font-size: 14px;
    }
}


/* ========== About Us 页面 ========== */
.about-page-header {
    background: var(--light-gray);
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    margin-bottom: 50px;
    text-align: center;
}

.about-page-header .container {
    text-align: center;
}

.about-page-header .header-top-text {
    font-size: 25px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-page-header h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.about-page-header .header-bottom-text {
    font-size: 30px;
    color: var(--white);
    opacity: 0.9;
}

/* 公司介绍 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 30px 0 60px;
}

.about-intro-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
}

.about-intro-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 18px;
}

.about-intro-content .brands-inline {
    margin-top: 25px;
    line-height: 2;
}

.about-intro-content .brands-inline strong {
    color: var(--dark);
}

.about-intro-content .brands-inline a {
    color: var(--primary);
    font-weight: 500;
}

.about-intro-content .brands-inline a:hover {
    text-decoration: underline;
}

.about-intro-image img {
    width: 100%;
    border-radius: 4px;
}

/* Where We Are 位置介绍 */
.about-location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.about-location-image img {
    width: 100%;
    border-radius: 4px;
}

.about-location-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
}

.about-location-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .about-location {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 品牌列表 */
.about-brands {
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.about-brands h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.about-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.about-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 15px;
    background: var(--light-gray);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.about-brand-item:hover {
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.about-brand-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.about-brand-item .brand-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

@media (max-width: 992px) {
    .about-brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .about-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .about-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 我们的优势 */
.about-features {
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.about-features h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 25px 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
}

.feature-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* 我们的服务 */
.about-services {
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.about-services h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.services-list {
    max-width: 700px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.service-item:last-child {
    border-bottom: none;
}

.service-num {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    line-height: 1;
}

.service-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* 联系我们 */
.about-contact {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.about-contact h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-contact p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-intro-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== 右侧固定联系按钮 ========== */
.floating-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    position: relative;
}

.float-btn svg {
    width: 24px;
    height: 24px;
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* Tooltip 提示 */
.float-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--dark);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--white);
    border-right: none;
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 显示所有 tooltip 的状态 */
.floating-contact.show-all .float-tooltip {
    opacity: 1;
    visibility: visible;
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.whatsapp:hover {
    background: #1da851;
}

.float-btn.email {
    background: #0088cc;
}

.float-btn.email:hover {
    background: #006699;
}

.float-btn.phone {
    background: #25D366;
}

.float-btn.phone:hover {
    background: #1da851;
}

.float-btn.facebook {
    background: #1877F2;
}

.float-btn.facebook:hover {
    background: #0d65d9;
}

.float-btn.youtube {
    background: #FF0000;
}

.float-btn.youtube:hover {
    background: #cc0000;
}

@media (max-width: 768px) {
    .floating-contact {
        right: 10px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
    }
    
    .float-btn svg {
        width: 20px;
        height: 20px;
    }
}


/* ========== GTranslate 语言切换器 ========== */
.gtranslate-wrap {
    display: flex;
    align-items: center;
}

.gtranslate-wrap .gt_selector {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    padding: 10px 5px;
    outline: none;
}

.gtranslate-wrap select {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    padding: 10px 5px;
    outline: none;
}


/* ========== Contact 页面 ========== */
.contact-page-header {
    background: var(--light-gray);
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    text-align: center;
    margin-bottom: 50px;
}

.contact-page-header h1 {
    font-size: 42px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.contact-page-header p {
    font-size: 18px;
    color: var(--white);
    opacity: 0.9;
}

.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 0 80px;
}

/* 左侧信息 */
.contact-page-info h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--primary);
}

.contact-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary);
}

/* 右侧表单 */
.contact-page-form h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
}

.contact-form-fields .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-fields .form-group {
    margin-bottom: 20px;
}

.contact-form-fields label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form-fields input,
.contact-form-fields textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
    border-color: var(--primary);
}

.contact-form-fields .btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form-fields .btn-submit:hover {
    background: #b8975b;
}

@media (max-width: 768px) {
    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-fields .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-page-header {
        padding: 60px 0;
    }
    
    .contact-page-header h1 {
        font-size: 32px;
    }
}


/* ========== News 页面 ========== */
.news-page-header {
    background: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.news-page-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.news-page-header p {
    font-size: 16px;
    color: var(--gray);
}

.news-page-content {
    padding: 40px 0 80px;
}

.news-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-page {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card-page:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card-page:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 25px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
}

.news-card-meta .news-date {
    color: var(--gray);
    display: inline;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0;
    background: none;
    padding: 0;
}

.news-category {
    color: var(--primary);
    font-weight: 500;
}

.news-card-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-content h2 a {
    color: var(--dark);
    transition: color 0.2s;
}

.news-card-content h2 a:hover {
    color: var(--primary);
}

.news-card-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--dark);
}

.news-pagination {
    text-align: center;
    margin-top: 50px;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--border);
    color: var(--dark);
    border-radius: 4px;
    transition: all 0.2s;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.no-news {
    text-align: center;
    padding: 60px 0;
    color: var(--gray);
}

/* ========== 文章详情页 ========== */
.single-post {
    padding: 40px 0 80px;
}

.single-post .breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--gray);
}

.single-post .breadcrumb a {
    color: var(--gray);
    transition: color 0.2s;
}

.single-post .breadcrumb a:hover {
    color: var(--primary);
}

.single-post .breadcrumb span {
    margin: 0 8px;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: var(--gray);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    color: var(--primary);
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 30px 0 15px;
    font-weight: 600;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.post-tags span {
    font-weight: 500;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: var(--light-gray);
    color: var(--gray);
    font-size: 13px;
    border-radius: 3px;
    transition: all 0.2s;
}

.post-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.post-navigation .nav-prev,
.post-navigation .nav-next {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation span {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-navigation a {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.2s;
}

.post-navigation a:hover {
    color: var(--primary);
}

/* News 响应式 */
@media (max-width: 992px) {
    .news-grid-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid-page {
        grid-template-columns: 1fr;
    }
    
    .news-page-header h1 {
        font-size: 28px;
    }
    
    .post-header h1 {
        font-size: 26px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
}


/* ========== Toast 提示组件 ========== */
.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toast-icon svg {
    width: 100%;
    height: 100%;
}

.toast-success .toast-icon {
    color: var(--primary);
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

.toast-success {
    border-left: 4px solid var(--primary);
}

.toast-error {
    border-left: 4px solid #ef4444;
}

@media (max-width: 480px) {
    .toast-notification {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
}


/* ========== 浏览记录 ========== */
.browsing-history {
    margin: 50px 0;
    padding: 30px 0;
}

.browsing-history h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.history-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.history-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.history-nav:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.history-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.history-nav svg {
    width: 20px;
    height: 20px;
}

.history-slider {
    flex: 1;
    overflow: hidden;
}

.history-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.history-item {
    flex-shrink: 0;
    width: 180px;
    text-decoration: none;
    display: block;
}

.history-item-image {
    width: 180px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.history-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.history-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.history-item-model {
    font-size: 12px;
    color: var(--primary);
}

.history-item:hover .history-item-title {
    color: var(--primary);
}

@media (max-width: 768px) {
    .history-item {
        width: 150px;
    }
    
    .history-item-image {
        width: 150px;
        height: 120px;
    }
    
    .history-nav {
        width: 35px;
        height: 35px;
    }
}


/* ========== 产品卡片标签 ========== */
.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.product-tag-small {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-tag-small:hover {
    background: var(--primary);
    color: #fff;
}


/* ========== 3D 立体按钮 ========== */
.btn-3d {
    --btn-radius: 0.4em;
    --btn-color: #fff;
    --btn-outline: #b8975b;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--btn-radius);
    background: var(--btn-outline);
    text-decoration: none;
}

.btn-3d-top {
    display: block;
    box-sizing: border-box;
    border: 2px solid var(--btn-outline);
    border-radius: var(--btn-radius);
    padding: 8px 20px;
    background: var(--btn-color);
    color: var(--btn-outline);
    transform: translateY(-0.2em);
    transition: transform 0.1s ease;
}

.btn-3d:hover .btn-3d-top {
    transform: translateY(-0.33em);
}

.btn-3d:active .btn-3d-top {
    transform: translateY(0);
}


/* ========== 鼠标追踪悬停卡片 ========== */
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hover-card {
    display: block;
    text-decoration: none;
    position: relative;
    perspective: 1000px;
}

.hover-card-canvas {
    position: relative;
    width: 100%;
    height: 320px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.hover-card:hover .hover-card-canvas {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hover-card-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.hover-card-canvas::before {
    display: none;
}

.hover-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 20px 30px;
    transform: translateZ(30px);
}

.hover-card-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.hover-card-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.hover-card:hover .hover-card-subtitle {
    transform: translateX(5px);
}

.hover-card:hover .hover-card-canvas {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 追踪器网格 */
.hover-card-canvas .tracker {
    position: absolute;
    z-index: 20;
    width: 33.33%;
    height: 33.33%;
}

.tracker.tr-1 { top: 0; left: 0; }
.tracker.tr-2 { top: 0; left: 33.33%; }
.tracker.tr-3 { top: 0; right: 0; }
.tracker.tr-4 { top: 33.33%; left: 0; }
.tracker.tr-5 { top: 33.33%; left: 33.33%; }
.tracker.tr-6 { top: 33.33%; right: 0; }
.tracker.tr-7 { bottom: 0; left: 0; }
.tracker.tr-8 { bottom: 0; left: 33.33%; }
.tracker.tr-9 { bottom: 0; right: 0; }

/* 3D 倾斜效果 */
.hover-card-canvas:has(.tr-1:hover) {
    transform: rotateX(10deg) rotateY(-10deg);
}

.hover-card-canvas:has(.tr-2:hover) {
    transform: rotateX(10deg) rotateY(0deg);
}

.hover-card-canvas:has(.tr-3:hover) {
    transform: rotateX(10deg) rotateY(10deg);
}

.hover-card-canvas:has(.tr-4:hover) {
    transform: rotateX(0deg) rotateY(-10deg);
}

.hover-card-canvas:has(.tr-5:hover) {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
}

.hover-card-canvas:has(.tr-6:hover) {
    transform: rotateX(0deg) rotateY(10deg);
}

.hover-card-canvas:has(.tr-7:hover) {
    transform: rotateX(-10deg) rotateY(-10deg);
}

.hover-card-canvas:has(.tr-8:hover) {
    transform: rotateX(-10deg) rotateY(0deg);
}

.hover-card-canvas:has(.tr-9:hover) {
    transform: rotateX(-10deg) rotateY(10deg);
}

@media (max-width: 768px) {
    .hover-card-canvas {
        height: 250px;
    }
    
    .hover-card-title {
        font-size: 22px;
    }
}
