/*
Theme Name: Dulizhan 独立站
Theme URI: https://example.com/dulizhan
Author: 仙语资源
Author URI: https://example.com
Description: 独立站产品展示主题 - WhatsApp 跳转成交。深蓝专业色调，中英双语。
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: dulizhan
*/

/* ============================
   CSS 变量（深蓝专业主题）
   ============================ */
:root {
    --primary:        #1e3a8a;
    --primary-dark:   #172554;
    --primary-light:  #3b82f6;
    --accent:         #0ea5e9;
    --whatsapp:       #25D366;
    --whatsapp-dark:  #1ebd5a;
    --text:           #1e293b;
    --text-light:     #64748b;
    --text-lighter:   #94a3b8;
    --bg:             #ffffff;
    --bg-light:       #f8fafc;
    --bg-gray:        #f1f5f9;
    --border:         #e2e8f0;
    --border-dark:    #cbd5e1;
    --shadow-sm:      0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow:         0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md:      0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg:      0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl:      0 25px 50px -12px rgba(0,0,0,0.25);
    --radius:         8px;
    --radius-lg:      12px;
    --radius-xl:      16px;
    --radius-full:    9999px;
    --container:      1200px;
    --header-h:       76px;
    --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   Logo 升级（双行：中文 + 英文）
   ============================ */
.site-logo {
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.site-logo:hover { color: var(--primary) !important; }

.site-logo .site-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
    flex-shrink: 0;
    position: relative;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.site-logo:hover .site-logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.site-logo .site-logo-icon .logo-letter {
    color: #ffffff;
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    transform: rotate(5deg);
    display: inline-block;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.site-logo .site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.site-logo .logo-zh {
    color: var(--primary);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.5px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.site-logo .logo-en {
    color: var(--text-light);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ============================
   Hero 球鞋站主视觉
   ============================ */
.hero-sneaker {
    background: linear-gradient(135deg, #0a0e27 0%, #1e3a8a 50%, #0ea5e9 100%);
    color: #ffffff;
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(37, 211, 102, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-sneaker-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { color: #ffffff; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.04em;
}

.hero-title-line1,
.hero-title-line2 {
    display: block;
}

.hero-title-line2 {
    background: linear-gradient(90deg, #25D366 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.6;
    margin-bottom: 36px;
    color: rgba(255,255,255,0.9);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-actions .btn-primary {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.hero-actions .btn-primary:hover {
    background: var(--text);
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-shoe-card {
    width: 100%;
    aspect-ratio: 1;
    max-width: 480px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4);
    animation: shoeFloat 6s ease-in-out infinite;
}

@keyframes shoeFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-shoe-placeholder {
    font-size: 200px;
    line-height: 1;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.hero-shoe-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--whatsapp);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}

/* ============================
   品牌滚动墙
   ============================ */
.brands-wall {
    background: var(--text);
    color: #ffffff;
    padding: 32px 0;
    overflow: hidden;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: brandScroll 30s linear infinite;
    width: max-content;
}

@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    font-size: 28px;
    font-weight: 900;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    transition: var(--transition);
    white-space: nowrap;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.brand-item:hover {
    color: #ffffff;
}

/* ============================
   品牌筛选条
   ============================ */
.brands-filter-bar {
    background: #ffffff;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.brands-filter-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}

.brands-filter-track::-webkit-scrollbar { display: none; }

.brand-filter-item {
    padding: 10px 22px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none !important;
    flex-shrink: 0;
}

.brand-filter-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 58, 138, 0.04);
}

.brand-filter-item.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}

/* ============================
   品牌展示卡片
   ============================ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none !important;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.brand-card > * { position: relative; z-index: 1; transition: var(--transition); }

.brand-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-card:hover::before { opacity: 1; }
.brand-card:hover .brand-card-name,
.brand-card:hover .brand-card-zh,
.brand-card:hover .brand-card-arrow { color: #ffffff; }

.brand-card-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.brand-card-zh {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.brand-card-arrow {
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}

/* ============================
   产品卡片品牌标签
   ============================ */
.product-card-brand {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.product-card-series {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    font-size: 100px;
    color: var(--text-lighter);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--whatsapp);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 2;
}

/* ============================
   详情页品牌标签
   ============================ */
.product-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary);
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-decoration: none !important;
}

.product-brand-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
}

.product-series-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-gray);
    color: var(--text);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-left: 8px;
}

.product-short-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================
   详情页信任标识
   ============================ */
.product-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================
   暗色区块（最新到货用）
   ============================ */
.section-dark {
    background: var(--text);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.section-dark .section-title h2,
.section-dark .section-title-left { color: #ffffff; }
.section-dark .section-title p,
.section-dark .section-subtitle-left { color: rgba(255,255,255,0.7); }

.section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title-left {
    font-size: clamp(28px, 4vw, 38px);
    color: var(--text);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-subtitle-left {
    font-size: 17px;
    color: var(--text-light);
    margin: 0;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.4);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none !important;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--text);
    border-color: #ffffff;
}

.page-subtitle-en {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    margin-left: 12px;
}

.page-header-desc {
    margin-top: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* ============================
   产品图集空状态
   ============================ */
.product-gallery-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 16px;
}

.product-gallery-empty span {
    font-size: 120px;
    margin-bottom: 16px;
    filter: grayscale(30%);
}

/* ============================
   页脚升级
   ============================ */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #334155;
    align-items: center;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 800;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.footer-newsletter p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #334155;
    border-radius: var(--radius);
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
}

.newsletter-form input::placeholder { color: #64748b; }

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255,255,255,0.08);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--whatsapp);
    color: #ffffff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover { background: var(--whatsapp-dark); }

.footer-whatsapp {
    color: #25D366 !important;
    font-weight: 600;
}

.footer-widget p a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-widget p a:hover { color: #ffffff; }

/* ============================
   移动端响应
   ============================ */
@media (max-width: 968px) {
    .hero-sneaker-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-shoe-card { max-width: 320px; }
    .hero-shoe-placeholder { font-size: 140px; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-trust { grid-template-columns: 1fr; }
    .section-header-flex { flex-direction: column; align-items: flex-start; }
    .hero-sneaker { min-height: auto; padding: 60px 0 70px; }
}

@media (max-width: 768px) {
    .hero-sneaker { padding: 50px 0 60px; }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .hero-stat-num { font-size: 26px; }
    .hero-shoe-card { max-width: 260px; }
    .hero-shoe-placeholder { font-size: 110px; }
    .brand-card-name { font-size: 20px; }
    .site-logo .logo-zh { font-size: 16px; }
    .site-logo .logo-en { font-size: 10px; }
}

/* ============================
   白天/夜间 主题切换按钮
   ============================ */
.theme-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #ffffff;
    color: #f59e0b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--primary);
    transform: rotate(15deg);
    box-shadow: var(--shadow);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: absolute;
}

.theme-toggle .theme-icon-sun {
    fill: none;
    color: #f59e0b;
    transform: scale(1) rotate(0);
}

.theme-toggle .theme-icon-moon {
    fill: #1e3a8a;
    color: #1e3a8a;
    transform: scale(0) rotate(-180deg);
    display: none;
}

.theme-toggle.is-dark {
    background: #1e293b;
    border-color: #334155;
    color: #fbbf24;
}

.theme-toggle.is-dark:hover {
    border-color: #fbbf24;
    transform: rotate(-15deg);
}

.theme-toggle.is-dark .theme-icon-sun {
    transform: scale(0) rotate(180deg);
}

.theme-toggle.is-dark .theme-icon-moon {
    transform: scale(1) rotate(0);
}

/* ============================
   夜间模式 (Dark Mode)
   ============================ */
[data-theme="dark"] {
    --primary:        #60a5fa;
    --primary-dark:   #3b82f6;
    --primary-light:  #93c5fd;
    --accent:         #38bdf8;
    --text:           #f1f5f9;
    --text-light:     #94a3b8;
    --text-lighter:   #64748b;
    --bg:             #0f172a;
    --bg-light:       #1e293b;
    --bg-gray:        #334155;
    --border:         #334155;
    --border-dark:    #475569;
    --shadow-sm:      0 1px 2px 0 rgba(0,0,0,0.3);
    --shadow:         0 4px 6px -1px rgba(0,0,0,0.4);
    --shadow-md:      0 10px 15px -3px rgba(0,0,0,0.4);
    --shadow-lg:      0 20px 25px -5px rgba(0,0,0,0.5);
    --shadow-xl:      0 25px 50px -12px rgba(0,0,0,0.6);
}

[data-theme="dark"] body {
    background: var(--bg);
    color: var(--text);
}

[data-theme="dark"] .site-header {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .lang-switcher {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border);
}

[data-theme="dark"] .lang-switcher:hover,
[data-theme="dark"] .lang-switcher.active {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .page-content-inner,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .contact-extra,
[data-theme="dark"] .brand-card {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .product-card-title a,
[data-theme="dark"] .feature-item h3,
[data-theme="dark"] .section-title h2,
[data-theme="dark"] .page-content-inner h2,
[data-theme="dark"] .product-info h1,
[data-theme="dark"] .product-specs h3,
[data-theme="dark"] .product-description h3,
[data-theme="dark"] .section-title-left,
[data-theme="dark"] .product-card-title,
[data-theme="dark"] .brand-card-name,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 {
    color: var(--text);
}

[data-theme="dark"] .product-card-title a,
[data-theme="dark"] .product-card-excerpt,
[data-theme="dark"] .product-card-series,
[data-theme="dark"] .feature-item p,
[data-theme="dark"] .section-title p,
[data-theme="dark"] .product-short-desc,
[data-theme="dark"] .contact-item-value,
[data-theme="dark"] .brand-card-zh,
[data-theme="dark"] .page-content-inner p,
[data-theme="dark"] .page-content-inner li,
[data-theme="dark"] p {
    color: var(--text-light);
}

[data-theme="dark"] .product-card-image,
[data-theme="dark"] .product-gallery-main,
[data-theme="dark"] .product-card-placeholder {
    background: var(--bg-gray);
}

[data-theme="dark"] .product-specs,
[data-theme="dark"] .product-trust,
[data-theme="dark"] .product-price-box {
    background: var(--bg-light);
    border-color: var(--border);
}

[data-theme="dark"] .product-price-box {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .product-price-box::before {
    background: var(--primary);
}

[data-theme="dark"] .product-short-desc {
    background: var(--bg-light);
    border-left-color: var(--primary);
}

[data-theme="dark"] .brands-filter-bar {
    background: var(--bg-light);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .brand-filter-item {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border);
}

[data-theme="dark"] .brand-filter-item:hover,
[data-theme="dark"] .brand-filter-item.active {
    background: var(--primary);
    color: #0f172a;
    border-color: var(--primary);
}

[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .page-header h1 {
    color: var(--text);
}

[data-theme="dark"] .breadcrumb {
    background: var(--bg-light);
    border-bottom-color: var(--border);
    color: var(--text-light);
}

[data-theme="dark"] .breadcrumb .current {
    color: var(--text);
}

[data-theme="dark"] .section-light {
    background: var(--bg-light);
}

[data-theme="dark"] .alert-info {
    background: rgba(96, 165, 250, 0.1);
    color: var(--primary-light);
    border-color: var(--primary);
}

[data-theme="dark"] .pagination a,
[data-theme="dark"] .pagination span {
    background: var(--bg-light);
    color: var(--text);
    border-color: var(--border);
}

[data-theme="dark"] .pagination a:hover,
[data-theme="dark"] .pagination .current {
    background: var(--primary);
    color: #0f172a;
    border-color: var(--primary);
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}

[data-theme="dark"] .section-dark {
    background: #020617;
}

[data-theme="dark"] .trust-icon {
    background: var(--bg);
    color: var(--text);
}

[data-theme="dark"] .product-series-tag {
    background: var(--bg-gray);
    color: var(--text);
}

[data-theme="dark"] .contact-item-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
}

[data-theme="dark"] .newsletter-form input {
    background: rgba(255,255,255,0.05);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .newsletter-form input::placeholder {
    color: var(--text-lighter);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: var(--text);
}

/* 主题切换过渡 */
body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* ============================
   基础重置
   ============================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-light); }

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

p { margin-bottom: 1em; }

/* ============================
   通用容器
   ============================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ============================
   顶部导航栏
   ============================ */
.site-header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.site-logo img { height: 40px; width: auto; }

.site-logo .site-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 900;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    position: relative;
}

.site-logo .site-logo-icon::before {
    content: '仙';
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
}

.site-logo .site-logo-text {
    color: var(--primary);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.main-nav > ul,
.main-nav > div > ul,
ul.main-menu,
ul#primary-menu,
ul.menu,
.main-nav ul {
    display: flex !important;
    align-items: center;
    gap: 8px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: row !important;
}

.main-nav > ul > li,
.main-nav > div > ul > li,
ul.main-menu > li,
ul#primary-menu > li,
ul.menu > li,
.main-nav ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: var(--radius);
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active,
.current-menu-item > a,
.current_page_item > a {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.06);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lang-switcher {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-switcher:hover,
.lang-switcher.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 58, 138, 0.04);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================
   按钮
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #ffffff;
    border-color: var(--whatsapp);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================
   Hero 区域
   ============================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 100px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-outline {
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.hero-cta .btn-outline:hover {
    background: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
}

/* ============================
   区块
   ============================ */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 38px);
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================
   特点区块
   ============================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.feature-item {
    text-align: center;
    padding: 36px 24px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    box-shadow: var(--shadow);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================
   产品卡片
   ============================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-gray);
    display: block;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
    pointer-events: none;
}

.product-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.product-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: var(--text);
}
.product-card-title a:hover {
    color: var(--primary);
}

.product-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.product-card .btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin-top: auto;
}

/* ============================
   产品详情页
   ============================ */
.product-detail {
    padding: 60px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--primary);
    transform: scale(0.98);
}

.product-info h1 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.product-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.product-price-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    border: 1px solid #bfdbfe;
    position: relative;
    overflow: hidden;
}

