/* =====================================
   康创商贸 - 百货综合商城主题样式
   主色：#ff6537 橙红
   辅色：#ff855c 浅橙 / #fff5f1 米白 / #333 深色
   关键位置使用内联精致 SVG，其余图标使用 emoji / Unicode
   ===================================== */

:root {
    --kc-primary: #ff6537;
    --kc-primary-dark: #e5522a;
    --kc-primary-light: #ff855c;
    --kc-bg: #fff8f6;
    --kc-bg-gray: #f7f7f7;
    --kc-text: #333333;
    --kc-text-gray: #666666;
    --kc-text-light: #999999;
    --kc-border: #eeeeee;
    --kc-white: #ffffff;
    --kc-shadow: 0 4px 16px rgba(0,0,0,0.08);
    --kc-radius: 12px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: var(--kc-text);
    background: var(--kc-bg);
    line-height: 1.5;
}

a { color: var(--kc-text); text-decoration: none; }
a:hover { color: var(--kc-primary); }

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

/* ========== 顶部欢迎条 ========== */
.top-welcome {
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
    font-size: 12px;
    color: var(--kc-text-gray);
}
.top-welcome .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}
.top-welcome a {
    color: var(--kc-text-gray);
    margin: 0 8px;
}
.top-welcome a:hover { color: var(--kc-primary); }

/* ========== Header ========== */
.site-header {
    background: var(--kc-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-logo img { height: 48px; width: auto; }

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}
.header-search form {
    display: flex;
    border: 2px solid var(--kc-primary);
    border-radius: 24px;
    overflow: hidden;
    background: var(--kc-white);
}
.header-search input {
    flex: 1;
    border: none;
    padding: 10px 18px;
    outline: none;
    font-size: 14px;
}
.header-search button {
    background: var(--kc-primary);
    color: var(--kc-white);
    border: none;
    padding: 0 24px;
    cursor: pointer;
    font-size: 16px;
}
.header-search button:hover { background: var(--kc-primary-dark); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-actions a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}
.icon-inline {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
}
.icon-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.4;
}
.top-welcome .icon-inline { width: 13px; height: 13px; }
.cart-btn {
    position: relative;
    background: #fff5f1;
    padding: 8px 14px;
    border-radius: 20px;
    color: var(--kc-primary) !important;
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--kc-primary);
    color: var(--kc-white);
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
}

/* ========== 导航 + 分类菜单栏 ========== */
.nav-bar {
    background: var(--kc-white);
    border-bottom: 2px solid var(--kc-primary);
}
.nav-bar .container {
    display: flex;
    align-items: center;
    height: 46px;
}
.category-menu-toggle {
    width: 220px;
    background: var(--kc-primary);
    color: var(--kc-white);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20px;
}
.main-nav a {
    display: block;
    padding: 0 26px;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
    font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--kc-primary);
}

/* 左侧分类菜单 */
.category-sidebar {
    width: 220px;
    background: var(--kc-white);
    border: 1px solid var(--kc-border);
    border-top: none;
    position: absolute;
    top: 46px;
    left: 0;
    z-index: 90;
    box-shadow: var(--kc-shadow);
    display: none;
}
.category-menu-toggle:hover .category-sidebar,
.category-menu-toggle.open .category-sidebar,
.category-sidebar:hover { display: block; }
.cat-menu-list { list-style: none; margin: 0; padding: 0; }
.cat-menu-list li {
    border-bottom: 1px solid #f0f0f0;
}
.cat-menu-list li:last-child { border-bottom: none; }
.cat-menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--kc-text);
    font-size: 14px;
}
.cat-menu-list a:hover {
    background: #fff5f1;
    color: var(--kc-primary);
}
.cat-menu-list .arrow { color: var(--kc-text-light); }

