/* ============================================================
 * 公共样式 - 安防摄像头外贸官网
 * 简约商务风格 - STARCOM 风格
 * 纯白底 + 浅科技蓝主色 + 橙色行动按钮 + 扁平化设计
 * ============================================================ */

/* ========== 1. CSS Variables / 全局变量 ========== */
:root {
    /* 主色调：浅科技蓝 */
    --primary-color: #007bff;
    --primary-light: #e8f2ff;
    --primary-dark: #0056b3;
    
    /* 辅助色：低饱和浅灰 */
    --bg-color: #f5f7fa;
    --bg-light: #fafbfc;
    --card-bg: #ffffff;
    
    /* 文字颜色 */
    --text-color: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #cccccc;
    
    /* 边框色 */
    --border-color: #e5e7eb;
    --border-light: #f0f0f0;
    
    /* 行动按钮：橙色 */
    --accent-color: #ff6600;
    --accent-hover: #e55a00;
    
    /* 功能色 */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --whatsapp-color: #25d366;
    
    /* 间距 */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 8px;
    
    /* 阴影 - 极轻 */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ========== 2. Reset / 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background: var(--bg-light);
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--primary-dark);
}

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

/* ========== 3. 导航栏 / Navbar ========== */
/* 扁平化设计，无厚重阴影，极简风格 */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.navbar-brand img {
    height: 36px;
}

.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 20px 18px !important;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color);
}

/* 语言切换按钮 - 扁平化 */
.lang-switch {
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: #ffffff;
    transition: all 0.2s;
    margin-left: 16px;
}

.lang-switch:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========== 4. 页面 Banner / Page Banner ========== */
/* 简洁Banner样式 */
.page-banner {
    background: var(--primary-light);
    padding: 48px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.page-banner .breadcrumb-custom {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.page-banner .breadcrumb-custom a {
    color: var(--text-secondary);
}

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

/* ========== 5. 首页轮播 / Hero Carousel ========== */
.hero-carousel {
    height: auto;
    overflow: hidden;
    background: #ffffff;
}

.hero-carousel .carousel-item {
    min-height: 480px;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* 轮播Caption - 左右分栏布局用 */
.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: var(--text-color);
    max-width: 500px;
    text-align: left;
}

.carousel-caption-custom h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.carousel-caption-custom p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-light);
    border: none;
    margin: 0 4px;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #ffffff;
    opacity: 1;
}

/* ========== 6. 通用 Section / 区块样式 ========== */
section {
    padding: 64px 0;
    background: #ffffff;
}

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

.section-title h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Section Badge - 浅蓝标签 */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== 7. 按钮样式 / Buttons ========== */
/* 主按钮 - 橙色行动按钮 */
.btn-primary-custom {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary-custom:hover {
    background: var(--accent-hover);
    color: #ffffff;
}

/* 次要按钮 - 白底蓝边 */
.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* 白底深色按钮 */
.btn-dark-custom {
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-dark-custom:hover {
    border-color: var(--text-color);
    color: var(--text-color);
}

/* ========== 8. 卡片样式 / Cards ========== */
/* 通用卡片 - 简约白底、细分割线 */
.card-custom {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

.card-custom:hover {
    border-color: var(--border-color);
}

/* ========== 9. 产品卡片 / Product Cards ========== */
/* 简约产品卡片 - 无繁杂阴影 */
.product-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: border-color 0.2s;
}

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

.product-card .img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-card .info {
    padding: 16px;
}

.product-card .name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.product-card .price {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

.product-card .price .unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* 产品卡片右侧箭头 */
.product-card .arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.product-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 产品列表页卡片 */
.product-list-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: border-color 0.2s;
}

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

.product-list-card .img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-list-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-card .info {
    padding: 16px;
}

.product-list-card .name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.product-list-card .price {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

/* 产品HOT标签 */
.product-card .tag,
.product-list-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
}

.product-card .img-wrap,
.product-list-card .img-wrap {
    position: relative;
}

/* ========== 10. 新闻卡片 / News Cards ========== */
/* 简约新闻卡片 */
.news-card,
.news-list-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: border-color 0.2s;
}

.news-card:hover,
.news-list-card:hover {
    border-color: var(--primary-color);
}

.news-card .img-wrap,
.news-list-card .img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--bg-color);
}

.news-card img,
.news-list-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .body,
.news-list-card .body {
    padding: 16px;
}

