/* ========== 尖斌卡引商贸 — 暗黑奢华风 H5 ========== */

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --gold: #d4a574;
  --gold-light: #e8c9a0;
  --gold-dark: #b8894a;
  --accent: #e94560;
  --accent-glow: rgba(233,69,96,0.3);
  --text: #e8e8ec;
  --text-secondary: #9898a0;
  --text-muted: #5a5a64;
  --border: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(212,165,116,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 80px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 粒子背景 */
#particles {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* ---------- 页面过渡 ---------- */
.page-enter {
  animation: pageIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 顶部导航 ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-header .logo {
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.search-bar {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 8px;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,165,116,0.1);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
}

.search-bar input::placeholder { color: var(--text-muted); }

.search-icon { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

.header-icon {
  width: 24px; height: 24px; color: var(--text-secondary);
  position: relative; flex-shrink: 0;
  transition: var(--transition);
}

.header-icon:active { transform: scale(0.9); }

.badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--accent-glow);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ---------- 底部导航 ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  background: rgba(18,18,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10px;
  transition: var(--transition);
  position: relative;
}

.bottom-nav a.active {
  color: var(--gold);
}

.bottom-nav a.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.bottom-nav svg { width: 22px; height: 22px; }

/* ---------- 轮播 ---------- */
.hero-slider {
  position: relative;
  margin: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  box-shadow: var(--shadow-card);
}

.hero-slider .slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.hero-slider .slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-slider .slide::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.hero-slider .slide:nth-child(1) { background: linear-gradient(135deg, #1a1a2e, #2d1b3d); }
.hero-slider .slide:nth-child(2) { background: linear-gradient(135deg, #1a1a2e, #1b3d2d); }
.hero-slider .slide:nth-child(3) { background: linear-gradient(135deg, #1a1a2e, #2d1b1b); }

.hero-slider .slide .tag {
  font-size: 11px;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-slider .slide h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.hero-slider .slide p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  transition: var(--transition);
}

.hero-dots span.active {
  width: 20px;
  background: var(--gold);
}

/* ---------- 区块标题 ---------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 12px;
}

.section-header .title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header .title::before {
  content: '';
  width: 3px; height: 18px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header .more {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ---------- 倒计时 ---------- */
.countdown-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.countdown-row .cd-item {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 24px; height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.countdown-row .cd-sep {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 快捷入口 ---------- */
.quick-nav {
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}

.quick-nav .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quick-nav .item:active {
  transform: scale(0.95);
  background: var(--bg-card-hover);
}

.quick-nav .item .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
}

.quick-nav .item .icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  opacity: 0.15;
}

.quick-nav .item span {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ---------- 商品卡片 ---------- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:active {
  transform: scale(0.97);
  background: var(--bg-card-hover);
}

.product-card .img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card .img-wrap .prod-svg {
  width: 75%;
  height: 75%;
  transition: transform 0.4s ease;
}

.product-card .img-wrap .prod-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:active .img-wrap .prod-svg {
  transform: scale(1.08);
}

.product-card:active .img-wrap .prod-img-real {
  transform: scale(1.08);
}

.product-card .badge-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

.badge-tag.hot {
  background: var(--accent);
  color: #fff;
  animation: tagPulse 1.5s ease-in-out infinite;
}

.badge-tag.new {
  background: var(--gold);
  color: #1a1a1a;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.product-card .info {
  padding: 12px;
}

.product-card .title {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 500;
}

.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.product-card .price {
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.product-card .price::before {
  content: "¥";
  font-size: 12px;
  font-weight: 500;
}

.product-card .original {
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: line-through;
}

.product-card .sales {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 4px;
}

/* 商品列表 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 16px;
}

.product-scroll {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 0 16px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.product-scroll::-webkit-scrollbar { display: none; }

.product-scroll .product-card {
  min-width: 150px;
  width: 150px;
  scroll-snap-align: start;
}

/* ---------- 分类页 ---------- */
.category-page {
  display: flex;
  height: calc(100vh - 60px);
}

.category-sidebar {
  width: 88px;
  background: var(--bg-elevated);
  overflow-y: auto;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.category-sidebar li {
  padding: 15px 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition);
  border-left: 2px solid transparent;
  cursor: pointer;
}

.category-sidebar li.active {
  background: var(--bg-card);
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 600;
}

.category-main {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cat-banner {
  width: 100%;
  height: 100px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a2e, #2d1b3d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.cat-banner::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(212,165,116,0.06);
  top: -30px; right: -30px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.cat-grid .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 12px 4px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.cat-grid .item:active { transform: scale(0.95); }

.cat-grid .thumb {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-grid .thumb svg {
  width: 32px; height: 32px;
}

/* ---------- 商品详情 ---------- */
.product-detail .gallery {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.product-detail .gallery .prod-svg {
  width: 60%;
  height: 60%;
}

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

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.gallery-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.gallery-dots span.active {
  background: var(--gold);
}

.product-detail .info-card {
  margin: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.product-detail .price {
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}

.product-detail .price::before {
  content: "¥";
  font-size: 16px;
  font-weight: 500;
}

.product-detail .title {
  font-size: 17px;
  font-weight: 600;
  margin: 10px 0;
  line-height: 1.4;
  color: var(--text);
}

.product-detail .meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.product-detail .spec-card {
  margin: 0 16px 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.spec-card .label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-options button {
  padding: 8px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition);
}

.spec-options button.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,165,116,0.08);
  box-shadow: 0 0 12px rgba(212,165,116,0.1);
}

.tab-card {
  margin: 0 16px 80px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tab-header {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab-header div {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.tab-header div.active {
  color: var(--gold);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--gold);
}

.tab-body {
  padding: 16px;
  min-height: 120px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.tab-body .detail-banner {
  height: 180px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 12px;
}

/* 底部操作栏 */
.bottom-action {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  height: 60px;
  background: rgba(18,18,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  z-index: 100;
  gap: 10px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-action .icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 10px;
  width: 44px;
}

.bottom-action .icon-btn svg { width: 22px; height: 22px; }

.bottom-action .btns {
  flex: 1;
  display: flex;
  gap: 10px;
}

.bottom-action .btns button {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}

.bottom-action .btns button:active { transform: scale(0.96); }

.btn-cart {
  background: var(--bg-card);
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
}

.btn-buy {
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ---------- 购物车 ---------- */
.cart-page {
  padding-bottom: 120px;
  min-height: 100vh;
}

.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin: 0 16px 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item .checkbox {
  width: 22px; height: 22px;
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 12px;
  color: transparent;
}

.cart-item .checkbox.checked {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
}

.cart-item .thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

.cart-item .thumb svg {
  width: 50px; height: 50px;
}

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

.cart-item .info {
  flex: 1;
  min-width: 0;
}

.cart-item .title {
  font-size: 13px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.cart-item .spec {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.cart-item .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item .price {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.cart-item .price::before {
  content: "¥";
  font-size: 11px;
  font-weight: 500;
}

.quantity-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  height: 30px;
  overflow: hidden;
}

.quantity-ctrl button {
  width: 30px; height: 100%;
  color: var(--text-secondary);
  font-size: 16px;
  background: var(--bg-card);
  transition: var(--transition);
}

.quantity-ctrl button:active { background: var(--bg-card-hover); }

.quantity-ctrl input {
  width: 38px; height: 100%;
  border: none;
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  text-align: center;
  font-size: 13px;
  background: transparent;
  color: var(--text);
  outline: none;
  font-weight: 500;
}

.cart-footer {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  height: 56px;
  background: rgba(18,18,26,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 100;
}

.cart-footer .check-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cart-footer .total {
  flex: 1;
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  padding-right: 12px;
}

.cart-footer .total span {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.cart-footer .checkout {
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  color: #fff;
  height: 38px;
  padding: 0 24px;
  border-radius: 19px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: var(--transition);
}

.cart-footer .checkout:active { transform: scale(0.95); }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state svg {
  width: 80px; height: 80px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state p { font-size: 14px; margin-bottom: 20px; }

.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  color: var(--gold);
  font-size: 14px;
  transition: var(--transition);
}

.btn-outline:active {
  background: rgba(212,165,116,0.1);
}

/* ---------- 个人中心 ---------- */
.profile-header {
  background: linear-gradient(180deg, #1a1a2e, #12121a);
  padding: 28px 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.profile-header::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(212,165,116,0.04);
  top: -60px; right: -60px;
}

.profile-header .avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(212,165,116,0.2);
}

.profile-header .name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.profile-header .level {
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-header .level::before {
  content: '👑';
  font-size: 14px;
}

.order-card {
  margin: 16px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.order-card .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}

.order-card .header .title {
  font-weight: 600;
  color: var(--text);
}

.order-card .header .all {
  color: var(--text-muted);
  font-size: 12px;
}

.order-status {
  display: flex;
  justify-content: space-around;
}

.order-status .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 11px;
  transition: var(--transition);
}

.order-status .item:active { color: var(--gold); }

.order-status svg { width: 28px; height: 28px; }

.menu-card {
  margin: 0 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.menu-card .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}

.menu-card .item:last-child { border-bottom: none; }
.menu-card .item:active { background: var(--bg-card-hover); }

.menu-card .item .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-card .item svg { width: 22px; height: 22px; color: var(--text-muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(30,30,40,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.toast.show { opacity: 1; }

/* ---------- 响应式 ---------- */
@media (min-width: 414px) {
  .product-scroll .product-card { min-width: 160px; width: 160px; }
}