.product-price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.product-price-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 500;
}

.product-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.product-description {
    margin-bottom: 32px;
    line-height: 1.8;
    color: var(--text);
}

.product-description h3 {
    font-size: 18px;
    margin: 20px 0 12px;
    color: var(--text);
}

.product-specs {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.product-specs h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text);
    font-weight: 700;
}

.product-specs ul li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.product-specs ul li:last-child { border-bottom: none; }

.product-specs strong {
    color: var(--text);
    font-weight: 600;
    flex-shrink: 0;
}

.product-specs ul li span {
    color: var(--text-light);
    text-align: right;
}

.product-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.product-cta .btn-whatsapp {
    font-size: 17px;
    padding: 18px 36px;
    font-weight: 700;
}

/* ============================
   页面通用
   ============================ */
main { display: block; min-height: 60vh; }

.page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, #eff6ff 100%);
    padding: 70px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
}

.page-header h1 {
    font-size: clamp(32px, 5vw, 44px);
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
}

.page-header p {
    color: var(--text-light);
    font-size: 17px;
    margin: 0;
    position: relative;
}

.page-content {
    padding: 70px 0;
}

.page-content-inner {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.page-content-inner h2 {
    font-size: 28px;
    color: var(--text);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-gray);
    font-weight: 800;
}