/* ========== Hero Banner ========== */
.hero-section {
    position: relative;
    height: 420px;
    overflow: hidden;
}
.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255,101,55,0.85) 0%, rgba(255,101,55,0.4) 60%, transparent 100%);
}
.hero-content {
    color: var(--kc-white);
    max-width: 600px;
}
.hero-content h1 {
    font-size: 48px;
    margin: 0 0 16px 0;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-content p {
    font-size: 20px;
    margin: 0 0 28px 0;
    opacity: 0.95;
}
.btn-primary {
    display: inline-block;
    background: var(--kc-white);
    color: var(--kc-primary);
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
}
.btn-primary:hover {
    background: #fff;
    color: var(--kc-primary-dark);
    transform: translateY(-2px);
}
.btn-secondary {
    display: inline-block;
    background: var(--kc-white);
    color: var(--kc-text);
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    border: 1px solid var(--kc-border);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.btn-secondary:hover { background: var(--kc-bg); }
.btn-lg { padding: 16px 40px; font-size: 16px; }

/* ========== 4 步流程条 ========== */
.process-bar {
    background: var(--kc-white);
    padding: 30px 0;
    margin: 20px 0;
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
}
.process-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.process-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
}
.process-icon {
    width: 56px;
    height: 56px;
    background: #fff5f1;
    color: var(--kc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.process-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}
.process-text p {
    margin: 0;
    font-size: 12px;
    color: var(--kc-text-light);
}
.process-arrow {
    color: var(--kc-border);
    font-size: 20px;
}

/* 精致卖点卡片 */
.feature-bar {
    background: var(--kc-white);
    padding: 40px 0;
    margin: 30px 0;
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
}
.feature-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    flex: 1;
}
.feature-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--kc-primary) 0%, var(--kc-primary-light) 100%);
    color: var(--kc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(255, 101, 55, 0.22);
}
.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--kc-white);
}
.feature-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: var(--kc-text);
}
.feature-text p {
    margin: 0;
    font-size: 13px;
    color: var(--kc-text-light);
}

/* ========== 通用区块标题 ========== */
.section {
    margin: 30px 0;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 24px;
    background: var(--kc-primary);
    border-radius: 3px;
}
.section-more {
    color: var(--kc-text-light);
    font-size: 13px;
}
.section-more:hover { color: var(--kc-primary); }

/* ========== Tab 商品区 ========== */
.tab-goods {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 24px;
    box-shadow: var(--kc-shadow);
}
.tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--kc-border);
    margin-bottom: 20px;
}
.tab-nav a {
    padding: 12px 22px;
    font-size: 15px;
    color: var(--kc-text-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.tab-nav a:hover, .tab-nav a.active {
    color: var(--kc-primary);
    border-bottom-color: var(--kc-primary);
    font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ========== 商品卡片 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.product-card {
    background: var(--kc-white);
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kc-shadow);
}
.product-card .img-wrap {
    position: relative;
    padding-top: 100%;
    background: #fafafa;
    overflow: hidden;
}
.product-card .img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card .info {
    padding: 14px;
}
.product-card .name {
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin: 0 0 10px 0;
    color: var(--kc-text);
}
.product-card .price {
    color: var(--kc-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.product-card .price small {
    font-size: 12px;
    color: var(--kc-text-light);
    font-weight: normal;
    margin-left: 6px;
}

/* ========== Banner 小图区 ========== */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0;
}
.banner-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--kc-radius);
}

/* ========== Footer ========== */
.site-footer {
    background: #2a2a2a;
    color: #aaa;
    padding: 40px 0 0 0;
    margin-top: 50px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}
.footer-col h4 {
    color: var(--kc-white);
    font-size: 15px;
    margin: 0 0 16px 0;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #aaa;
    font-size: 13px;
}
.footer-col a:hover { color: var(--kc-primary); }
.footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 12px;
    color: #777;
}

/* ========== 分类页 ========== */
.page-banner {
    background: linear-gradient(90deg, var(--kc-primary) 0%, var(--kc-primary-light) 100%);
    color: var(--kc-white);
    padding: 40px 0;
}
.page-banner h1 {
    margin: 0;
    font-size: 32px;
}
.page-banner p { margin: 8px 0 0 0; opacity: 0.9; }
.page-banner.category-banner {
    position: relative;
    background: url('../uploads/banners/banner4.jpg') center/cover no-repeat;
    color: var(--kc-white);
}
.page-banner.category-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.page-banner.category-banner .container {
    position: relative;
    z-index: 1;
}

