:root {
  /* Brand Colors */
  --p-brand: var(--nova-brand);
  --p-brand-hover: var(--nova-brand-dark);
  --p-brand-soft: var(--nova-brand-soft);
  
  /* Neutral Scale */
  --p-white: #ffffff;
  --p-gray-50: #fafafa;
  --p-gray-100: #f5f5f5;
  --p-gray-200: #e5e5e5;
  --p-gray-300: #d4d4d4;
  --p-gray-400: #a3a3a3;
  --p-gray-500: #737373;
  --p-gray-600: #525252;
  --p-gray-700: #404040;
  --p-gray-800: #262626;
  --p-gray-900: #171717;
  
  /* Text Colors */
  --p-text-primary: var(--p-gray-900);
  --p-text-secondary: var(--p-gray-600);
  --p-text-tertiary: var(--p-gray-500);
  
  /* Surface Colors */
  --p-surface-1: var(--p-white);
  --p-surface-2: var(--p-gray-50);
  --p-surface-3: var(--p-gray-100);
  
  /* Border Colors */
  --p-border-light: var(--p-gray-200);
  --p-border-medium: var(--p-gray-300);
  --p-border-heavy: var(--p-gray-400);
  
  /* Status Colors */
  --p-success: #10b981;
  --p-warning: #f59e0b;
  --p-error: #ef4444;
  --p-info: #3b82f6;
  
  /* Radius System */
  --p-radius-xs: 4px;
  --p-radius-sm: 8px;
  --p-radius-md: 14px;
  --p-radius-lg: 18px;
  --p-radius-xl: 24px;
  --p-radius-full: 9999px;
  
  /* Shadow System */
  --p-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --p-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --p-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
  --p-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --p-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.1);
  
  /* Spacing System */
  --p-space-xs: 4px;
  --p-space-sm: 8px;
  --p-space-md: 12px;
  --p-space-lg: 16px;
  --p-space-xl: 20px;
  --p-space-2xl: 24px;
  --p-space-3xl: 32px;
  --p-space-4xl: 40px;
  
  /* Font System */
  --p-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --p-font-size-xs: 12px;
  --p-font-size-sm: 13px;
  --p-font-size-base: 14px;
  --p-font-size-lg: 15px;
  --p-font-size-xl: 16px;
  --p-font-size-2xl: 18px;
  --p-font-size-3xl: 20px;
  --p-font-size-4xl: 24px;
  
  --p-font-weight-normal: 400;
  --p-font-weight-medium: 500;
  --p-font-weight-semibold: 600;
  --p-font-weight-bold: 700;
  
  /* Line Height */
  --p-line-height-tight: 1.25;
  --p-line-height-snug: 1.375;
  --p-line-height-normal: 1.5;
  --p-line-height-relaxed: 1.625;
}

/* Global Base Styles */
* {
  font-family: var(--p-font-family);
  box-sizing: border-box;
}

body {
  background-color: var(--p-surface-1);
  color: var(--p-text-primary);
  font-size: var(--p-font-size-base);
  line-height: var(--p-line-height-normal);
  margin: 0;
  padding: 0;
}

input, select, textarea {
  font-family: var(--p-font-family);
  font-size: var(--p-font-size-base);
  border: 1px solid var(--p-border-light);
  border-radius: var(--p-radius-sm);
  padding: var(--p-space-sm) var(--p-space-md);
  background-color: var(--p-surface-1);
  color: var(--p-text-primary);
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--p-brand);
  box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.1);
}

.card {
  background: var(--p-surface-1);
  border-radius: var(--p-radius-md);
  box-shadow: var(--p-shadow-sm);
  border: none;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--p-brand) !important;
  border: none !important;
  color: var(--p-white) !important;
  border-radius: var(--p-radius-full) !important;
  padding: var(--p-space-sm) var(--p-space-xl) !important;
  font-weight: var(--p-font-weight-semibold) !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  transition: all 0.2s ease !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-primary:hover {
  background-color: var(--p-brand-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--p-shadow-md) !important;
}

