/*
Theme Name: Meichuang Auto Parts
Theme URI: https://meichuangautoparts.com
Description: GeneratePress child theme for Meichuang Auto Parts B2B website
Author: Meichuang
Author URI: https://meichuangautoparts.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meichuang
*/

/* ============================================
   Meichuang Auto Parts - Custom Styles
   ============================================ */

:root {
    --red: #E30613;
    --red-dark: #C40510;
    --ink: #0D0D0D;
    --ink-2: #1A1A1A;
    --gray-700: #2A2A2A;
    --gray-500: #6B6B6B;
    --gray-300: #CCCCCC;
    --gray-100: #F2F2F2;
    --gray-50: #F5F5F7;
    --white: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #555555;
    --text-on-dark: #FFFFFF;
    --text-on-dark-2: #CCCCCC;
    --container: 1280px;
    --radius: 8px;
    --radius-sm: 6px;
}

/* Base overrides */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

/* Container */
.container-grid {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Section titles */
.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--ink);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
}

.section-title-bar {
    display: inline-block;
    width: 4px;
    height: 28px;
    background: var(--red);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

/* Topbar */
.topbar {
    background: var(--ink);
    color: var(--text-on-dark-2);
    font-size: 13px;
    padding: 8px 0;
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-email {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-on-dark-2);
    text-decoration: none;
}

.topbar-email:hover {
    color: var(--white);
}

.topbar-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social a {
    color: var(--text-on-dark-2);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.topbar-social a:hover {
    color: var(--white);
}

.topbar-social svg {
    width: 18px;
    height: 18px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,0.15);
}

/* Main Nav */
.main-nav {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-text .name {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1;
}

.nav-logo-text .name .red {
    color: var(--red);
}

.nav-logo-text .tag {
    font-size: 10px;
    color: var(--text-on-dark-2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-menu > li > a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 28px 0;
    display: block;
    position: relative;
    transition: color 0.2s;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

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

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    border-color: var(--red);
    transform: rotate(90deg);
    box-shadow: 0 0 16px rgba(227, 6, 19, 0.4);
}

.search-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.search-btn:hover svg {
    transform: scale(1.15);
}

/* Mega Menu */
.menu-item-has-children .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 1100px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-item-has-children:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mega-menu-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.mega-menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-menu-item:hover img {
    transform: scale(1.08);
}

.mega-menu-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.mega-menu-item .cat-name {
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
}

.mega-menu-item .cat-name::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--red);
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 1px;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-slide .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

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

.hero-dot {
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--red);
    width: 48px;
}

/* Trust Bar */
.trust-bar {
    background: var(--gray-50);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
}

.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.trust-item svg {
    width: 22px;
    height: 22px;
    color: var(--red);
}

/* Category Cards */
.category-section {
    padding: 80px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--red);
}

.category-card .cat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--gray-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-card:hover .cat-icon {
    background: rgba(227, 6, 19, 0.08);
}

.category-card .cat-icon svg {
    width: 28px;
    height: 28px;
    color: var(--red);
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Accordion Products */
.accordion-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.accordion-container {
    display: flex;
    gap: 4px;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-panel {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.accordion-panel.active {
    flex: 4;
}

.accordion-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.accordion-panel:hover img {
    transform: scale(1.05);
}

.accordion-panel .panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.3) 50%, transparent 100%);
}

.accordion-panel .panel-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: var(--white);
    z-index: 2;
}

.accordion-panel .panel-label h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
}

.accordion-panel .panel-label p {
    font-size: 13px;
    color: var(--text-on-dark-2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    max-width: 300px;
}

.accordion-panel.active .panel-label p {
    opacity: 1;
    transform: translateY(0);
}

.accordion-panel .panel-cta {
    margin-top: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.15s;
}

.accordion-panel.active .panel-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--ink);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-on-dark-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Company Intro */
.company-intro {
    padding: 80px 0;
}

.company-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-intro img {
    width: 100%;
    border-radius: var(--radius);
}

.company-intro h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.company-intro p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: var(--text-on-dark-2);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-on-dark-2);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark-2);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--red);
    color: var(--white);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--gray-50);
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .company-intro-grid { grid-template-columns: 1fr; }
    .accordion-container { flex-direction: column; height: auto; }
    .accordion-panel { min-height: 80px; }
    .accordion-panel.active { min-height: 320px; }
    .hero-content h1 { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item .stat-number { font-size: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .topbar-left .moq-text { display: none; }
}

/* ============================================
   Front Page Specific Styles (v1.6)
   ============================================ */

/* Topbar refinements */
.social-icon {
    color: var(--text-on-dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: color 0.2s;
    text-decoration: none;
}
.social-icon svg { width: 17px; height: 17px; display: block; }
.social-icon:hover { color: var(--white); }
.topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.15);
    margin: 0 4px;
}
.lang-switcher {
    color: var(--text-on-dark-2);
    font-size: 13px;
    cursor: pointer;
    padding-left: 8px;
}

