/* ==========================================================================
   北朝物联 · 工业风主题（产品中心）
   仅通过 body.bc-industry 生效，不影响其它模块
   ========================================================================== */

body.bc-industry {
    --bc-ink: #14212B;
    --bc-navy: #0E3A5C;
    --bc-steel: #1D5F8A;
    --bc-accent: #D9620F;
    --bc-line: #DCE3E8;
    --bc-line-strong: #C3CFD8;
    --bc-bg: #EEF2F5;
    --bc-muted: #5D6B76;

    /* 覆盖主题的消费品配色（粉红主色 → 深海军蓝） */
    --bs-primary: #0E3A5C;
    --bs-info: #1D5F8A;
    --bs-dark: #14212B;
    --bs-body-color: #14212B;

    background-color: var(--bc-bg);
    color: var(--bc-ink);
}

/* ---------- 宽屏：内容与导航同步放宽，减少两侧留白 ---------- */
@media (min-width: 1800px) {
    body.bc-industry .container { max-width: 1520px; }
}

@media (min-width: 2200px) {
    body.bc-industry .container { max-width: 1680px; }
}

/* ---------- 渐变 → 实色 ---------- */
body.bc-industry .bc-page .bg-gradient-primary,
body.bc-industry .bc-page .bg-gradient-info,
body.bc-industry .bc-page .bg-gradient-success,
body.bc-industry .bc-page .bg-gradient-dark,
body.bc-industry .bc-page .bg-gradient-warning,
body.bc-industry .bc-page .bg-gradient-danger {
    background-image: none !important;
    background-color: var(--bc-navy) !important;
}

body.bc-industry .bc-page .text-gradient {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--bc-navy) !important;
}

/* ---------- 刚性边角：圆角 12px → 3px ---------- */
body.bc-industry .card,
body.bc-industry .btn,
body.bc-industry .form-control,
body.bc-industry .dropdown-menu,
body.bc-industry .accordion-item,
body.bc-industry .border-radius-lg,
body.bc-industry .border-radius-xl,
body.bc-industry .border-radius-md {
    border-radius: 3px !important;
}

/* ---------- 去掉卡片柔光投影，改用发丝描边 ---------- */
body.bc-industry .card {
    box-shadow: none;
}

body.bc-industry .card.shadow,
body.bc-industry .card.shadow-sm,
body.bc-industry .card.shadow-lg,
body.bc-industry .card.shadow-xl {
    box-shadow: none !important;
}

/* 页面级白卡给一条描边；带浮动图头的产品卡保持无边框 */
body.bc-industry .card.card-body {
    border: 1px solid var(--bc-line);
}

/* ---------- 按钮 ---------- */
body.bc-industry .btn {
    font-weight: 500;
    letter-spacing: .01em;
}

/* ---------- 文字：去掉 300 细体 ---------- */
body.bc-industry p {
    font-weight: 400;
}

body.bc-industry h1,
body.bc-industry h2,
body.bc-industry h3,
body.bc-industry h4,
body.bc-industry h5,
body.bc-industry h6 {
    color: var(--bc-ink);
}

/* ---------- 面包屑：去掉灰色底板，与标题左对齐 ---------- */
body.bc-industry .breadcrumb {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

/* ---------- 图标色彩统一 ---------- */
body.bc-industry .icon-shape {
    border-radius: 3px;
}

/* ---------- 卡片内的图片跟随新圆角 ---------- */
body.bc-industry .card img {
    border-radius: 2px;
}

/* ---------- 主题里写死的颜色工具类需显式覆盖 ---------- */
body.bc-industry .bc-page .text-info {
    color: var(--bc-steel) !important;
}

body.bc-industry .bc-page .text-primary {
    color: var(--bc-navy) !important;
}

body.bc-industry .text-dark {
    color: var(--bc-ink) !important;
}

body.bc-industry .btn-outline-info {
    --bs-btn-color: #0E3A5C;
    --bs-btn-border-color: #C3CFD8;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0E3A5C;
    --bs-btn-hover-border-color: #0E3A5C;
    --bs-btn-active-bg: #0E3A5C;
    --bs-btn-active-border-color: #0E3A5C;
}

body.bc-industry .btn-white {
    --bs-btn-color: var(--bc-ink);
    --bs-btn-border-color: var(--bc-line-strong);
}

/* ---------- 主行动按钮（工业橙） ---------- */
body.bc-industry .bc-btn-primary {
    background-color: var(--bc-accent) !important;
    border: 1px solid var(--bc-accent) !important;
    color: #fff !important;
    border-radius: 3px;
    font-weight: 500;
}

body.bc-industry .bc-btn-primary:hover,
body.bc-industry .bc-btn-primary:focus {
    background-color: #C0560C !important;
    border-color: #C0560C !important;
    color: #fff !important;
}

/* ---------- 首页首屏（窄屏适配） ---------- */
@media (max-width: 767.98px) {
    body.bc-industry .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.35;
    }

    body.bc-industry .page-header .lead {
        font-size: 1rem;
        margin-right: 0 !important;
    }

    body.bc-industry .page-header p {
        font-size: 0.875rem;
    }
}
