/* ============================================================
   SeaHawk Rippa - Main Stylesheet
   Inspired by Rippa.com modern corporate design
   ============================================================ */

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-link-hover);
}

ul, ol {
    list-style: none;
}

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-heading);
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-heading);
}

.section-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   4. Layout
   ============================================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

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

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-footer {
    margin-top: 3rem;
}

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: var(--font-size-base);
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-light:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-sm);
}

/* ============================================================
   6. Top Bar
   ============================================================ */
.top-bar { width: 100%; 
    background: var(--color-gray-900);
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
    height: 36px;
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar a {
    color: rgba(255,255,255,0.7);
}

.top-bar a:hover {
    color: var(--color-white);
}

.top-menu {
    display: flex;
    gap: 1.5rem;
}

.top-menu li {
    display: inline;
}

.top-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-phone .iconfont {
    font-size: 14px;
}

/* ============================================================
   7. Header & Navigation
   ============================================================ */
.site-header { width: 100%; 
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-branding .custom-logo-link img {
    height: 46px;
    width: auto;
}

.site-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-heading);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    gap: 0;
    list-style: none;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    height: 80px;
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-fast);
}

.primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
    color: var(--color-primary);
}

.primary-menu > li:hover > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current_page_item > a::after {
    transform: scaleX(1);
}

/* Header Contact */
.header-contact {
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: var(--font-size-base);
    color: var(--color-primary);
}

.header-phone .iconfont {
    font-size: 1.25rem;
}

.header-phone:hover {
    color: var(--color-primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    position: relative;
    transition: background var(--transition-fast);
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    position: absolute;
    left: 0;
    transition: transform var(--transition-base);
}

.menu-toggle-icon::before {
    top: -7px;
}

.menu-toggle-icon::after {
    top: 7px;
}

/* ============================================================
   8. Hero / Banner
   ============================================================ */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--color-gray-900);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

/* ============================================================
   9. Animation Helpers
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

/* ============================================================
   10. Stats Section
   ============================================================ */
.stats-section {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   11. About Section (Rippa-style)
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text);
}

.feature-icon {
    color: var(--color-accent);
    font-size: 1.25rem;
}

/* About Excerpt - Enhanced */
.about-excerpt {
    position: relative;
}

.about-excerpt p {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.about-excerpt p::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    margin-top: 1.25rem;
}
/* About Video */
.about-video-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
}

.about-video-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.08) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity var(--transition-base);
}

.about-video-wrapper:hover::after {
    opacity: 0.5;
}

.about-video-wrapper:hover .about-video-cover {
    transform: scale(1.05);
}

.about-video-cover {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.about-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-white);
}

.about-play-btn .iconfont {
    font-size: 2rem;
    color: var(--color-primary);
    margin-left: 3px;
}

/* ============================================================
   12. Products Section
   ============================================================ */
.product-tabs {
    margin-bottom: 2rem;
}

.product-tab-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.product-tab {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-text-light);
}

.product-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.product-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-gray-100);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-body {
    padding: 1.25rem;
}

.product-card-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.product-card-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.product-card-link-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
}


/* ============================================================
   12b. 产品列表页 (productlist)
   ============================================================ */
.e1k3 {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
    padding: 30px 0;
}
.e1k3li { width: 25%; padding: 10px; }
.e1k3xin { background: #fff; border: 1px solid #eee; border-radius: 8px; transition: all 0.3s ease; overflow: hidden; }
.e1k3xin:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-color: transparent; }

.e1k3pic {
    position: relative;
    width: 100%; padding-bottom: 100%;
    overflow: hidden; background: #f5f5f5;
}
.e1k3pic img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.35s ease;
}
.e1k3pic .imgtou { opacity: 1; z-index: 1; }
.e1k3pic .imgthu { opacity: 0; z-index: 2; }
.e1k3xin:hover .e1k3pic .imgtou { opacity: 0; }
.e1k3xin:hover .e1k3pic .imgthu { opacity: 1; }

