/* ============================================
   Industrial Heavy Equipment / Cat® Style
   外贸工业品网站 - Cat 黄 + 钢铁灰风格
   Responsive 电脑 / 平板 / 手机
   ============================================ */

/* ========== Variables / Cat Industrial Palette ========== */
:root {
    /* Cat Brand Colors */
    --cat-yellow: #FFCD00;
    --cat-yellow-dark: #E6B800;
    --cat-gold: #FFB800;
    --cat-black: #1A1A1A;
    --cat-steel: #2D2D2D;
    --cat-dark-gray: #3D3D3D;
    --cat-mid-gray: #505050;
    --cat-gray: #808080;
    --cat-silver: #C0C0C0;
    --cat-light-gray: #D3D1C7;
    --cat-beige: #E8E4D8;
    --cat-white: #F5F5F0;
    --cat-bg: #F0EFE8;
    --cat-safety-orange: #D35400;
    
    /* Semantic */
    --primary: var(--cat-yellow);
    --primary-dark: var(--cat-yellow-dark);
    --secondary: var(--cat-steel);
    --success: #2E7D32;
    --info: #1565C0;
    --warning: var(--cat-gold);
    --danger: #C62828;
    --dark: var(--cat-black);
    --light: var(--cat-white);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFCD00 0%, #FFB800 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #2D2D2D 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26,26,26,0.90) 0%, rgba(45,45,45,0.70) 50%, rgba(0,0,0,0.50) 100%);
    
    /* Layout */
    --section-padding: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 76px; 
    color: var(--cat-mid-gray); 
    overflow-x: hidden;
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
    background: var(--cat-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { transition: all 0.2s; color: var(--cat-steel); }
a:hover { color: var(--cat-yellow-dark); text-decoration: none; }
.main-content { min-height: 60vh; }

/* ========== Industrial Typography ========== */
h1, h2, h3, h4, h5, h6 { 
    font-weight: 700; 
    letter-spacing: -0.02em; 
    line-height: 1.25; 
    color: var(--cat-black);
}
.display-4 { 
    font-weight: 800; 
    letter-spacing: -0.03em; 
    font-size: 2.5rem; 
}
h1 { font-size: 2.2rem; }
h2 { 
    font-size: 1.8rem; 
    position: relative;
    padding-bottom: 12px;
}
/* Industrial underline accent */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--cat-yellow);
    border-radius: 2px;
}
.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}
h3 { font-size: 1.25rem; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--cat-mid-gray); }
p { color: var(--cat-mid-gray); }

/* Cat Brand Bar - 顶部黄色条纹 */
.cat-top-bar {
    height: 4px;
    background: var(--gradient-primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
}

/* ========== Navigation / Industrial ========== */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(26,26,26,0.98) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,205,0,0.15);
}
.navbar-brand { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: white !important;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand i { 
    color: var(--cat-yellow) !important; 
    font-size: 1.4rem;
}
/* Cat brand hex logo treatment */
.navbar-brand::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 4px;
    flex-shrink: 0;
}
.navbar-brand span { color: var(--cat-yellow); }

.navbar .nav-link {
    font-weight: 500; 
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important; 
    border-radius: var(--border-radius-sm);
    transition: all 0.2s;
    color: rgba(255,255,255,0.8) !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(255,205,0,0.12);
    color: var(--cat-yellow) !important;
}
.navbar .nav-link.active {
    color: var(--cat-yellow) !important;
    border-bottom: 2px solid var(--cat-yellow);
}
.social-nav-link {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 !important; font-size: 0.85rem;
    color: rgba(255,255,255,0.7) !important;
    border-color: rgba(255,255,255,0.2) !important;
}
.social-nav-link:hover {
    background: var(--cat-yellow) !important;
    color: var(--cat-black) !important;
    border-color: var(--cat-yellow) !important;
}