/* Site Nav (alias for main-nav) */
.site-nav {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
}
.logo-tag {
    font-size: 10px;
    color: var(--text-on-dark-2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 3px;
}
.nav-cta { padding: 11px 24px; font-size: 14px; }

/* Mega Menu refinements */
.mega-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.mega-item:hover { transform: translateY(-3px); }
.mega-img {
    aspect-ratio: 4/3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.mega-item:hover .mega-img { box-shadow: 0 8px 24px rgba(227,6,19,0.15); }
.mega-icon { font-size: 32px; }
.mega-label {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: color 0.2s;
}
.mega-item:hover .mega-label { color: var(--red); }

/* Hero refinements */
.hero-product-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(227,6,19,0.08);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: var(--ink);
}
.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.hero-arrow:hover { background: var(--red); color: white; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-slide[data-theme="dark"] .hero-title,
.hero-slide[data-theme="red"] .hero-title { color: white; }

/* Section headers */
.section { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.section-header .section-title { margin-bottom: 0; }

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--ink);
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--red);
}
.category-img {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.category-card:hover .category-img { background: rgba(227,6,19,0.08) !important; }
.category-icon { font-size: 32px; }
.category-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.category-desc { font-size: 13px; color: var(--text-light); margin: 0; }

/* Model chips */
.models-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.model-chip {
    padding: 10px 22px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.25s;
}
.model-chip:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
    transform: translateY(-2px);
}

/* Accordion Products */
.accordion-products {
    display: flex;
    gap: 4px;
    height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
}
.acc-item {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: 8px;
}
.acc-item.active { flex: 3; }
.acc-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}
.acc-item.active .acc-img { transform: scale(1.05); }
.acc-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.3) 50%, transparent 100%);
    z-index: 1;
}
.acc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s 0.1s;
}
.acc-item.active .acc-content { transform: translateY(0); opacity: 1; }
.acc-tag {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.acc-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: white; }
.acc-desc { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 14px; line-height: 1.5; }
.acc-meta { display: flex; gap: 16px; margin-bottom: 16px; font-size: 13px; }
.in-stock {
    color: #4ade80;
    font-weight: 600;
}
.acc-meta span:last-child { color: rgba(255,255,255,0.7); }

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.intro-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0;
}
.intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}
.intro-feature-icon { font-size: 20px; }
.intro-image { position: relative; }
.intro-img-wrapper {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
}
.intro-img-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--ink);
    color: white;
    padding: 24px 32px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.badge-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}
.badge-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
}

/* Stats */
.stats-section {
    background: var(--ink);
    padding: 72px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 12px;
    display: block;
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.3s;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.why-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.testimonial-stars { color: #fbbf24; font-size: 16px; margin-bottom: 16px; }
.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 700; font-size: 14px; }
.author-role { font-size: 12px; color: var(--text-light); }

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.blog-img { height: 200px; background-size: cover; background-position: center; }
.blog-content { padding: 24px; }
.blog-category {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.blog-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-readmore { font-size: 14px; font-weight: 600; color: var(--red); }

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-content { position: relative; z-index: 2; }
.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}
.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Footer refinements */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-on-dark-2);
    margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark-2);
    transition: all 0.2s;
    text-decoration: none;
}
.footer-social:hover { background: var(--red); color: white; }
.footer-heading {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-on-dark-2);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-on-dark-2);
}
.footer-contact a { color: var(--text-on-dark-2); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--red); }
.contact-icon { flex-shrink: 0; margin-top: 2px; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* Responsive additions */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hero-product-img { width: 45%; opacity: 0.4; }
}
@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .intro-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stat-number { font-size: 36px; }
    .hero-title { font-size: 30px; }
    .accordion-products { flex-direction: column; height: auto; }
    .acc-item { min-height: 80px; }
    .acc-item.active { min-height: 360px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
    .hero-arrow { display: none; }
    .topbar-right { gap: 8px; }
    .topbar-right .social-icon { width: 22px; height: 22px; }
    .topbar-right .social-icon svg { width: 15px; height: 15px; }
}

/* ===== Hero Height Fix - 统一4个轮播图高度 ===== */
header.hero-carousel {
    height: 700px !important;
    min-height: 700px !important;
    max-height: 700px !important;
}
header.hero-carousel .hero-slide {
    height: 700px !important;
    min-height: 700px !important;
    max-height: 700px !important;
    display: flex !important;
    align-items: center !important;
}
header.hero-carousel .hero-slide .slide-bg {
    height: 700px !important;
    min-height: 700px !important;
}
header.hero-carousel .hero-slide .slide-content {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
@media (max-width: 768px) {
    header.hero-carousel {
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }
    header.hero-carousel .hero-slide {
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }
    header.hero-carousel .hero-slide .slide-bg {
        height: 500px !important;
        min-height: 500px !important;
    }
}


/* ===== Mobile Nav Fix 2026-10-16 ===== */
@media (max-width: 1024px) {
    .nav .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .nav .nav-right {
        gap: 10px;
    }
    .nav .nav-right .btn.btn-primary {
        display: none !important;
    }
}
