/* ============================================================
   haozhenauto.com - Site Styles
   B2B Auto Parts E-commerce Theme
   Brand: HAOZHEN AUTO PARTS (Circular Trademark)
   ============================================================ */

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

:root {
    /* 浩臻品牌色 — 取自 HAOZHEN AUTO PARTS 商标主色 */
    --primary: #1a4d8c;          /* 品牌主蓝（导航/标题/CTA） */
    --primary-dark: #0f3566;     /* 深蓝（顶栏/页脚） */
    --primary-light: #2d6cae;    /* 中蓝（链接 hover） */
    --accent: #c8102e;           /* 强调红（CTA / 标签） */
    --accent-hover: #a30d24;
    --gold: #d4a04a;             /* 金色（认证徽章） */
    --brand-tint: #e8f0fa;       /* 极浅蓝背景 */

    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-light: #f5f7fa;
    --bg-card: #ffffff;
    --border: #e0e4e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: 0.3s ease;
    --max-width: 1280px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
}

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

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

/* ---------- Top Navigation ---------- */
.top-nav {
    background: var(--primary-dark);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
}

/* ---------- Brand (HAOZHEN) ---------- */
:root {
    /* 浩臻品牌色系 — 严格沿用商标注册所允许的蓝白主色 */
    --brand: #1a4d8c;          /* 主品牌蓝（取自 HAOZHEN AUTO PARTS 商标） */
    --brand-dark: #0f3566;     /* 深蓝（导航/页脚底色） */
    --brand-light: #2d6cae;    /* 中蓝（链接悬停） */
    --brand-tint: #e8f0fa;     /* 极浅蓝（区块底色） */
    --accent: #c8102e;         /* 强调色（用于 CTA / 价格） */
    --accent-hover: #a30d24;
    --gold: #d4a04a;           /* 金色（认证徽章） */
}

.logo {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo:hover { color: #fff; }
.logo-accent { color: var(--accent); }
.logo-img {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.logo-text-fallback { display: none; }
@media (max-width: 600px) {
    .logo-img { height: 36px; }
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-links > li > a {
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition);
}

.nav-links > li > a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 280px;
    max-height: 500px;
    overflow-y: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 8px 0;
    z-index: 1001;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--text);
    font-size: 13px;
    border-bottom: 1px solid var(--bg-light);
}
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--accent); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-inquiry { background: var(--accent); color: #fff; width: 100%; margin-top: 8px; }
.btn-inquiry:hover { background: var(--accent-hover); color: #fff; }
.btn-inquiry-large {
    background: var(--accent);
    color: #fff;
    padding: 16px 40px;
    font-size: 18px;
    width: 100%;
    margin-top: 20px;
}
.btn-inquiry-large:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}
.hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 24px; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; padding: 48px 24px 24px; }
.section-header h2 { font-size: 28px; color: var(--primary-dark); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 16px; }

/* ---------- Category Grid (Homepage) ---------- */
.categories-section { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 48px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--bg-light);
}
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--primary-light); font-weight: 800;
    background: linear-gradient(135deg, var(--bg-light), #e8eef5);
}
.category-info { padding: 16px; text-align: center; }
.category-info h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.category-count { font-size: 13px; color: var(--text-muted); }

/* ---------- About Section ---------- */
.about-section { background: var(--bg-light); padding: 64px 24px; }
.about-container { max-width: 800px; margin: 0 auto; text-align: center; }
.about-container h2 { font-size: 28px; color: var(--primary-dark); margin-bottom: 16px; }
.about-container p { color: var(--text-light); font-size: 16px; margin-bottom: 32px; }
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ---------- Contact Section ---------- */
.contact-section { padding: 64px 24px; text-align: center; background: var(--primary-dark); color: #fff; }
.contact-container { max-width: 600px; margin: 0 auto; }
.contact-container h2 { font-size: 28px; margin-bottom: 12px; }
.contact-container p { opacity: 0.9; margin-bottom: 16px; }
.contact-info p { font-size: 16px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Category Page ---------- */
.category-page { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 48px; }
.category-page-header { margin-bottom: 32px; }
.category-page-header h1 { font-size: 28px; color: var(--primary-dark); }
.category-page-header p { color: var(--text-light); }

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

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.product-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card-image .placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 14px;
}
.badge-video {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(232,73,28,0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-card-info { padding: 12px 16px; }
.product-card-info h3 { font-size: 14px; color: var(--primary-dark); margin-bottom: 4px; line-height: 1.4; }
.product-part { display: block; font-size: 12px; color: var(--text-muted); }
.product-images-count { display: block; font-size: 11px; color: var(--accent); margin-top: 4px; }

/* ---------- Product Detail Page ---------- */
.product-detail { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 48px; }

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

/* ---- Carousel ---- */
.product-media {}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    transition: background var(--transition);
    z-index: 5;
}
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background var(--transition);
}
.carousel-dot.active { background: var(--accent); }

.carousel-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.carousel-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color var(--transition);
}
.carousel-thumb:hover { border-color: var(--primary-light); }
.carousel-thumb.active { border-color: var(--accent); }