/* Dropdown */
.navbar .dropdown-menu {
    background: var(--cat-black);
    border: 1px solid rgba(255,205,0,0.15);
    border-radius: var(--border-radius-md);
    padding: 4px;
}
.navbar .dropdown-item {
    color: rgba(255,255,255,0.8);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.navbar .dropdown-item:hover {
    background: rgba(255,205,0,0.12);
    color: var(--cat-yellow);
}
/* Nav dropdown subcategories - flattened display */
.navbar .dropdown-submenu-item {
    padding-left: 16px !important;
}

@media (max-width: 991.98px) {
    body { padding-top: 68px; }
    .navbar .container { position: relative; }
    .navbar-collapse {
        background: var(--cat-black);
        padding: 1rem;
        border-radius: var(--border-radius-lg);
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        margin-top: 0.5rem; 
        max-height: 80vh; 
        overflow-y: auto;
        border: 1px solid rgba(255,205,0,0.1);
    }
    .navbar-collapse .navbar-nav { gap: 4px; }
    .navbar-toggler { 
        border-color: rgba(255,205,0,0.3);
        color: var(--cat-yellow);
    }
    .navbar-toggler-icon { 
        filter: brightness(0) saturate(100%) invert(84%) sepia(63%) saturate(500%) hue-rotate(0deg);
    }
}

/* ========== Hero Banner / Industrial ========== */
.hero-section {
    position: relative; width: 100%;
    min-height: 42vh; max-height: 480px;
    display: flex; align-items: center;
    overflow: hidden; 
    background: var(--cat-black);
}
.hero-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}
/* Cat-style yellow accent line */
.hero-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 3;
}
.hero-content {
    position: relative; z-index: 2; width: 100%; padding: 60px 0;
}
.hero-content .display-4 {
    color: white; 
    font-size: 2.4rem; 
    line-height: 1.15;
}
.hero-content .display-4 .highlight {
    color: var(--cat-yellow);
}
.hero-content .lead {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    line-height: 1.5;
}
.hero-content .btn-primary {
    background: var(--gradient-primary);
    color: var(--cat-black) !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(255,205,0,0.3);
}
.hero-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,205,0,0.4);
}
.hero-content .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: white !important;
}
.hero-content .btn-outline-light:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--cat-yellow);
    color: var(--cat-yellow) !important;
}
.hero-content .industrial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cat-yellow);
    font-size: 0.85rem;
    font-weight: 500;
}
.hero-content .industrial-badge i {
    color: var(--cat-yellow);
}

/* Carousel slides */
.hero-slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease; z-index: 0;
}
.hero-slide.active { opacity: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Carousel dots - Cat yellow */
.hero-carousel {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    display: flex; gap: 8px;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer; transition: all 0.3s; padding: 0;
}
.hero-dot.active { 
    background: var(--cat-yellow); 
    border-color: var(--cat-yellow);
    transform: scale(1.2); 
}
.hero-dot:hover { background: rgba(255,205,0,0.5); }

/* ========== Section ========== */
section { padding: var(--section-padding) 0; }

/* ========== Industrial Cards ========== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--border-radius-lg); 
    border: 1px solid var(--cat-light-gray);
    background: white;
    overflow: hidden;
}
.card:hover { 
    transform: translateY(-3px); 
    box-shadow: var(--shadow-md) !important; 
}

/* Product Card - Cat inspired */
.product-card { 
    border-top: 3px solid var(--cat-yellow); 
    overflow: hidden; 
    background: white;
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1;
}
.product-image-wrapper { 
    position: relative; 
    overflow: hidden; 
    height: 220px; 
    background: var(--cat-beige);
}
.product-img {
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-card .card-body { padding: 1rem; }
.product-card .card-title { 
    font-weight: 600; 
    font-size: 1rem;
    color: var(--cat-black);
}
.product-card .price-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--cat-black);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 2px 10px;
    border-radius: var(--border-radius-sm);
}

/* Feature card - Industrial icons */
.feature-card { 
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--cat-light-gray);
    background: white;
    position: relative;
}
.feature-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-lg) !important; 
}
a .feature-card {
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
a:hover .feature-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}
.feature-icon {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--border-radius-sm); 
    background: rgba(255,205,0,0.12);
    color: var(--cat-yellow-dark);
}

/* Article card */
.article-card { 
    overflow: hidden; 
    border-top: 3px solid var(--cat-steel);
}
.article-card:hover { border-top-color: var(--cat-yellow); }
.article-img { height: 200px; object-fit: cover; }