.btn-ghost {
  background: transparent !important;
  border: 1px solid var(--p-border-medium) !important;
  color: var(--p-text-primary) !important;
  border-radius: var(--p-radius-full) !important;
  padding: var(--p-space-sm) var(--p-space-xl) !important;
  font-weight: var(--p-font-weight-medium) !important;
  transition: all 0.2s ease !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-ghost:hover {
  background-color: var(--p-surface-2) !important;
  border-color: var(--p-border-heavy) !important;
}

.btn-mini {
  padding: var(--p-space-xs) var(--p-space-md) !important;
  font-size: var(--p-font-size-sm) !important;
  min-height: 36px !important;
}

/* Buyer Mobile Default */
.topbar, .home-topbar {
  background: var(--p-surface-1);
  border-bottom: 1px solid var(--p-border-light);
  padding: var(--p-space-sm) var(--p-space-lg);
  height: auto;
  min-height: 56px;
}

.topbar h1, .home-topbar h1 {
  font-size: var(--p-font-size-2xl);
  font-weight: var(--p-font-weight-semibold);
  letter-spacing: -0.02em;
  color: var(--p-text-primary);
  margin: 0;
}

.home-cart {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-bar {
  background: var(--p-surface-2);
  border-radius: var(--p-radius-sm);
  padding: var(--p-space-sm) var(--p-space-md);
  margin: var(--p-space-sm) var(--p-space-lg);
  font-size: var(--p-font-size-sm);
  color: var(--p-text-secondary);
}

.notice-bar .nb-item,
.notice-bar .nb-text { color: var(--p-text-secondary); }

.nb-tag {
  background: var(--p-brand-soft);
  color: var(--p-brand);
  border-radius: var(--p-radius-full);
  padding: var(--p-space-xs) var(--p-space-sm);
  font-size: var(--p-font-size-xs);
  font-weight: var(--p-font-weight-semibold);
}

.banner-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--p-radius-md);
  margin: var(--p-space-lg) var(--p-space-lg) 0;
  height: 200px;
}

.banner-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slide img {
  height: 100%;
}

.banner-text {
  position: absolute;
  bottom: var(--p-space-lg);
  left: var(--p-space-lg);
  right: var(--p-space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: var(--p-space-lg) var(--p-space-lg) var(--p-space-md);
  border-radius: var(--p-radius-md);
  color: white;
}

.bt-t {
  font-size: var(--p-font-size-xl);
  font-weight: var(--p-font-weight-semibold);
  margin: 0 0 var(--p-space-xs) 0;
  letter-spacing: -0.02em;
}

.bt-s {
  font-size: var(--p-font-size-sm);
  opacity: 0.9;
  margin: 0;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: var(--p-space-xs);
  margin-top: var(--p-space-md);
}

.king-kong {
  padding: var(--p-space-lg) var(--p-space-lg) var(--p-space-md);
}

.kk-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--p-space-md) var(--p-space-sm);
  text-align: center;
}

.kk-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--p-radius-lg);
  background: var(--p-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--p-space-sm);
  transition: all 0.2s ease;
}

.op-bar.flash {
  background: linear-gradient(135deg, #ff7a18, #ff4d2d);
  border-radius: var(--p-radius-lg);
  padding: var(--p-space-md) var(--p-space-lg);
  margin: var(--p-space-lg);
  box-shadow: var(--p-shadow-md);
  color: #fff;
}

.op-bar.flash .op-t {
  color: #fff;
  font-size: var(--p-font-size-xl);
  font-weight: var(--p-font-weight-bold);
}

.op-bar.flash .op-s {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.section-title {
  font-size: var(--p-font-size-xl);
  font-weight: var(--p-font-weight-semibold);
  color: var(--p-text-primary);
  padding: var(--p-space-lg) var(--p-space-lg) var(--p-space-md);
  margin: 0;
  letter-spacing: -0.02em;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--p-space-lg);
  padding: 0 var(--p-space-lg) var(--p-space-2xl);
}

.goods-card {
  background: var(--p-surface-1);
  border-radius: var(--p-radius-md);
  overflow: visible;
  box-shadow: var(--p-shadow-sm);
  transition: all 0.3s ease;
  border: none;
}

.goods-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--p-shadow-lg);
}

.goods-card .gimg {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--p-radius-md) var(--p-radius-md) 0 0;
  transition: transform 0.3s ease;
  border: 1px solid var(--p-border-light);
}

.goods-card:hover .gimg img {
  transform: scale(1.02);
}

.goods-card .ginfo {
  padding: var(--p-space-md);
}

