:root {
    --ind-primary: #1e5a96;
    --ind-primary-dark: #164670;
    --ind-primary-light: #2d7bc4;
    --ind-accent: #e67e22;
    --ind-dark: #1a2634;
    --ind-text: #2c3e50;
    --ind-text-secondary: #5a6a7a;
    --ind-bg: #f5f7fa;
    --ind-bg-light: #ffffff;
    --ind-border: #e1e6eb;
    --ind-section-padding: 70px;

    /* 统一覆盖原模板色系 */
    --primary: #1e5a96;
    --primary-dark: #164670;
    --primary-light: #2d7bc4;
    --accent: #e67e22;
    --success: #27ae60;
    --warning: #e67e22;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --text: #1a2634;
    --text-secondary: #5a6a7a;
    --text-muted: #8a949e;
    --border: #e1e6eb;
}

/* 顶部导航工业风统一 */
.topbar {
    background: var(--ind-dark) !important;
    border-bottom: none !important;
    font-size: 13px;
}

.topbar a { color: #aab4be !important; }
.topbar a:hover { color: var(--ind-accent) !important; }
.topbar-sep { color: #5a6a7a !important; }

.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-bottom: 2px solid var(--ind-primary);
}

.site-header .logo img {
    max-height: 52px;
}

.search-box input {
    border-color: var(--ind-border) !important;
    border-radius: 2px 0 0 2px;
}
.search-box input:focus {
    border-color: var(--ind-primary) !important;
    box-shadow: 0 0 0 3px rgba(30,90,150,0.1);
}

.search-box button,
.search-box button[type="submit"] {
    background: var(--ind-primary) !important;
    border-color: var(--ind-primary) !important;
    border-radius: 0 2px 2px 0;
    color: #fff !important;
}

.search-box button:hover {
    background: var(--ind-primary-dark) !important;
    border-color: var(--ind-primary-dark) !important;
}

.main-nav-bar {
    background: var(--ind-primary) !important;
    border-bottom: none !important;
}

.category-menu > a {
    background: var(--ind-primary-dark) !important;
    color: #fff !important;
}

.nav-links a {
    color: #fff !important;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

.cart-mini {
    background: var(--ind-primary) !important;
    border-radius: 2px;
    color: #fff !important;
}

.cart-mini:hover {
    background: var(--ind-primary-dark) !important;
}

.cart-mini .count {
    background: var(--ind-accent) !important;
}

/* 分类下拉统一 */
.category-menu {
    background: var(--ind-primary) !important;
}

.category-menu > a {
    color: #fff !important;
    background: transparent !important;
}

.category-menu > a:before {
    color: #fff !important;
}

.category-dropdown {
    background: rgba(22, 70, 112, 0.98) !important;
    border-top-color: var(--ind-primary) !important;
}

.category-dropdown li {
    border-bottom-color: rgba(255,255,255,0.1) !important;
}

.category-dropdown li .cat-title {
    color: #fff !important;
}

.category-dropdown li .cat-title:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.category-dropdown li:hover {
    background: rgba(255,255,255,0.08) !important;
}

.category-dropdown .cat-subs a {
    color: rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.1) !important;
}

.category-dropdown .cat-subs a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.2) !important;
}

body.home .cat-promo {
    background: rgba(0,0,0,0.12) !important;
    border-top-color: rgba(255,255,255,0.12) !important;
}

body.home .cat-promo a {
    color: #fff !important;
}

/* Banner 工业风 */
.home-banner-section.industrial-banner {
    margin-bottom: 0;
    background: var(--ind-dark);
}

