/* ============ 1210 跨境保税电商 · PC端样式 ============ */
:root {
  /* 以下默认值 = 后台「网站设置 → 风格配色」的默认值；
     前端 loadSiteConfig() 会用后台配置覆盖它们，改配色无需重新部署。 */
  --theme: #FF7A2F;
  --theme-dark: #F2631A;
  --theme-rgb: 255,122,47;
  --theme-op: rgba(255,122,47,.08);
  --theme-light: rgba(255,122,47,.14);
  --grad-start: #FF9A4D;
  --grad-end: #FF6A1F;
  /* 顶部/Hero 区的蓝色渐变（保税蓝） */
  --hero-start: #5FA8F0;
  --hero-end: #CFE6FA;
  --price: #FF6A1F;
  --page-bg: #F4F7FB;
  --card-radius: 14px;
  --shadow: 0 3px 10px 2px rgba(0,0,0,.04);
  --text-1: #1F2430;
  --text-2: #5A6272;
  --text-3: #98A0AE;
  --border: #eee;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--page-bg);
  color: var(--text-1);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }
.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 顶部条 ============ */
.topbar {
  background: #282c34;
  color: #b0b3bb;
  font-size: 12px;
  height: 34px;
  line-height: 34px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.topbar a { color: #b0b3bb; margin-left: 18px; }
.topbar a:hover { color: #fff; }
.topbar .topbar-left span { margin-right: 6px; }
.topbar .badge-red { color: var(--theme); font-weight: 600; margin-right: 12px; }

/* ============ 头部 ============ */
.header { background: #fff; box-shadow: 0 1px 4px rgba(0,21,41,.06); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo .logo-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.logo .logo-text { font-size: 20px; font-weight: 700; color: var(--text-1); line-height: 1.1; }
.logo .logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--text-3); letter-spacing: 2px; }
.search-box { flex: 1; max-width: 560px; display: flex; align-items: center; border: 2px solid var(--theme); border-radius: 30px; overflow: hidden; background: #fff; }
.search-box input { flex: 1; border: none; padding: 0 18px; height: 42px; font-size: 14px; }
.search-box .search-btn {
  width: 90px; height: 42px; background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  color: #fff; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4px 12px; border-radius: 8px; transition: .2s; position: relative; min-width: 64px;
}
.header-btn:hover { background: var(--theme-op); }
.header-btn .icon { font-size: 22px; }
.header-btn .label { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.cart-badge {
  position: absolute; top: 0; right: 8px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--theme); color: #fff; border-radius: 9px; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700;
}
.user-info { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 20px; cursor: pointer; }
.user-info:hover { background: var(--theme-op); }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}

/* ============ 主导航 ============ */
.main-nav { background: #fff; border-bottom: 1px solid var(--border); }
.main-nav .container { display: flex; align-items: center; gap: 4px; }
.nav-item {
  padding: 14px 18px; font-size: 15px; color: var(--text-1); font-weight: 500; cursor: pointer; position: relative; transition: .2s;
}
.nav-item:hover { color: var(--theme); }
.nav-item.active { color: var(--theme); font-weight: 700; }
.nav-item.active::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
}
.nav-item.hot::before { content: 'HOT'; position: absolute; top: 2px; right: 2px; font-size: 9px; color: var(--theme); font-weight: 700; }

/* ============ 横幅 ============ */
.hero { margin: 20px 0; }
.hero-banner {
  border-radius: 16px; overflow: hidden; height: 320px; position: relative;
  background: linear-gradient(120deg, #ff5f5a 0%, #ff8a50 60%, #ffb05a 100%);
  display: flex; align-items: center; justify-content: space-between; padding: 0 80px; color: #fff;
}
.hero-banner::after { content: ''; position: absolute; right: -80px; top: -60px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.14); }
.hero-banner::before { content: ''; position: absolute; right: 90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.10); }
.hero-banner .hero-title { font-size: 44px; font-weight: 800; letter-spacing: 2px; line-height: 1.3; position: relative; z-index: 2; }
.hero-banner .hero-title em { font-style: normal; font-size: 60px; background: rgba(255,255,255,.2); border-radius: 12px; padding: 0 8px; }
.hero-banner .hero-sub { font-size: 16px; opacity: .92; margin-top: 14px; position: relative; z-index: 2; }
.hero-banner .hero-tags { display: flex; gap: 12px; margin-top: 24px; position: relative; z-index: 2; }
.hero-banner .hero-tags span {
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4); padding: 6px 14px; border-radius: 20px; font-size: 13px; backdrop-filter: blur(4px);
}
.hero-banner .hero-emoji { font-size: 150px; opacity: .85; position: relative; z-index: 2; filter: drop-shadow(0 8px 16px rgba(0,0,0,.15)); }

/* ============ 特性条 ============ */
.features { background: #fff; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 24px; display: flex; }
.feature { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 0; }
.feature + .feature { border-left: 1px solid var(--border); }
.feature .fe-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--theme-op); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.feature .fe-title { font-size: 15px; font-weight: 600; color: var(--text-1); }
.feature .fe-sub { font-size: 12px; color: var(--text-3); }