/* ========== Buttons / Industrial ========== */
.btn { 
    border-radius: var(--border-radius-sm); 
    font-weight: 600; 
    padding: 0.6rem 1.4rem; 
    transition: all 0.25s; 
    white-space: nowrap; 
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.btn-lg { 
    border-radius: var(--border-radius-md); 
    padding: 0.8rem 2rem; 
    font-size: 0.95rem; 
}
.btn-primary { 
    background: var(--gradient-primary); 
    border: none; 
    color: var(--cat-black) !important;
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(255,205,0,0.35); 
    background: var(--gradient-primary);
}
.btn-outline-primary {
    color: var(--cat-black);
    border-color: var(--cat-black);
}
.btn-outline-primary:hover { 
    background: var(--gradient-primary); 
    border-color: var(--cat-yellow);
    color: var(--cat-black) !important;
}
.btn-secondary {
    background: var(--cat-steel);
    border: none;
    color: white !important;
}
.btn-secondary:hover {
    background: var(--cat-black);
    color: white !important;
    transform: translateY(-1px);
}
.btn-warning { 
    color: var(--cat-black); 
    background: var(--gradient-primary);
    border: none;
    font-weight: 700;
}
/* Outline secondary = dark text, visible on light backgrounds */
.btn-outline-secondary {
    color: var(--cat-black);
    border-color: var(--cat-black);
}
.btn-outline-secondary:hover {
    background: var(--cat-black);
    border-color: var(--cat-black);
    color: white !important;
}
/* Outline light = light text, for dark backgrounds only */
.btn-outline-light {
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.85) !important;
}
.btn-outline-light:hover {
    background: var(--cat-yellow);
    border-color: var(--cat-yellow);
    color: var(--cat-black) !important;
}

/* ========== Page Header / Industrial ========== */
.page-header { 
    padding-top: 100px !important; 
    background: white !important;
    border-bottom: 1px solid var(--cat-light-gray);
}
.page-header h1 { 
    font-weight: 700; 
    position: relative;
    padding-bottom: 8px;
}
.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--cat-yellow);
}

/* ========== Breadcrumb ========== */
.breadcrumb { background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--cat-steel); font-weight: 500; text-decoration: none; }
.breadcrumb-item a:hover { color: var(--cat-yellow-dark); }
.breadcrumb-item.active { color: var(--cat-mid-gray); }

/* ========== Forms - Industrial ========== */
.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--cat-light-gray);
    padding: 0.7rem 1rem; 
    transition: all 0.3s; 
    font-size: 1rem;
    background: white;
}
.form-control:focus, .form-select:focus {
    border-color: var(--cat-yellow-dark);
    box-shadow: 0 0 0 4px rgba(255,205,0,0.1);
}
textarea.form-control { min-height: 120px; }

/* ========== Badges ========== */
.badge.bg-warning {
    background: var(--cat-yellow) !important;
    color: var(--cat-black) !important;
}

/* ========== Back to Top ========== */
#backToTop { 
    opacity: 0; 
    transition: all 0.3s; 
    z-index: 999; 
    width: 44px !important; 
    height: 44px !important;
    background: var(--cat-steel) !important;
    border: none !important;
    color: white !important;
    border-radius: var(--border-radius-sm) !important;
}
#backToTop.show { opacity: 1; }
#backToTop:hover { background: var(--cat-yellow) !important; color: var(--cat-black) !important; }

/* ========== Page Content ========== */
.page-content { 
    line-height: 1.8; 
    font-size: 1.05rem; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    color: var(--cat-mid-gray);
}
.page-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.page-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content img { max-width: 100%; border-radius: var(--border-radius-md); margin: 1rem 0; }

/* ========== Product Detail ========== */
.product-main-image img {
    max-height: 500px; width: 100%; object-fit: contain;
    background: var(--cat-beige); 
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--cat-light-gray);
}
.product-content { line-height: 1.8; color: var(--cat-mid-gray); }
.product-content img { max-width: 100%; height: auto; border-radius: var(--border-radius-md); }

