/* ========== 深紫星空主题 ========== */
:root {
  --bg-deep: #0a0618;
  --bg-mid: #15092e;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --fg: #f8fafc;
  --muted: #94a3b8;
  --muted-dim: #64748b;
  --accent: #a855f7;
  --accent-2: #6366f1;
  --accent-glow: rgba(168,85,247,0.4);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(168,85,247,0.5);
  --radius: 16px;
  --radius-sm: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--fg);
  line-height: 1.5;
  font-size: 15px;
  background:
    radial-gradient(ellipse at top left, rgba(99,102,241,0.15), transparent 50%),
    radial-gradient(ellipse at top right, rgba(168,85,247,0.12), transparent 50%),
    radial-gradient(ellipse at bottom, rgba(59,130,246,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 40% 90%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.3), transparent);
  background-size: 500px 500px;
  opacity: 0.6;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ========== 顶栏 ========== */
.topbar {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 32px;
  background: rgba(10,6,24,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.brand {
  font-weight: 800; font-size: 20px; letter-spacing: -0.5px;
  color: var(--fg); text-decoration: none; flex-shrink: 0;
}
.brand span { background: linear-gradient(135deg, #a855f7, #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 主导航（4 下拉） */
.mainnav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--fg); background: transparent; border: none;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: all .15s; font-family: inherit;
}
.nav-item > a:hover, .nav-item > button:hover { background: rgba(255,255,255,0.06); color: var(--accent); }
.nav-item > button::after { content: '▾'; font-size: 10px; margin-left: 2px; opacity: 0.7; }

/* 下拉菜单 */
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; padding: 8px;
  background: rgba(20,12,45,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s;
  z-index: 200;
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--fg); transition: all .15s;
}
.dropdown a:hover { background: rgba(168,85,247,0.15); color: var(--accent); }
.dropdown .divider { height: 1px; background: var(--border); margin: 6px 0; }

/* 顶栏右侧 */
.topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar-right .icon-btn {
  padding: 7px 12px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 12px; color: var(--muted); cursor: pointer; font-family: inherit;
  transition: all .15s;
}
.topbar-right .icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-buy {
  padding: 9px 20px; background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all .15s; font-family: inherit;
}
.btn-buy:hover { transform: translateY(-1px); box-shadow: 0 6px 28px var(--accent-glow); }

/* 移动端：隐藏部分导航 */
@media (max-width: 900px) {
  .topbar { padding: 12px 16px; gap: 12px; }
  .mainnav { display: none; }
  .brand { font-size: 18px; }
  .topbar-right .icon-btn { display: none; }
  .btn-buy { padding: 8px 14px; font-size: 13px; }
}

/* ========== 通用容器 ========== */
.container { max-width: 640px; margin: 0 auto; padding: 16px; }
@media (min-width: 900px) { .container { max-width: 1200px; padding: 24px; } }

/* ========== 实时购买条（顶栏下） ========== */
.ticker {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 32px; overflow: hidden;
  background: rgba(20,12,45,0.4);
  border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}
.ticker-label { flex-shrink: 0; font-weight: 600; color: var(--accent); }
.ticker-track {
  display: flex; gap: 12px; overflow: hidden; flex: 1;
  position: relative;
}
.ticker-item {
  flex-shrink: 0; padding: 4px 10px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 999px; white-space: nowrap;
  animation: tickerSlide 40s linear infinite;
}
@keyframes tickerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (max-width: 900px) {
  .ticker { padding: 8px 16px; font-size: 11px; }
  .ticker-label { display: none; }
}

/* ========== Hero 左文右卡 ========== */
.hero-split {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; align-items: center;
  padding: 40px 0;
}
@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1.2fr 1fr; padding: 64px 0; }
}

