/* ============================================================
   店铺中心 / 代理加盟 布局（2026-10-17）
   与 v29 橙蓝主题一致：主橙 #FF6A00 / 深蓝墨 #16213E / 暖白 #FAF6F0
   ============================================================ */

/* ---------- 通用按钮 ---------- */
.sa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 9px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.sa-btn.primary { background: linear-gradient(135deg, #FF8A3D 0%, #FF6A00 55%, #F25C05 100%); color: #fff; box-shadow: 0 6px 16px rgba(242, 92, 5, .28); }
.sa-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242, 92, 5, .36); color: #fff; }
.sa-btn.ghost { background: #fff; color: #C25A08; border-color: #FFD9BA; }
.sa-btn.ghost:hover { background: #FFF3E8; color: #F25C05; }
.sa-btn.navy { background: #16213E; color: #fff; }
.sa-btn.navy:hover { background: #1B2A4A; color: #fff; transform: translateY(-2px); }
.sa-btn.sm { min-height: 36px; padding: 7px 13px; font-size: 13px; border-radius: 9px; }

/* ---------- 首页：店铺区 ---------- */
.sa-sec { margin-top: 30px; }
.sa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sa-head h2 { margin: 0; }
.sa-head .more { font-size: 13.5px; color: #B09A85; text-decoration: none; white-space: nowrap; }
.sa-head .more:hover { color: #FF6A00; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.shop-card {
  position: relative; background: #fff; border: 1px solid #F3E3D4; border-radius: 14px;
  padding: 18px 18px 16px; box-shadow: 0 6px 24px rgba(232, 106, 26, .07);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.shop-card:hover { transform: translateY(-4px); border-color: #FFCFA8; box-shadow: 0 12px 32px rgba(232, 106, 26, .16); }
.shop-card::after {
  content: ""; position: absolute; right: -46px; top: -46px; width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, .16), rgba(255, 138, 61, 0) 68%); pointer-events: none;
}
.shop-top { display: flex; align-items: center; gap: 12px; }
.shop-ico {
  width: 48px; height: 48px; border-radius: 13px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  background: linear-gradient(135deg, #FFF0E2, #FFE1C6); border: 1px solid #FFD2AE;
}
.shop-ico img { width: 34px; height: 34px; object-fit: contain; border-radius: 7px; }
.shop-top-txt { flex: 1 1 auto; min-width: 0; }
.shop-top-txt b { display: block; font-size: 16px; color: #1F2430; line-height: 1.35; }
.shop-top-txt span { display: block; font-size: 12.5px; color: #8A7A6A; margin-top: 3px; }
.shop-tag { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; color: #C25A08; background: #FFF3E8; border: 1px solid #FFD9BA; border-radius: 999px; padding: 3px 10px; }
.shop-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.shop-points li { font-size: 12.5px; color: #6B7484; display: flex; align-items: center; gap: 5px; }
.shop-points li::before { content: "✓"; color: #FF6A00; font-weight: 800; font-size: 12px; }
.shop-acts { display: flex; gap: 9px; flex-wrap: wrap; margin-top: auto; }
.shop-acts .sa-btn { flex: 1 1 42%; }
.shop-empty { border-style: dashed; background: #FFFBF6; }
.shop-empty .shop-ico { background: #F4F6FA; border-color: #E3E8F2; }

/* ---------- 首页：代理区 ---------- */
.agent-panel {
  position: relative; overflow: hidden; border-radius: 18px; padding: 30px 32px 28px;
  background:
    radial-gradient(700px 280px at 88% -30%, rgba(255, 138, 61, .32), transparent 62%),
    radial-gradient(520px 240px at -6% 120%, rgba(255, 106, 0, .22), transparent 60%),
    linear-gradient(135deg, #16213E 0%, #1B2A4A 58%, #22335A 100%);
  color: #fff; box-shadow: 0 18px 44px rgba(22, 33, 62, .26);
}
.agent-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px;
}
.agent-in { position: relative; z-index: 1; }
.agent-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 106, 0, .18); border: 1px solid rgba(255, 138, 61, .55); color: #FFC79C; border-radius: 999px; padding: 4px 13px; font-size: 12.5px; font-weight: 600; letter-spacing: .5px; }
.agent-panel h2 { margin: 14px 0 8px; font-size: 25px; font-weight: 800; letter-spacing: .5px; line-height: 1.4; }
.agent-panel h2 em { font-style: normal; color: #FFB06B; }
.agent-panel p { margin: 0; font-size: 14px; line-height: 1.85; color: #D6DEEE; max-width: 760px; }
.agent-nums { display: flex; gap: 34px; flex-wrap: wrap; margin: 20px 0 4px; padding: 16px 0 2px; border-top: 1px solid rgba(255, 255, 255, .16); }
.agent-nums b { display: block; font-size: 21px; font-weight: 800; color: #FFB06B; letter-spacing: .5px; }
.agent-nums span { font-size: 12.5px; color: #AEB9CE; letter-spacing: .5px; }
.agent-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 2px; }
.agent-steps span { font-size: 12.5px; color: #E6ECF7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px 12px; }
.agent-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 640px) {
  .agent-panel { padding: 22px 18px; border-radius: 14px; }
  .agent-panel h2 { font-size: 19.5px; }
  .agent-nums { gap: 20px; }
  .agent-nums b { font-size: 18px; }
}

/* ---------- 店铺中心页 ---------- */
.sa-hero {
  position: relative; overflow: hidden; border-radius: 18px; padding: 34px 34px 32px; margin: 18px 0 28px;
  background:
    radial-gradient(760px 300px at 88% -30%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(520px 240px at -8% 120%, rgba(255, 214, 178, .34), transparent 60%),
    linear-gradient(135deg, #FF8A3D 0%, #FF6A00 48%, #F25C05 100%);
  color: #fff; box-shadow: 0 18px 44px rgba(242, 92, 5, .26);
}
.sa-hero::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.sa-hero-in { position: relative; z-index: 1; max-width: 780px; }
.sa-hero .sa-kicker { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 4px 13px; font-size: 12.5px; letter-spacing: .5px; }
.sa-hero h1 { margin: 14px 0 9px; font-size: 30px; line-height: 1.4; font-weight: 800; letter-spacing: .5px; }
.sa-hero h1 em { font-style: normal; color: #FFF0DC; }
.sa-hero p { margin: 0; font-size: 14.5px; line-height: 1.85; color: #FFF3E8; }
.sa-hero .sa-hero-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.sa-hero .sa-btn.white { background: #fff; color: #E04E00; }
.sa-hero .sa-btn.line { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }

.sa-block { margin-top: 26px; }
.sa-block > h2 { font-size: 20px; font-weight: 800; color: #1F2430; margin: 0 0 14px; padding-left: 12px; border-left: 4px solid #FF6A00; line-height: 1.3; }
.sa-note { background: #FFFBF5; border: 1px solid #F3E3D4; border-radius: 12px; padding: 16px 18px; }
.sa-note b { display: block; color: #1F2430; font-size: 14.5px; margin-bottom: 6px; }
.sa-note span, .sa-note li { font-size: 13.5px; color: #6B7484; line-height: 1.9; }
.sa-note ul { margin: 0; padding-left: 18px; }

/* 代理页通道卡 */
.ag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ag-card { background: #fff; border: 1px solid #F3E3D4; border-radius: 14px; padding: 20px; box-shadow: 0 6px 24px rgba(232, 106, 26, .07); display: flex; flex-direction: column; gap: 12px; }
.ag-card.hot { border-color: #FFC79C; box-shadow: 0 10px 30px rgba(242, 92, 5, .14); }
.ag-card-top { display: flex; align-items: center; gap: 12px; }
.ag-card-ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #FFF0E2, #FFE1C6); border: 1px solid #FFD2AE; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.ag-card-top b { display: block; font-size: 16px; color: #1F2430; }
.ag-card-top span { display: block; font-size: 12.5px; color: #8A7A6A; margin-top: 2px; }
.ag-card p { margin: 0; font-size: 13.5px; color: #6B7484; line-height: 1.85; }
.ag-card .ag-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ag-card .ag-points li { font-size: 13px; color: #4A5364; display: flex; gap: 7px; align-items: flex-start; }
.ag-card .ag-points li::before { content: "●"; color: #FF8A3D; font-size: 9px; line-height: 1.9; }
.ag-card-acts { display: flex; gap: 9px; flex-wrap: wrap; margin-top: auto; }
.ag-card-acts .sa-btn { flex: 1 1 42%; }

/* 代理四步 */
.ag-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: ags; }
.ag-step { position: relative; background: #fff; border: 1px solid #F3E3D4; border-radius: 12px; padding: 18px 16px 16px 52px; counter-increment: ags; box-shadow: 0 4px 16px rgba(232, 106, 26, .05); }
.ag-step::before { content: counter(ags); position: absolute; left: 16px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #FF8A3D, #F25C05); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ag-step b { display: block; font-size: 15px; color: #1F2430; margin-bottom: 5px; }
.ag-step span { font-size: 13px; color: #6B7484; line-height: 1.8; }

/* 权益网格 */
.ag-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ag-benefit { background: #fff; border: 1px solid #F3E3D4; border-radius: 12px; padding: 16px 18px; }
.ag-benefit i { font-style: normal; font-size: 20px; display: block; margin-bottom: 7px; }
.ag-benefit b { display: block; font-size: 14.5px; color: #1F2430; margin-bottom: 5px; }
.ag-benefit span { font-size: 13px; color: #6B7484; line-height: 1.8; }

/* FAQ */
.sa-faq details { background: #fff; border: 1px solid #F3E3D4; border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.sa-faq summary { cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 700; color: #1F2430; padding: 15px 26px 15px 0; position: relative; }
.sa-faq summary::-webkit-details-marker { display: none; }
.sa-faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; color: #FF6A00; font-size: 19px; font-weight: 700; }
.sa-faq details[open] summary::after { content: "−"; }
.sa-faq p { margin: 0 0 15px; font-size: 13.5px; color: #5A6472; line-height: 1.9; }

/* 底部 CTA */
.sa-cta { margin: 30px 0 10px; border-radius: 16px; padding: 26px 28px; background: linear-gradient(135deg, #16213E, #22335A); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sa-cta b { display: block; font-size: 19px; margin-bottom: 5px; }
.sa-cta span { font-size: 13.5px; color: #C7D0E0; }
.sa-cta .sa-cta-acts { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .sa-hero { padding: 24px 18px; border-radius: 14px; }
  .sa-hero h1 { font-size: 22px; }
  .sa-head h2 { font-size: 18px; }
  .shop-acts .sa-btn, .ag-card-acts .sa-btn { flex: 1 1 100%; }
  .sa-cta { padding: 20px 18px; }
}