.industrial-banner .banner-slider {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.industrial-banner .banner-slides img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.industrial-banner .banner-prev,
.industrial-banner .banner-next {
    background: rgba(30,90,150,0.7);
    color: #fff;
    border-radius: 0;
    width: 48px;
    height: 72px;
    line-height: 72px;
    font-size: 32px;
}

.industrial-banner .banner-prev:hover,
.industrial-banner .banner-next:hover {
    background: var(--ind-primary);
}

.industrial-banner .banner-dots span {
    background: rgba(255,255,255,0.4);
    width: 12px;
    height: 4px;
    border-radius: 0;
}

.industrial-banner .banner-dots span.active {
    background: var(--ind-accent);
    width: 32px;
}

/* 板块通用 */
.industrial-section {
    padding: var(--ind-section-padding) 0;
    border-bottom: 1px solid var(--ind-border);
}

.industrial-section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 30px;
    color: var(--ind-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-header h2 span {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-header h2 span::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--ind-primary);
}

.section-header p {
    color: var(--ind-text-secondary);
    font-size: 15px;
    margin-top: 16px;
}

.section-header.left {
    text-align: left;
}

.section-header.left h2 span::after {
    left: 0;
    transform: none;
}

/* 为什么选择我们 - 数据统计 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 36px 22px;
    background: var(--ind-bg-light);
    border: 1px solid var(--ind-border);
    transition: all 0.3s;
}

.advantage-item:hover {
    box-shadow: 0 8px 24px rgba(30,90,150,0.1);
    transform: translateY(-4px);
    border-color: var(--ind-primary);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ind-primary);
    border: 2px solid var(--ind-primary);
    border-radius: 50%;
    transition: all 0.3s;
}

.advantage-item:hover .advantage-icon {
    background: var(--ind-primary);
    color: #fff;
}

.advantage-item h3 {
    font-size: 18px;
    color: var(--ind-dark);
    margin-bottom: 10px;
}

.advantage-item p {
    color: var(--ind-text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* 产品标签 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 10px 28px;
    border: 1px solid var(--ind-border);
    color: var(--ind-text-secondary);
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.product-tab:hover,
.product-tab.active {
    background: var(--ind-primary);
    color: #fff;
    border-color: var(--ind-primary);
}

/* 产品卡片工业风 */
.industrial-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.industrial-product-grid .product-card {
    background: #fff;
    border: 1px solid var(--ind-border);
    border-radius: 0;
    transition: all 0.3s;
    overflow: hidden;
}

.industrial-product-grid .product-card:hover {
    box-shadow: 0 8px 28px rgba(30,90,150,0.12);
    transform: translateY(-4px);
}

.industrial-product-grid .product-card .img-wrap {
    border-bottom: 1px solid var(--ind-border);
}

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

.industrial-product-grid .product-card h3 {
    font-size: 14px;
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
}

.industrial-product-grid .product-card .price {
    color: var(--ind-accent);
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}

.industrial-product-grid .product-card .tag {
    background: var(--ind-accent);
    border-radius: 0;
    font-size: 12px;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

.btn-industrial {
    display: inline-block;
    padding: 12px 36px;
    background: var(--ind-primary);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
    border: 1px solid var(--ind-primary);
}

.btn-industrial:hover {
    background: var(--ind-primary-dark);
    color: #fff;
}

/* 三大服务 */
.industrial-services {
    background: var(--ind-bg);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    padding: 40px 28px;
    text-align: center;
    border-top: 3px solid var(--ind-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(30,90,150,0.12);
    transform: translateY(-6px);
}

.service-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--ind-primary);
    margin-bottom: 12px;
    line-height: 1;
    opacity: 0.9;
}

.service-card h3 {
    font-size: 20px;
    color: var(--ind-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--ind-text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* 关于公司 */
.about-company {
    background: var(--ind-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content p {
    color: var(--ind-text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 15px;
}

.about-content .btn-industrial {
    margin-top: 10px;
}

.about-image {
    background: var(--ind-bg);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--ind-border);
}

.about-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.about-product-item {
    background: #fff;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--ind-border);
    transition: all 0.3s;
}

.about-product-item:hover {
    border-color: var(--ind-primary);
    box-shadow: 0 4px 12px rgba(30,90,150,0.1);
}

.about-product-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.about-company-logo {
    text-align: center;
    padding: 40px;
}

.about-company-logo img {
    max-width: 200px;
    max-height: 120px;
}

/* 页脚工业风 */
.site-footer {
    background: var(--ind-dark);
    color: #aab4be;
    border-top: 4px solid var(--ind-primary);
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer a {
    color: #aab4be;
}

.site-footer a:hover {
    color: var(--ind-accent);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    color: #8a949e;
}

/* 移动端菜单 */
.mobile-bottom-nav a.active {
    color: var(--ind-primary);
}

/* 响应式 */
@media (max-width: 991px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industrial-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .industrial-banner .banner-slides img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    :root {
        --ind-section-padding: 45px;
    }
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .advantage-item {
        padding: 24px 12px;
    }
    .advantage-icon {
        width: 48px;
        height: 48px;
    }
    .advantage-icon svg {
        width: 28px;
        height: 28px;
    }
    .industrial-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .service-list {
        grid-template-columns: 1fr;
    }
    .product-tabs {
        gap: 8px;
    }
    .product-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .about-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industrial-banner .banner-slides img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .industrial-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==================== ɫϵͳһ���� ==================== */

/* ��ťͳһ */
.btn,
.btn-primary,
button[type='submit'],
input[type='submit'] {
    background: var(--ind-primary) !important;
    border-color: var(--ind-primary) !important;
    color: #fff !important;
}

.btn:hover,
.btn-primary:hover,
button[type='submit']:hover,
input[type='submit']:hover {
    background: var(--ind-primary-dark) !important;
    border-color: var(--ind-primary-dark) !important;
}

.btn-outline {
    background: transparent !important;
    color: var(--ind-primary) !important;
    border-color: var(--ind-primary) !important;
}

.btn-outline:hover {
    background: var(--ind-primary) !important;
    color: #fff !important;
}

.btn-secondary {
    background: #f5f7fa !important;
    color: var(--ind-text) !important;
    border-color: var(--ind-border) !important;
}

.btn-secondary:hover {
    background: #e1e6eb !important;
}

.btn-blue {
    background: var(--ind-primary) !important;
}

/* ����ͳһ */
a {
    color: var(--ind-primary);
}

a:hover {
    color: var(--ind-primary-dark);
}

/* �۸�ͳһ */
.price,
.product-price,
.total-price,
.cart-total {
    color: var(--ind-accent) !important;
}

/* ��ǩͳһ */
.tag,
.badge,
.hot-tag,
.new-badge {
    background: var(--ind-accent) !important;
    color: #fff !important;
}

/* ��������ͳһ */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--ind-primary) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,90,150,0.1);
}

/* ��ҳͳһ */
.pagination a:hover,
.pagination .current {
    background: var(--ind-primary) !important;
    border-color: var(--ind-primary) !important;
    color: #fff !important;
}

/* ��������ͳһ */
.floor-left-title,
.cat-title {
    background: var(--ind-primary) !important;
    color: #fff !important;
}

/* ��ʾ��Ϣͳһ */
.alert-success {
    background: #eafaf1 !important;
    color: #1e8449 !important;
    border-color: #27ae60 !important;
}

.alert-error,
.alert-danger {
    background: #fdecea !important;
    color: #c0392b !important;
    border-color: #e74c3c !important;
}

/* ��Ա�˵�ͳһ */
.member-menu a.active,
.member-menu a:hover {
    background: rgba(30,90,150,0.08) !important;
    color: var(--ind-primary) !important;
    border-left-color: var(--ind-primary) !important;
}

/* �����ͷͳһ */
th {
    background: #f5f7fa !important;
    color: var(--ind-text-secondary) !important;
}

/* ����/����ͳһ */
.step.active,
.step.current {
    color: var(--ind-primary) !important;
    border-color: var(--ind-primary) !important;
}

/* �ƶ��˲˵�ͳһ */
.mobile-nav a.active {
    color: var(--ind-primary) !important;
    background: rgba(30,90,150,0.08) !important;
}

.mobile-nav a.active .nav-icon {
    background: var(--ind-primary) !important;
    color: #fff !important;
}

.mobile-bottom-nav a.active {
    color: var(--ind-primary) !important;
}

/* �ص�������ťͳһ */
.back-to-top {
    background: var(--ind-primary) !important;
    color: #fff !important;
}

.back-to-top:hover {
    background: var(--ind-primary-dark) !important;
}


/* ��ɫ����ͳһ��Ϊ��ɫ���� */
.mobile-nav a.active,
.brand-item:hover,
.product-actions .btn-secondary:hover,
.member-sidebar,
.filter-group,
.order-summary,
.cart-summary {
    background: #f0f5fa !important;
}

/* ��ɫ��Ӱͳһ */
.box-shadow-red,
.shadow-primary {
    box-shadow: 0 2px 6px rgba(30,90,150,0.25) !important;
}

/* �����õ�ԭ --primary ��ɫ��Ԫ��ͳһ */
[style*='DE0539'],
[style*='b8032e'],
[style*='ff1a52'] {
    color: var(--ind-primary) !important;
    background-color: var(--ind-primary) !important;
    border-color: var(--ind-primary) !important;
}


/* ==================== ��ͷ����ϸ��ʽ ==================== */

/* ������ */
.topbar-welcome {
    color: #aab4be;
    white-space: nowrap;
}

.topbar-right {
    white-space: nowrap;
}

.topbar .icon-phone,
.topbar-phone {
    color: var(--ind-accent);
}

/* ͷ������ */
/* 覆盖原头部样式防止错位 */
.site-header {
    height: auto !important;
    border-bottom: none !important;
}

.site-header .container {
    height: auto !important;
}

.industrial-header {
    background: #fff;
    border-bottom: none;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 18px 0;
}

.header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.industrial-header .logo img {
    max-height: 56px;
}

/* 隐藏原搜索和购物车容器 */
.search-box,
.topbar-cart {
    display: none !important;
}

/* ������ */
.header-search {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.search-input-wrap {
    display: flex;
    border: 2px solid var(--ind-primary);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.search-input-wrap:focus-within {
    box-shadow: 0 0 0 4px rgba(30,90,150,0.1);
}

.search-input-wrap input {
    flex: 1;
    border: none !important;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}

.header-search .search-input-wrap button {
    position: static;
    transform: none;
    width: 52px;
    height: auto;
    border-radius: 0;
    background: var(--ind-primary) !important;
    border: none !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-search .search-input-wrap button:hover {
    background: var(--ind-primary-dark) !important;
    transform: none;
}

.search-hot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--ind-text-secondary);
}

.search-hot a {
    color: var(--ind-text-secondary);
}

.search-hot a:hover {
    color: var(--ind-primary);
}

/* ͷ�������� */
.header-actions {
    display: flex;
    gap: 18px;
}

.header-cart,
.header-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--ind-text);
    font-size: 12px;
    position: relative;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s;
    min-width: 60px;
}

.header-cart:hover,
.header-member:hover {
    color: var(--ind-primary);
    background: #f5f7fa;
}

.header-cart svg,
.header-member svg {
    color: var(--ind-primary);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--ind-accent);
    color: #fff;
    font-size: 11px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* �ƶ�������ͷ������ */
@media (max-width: 991px) {
    .header-actions {
        display: none;
    }
    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 16px;
    }
    .header-search {
        display: none;
    }
    .industrial-header .logo img {
        max-height: 44px;
    }
}

/* ==================== Mega Menu 时尚分类展示 ==================== */
.main-nav-bar {
    height: auto !important;
    background: var(--ind-primary) !important;
    border-bottom: none !important;
}

.industrial-nav {
    background: var(--ind-primary);
    border-bottom: none;
    padding: 0;
}

.nav-inner {
    display: flex !important;
    align-items: center;
    position: relative;
}

.mega-menu-trigger {
    position: relative;
}

.mega-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    height: 48px;
    background: var(--ind-primary-dark);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
}

.mega-menu-btn .arrow {
    transition: transform 0.3s;
    margin-left: 6px;
}

.mega-menu-trigger:hover .mega-menu-btn .arrow {
    transform: rotate(180deg);
}

.mega-menu-panel {
    position: absolute;
    top: 48px;
    left: 0;
    width: 720px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s;
    border-top: 3px solid var(--ind-accent);
}

.mega-menu-trigger:hover .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 260px;
    padding: 28px;
    gap: 28px;
}