/* ---- 360 Video ---- */
.video-360-section {
    margin-top: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
}
.video-title { font-size: 16px; color: var(--primary-dark); margin-bottom: 12px; }
.product-video-360 {
    width: 100%;
    border-radius: var(--radius);
    background: #000;
    aspect-ratio: 4/3;
    object-fit: contain;
}
.video-hint { font-size: 12px; color: var(--text-muted); margin-top: 8px; text-align: center; }

/* ---- Product Info ---- */
.product-info {}
.product-title { font-size: 24px; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.3; }
.product-oe { font-size: 15px; color: var(--text-light); margin-bottom: 24px; }
.product-oe strong { color: var(--accent); }

.product-highlights, .product-specs {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.product-highlights h3, .product-specs h3 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

.selling-points { list-style: none; }
.selling-points li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.selling-points li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 8px 12px; font-size: 14px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 600; color: var(--primary-dark); width: 40%; }

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.meta-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 12px 16px;
}
.meta-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.meta-value { display: block; font-size: 14px; font-weight: 600; color: var(--primary-dark); }

/* ---- Inquiry Form ---- */
.inquiry-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px 24px;
}
.inquiry-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.inquiry-form h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(44,95,138,0.1);
}
.inquiry-form textarea { margin-bottom: 12px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; text-align: center; }

/* ---- Related Products ---- */
.related-products { margin-top: 48px; }
.related-products h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 20px; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

/* ---------- Footer (HAOZHEN 详见文件末尾 brand integration 段) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .product-detail-container { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 16px;
        gap: 0;
    }
    .nav-links.active { display: flex; }
    .nav-links > li > a { display: block; padding: 12px 16px; }
    .menu-toggle { display: block; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        max-height: 300px;
    }
    .dropdown-menu li a { color: rgba(255,255,255,0.8); border-bottom-color: rgba(255,255,255,0.1); }

    .hero h1 { font-size: 24px; }
    .hero p { font-size: 15px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-meta { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 22px; }
    .product-title { font-size: 20px; }
}

/* ============================================================
   HAOZHEN Brand Integration
   ============================================================ */

/* --- Footer 浩臻品牌区 --- */
.site-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0a2548 100%);
    color: #fff;
    margin-top: 64px;
    border-top: 4px solid var(--accent);
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer-col { color: rgba(255,255,255,0.85); }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer-col h4 { color: var(--gold); font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { font-size: 13px; opacity: 0.8; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 2; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li { font-size: 13px; line-height: 2; opacity: 0.9; }
.footer-brand { padding-right: 20px; }
.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 8px;
}
.footer-tagline {
    color: var(--gold);
    font-size: 14px !important;
    font-weight: 600;
    margin: 8px 0 16px !important;
    opacity: 1 !important;
}
.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}
.footer-badge {
    background: rgba(255,255,255,0.08);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    border-left: 3px solid var(--gold);
}
.footer-cert-list li::before {
    content: "✓ ";
    color: var(--gold);
    margin-right: 4px;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    opacity: 0.7;
    color: #fff;
}