.page-content-inner h2:not(:first-child) {
    margin-top: 40px;
}

.page-content-inner h3 {
    font-size: 20px;
    color: var(--text);
    margin: 32px 0 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-content-inner p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text);
}

.page-content-inner ul,
.page-content-inner ol {
    margin: 12px 0 20px 24px;
}

.page-content-inner li {
    list-style: disc;
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text);
}

/* 联系方式页特殊样式 */
.contact-page {
    max-width: 1080px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 0 32px;
}

.contact-item {
    display: block;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

a.contact-item { cursor: pointer; }

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-item-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-color: transparent;
}

.contact-item-whatsapp:hover {
    border-color: transparent;
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.4);
}

.contact-item-whatsapp .contact-item-label,
.contact-item-whatsapp .contact-item-action {
    color: rgba(255,255,255,0.9);
}

.contact-item-whatsapp .contact-item-value {
    color: #ffffff;
}

.contact-item-icon {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}

.contact-item-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-value {
    font-size: 16px;
    color: var(--text);
    font-weight: 700;
    word-break: break-all;
    margin-bottom: 12px;
    line-height: 1.4;
}

.contact-item-action {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
}

.contact-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-extra-item strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-extra-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.5;
}

.contact-cta {
    text-align: center;
    margin: 40px 0;
}