.hero-left h1 {
  font-size: 40px; line-height: 1.1; font-weight: 800;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
@media (min-width: 900px) { .hero-left h1 { font-size: 60px; } }
.hero-left h1 .grad {
  background: linear-gradient(135deg, #a855f7, #6366f1, #3b82f6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-left p {
  color: var(--muted); font-size: 15px; line-height: 1.7;
  margin-bottom: 28px; max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-primary {
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border: none; border-radius: var(--radius-sm);
  box-shadow: 0 4px 24px var(--accent-glow);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-ghost {
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  background: transparent; color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-feats { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-feats .feat { display: flex; align-items: center; gap: 6px; }
.hero-feats .feat::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* 右卡片（快速购买） */
.hero-card {
  background: rgba(20,12,45,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-card h3 { font-size: 18px; margin-bottom: 16px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.form-row input, .form-row select {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--fg); font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus { border-color: var(--accent); }
.form-row select option { background: #15092e; }
.form-total { text-align: right; color: var(--muted); font-size: 13px; margin: 16px 0 12px; }
.form-total b { color: var(--accent); font-size: 20px; font-weight: 700; }
.hero-card .btn-primary { width: 100%; }

/* ========== 区块标题 ========== */
.section-title {
  font-size: 20px; font-weight: 700; margin: 40px 0 16px;
  letter-spacing: -0.3px;
}

/* ========== 卡片网格 ========== */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* 玻璃拟态卡片 */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all .2s;
  cursor: pointer;
  display: block; color: inherit;
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.2);
}

/* 业务线卡片 */
.line-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; transition: all .2s;
  display: flex; flex-direction: column;
}
.line-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(168,85,247,0.25);
}
.line-card-img {
  height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(99,102,241,0.1));
  border-bottom: 1px solid var(--border);
}
.line-card-body { padding: 16px; }
.line-card-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.line-card-meta { color: var(--muted); font-size: 12px; }

/* SKU 卡片 */
.sku-card {
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; transition: all .2s;
}
.sku-card:hover {
  border-color: var(--border-hover); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(168,85,247,0.2);
}
.sku-face { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.sku-face small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.sku-region { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ========== 卖点 ========== */
.sellpoints { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 40px 0; }
@media (min-width: 1080px) { .sellpoints { grid-template-columns: repeat(4, 1fr); } }
.sellpoint {
  padding: 20px; background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center;
}
.sellpoint-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(99,102,241,0.1));
  border-radius: 12px;
}
.sellpoint-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.sellpoint-desc { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* ========== FAQ ========== */
.faq { margin: 40px 0; }
.faq-item {
  padding: 16px 18px; background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 8px; transition: all .15s;
}
.faq-item:hover { border-color: rgba(168,85,247,0.3); }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 14px;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '▾'; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ========== 搜索 ========== */
.searchbar {
  display: flex; gap: 8px; margin: 24px 0;
}
.searchbar input {
  flex: 1; padding: 14px 18px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--fg); font-size: 14px; font-family: inherit; outline: none;
  transition: all .15s;
}
.searchbar input::placeholder { color: var(--muted-dim); }
.searchbar input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168,85,247,0.15); }
.searchbar button {
  padding: 0 24px; background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border: none; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 16px;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.searchbar button:hover { transform: translateY(-1px); }

/* ========== 页脚 ========== */
.footer {
  margin-top: 60px; padding: 48px 32px 24px;
  background: rgba(10,6,24,0.8);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 720px) { .footer-inner { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 { color: var(--fg); font-size: 14px; margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 13px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  text-align: center; font-size: 12px; color: var(--muted-dim);
}

/* ========== 悬浮客服 ========== */
.float-support {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border-radius: 999px;
  box-shadow: 0 8px 32px rgba(168,85,247,0.5);
  font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all .2s;
}
.float-support:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(168,85,247,0.6); }
.float-support .dot {
  width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
@media (max-width: 640px) {
  .float-support { right: 16px; bottom: 16px; padding: 10px 14px; font-size: 12px; }
}

/* ========== 面包屑 ========== */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }

/* ========== 地区 chip ========== */
.chip-row {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 0 16px; scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 8px 16px;
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--muted); cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--border-hover); color: var(--accent); }
.chip-active {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow); font-weight: 600;
}

/* ========== 商品详情 ========== */
.product-hero {
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 24px; text-align: center;
}
.region-tag {
  display: inline-block; padding: 4px 14px;
  background: rgba(168,85,247,0.15); color: var(--accent);
  font-size: 12px; font-weight: 600; border-radius: 999px; margin-bottom: 16px;
}
.product-hero h1 { font-size: 32px; letter-spacing: -1px; }
.price-big {
  font-size: 40px; font-weight: 800; margin-top: 20px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-big small { font-size: 14px; color: var(--muted); font-weight: 500; -webkit-text-fill-color: var(--muted); }

/* ========== 快速购买卡：补充样式 ========== */
.hero-card h3 { font-size: 18px; margin-bottom: 20px; }
.hero-card .form-row { margin-bottom: 14px; }
.hero-card .form-row label {
  display: block; font-size: 12px; color: var(--muted);
  margin-bottom: 6px; font-weight: 500;
}
.hero-card .form-row input,
.hero-card .form-row select {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--fg); font-size: 14px; font-family: inherit; outline: none;
  transition: all .15s;
  appearance: none; -webkit-appearance: none;
}
.hero-card .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.hero-card .form-row input:focus,
.hero-card .form-row select:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}
.hero-card .form-row select option { background: #15092e; color: var(--fg); }
.hero-card .form-row select option:disabled { color: #475569; }
.hero-card .form-total {
  text-align: right; color: var(--muted); font-size: 13px;
  margin: 18px 0 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-card .form-total b {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 20px; font-weight: 700;
}
.hero-card .btn-primary {
  width: 100%; display: block;
  padding: 14px; font-size: 15px; font-weight: 600;
  border-radius: 10px; cursor: pointer; border: none;
  font-family: inherit;
}

/* 库存紧张时卡片描边微红 */
.sku-card .sku-region.warn { color: #f87171; }

/* ========== 6 列 SKU 网格 ========== */
.sku-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) { .sku-grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .sku-grid-6 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .sku-grid-6 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1500px) { .sku-grid-6 { grid-template-columns: repeat(6, 1fr); } }

/* ========== SKU 卡片 v2 ========== */
.sku-card2 {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all .2s;
  display: block; color: inherit;
}
.sku-card2:hover {
  border-color: rgba(168,85,247,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(168,85,247,0.25);
  background: rgba(255,255,255,0.06);
}
.sku-card2.sku-out { opacity: 0.45; }
.sku-card2.sku-out:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,0.08); }

.sku-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 2px 8px; font-size: 10px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border-radius: 999px; font-weight: 600;
}
.sku-face2 { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.sku-face2 small { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.sku-region2 { font-size: 11px; color: var(--muted); margin-top: 2px; }
.sku-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 10px 0; }
.sku-price {
  font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sku-stock { font-size: 11px; color: var(--muted-dim); margin-top: 2px; }

/* 容器加宽 padding（防止贴边） */
@media (min-width: 900px) { .container { max-width: 1280px; padding: 32px 48px; } }
@media (min-width: 1400px) { .container { max-width: 1440px; padding: 32px 64px; } }

/* ========== 商品详情页 ========== */
.detail-layout {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin: 24px 0;
}
@media (min-width: 720px) {
  .detail-layout { grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
}

.detail-visual {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px 24px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 320px;
}
.detail-icon { font-size: 96px; }
.detail-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px; font-size: 11px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border-radius: 999px; font-weight: 600;
}

.detail-info { flex: 1; }
.detail-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.detail-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.detail-price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
}
.detail-price {
  font-size: 36px; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.detail-stock { color: var(--muted); font-size: 13px; }
.detail-stock.warn { color: #f87171; }

.detail-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 20px 0; }

.detail-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-qty label { color: var(--muted); font-size: 14px; min-width: 50px; }
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-control button {
  width: 40px; height: 40px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); color: var(--fg);
  font-size: 18px; cursor: pointer; transition: all .15s;
}
.qty-control button:first-child { border-radius: 8px 0 0 8px; }
.qty-control button:last-child { border-radius: 0 8px 8px 0; }
.qty-control button:hover { background: rgba(168,85,247,0.15); color: var(--accent); }
.qty-control input {
  width: 60px; height: 40px; text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-left: none; border-right: none;
  color: var(--fg); font-size: 15px; font-weight: 600; outline: none;
  font-family: inherit;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.detail-total {
  text-align: right; color: var(--muted); font-size: 14px;
  margin-bottom: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.detail-total b {
  font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-left: 4px;
}

.detail-buy {
  width: 100%; padding: 16px; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; border: none; border-radius: 12px; cursor: pointer;
  box-shadow: 0 6px 24px rgba(168,85,247,0.4);
  transition: all .15s; font-family: inherit;
}
.detail-buy:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(168,85,247,0.5); }
.detail-buy:disabled { opacity: 0.4; cursor: not-allowed; }

.detail-desc {
  margin-top: 40px; padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}
.detail-desc h2 { font-size: 16px; margin-bottom: 12px; }
.detail-desc ul { list-style: none; padding: 0; }
.detail-desc li {
  color: var(--muted); font-size: 13px; padding: 6px 0;
  padding-left: 20px; position: relative;
}
.detail-desc li::before {
  content: '·'; position: absolute; left: 6px;
  color: var(--accent); font-weight: 700;
}