.goods-card .gname {
  font-size: var(--p-font-size-sm);
  font-weight: var(--p-font-weight-medium);
  color: var(--p-text-primary);
  margin: 0 0 var(--p-space-xs) 0;
  line-height: var(--p-line-height-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.goods-card .gprice-row {
  display: flex;
  align-items: baseline;
  gap: var(--p-space-xs);
}

.goods-card .gprice {
  font-size: var(--p-font-size-lg);
  font-weight: var(--p-font-weight-semibold);
  color: var(--p-brand);
}

.goods-card .goprice {
  font-size: var(--p-font-size-sm);
  color: var(--p-text-tertiary);
  text-decoration: line-through;
  text-decoration-style: dashed;
}

.cat-panel {
  padding: var(--p-space-lg);
}

.chip {
  background: var(--p-surface-2);
  border: none;
  border-radius: var(--p-radius-full);
  padding: var(--p-space-sm) var(--p-space-lg);
  font-size: var(--p-font-size-sm);
  color: var(--p-text-secondary);
}

.chip.active {
  background: var(--p-brand);
  color: var(--p-white);
}

.cat-panel .chip,
.cat-tab,
.chip {
  transition: all 0.2s ease;
}

.cat-panel .chip:hover,
.cat-tab:hover,
.chip:hover {
  background: var(--p-brand-soft);
  color: var(--p-brand);
  transform: translateY(-1px);
}

.cat-panel .chip.active {
  background: var(--p-brand);
  color: var(--p-white);
  box-shadow: 0 3px 10px rgba(255, 105, 0, 0.25);
}

.detail-top {
  background: var(--p-surface-1);
  border-radius: 0 0 var(--p-radius-md) var(--p-radius-md);
  overflow: hidden;
}

.detail-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.thumb-row {
  display: flex;
  gap: var(--p-space-sm);
  padding: var(--p-space-md);
  overflow-x: auto;
}

.price {
  font-size: var(--p-font-size-3xl);
  font-weight: var(--p-font-weight-bold);
  color: var(--p-brand);
  margin: var(--p-space-md) 0;
}

.detail-info .price {
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.bottom-nav {
  background: var(--p-surface-1);
  border-top: 1px solid var(--p-border-light);
  border-radius: var(--p-radius-xl) var(--p-radius-xl) 0 0;
  z-index: 1000;
}

/* 移动端底部导航：悬浮胶囊 */
html.force-h5 .bottom-nav,
.h5-app .bottom-nav {
  left: 12px !important;
  right: 12px !important;
  bottom: 10px;
  width: auto !important;
  max-width: none !important;
  border-radius: var(--p-radius-xl) !important;
  border: 1px solid var(--p-border-light);
  box-shadow: var(--p-shadow-lg);
  padding: 6px 8px;
  overflow: hidden;
}

html.force-h5 .bottom-nav a,
.h5-app .bottom-nav a {
  border-radius: var(--p-radius-lg);
  margin: 2px 2px;
  padding: 8px 0;
}

html.force-h5 .bottom-nav a.router-link-active,
html.force-h5 .bottom-nav a.active,
.h5-app .bottom-nav a.router-link-active,
.h5-app .bottom-nav a.active {
  background: var(--p-brand-soft);
}

.bottom-nav i { font-size: 24px; margin-bottom: 1px; }
.bottom-nav a { font-size: 12.5px; }

.home-footer {
  padding: var(--p-space-3xl) var(--p-space-lg) var(--p-space-lg);
  background: var(--p-surface-1);
  border-top: 1px solid var(--p-border-light);
  margin-top: var(--p-space-3xl);
}

.home-footer .fs-title,
.home-footer .fg-head { color: var(--p-text-primary); }
.home-footer .fg-link,
.home-footer .footer-intro,
.home-footer .footer-copy { color: var(--p-text-secondary); }
.home-footer .fg-link:hover { color: var(--p-brand); }
.home-footer .fs-bar { background: var(--p-gray-100); }
.home-footer .fs-bar input { color: var(--p-text-primary); }

/* Buyer PC */
@media (min-width: 1024px) {
  /* 大屏利用：买家/卖家与示例站一致全宽铺满，后台全宽 */
  body.buyer-body, body.seller-body, body.settle-body { max-width: none; margin: 0; }
  body.admin-body { max-width: none; margin: 0; }
  
  .goods-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--p-space-xl);
    padding: 0 var(--p-space-xl) var(--p-space-4xl);
  }
  
  .topbar, .home-topbar {
    padding: var(--p-space-md) var(--p-space-xl);
  }
  
  .section-title {
    padding: var(--p-space-xl) var(--p-space-xl) var(--p-space-lg);
  }
  
  .banner-wrap {
    height: 300px;
    margin: var(--p-space-xl) var(--p-space-xl) 0;
  }
  
  .king-kong {
    padding: var(--p-space-xl) var(--p-space-xl) var(--p-space-lg);
  }
  
  .cat-panel {
    padding: var(--p-space-xl);
  }
  
  .bottom-nav {
    position: static;
    border-radius: 0;
    border-top: none;
    border-bottom: 1px solid var(--p-border-light);
    margin-top: var(--p-space-3xl);
  }
}

/* Seller Dashboard */
.seller-main { flex: 1; min-width: 0; }
.stat-grid { margin-bottom: var(--p-space-xl); }
.stat-card { background: var(--p-surface-1); border-radius: var(--p-radius-md); padding: var(--p-space-xl); box-shadow: var(--p-shadow-sm); border: none; }

.num {
  font-size: var(--p-font-size-3xl);
  font-weight: var(--p-font-weight-bold);
  color: var(--p-text-primary);
  margin: 0 0 var(--p-space-xs) 0;
}

.num.primary {
  color: var(--p-brand);
}

.lab {
  font-size: var(--p-font-size-sm);
  color: var(--p-text-secondary);
  margin: 0;
}

.order-status-grid { margin-bottom: var(--p-space-xl); }
.order-status-item { background: var(--p-surface-1); border-radius: var(--p-radius-md); padding: var(--p-space-lg); box-shadow: var(--p-shadow-sm); border: none; text-align: center; }

@media (min-width: 1024px) {
  .seller-body .seller-page { grid-template-columns: 240px 1fr; }
  .seller-body .pc-sidebar { background: var(--p-surface-1); border-right: 1px solid var(--p-border-light); padding: var(--p-space-xl) 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .ps-brand { padding: 0 var(--p-space-lg) var(--p-space-xl); font-size: var(--p-font-size-xl); font-weight: var(--p-font-weight-bold); color: var(--p-text-primary); border-bottom: 1px solid var(--p-border-light); margin-bottom: var(--p-space-lg); }
  .ps-link { display: flex; align-items: center; gap: 8px; padding: var(--p-space-md) var(--p-space-lg); color: var(--p-text-secondary); text-decoration: none; transition: all 0.2s ease; border-radius: 0 var(--p-radius-full) var(--p-radius-full) 0; margin-right: var(--p-space-md); }
  .ps-link.router-link-active { background: var(--p-brand-soft); color: var(--p-brand); font-weight: var(--p-font-weight-semibold); }
  .seller-body .seller-main { padding: var(--p-space-xl); }
  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--p-space-lg); }
  .order-status-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--p-space-lg); }
}