.contact-cta .btn-whatsapp {
    font-size: 18px;
    padding: 20px 48px;
    font-weight: 700;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.about-page {
    max-width: 1080px;
    margin: 0 auto;
}

/* ============================
   产品筛选器
   ============================ */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    background: #ffffff;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* ============================
   面包屑
   ============================ */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-lighter);
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 500;
}

/* ============================
   分页
   ============================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 50px 0 20px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ============================
   CTA 区块
   ============================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(37,211,102,0.15) 0%, transparent 60%);
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 38px);
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 800;
    position: relative;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .btn-whatsapp {
    position: relative;
    font-size: 17px;
    padding: 18px 40px;
    font-weight: 700;
}

/* ============================
   页脚
   ============================ */
.site-footer {
    background: var(--text);
    color: #cbd5e1;
    padding: 70px 0 24px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-widget p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-widget ul li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-widget ul a {
    color: #cbd5e1;
    font-size: 14px;
    transition: var(--transition);
}

.footer-widget ul a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.footer-bottom p { margin: 0; }

/* ============================
   WhatsApp 浮动按钮
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: #ffffff !important;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    flex-shrink: 0;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================
   提示框
   ============================ */
.alert {
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    font-size: 15px;
    border-left: 4px solid;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-color: var(--primary);
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: var(--whatsapp);
}

/* ============================
   工具类
   ============================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* ============================
   404 页面
   ============================ */
.error-404 {
    text-align: center;
    padding: 100px 20px;
}

.error-404 h1 {
    font-size: clamp(96px, 20vw, 160px);
    color: var(--primary);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

.error-404 h2 {
    font-size: 26px;
    color: var(--text);
    margin-bottom: 16px;
}

.error-404 p {
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   响应式
   ============================ */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-gallery { position: static; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 8px;
        display: none;
        border-top: 1px solid var(--border);
    }

    .main-nav.active { display: flex; }

    .main-nav > ul,
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero { padding: 60px 0 70px; }
    .section { padding: 60px 0; }
    .section-title { margin-bottom: 40px; }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .product-card-body { padding: 14px; }
    .product-card-title { font-size: 14px; }
    .product-card-price { font-size: 18px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-content-inner { padding: 30px 20px; }
    .page-content-inner h2 { font-size: 22px; }

    .whatsapp-float {
        padding: 14px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float .wa-text { display: none; }

    .header-actions .lang-switcher { padding: 6px 10px; font-size: 13px; }
}