.category-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    margin: 30px 0;
}
.category-sidebar-box {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 18px;
    box-shadow: var(--kc-shadow);
    height: fit-content;
}
.category-sidebar-box h3 {
    margin: 0 0 14px 0;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--kc-border);
}
.category-tree { list-style: none; margin: 0; padding: 0; }
.category-tree li { margin-bottom: 8px; }
.category-tree a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--kc-text-gray);
}
.category-tree a:hover, .category-tree a.active {
    background: #fff5f1;
    color: var(--kc-primary);
}

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--kc-white);
    padding: 12px 18px;
    border-radius: var(--kc-radius);
    margin-bottom: 18px;
    box-shadow: var(--kc-shadow);
}
.sort-options a {
    margin-right: 16px;
    color: var(--kc-text-gray);
    font-size: 13px;
}
.sort-options a.active { color: var(--kc-primary); font-weight: 600; }

/* ========== 商品详情页 ========== */
.product-detail {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 36px;
    background: var(--kc-white);
    padding: 28px;
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
    margin: 24px 0;
}
.product-gallery {
    border-radius: var(--kc-radius);
    overflow: hidden;
    background: #fafafa;
}
.product-gallery img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.product-info h1 {
    font-size: 22px;
    margin: 0 0 14px 0;
    line-height: 1.4;
}
.price-box {
    background: #fff5f1;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.price-box .price {
    color: var(--kc-primary);
    font-size: 32px;
    font-weight: 700;
}
.price-box .original {
    color: var(--kc-text-light);
    text-decoration: line-through;
    margin-left: 12px;
    font-size: 14px;
}
.product-meta {
    margin-bottom: 20px;
}
.product-meta p {
    margin: 8px 0;
    color: var(--kc-text-gray);
}
.quantity-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
}
.quantity-row button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--kc-border);
    background: var(--kc-bg-gray);
    font-size: 16px;
    cursor: pointer;
}
.quantity-row button:first-child { border-radius: 6px 0 0 6px; }
.quantity-row button:last-child { border-radius: 0 6px 6px 0; }
.quantity-row input {
    width: 60px;
    height: 34px;
    text-align: center;
    padding: 0;
    border: 1px solid var(--kc-border);
    border-left: none;
    border-right: none;
}
.btn-buy {
    display: inline-block;
    background: var(--kc-primary);
    color: var(--kc-white);
    padding: 14px 48px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn-buy:hover { background: var(--kc-primary-dark); }
.btn-cart {
    display: inline-block;
    background: var(--kc-white);
    color: var(--kc-primary);
    border: 1px solid var(--kc-primary);
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    margin-left: 12px;
    cursor: pointer;
}
.btn-cart:hover { background: #fff5f1; }
.btn-secondary {
    display: inline-block;
    background: var(--kc-bg-gray);
    color: var(--kc-text);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid var(--kc-border);
    cursor: pointer;
}
.btn-secondary:hover { background: var(--kc-border); }

/* ========== 购物车 / 结算 ========== */
.page-title {
    text-align: center;
    font-size: 26px;
    margin: 24px 0 16px 0;
    font-weight: 700;
}
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 24px 0 30px 0;
}
.step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--kc-text-light);
    font-size: 14px;
}
.step-circle {
    width: 34px;
    height: 34px;
    border: 2px solid var(--kc-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.step.active { color: var(--kc-primary); font-weight: 600; }
.step.active .step-circle { border-color: var(--kc-primary); background: var(--kc-primary); color: var(--kc-white); }
.step.completed { color: var(--kc-primary); }
.step.completed .step-circle { border-color: var(--kc-primary); background: var(--kc-primary); color: var(--kc-white); }
.step-line {
    width: 60px;
    height: 2px;
    background: var(--kc-border);
    margin: 0 12px;
}
.step-line.active { background: var(--kc-primary); }

.checkout-card {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--kc-shadow);
}
.checkout-card h3 {
    margin: 0 0 18px 0;
    font-size: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--kc-border);
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th, .cart-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--kc-border);
}
.cart-table th { color: var(--kc-text-gray); font-weight: 600; }
.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    vertical-align: middle;
}
.cart-total {
    text-align: right;
    padding: 18px 0 0 0;
    font-size: 18px;
}
.cart-total strong {
    color: var(--kc-primary);
    font-size: 24px;
}

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--kc-text-gray);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--kc-border);
    border-radius: 8px;
    font-size: 14px;
}
.pay-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.pay-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid var(--kc-border);
    border-radius: 10px;
    cursor: pointer;
    min-width: 220px;
    transition: border-color 0.2s;
}
.pay-option:hover { border-color: var(--kc-primary-light); }
.pay-option.selected { border-color: var(--kc-primary); background: #fff5f1; }
.pay-option input { display: none; }
.pay-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--kc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

/* ========== 协议 / FAQ 页面 ========== */
.policy-intro {
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding: 20px 24px;
    background: linear-gradient(90deg, rgba(255,101,55,0.08) 0%, rgba(255,133,92,0.04) 100%);
    border-left: 4px solid var(--kc-primary);
    border-radius: 0 var(--kc-radius) var(--kc-radius) 0;
    color: var(--kc-text-gray);
    line-height: 1.8;
}
.policy-wrap {
    max-width: 900px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.policy-section {
    position: relative;
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 28px 28px 28px 80px;
    box-shadow: var(--kc-shadow);
}
.policy-num {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kc-primary) 0%, var(--kc-primary-light) 100%);
    color: var(--kc-white);
    font-weight: 700;
    font-size: 14px;
}
.policy-section h3 {
    margin: 0 0 10px 0;
    font-size: 17px;
    color: var(--kc-text);
}
.policy-section p {
    margin: 0;
    line-height: 1.8;
    color: var(--kc-text-gray);
}

