/* ==================== 全局样式 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #ea580c;
  --text: #134e4a;
  --text-muted: #5f7a78;
  --bg: #ffffff;
  --bg-soft: #f0fdfa;
  --bg-warm: #fff7ed;
  --border: #d1e7e3;
  --shadow: 0 2px 8px rgba(13, 148, 136, 0.08);
  --shadow-lg: 0 12px 32px rgba(13, 148, 136, 0.12);
  --radius: 10px;
  --danger: #dc2626;
  --success: #16a34a;
}

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Noto Sans SC', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

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

/* ==================== 顶部栏 ==================== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 1rem;
}

.topbar a:hover {
  color: #fff;
}

/* ==================== 导航栏 ==================== */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 20px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cart-link {
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover {
  background: #c2410c;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ==================== Hero ==================== */
.hero {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(13, 148, 136, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(234, 88, 12, 0.1), transparent 45%),
    linear-gradient(160deg, #ecfdf5 0%, #f0fdfa 40%, #fff7ed 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 2.6rem;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero h2 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-panel h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.biz-cards {
  display: grid;
  gap: 0.85rem;
}

.biz-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  background: var(--bg-soft);
}

.biz-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.biz-card.edi {
  background: linear-gradient(135deg, #ecfdf5, #fff);
}

.biz-card.icp {
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.biz-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
}

.biz-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.biz-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.biz-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.biz-tag.edi-tag {
  background: #ccfbf1;
  color: var(--primary-dark);
}

.biz-tag.icp-tag {
  background: #ffedd5;
  color: #c2410c;
}

/* ==================== 通用区块 ==================== */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--primary-dark);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.page-header p {
  opacity: 0.9;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ==================== 流程步骤 ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card h4 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==================== 商品网格 ==================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

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

.product-img {
  height: 160px;
  background: #e8f5f2;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-merchant {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
  z-index: 1;
}

.product-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.product-body h3 a {
  color: var(--text);
}

.product-body h3 a:hover {
  color: var(--primary);
}

.product-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.price small {
  font-size: 0.8rem;
  font-weight: 500;
}

.price-origin {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: line-through;
  margin-left: 0.35rem;
  font-weight: 400;
}

/* ==================== 资讯列表 ==================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.info-card:hover {
  box-shadow: var(--shadow-lg);
}

.info-cover {
  height: 140px;
  background: #e8f5f2;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.info-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 50, 48, 0.55));
  pointer-events: none;
}

.info-cover.paid::after {
  background: linear-gradient(180deg, transparent 40%, rgba(154, 52, 18, 0.55));
}

.info-cover .tag {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.info-body {
  padding: 1.15rem;
}

.info-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.info-body h3 a {
  color: var(--text);
}

.info-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.info-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== 会员方案 ==================== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.member-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.member-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.member-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.member-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.member-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 1rem 0;
}

.member-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.member-card ul {
  list-style: none;
  text-align: left;
  margin: 1.25rem 0 1.75rem;
}

.member-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.member-card li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}

/* ==================== 商品详情 ==================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 40px 0;
}

.detail-gallery {
  background: var(--bg-soft);
  border-radius: 16px;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info .merchant-line {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.detail-info h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.detail-price-box {
  background: var(--bg-warm);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.detail-price-box .price {
  font-size: 2rem;
}

.detail-attrs {
  margin-bottom: 1.5rem;
}

.detail-attrs p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
}

.qty-control input {
  width: 48px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 1rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.detail-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.detail-tabs {
  margin-top: 2rem;
  padding-bottom: 40px;
}

.tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab-nav button {
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
}

.tab-nav button.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
  color: var(--text-muted);
  line-height: 1.8;
}

.tab-panel.active {
  display: block;
}

/* ==================== 购物车 / 订单 ==================== */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  padding: 40px 0 60px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.cart-table th {
  background: var(--bg-soft);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cart-table td {
  padding: 1rem;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

.cart-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.summary-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: 0.5rem;
}

.summary-row.total .price {
  font-size: 1.35rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input:not([type='checkbox']):not([type='radio']),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:not([type='checkbox']):not([type='radio']):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group label:has(input[type='checkbox']),
.form-group.label-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 0;
}

.form-group input[type='checkbox'],
.form-group input[type='radio'] {
  width: auto;
  min-width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.pay-options {
  display: grid;
  gap: 0.75rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.pay-option:hover,
.pay-option.active {
  border-color: var(--primary);
  background: var(--bg-soft);
}

.pay-option input {
  accent-color: var(--primary);
}

/* ==================== 商家入驻 ==================== */
.merchant-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.merchant-hero h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.benefit-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h4 {
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.merchant-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* ==================== 商家中心 ==================== */
.dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 40px 0 60px;
}

.dash-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  height: fit-content;
}

.dash-side h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.dash-nav {
  list-style: none;
}

.dash-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--text);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.dash-nav a:hover,
.dash-nav a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.dash-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 1.15rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.stat-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.data-table th,
.data-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.data-table th {
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-soft);
}

.status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-ok {
  background: #dcfce7;
  color: #166534;
}

.status-wait {
  background: #ffedd5;
  color: #c2410c;
}

.status-done {
  background: #e0e7ff;
  color: #3730a3;
}

/* ==================== 登录注册 ==================== */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(13, 148, 136, 0.12), transparent 50%),
    var(--bg-soft);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 2.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.auth-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.auth-tabs button {
  flex: 1;
  padding: 0.7rem;
  border: none;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
}

.auth-tabs button.active {
  background: var(--primary);
  color: #fff;
}

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==================== 文章详情 ==================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 40px 0 60px;
}

.article-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.article-main h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.article-content {
  line-height: 1.9;
  color: var(--text);
}

.article-content p {
  margin-bottom: 1rem;
}

.paywall {
  margin-top: 1.5rem;
  padding: 2rem;
  background: linear-gradient(180deg, transparent, var(--bg-soft) 30%);
  text-align: center;
  border-radius: 12px;
  border: 1px dashed var(--primary);
}

.paywall h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.paywall p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.side-card h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.side-list {
  list-style: none;
}

.side-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.side-list li:last-child {
  border-bottom: none;
}

.side-list a {
  color: var(--text);
}

.side-list a:hover {
  color: var(--primary);
}

/* ==================== 关于 / 联系 ==================== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.culture-grid,
.contact-grid,
.hours-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.culture-card,
.contact-card,
.hours-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}

.culture-card h3,
.contact-card h3,
.hours-item h4 {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.culture-card p,
.contact-card p,
.hours-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.timeline-content {
  max-width: 720px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.timeline-year {
  min-width: 100px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-text h4 {
  margin-bottom: 0.35rem;
}

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

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hours-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 60px;
  line-height: 1.8;
  color: var(--text-muted);
}

.legal-content h2 {
  color: var(--text);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* ==================== Toast / Modal ==================== */
.toast {
  position: fixed;
  top: 90px;
  right: 20px;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.3s;
  max-width: 320px;
}

.toast.show {
  transform: translateX(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 50, 48, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==================== 页脚 ==================== */
.footer {
  background: #0f2f2c;
  color: #fff;
  padding: 56px 0 24px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #94b8b3;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.45rem;
}

.footer-section a {
  color: #94b8b3;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1a4540;
  color: #7a9e99;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.4rem;
}

.footer-bottom a {
  color: #7a9e99;
}

.footer-bottom a:hover {
  color: #fff;
}

.biz-license-note {
  font-size: 0.8rem;
  color: #6b8f8a;
  margin-top: 0.5rem;
}

/* ==================== 筛选栏 ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.filter-bar select,
.filter-bar input {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-muted);
}

.chip.active,
.chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .article-layout,
  .dashboard,
  .info-grid,
  .member-grid,
  .benefit-grid,
  .culture-grid,
  .contact-grid,
  .hours-content,
  .product-grid,
  .form-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .member-card.featured {
    transform: none;
  }

  .hero h2 {
    font-size: 1.85rem;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-menu {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  .nav-menu a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .cart-table td {
    display: block;
    border: none;
    padding: 0.35rem 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    width: 100%;
  }
}