/* ========== Article Content ========== */
.article-content {
    font-size: 1.05rem; line-height: 1.8;
    word-wrap: break-word; overflow-wrap: break-word;
    color: var(--cat-mid-gray);
}
.article-content p { margin-bottom: 1.5rem; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--border-radius-md); margin: 1.5rem 0; }
.article-content h2, .article-content h3, .article-content h4 { margin-top: 2rem; margin-bottom: 1rem; }

/* ========== Content Tables (产品参数表) ========== */
.page-content table,
.product-content table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.82rem;
    word-break: break-word;
}

/* 自适应表格包装器 */
.lang-table-wrap table {
    width: 100%;
    font-size: 0.78rem;
}
.lang-table-wrap table th,
.lang-table-wrap table td {
    padding: 5px 6px;
    white-space: normal;
    word-break: break-word;
}
@media (max-width: 768px) {
    .lang-table-wrap table { font-size: 0.7rem; }
    .lang-table-wrap table th,
    .lang-table-wrap table td { padding: 3px 4px; }
}

/* 多语言内联显示 */
.multi-lang-inline .lang-block:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.page-content table th,
.product-content table th,
.article-content table th {
    background: var(--cat-steel);
    color: white;
    font-weight: 600;
    padding: 9px 11px;
    text-align: center;
    border: 1px solid #555;
    white-space: nowrap;
    font-size: 0.82rem;
}
.page-content table td,
.product-content table td,
.article-content table td {
    padding: 7px 11px;
    border: 1px solid var(--cat-light-gray);
    text-align: center;
}
.page-content table tr:nth-child(even),
.product-content table tr:nth-child(even),
.article-content table tr:nth-child(even) {
    background: var(--cat-beige);
}
.page-content table tr:hover,
.product-content table tr:hover,
.article-content table tr:hover {
    background: rgba(255,205,0,0.08);
}
.page-content table caption,
.product-content table caption,
.article-content table caption {
    caption-side: top;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 0;
    color: var(--cat-black);
    text-align: left;
}

/* ========== Social Share ========== */
.social-share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.share-label { font-weight: 600; margin-right: 0.25rem; color: var(--cat-steel); }
.share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: white; transition: all 0.3s; text-decoration: none; flex-shrink: 0;
}
.share-btn:hover { transform: translateY(-2px); color: white; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #1DA1F2; }
.share-linkedin { background: #0A66C2; }
.share-pinterest { background: #BD081C; }
.share-whatsapp { background: #25D366; }

/* ========== Footer / Industrial ========== */
.footer { 
    background: var(--cat-black) !important;
    border-top: 4px solid var(--cat-yellow);
}
.footer .text-light-50 { color: rgba(255,255,255,0.5); }
.footer a { color: rgba(255,255,255,0.7) !important; }
.footer a:hover { color: var(--cat-yellow) !important; }
.footer h5, .footer h6 { color: white; font-weight: 600; }
.footer p { color: rgba(255,255,255,0.6); }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.08); 
    transition: all 0.3s;
    color: white !important;
}
.social-links a:hover { 
    background: var(--cat-yellow); 
    transform: translateY(-2px);
    color: var(--cat-black) !important;
}

/* ========== Pagination ========== */
.pagination { flex-wrap: wrap; gap: 4px; }
.pagination .page-link {
    border-radius: var(--border-radius-sm); 
    margin: 0; 
    border: 1px solid var(--cat-light-gray);
    color: var(--cat-steel); 
    font-weight: 500; 
    padding: 0.5rem 0.9rem;
    background: white;
}
.pagination .page-link:hover {
    background: var(--cat-yellow);
    border-color: var(--cat-yellow);
    color: var(--cat-black);
}
.pagination .page-item.active .page-link { 
    background: var(--cat-steel); 
    border-color: var(--cat-steel);
    color: white;
}

/* ========== CTA Section ========== */
.bg-gradient-primary {
    background: var(--gradient-dark) !important;
    border-top: 4px solid var(--cat-yellow);
    border-bottom: 4px solid var(--cat-yellow);
}
.bg-gradient-primary h2 { 
    color: white;
}
.bg-gradient-primary h2::after {
    background: var(--cat-yellow);
}
.bg-gradient-primary p {
    color: rgba(255,255,255,0.7);
}

/* ========== Table ========== */
.table-responsive { -webkit-overflow-scrolling: touch; overflow-x: auto; }
.table { width: 100%; max-width: 100%; margin-bottom: 1rem; }
.table thead th { 
    background: var(--cat-steel); 
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
}
.table-striped tbody tr:nth-of-type(odd) {
    background: var(--cat-beige);
}

/* ========== Utilities ========== */
.bg-gradient-dark { background: var(--gradient-dark) !important; }
.bg-light { background: var(--cat-bg) !important; }
.bg-white { background: white !important; }
.text-warning { color: var(--cat-yellow) !important; }
.text-primary { color: var(--cat-yellow-dark) !important; }
.badge-primary { 
    background: var(--cat-steel);
    color: white;
}

/* ========== Embed ========== */
.embed-responsive { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; }
.embed-responsive::before { display: block; content: ""; padding-top: 56.25%; }
.embed-responsive .embed-responsive-item {
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 100%; height: 100%; border: 0;
}

/* ========== AOS ========== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ========== Cat Brand Divider ========== */
.cat-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--cat-yellow) 0%, var(--cat-gold) 50%, var(--cat-yellow) 100%);
    width: 80px;
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== Contact Card ========== */
.contact-card {
    border-left: 4px solid var(--cat-yellow);
    border-radius: var(--border-radius-lg);
    background: white;
}
.contact-card i {
    color: var(--cat-yellow-dark);
}