/* FAQ */
.faq-wrap { gap: 16px; }
.faq-item {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 24px 28px;
    box-shadow: var(--kc-shadow);
}
.faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.faq-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--kc-bg);
    color: var(--kc-primary);
    font-weight: 700;
    font-size: 13px;
}
.faq-q h4 {
    margin: 0;
    font-size: 16px;
    color: var(--kc-text);
}
.faq-a {
    padding-left: 48px;
    color: var(--kc-text-gray);
    line-height: 1.8;
}
.faq-a p { margin: 0; }

/* ========== 购物车 ========== */
.cart-page { margin-bottom: 60px; }
.cart-empty {
    text-align: center;
    padding: 70px 20px;
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
}
.cart-empty-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: var(--kc-bg);
    color: var(--kc-primary);
}
.cart-empty h3 { margin: 0 0 8px 0; font-size: 18px; }
.cart-empty p { margin: 0 0 20px 0; color: var(--kc-text-gray); }

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 36px 0;
}
.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--kc-text-light);
    font-size: 14px;
}
.checkout-step.active { color: var(--kc-primary); font-weight: 600; }
.checkout-step .step-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--kc-bg);
    font-size: 13px;
}
.checkout-step.active .step-num {
    background: var(--kc-primary);
    color: var(--kc-white);
}
.checkout-steps .step-line {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: var(--kc-border);
}

.cart-list {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
    overflow: hidden;
    margin-bottom: 20px;
}
.cart-list-header,
.cart-list-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 60px;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}
.cart-list-header {
    background: var(--kc-bg);
    font-weight: 600;
    font-size: 13px;
    color: var(--kc-text-gray);
}
.cart-list-item {
    border-top: 1px solid var(--kc-border);
}
.cart-list-item .item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-list-item .item-info img,
.cart-list-item .cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--kc-bg);
}
.cart-list-item .item-name {
    font-weight: 500;
    line-height: 1.4;
}
.cart-list-item .item-price,
.cart-list-item .item-subtotal {
    color: var(--kc-primary);
    font-weight: 700;
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--kc-border);
    border-radius: 20px;
    overflow: hidden;
}
.qty-stepper button {
    width: 30px;
    height: 32px;
    border: none;
    background: var(--kc-white);
    color: var(--kc-text);
    font-size: 16px;
    cursor: pointer;
}
.qty-stepper button:hover { background: var(--kc-bg); }
.qty-stepper input {
    width: 44px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}
