/* 电信宽带商城 - 全站样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f5f7fa;
  font-size: 15px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; }
body { overflow-x: clip; }

:root {
  --blue: #1677ff;
  --blue-dark: #0958d9;
  --orange: #ff7a1a;
  --red: #f5222d;
  --green: #52c41a;
}

/* 顶部通栏 */
.topbar {
  background: #22293c;
  color: #cfd6e4;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar strong { color: #ffd04b; font-size: 15px; letter-spacing: 1px; }

/* 头部 */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 40, 80, 0.08);
  position: sticky; top: 0; z-index: 100;
}
.header .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  height: 72px; display: flex; align-items: center; gap: 40px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 10px; overflow: hidden;
  background: #fff;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.logo .mark img { width: 100%; height: 100%; object-fit: contain; }
.logo small { display: block; font-size: 11px; color: #999; font-weight: 400; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav a {
  padding: 8px 16px; border-radius: 6px; color: #333; font-size: 15px; transition: all .2s;
}
.nav a:hover { color: var(--blue); background: #f0f6ff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.hotline { text-align: right; line-height: 1.2; }
.hotline span { display: block; font-size: 12px; color: #999; }
.hotline b { color: var(--red); font-size: 20px; letter-spacing: .5px; }
.btn-login {
  background: var(--blue); color: #fff; border: none; border-radius: 20px;
  padding: 8px 22px; font-size: 14px; transition: background .2s;
}
.btn-login:hover { background: var(--blue-dark); }
.user-chip { display: none; align-items: center; gap: 8px; font-size: 13px; color: #555; }
.user-chip .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #36cfc9);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.user-chip a { color: var(--blue); cursor: pointer; }

/* 轮播图 */
.carousel {
  max-width: 1200px; margin: 16px auto 0; padding: 0 16px; position: relative;
}
.carousel .viewport {
  border-radius: 12px; overflow: hidden; position: relative;
  height: auto; aspect-ratio: 896 / 475; max-height: 660px; background: #16233f;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.75); border: none; font-size: 18px; color: #333;
  display: flex; align-items: center; justify-content: center; z-index: 5;
  opacity: 0; transition: opacity .2s;
}
.carousel:hover .arrow { opacity: 1; }
.carousel .arrow.prev { left: 16px; }
.carousel .arrow.next { right: 16px; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.dots i {
  width: 10px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.6);
  cursor: pointer; transition: all .25s;
}
.dots i.active { width: 26px; background: #fff; }

/* 通用区块 */
.section { max-width: 1200px; margin: 44px auto 0; padding: 0 16px; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head h2 { font-size: 26px; color: #1f2d3d; }
.section-head h2 em { color: var(--blue); font-style: normal; }
.section-head p { color: #8a94a6; font-size: 14px; margin-top: 6px; }
.section-head::after {
  content: ""; display: block; width: 46px; height: 3px; border-radius: 2px;
  background: var(--blue); margin: 12px auto 0;
}

/* 商品分类 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: #fff; border-radius: 12px; padding: 26px 20px; text-align: center;
  border: 1px solid #eef1f6; transition: all .25s; cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(22,119,255,.12); border-color: #d6e7ff; }
.cat-card .icon { font-size: 34px; margin-bottom: 10px; }
.cat-card h3 { font-size: 17px; color: #1f2d3d; margin-bottom: 4px; }
.cat-card p { font-size: 13px; color: #8a94a6; }

/* 热门商品 */
.filter-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.filter-bar button {
  border: 1px solid #d9e2ef; background: #fff; border-radius: 18px;
  padding: 6px 20px; font-size: 14px; color: #555; transition: all .2s;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #eef1f6;
  transition: all .25s; display: flex; flex-direction: column; position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(22,119,255,.14); }
.product-card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, #ff7a1a, #ff4d4f); color: #fff;
  font-size: 12px; padding: 3px 10px; border-radius: 12px;
}
.product-card .pic { height: auto; aspect-ratio: 1 / 1; background: #f7f9fc; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.product-card .info { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 18px; color: #1f2d3d; }
.product-card .sub { font-size: 13px; color: #8a94a6; margin: 4px 0 10px; }
.product-card .price { color: var(--red); font-weight: 700; }
.product-card .price .num { font-size: 28px; }
.product-card .price .unit { font-size: 13px; color: #999; font-weight: 400; }
.product-card ul { list-style: none; margin: 12px 0 16px; flex: 1; }
.product-card ul li {
  font-size: 13px; color: #55627a; padding: 3px 0 3px 22px; position: relative;
}
.product-card ul li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700;
}
.product-card .actions { display: flex; gap: 10px; }
.btn-booking {
  flex: 1; background: linear-gradient(135deg, var(--orange), #ff4d4f); color: #fff;
  border: none; border-radius: 8px; padding: 10px 0; font-size: 15px; font-weight: 600;
}
.btn-booking:hover { filter: brightness(1.06); }
.btn-detail {
  flex: 1; background: #fff; color: var(--blue); border: 1px solid var(--blue);
  border-radius: 8px; padding: 10px 0; font-size: 15px;
}
.btn-detail:hover { background: #f0f6ff; }

/* 促销活动 */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  border-radius: 14px; padding: 26px 24px; color: #fff; position: relative; overflow: hidden;
  min-height: 170px; display: flex; flex-direction: column; justify-content: center;
}
.promo-card h3 { font-size: 20px; margin-bottom: 8px; }
.promo-card p { font-size: 13px; opacity: .92; }
.promo-card .tag {
  display: inline-block; background: rgba(255,255,255,.22); border-radius: 14px;
  padding: 2px 12px; font-size: 12px; margin-bottom: 10px; width: fit-content;
}
.promo-1 { background: linear-gradient(135deg, #1677ff, #36cfc9); }
.promo-2 { background: linear-gradient(135deg, #ff7a1a, #ffb200); }
.promo-3 { background: linear-gradient(135deg, #5b2fc7, #9254de); }
.promo-card .deco {
  position: absolute; right: -20px; bottom: -20px; font-size: 110px; opacity: .18;
}
.promo-countdown {
  margin-top: 10px; font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: center;
}
.promo-countdown b {
  background: rgba(255,255,255,.25); border-radius: 6px; padding: 2px 8px; font-variant-numeric: tabular-nums;
}

/* 服务保障 */
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-card {
  background: #fff; border-radius: 12px; border: 1px solid #eef1f6;
  padding: 22px 18px; text-align: center;
}
.g-card .icon { font-size: 30px; margin-bottom: 8px; }
.g-card h4 { font-size: 16px; color: #1f2d3d; margin-bottom: 4px; }
.g-card p { font-size: 13px; color: #8a94a6; }

/* 在线申请 */
.apply-wrap {
  background: #fff; border-radius: 14px; border: 1px solid #eef1f6;
  padding: 30px 34px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start;
}
.apply-side h3 { font-size: 22px; color: #1f2d3d; margin-bottom: 10px; }
.apply-side p { color: #66718a; font-size: 14px; margin-bottom: 16px; }
.apply-side .phone-big { display: inline-block; font-size: 30px; color: var(--red); font-weight: 800; letter-spacing: 1px; }
.apply-side .phone-label { font-size: 13px; color: #999; }
.license-card {
  display: none; /* 应要求暂时隐藏标识牌，恢复时删除此行即可 */
  margin-top: 22px; max-width: 330px; background: #fff;
  border: 1px solid #e6ecf5; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 40, 80, .08);
}
.license-card img { width: 100%; display: block; cursor: zoom-in; }
.license-tip {
  font-size: 12px; color: #a0aab8; text-align: center;
  padding: 7px 0 9px; background: #f7f9fc; border-top: 1px solid #eef2f8;
}

/* 图片放大查看器 */
.img-viewer {
  display: none; position: fixed; inset: 0; background: rgba(10, 18, 35, .84);
  z-index: 1000; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.img-viewer.show { display: flex; }
.img-viewer img {
  max-width: 100%; max-height: 92vh; border-radius: 10px; background: #fff;
  box-shadow: 0 16px 56px rgba(0, 0, 0, .5);
}
.img-viewer-close {
  position: absolute; top: 14px; right: 26px; color: #fff;
  font-size: 30px; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 13px; color: #55627a; }
.form-item label i { color: var(--red); font-style: normal; margin-right: 2px; }
.form-item input, .form-item select, .form-item textarea {
  border: 1px solid #d9e2ef; border-radius: 8px; padding: 10px 12px; outline: none; transition: border .2s;
  background: #fbfcfe;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--blue); background: #fff; }
.btn-submit {
  grid-column: 1 / -1; background: linear-gradient(135deg, var(--blue), #36cfc9);
  color: #fff; border: none; border-radius: 8px; padding: 13px 0; font-size: 16px; font-weight: 600;
}
.btn-submit:hover { filter: brightness(1.06); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-tip { grid-column: 1 / -1; font-size: 12px; color: #a0aab8; text-align: center; }
.msg-tip { grid-column: 1 / -1; padding: 10px 14px; border-radius: 8px; font-size: 13px; display: none; }
.msg-tip.ok { display: block; background: #f0fff0; color: var(--green); border: 1px solid #b7eb8f; }
.msg-tip.err { display: block; background: #fff2f0; color: var(--red); border: 1px solid #ffccc7; }

/* 页脚 */
.footer { background: #22293c; color: #8f9ab0; margin-top: 56px; padding: 40px 0 24px; }
.footer .inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #e6ecf5; font-size: 16px; margin-bottom: 12px; }
.footer p, .footer li { font-size: 13px; padding: 3px 0; list-style: none; }
.footer .contact-phone { color: #ffd04b; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.footer .copyright { border-top: 1px solid #333c52; margin-top: 28px; padding-top: 18px; text-align: center; font-size: 12px; color: #67718a; }

/* 登录弹窗 */
.modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(15, 25, 45, .55);
  z-index: 500; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 16px; width: 420px; max-width: 100%;
  padding: 28px 30px; position: relative; max-height: 92vh; overflow-y: auto;
}
.modal .close {
  position: absolute; top: 14px; right: 16px; border: none; background: none;
  font-size: 20px; color: #999;
}
.modal h3 { text-align: center; font-size: 20px; color: #1f2d3d; margin-bottom: 4px; }
.modal .modal-sub { text-align: center; font-size: 13px; color: #999; margin-bottom: 18px; }
.auth-tabs { display: flex; border-bottom: 1px solid #eef1f6; margin-bottom: 18px; }
.auth-tabs button {
  flex: 1; background: none; border: none; padding: 10px 0; font-size: 14px; color: #667;
  border-bottom: 2px solid transparent;
}
.auth-tabs button.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.auth-pane { display: none; flex-direction: column; gap: 12px; }
.auth-pane.show { display: flex; }
.auth-pane input {
  border: 1px solid #d9e2ef; border-radius: 8px; padding: 11px 12px; outline: none; background: #fbfcfe;
}
.auth-pane input:focus { border-color: var(--blue); background: #fff; }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.otp-row button {
  white-space: nowrap; border: 1px solid var(--blue); color: var(--blue); background: #fff;
  border-radius: 8px; padding: 0 14px; font-size: 13px;
}
.otp-row button:disabled { border-color: #ccc; color: #999; }
.auth-pane .primary {
  background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 12px 0;
  font-size: 15px; font-weight: 600;
}
.auth-pane .primary:disabled { opacity: .6; }
.auth-pane .link-row { display: flex; justify-content: space-between; font-size: 12px; color: #8a94a6; }
.auth-pane .link-row a { color: var(--blue); cursor: pointer; }
.auth-msg { font-size: 13px; display: none; padding: 9px 12px; border-radius: 8px; }
.auth-msg.ok { display: block; background: #f0fff0; color: var(--green); border: 1px solid #b7eb8f; }
.auth-msg.err { display: block; background: #fff2f0; color: var(--red); border: 1px solid #ffccc7; }
.auth-note { font-size: 12px; color: #a0aab8; text-align: center; margin-top: 6px; }

/* 商品详情弹窗 */
.detail-body { font-size: 14px; color: #55627a; }
.detail-body h4 { margin: 12px 0 6px; color: #1f2d3d; }
.detail-body ul { list-style: none; }
.detail-body ul li { padding: 3px 0; }
.detail-body .detail-img {
  width: 100%; border: 1px solid #eef1f6; border-radius: 10px;
  margin: 4px 0 6px; display: block;
}

/* toast */
#toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  background: rgba(20,30,50,.88); color: #fff; padding: 10px 22px; border-radius: 20px;
  font-size: 14px; z-index: 900; display: none; max-width: 80vw;
}

/* 手机底部快捷操作条（仅移动端显示） */
.mobile-bar { display: none; }

/* ================= 平板（<=1024px） ================= */
@media (max-width: 1024px) {
  .header .inner { gap: 20px; }
  .logo { font-size: 20px; }
  .nav a { padding: 8px 12px; font-size: 14px; }
  .product-card .pic { height: auto; }
  .apply-wrap { padding: 26px 24px; gap: 26px; }
}

/* ================= 手机（<=768px） ================= */
@media (max-width: 768px) {
  body { font-size: 14px; -webkit-text-size-adjust: 100%; padding-bottom: 62px; }
  section[id] { scroll-margin-top: 112px; }

  /* 顶部通栏：只保留电话 */
  .topbar { padding: 6px 0; font-size: 12px; }
  .topbar .inner { padding: 0 12px; justify-content: center; }
  .topbar .inner > span:first-child { display: none; }
  .topbar strong { font-size: 14px; }

  /* 头部：logo + 报装电话，导航横向滚动 */
  .header .inner {
    flex-wrap: wrap; height: auto; padding: 8px 12px; gap: 8px 10px;
    align-items: center;
  }
  .logo { font-size: 17px; gap: 8px; flex: 1; min-width: 0; }
  .logo .mark, .logo .mark svg, .logo .mark img { width: 34px; height: 34px; }
  .logo small { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logo > span:last-child { min-width: 0; }
  .hotline { text-align: right; flex: none; }
  .hotline span { display: none; }
  .hotline b { font-size: 15px; }
  .header-actions { gap: 8px; }
  .btn-login { padding: 7px 14px; font-size: 13px; border-radius: 16px; white-space: nowrap; }
  .user-chip { font-size: 12px; }
  .user-chip span:not(.avatar) { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav {
    order: 3; width: 100%; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 12px; font-size: 13px; white-space: nowrap; flex: none; }

  /* 轮播图：按原图比例完整显示 + 支持滑动 */
  .carousel { margin-top: 12px; padding: 0 12px; }
  .carousel .viewport { border-radius: 10px; height: auto; aspect-ratio: 896 / 475; }
  .slide img { object-fit: cover; }
  .carousel .arrow { opacity: 1; width: 34px; height: 34px; font-size: 16px; background: rgba(255,255,255,.82); }
  .carousel .arrow.prev { left: 8px; }
  .carousel .arrow.next { right: 8px; }
  .dots { bottom: 8px; gap: 6px; }
  .dots i { width: 7px; height: 7px; border-radius: 4px; }
  .dots i.active { width: 18px; }

  /* 区块间距与标题 */
  .section { margin-top: 30px; padding: 0 12px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 20px; }
  .section-head p { font-size: 12.5px; padding: 0 4px; }
  .section-head::after { width: 38px; margin-top: 9px; }

  /* 分类：两列 */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 18px 10px; border-radius: 10px; }
  .cat-card .icon { font-size: 26px; margin-bottom: 6px; }
  .cat-card h3 { font-size: 14.5px; }
  .cat-card p { font-size: 12px; }
  /* 触屏不做位移悬停 */
  .cat-card:hover, .product-card:hover { transform: none; box-shadow: none; }

  /* 商品 */
  .filter-bar { gap: 8px; margin-bottom: 16px; }
  .filter-bar button { padding: 6px 16px; font-size: 13px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { border-radius: 12px; }
  .product-card .pic { height: auto; aspect-ratio: 1 / 1; background: #f7f9fc; }
  .product-card .pic img { object-fit: contain; }
  .product-card .info { padding: 14px 14px 16px; }
  .product-card h3 { font-size: 16.5px; }
  .product-card .price .num { font-size: 24px; }
  .product-card ul { margin: 10px 0 14px; }
  .product-card ul li { font-size: 12.5px; padding: 2px 0 2px 20px; }
  .product-card .actions { gap: 8px; }
  .btn-booking, .btn-detail { padding: 12px 0; font-size: 14.5px; }

  /* 促销活动 */
  .promo-grid { grid-template-columns: 1fr; gap: 14px; }
  .promo-card { padding: 20px 18px; min-height: auto; border-radius: 12px; }
  .promo-card h3 { font-size: 17px; }
  .promo-card .deco { font-size: 78px; right: -12px; bottom: -14px; }
  .promo-countdown { font-size: 13px; }

  /* 服务保障：两列 */
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-card { padding: 16px 10px; border-radius: 10px; }
  .g-card .icon { font-size: 24px; margin-bottom: 6px; }
  .g-card h4 { font-size: 14px; }
  .g-card p { font-size: 11.5px; line-height: 1.5; }

  /* 在线申请 */
  .apply-wrap { grid-template-columns: 1fr; padding: 18px 14px; gap: 20px; border-radius: 12px; }
  .apply-side h3 { font-size: 18px; }
  .apply-side p { font-size: 13px; }
  .apply-side .phone-big { font-size: 26px; }
  .license-card { max-width: 100%; margin-top: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-item input, .form-item select, .form-item textarea {
    font-size: 16px;  /* 避免 iOS 聚焦时自动放大 */
    padding: 11px 12px;
  }
  .form-item textarea { font-size: 15px; }
  .btn-submit { padding: 13px 0; font-size: 16px; }

  /* 页脚 */
  .footer { margin-top: 34px; padding: 26px 0 20px; }
  .footer .inner { grid-template-columns: 1fr; gap: 18px; padding: 0 14px; text-align: center; }
  .footer h4 { font-size: 15px; margin-bottom: 8px; }
  .footer .contact-phone { font-size: 20px; }
  .footer .copyright { margin-top: 20px; padding: 14px 14px 0; font-size: 11.5px; line-height: 1.7; }

  /* 弹窗：手机上宽高自适应、内容区可滚动 */
  .modal-mask { padding: 12px; align-items: flex-end; }
  .modal {
    width: 100%; max-width: 100%; border-radius: 14px;
    padding: 22px 16px 20px; max-height: 88vh;
  }
  .modal h3 { font-size: 18px; }
  .modal .modal-sub { font-size: 12px; margin-bottom: 14px; }
  .modal .close { top: 10px; right: 12px; font-size: 22px; padding: 4px 8px; }
  .auth-tabs button { font-size: 13.5px; padding: 9px 0; }
  .auth-pane input { font-size: 16px; padding: 12px; }
  .otp-row button { padding: 0 12px; font-size: 13px; }
  .auth-pane .primary { padding: 13px 0; font-size: 15.5px; }
  .detail-body { font-size: 13.5px; }
  .detail-body h4 { margin: 14px 0 6px; font-size: 15px; }
  .detail-body .detail-img { border-radius: 8px; }
  #toast { top: auto; bottom: 84px; font-size: 13px; max-width: 88vw; }

  /* 底部快捷操作条 */
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: rgba(255,255,255,.97); border-top: 1px solid #e8edf5;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 10px; box-shadow: 0 -4px 16px rgba(20,40,80,.08);
  }
  .mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 10px; padding: 12px 0; font-size: 15px; font-weight: 600;
  }
  .mobile-bar .mb-call { background: #f0f6ff; color: var(--blue); border: 1px solid #cfe2ff; }
  .mobile-bar .mb-apply { background: linear-gradient(135deg, var(--orange), #ff4d4f); color: #fff; }
}

/* ================= 小屏手机（<=380px） ================= */
@media (max-width: 380px) {
  .logo { font-size: 15.5px; }
  .logo .mark, .logo .mark svg, .logo .mark img { width: 30px; height: 30px; }
  .btn-login { padding: 6px 12px; font-size: 12.5px; }
  .section-head h2 { font-size: 18px; }
  .cat-card h3 { font-size: 13.5px; }
  .product-card h3 { font-size: 15.5px; }
  .apply-side .phone-big { font-size: 23px; }
  .promo-card h3 { font-size: 15.5px; }
  .mobile-bar a { font-size: 14px; }
}