.news-card h5,
.news-list-card h5 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.news-card .date,
.news-list-card .date {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card .excerpt,
.news-list-card .excerpt {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 8px;
}

/* TOP标签 */
.news-card .badge-top,
.news-list-card .badge-top {
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 6px;
}

/* ========== 11. 侧边栏分类 / Sidebar ========== */
/* 简约侧边栏 */
.sidebar-categories,
.category-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
}

.sidebar-categories h5,
.category-sidebar h5 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-item {
    padding: 10px 12px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-item:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.cat-item.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
}

.cat-item .count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-color);
    padding: 2px 8px;
    border-radius: 10px;
}

.cat-item.active .count {
    background: #ffffff;
    color: var(--primary-color);
}

/* ========== 12. 分页 / Pagination ========== */
/* 简约分页 */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination-custom button {
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-custom button:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-custom button.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination-custom button:disabled {
    color: var(--text-light);
    cursor: not-allowed;
}

/* ========== 13. WhatsApp 悬浮 / WhatsApp Float ========== */
/* 简洁悬浮按钮 */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    z-index: 998;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: #ffffff;
    opacity: 0.9;
}

/* ========== 14. 加载/空/错误状态 ========== */
.loading-box,
.empty-box,
.error-box {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.loading-box .spinner-border {
    width: 2rem;
    height: 2rem;
    color: var(--primary-color);
}

.empty-box i,
.error-box i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
}

/* ========== 15. Toast 提示 ========== */
.toast-box {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--text-color);
    color: #ffffff;
    border-radius: var(--radius);
    z-index: 9999;
    display: none;
    min-width: 200px;
    text-align: center;
    font-size: 0.9rem;
}

.toast-box.success { background: var(--success-color); }
.toast-box.error { background: var(--danger-color); }
.toast-box.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ========== 16. 表单样式 / Form ========== */
/* 简约表单 */
.form-section,
.form-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 6px;
    font-size: 0.875rem;
}

.form-label .required {
    color: var(--danger-color);
}

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-error {
    color: var(--danger-color);
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.form-error.show {
    display: block;
}

/* ========== 17. 底部 / Footer ========== */
/* 简约底部 */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 0;
}