.item-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--kc-text-light);
    text-decoration: none;
    font-size: 16px;
}
.item-remove:hover { background: #fff0f0; color: #e53935; }
.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
    padding: 20px;
    flex-wrap: wrap;
}
.cart-total .label { color: var(--kc-text-gray); }
.cart-total .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--kc-primary);
}

/* ========== 内页通用 ========== */
.page-content {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 36px;
    margin: 24px 0;
    box-shadow: var(--kc-shadow);
    min-height: 400px;
}
.page-content h1 {
    margin: 0 0 20px 0;
    font-size: 26px;
}
.page-content h2 {
    font-size: 20px;
    margin: 28px 0 14px 0;
    color: var(--kc-primary);
}
.page-content p {
    line-height: 1.8;
    color: var(--kc-text-gray);
    margin: 10px 0;
}
.page-content ul {
    line-height: 1.9;
    color: var(--kc-text-gray);
}
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.info-table td {
    padding: 12px 16px;
    border: 1px solid var(--kc-border);
}
.info-table td:first-child {
    background: var(--kc-bg-gray);
    width: 160px;
    font-weight: 600;
}

/* ========== 关于我们 / 联系内页 ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 30px 0;
    background: var(--kc-white);
    padding: 36px;
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
}
.about-intro-text h2 { margin: 0 0 16px 0; font-size: 28px; }
.about-intro-text p { color: var(--kc-text-gray); line-height: 1.8; margin-bottom: 24px; }
.about-intro-image img { border-radius: var(--kc-radius); width: 100%; height: 320px; object-fit: cover; }
.about-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.advantage-item {
    background: var(--kc-bg);
    padding: 24px;
    border-radius: var(--kc-radius);
    text-align: center;
}
.advantage-item {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 28px 20px;
    box-shadow: var(--kc-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kc-primary), var(--kc-primary-light));
}
.advantage-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kc-primary) 0%, var(--kc-primary-light) 100%);
    color: var(--kc-white);
    margin: 0 auto 12px;
    box-shadow: 0 6px 14px rgba(255, 101, 55, 0.2);
}
.advantage-icon svg {
    width: 24px;
    height: 24px;
}
.advantage-num {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--kc-border);
    letter-spacing: 1px;
}
.advantage-item h4 { margin: 0 0 10px 0; }
.advantage-item p { font-size: 13px; color: var(--kc-text-gray); margin: 0; line-height: 1.6; }

/* 星级评分 */
.star-bar {
    display: inline-flex;
    gap: 3px;
    color: #ffb800;
    font-size: 16px;
}
.star-bar::before {
    content: '★★★★★';
    letter-spacing: 2px;
}
.star-bar[data-rating="1"]::before { content: '★☆☆☆☆'; }
.star-bar[data-rating="2"]::before { content: '★★☆☆☆'; }
.star-bar[data-rating="3"]::before { content: '★★★☆☆'; }
.star-bar[data-rating="4"]::before { content: '★★★★☆'; }
.star-bar[data-rating="5"]::before { content: '★★★★★'; }

/* ========== 登录 / 注册 ========== */
.auth-box {
    max-width: 420px;
    margin: 40px auto;
    background: var(--kc-white);
    padding: 36px;
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow);
}
.auth-box h2 { text-align: center; margin: 0 0 24px 0; }
.auth-box .btn-primary { width: 100%; text-align: center; margin-top: 10px; }
.auth-box p { text-align: center; margin-top: 16px; font-size: 13px; color: var(--kc-text-gray); }