.os-num {
  font-size: var(--p-font-size-2xl);
  font-weight: var(--p-font-weight-bold);
  color: var(--p-text-primary);
  margin: 0 0 var(--p-space-xs) 0;
}

.os-lab {
  font-size: var(--p-font-size-sm);
  color: var(--p-text-secondary);
  margin: 0;
}

.ok {
  color: var(--p-success);
}

.warn {
  color: var(--p-warning);
}

.bad {
  color: var(--p-error);
}

/* Settlement Page */
.settle-page {
  min-height: 100vh;
  padding: 16px;
  background: var(--p-surface-2);
}

.settle-card {
  background: var(--p-surface-1);
  border-radius: var(--p-radius-xl);
  padding: var(--p-space-xl) var(--p-space-2xl) var(--p-space-3xl);
  box-shadow: var(--p-shadow-lg);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border: none;
}

.sc-head {
  text-align: center;
  margin-bottom: var(--p-space-xl);
}

.sc-ico {
  width: 64px;
  height: 64px;
  background: var(--p-brand-soft);
  border-radius: var(--p-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--p-space-md);
}

.agree-box {
  display: block;
  margin: var(--p-space-lg) 0;
}

.agree-box ol {
  color: var(--p-text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.agree-check {
  margin-top: 2px;
}

.settle-main-btn {
  width: 100%;
  margin: var(--p-space-lg) 0;
}

.settle-field {
  margin-bottom: var(--p-space-lg);
}

.settle-tip {
  font-size: var(--p-font-size-sm);
  color: var(--p-text-tertiary);
  margin-top: var(--p-space-xs);
}

.sp-step i {
  border-radius: 12px;
}

/* Admin Dashboard */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-side {
  width: 260px;
  background: var(--p-surface-1);
  border-right: 1px solid var(--p-border-light);
  padding: var(--p-space-xl) 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  color: var(--p-text-secondary);
}

.admin-logo {
  padding: 0 var(--p-space-lg) var(--p-space-xl);
  font-size: var(--p-font-size-xl);
  font-weight: var(--p-font-weight-bold);
  color: var(--p-text-primary);
  border-bottom: 1px solid var(--p-border-light);
  margin-bottom: var(--p-space-lg);
}

.admin-logo b { color: var(--p-text-primary); }
.admin-logo small { color: var(--p-text-tertiary); }
.admin-nav::-webkit-scrollbar-thumb { background: var(--p-border-light); }

.menu-group {
  margin-bottom: var(--p-space-lg);
  color: var(--p-text-secondary);
}

.menu-group-icon {
  padding: 0 var(--p-space-lg);
  color: var(--p-text-tertiary);
  font-size: var(--p-font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--p-space-md);
}

.menu-group:hover { color: var(--p-text-primary); background: var(--p-surface-2); }
.menu-group.open { color: var(--p-brand); }
.menu-chevron { color: var(--p-text-tertiary); }
.menu-children { border-left-color: var(--p-border-light); }

.menu-child {
  padding: var(--p-space-sm) var(--p-space-lg);
  color: var(--p-text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--p-space-md);
  transition: all 0.2s ease;
  border-radius: 0 var(--p-radius-full) var(--p-radius-full) 0;
  margin-right: var(--p-space-md);
}

.menu-child:hover {
  background: var(--p-surface-2);
  color: var(--p-text-primary);
}

.menu-child.active-menu {
  background: var(--p-brand-soft);
  color: var(--p-brand);
  font-weight: var(--p-font-weight-semibold);
}

.menu-child-icon { color: var(--p-text-tertiary); }
.admin-side-foot { border-top-color: var(--p-border-light); }
.admin-side-foot b { color: var(--p-text-primary); }
.admin-side-foot small { color: var(--p-text-tertiary); }

.admin-main {
  flex: 1;
  margin-left: 260px;
}

.admin-head {
  background: var(--p-surface-1);
  border-bottom: 1px solid var(--p-border-light);
  padding: var(--p-space-md) var(--p-space-xl);
}

.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--p-border-light);
  padding: 0 var(--p-space-xl);
}