.e1k3xia { padding: 14px 12px; }
.e1k3box { text-align: center; }
.tpname { font-size: 11px; color: #999; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.jiah4 { margin-bottom: 10px; }
.jiah4 h4 { font-size: 15px; font-weight: 700; color: #333; margin: 0; line-height: 1.4; transition: color 0.3s; }
.jiah4 a:hover h4 { color: #1a56db; }

.e1duan { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.e1duan a { display: inline-block; padding: 5px 14px; font-size: 12px; border-radius: 3px; transition: all 0.3s; text-decoration: none; line-height: 1.6; }
.e1duan .detail { border: 1px solid #ddd; color: #666; background: #fff; }
.e1duan .detail:hover { background: #1a56db; border-color: #1a56db; color: #fff; }
.e1duan .quote { background: #1a56db; color: #fff; border: 1px solid #1a56db; }
.e1duan .quote:hover { background: #1343b0; border-color: #1343b0; }

.e1wai { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eee; }
.e1wai li { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; color: #666; line-height: 1.8; list-style: none; }
.e1wai .t { color: #999; }
.e1wai .c { font-weight: 500; color: #555; }

#pages { text-align: center; margin-top: 30px; padding-bottom: 40px; clear: both; }
#pages a, #pages span { display: inline-block; padding: 8px 14px; margin: 0 2px; border: 1px solid #ddd; color: #333; text-decoration: none; font-size: 14px; transition: all 0.3s; background: #fff; border-radius: 2px; }
#pages a:hover, #pages .current { background: #1a56db; color: #fff; border-color: #1a56db; }

.no-product-data { width: 100%; text-align: center; padding: 80px 0; color: #999; }

.sub-cat-bar { background: #fff; border-bottom: 1px solid #eee; }
.sub-cat-box { max-width: 1200px; margin: 0 auto; padding: 12px 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.sub-cat-link { display: inline-block; padding: 6px 16px; font-size: 13px; color: #555; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; transition: all 0.3s; }
.sub-cat-link:hover { border-color: #1a56db; color: #1a56db; }
.sub-cat-link.active { background: #1a56db; color: #fff; border-color: #1a56db; }

.productbg { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999; cursor: pointer; }
.productbg.show { display: block; }
.product-form { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 8px; padding: 35px 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.product-form.show { display: block; }
.popclose-btn { position: absolute; top: 12px; right: 16px; font-size: 28px; color: #999; cursor: pointer; line-height: 1; transition: color 0.3s; }
.popclose-btn:hover { color: #333; }
.popclose-btn::after { content: "×"; }
.formtitle { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; color: #111827; text-align: center !important; }
.form-text { font-size: 0.9rem; color: #6b7280; margin-bottom: 1.5rem; }

@media (max-width: 992px) {
    .e1k3li { width: 33.33%; }
}
@media (max-width: 768px) {
    .e1k3li { width: 50%; }
}
@media (max-width: 480px) {
    .e1k3li { width: 100%; }
}


/* 产品询价表单 */
.product-form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.product-form .input-item { margin-bottom: 12px; }
.product-form .input-item.full-width { grid-column: 1 / -1; }
.product-form input, .product-form textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid #d1d5db; border-radius: 5px;
    font-size: 14px; font-family: inherit;
    transition: border-color 0.3s; box-sizing: border-box;
}
.product-form input:focus, .product-form textarea:focus {
    outline: none; border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.product-form textarea { resize: vertical; }
.contact-submit { margin-bottom: 8px; }
.sendform {
    width: 100%; padding: 12px; background: #1a56db; color: #fff;
    border: none; border-radius: 5px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background 0.3s;
}
.sendform:hover { background: #1343b0; }
.sign-text { font-size: 13px; color: #10b981; display: flex; align-items: center; gap: 6px; }
.check-icon { display: inline-block; width: 16px; height: 16px; background: #10b981; border-radius: 50%; position: relative; }
.check-icon::after { content: ""; position: absolute; top: 3px; left: 5px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 返回顶部 */
.back-to-top {
    position: fixed; bottom: 40px; right: 24px;
    z-index: 99; opacity: 0; visibility: hidden;
    transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top .return {
    width: 44px; height: 44px;
    background: #1a56db; color: #fff;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.back-to-top .return:hover { background: #1343b0; transform: translateY(-3px); }

@media (max-width: 576px) { .e1k3li { width: 100%; } }
@media (max-width: 768px) {
    .product-form .form-row-2 { grid-template-columns: 1fr; }
    .product-form { padding: 25px 20px; }
}
/* ============================================================
   13. Why Choose Us Section
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--color-primary-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon .iconfont {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.why-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================================
   14. News Section
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.news-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-gray-100);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.news-card-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
    text-align: center;
    line-height: 1.2;
    min-width: 48px;
}

.date-day {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
}

.date-month {
    display: block;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
}

.news-card-body {
    padding: 1.25rem;
}

.news-card-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
    line-height: 1.4;
}

.news-card-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.news-card-more {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================================
   15. CTA Section
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.cta-box {
    text-align: center;
    color: var(--color-white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: var(--font-size-4xl);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   16. Breadcrumb
   ============================================================ */
.breadcrumb-nav {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: var(--color-gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
}

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

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

.breadcrumb-nav .sep {
    margin: 0 0.5rem;
    color: var(--color-gray-300);
}

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

/* ============================================================
   17. Page Content
   ============================================================ */
.page-content,
.single-content {
    padding: 4rem 0;
}

.page-content .entry-title,
.single-content .entry-title {
    font-size: var(--font-size-4xl);
    margin-bottom: 2rem;
}

/* ============================================================
   18. Footer
   ============================================================ */
.site-footer { width: 100%; 
    background: var(--color-gray-900);
    color: rgba(255,255,255,0.7);
}

.footer-widgets {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo .custom-logo-link img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    color: var(--color-white);
    font-size: var(--font-size-2xl);
}

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
}

.footer-contact-item a {
    color: rgba(255,255,255,0.7);
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

.footer-contact-item .iconfont {
    font-size: 1rem;
    color: var(--color-primary);
}

.footer-column-title {
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-menu a {
    color: rgba(255,255,255,0.6);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--color-white);
    padding-left: 3px;
}

.footer-newsletter p {
    font-size: var(--font-size-sm);
    margin-bottom: 1.25rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    font-size: var(--font-size-sm);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    margin: 0;
}

.footer-copyright a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.footer-copyright a:hover {
    color: var(--color-white);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* ============================================================
   19. Additional Templates Common Styles
   ============================================================ */
/* Archive / Page Header */
.page-header {
    background: var(--color-gray-50);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: 0.5rem;
}

.page-header .archive-description {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Single Post/Product */
.post-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 6rem 0;
}

.error-404 .page-title {
    font-size: 6rem;
    color: var(--color-primary);
    line-height: 1;
}

/* ============================================================
   20. Responsive Design
   ============================================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --section-padding: 3rem 0;
    }

    .hero-section {
        height: 450px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box h2 {
        font-size: var(--font-size-2xl);
    }
    
    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }
    
    .primary-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-white);
        border-bottom: 2px solid var(--border-color);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-lg);
    }
    
    .primary-menu.toggled {
        display: flex;
    }
    
    .primary-menu > li > a {
        height: auto;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .primary-menu > li > a::after {
        display: none;
    }
    
    .header-contact .phone-text {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .top-bar-welcome {
        display: none;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .product-tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .product-tab {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   21. Screen Reader Utility
   ============================================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    top: -1000px;
    left: 6px;
    z-index: 999999;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 6px;
}

/* ============================================================
   22. 内页 Banner (neiye-banner)
   ============================================================ */
.neiye-banner { width: 100%; 
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neiye-banner-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.neiye-banner-desc {
    text-align: center;
}

.neiye-banner-desc h1,
.neiye-banner-desc h3 {
    font-size: 34px;
    color: rgba(255, 255, 255, 0.15);
    margin: 0 0 5px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
}

.neiye-banner-desc h4,
.neiye-banner-desc .banner-subtitle {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.neiye-banner-desc .banner-product-title {
    font-size: 34px;
    color: rgba(255,255,255,0.15);
    margin: 0 0 5px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
}

.neiye-banner-desc .banner-product-sku {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .neiye-banner {
        height: 240px;
    }
    .neiye-banner-desc h1,
    .neiye-banner-desc h3 {
        font-size: 24px;
    }
    .neiye-banner-desc h4,
    .neiye-banner-desc .banner-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .neiye-banner {
        height: 200px;
    }
    .neiye-banner-desc h1,
    .neiye-banner-desc h3 {
        font-size: 20px;
    }
    .neiye-banner-desc h4,
    .neiye-banner-desc .banner-subtitle {
        font-size: 14px;
    }
}

/* ============================================================
   23. 内页导航 & 面包屑 (now-dh)
   ============================================================ */
.now-dh { width: 100%; 
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.now-dh-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.son-dh {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.son-dh ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
    gap: 2px;
}

.son-dh li {
    display: inline-block;
    margin: 0;
}

.son-dh li .box {
    padding: 14px 18px;
}

.son-dh li a {
    display: block;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    font-weight: 500;
}

.son-dh li a:hover {
    color: var(--color-primary);
}

.son-dh li.hover .box {
    position: relative;
}

.son-dh li.hover .box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px 2px 0 0;
}

.son-dh li.hover a {
    color: var(--color-primary);
    font-weight: 600;
}

/* 面包屑 */
.weizhi {
    padding: 12px 0 12px 20px;
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.weizhi a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

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

.weizhi span {
    font-size: 13px;

/* 产品详情页：分类导航左对齐 */
.single-product .son-dh ul {
    justify-content: flex-start;
}
}

@media (max-width: 768px) {
    .now-dh-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .weizhi {
        padding: 0 0 10px 0;
        white-space: normal;
    }

    .son-dh li .box {
        padding: 10px 14px;
    }
}

/* ============================================================
   24. 内容容器 (content-bg / content-box)
   ============================================================ */
.content-bg {
    background: #fff;
    width: 100%;
}

.content-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.content-bg.border-bottom {
    border-bottom: 1px solid #eee;
}

/* ============================================================
   25. 全局结构容器宽度保证
   ============================================================ */
#page.site {
    width: 100%;
}

.site-content {
    width: 100%;
}

.content-bg {
    width: 100%;
}

/* ============================================================
   26. 产品详情页 (single-product)
   ============================================================ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-main-image {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #eee;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumb-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.product-thumb-item {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border-color 0.3s;
}

.product-thumb-item:hover {
    border-color: var(--color-primary);
}

.product-thumb-item.product-thumb-current {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-light);
}

.product-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info column */
.product-detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111827;
}

.product-meta {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.meta-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 6px;
}

.product-features {
    margin: 1.5rem 0;
}

.product-features .section-heading, .product-features h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: #4b5563;
}

.product-features ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.6;
}

.product-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Product Content Sections (Description & Specs) */
.product-content-section {
    margin-bottom: 2.5rem;
}

.section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a3a;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-heading-lined {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a3a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    letter-spacing: 0.02em;
}

/* Product Description */
.product-description-wrap {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem 2.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-description-content {
    line-height: 1.9;
    color: #374151;
    font-size: 1rem;
}

.product-description-content p {
    margin-bottom: 1em;
}

.product-description-content p:last-child {
    margin-bottom: 0;
}

.product-description-content strong {
    color: #1f2a3a;
    font-weight: 700;
}

.product-description-content ul,
.product-description-content ol {
    margin: 0.8em 0;
    padding-left: 1.5em;
}

.product-description-content li {
    margin-bottom: 0.4em;
    line-height: 1.8;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.2em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
    color: #1f2a3a;
    margin: 1.4em 0 0.6em;
    font-weight: 700;
}

.product-description-content h2 {
    font-size: 1.4rem;
}

.product-description-content h3 {
    font-size: 1.2rem;
}

/* Product Specifications Table */
.product-specs-wrap {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem 2.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-specs-table-wrap {
    overflow-x: auto;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.925rem;
    margin: 0;
}

.product-specs-table thead th {
    background: #1f2a3a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 22px;
    text-align: left;
    border: none;
    line-height: 1.4;
}

.product-specs-table thead th:first-child {
    border-top-left-radius: 0;
}

.product-specs-table thead th:last-child {
    border-top-right-radius: 0;
}

.product-specs-table tbody tr {
    transition: background 0.2s ease;
}

.product-specs-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.product-specs-table tbody tr:hover {
    background: #eef4ff;
}

.product-specs-table tbody td {
    padding: 13px 22px;
    border-bottom: 1px solid #eef0f2;
    vertical-align: middle;
    line-height: 1.6;
}

.product-specs-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-key-cell {
    font-weight: 700;
    color: #1f2a3a;
    width: 220px;
    white-space: nowrap;
    background: rgba(26,86,219,0.02);
    border-right: 1px solid #eef0f2;
}

.spec-value-cell {
    color: #374151;
    font-weight: 500;
}

/* Inquiry */
.product-detail-inquiry {
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-detail-inquiry h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a3a;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    letter-spacing: 0.02em;
    width: auto;
}

.product-detail-inquiry p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.detail-inquiry-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-inquiry-form input,
.detail-inquiry-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.detail-inquiry-form input:focus,
.detail-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.detail-inquiry-form textarea {
    margin-bottom: 1rem;
    resize: vertical;
}

.detail-inquiry-form .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .detail-inquiry-form .form-row-2 {
        grid-template-columns: 1fr;
    }


    .product-detail-inquiry {
        padding: 1.5rem;
    }
}

/* ============================================================
   27. Footer FAQ 手风琴模块
   ============================================================ */
.footer-faq-section {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.15);
}

.footer-faq-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.footer-faq-list {
    display: grid;
    gap: 0;
    max-width: 900px;
}

.footer-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-faq-question {
    position: relative;
    padding: 14px 40px 14px 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1.5;
}

.footer-faq-question:hover {
    color: #fff;
}

.footer-faq-icon {
    position: absolute;
    right: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.footer-faq-icon::before,
.footer-faq-icon::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.footer-faq-icon::before {
    top: 9px; left: 0;
    width: 20px; height: 2px;
}

.footer-faq-icon::after {
    top: 0; left: 9px;
    width: 2px; height: 20px;
}

.footer-faq-item.active .footer-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.footer-faq-item.active .footer-faq-icon {
    transform: translateY(-50%) rotate(180deg);
}

.footer-faq-answer {
    display: none;
    padding: 0 0 14px;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-faq-answer p {
    margin: 0 0 0.5em;
}

.footer-faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer-faq-section {
        padding: 1.5rem 0;
    }
    .footer-faq-question {
        font-size: 0.9rem;
        padding: 12px 36px 12px 0;
    }
}

/* ============================================================
   28. 视频 Lightbox 弹窗
   ============================================================ */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
}

.video-lightbox.active {
    display: block;
}

.video-lightbox-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    cursor: pointer;
}

.video-lightbox-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
}

.video-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 4px 12px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10;
}

.video-lightbox-close:hover {
    opacity: 1;
}

.video-lightbox-iframe-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-lightbox-iframe-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* 视频封面点击触发 */
.about-video-wrapper.video-lightbox-trigger {
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-lightbox-content {
        width: 95%;
    }
    .video-lightbox-close {
        top: -36px;
        font-size: 28px;
    }
}

/* ============================================
   Related Products Section (双向关联展示)
   ============================================ */
.related-products-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem 2.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 2.5rem;
}

.related-products-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a3a;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    letter-spacing: 0.02em;
}

.related-products-desc {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Horizontal scroll container */
.related-products-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.related-products-scroll::-webkit-scrollbar {
    height: 6px;
}

.related-products-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.related-products-scroll::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.related-products-scroll::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.related-products-grid {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    min-width: min-content;
}

.related-product-card {
    flex: 0 0 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.related-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.related-product-link {
    text-decoration: none;
    display: block;
}

.related-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f9fafb;
}

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

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

.related-product-info {
    padding: 14px 16px 16px;
}

.related-product-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-sku {
    font-size: 12px;
    color: #6b7280;
    display: inline-block;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .related-product-card {
        flex: 0 0 180px;
    }
    .related-products-scroll {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================
   Same Category Products Section (上级分类推荐)
   ============================================ */
.same-category-products-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem 2.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 2.5rem;
}

.same-category-products-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a3a;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    letter-spacing: 0.02em;
}

.same-category-products-desc {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Share grid/card styles with related-products via existing classes */

@media (max-width: 600px) {
    .same-category-products-section .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