/* ============ 区块标题 ============ */
.section { margin-bottom: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head .st-left { display: flex; align-items: center; gap: 10px; }
.section-head .st-bar { width: 4px; height: 22px; border-radius: 2px; background: linear-gradient(180deg, var(--grad-start), var(--grad-end)); }
.section-head .st-title { font-size: 20px; font-weight: 700; }
.section-head .st-sub { font-size: 13px; color: var(--text-3); }
.section-head .st-more { font-size: 13px; color: var(--text-3); cursor: pointer; }
.section-head .st-more:hover { color: var(--theme); }

/* ============ 商品卡片 ============ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border-radius: var(--card-radius); overflow: hidden; cursor: pointer;
  transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.product-card .pc-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #fafafa; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.product-card .pc-badge {
  position: absolute; top: 10px; left: 10px; background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 600;
}
.product-card .pc-tag {
  position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9); color: var(--theme);
  font-size: 11px; padding: 2px 8px; border-radius: 12px; border: 1px solid var(--theme);
}
.product-card .pc-body { padding: 14px 16px 16px; }
.product-card .pc-name {
  font-size: 14px; font-weight: 600; color: var(--text-1); line-height: 1.4; height: 40px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-card .pc-sub { font-size: 12px; color: var(--text-3); margin: 6px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .pc-price-row { display: flex; align-items: baseline; justify-content: space-between; }
.product-card .pc-price { font-size: 22px; font-weight: 700; color: var(--price); }
.product-card .pc-price small { font-size: 13px; font-weight: 600; }
.product-card .pc-price .pc-tax { font-size: 11px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.product-card .pc-buy {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: .2s;
}
.product-card .pc-buy:hover { transform: scale(1.1); }

/* ============ 1210 说明区 ============ */
.info-1210 { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 32px 40px; margin-bottom: 28px; }
.info-1210 .i-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.info-1210 .i-head .badge { background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); color: #fff; padding: 4px 12px; border-radius: 6px; font-weight: 700; font-size: 16px; }
.info-1210 .i-head h3 { font-size: 20px; font-weight: 700; }
.info-1210 .i-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-1210 .i-step { text-align: center; padding: 18px 12px; border-radius: 10px; background: var(--page-bg); }
.info-1210 .i-step .step-num { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.info-1210 .i-step .step-title { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.info-1210 .i-step .step-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ============ 通用面板 ============ */
.panel { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 24px; }
.panel-title { font-size: 18px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
/* 弹窗分两层：浏览类弹窗（商品详情/评价/领券）默认 1000，
   操作类弹窗（登录/忘记密码/实名认证/收银台）必须盖在其上——
   否则「未登录点立即购买」时，登录框会被后出现的商品详情弹窗压住。 */
#auth-modal, #forgot-modal, #identity-modal, #cashier-modal { z-index: 1500; }
.modal {
  background: #fff; border-radius: 14px; width: 460px; max-height: 90vh; overflow-y: auto; overflow-x: hidden; transform: translateY(20px); transition: transform .25s;
}
.modal-mask.show .modal { transform: translateY(0); }
.modal .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal .modal-header h3 { font-size: 18px; font-weight: 700; }
.modal .modal-close { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-3); cursor: pointer; }
.modal .modal-close:hover { background: var(--page-bg); color: var(--text-1); }
.modal .modal-body { padding: 24px; }
.modal-lg { width: min(1000px, 94vw); }

/* ============ 表单 ============ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.form-control {
  width: 100%; height: 42px; border: 1px solid #dcdfe6; border-radius: 8px; padding: 0 14px; font-size: 14px; transition: border-color .2s;
}
.form-control:focus { border-color: var(--theme); box-shadow: 0 0 0 3px var(--theme-op); }
textarea.form-control { height: auto; padding: 10px 14px; resize: vertical; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); color: #fff; font-size: 15px; font-weight: 600;
  padding: 0 24px; height: 44px; border-radius: 22px; transition: .2s; width: 100%;
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(233,51,35,.35); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-plain {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; border: 1px solid #dcdfe6; color: var(--text-2); font-size: 14px;
  padding: 0 20px; height: 42px; border-radius: 21px; transition: .2s;
}
.btn-plain:hover { border-color: var(--theme); color: var(--theme); }
.btn-outline-red {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--theme); color: var(--theme); font-size: 14px; font-weight: 600;
  padding: 0 20px; height: 40px; border-radius: 20px; transition: .2s;
}
.btn-outline-red:hover { background: var(--theme-op); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 17px; }

/* ============ 登录注册 ============ */
.auth-tabs { display: flex; gap: 20px; margin-bottom: 22px; }
.auth-tab { font-size: 16px; color: var(--text-3); cursor: pointer; padding-bottom: 6px; font-weight: 500; }
.auth-tab.active { color: var(--theme); font-weight: 700; border-bottom: 2px solid var(--theme); }
.auth-tip { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 14px; }
.auth-tip a { color: var(--theme); }
/* 手机号验证码登录：输入框 + 「获取验证码」按钮同一行 */
.sms-row { display: flex; gap: 10px; align-items: center; }
.sms-row .form-control { flex: 1; min-width: 0; }
.btn-sms {
  flex-shrink: 0; height: 42px; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--theme); background: var(--theme-op); color: var(--theme);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-sms:hover:not(:disabled) { background: var(--theme); color: #fff; }
.btn-sms:disabled { opacity: .6; cursor: not-allowed; }

/* ============ 商品详情 ============ */
.detail-layout { display: flex; gap: 28px; padding: 20px 0; align-items: flex-start; }
.detail-gallery { width: 460px; flex-shrink: 0; }
.detail-gallery .dg-main { border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; background: #fafafa; box-shadow: var(--shadow); }
.detail-gallery .dg-main img { width: 100%; height: 100%; object-fit: contain; }
.detail-info { flex: 1; min-width: 0; }
.detail-info .di-title { font-size: 24px; font-weight: 700; line-height: 1.4; }
.detail-info .di-sub { font-size: 14px; color: var(--text-3); margin: 10px 0 16px; }
.price-panel { background: var(--theme-op); border-radius: 10px; padding: 18px 20px; margin-bottom: 20px; }
.price-panel .pp-price { font-size: 32px; font-weight: 800; color: var(--price); }
.price-panel .pp-price small { font-size: 16px; }
.price-panel .pp-meta { display: flex; gap: 20px; margin-top: 8px; font-size: 12px; color: var(--text-2); }
.detail-rows { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.detail-rows .dr-row { display: flex; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.detail-rows .dr-row:last-child { border-bottom: none; }
.detail-rows .dr-label { width: 90px; color: var(--text-3); }
.detail-rows .dr-value { color: var(--text-1); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid #dcdfe6; border-radius: 6px; overflow: hidden; }
.qty-stepper button { width: 34px; height: 36px; font-size: 16px; color: var(--text-2); background: var(--page-bg); }
.qty-stepper input { width: 52px; height: 36px; text-align: center; border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; font-size: 14px; }
.detail-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.detail-actions .btn-primary { width: 200px; height: 48px; }
.detail-actions .btn-outline-red { width: 160px; height: 48px; }
.detail-actions .btn-consult {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 150px; height: 48px; padding: 0 16px; border-radius: 24px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid #8ab4ff; background: #eef4ff; color: #0256FF;
}
.detail-actions .btn-consult:hover { background: #e0ecff; }

/* ============ 商品详情增强 ============ */
.dg-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dg-thumbs img { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: .75; }
.dg-thumbs img.active { border-color: var(--theme); opacity: 1; }
.detail-section { margin-top: 24px; background: #fafafa; border-radius: 12px; padding: 18px 20px; }
.detail-section .ds-head { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.detail-section .ds-bar { width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--grad-start), var(--grad-end)); }
.ds-content { font-size: 14px; line-height: 1.8; color: var(--text-2); white-space: pre-line; overflow-wrap: break-word; }
.ds-content img { max-width: 100%; height: auto; }
.ds-review-empty { text-align: center; color: var(--text-3); padding: 20px; font-size: 13px; }
.review-item { background: #fff; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.ri-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ri-nick { font-weight: 600; }
.ri-stars { letter-spacing: 2px; }
.ri-time { margin-left: auto; color: var(--text-3); font-size: 12px; }
.ri-content { font-size: 13px; color: var(--text-1); line-height: 1.6; margin-top: 8px; white-space: pre-line; overflow-wrap: break-word; }
.ri-images { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ri-images img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.review-badge { font-size: 12px; color: #999; background: #f0f0f0; padding: 3px 10px; border-radius: 12px; }
.logistics-timeline { position: relative; padding-left: 24px; }
.lt-item { position: relative; padding-bottom: 20px; }
.lt-dot { position: absolute; left: -24px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #ccc; }
.lt-item.current .lt-dot { background: var(--theme); box-shadow: 0 0 0 4px var(--theme-op); }
.lt-line { position: absolute; left: -19px; top: 18px; bottom: -2px; width: 2px; background: #eee; }
.lt-item:last-child .lt-line { display: none; }
.lt-status { font-size: 14px; font-weight: 600; color: var(--text-1); }
.lt-item.current .lt-status { color: var(--theme); }
.lt-desc { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.lt-time { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.star-input { display: flex; gap: 6px; }
.star-input .star { font-size: 30px; color: #e0e0e0; cursor: pointer; }
.star-input .star.active { color: #f90; }
.rv-upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-upload-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-img { position: relative; width: 72px; height: 72px; }
.rv-img img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.rv-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rv-upload-btn { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 1px dashed #dcdfe6; border-radius: 8px; color: var(--text-3); font-size: 12px; cursor: pointer; }
.rv-product-info { margin-bottom: 14px; }
.rv-pname { font-size: 14px; font-weight: 600; }

/* ============ 购物车 ============ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; padding: 12px 16px; background: #fafafa; font-size: 13px; color: var(--text-2); font-weight: 500; border-bottom: 1px solid var(--border);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table .cart-product { display: flex; align-items: center; gap: 14px; }
.cart-table .cart-product img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; background: #fafafa; }
.cart-table .cart-product .cp-name { font-size: 14px; font-weight: 600; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-table .cart-product .cp-sub { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.cart-checkbox { width: 20px; height: 20px; accent-color: var(--theme); cursor: pointer; }
.cart-footer-bar {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-radius: 0 0 12px 12px; border-top: 1px solid var(--border);
}
.cart-total { display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--text-2); }
.cart-total strong { font-size: 26px; color: var(--price); font-weight: 800; }
.cart-total small { font-size: 13px; }
.btn-checkout { width: 160px; height: 46px; font-size: 16px; }

/* ============ 结算页 ============ */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.address-card {
  border: 2px solid var(--theme); border-radius: 10px; padding: 18px 20px; background: #fff; position: relative;
}
.address-card .ac-name { font-size: 16px; font-weight: 700; }
.address-card .ac-phone { font-size: 14px; color: var(--text-2); margin-left: 12px; }
.address-card .ac-addr { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.5; }
.address-card .ac-badge { position: absolute; top: 14px; right: 16px; background: var(--theme-op); color: var(--theme); font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.quote-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 20px; margin-top: 20px; }
.quote-card .qc-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.quote-item { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.quote-item:last-child { border-bottom: none; }
.quote-item .qi-label { color: var(--text-2); }
.quote-item .qi-value { font-weight: 600; }
.quote-item .qi-value.used { color: #f90; }
.quote-item .qi-value.remain { color: var(--theme); }
.summary-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 24px; position: sticky; top: 96px; align-self: start; }
.summary-card .sum-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text-2); }
.summary-row.total { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 16px; font-size: 15px; color: var(--text-1); font-weight: 600; }
.summary-row.total strong { font-size: 28px; color: var(--price); font-weight: 800; }

/* ============ 订单 ============ */
.order-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.order-card .oc-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #fafafa; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.order-card .oc-head .oc-no { font-family: monospace; }
.order-status { font-weight: 700; }
.order-status.st-0 { color: #f90; }
.order-status.st-1 { color: #4c9af5; }
.order-status.st-2 { color: #58c08c; }
.order-status.st-3 { color: #58c08c; }
.order-status.st-4 { color: #58c08c; }
.order-status.st-6 { color: #d03050; }
.order-status.st-5 { color: var(--text-3); }
.order-card .oc-body { padding: 16px 20px; }
.order-card .oc-item { display: flex; gap: 14px; padding: 8px 0; }
.order-card .oc-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #fafafa; }
.order-card .oc-item .oi-name { font-size: 14px; font-weight: 600; }
.order-card .oc-item .oi-meta { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.order-card .oc-item .oi-price { margin-left: auto; text-align: right; }
.order-card .oc-item .oi-price .p { font-size: 15px; font-weight: 700; color: var(--text-1); }
.order-card .oc-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.order-card .oc-foot .oc-amount strong { font-size: 18px; color: var(--price); font-weight: 800; }
.order-card .oc-foot .oc-actions { display: flex; gap: 10px; }

/* ============ 用户中心 ============ */
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.profile-side { background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; align-self: start; }
.profile-side .ps-head { background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; padding: 24px 20px; text-align: center; }
.profile-side .ps-avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.profile-side .ps-name { font-size: 16px; font-weight: 700; }
.profile-side .ps-id { font-size: 12px; opacity: .85; margin-top: 4px; }
.profile-side .ps-menu { padding: 10px 0; }
.profile-side .ps-menu-item { display: flex; align-items: center; gap: 10px; padding: 14px 20px; cursor: pointer; font-size: 14px; color: var(--text-1); transition: .2s; }
.profile-side .ps-menu-item:hover { background: var(--theme-op); color: var(--theme); }
.profile-side .ps-menu-item.active { background: var(--theme-op); color: var(--theme); font-weight: 600; border-left: 3px solid var(--theme); }
.profile-side .ps-menu-item .ps-arrow { margin-left: auto; color: var(--text-3); }

/* ============ Toast ============ */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-80px); z-index: 2000;
  background: rgba(40,44,52,.92); color: #fff; padding: 12px 24px; border-radius: 24px; font-size: 14px;
  opacity: 0; transition: all .3s; pointer-events: none; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: rgba(88,192,140,.95); }
.toast.error { background: rgba(233,51,35,.95); }

/* ============ 空状态 ============ */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty-state .empty-icon { font-size: 60px; margin-bottom: 14px; }
.empty-state .empty-text { font-size: 14px; }

/* ============ 页脚 ============ */
.footer { background: #282c34; color: #9aa0aa; margin-top: 40px; }
.footer .container { padding: 36px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .fg-title { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer .fg-item { display: block; padding: 5px 0; font-size: 13px; cursor: pointer; }
.footer .fg-item:hover { color: #fff; }
.footer .copyright { text-align: center; font-size: 12px; padding-top: 18px; color: #666; }
.footer .footer-logo { font-size: 22px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .footer-logo .logo-icon { width: 38px; height: 38px; font-size: 20px; }
.footer .footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { flex-direction: column; }
  .detail-gallery { width: 100%; }
  .checkout-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .hero-banner { padding: 0 40px; }
  .info-1210 .i-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 备案信息栏 ============ */
.beian-bar { text-align: center; font-size: 12px; padding-top: 10px; color: #666; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.beian-bar a { color: #666; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.beian-bar a:hover { color: #fff; }
.beian-bar .beian-icon { font-style: normal; }
.beian-bar .beian-ps { height: 16px; width: auto; display: inline-block; }
/* ============ 收货地址簿 ============ */
.addr-toolbar { margin-bottom: 12px; }
.addr-add-form { background: #f8f9fc; border: 1px dashed #d0d5df; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.addr-add-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; gap: 10px; flex-wrap: wrap; }
.addr-default-check { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.addr-divider { border-top: 1px dashed #e5e8ef; margin: 14px 0 16px; }
.addr-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e5e8ef; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: .15s; }
.addr-card:hover { border-color: var(--theme); box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.addr-card.active { border-color: var(--theme); background: var(--theme-op); }
.addr-card-main { flex: 1; min-width: 0; }
.addr-card-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.addr-tag-default { display: inline-block; background: var(--theme); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 10px; margin-left: 6px; }
.addr-card-tel { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.addr-card-addr { font-size: 13px; color: var(--text-3); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.addr-card-ops { display: flex; flex-direction: column; gap: 8px; flex: none; }
.addr-op { font-size: 12px; color: var(--theme); cursor: pointer; white-space: nowrap; }
.addr-op.danger { color: #e94f37; }
.addr-empty { font-size: 13px; color: var(--text-3); padding: 12px; border: 1px dashed #d0d5df; border-radius: 10px; margin-bottom: 10px; text-align: center; }

/* ===== 清关进度 stepper (A1) ===== */
.clearance-stepper { position: relative; display: flex; padding-top: 2px; }
.clearance-stepper::before { content: ''; position: absolute; top: 14px; left: calc(100% / 7 / 2); right: calc(100% / 7 / 2); height: 2px; background: linear-gradient(90deg, var(--theme) var(--pct, 0%), #e9e9e9 var(--pct, 0%)); }
.cl-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.cl-circle { width: 28px; height: 28px; border-radius: 50%; background: #f2f2f2; border: 2px solid #d9d9d9; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; }
.cl-step.done .cl-circle { background: var(--theme); border-color: var(--theme); }
.cl-step.active .cl-circle { border-color: var(--theme); background: #fff; box-shadow: 0 0 0 4px var(--theme-op); }
.cl-label { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.cl-step.done .cl-label { color: var(--text-1); font-weight: 600; }
.cl-step.active .cl-label { color: var(--theme); font-weight: 700; }
.cl-time { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.clearance-stage-name { background: var(--theme-op); color: var(--theme); border-radius: 12px; padding: 3px 12px; font-size: 12px; font-weight: 600; }
.clearance-push-note { margin-top: 12px; font-size: 12px; color: #8a6d3b; background: #fff8e6; border-radius: 8px; padding: 8px 12px; line-height: 1.6; }


/* ===== B5 收藏 / 足迹 ===== */
.profile-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pc-fav { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; line-height: 26px; text-align: center; background: rgba(255,255,255,.94); border-radius: 50%; font-size: 15px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.16); z-index: 3; user-select: none; transition: transform .15s; }
.pc-fav:hover { transform: scale(1.15); }
.pc-fav.on { background: #ffe3e3; }
.detail-actions .btn-fav { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; height: 42px; padding: 0 16px; border-radius: 21px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid #ffd0d0; background: #fff; color: #d03050; }
.detail-actions .btn-fav:hover { background: #fff4f4; }
.detail-actions .btn-fav.on { background: #d03050; border-color: #d03050; color: #fff; }
#related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.footprint-list { display: flex; flex-direction: column; gap: 12px; }
.fp-item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #f0f0f0; border-radius: 10px; padding: 12px; }
.fp-img { width: 90px; height: 90px; border-radius: 8px; overflow: hidden; background: #fafafa; cursor: pointer; flex-shrink: 0; }
.fp-img img { width: 100%; height: 100%; object-fit: cover; }
.fp-info { flex: 1; min-width: 0; cursor: pointer; }
.fp-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-sub { font-size: 12px; color: #999; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.fp-price { color: #d03050; font-weight: 700; font-size: 14px; }
.fp-time { font-size: 11px; color: #bbb; }
.fp-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fp-toolbar { text-align: right; margin-bottom: 12px; }

/* ============ A3 支付收银台 ============ */
#cashier-modal .modal { width: 520px; }
.cashier-loading { text-align: center; padding: 40px 0; color: var(--text-3); }
.cashier-error { text-align: center; padding: 36px 12px; color: #c0392b; font-size: 14px; line-height: 1.7; }
.cashier-amount { text-align: center; font-size: 40px; font-weight: 800; color: var(--theme); margin: 6px 0 2px; line-height: 1.2; }
.cashier-amount-sub { text-align: center; font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.cashier-order { text-align: center; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.cashier-order span { color: var(--text-1); font-weight: 600; }
.cashier-countdown { text-align: center; font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.cashier-cd { color: var(--theme); font-size: 20px; font-family: Consolas, Monaco, monospace; margin-left: 4px; }
.cashier-qr { display: flex; justify-content: center; margin: 6px 0; }
.cashier-qr canvas { border: 1px solid #f0f0f0; border-radius: 10px; box-shadow: var(--shadow); }
.cashier-tip { text-align: center; font-size: 12px; color: var(--theme); margin: 8px 0 12px; line-height: 1.8; }
.cashier-channels { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.cashier-channel { border: 1px solid #e0e0e0; color: var(--text-2); font-size: 12px; padding: 3px 14px; border-radius: 12px; background: #fafafa; }

/* ============ B4 限时促销 / 优惠券 ============ */
.pc-price-cell{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;}
.pc-flash-badge{display:inline-block;background:linear-gradient(135deg,#ff6b35,#e6342b);color:#fff;font-size:11px;font-weight:700;padding:1px 7px;border-radius:4px;line-height:1.6;vertical-align:middle;}
.pc-price-orig{color:#999;text-decoration:line-through;font-size:12px;font-weight:400;margin-left:2px;}
.pp-price .pp-price-main{font-size:32px;font-weight:800;color:var(--price);line-height:1.15;}
.pp-price .pp-price-main small{font-size:16px;}
.pp-price .pp-price-sub{display:flex;align-items:center;gap:10px;margin-top:8px;}
.pp-price .pp-orig-price{color:#999;text-decoration:line-through;font-size:14px;font-weight:400;}
.cart-price-main{font-weight:700;color:var(--theme);}
.cart-price-orig{color:#999;text-decoration:line-through;font-size:12px;font-weight:400;margin-left:4px;}
.co-coupon-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #f0f0f0;margin-bottom:4px;}
.co-coupon-label{font-size:14px;color:var(--text-1);font-weight:600;}
.co-coupon-select{height:32px;border:1px solid #ddd;border-radius:6px;padding:0 6px;max-width:340px;font-size:13px;background:#fff;}
.coupon-card{display:flex;align-items:center;gap:14px;border:1px solid #f0e0e0;border-radius:12px;padding:16px 18px;margin-bottom:14px;background:linear-gradient(135deg,#fff7f7,#fff);position:relative;overflow:hidden;}
.coupon-card.disabled{opacity:.55;}
.coupon-card.mine{border-color:#e8eef7;}
.coupon-card.used .cc-left{background:#d7dde6;color:#999;}
.coupon-card .cc-left{width:96px;text-align:center;background:linear-gradient(135deg,#ff6b35,#e6342b);color:#fff;border-radius:10px;padding:12px 6px;flex-shrink:0;}
.coupon-card .cc-amount{font-size:26px;font-weight:800;}
.coupon-card .cc-amount span{font-size:13px;}
.coupon-card .cc-type{font-size:11px;opacity:.9;margin-top:2px;}
.coupon-card .cc-right{flex:1;min-width:0;}
.coupon-card .cc-name{font-size:15px;font-weight:700;}
.coupon-card .cc-limit{font-size:13px;color:#666;margin-top:4px;}
.coupon-card .cc-range{font-size:12px;color:#999;margin-top:2px;}
.coupon-card .cc-btn{flex-shrink:0;}
.coupon-card .cc-time{font-size:12px;color:#999;margin-top:2px;}
.co-my-tabs{display:flex;align-items:center;gap:6px;margin-bottom:16px;border-bottom:1px solid #eee;padding-bottom:10px;}
.co-my-tab{padding:6px 16px;border-radius:16px;cursor:pointer;font-size:13px;color:#666;border:1px solid transparent;}
.co-my-tab.active{background:var(--theme-op);color:var(--theme);font-weight:600;border-color:var(--theme);}
.co-goto-center{margin-left:auto;font-size:13px;color:var(--theme);cursor:pointer;}

/* ============ B6 多规格 SKU 选择 ============ */
.spec-sku-chip {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px 10px 4px 0;
  border: 1px solid #d9dee5;
  border-radius: 16px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  background: #fff;
  line-height: 1.4;
  vertical-align: middle;
}
.spec-sku-chip:hover { border-color: var(--theme); color: var(--theme); }
.spec-sku-chip.active { border-color: var(--theme); color: var(--theme); background: var(--theme-op); }
.spec-sku-chip.disabled { color: #bbb; cursor: not-allowed; background: #f7f7f7; }

/* ============ B7 首页装修：Banner 轮播 ============ */
.hero-banner.banner-mode {
  display: block;
  padding: 0;
  height: auto;
  background: transparent;
}
.hero-banner.banner-mode::before,
.hero-banner.banner-mode::after { display: none; }
.pc-banner-track {
  display: flex;
  width: 100%;
  transition: transform .5s ease;
}
.pc-banner-slide {
  flex: 0 0 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pc-banner-slide::after {
  content: '';
  position: absolute; right: -90px; top: -70px; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,.12); pointer-events: none;
}
.pc-bs-content { position: relative; z-index: 2; max-width: 52%; }
.pc-bs-title { font-size: 42px; font-weight: 800; letter-spacing: 2px; line-height: 1.3; }
.pc-bs-tip {
  display: inline-block; font-size: 15px; opacity: .92; margin-top: 18px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 16px; border-radius: 20px;
}
.pc-bs-img {
  position: relative; z-index: 2; height: 230px; max-width: 46%; object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.15));
}
.banner-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 6;
}
.banner-dots i {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5);
  cursor: pointer; transition: all .25s; display: block;
}
.banner-dots i.active { width: 22px; border-radius: 6px; background: #fff; }

/* ============ B7 首页装修：楼层 ============ */
#home-floors .floor-section { margin-bottom: 28px; }
#home-floors .product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  #home-floors .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-banner-slide { padding: 0 40px; }
  .pc-bs-title { font-size: 30px; }
  .pc-bs-img { height: 170px; }
}

/* ============ F3 搜索体验：热词/历史下拉 + 结果排序 (PC) ============ */
.search-wrap { position: relative; flex: 1; max-width: 560px; }
.search-wrap .search-box { width: 100%; max-width: 560px; }
.search-suggest {
  /* 默认隐藏：联想面板是绝对定位的白色卡片，无内容时若仍显示，会在搜索框正下方
     留出一条白色空条并盖住主导航。有热词/历史时由 JS 显式改为 block。 */
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 300;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08); padding: 8px 0; max-height: 360px; overflow: auto;
}
.ss-title { font-size: 12px; color: #999; padding: 6px 16px; display: flex; justify-content: space-between; }
.ss-clear { cursor: pointer; color: var(--text-3); }
.ss-clear:hover { color: var(--theme); }
.ss-chip-row { display: flex; flex-wrap: wrap; padding: 0 10px 6px; }
.ss-chip {
  display: inline-flex; align-items: center; gap: 4px; background: #f5f5f5;
  border-radius: 14px; padding: 4px 11px; font-size: 12px; margin: 4px; cursor: pointer; color: var(--text-2);
}
.ss-chip:hover { background: #fff1f0; color: var(--theme); }
.ss-chip.hot { background: #fff7f5; color: #d24a2a; }
.ss-chip.hot i {
  font-style: normal; color: #fff; background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 8px; width: 15px; height: 15px; line-height: 15px; text-align: center; font-size: 10px; flex-shrink: 0;
}
.pc-list-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px 0 6px; background: #fff; border-radius: 8px; padding: 6px 12px; box-shadow: var(--shadow);
}
.pc-sort-opts { display: flex; gap: 4px; }
.pc-sort-item { padding: 6px 12px; font-size: 13px; color: var(--text-2); border-radius: 6px; cursor: pointer; white-space: nowrap; }
.pc-sort-item:hover { color: var(--theme); }
.pc-sort-item.active { background: var(--theme-op); color: var(--theme); font-weight: 600; }
.pc-result-meta { font-size: 12px; color: #999; }

/* ============ F4 秒杀场次（首页） ============ */
.pc-flash { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; }
.pc-flash .pf-head {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff;
  padding: 16px 22px; display: flex; align-items: center; justify-content: space-between;
}
.pc-flash .pf-title { display: flex; align-items: baseline; gap: 10px; }
.pc-flash .pf-title h3 { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.pc-flash .pf-title span { font-size: 12px; opacity: .85; }
.pc-flash .pf-cd { font-size: 14px; font-weight: 600; background: rgba(255,255,255,.2); padding: 6px 14px; border-radius: 18px; }
.pc-flash .pf-chips { display: flex; gap: 8px; padding: 12px 22px 0; background: #fff; overflow-x: auto; }
.pc-flash .pf-chip {
  flex: 0 0 auto; min-width: 108px; text-align: center; padding: 8px 12px; border-radius: 8px;
  cursor: pointer; background: #f7f7f7; color: var(--text-2); transition: .2s;
}
.pc-flash .pf-chip:hover { background: var(--theme-op); }
.pc-flash .pf-chip.on { background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; }
.pc-flash .pf-chip .n { font-size: 14px; font-weight: 700; white-space: nowrap; }
.pc-flash .pf-chip .t { font-size: 11px; opacity: .85; margin-top: 3px; }
.pc-flash .pf-body { background: #fff; padding: 16px 22px 22px; }
.pc-flash .pf-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pc-flash-card { cursor: pointer; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.pc-flash-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px var(--theme-light); }
.pc-flash-card .pfc-img { position: relative; aspect-ratio: 1/1; background: #fafafa; overflow: hidden; }
.pc-flash-card .pfc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-flash-card .pfc-badge {
  position: absolute; left: 0; top: 8px; background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 0 8px 8px 0;
}
.pc-flash-card .pfc-sold-out {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; text-align: center; padding: 5px 0;
}
.pc-flash-card .pfc-body { padding: 10px 12px 14px; }
.pc-flash-card .pfc-name {
  font-size: 13px; color: var(--text-1); line-height: 1.4; height: 36px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pc-flash-card .pfc-price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.pc-flash-card .pfc-price { font-size: 20px; font-weight: 800; color: var(--price); }
.pc-flash-card .pfc-price small { font-size: 12px; font-weight: 600; }
.pc-flash-card .pfc-orig { font-size: 12px; color: #aaa; text-decoration: line-through; }
.pc-flash-card .pfc-progress { margin-top: 8px; }
.pc-flash-card .pfc-progress .txt { font-size: 11px; color: var(--text-3); display: flex; justify-content: space-between; }
.pc-flash-card .pfc-progress .txt b { color: var(--theme); }
.pc-flash-card .pfc-bar { height: 6px; border-radius: 3px; background: var(--theme-op); margin-top: 4px; overflow: hidden; }
.pc-flash-card .pfc-bar i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); }
.pc-flash-empty { color: var(--text-3); font-size: 13px; padding: 20px 0; text-align: center; }

/* ============ G1 预约（到货预告）(PC) ============ */
.pc-bk-panel { margin: 18px 0; }
.pc-bk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pc-bk-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.pc-bk-card {
  background: #fff; border-radius: var(--card-radius); overflow: hidden;
  box-shadow: var(--shadow); padding-bottom: 12px; text-align: center;
}
.pc-bk-thumb {
  position: relative; padding-top: 100%; background: #fafafa; cursor: pointer; overflow: hidden;
}
.pc-bk-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-bk-thumb-ph {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; font-size: 34px; color: #d8dde5;
}
.pc-bk-tag {
  position: absolute; top: 0; left: 0; max-width: 100%;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 0 0 10px 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-bk-name {
  font-size: 13px; color: var(--text-1); line-height: 1.4; height: 36px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin: 10px 10px 0; text-align: left;
}
.pc-bk-price { font-size: 16px; font-weight: 800; color: var(--price); margin: 6px 10px 0; text-align: left; }
.pc-bk-count { font-size: 11px; color: var(--text-3); margin: 4px 10px 10px; text-align: left; }
.pc-bk-btn {
  display: inline-block; padding: 6px 20px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
}
.pc-bk-btn:hover { background: var(--theme-dark); }
.pc-bk-btn.gray { background: #eceff3; color: var(--text-3); cursor: not-allowed; }
.pc-bk-btn.plain { background: #fff; color: var(--theme); border: 1px solid var(--theme); }

/* 预约中心整页 */
.pc-bk-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(120deg, var(--hero-start), var(--hero-end));
  border-radius: var(--card-radius); padding: 30px 32px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.pc-bk-hero h2 { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 1px; text-shadow: 0 3px 12px rgba(0,44,96,.26); }
.pc-bk-hero p { font-size: 14px; color: rgba(255,255,255,.95); margin-top: 8px; }
.pc-bk-hero-btn {
  flex-shrink: 0; padding: 12px 30px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  box-shadow: 0 8px 20px rgba(0,44,96,.18);
}
.pc-bk-notice {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--card-radius);
  padding: 14px 18px; margin-bottom: 16px; box-shadow: var(--shadow); font-size: 13px; color: var(--text-1);
}
.pc-bk-notice .pc-bk-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; text-align: center; line-height: 22px;
  font-size: 12px; color: #fff; background: var(--theme);
}
.pc-bk-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.pc-bk-tab {
  padding: 8px 24px; border-radius: 999px; font-size: 14px; color: var(--text-2);
  background: #fff; cursor: pointer; box-shadow: var(--shadow);
}
.pc-bk-tab.active { background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; font-weight: 700; }

.pc-bk-row {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--card-radius);
  box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px;
}
.pc-bk-row .pc-bk-thumb { width: 100px; height: 100px; flex-shrink: 0; padding-top: 0; border-radius: 10px; }
.pc-bk-row-info { flex: 1; min-width: 0; }
.pc-bk-row-name { font-size: 15px; font-weight: 600; color: var(--text-1); cursor: pointer; }
.pc-bk-row-name:hover { color: var(--theme); }
.pc-bk-row-sub { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.pc-bk-row-meta { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.pc-bk-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pc-bk-state { font-size: 12px; color: var(--text-2); }
.pc-bk-state b { color: var(--price); }
.pc-bk-row-price { font-size: 18px; font-weight: 800; color: var(--price); flex-shrink: 0; }
.pc-bk-badge {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; color: #fff;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); margin-right: 6px;
}
.pc-bk-empty { text-align: center; padding: 60px 0; color: var(--text-3); font-size: 14px; }

/* 预约提交弹窗 */
.pc-bk-form-item { margin-bottom: 16px; }
.pc-bk-form-item label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.pc-bk-form-static { font-size: 14px; color: var(--text-1); }
.pc-bk-qty { display: flex; align-items: center; gap: 12px; }
.pc-bk-qty span {
  width: 30px; height: 30px; border-radius: 50%; background: #f2f4f7; color: var(--text-1); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.pc-bk-qty b { min-width: 32px; text-align: center; font-size: 16px; }
.pc-bk-qty-tip { font-size: 12px; color: var(--text-3); }
.pc-bk-tip {
  background: #f7f9fc; border-radius: 10px; padding: 12px 14px; font-size: 12px;
  color: var(--text-2); line-height: 1.8; margin-bottom: 16px;
}