.mega-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    align-content: start;
}

.mega-cat-group {
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--ind-border);
}

.mega-cat-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--ind-dark) !important;
    margin-bottom: 12px;
}

.mega-cat-title:hover {
    color: var(--ind-primary) !important;
}

.mega-cat-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mega-cat-subs a {
    padding: 5px 12px;
    background: #f5f7fa;
    color: var(--ind-text-secondary) !important;
    font-size: 13px;
    border-radius: 2px;
    transition: all 0.2s;
}

.mega-cat-subs a:hover {
    background: var(--ind-primary);
    color: #fff !important;
}

.mega-recommend {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 4px;
}

.mega-recommend-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ind-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ind-primary);
}

.mega-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mega-recommend-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.2s;
}

.mega-recommend-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mega-recommend-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 2px;
}

.mega-recommend-name {
    font-size: 13px;
    color: var(--ind-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-recommend-price {
    grid-column: 2;
    font-size: 14px;
    font-weight: 700;
    color: var(--ind-accent);
}

/* ���������� */
.industrial-nav .nav-links {
    display: flex;
    margin-left: 4px;
    overflow: hidden;
}

.industrial-nav .nav-links a {
    padding: 0 22px;
    height: 48px;
    line-height: 48px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.industrial-nav .nav-links a:hover,
.industrial-nav .nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

@media (max-width: 1100px) {
    .industrial-nav .nav-links a {
        padding: 0 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .industrial-nav .nav-links a:nth-child(n+5) {
        display: none;
    }
}

/* ԭ�����������أ�ʹ�� mega menu ����� */
.category-dropdown {
    display: none !important;
}


/* ==================== Э������ҳͳһ��ʽ ==================== */
.policy-page {
    max-width: 980px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--ind-border);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

.policy-header {
    background: linear-gradient(135deg, var(--ind-primary) 0%, var(--ind-primary-dark) 100%);
    color: #fff;
    padding: 36px 40px;
}

.policy-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.policy-header p {
    opacity: 0.85;
    font-size: 14px;
}

.policy-body {
    padding: 40px;
    line-height: 1.9;
    color: var(--ind-text);
}

.policy-body h2 {
    font-size: 20px;
    color: var(--ind-dark);
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ind-border);
}

.policy-body h2:first-child {
    margin-top: 0;
}

.policy-body h3 {
    font-size: 16px;
    color: var(--ind-primary);
    margin: 24px 0 12px;
    font-weight: 600;
}

.policy-body p {
    margin-bottom: 12px;
    color: var(--ind-text-secondary);
}

.policy-body ul,
.policy-body ol {
    margin: 12px 0 12px 20px;
    color: var(--ind-text-secondary);
}

.policy-body li {
    margin-bottom: 8px;
}

.policy-contact {
    background: #f5f7fa;
    border-left: 4px solid var(--ind-primary);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 4px 4px 0;
}

.policy-contact strong {
    color: var(--ind-dark);
}

@media (max-width: 768px) {
    .policy-page {
        margin: 20px auto;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .policy-header {
        padding: 24px 20px;
    }
    .policy-header h1 {
        font-size: 22px;
    }
    .policy-body {
        padding: 24px 20px;
    }
}

/* ==================== 结账页 ==================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

.checkout-card {
    margin-bottom: 24px;
}

.checkout-card:last-child {
    margin-bottom: 0;
}

.checkout-card h3 {
    font-size: 18px;
    color: var(--ind-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ind-border);
}

.checkout-table {
    width: 100%;
    border-collapse: collapse;
}

.checkout-table th {
    background: var(--ind-bg);
    color: var(--ind-text-secondary);
    font-weight: 600;
    font-size: 13px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ind-border);
}

.checkout-table td {
    padding: 16px;
    border-bottom: 1px solid var(--ind-border);
    vertical-align: middle;
}

.checkout-table .col-price,
.checkout-table .col-qty,
.checkout-table .col-subtotal {
    text-align: center;
    white-space: nowrap;
}

.checkout-table .cell-subtotal {
    color: var(--ind-accent);
    font-weight: 700;
}

.checkout-items-total {
    text-align: right;
    padding: 16px 0 0;
    font-size: 14px;
    color: var(--ind-text-secondary);
}

.checkout-items-total strong {
    color: var(--ind-accent);
    font-size: 20px;
    margin-left: 8px;
}

/* 支付方式 */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--ind-bg);
    border: 2px solid var(--ind-border);
    border-radius: var(--ind-radius);
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--ind-primary);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ind-border);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s;
}