/* ========== 会员中心 ========== */
.member-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    margin: 24px 0 40px 0;
}
.member-sidebar {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 24px;
    box-shadow: var(--kc-shadow);
    height: fit-content;
}
.member-sidebar .profile { text-align: center; margin-bottom: 20px; }
.member-sidebar .avatar {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kc-primary) 0%, var(--kc-primary-light) 100%);
    color: var(--kc-white);
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: 0 6px 14px rgba(255, 101, 55, 0.2);
}
.member-sidebar .username { font-weight: 600; font-size: 16px; }
.member-sidebar .email { font-size: 12px; color: var(--kc-text-light); margin-top: 4px; }
.member-menu { display: flex; flex-direction: column; gap: 6px; }
.member-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--kc-text-gray);
}
.member-menu a:hover, .member-menu a.active { background: #fff5f1; color: var(--kc-primary); }
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 20px;
    box-shadow: var(--kc-shadow);
    text-align: center;
}
.stat-card .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--kc-primary) 0%, var(--kc-primary-light) 100%);
    color: var(--kc-white);
}
.stat-card .icon svg { width: 24px; height: 24px; }
.stat-card .value { font-size: 24px; font-weight: 700; color: var(--kc-primary); }
.stat-card .label { font-size: 13px; color: var(--kc-text-gray); }
.member-card {
    background: var(--kc-white);
    border-radius: var(--kc-radius);
    padding: 24px;
    box-shadow: var(--kc-shadow);
    margin-bottom: 20px;
}
.member-card h3 { margin: 0 0 20px 0; font-size: 17px; }
.member-card .btn {
    display: inline-block;
    background: var(--kc-primary);
    color: var(--kc-white);
    padding: 10px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

/* 标签页（合作商中心/通用） */
.member-tabs {
    display: flex;
    border-bottom: 1px solid var(--kc-border);
    background: var(--kc-bg-gray);
    flex-wrap: wrap;
}
.member-tab {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--kc-text-gray);
    border-right: 1px solid var(--kc-border);
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
}
.member-tab:hover { color: var(--kc-primary); }
.member-tab.active {
    background: var(--kc-white);
    color: var(--kc-primary);
    font-weight: 700;
    border-bottom-color: var(--kc-primary);
}
.member-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* 通用表格 */
.table-wrap { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.data-table th, .data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--kc-border);
}
.data-table th {
    background: var(--kc-bg-gray);
    color: var(--kc-text-gray);
    font-weight: 600;
    font-size: 13px;
}
.empty-td {
    text-align: center;
    color: var(--kc-text-light);
    padding: 24px;
}