.admin-tab {
  padding: var(--p-space-md) var(--p-space-lg);
  color: var(--p-text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.admin-tab.active {
  color: var(--p-brand);
  border-bottom-color: var(--p-brand);
}

.admin-tab-close {
  margin-left: var(--p-space-sm);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.admin-tab:hover .admin-tab-close {
  opacity: 1;
}

.admin-page {
  padding: var(--p-space-xl);
}

.kpi {
  display: flex;
  align-items: center;
  gap: var(--p-space-lg);
  padding: var(--p-space-xl);
  background: var(--p-surface-1);
  border-radius: var(--p-radius-md);
  box-shadow: var(--p-shadow-sm);
  border: none;
  margin-bottom: var(--p-space-lg);
}

.kpi-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--p-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-brand-soft);
  color: var(--p-brand);
  font-size: var(--p-font-size-xl);
  font-weight: var(--p-font-weight-bold);
}

.kpi-num {
  font-size: var(--p-font-size-3xl);
  font-weight: var(--p-font-weight-bold);
  color: var(--p-text-primary) !important;
}

.kpi-lab {
  font-size: var(--p-font-size-sm);
  color: var(--p-text-secondary);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--p-surface-1);
  border-radius: var(--p-radius-md);
  overflow: hidden;
  box-shadow: var(--p-shadow-sm);
}