/* --- 产品页品牌头 (HAOZHEN 商标条) --- */
.product-brand-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--brand-tint);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    margin-bottom: 16px;
}
.product-brand-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.product-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.brand-name {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.brand-sub {
    color: var(--text-light);
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* --- 产品页品牌信任条 --- */
.brand-trust-strip {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--brand-tint) 0%, #f5f9ff 100%);
    border: 1px solid rgba(26,77,140,0.15);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow);
}
.brand-trust-item {
    text-align: center;
    padding: 8px;
}
.trust-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}
.trust-title {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}
.trust-desc {
    display: block;
    color: var(--text-light);
    font-size: 11px;
}
.brand-trust-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 24px;
    border-left: 2px solid var(--primary);
}
.trust-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.trust-brand-name {
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
}

/* --- 联系区/About 区品牌印记 --- */
.brand-stamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--brand-tint);
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}
.brand-stamp img {
    width: 24px;
    height: 24px;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.about-mark {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.about-header h2 { margin: 0; }

.contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.contact-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.contact-header h2 { margin: 0; }

/* --- Hero 区品牌印记 --- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}
.hero-eyebrow img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* --- 分类卡片品牌底色 --- */
.category-card {
    border-top: 3px solid transparent;
    transition: border-color var(--transition), transform var(--transition);
}
.category-card:hover {
    border-top-color: var(--accent);
    transform: translateY(-4px);
}

/* --- 响应式调整 --- */
@media (max-width: 900px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 36px 24px 24px; }
    .brand-trust-strip { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .brand-trust-brand { grid-column: 1 / -1; padding-left: 0; border-left: none; padding-top: 16px; border-top: 2px solid var(--primary); justify-content: center; }
}
@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }
    .brand-trust-strip { grid-template-columns: 1fr; }
    .product-brand-mark { width: 32px; height: 32px; }
    .footer-logo { height: 64px; }
}

/* ============================================================
   v2 New Modules: Sales Team, Chatbot, About, Articles, News, Testimonials
   ============================================================ */

/* ---------- Sales Team Section ---------- */
.sales-team-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px;
}
.sales-team-banner {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-hover);
}
.sales-team-header {
    text-align: center;
    margin-bottom: 32px;
}
.sales-team-header h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.sales-team-header p {
    color: var(--text-light);
    font-size: 15px;
}
.manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.manager-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--primary);
}
.manager-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.manager-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.manager-name {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 2px;
}
.manager-title {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.manager-email {
    display: block;
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 6px;
    word-break: break-all;
}
.manager-whatsapp {
    display: inline-block;
    font-size: 13px;
    color: #25d366;
    font-weight: 600;
    margin-bottom: 4px;
}
.manager-mobile, .manager-website {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

/* ---------- AI Chatbot Popup ---------- */
.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 4px 20px rgba(200,16,46,0.4);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: chatbot-pulse 2s infinite;
}
.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--accent-hover);
}
@keyframes chatbot-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(200,16,46,0.4); }
    50% { box-shadow: 0 4px 30px rgba(200,16,46,0.6); }
}
.chatbot-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    max-height: 600px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    overflow: hidden;
    flex-direction: column;
}
.chatbot-popup.active { display: flex; }
.chatbot-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chatbot-header-info h3 {
    font-size: 16px;
    margin: 0;
}
.chatbot-header-info span {
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}
.chatbot-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}
.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.chatbot-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}
.chatbot-intro {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}
.chatbot-form input,
.chatbot-form textarea,
.chatbot-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    margin-bottom: 8px;
    transition: border-color var(--transition);
}
.chatbot-form input:focus,
.chatbot-form textarea:focus,
.chatbot-form select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(44,95,138,0.1);
}
.chatbot-form input.required {
    border-color: var(--accent);
    border-width: 2px;
}
.chatbot-form label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
    margin-top: 4px;
}
.chatbot-form label .req {
    color: var(--accent);
    font-weight: 700;
}
.chatbot-submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background var(--transition);
}
.chatbot-submit:hover { background: var(--accent-hover); }
.chatbot-footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 8px 20px 12px;
    background: var(--bg-light);
}
@media (max-width: 480px) {
    .chatbot-popup {
        right: 8px;
        bottom: 80px;
        width: calc(100vw - 16px);
    }
}

/* ---------- About / Factory Showcase ---------- */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 60px 24px;
    text-align: center;
}
.about-hero h1 { font-size: 32px; margin-bottom: 12px; }
.about-hero p { font-size: 16px; opacity: 0.9; max-width: 700px; margin: 0 auto; }