/* 小型按钮/徽章/消息提示 */
.btn-sm {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px;
    border: 1px solid var(--kc-border);
    background: var(--kc-bg-gray);
    color: var(--kc-text);
    cursor: pointer;
}
.btn-sm:hover { background: var(--kc-border); }
.btn-sm.btn-primary { background: var(--kc-primary); color: var(--kc-white); border-color: var(--kc-primary); }
.btn-sm.btn-secondary { background: var(--kc-white); color: var(--kc-text); }
.btn-sm.btn-outline { background: var(--kc-white); color: var(--kc-primary); border-color: var(--kc-primary); }
.btn-sm.btn-outline:hover { background: #fff5f1; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.badge-blue { background: #e6f4ff; color: #1677ff; }
.badge-green { background: #f0fff4; color: #07c160; }
.badge-red { background: #fff1f0; color: #ff4d4f; }
.badge-gray { background: #f5f5f5; color: #666; }
.badge-purple { background: #f5f0ff; color: #722ed1; }

.msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.msg-error { background: #fff1f0; color: #ff4d4f; }
.msg-success { background: #f0fff4; color: #07c160; }
.msg-warning { background: #fffbe6; color: #faad14; }

.search-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.search-bar input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid var(--kc-border);
    border-radius: 8px;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkbox-group input[type="checkbox"] { width: auto; margin: 0; }
.checkbox-group label { margin: 0; font-weight: normal; }

.captcha-row {
    display: flex;
    gap: 10px;
}
.captcha-row img {
    height: 42px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid var(--kc-border);
}

/* 分页 */
.pagination {
    text-align: center;
    margin-top: 18px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 7px 13px;
    margin: 0 4px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid var(--kc-border);
}
.pagination a {
    color: var(--kc-text-gray);
    background: var(--kc-white);
}
.pagination a:hover { color: var(--kc-primary); border-color: var(--kc-primary); }
.pagination span.current {
    background: var(--kc-primary);
    color: var(--kc-white);
    border-color: var(--kc-primary);
}

/* ========== 手机端组件 ========== */
.mobile-only { display: none !important; }
.mobile-bottom-bar,
.mobile-side-menu,
.mobile-overlay { display: none; }



/* ========== 响应式 H5 ========== */
@media (max-width: 768px) {
    .container { width: 100%; padding: 0 12px; }
    .top-welcome .container { display: none; }
    .site-header { position: relative; }
    .site-header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 12px;
    }
    .header-logo img { height: 36px; }
    .header-search {
        order: 3;
        width: 100%;
        margin: 10px 0 0 0;
        max-width: none;
    }
    .header-actions { gap: 8px; }
    .header-actions a.desktop { display: none !important; }
    .mobile-only { display: inline-flex !important; }
    .mobile-menu-btn {
        width: 36px; height: 36px;
        align-items: center; justify-content: center;
        border-radius: 50%;
        background: var(--kc-bg);
        color: var(--kc-text);
    }
    .mobile-menu-btn svg { width: 20px; height: 20px; }

    .nav-bar {
        display: flex;
        overflow-x: auto;
        background: #fff;
        border-top: 1px solid var(--kc-border);
        border-bottom: 1px solid var(--kc-border);
    }
    .nav-bar .container {
        flex-wrap: nowrap;
        min-width: max-content;
        gap: 8px;
    }
    .category-menu-toggle {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 12px;
    }
    .category-sidebar {
        position: fixed;
        left: 0; top: 0; bottom: 0;
        width: 260px;
        background: #fff;
        z-index: 1002;
        display: none;
        transform: translateX(-100%);
        transition: transform .25s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    .category-menu-toggle.open .category-sidebar {
        display: block;
        transform: translateX(0);
    }
    .main-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
    }
    .main-nav a { white-space: nowrap; padding: 10px 0; }

    .hero-section { height: 280px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 14px; }
    .process-list { flex-wrap: wrap; gap: 16px; }
    .process-arrow { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .banner-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .category-layout { grid-template-columns: 1fr; }
    .category-sidebar-box { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .product-gallery img { height: 300px; }
    .steps { gap: 8px; font-size: 12px; }
    .step-circle { width: 28px; height: 28px; font-size: 12px; }
    .step-line { width: 24px; margin: 0 6px; }
    .page-title { font-size: 20px; }
    .cart-table th, .cart-table td { padding: 10px 8px; font-size: 12px; }
    .cart-table td img { width: 48px; height: 48px; }
    .pay-option { min-width: 100%; }
    .quantity-row input { width: 50px; }
    .btn-buy, .btn-cart { display: block; width: 100%; margin: 8px 0; text-align: center; }
    .page-content { padding: 20px; }
    .about-intro { grid-template-columns: 1fr; padding: 20px; }
    .about-intro-image img { height: 200px; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .auth-box { padding: 24px; margin: 20px auto; }
    .member-layout { grid-template-columns: 1fr; }
    .member-sidebar { padding: 16px; }
    .dashboard-stats { grid-template-columns: repeat(3, 1fr); }
    .stat-card { padding: 14px; }
    .stat-card .value { font-size: 18px; }

    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 56px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
    }
    .mobile-bottom-bar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 11px;
        color: var(--kc-text-gray);
        position: relative;
    }
    .mobile-bottom-bar a.active,
    .mobile-bottom-bar a:hover { color: var(--kc-primary); }
    .mobile-bottom-bar svg { width: 22px; height: 22px; }
    .mobile-bottom-bar .cart-count {
        position: absolute;
        top: 2px; right: calc(50% - 18px);
        background: var(--kc-primary);
        color: #fff;
        font-size: 10px;
        min-width: 16px; height: 16px;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        padding: 0 4px;
    }
    body { padding-bottom: 56px; }

    .mobile-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1001;
    }
    .mobile-overlay.open { display: block; }

    .mobile-side-menu {
        display: block;
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: 260px;
        background: #fff;
        z-index: 1002;
        padding: 16px;
        transform: translateX(100%);
        transition: transform .25s ease;
    }
    .mobile-side-menu.open { transform: translateX(0); }
    .side-menu-header {
        display: flex; justify-content: space-between; align-items: center;
        padding-bottom: 12px; border-bottom: 1px solid var(--kc-border);
        margin-bottom: 12px;
    }
    .side-menu-header strong { font-size: 16px; }
    .side-menu-header .close {
        background: none; border: none; font-size: 24px; color: var(--kc-text-gray); cursor: pointer;
    }
    .side-menu-body a {
        display: block; padding: 12px 0; border-bottom: 1px solid var(--kc-border); font-size: 14px;
    }
}



/* ========== 手机端最小修复 ========== */
@media (max-width: 768px) {
    /* 固定底部栏：确保在最底部显示 */
    .mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 52px !important;
        background: #fff !important;
        border-top: 1px solid #eee !important;
        z-index: 99999 !important;
        justify-content: space-around !important;
        align-items: center !important;
    }
    .mobile-bottom-bar a {
        flex: 1;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11px !important;
        color: #666 !important;
        text-decoration: none !important;
    }
    .mobile-bottom-bar a.active { color: #ff6537 !important; }
    .mobile-bottom-bar svg { width: 20px !important; height: 20px !important; }
    body { padding-bottom: 52px !important; }

    /* 右上角三点：绝对定位确保显示 */
    .mobile-menu-btn {
        display: flex !important;
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        background: #fff !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 99999 !important;
    }
    .mobile-menu-btn svg { width: 18px !important; height: 18px !important; }
}

/* ========== 手机端优势区块修复 ========== */
@media (max-width: 768px) {
    .feature-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        justify-items: center !important;
    }
    .feature-item {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 16px 8px !important;
        text-align: center !important;
        flex: none !important;
        width: 100% !important;
    }
    .feature-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
    }
    .feature-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .feature-text h4 {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
    .feature-text p {
        font-size: 11px !important;
    }
}

/* ========== 手机端头部强制修复 ========== */
@media (max-width: 768px) {
    .site-header .container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: auto !important;
        padding: 8px 12px !important;
        gap: 8px !important;
    }
    .header-logo {
        order: 1 !important;
        flex: 0 0 auto !important;
    }
    .header-logo img {
        height: 32px !important;
        width: auto !important;
    }
    .header-actions {
        order: 2 !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }
    .header-search {
        order: 3 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        flex: 1 1 100% !important;
    }
    .header-search form {
        height: 38px !important;
    }
    .header-search input {
        padding: 0 12px !important;
        font-size: 13px !important;
    }
    .header-search button {
        padding: 0 16px !important;
    }
    .cart-btn {
        font-size: 0 !important;
        padding: 6px !important;
    }
    .cart-btn svg {
        width: 22px !important;
        height: 22px !important;
    }
    .mobile-menu-btn {
        position: static !important;
        width: 32px !important;
        height: 32px !important;
        box-shadow: none !important;
        background: transparent !important;
    }
}

/* ========== 修复手机端头部横向滚动条 ========== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .site-header {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .site-header .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .header-search,
    .header-search form,
    .header-search input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .header-actions {
        max-width: 80px !important;
    }
    .mobile-menu-btn {
        position: static !important;
    }
}

/* ========== 手机端导航条紧凑化 ========== */
@media (max-width: 768px) {
    .nav-bar {
        border-top: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    .nav-bar .container {
        padding: 0 12px !important;
        gap: 0 !important;
    }
    .main-nav {
        gap: 20px !important;
    }
    .main-nav a {
        font-size: 13px !important;
        padding: 10px 0 !important;
        color: #666 !important;
        white-space: nowrap !important;
    }
    .main-nav a:hover,
    .main-nav a.active {
        color: #ff6537 !important;
    }
}

/* ========== 手机端隐藏顶部导航条 ========== */
@media (max-width: 768px) {
    .nav-bar { display: none !important; }
}

/* ========== 手机端固定顶部头部 ========== */
@media (max-width: 768px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
    }
    body {
        padding-top: 96px !important;
    }
}

/* ========== 手机端侧滑菜单置顶 ========== */
@media (max-width: 768px) {
    .mobile-overlay { z-index: 100000 !important; }
    .mobile-side-menu { z-index: 100001 !important; }
}
