* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: 'Inter', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif; background: #0f172a; color: #1f2937; }
[v-cloak] { display: none; }

/* ===== 顶部栏 ===== */
.topbar {
    height: 60px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px; background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px); color: #fff; position: sticky; top: 0; z-index: 20;
}
.topbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: .3px; color: #fff; text-decoration: none; }
.topbar-brand:hover, .topbar-brand:visited, .topbar-brand:active, .topbar-brand:link { color: #fff; text-decoration: none; }
.topbar-brand .logo {
    width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
    background: linear-gradient(135deg, #409eff, #6a7eea); font-weight: 800; color: #fff;
}
.topbar-lang { display: flex; align-items: center; gap: 8px; }
.topbar-lang label { font-size: 12px; color: #cbd5e1; }
.topbar-lang select {
    background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px; padding: 6px 10px; font-size: 13px; outline: none; cursor: pointer;
}
.topbar-lang select option { color: #1f2937; }

/* ===== 布局 ===== */
.shop-container { display: flex; min-height: calc(100vh - 60px); }

.shop-left {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 60px; position: relative; overflow: hidden;
    background: radial-gradient(1200px 600px at 20% 10%, #1e293b 0%, #0f172a 60%);
    color: #e2e8f0;
}
.shop-left::before {
    content: ''; position: absolute; top: -120px; left: -120px; width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(64,158,255,.25), transparent 70%); border-radius: 50%;
}
.shop-left-content { position: relative; z-index: 1; text-align: center; }
.shop-left-content img { max-width: 380px; max-height: 380px; object-fit: contain; filter: drop-shadow(0 20px 50px rgba(0,0,0,.4)); }
.shop-left-content h2 { font-size: 26px; font-weight: 700; margin: 28px 0 12px; color: #f8fafc; }
.shop-left-content > p { font-size: 14px; color: #94a3b8; }
.shop-feats { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; max-width: 340px; margin-left: auto; margin-right: auto; }
.shop-feat { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #cbd5e1; text-align: left; }
.shop-feat .ic {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
    background: rgba(64,158,255,.15); color: #60a5fa; font-size: 16px;
}

.shop-right {
    flex: 1; background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; overflow: hidden;
}
.shop-right::before { content: ''; position: absolute; top: -150px; right: -150px; width: 350px; height: 350px; background: linear-gradient(135deg, rgba(64,158,255,0.15) 0%, rgba(103,126,234,0.1) 100%); border-radius: 50%; }
.shop-right::after { content: ''; position: absolute; bottom: -120px; left: -80px; width: 300px; height: 300px; background: linear-gradient(135deg, rgba(245,108,108,0.1) 0%, rgba(230,162,209,0.15) 100%); border-radius: 50%; }

.shop-form-wrapper { position: relative; z-index: 1; width: 100%; max-width: 640px; }
.shop-form-card { background: white; border-radius: 18px; padding: 34px; box-shadow: 0 18px 50px rgba(15,23,42,0.12); border: 1px solid rgba(255,255,255,0.8); }
.shop-title { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 6px; text-align: center; }
.shop-subtitle { color: #94a3b8; text-align: center; margin-bottom: 26px; font-size: 13px; }

/* ===== 表单步骤 ===== */
.step-item { margin-bottom: 18px; }
.step-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #334155; }
.step-num {
    width: 20px; height: 20px; border-radius: 50%; background: #eef2ff; color: #409eff;
    font-size: 12px; display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}

.product-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.product-item { flex: 1; min-width: 118px; border: 1px solid #e8e8e8; border-radius: 10px; padding: 12px; cursor: pointer; transition: all 0.2s; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.product-item:hover { border-color: #409eff; box-shadow: 0 4px 14px rgba(64,158,255,.12); }
.product-item.selected { border-color: #409eff; background: #f5f9ff; box-shadow: 0 4px 14px rgba(64,158,255,.15); }
.product-left { flex: 1; min-width: 0; }
.product-name { font-size: 13px; font-weight: 600; color: #1f2937; }
.product-desc { font-size: 11px; color: #94a3b8; margin-top: 3px; }
.product-right { display: flex; align-items: baseline; gap: 6px; }
.product-price { font-size: 16px; color: #f56c6c; font-weight: 700; }
.product-original { font-size: 11px; color: #c0c4cc; text-decoration: line-through; }

.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-item { flex: 1; min-width: 84px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 0; border: 1px solid #e8e8e8; border-radius: 10px; cursor: pointer; transition: all 0.2s; background: #fff; }
.pay-item:hover { border-color: #409eff; }
.pay-item.selected { border-color: #409eff; background: #f5f9ff; box-shadow: 0 4px 14px rgba(64,158,255,.12); }
.pay-item.disabled { opacity: .45; cursor: not-allowed; }
.pay-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-icon img { width: 100%; height: 100%; object-fit: contain; }
.pay-emoji { font-size: 20px; line-height: 1; }
.pay-name { font-size: 12px; color: #334155; font-weight: 500; }
.pay-empty { color: #94a3b8; font-size: 13px; text-align: center; padding: 10px; }

.order-summary { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 14px 16px; margin: 18px 0; }
.order-row { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; margin-bottom: 6px; }
.order-row:last-child { margin-bottom: 0; }
.order-total { font-size: 18px; color: #f56c6c; font-weight: 700; }

.submit-btn { width: 100%; height: 46px; font-size: 15px; font-weight: 600; border-radius: 10px; background: linear-gradient(135deg, #1a1a2e, #2d2d44) !important; border: none !important; letter-spacing: .5px; }
.submit-btn:hover { background: linear-gradient(135deg, #2d2d44, #3a3a5c) !important; }
.submit-btn:disabled { background: #c0c4cc !important; }
.shop-footer { text-align: center; margin-top: 18px; color: #94a3b8; font-size: 11px; }

/* ===== 支付弹窗 ===== */
.pay-dialog-body { text-align: center; }
.pay-qr { margin-bottom: 12px; }
.pay-qr img { width: 180px; height: 180px; }
.pay-hint { color: #94a3b8; margin-bottom: 12px; font-size: 13px; }
.pay-amount { font-size: 22px; color: #f56c6c; font-weight: 600; }
.pay-approx { color: #94a3b8; font-size: 12px; margin-top: 4px; }
.usdt-box { margin-top: 10px; padding: 10px; background: #f5f7fa; border-radius: 6px; }
.usdt-net { font-size: 12px; color: #606266; margin-bottom: 4px; }
.usdt-addr { font-size: 11px; color: #303133; word-break: break-all; font-family: monospace; }
.order-no { color: #94a3b8; font-size: 12px; margin-top: 6px; }
.success-codes { background: #f5f7fa; padding: 12px; border-radius: 6px; margin-bottom: 12px; }
.success-code { font-family: monospace; font-size: 13px; margin-bottom: 6px; word-break: break-all; }
.success-code:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .shop-container { flex-direction: column; }
    .shop-left { display: none; }
    .shop-right { padding: 24px; }
    .shop-form-card { padding: 22px; }
    .topbar { padding: 0 16px; }
}