/* ========== Mobile Inquiry Bar ========== */
@media (max-width: 767.98px) {
    .mobile-inquiry-bar {
        display: flex !important;
        position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 9998; 
        background: var(--cat-steel);
        border-top: 3px solid var(--cat-yellow);
        box-shadow: 0 -2px 15px rgba(0,0,0,0.2);
        padding: 8px 12px; gap: 8px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }
    body { padding-bottom: 65px; }
}
.mobile-inquiry-bar:not(:defined) { display: none; }
.inquiry-btn {
    flex: 1; display: flex;
    align-items: center; justify-content: center; gap: 6px;
    padding: 10px 8px; border-radius: var(--border-radius-sm);
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s; min-height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.inquiry-btn:active { transform: scale(0.97); }
.inquiry-call { background: #2E7D32; color: white; }
.inquiry-email { background: var(--cat-steel); color: white; }
.inquiry-contact { background: var(--cat-yellow); color: var(--cat-black) !important; }
.inquiry-btn:hover { opacity: 0.9; color: white; }
.inquiry-contact:hover { color: var(--cat-black) !important; }
.inquiry-btn i { font-size: 1rem; }

/* ================================================
   ★ 响应式断点
   ================================================ */

/* --- 小手机 (<576px) --- */
@media (max-width: 575.98px) {
    :root { --section-padding: 50px; }
    html { font-size: 14px; }
    body { padding-top: 60px; }
    .display-4 { font-size: 1.8rem !important; }
    h1 { font-size: 1.6rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.2rem; }
    .lead { font-size: 1rem; }
    .container { padding-left: 16px; padding-right: 16px; }
    h2::after { width: 40px; height: 3px; }

    .hero-section { min-height: 18vh; max-height: 200px; }
    .hero-content { padding: 20px 0; }
    .hero-content .display-4 { font-size: 1.2rem !important; }
    .hero-content .lead { font-size: 0.8rem; margin-bottom: 8px !important; }
    .hero-section .btn-lg { padding: 0.35rem 0.8rem; font-size: 0.75rem; width: 100%; }
    .hero-section .d-flex { flex-direction: column; gap: 4px !important; }
    .hero-section .gap-3.mt-4 { margin-top: 8px !important; gap: 8px !important; }
    .hero-section .small { font-size: 0.7rem; }
    .hero-carousel { bottom: 10px; gap: 4px; }
    .hero-dot { width: 8px; height: 8px; }

    .product-image-wrapper { height: 160px; }
    .article-img { height: 160px; }
    .feature-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .page-header { padding-top: 80px !important; }
    .page-header h1 { font-size: 1.4rem; }
    .page-header h1::after { width: 35px; }
    .product-main-image img { max-height: 300px; }
    .article-content { font-size: 1rem; }
    .page-content { font-size: 1rem; }
    .footer .row > div { margin-bottom: 1.5rem; }
    .social-share { justify-content: center; }
    .share-btn { width: 36px; height: 36px; font-size: 0.85rem; }
    .pagination .page-link { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
    .btn-lg { padding: 0.65rem 1.2rem; font-size: 0.95rem; }
    .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
    #backToTop { width: 38px !important; height: 38px !important; font-size: 0.85rem; }
    .contact-form .btn { width: 100%; }
}

/* --- 手机 (<768px) --- */
@media (max-width: 767.98px) {
    :root { --section-padding: 60px; }
    html { font-size: 15px; }
    body { padding-top: 62px; }
    .display-4 { font-size: 2.2rem; }

    .hero-section { min-height: 20vh; max-height: 240px; }
    .hero-content { padding: 25px 0; }
    .hero-content .display-4 { font-size: 1.5rem; text-align: center; }
    .hero-content .lead { font-size: 0.9rem; margin-bottom: 10px !important; }
    .hero-section .btn-lg { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
    .hero-carousel { bottom: 12px; gap: 5px; }
    .hero-dot { width: 8px; height: 8px; }

    .product-image-wrapper { height: 180px; }
    .article-img { height: 180px; }
    .page-header { padding-top: 85px !important; text-align: center; }
    .page-header h1::after { left: 50%; transform: translateX(-50%); }
    .breadcrumb { justify-content: center; }
    .product-main-image img { max-height: 350px; }
    .footer { text-align: center; }
    .footer .social-links { justify-content: center; }
    .social-share { justify-content: center; }
    .contact-form .btn { width: 100%; }
}

/* --- 平板 (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991.98px) {
    :root { --section-padding: 70px; }
    html { font-size: 15px; }
    .display-4 { font-size: 2.5rem; }

    .hero-section { min-height: 36vh; max-height: 400px; }
    .hero-content { padding: 50px 0; }
    .hero-content .display-4 { font-size: 2.5rem; }
    .hero-content .lead { font-size: 1.1rem; }

    .navbar .nav-link { font-size: 0.88rem; padding: 0.4rem 0.7rem !important; }
}

/* --- 大屏 (≥1200px) --- */
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
    .hero-content .display-4 { font-size: 3rem; }
    .hero-section { min-height: 44vh; max-height: 520px; }
}

/* --- 超宽屏 (≥1600px) --- */
@media (min-width: 1600px) {
    .container { max-width: 1320px; }
    .hero-section { min-height: 42vh; max-height: 560px; }
    .hero-content .display-4 { font-size: 3.6rem; }
}

/* ================================================
   ★ 特殊场景
   ================================================ */

@media (hover: none) {
    .card:hover { transform: none; }
    .product-card:hover .product-img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media print {
    .navbar, .footer, #backToTop, .cat-top-bar, .mobile-inquiry-bar { display: none; }
    body { padding-top: 0; }
    .container { max-width: 100%; }
}

/* ========== Utility Classes ========== */
.text-truncate-2 {
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.text-truncate-3 {
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
code, pre { white-space: pre-wrap; word-break: break-word; }

@media (max-width: 399.98px) {
    .inquiry-btn span { display: none; }
    .inquiry-btn i { font-size: 1.2rem; }
}

/* ========== Banner Slogan Content ========== */
.banner-slogan-content h1,
.banner-slogan-content h2,
.banner-slogan-content h3,
.banner-slogan-content h4 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
    margin: 0 0 10px;
}
.banner-slogan-content h1 { font-size: 2.4rem; }
.banner-slogan-content h2 { font-size: 2rem; }
.banner-slogan-content h3 { font-size: 1.6rem; }
.banner-slogan-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    margin: 0 auto 8px;
    max-width: 700px;
}

.banner-slogan-content ul, .banner-slogan-content ol {
    color: rgba(255,255,255,0.85);
    text-align: left;
    display: inline-block;
    margin: 8px auto;
}
.banner-slogan-content li { margin-bottom: 4px; }
.banner-slogan-content a {
    color: var(--cat-yellow);
    text-decoration: underline;
}
.banner-slogan-content strong, .banner-slogan-content b {
    color: #fff;
}