.admin-table th {
  background: var(--p-surface-2);
  padding: var(--p-space-md) var(--p-space-lg);
  text-align: left;
  font-weight: var(--p-font-weight-semibold);
  color: var(--p-text-primary);
  border-bottom: 1px solid var(--p-border-light);
}

.admin-table td {
  padding: var(--p-space-md) var(--p-space-lg);
  border-bottom: 1px solid var(--p-border-light);
  color: var(--p-text-secondary);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background: var(--p-surface-2);
}

.status-ok {
  color: var(--p-success);
}

.status-warn {
  color: var(--p-warning);
}

.muted {
  color: var(--p-text-tertiary);
}

/* Micro-interactions & Details */
.goods-card,
.card,
.stat-card,
.order-status-item,
.kpi {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary,
.btn-ghost,
.btn-mini {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input,
select,
textarea {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast {
  border-radius: var(--p-radius-lg) !important;
  box-shadow: var(--p-shadow-lg) !important;
}

.modal-box {
  border-radius: var(--p-radius-xl) !important;
  box-shadow: var(--p-shadow-xl) !important;
  border: none !important;
}

.list-item {
  border-radius: var(--p-radius-md);
  transition: all 0.2s ease;
}

.list-item:hover {
  background: var(--p-surface-2);
}

/* ===== AI 图标系统规范化（统一线性 SVG，替代 emoji） ===== */
/* 底部导航：图标 24px、容器 56px、文字 12px */
.bottom-nav {
  height: 58px;
  padding: 6px 10px;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 46px;
}
.bottom-nav i {
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.bottom-nav svg.mall-ic {
  width: 24px;
  height: 24px;
}
.bottom-nav a span {
  font-size: 12px;
  line-height: 1;
}
/* 金刚区：48px 圆角容器 + 24px 橙色线性图标，统一浅橙底 */
.kk-item .kk-ico {
  font-style: normal;
  background: var(--p-brand-soft) !important;
  color: var(--p-brand) !important;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 105, 0, 0.10);
}
.kk-item .kk-ico svg.mall-ic {
  width: 24px;
  height: 24px;
}
/* 功能宫格（我的/卖家入口）：44px 圆角容器 + 22px 图标 */
.menu-grid i {
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--p-surface-2);
  color: var(--p-brand);
  margin: 0 auto 6px;
  line-height: 1;
}
.menu-grid svg.mall-ic {
  width: 22px;
  height: 22px;
}
.menu-grid a:hover i {
  background: var(--p-brand-soft);
}
/* 分类宫格图标容器统一 */
.cat-panel .chip .cat-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--p-surface-2);
  font-size: 20px;
  line-height: 1;
}
/* 分类页“更多”按钮：统一圆形容器 */
.cat-panel .more-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
/* 卖家端订单状态卡图标 */
.order-status-item .os-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--p-brand-soft);
  color: var(--p-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  font-style: normal;
}
.order-status-item .os-ic svg.mall-ic {
  width: 16px;
  height: 16px;
}
.order-status-item.bad .os-ic { background: #fdecec; color: var(--p-error); }
.order-status-item.ok .os-ic { background: #e8f8ef; color: var(--p-success); }

/* ===== 后台显示修复：操作列单排、菜单/标签不换行、表格完整 ===== */
.admin-table td:last-child { white-space: nowrap; }
.admin-table td[style*="flex"] { flex-wrap: nowrap !important; white-space: nowrap; }
.admin-table td[style*="flex"] > * { flex-shrink: 0; }
.table-wrap { overflow-x: auto; }
.admin-table { min-width: 100%; }
.admin-table td { vertical-align: middle; }
.menu-child, .menu-group { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-children { white-space: nowrap; }
.admin-tab { white-space: nowrap; }
.admin-tabs { flex-wrap: nowrap; }
.admin-top { flex-wrap: nowrap; }
.admin-top-right { flex-wrap: nowrap; white-space: nowrap; }

/* ===== 大屏宽屏利用：内容上限放宽，网格增列，贴近示例站全宽效果 ===== */
@media (min-width: 1400px) {
  .buyer-body .goods-grid,
  .buyer-body .commodity-page .goods-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .buyer-body .banner-wrap { height: 340px; }
}

@media (min-width: 1800px) {
  .buyer-body .goods-grid,
  .buyer-body .commodity-page .goods-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
