/* ============================================
   三晶数据 - 会员中心样式
   响应式，支持移动端
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f5f7fa;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部导航 ========== */
.member-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
}
.member-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.member-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #1677ff;
}
.member-logo img { height: 32px; }
.member-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.member-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}
.member-user-info .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1677ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.member-logout {
    color: #999;
    font-size: 13px;
    cursor: pointer;
}
.member-logout:hover { color: #f5222d; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* ========== 主体布局 ========== */
.member-wrap {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ========== 左侧菜单 ========== */
.member-sidebar {
    width: 200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.member-sidebar .user-card {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.member-sidebar .user-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1677ff, #0958d9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
}
.member-sidebar .user-card .name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}
.member-sidebar .user-card .balance {
    font-size: 13px;
    color: #fa8c16;
    margin-top: 4px;
}
.member-menu { list-style: none; }
.member-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #555;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.member-menu li a:hover {
    background: #f5f7fa;
    color: #1677ff;
}
.member-menu li a.active {
    background: #e6f4ff;
    color: #1677ff;
    border-left-color: #1677ff;
    font-weight: 500;
}
.member-menu li a .icon { font-size: 16px; width: 20px; text-align: center; }

/* ========== 右侧内容 ========== */
.member-content {
    flex: 1;
    min-width: 0;
}
.member-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}
.member-card h3 {
    font-size: 16px;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* ========== 欢迎横幅 ========== */
.welcome-banner {
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.welcome-banner h2 { font-size: 20px; margin-bottom: 6px; }
.welcome-banner p { opacity: 0.85; font-size: 14px; }
.welcome-banner .balance-box {
    text-align: right;
}
.welcome-banner .balance-box .label { font-size: 13px; opacity: 0.8; }
.welcome-banner .balance-box .amount { font-size: 28px; font-weight: bold; }
.welcome-banner .recharge-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 20px;
    background: #fff;
    color: #1677ff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}
.welcome-banner .recharge-btn:hover { opacity: 0.9; }

/* ========== 统计卡片 ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.stat-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}
.stat-card .icon.blue { background: #e6f4ff; color: #1677ff; }
.stat-card .icon.orange { background: #fff7e6; color: #fa8c16; }
.stat-card .icon.green { background: #f6ffed; color: #52c41a; }
.stat-card .icon.red { background: #fff1f0; color: #f5222d; }
.stat-card .number { font-size: 24px; font-weight: bold; color: #222; }
.stat-card .label { font-size: 13px; color: #999; margin-top: 4px; }

/* ========== 快捷入口 ========== */
.quick-entry {
    display: grid;
    gap: 12px;
}
.quick-entry-products {
    grid-template-columns: repeat(5, 1fr);
}
.quick-entry-tools {
    grid-template-columns: repeat(5, 1fr);
}
.quick-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.2s;
    text-align: center;
}
.quick-entry a:hover {
    background: #e6f4ff;
    transform: translateY(-2px);
}
.quick-entry a .icon { font-size: 24px; margin-bottom: 6px; }
.quick-entry a .text { font-size: 13px; color: #555; }

/* ========== Tab切换 ========== */
.tab-nav {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}
.tab-nav a {
    padding: 10px 20px;
    color: #666;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.tab-nav a:hover { color: #1677ff; }
.tab-nav a.active {
    color: #1677ff;
    border-bottom-color: #1677ff;
    font-weight: 500;
}

/* ========== 产品卡片 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.product-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s;
}
.product-item:hover {
    border-color: #1677ff;
    box-shadow: 0 2px 8px rgba(22,119,255,0.1);
}
.product-item .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.product-item .name { font-size: 15px; font-weight: 600; color: #222; }
.product-item .status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.product-item .status.active { background: #f6ffed; color: #52c41a; }
.product-item .status.expired { background: #fff1f0; color: #f5222d; }
.product-item .status.soon { background: #fff7e6; color: #fa8c16; }
.product-item .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}
.product-item .info span { color: #333; }
.product-item .actions {
    display: flex;
    gap: 8px;
}
.product-item .actions a, .product-item .actions button {
    flex: 1;
    padding: 6px;
    text-align: center;
    border: 1px solid #1677ff;
    color: #1677ff;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}
.product-item .actions a:hover, .product-item .actions button:hover {
    background: #1677ff;
    color: #fff;
}
.product-item .actions .primary {
    background: #1677ff;
    color: #fff;
}
.product-item .actions .primary:hover {
    background: #0958d9;
}

/* ========== 表格 ========== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    background: #fafafa;
    padding: 12px;
    text-align: left;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}
.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #333;
}
.data-table tr:hover { background: #fafafa; }
.data-table .order-no { color: #1677ff; font-family: monospace; }
.data-table .amount { color: #f5222d; font-weight: 600; }
.status-tag {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.status-tag.pending { background: #fff7e6; color: #fa8c16; }
.status-tag.paid { background: #f6ffed; color: #52c41a; }
.status-tag.cancelled { background: #f5f5f5; color: #999; }

/* ========== 筛选 ========== */
.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.filter-bar select, .filter-bar input {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
}
.filter-bar button {
    padding: 6px 16px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* ========== 充值页面 ========== */
.recharge-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.recharge-balance {
    background: linear-gradient(135deg, #1677ff, #0958d9);
    border-radius: 8px;
    padding: 30px;
    color: #fff;
    text-align: center;
}
.recharge-balance .label { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }
.recharge-balance .amount { font-size: 40px; font-weight: bold; }
.recharge-balance .tip { font-size: 12px; opacity: 0.7; margin-top: 12px; }
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.amount-option {
    padding: 14px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.amount-option:hover { border-color: #1677ff; }
.amount-option.selected {
    border-color: #1677ff;
    background: #e6f4ff;
    color: #1677ff;
}
.amount-option .price { font-size: 18px; font-weight: bold; }
.amount-option .gift { font-size: 11px; color: #fa8c16; margin-top: 2px; }
.custom-amount {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}
.pay-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.pay-method {
    flex: 1;
    padding: 12px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.pay-method:hover { border-color: #1677ff; }
.pay-method.selected { border-color: #1677ff; background: #e6f4ff; }
.pay-method .icon { font-size: 20px; }
.btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s;
}
.btn-primary:hover { background: #0958d9; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-state .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}
.pagination a, .pagination span {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}
.pagination a:hover { border-color: #1677ff; color: #1677ff; }
.pagination .current { background: #1677ff; color: #fff; border-color: #1677ff; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-entry-products { grid-template-columns: repeat(3, 1fr); }
    .quick-entry-tools { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .recharge-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .member-sidebar {
        position: fixed;
        left: -220px;
        top: 60px;
        bottom: 0;
        z-index: 99;
        transition: left 0.3s;
        border-radius: 0;
    }
    .member-sidebar.open { left: 0; }
    .member-wrap { padding: 0 12px; margin-top: 12px; }
    .member-card { padding: 16px; }
    .welcome-banner { flex-direction: column; text-align: center; gap: 12px; }
    .welcome-banner .balance-box { text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px; }
    .quick-entry-products { grid-template-columns: repeat(2, 1fr); }
    .quick-entry-tools { grid-template-columns: repeat(2, 1fr); }
    .quick-entry a { padding: 12px 4px; }
    .quick-entry a .icon { font-size: 20px; }
    .quick-entry a .text { font-size: 12px; }
    .stat-card .number { font-size: 20px; }
    .data-table { font-size: 12px; }
    .data-table th, .data-table td { padding: 8px 6px; }
    .hide-mobile { display: none; }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== 发票申请 ========== */
.inv-overview {
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    border-radius: 8px;
    padding: 22px 24px;
    color: #fff;
    margin-bottom: 20px;
}
.inv-overview .inv-ov-main .label { font-size: 13px; opacity: .85; }
.inv-overview .inv-ov-main .amount { font-size: 30px; font-weight: bold; margin: 6px 0 14px; }
.inv-ov-grid { display: flex; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.inv-ov-grid > div { display: flex; flex-direction: column; font-size: 12px; opacity: .85; gap: 4px; }
.inv-ov-grid strong { font-size: 15px; font-weight: 600; opacity: 1; }

.member-card h3 { display: flex; justify-content: space-between; align-items: center; }
.inv-head-btn {
    background: #1677ff; color: #fff !important; font-size: 13px; font-weight: normal;
    padding: 7px 16px; border-radius: 6px; text-decoration: none; white-space: nowrap;
}
.inv-head-btn:hover { background: #0958d9; }
.inv-link-btn {
    background: none; border: none; color: #1677ff; font-size: 13px;
    cursor: pointer; padding: 0; font-weight: normal;
}

.inv-info-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.inv-info-table td { padding: 9px 6px; border-bottom: 1px solid #f5f5f5; vertical-align: top; }
.inv-info-table td.k { color: #999; width: 96px; white-space: nowrap; }
.inv-info-table td:last-child { color: #333; word-break: break-all; }

.inv-form { font-size: 14px; }
.inv-field { margin-bottom: 14px; }
.inv-field label { display: block; color: #555; margin-bottom: 6px; font-size: 13px; }
.inv-field label em { color: #f5222d; font-style: normal; }
.inv-form input[type=text], .inv-form input[type=email], .inv-form select, .inv-form textarea {
    width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d9d9d9;
    border-radius: 6px; font-size: 16px; color: #333; background: #fff; font-family: inherit;
}
.inv-form textarea { resize: vertical; }
.inv-form input:focus, .inv-form select:focus, .inv-form textarea:focus { border-color: #1677ff; outline: none; }
.inv-form-actions { display: flex; gap: 10px; align-items: center; }
.inv-btn { width: auto !important; display: inline-block; padding: 10px 24px !important; font-size: 14px !important; }
.inv-btn-plain {
    background: #fff; border: 1px solid #d9d9d9; color: #555; border-radius: 6px;
    padding: 10px 18px; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.inv-btn-plain:hover { border-color: #1677ff; color: #1677ff; }
.inv-apply-tip {
    background: #f0f7ff; border: 1px solid #bae0ff; color: #0958d9; border-radius: 6px;
    padding: 10px 14px; font-size: 13px; line-height: 1.7; margin-bottom: 16px;
}
.inv-amount-row { display: flex; gap: 10px; }
.inv-amount-row input { flex: 1; min-width: 0; }
.inv-sub { font-size: 11px; color: #999; font-weight: normal; margin-top: 2px; }
.inv-mini-btn {
    display: inline-block; padding: 5px 10px; font-size: 12px; border-radius: 4px;
    background: #1677ff; color: #fff !important; text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
}
a.inv-mini-btn:hover { background: #0958d9; }
button.inv-mini-btn { background: #fff; color: #f5222d !important; border: 1px solid #ffccc7; }
button.inv-mini-btn:hover { border-color: #f5222d; }
.hide-pc { display: none; }
@media (max-width: 768px) {
    .hide-pc { display: block; }
    .inv-overview { padding: 18px 16px; }
    .inv-overview .inv-ov-main .amount { font-size: 26px; }
    .inv-ov-grid { gap: 16px; }
}

/* ========== 充值页对公转账 ========== */
.inv-corp-card {
    border: 1px solid #e8e8e8; border-radius: 8px; padding: 24px; max-width: 560px;
}
.inv-corp-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 0; border-bottom: 1px dashed #f0f0f0;
}
.inv-corp-row:last-of-type { border-bottom: none; }
.inv-corp-row .k { color: #999; font-size: 13px; white-space: nowrap; }
.inv-corp-row .v { font-size: 17px; font-weight: 600; color: #222; word-break: break-all; text-align: right; }
.inv-corp-copy {
    background: #fff; border: 1px solid #1677ff; color: #1677ff; border-radius: 4px;
    padding: 4px 10px; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.inv-corp-note {
    margin-top: 18px; background: #fffbe6; border: 1px solid #ffe58f; border-radius: 6px;
    padding: 12px 14px; font-size: 13px; color: #ad6800; line-height: 1.8;
}
@media (max-width: 768px) {
    .inv-corp-card { padding: 16px; }
    .inv-corp-row { flex-wrap: wrap; }
    .inv-corp-row .v { font-size: 15px; text-align: left; }
}

/* ========== 首页Footer样式（会员中心复用） ========== */
.footer {
    background: #1d2129;
    color: #86909c;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.footer-contact p {
    font-size: 13px;
    margin-bottom: 8px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px;
}
.footer-col li {
    margin-bottom: 10px;
    list-style: none;
}
.footer-col ul {
    padding: 0;
    margin: 0;
}
.footer-col a {
    font-size: 13px;
    color: #86909c;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #1677ff;
}
.footer-bottom {
    border-top: 1px solid #2e3440;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}
.footer-bottom p {
    margin-bottom: 6px;
}
.footer-bottom a {
    color: #86909c;
    text-decoration: none;
}
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}


/* ============================================
   member2：壳层 v2 + 控制台/产品组件（原独立文件，2026-11-06 起并入本文件；
   保留在后以覆盖 member.css 的旧组件规则，层叠顺序与两文件并存时完全一致）
   ============================================ */

/* ============================================
   三晶数据 - 会员中心 v2 壳层 + 控制台首页
   在 member.css 之后加载，仅覆盖壳层与首页组件
   ============================================ */

:root {
    --primary: #1677ff;
    --primary-deep: #0e63e6;
    --primary-weak: #f0f6ff;
    --primary-line: #cfe4ff;
    --success: #00a870;
    --success-weak: #e8f8f2;
    --success-line: #bfe9da;
    --warning: #e37318;
    --warning-weak: #fff5eb;
    --warning-line: #ffdfbf;
    --danger: #e34d59;
    --danger-weak: #fdeeee;
    --danger-line: #fbd5d8;
    --purple: #7a5af8;
    --purple-weak: #f2effe;
    --text: #1f2329;
    --text-2: #5c6370;
    --text-3: #8f959e;
    --line: #e8ebf0;
    --line-light: #f2f4f7;
    --bg: #f5f7fa;
    --r-lg: 12px;
    --r: 10px;
    --r-sm: 8px;
    --shadow: 0 1px 2px rgba(16,24,40,.04), 0 2px 6px rgba(16,24,40,.04);
    --shadow-hover: 0 6px 18px rgba(22,119,255,.12), 0 2px 6px rgba(16,24,40,.06);
}

body { color: var(--text); background: var(--bg); }

/* 图标基础 */
.mi { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.mi.sm { width: 16px; height: 16px; stroke-width: 1.9; }

/* ========== 顶栏 ========== */
.member-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 80; height: 60px; }
.mh-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 32px; }
.mh-left { display: flex; align-items: center; gap: 12px; }
.mobile-menu-btn { display: none; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 6px; color: var(--text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.mobile-menu-btn:hover { background: var(--bg); }
.mh-brand { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; letter-spacing: -.2px; color: var(--text); }
.mh-brand img { height: 30px; width: auto; display: block; }
.mh-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.mh-nav a { padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--text-2); white-space: nowrap; transition: .15s; }
.mh-nav a:hover { background: var(--bg); color: var(--text); }
.mh-nav a.on { color: var(--primary); font-weight: 600; background: var(--primary-weak); }
/* 顶部「模块服务」下拉：悬停/聚焦展开，直达各模块购买页 */
.mh-drop { position: relative; display: flex; align-items: center; }
.mh-drop .mh-drop-trigger { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.mh-drop .caret { font-size: 10px; line-height: 1; opacity: .7; }
.mh-drop-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 172px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.08); z-index: 210; }
/* 悬停移动时用透明桥接，避免指针穿过 6px 间隙收起菜单 */
.mh-drop-menu::before { content: ''; position: absolute; top: -7px; left: 0; right: 0; height: 8px; }
.mh-drop:hover .mh-drop-menu, .mh-drop:focus-within .mh-drop-menu { display: block; }
.mh-drop-menu a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.mh-drop-menu a:hover { background: var(--bg); color: var(--primary); }
.mh-right { display: flex; align-items: center; gap: 10px; }
.mh-balance { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: 18px; font-size: 13px; color: var(--text-2); transition: .15s; }
.mh-balance:hover { border-color: var(--primary-line); background: var(--primary-weak); }
.mh-balance b { color: var(--text); font-variant-numeric: tabular-nums; }
.mh-balance em { font-style: normal; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 12px; display: flex; align-items: center; }
.mh-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: .15s; }
.mh-icon:hover { background: var(--bg); color: var(--text); }
.mh-user { display: flex; align-items: center; padding: 6px 10px; border-radius: 18px; transition: .15s; }
.mh-user:hover { background: var(--bg); }
.mh-user .phone { font-size: 13px; color: var(--text-2); }
.mh-logout { font-size: 13px; color: var(--text-3); padding: 6px 10px; border-radius: 6px; transition: .15s; }
.mh-logout:hover { background: var(--danger-weak); color: var(--danger); }
.mh-logout.admin { background: #faad14; color: #fff; }

/* ========== 布局 ========== */
.member-wrap { max-width: 1280px; margin: 20px auto 40px; padding: 0 24px; display: flex; gap: 20px; align-items: flex-start; }
.member-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.member-content > .member-card { margin-bottom: 0; }

/* ========== 侧栏 ========== */
.member-sidebar { width: 216px; flex: 0 0 216px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.member-sidebar .user-card { padding: 22px 18px 18px; text-align: center; border-bottom: 1px solid var(--line-light); background: linear-gradient(180deg,#f7faff 0%,#fff 70%); }
.member-sidebar .avatar-lg { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px; background: linear-gradient(135deg,#1677ff,#5aa8ff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; box-shadow: 0 4px 12px rgba(22,119,255,.25); }
.member-sidebar .uname { font-size: 15px; font-weight: 600; letter-spacing: .2px; color: var(--text); }
.member-sidebar .ubadges { display: flex; justify-content: center; gap: 6px; margin: 7px 0 14px; flex-wrap: wrap; }
.member-sidebar .vbadge { font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 4px; background: var(--success-weak); color: var(--success); border: 1px solid var(--success-line); }
.member-sidebar .vbadge.gray { background: #f5f6f8; color: var(--text-3); border-color: var(--line); }
.member-sidebar .ubalance { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 12px; }
.member-sidebar .ubalance span { font-size: 12px; color: var(--text-3); }
.member-sidebar .ubalance b { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.side-recharge { display: block; height: 32px; line-height: 30px; border: 1px solid var(--primary); border-radius: var(--r-sm); color: var(--primary); font-size: 13px; font-weight: 500; text-align: center; transition: .15s; }
.side-recharge:hover { background: var(--primary); color: #fff; }

.member-menu { list-style: none; padding: 10px 10px 6px; }
.member-menu li + li { margin-top: 2px; }
.member-menu li a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: var(--r-sm); border-left: 0; color: var(--text-2); font-size: 13.5px; font-weight: 400; position: relative; transition: .15s; }
.member-menu li a:hover { background: var(--bg); color: var(--text); }
.member-menu li a:hover .icon { color: var(--text-2); }
.member-menu li a.active { background: var(--primary-weak); color: var(--primary); font-weight: 600; border-left: 0; }
.member-menu li a.active .icon { color: var(--primary); }
.member-menu li a.active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.member-menu .icon { font-size: 0; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-3); }
.member-menu .icon .mi { width: 20px; height: 20px; }
.member-menu .cnt { margin-left: auto; font-size: 11px; line-height: 18px; min-width: 18px; padding: 0 5px; text-align: center; border-radius: 9px; background: #eef1f5; color: var(--text-3); font-weight: 500; }
.member-menu li a.active .cnt { background: #fff; color: var(--primary); }

.side-help { margin: 8px 10px 12px; padding: 12px; border-radius: var(--r-sm); background: linear-gradient(135deg,#f5f9ff,#eef5ff); border: 1px solid #e2eeff; }
.side-help p { font-size: 12px; color: var(--text-2); line-height: 1.7; }
.side-help .help-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.side-help .help-links.one { grid-template-columns: 1fr; }
.side-help .help-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; border-radius: var(--r-sm); border: 1px solid var(--primary-line); background: #fff; color: var(--primary); font-size: 12.5px; font-weight: 500; transition: .15s; }
.side-help .help-btn .mi { width: 14px; height: 14px; }
.side-help .help-btn:hover { background: var(--primary-weak); }
.side-help .help-btn.solid { background: var(--primary); border-color: var(--primary); color: #fff; }
.side-help .help-btn.solid:hover { background: var(--primary-deep); border-color: var(--primary-deep); }

/* ========== 首页：欢迎横幅 ========== */
.dash-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: linear-gradient(115deg,#1470ff 0%,#3c8dff 58%,#55a2ff 100%); box-shadow: 0 8px 24px rgba(22,119,255,.18); }
.dash-hero::after { content: ""; position: absolute; right: -70px; top: -110px; width: 340px; height: 340px; border: 56px solid rgba(255,255,255,.10); border-radius: 50%; pointer-events: none; }
.dash-hero::before { content: ""; position: absolute; right: 180px; bottom: -90px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.dash-hero-left, .dash-hero-right { position: relative; z-index: 1; }
.dash-hero h1 { font-size: 22px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 6px; }
.dash-hero-left p { font-size: 13px; opacity: .85; }
.dash-hero-right { display: flex; align-items: center; gap: 22px; }
.dash-hero-balance { text-align: right; }
.dash-hero-balance span { font-size: 12px; opacity: .8; }
.dash-hero-balance b { display: block; font-size: 28px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.dash-hero-balance small { font-size: 12px; opacity: .78; }
.btn-white { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: var(--r-sm); background: #fff; color: var(--primary); font-size: 13px; font-weight: 600; white-space: nowrap; transition: .15s; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.14); }

/* ========== 首页：到期提醒 ========== */
.dash-notice { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: var(--r); background: var(--warning-weak); border: 1px solid var(--warning-line); color: #8a4b0d; font-size: 13px; }
.dash-notice .mi { color: var(--warning); }
.dash-notice b { color: #b45309; }
.dash-notice a { margin-left: auto; color: var(--warning); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.dash-notice a:hover { text-decoration: underline; }

/* ========== 首页：统计卡 ========== */
.dash-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.dash-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.dash-stat .si { width: 42px; height: 42px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dash-stat .si.blue { background: var(--primary-weak); color: var(--primary); }
.dash-stat .si.orange { background: var(--warning-weak); color: var(--warning); }
.dash-stat .si.green { background: var(--success-weak); color: var(--success); }
.dash-stat .si.purple { background: var(--purple-weak); color: var(--purple); }
.dash-stat .num { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.4px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.dash-stat .lbl { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.dash-stat .lbl em { font-style: normal; font-size: 11px; color: var(--warning); }

/* ========== 首页：通用卡片 ========== */
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line-light); }
.dash-head h3 { font-size: 15px; font-weight: 600; color: var(--text); }
.dash-head .sub { font-size: 12px; font-weight: 400; color: var(--text-3); margin-left: 6px; }
.dash-head .link { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 3px; }
.dash-head .link:hover { color: var(--primary); }
.dash-pad { padding: 16px 20px; }

/* 快捷入口 */
.entry-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.entry-grid + .entry-grid { margin-top: 10px; }
.entry { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: .16s; min-width: 0; }
.entry:hover { border-color: var(--primary-line); background: var(--primary-weak); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.entry-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--primary-weak); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.entry-grid.tools .entry-icon { background: #f3f5f8; color: var(--text-2); }
.entry:hover .entry-icon { background: #fff; }
.entry-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.entry-text strong { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-text span { font-size: 11.5px; color: var(--text-3); }
.entry-arrow { margin-left: auto; color: #c3c8d0; }
.entry:hover .entry-arrow { color: var(--primary); }

/* 两列区 */
.dash-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }

/* 表格 */
.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dash-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--text-3); padding: 10px 12px; background: #fafbfc; border-bottom: 1px solid var(--line-light); white-space: nowrap; }
.dash-table td { padding: 12px; border-bottom: 1px solid var(--line-light); color: var(--text-2); }
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover td { background: #fafcff; }
.dash-table .order-no { font-variant-numeric: tabular-nums; color: var(--text); }
.dash-table .amount { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 500; }
.dtag { display: inline-block; font-size: 11.5px; line-height: 20px; padding: 0 7px; border-radius: 4px; border: 1px solid transparent; white-space: nowrap; }
.dtag.ok { background: var(--success-weak); color: var(--success); border-color: var(--success-line); }
.dtag.wait { background: var(--warning-weak); color: var(--warning); border-color: var(--warning-line); }
.dtag.link { background: var(--primary-weak); color: var(--primary); border-color: var(--primary-line); }
.dtag.off { background: #f5f6f8; color: var(--text-3); border-color: var(--line); }

/* 产品概览 */
.ov-list { padding: 6px 20px 4px; }
.ov-item { padding: 9px 0; }
.ov-item + .ov-item { border-top: 1px dashed var(--line-light); }
.ov-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.ov-top .mi { width: 16px; height: 16px; color: var(--text-3); }
.ov-top em { font-style: normal; }
.ov-top b { margin-left: auto; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.ov-bar { display: block; height: 5px; border-radius: 3px; background: #eef1f5; margin-top: 7px; overflow: hidden; }
.ov-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg,#1677ff,#5aa8ff); }
.ov-tip { margin: 10px 20px 18px; padding: 10px 12px; border-radius: var(--r-sm); background: #fafbfc; border: 1px solid var(--line-light); font-size: 12px; color: var(--text-3); line-height: 1.7; }
.ov-tip b { color: var(--text-2); font-weight: 500; }

/* 空状态 */
.dash-empty { padding: 40px 20px; text-align: center; color: var(--text-3); font-size: 13px; }
.dash-empty .mi { width: 32px; height: 32px; margin-bottom: 8px; color: #c3c8d0; }

/* ========== 客服弹窗 ========== */
.cm-modal { position: fixed; inset: 0; z-index: 120; display: none; }
.cm-modal.show { display: block; }
.cm-mask { position: absolute; inset: 0; background: rgba(17,20,26,.42); }
.cm-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 360px; max-width: calc(100vw - 32px); background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 64px rgba(17,20,26,.22); overflow: hidden; }
.cm-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line-light); }
.cm-head h3 { font-size: 15px; font-weight: 600; }
.cm-x { width: 28px; height: 28px; border: 0; background: transparent; border-radius: 6px; color: var(--text-3); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
.cm-x:hover { background: var(--bg); color: var(--text); }
.cm-body { padding: 20px 18px; }
.cm-qr { width: 180px; height: 180px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; background: #fff; }
.cm-qr img, .cm-qr svg { width: 100%; height: 100%; display: block; object-fit: contain; }

/* ========== 响应式 ========== */
@media (max-width: 1180px) {
    .entry-grid { grid-template-columns: repeat(3,1fr); }
    .dash-cols { grid-template-columns: 1fr; }
    .mh-nav a { padding: 7px 9px; font-size: 13px; }
    .mh-logout { display: none; }
}
@media (max-width: 1100px) {
    .member-sidebar { width: 196px; flex-basis: 196px; }
    .dash-stats { grid-template-columns: repeat(2,1fr); }
    .dash-stat .num { font-size: 20px; }
    .side-help .help-links { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    .mh-nav { display: none; }
    .dash-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
    .dash-hero-right { width: 100%; justify-content: space-between; }
    .dash-hero-balance { text-align: left; }
}
@media (max-width: 900px) {
    .mobile-menu-btn { display: flex; }
    .member-sidebar { position: fixed; left: -240px; top: 60px; bottom: 0; z-index: 99; width: 216px; border-radius: 0; transition: left .3s; overflow-y: auto; }
    .member-sidebar.open { left: 0; box-shadow: 0 12px 40px rgba(17,20,26,.18); }
    .member-wrap { padding: 0 12px; margin-top: 12px; }
    .mh-inner { padding: 0 12px; gap: 12px; }
    .mh-balance .lbl { display: none; }
}
@media (max-width: 768px) {
    .dash-hero { padding: 20px; }
    .dash-hero h1 { font-size: 19px; }
    .dash-hero-balance b { font-size: 24px; }
    .dash-notice { flex-wrap: wrap; }
    .dash-notice a { margin-left: 0; }
    .dash-table th, .dash-table td { padding: 9px 8px; }
    .dash-hide-sm { display: none; }
    .mh-user { display: none; }
}
@media (max-width: 640px) {
    .entry-grid { grid-template-columns: repeat(2,1fr); }
    .dash-stats { grid-template-columns: 1fr; }
    .entry-text span { display: none; }
    .dash-pad { padding: 12px; }
}

/* ===== 我的产品：状态筛选 chips + tab 角标（v3.2.9）===== */
.prod-filter{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 16px;}
.prod-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:1px solid #e5e6eb;border-radius:15px;background:#fff;color:#4e5969;font-size:13px;text-decoration:none;transition:.15s;}
.prod-chip b{font-weight:600;color:#86909c;}
.prod-chip:hover{border-color:#1677ff;color:#1677ff;}
.prod-chip.on{background:#e8f3ff;border-color:#1677ff;color:#1677ff;}
.prod-chip.on b{color:#1677ff;}
.tab-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;padding:0 5px;margin-left:5px;border-radius:9px;background:#f2f3f5;color:#86909c;font-size:11px;font-weight:600;text-align:center;vertical-align:1px;}
.tab-nav a.active .tab-badge,.tab-dropdown.active .tab-badge{background:#1677ff;color:#fff;}
@media (max-width:640px){.prod-filter{gap:6px}.prod-chip{height:28px;padding:0 10px;font-size:12px}}

/* ========== 模块服务面板（验证码 / 来访统计） ========== */
.svc-wrap { margin: 0 0 20px; }
.svc-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #f2f3f5; border-radius: 8px; margin-bottom: 16px; }
.svc-tabs a { padding: 6px 16px; border-radius: 6px; font-size: 13px; color: var(--text-2); text-decoration: none; transition: .15s; }
.svc-tabs a:hover { color: var(--primary); }
.svc-tabs a.on { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.svc-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.svc-head h2 { font-size: 16px; margin: 0; color: var(--text); font-weight: 600; }
.svc-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 24px; margin-bottom: 16px; }
.svc-card h4 { font-size: 15px; color: var(--text); font-weight: 600; margin: 0 0 12px; }
.svc-card > h4 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.svc-sub { font-size: 14px; color: var(--text); margin: 18px 0 10px; font-weight: 600; }
.svc-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.svc-plan-head h4 { margin: 0; }
.svc-stat { display: flex; flex-wrap: wrap; gap: 18px 34px; }
.svc-stat div { min-width: 110px; }
.svc-stat .k { font-size: 12px; color: var(--text-3); }
.svc-stat .v { font-size: 20px; font-weight: 600; color: var(--primary); margin-top: 4px; }
.svc-tip { background: #f7f8fa; border-radius: 8px; padding: 12px 14px; color: var(--text-2); font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
.svc-tip b { color: #f5222d; }
.svc-warn { background: #fffbe6; border: 1px solid #ffe58f; border-radius: 8px; padding: 12px 14px; color: #ad6800; font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
.svc-table-wrap { border: 1px solid #f0f0f0; border-radius: 10px; overflow-x: auto; overflow-y: hidden; }
.svc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.svc-table th, .svc-table td { padding: 12px 14px; border-bottom: 1px solid #f2f3f5; text-align: left; vertical-align: middle; }
.svc-table th { background: #fafbfc; color: var(--text-3); font-weight: 600; font-size: 12px; white-space: nowrap; }
.svc-table tbody tr:last-child td { border-bottom: none; }
.svc-table tbody tr:hover td { background: #f8fbff; }
.svc-table.svc-sticky th, .svc-table.svc-sticky td { white-space: nowrap; vertical-align: middle; }
.svc-table.svc-sticky td.svc-mono { word-break: normal; }
.svc-table.svc-sticky th:first-child, .svc-table.svc-sticky td:first-child { position: sticky; left: 0; background: #fff; z-index: 2; }
.svc-table.svc-sticky thead th:first-child { background: #fafbfc; z-index: 3; }
.svc-table.svc-sticky th:last-child, .svc-table.svc-sticky td:last-child { position: sticky; right: 0; background: #fff; z-index: 2; box-shadow: -6px 0 8px -6px rgba(0,0,0,.08); }
.svc-table.svc-sticky thead th:last-child { background: #fafbfc; z-index: 3; }
.svc-mono { font-family: Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; color: var(--text); }
.svc-meta { color: var(--text-3); font-size: 12px; line-height: 1.6; }
.svc-tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; border: none; }
.svc-tag-on { background: #f6ffed; color: #52c41a; }
.svc-tag-warn { background: #fff7e6; color: #fa8c16; }
.svc-tag-off { background: #f5f5f5; color: var(--text-3); }
.svc-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #e5e6eb; background: #fff; color: var(--text-2); font-size: 13px; font-family: inherit; line-height: 1; cursor: pointer; text-decoration: none; box-sizing: border-box; white-space: nowrap; transition: .2s; }
.svc-btn:hover { border-color: var(--primary); color: var(--primary); }
.svc-btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.svc-btn-primary:hover { background: #0958d9; border-color: #0958d9; color: #fff; }
.svc-btn-danger { background: #fff; border-color: #ffccc7; color: #f5222d; }
.svc-btn-danger:hover { background: #fff1f0; border-color: #f5222d; color: #f5222d; }
.svc-btn-mini { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.svc-ops .svc-btn { margin-right: 6px; }
.svc-ops .svc-btn:last-child { margin-right: 0; }
.svc-empty { padding: 40px 0; text-align: center; color: var(--text-3); font-size: 13px; line-height: 2; }
.svc-txt { width: 100%; box-sizing: border-box; border: 1px solid #e5e6eb; border-radius: 8px; padding: 9px 11px; font-size: 14px; font-family: inherit; color: var(--text); }
.svc-txt:focus { outline: none; border-color: var(--primary); }
.svc-sel { border: 1px solid #e5e6eb; border-radius: 8px; padding: 0 10px; height: 32px; font-size: 13px; background: #fff; color: var(--text-2); }
.svc-form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 10px; }
.svc-form-row .f { flex: 1; min-width: 180px; }
.svc-form-row label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.svc-sk-box { background: #fffbe6; border: 1px solid #ffe58f; border-radius: 8px; padding: 14px; margin: 12px 0; }
.svc-sk-box .t { font-size: 12px; color: #ad6800; margin-bottom: 6px; }
.svc-sk-box .v { font-family: Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; line-height: 1.7; }
.svc-kv { display: grid; grid-template-columns: 96px 1fr; gap: 12px 14px; align-items: center; font-size: 13px; }
.svc-kv .k { color: var(--text-3); }
.svc-kv .v { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.svc-kv .v .svc-mono { min-width: 0; word-break: break-all; }
.svc-mask { color: var(--text-3); letter-spacing: 1px; }
.svc-key { color: var(--text-3); letter-spacing: 1px; cursor: pointer; border-bottom: 1px dashed #d9d9d9; }
.svc-key:hover { color: var(--primary); border-bottom-color: var(--primary); }
.svc-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.svc-pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.svc-check-grid { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin: 0 0 12px; }
.svc-check-grid label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
/* 弹窗：白底头部 + 14px 圆角 */
.svc-modal-mask, .svc-board-mask { position: fixed; inset: 0; background: rgba(29,33,41,.45); z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.svc-modal-box, .svc-board-box { background: #fff; border-radius: 14px; width: 92%; max-width: 620px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.16); }
.svc-board-box { max-width: 1000px; height: 82vh; max-height: none; }
.svc-board-box.is-full { width: 100%; max-width: none; height: 100%; border-radius: 0; }
.svc-modal-head, .svc-board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; background: #fff; color: var(--text); font-size: 15px; font-weight: 600; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; }
.svc-modal-close, .svc-board-close { background: transparent; border: 0; color: var(--text-3); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.svc-modal-close:hover, .svc-board-close:hover { color: var(--text); }
.svc-modal-body, .svc-board-body { flex: 1; overflow: auto; padding: 18px 20px; }
.svc-board-body { padding: 16px 18px; }
/* 统计看板 */
.svc-board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.svc-board-grid .cell { background: #f7f8fa; border-radius: 8px; padding: 12px 14px; }
.svc-board-grid .cell .k { font-size: 12px; color: var(--text-3); }
.svc-board-grid .cell .v { font-size: 18px; font-weight: 600; color: var(--primary); margin-top: 4px; white-space: nowrap; }
.svc-board-sec { margin-bottom: 16px; }
.svc-board-sec h5 { margin: 0 0 10px; font-size: 13px; color: var(--text); font-weight: 600; }
.svc-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; color: var(--text-2); }
.svc-bar .n { width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-bar .track { flex: 1; background: #f2f3f5; border-radius: 4px; height: 10px; overflow: hidden; }
.svc-bar .fill { display: block; height: 10px; border-radius: 4px; background: var(--primary); min-width: 2px; }
.svc-bar .c { width: 70px; text-align: right; white-space: nowrap; color: var(--text-3); }
.svc-hours { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 6px; }
.svc-hours .col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.svc-hours .bar { width: 100%; max-width: 26px; background: linear-gradient(180deg, #69b1ff, var(--primary)); border-radius: 3px 3px 0 0; min-height: 2px; transition: height .3s; }
.svc-hours .h { font-size: 10px; color: var(--text-3); margin-top: 4px; line-height: 1; white-space: nowrap; }
.svc-board-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.svc-board-cols .svc-board-sec { min-width: 0; }
.svc-detail-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; padding: 10px 12px; background: #f7f8fa; border-radius: 8px; }
.svc-detail-bar .svc-sel { font-size: 12px; }
@media (max-width: 760px) {
  .svc-board-cols { grid-template-columns: 1fr; }
  .svc-hours .h { font-size: 9px; }
  .svc-card { padding: 16px; }
}

/* ============================================
   通用业务页（订单/财务/充值/资料/实名/发票/工单）
   统一卡片、表格、状态标签、表单、按钮、分页
   ============================================ */
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 0; box-shadow: var(--shadow); }
.member-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--text); padding: 0 0 14px; margin: 0 0 16px; border-bottom: 1px solid var(--line-light); }
.member-card h3 .sub { font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.member-card h4 { font-size: 13.5px; font-weight: 600; color: var(--text); margin: 22px 0 10px; }
.member-card h4:first-of-type { margin-top: 0; }
.member-card > p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* 表格 */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; }
.data-table th { background: #fafbfc; color: var(--text-3); font-size: 12.5px; font-weight: 500; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-light); color: var(--text-2); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fafbfc; }
.data-table .order-no a, .data-table a.order-no { color: var(--primary); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.data-table .amount { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.data-table .k { color: var(--text-3); width: 140px; white-space: nowrap; }
.data-table .v { color: var(--text); word-break: break-all; }
.data-table .ops-cell a { color: var(--primary); font-size: 13px; margin-right: 12px; white-space: nowrap; }
.data-table .ops-cell a:last-child { margin-right: 0; }
.data-table .ops-cell a.muted { color: var(--text-3); }
.data-table .ops-cell a.muted:hover { color: var(--danger); }
.data-table.kv-table tbody tr:hover td { background: transparent; }
.data-table.kv-table td.k { width: 116px; }
.data-table .money { color: var(--text); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 财务流水类型 */
.fin-type { font-size: 13px; color: var(--text-2); }
.fin-type.in { color: var(--success); }
.fin-type.out { color: var(--danger); }
.fin-type.warn { color: var(--warning); }
.fin-type.info { color: var(--primary); }
.fin-type.gift { color: var(--purple); }
.fin-amount { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-amount.in { color: var(--success); }
.fin-amount.out { color: var(--danger); }

/* 状态标签 */
.status-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; background: #f2f3f5; color: var(--text-3); white-space: nowrap; }
.status-tag.paid, .status-tag.success { background: var(--success-weak); color: var(--success); }
.status-tag.pending, .status-tag.warning { background: var(--warning-weak); color: var(--warning); }
.status-tag.cancelled, .status-tag.danger { background: var(--danger-weak); color: var(--danger); }
.status-tag.info { background: var(--primary-weak); color: var(--primary); }
.status-tag.purple { background: var(--purple-weak); color: var(--purple); }

/* 筛选条 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filter-bar select, .filter-bar input[type=text], .filter-bar input[type=date] {
    height: 34px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 8px; background-color: #fff;
    font-size: 13px; color: var(--text-2); font-family: inherit; cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238f959e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.filter-bar input[type=text], .filter-bar input[type=date] { cursor: text; padding-right: 11px; background-image: none; }
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(22,119,255,.1); }

/* 按钮 */
.btn-primary, .btn, .btn-add, .btn-submit-ticket, .inv-head-btn, .btn-solid {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; height: 34px; padding: 0 16px;
    border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: #fff !important;
    font-size: 13px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; transition: .15s; white-space: nowrap;
}
.btn-primary:hover, .btn-add:hover, .btn-submit-ticket:hover, .inv-head-btn:hover, .btn-solid:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn-primary:disabled { background: #c9cdd4; border-color: #c9cdd4; cursor: not-allowed; }
.btn-primary.lg, .btn-submit-ticket { height: 38px; padding: 0 22px; font-size: 14px; }
.btn-ghost, .btn-refresh, .inv-btn-plain, .btn-plain, .inv-mini-btn.plain {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text-2) !important;
    font-size: 13px; text-decoration: none; cursor: pointer; transition: .15s; white-space: nowrap;
}
.btn-ghost:hover, .btn-refresh:hover, .inv-btn-plain:hover, .btn-plain:hover { border-color: var(--primary-line); background: var(--primary-weak); color: var(--primary) !important; }
.inv-link-btn { background: none; border: 0; padding: 0; color: var(--primary); font-size: 13px; cursor: pointer; }
.inv-mini-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--primary-line); border-radius: 6px; background: var(--primary-weak); color: var(--primary) !important; font-size: 12px; text-decoration: none; cursor: pointer; white-space: nowrap; }
button.inv-mini-btn { background: #fff; border-color: var(--line); color: var(--danger) !important; }
button.inv-mini-btn:hover { border-color: var(--danger-line); background: var(--danger-weak); }
a.inv-mini-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff !important; }

/* 表单 */
.form-group, .inv-field { margin-bottom: 16px; }
.form-group > label, .form-row > label, .inv-field > label { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.form-group label .required, .form-group label em, .inv-field label em, label .required { color: var(--danger); font-style: normal; margin-left: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-section { padding: 0; margin: 0 0 4px; border: 0; }
.form-section > h4 { margin-top: 4px; }
.form-group input[type=text], .form-group input[type=password], .form-group input[type=email], .form-group input[type=tel], .form-group input[type=number], .form-group select, .form-group textarea,
.inv-form input[type=text], .inv-form input[type=email], .inv-form select, .inv-form textarea, .custom-amount {
    width: 100%; box-sizing: border-box; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px;
    background: #fff; font-size: 13px; color: var(--text); font-family: inherit; transition: .15s;
}
.inv-form textarea, .form-group textarea { height: auto; min-height: 84px; padding: 9px 12px; line-height: 1.7; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.inv-form input:focus, .inv-form select:focus, .inv-form textarea:focus, .custom-amount:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(22,119,255,.1); }
.form-group input::placeholder, .inv-form input::placeholder, .inv-form textarea::placeholder { color: #c0c4cc; }
.form-hint, .file-hint { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.6; }
.form-actions, .inv-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 20px; }

/* 页签 */
.tab-nav { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; background: #f2f3f5; border: 0; border-radius: 9px; }
.tab-nav a { height: 30px; line-height: 30px; padding: 0 14px; border: 0; margin: 0; border-radius: 7px; font-size: 13px; color: var(--text-2); transition: .15s; }
.tab-nav a:hover { color: var(--text); }
.tab-nav a.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
/* 下拉面板内的菜单项同属 .tab-nav a，需还原为自适应高度，否则 30px 定高 + border-box
   扣掉 padding 后内容区不足，文字与角标会溢出背景（表现为"背景短于文字"） */
.tab-nav .tab-dropdown > div > a { height: auto; line-height: 20px; padding: 10px 16px; border-radius: 0; white-space: nowrap; }

/* 提示条 */
.tip-bar, .current-registrar-tip, .inv-apply-tip, .ticket-notice, .tips {
    padding: 11px 14px; margin-bottom: 16px; border: 1px solid var(--line-light); border-radius: 9px;
    background: #f7f8fa; font-size: 12.5px; color: var(--text-2); line-height: 1.75;
}
.tip-bar.warn, .ticket-notice { background: var(--warning-weak); border-color: var(--warning-line); color: #a25d09; }
.tip-bar.info, .inv-apply-tip { background: var(--primary-weak); border-color: var(--primary-line); color: #0e54c9; }

/* 空状态 */
.empty-state { text-align: center; padding: 56px 16px; color: var(--text-3); }
.empty-state .icon { display: flex; justify-content: center; margin-bottom: 12px; font-size: 0; line-height: 1; opacity: 1; }
.empty-state .icon .mi { width: 34px; height: 34px; color: #c9cdd4; }
.empty-state p { font-size: 13px; }
.empty-state p + p { margin-top: 10px; }

/* 分页 */
.pagination { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text-2); font-size: 13px; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 充值页 */
.recharge-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.recharge-balance { background: linear-gradient(135deg,#1470ff 0%,#3c8dff 100%); border-radius: var(--r); padding: 26px 24px; color: #fff; text-align: center; }
.recharge-balance .label { font-size: 12.5px; opacity: .85; margin-bottom: 6px; }
.recharge-balance .amount { font-size: 34px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.recharge-balance .tip { font-size: 12px; opacity: .8; margin-top: 10px; }
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.amount-option { padding: 14px 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; cursor: pointer; transition: .15s; background: #fff; }
.amount-option:hover { border-color: var(--primary-line); }
.amount-option.selected { border-color: var(--primary); background: var(--primary-weak); box-shadow: 0 0 0 2px rgba(22,119,255,.08); }
.amount-option .price { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.amount-option.selected .price { color: var(--primary); }
.amount-option .gift { font-size: 11.5px; color: var(--warning); margin-top: 3px; }
.custom-amount { margin-bottom: 16px; }
.pay-methods { display: flex; gap: 10px; margin-bottom: 18px; }
.pay-method { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; color: var(--text-2); cursor: pointer; transition: .15s; }
.pay-method:hover { border-color: var(--primary-line); }
.pay-method.selected { border-color: var(--primary); background: var(--primary-weak); color: var(--primary); font-weight: 500; }
.pay-method .icon { font-size: 0; display: inline-flex; }
.pay-method .icon .mi { width: 18px; height: 18px; }

/* 发票页 */
.inv-overview { background: linear-gradient(135deg,#1470ff 0%,#3c8dff 100%); border-radius: var(--r); padding: 22px 24px; color: #fff; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(22,119,255,.16); }
.inv-overview .inv-ov-main .label { font-size: 12.5px; opacity: .85; }
.inv-overview .inv-ov-main .amount { font-size: 28px; font-weight: 600; margin: 4px 0 14px; font-variant-numeric: tabular-nums; }
.inv-ov-grid { display: flex; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.22); padding-top: 14px; }
.inv-ov-grid > div { display: flex; flex-direction: column; gap: 4px; font-size: 12px; opacity: .85; }
.inv-ov-grid strong { font-size: 15px; font-weight: 600; opacity: 1; }
.inv-info-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.inv-info-table td { padding: 10px 4px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.inv-info-table td.k { color: var(--text-3); width: 96px; white-space: nowrap; }
.inv-info-table td:last-child { color: var(--text); word-break: break-all; }
.inv-info-table tr:last-child td { border-bottom: 0; }
.inv-form { font-size: 13px; }
.inv-amount-row { display: flex; gap: 10px; align-items: center; }
.inv-amount-row input { flex: 1; min-width: 0; }
.inv-corp-card { border: 1px solid var(--line-light); border-radius: 10px; background: #fafbfc; padding: 14px 16px; margin-bottom: 16px; }
.inv-corp-row { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--text-2); line-height: 1.9; }
.inv-corp-row .k { color: var(--text-3); width: 84px; flex: 0 0 84px; }
.inv-corp-copy { color: var(--primary); font-size: 12px; cursor: pointer; }
.inv-corp-note { font-size: 12px; color: var(--text-3); }
.inv-sub { font-size: 11.5px; color: var(--text-3); font-weight: 400; margin-top: 2px; }
.inv-btn { width: auto !important; }
.hide-pc { display: none; }

/* 产品详情键值 */
.info-item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-light); font-size: 13px; }
.info-item:last-child { border-bottom: 0; }
.info-item .label { color: var(--text-3); width: 96px; flex: 0 0 96px; }
.info-item .value { color: var(--text); word-break: break-all; }

@media (max-width: 900px) {
    .recharge-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .member-card { padding: 18px 16px; }
    .data-table th, .data-table td { padding: 10px 10px; }
}

/* ========== 产品卡（原 member.css 迁入，products/transcode_instance 依赖） ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.product-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s;
}
.product-item:hover {
    border-color: #1677ff;
    box-shadow: 0 2px 8px rgba(22,119,255,0.1);
}
.product-item .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.product-item .name { font-size: 15px; font-weight: 600; color: #222; }
.product-item .status { padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.product-item .status.active { background: #f6ffed; color: #52c41a; }
.product-item .status.expired { background: #fff1f0; color: #f5222d; }
.product-item .status.soon { background: #fff7e6; color: #fa8c16; }
.product-item .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}
.product-item .info span { color: #333; }
.product-item .actions { display: flex; gap: 8px; }
.product-item .actions a, .product-item .actions button {
    flex: 1;
    padding: 6px;
    text-align: center;
    border: 1px solid #1677ff;
    color: #1677ff;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}
.product-item .actions a:hover, .product-item .actions button:hover { background: #1677ff; color: #fff; }
.product-item .actions .primary { background: #1677ff; color: #fff; }
.product-item .actions .primary:hover { background: #0e63e6; }
@media (max-width: 992px) {
    .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hide-mobile { display: none; }
}