.footer h6 {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer a {
    color: var(--text-secondary);
    display: block;
    padding: 4px 0;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    margin-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 底部社交图标 */
.footer .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.footer .social-link:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* 社交图标 */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* ========== 18. 联系信息 / Contact Info ========== */
/* 简约联系卡片 */
.contact-info-box,
.contact-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    height: 100%;
}

.contact-info-box h4,
.contact-card h4 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-box .item,
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-box .item:last-child,
.contact-item:last-child {
    border-bottom: none;
}

.contact-info-box .item i,
.contact-item .icon-box {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-box .item div {
    font-size: 0.9rem;
}

.contact-info-box .item .text-muted {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

/* 地图 */
.map-box,
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 16px;
}

.map-box iframe,
.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* ========== 19. 详情页 / Detail Pages ========== */
/* 简约详情图 */
.detail-img-main {
    width: 100%;
    height: 400px;
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.detail-img-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-img-thumbs {
    display: flex;
    gap: 8px;
}

.detail-img-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.detail-img-thumbs img:hover,
.detail-img-thumbs img.active {
    border-color: var(--primary-color);
}

/* 规格区块 */
.spec-block {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.spec-block h4 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.spec-block pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    background: var(--bg-color);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    line-height: 1.6;
}

.spec-block .content-html {
    line-height: 1.7;
    color: var(--text-secondary);
}

.spec-block .content-html img {
    max-width: 100%;
    margin: 12px 0;
    border-radius: var(--radius-sm);
}

/* ========== 20. 统计卡片 / Stat Cards ========== */
/* 简约统计卡片 */
.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.stat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.stat-card .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== 21. 特色卡片 / Feature Cards ========== */
/* 简约特色卡片 */
.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    height: 100%;
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h5 {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========== 22. 合作伙伴卡片 / Partner Cards ========== */
/* 简约合作伙伴卡片 */
.partner-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    height: 100%;
}

.partner-card .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    opacity: 0.7;
}

.partner-card h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.partner-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ========== 23. CTA 区块 / CTA Section ========== */
/* 简约CTA */
.cta-section {
    background: var(--primary-light);
    padding: 64px 0;
}

.cta-section .container {
    text-align: center;
}

/* ========== 24. 关于页面专属样式 / About Page ========== */
.about-hero {
    background: var(--primary-light);
    padding: 64px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.about-hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 简介图片 */
.about-intro-image,
.intro-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
}

.about-intro-image img,
.intro-image-wrap img {
    width: 100%;
}

/* ========== 25. 联系页面专属 / Contact Page ========== */
.contact-page-banner {
    background: var(--primary-light);
    padding: 48px 0;
    text-align: center;
}

.contact-page-banner h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-page-banner .breadcrumb-custom {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.submit-btn:disabled {
    opacity: 0.7;
}

/* ========== 26. 产品列表页专属 / Product List Page ========== */
.product-page-banner {
    background: var(--primary-light);
    padding: 48px 0;
    text-align: center;
}

.product-page-banner h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.product-list-header,
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.product-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.product-count strong {
    color: var(--text-color);
    font-weight: 600;
}

.current-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-color);
    padding: 4px 12px;
    border-radius: 20px;
}

.news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.news-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.news-count strong {
    color: var(--text-color);
    font-weight: 600;
}

.news-tip {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-tip i {
    color: var(--primary-color);
}

/* ========== 27. 产品详情页专属 / Product Detail Page ========== */
.detail-page-banner {
    background: var(--primary-light);
    padding: 40px 0;
    text-align: center;
}

.detail-page-banner h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.detail-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.detail-gallery {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
}

.detail-main-img {
    width: 100%;
    height: 360px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.detail-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-thumbs {
    display: flex;
    gap: 8px;
}

.detail-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.detail-thumbs img:hover,
.detail-thumbs img.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.detail-info {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
}

.detail-info h2 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.price-box {
    background: var(--bg-color);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.price-box .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-box .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.detail-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-color);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.detail-meta {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-meta i {
    color: var(--primary-color);
}

/* ========== 28. 资讯详情页专属 / News Detail Page ========== */
.news-detail-banner {
    background: var(--primary-light);
    padding: 40px 0;
    text-align: center;
}

.news-detail-banner h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.news-detail-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.back-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.news-article {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
}

.news-article .article-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.news-article .badge-top {
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 8px;
}

.news-article h1 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-article .article-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-article .article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-article .article-meta i {
    color: var(--primary-color);
}

.article-cover {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
}

.article-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body p {
    margin-bottom: 16px;
}

.article-body img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}

.article-body h1, 
.article-body h2, 
.article-body h3,
.article-body h4 {
    color: var(--text-color);
    margin: 24px 0 12px;
    font-weight: 600;
}

.article-body h2 { font-size: 1.25rem; }
.article-body h3 { font-size: 1.1rem; }

.article-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========== 29. 响应式 / Responsive ========== */
@media (max-width: 991px) {
    section {
        padding: 48px 0;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }
    
    .detail-main-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-link {
        padding: 12px 16px !important;
    }
    
    .navbar-collapse {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-light);
    }
    
    .lang-switch {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .carousel-caption-custom {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        max-width: 100%;
        text-align: center;
        padding: 20px;
        background: #ffffff;
    }
    
    .carousel-caption-custom h1 {
        font-size: 1.5rem;
    }
    
    .hero-carousel .carousel-item {
        min-height: auto;
    }
    
    .hero-carousel .carousel-item img {
        height: 300px;
    }
    
    .whatsapp-float {
        width: 44px;
        height: 44px;
        font-size: 22px;
        bottom: 70px;
        right: 16px;
    }
    
    .page-banner,
    .about-hero,
    .contact-page-banner,
    .product-page-banner,
    .detail-page-banner,
    .news-detail-banner {
        padding: 32px 0;
    }
    
    .page-banner h1,
    .about-hero h1,
    .contact-page-banner h1,
    .product-page-banner h1,
    .detail-page-banner h1,
    .news-detail-banner h1 {
        font-size: 1.25rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 32px;
    }
    
    .form-section,
    .form-card {
        padding: 20px;
    }
    
    .news-article {
        padding: 20px;
    }
    
    .detail-info {
        padding: 20px;
    }
    
    .detail-main-img {
        height: 260px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .product-list-header,
    .news-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========== 30. 通用辅助类 ========== */
/* 去除所有阴影 */
.no-shadow {
    box-shadow: none !important;
}

/* 白色背景区块 */
.bg-white {
    background: #ffffff;
}

/* 浅灰背景区块 */
.bg-light {
    background: var(--bg-color);
}

/* 扁平化hover效果 - 仅轻微变色 */
.flat-hover {
    transition: border-color 0.2s, background-color 0.2s;
}

.flat-hover:hover {
    background-color: var(--bg-color);
}

/* 禁用动画 */
.no-animation,
.no-animation * {
    animation: none !important;
    transition: none !important;
}