.payment-option input[type="radio"]:checked + .payment-radio {
    border-color: var(--ind-primary);
}

.payment-option input[type="radio"]:checked + .payment-radio::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 8px;
    height: 8px;
    background: var(--ind-primary);
    border-radius: 50%;
}

.payment-option input[type="radio"]:checked ~ .payment-info strong {
    color: var(--ind-primary);
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.payment-alipay .payment-icon {
    background: #e6f4ff;
    color: #1677ff;
}

.payment-wechat .payment-icon {
    background: #e6ffed;
    color: #07c160;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-info strong {
    font-size: 15px;
    color: var(--ind-dark);
}

.payment-info span {
    font-size: 13px;
    color: var(--ind-text-secondary);
}

.payment-receiver {
    margin-top: 16px;
    font-size: 13px;
    color: var(--ind-text-secondary);
}

/* 侧边栏合计 */
.checkout-summary h3 {
    margin-bottom: 16px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--ind-border);
    font-size: 14px;
    color: var(--ind-text-secondary);
}

.checkout-summary-row.total {
    border-bottom: none;
    padding-top: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ind-dark);
}

.checkout-total-price {
    color: var(--ind-accent);
    font-size: 24px;
}

.checkout-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 16px;
}

.checkout-agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkout-agree label {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ind-text-secondary);
    cursor: pointer;
}

.checkout-agree a {
    color: var(--ind-primary);
}

.checkout-agree a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-table thead {
        display: none;
    }
    .checkout-table tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid var(--ind-border);
        border-radius: var(--ind-radius);
        padding: 12px;
    }
    .checkout-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed var(--ind-border);
    }
    .checkout-table td:last-child {
        border-bottom: none;
    }
    .checkout-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--ind-text-secondary);
        font-size: 13px;
    }
    .checkout-table .col-product,
    .checkout-table .col-price,
    .checkout-table .col-qty,
    .checkout-table .col-subtotal {
        text-align: right;
    }
    .checkout-items-total {
        text-align: left;
    }
    .payment-option {
        padding: 12px 14px;
    }
    .payment-info span {
        display: none;
    }
}