.factory-showcase {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px;
}
.factory-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}
.factory-item:nth-child(even) .factory-item-img { order: 2; }
.factory-item-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.factory-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.factory-item-text h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.factory-item-text p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}
.factory-item-text ul {
    list-style: none;
    margin-top: 12px;
}
.factory-item-text ul li {
    padding: 4px 0 4px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.factory-item-text ul li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Certifications display */
.certifications-section {
    background: var(--bg-light);
    padding: 48px 24px;
}
.certifications-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.cert-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 3px solid var(--gold);
}
.cert-icon {
    font-size: 36px;
    margin-bottom: 8px;
}
.cert-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}
.cert-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Overseas warehouse */
.warehouse-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px;
}
.warehouse-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.warehouse-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}
.warehouse-card h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.warehouse-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Service guarantee */
.service-section {
    background: var(--bg-light);
    padding: 48px 24px;
}
.service-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.service-card h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- Articles & News ---------- */
.articles-section,
.news-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px;
}
.content-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.content-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.content-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.content-card-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.content-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    padding: 2px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
    align-self: flex-start;
}
.content-card-tag.news { background: var(--accent); }
.content-card h3 {
    font-size: 16px;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}
.content-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
}
.content-card .read-more {
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: 12px;
}
.content-card .read-more:hover { color: var(--accent); }

/* Article/News detail page */
.article-detail,
.news-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}
.article-detail-header,
.news-detail-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}
.article-detail-header h1,
.news-detail-header h1 {
    font-size: 28px;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}
.article-meta,
.news-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.article-content p,
.news-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}
.article-content h2,
.news-content h2 {
    font-size: 20px;
    color: var(--primary-dark);
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.publishing-calendar-note {
    background: var(--brand-tint);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--primary-dark);
    margin-top: 24px;
    border-left: 4px solid var(--primary);
}
.publishing-calendar-note strong { color: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonials-section {
    background: var(--bg-light);
    padding: 48px 24px;
}
.testimonials-container {
    max-width: var(--max-width);
    margin: 0 auto;
}
.testimonials-header {
    text-align: center;
    margin-bottom: 32px;
}
.testimonials-header h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.testimonials-header p {
    color: var(--text-light);
    font-size: 15px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-2px); }
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-info h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin: 0;
}
.testimonial-location {
    font-size: 12px;
    color: var(--text-muted);
}
.testimonial-flag {
    font-size: 20px;
    margin-right: 4px;
}
.testimonial-rating {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}
.testimonial-company {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

/* ---------- Updated Inquiry Form (WhatsApp required) ---------- */
.inquiry-form-v2 {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
}
.inquiry-form-v2 h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.inquiry-form-v2 .form-intro {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.inquiry-form-v2 .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.inquiry-form-v2 .form-field {
    display: flex;
    flex-direction: column;
}
.inquiry-form-v2 .form-field.full {
    grid-column: 1 / -1;
}
.inquiry-form-v2 .form-field label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.inquiry-form-v2 .form-field label .req {
    color: var(--accent);
    font-weight: 700;
}
.inquiry-form-v2 .form-field input,
.inquiry-form-v2 .form-field textarea {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}
.inquiry-form-v2 .form-field input:focus,
.inquiry-form-v2 .form-field textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(44,95,138,0.1);
}
.inquiry-form-v2 .form-field input.required {
    border-color: var(--accent);
    border-width: 2px;
}
.inquiry-form-v2 textarea {
    resize: vertical;
    min-height: 80px;
}
.inquiry-form-v2 .btn-inquiry {
    margin-top: 16px;
}

/* ---------- Content listing pages ---------- */
.content-listing-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px 16px;
}
.content-listing-header h1 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.content-listing-header p {
    color: var(--text-light);
    font-size: 15px;
}

/* ---------- Responsive for new modules ---------- */
@media (max-width: 900px) {
    .factory-item { grid-template-columns: 1fr; gap: 20px; }
    .factory-item:nth-child(even) .factory-item-img { order: 0; }
    .inquiry-form-v2 .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .sales-team-banner { max-height: 260px; }
    .manager-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .article-detail-header h1, .news-detail-header h1 { font-size: 22px; }
    .about-hero h1 { font-size: 24px; }
}
