/* New Edisons 商城 — Apple 清新风格 + 响应式 */
@import url('mall-responsive.css');

:root {
  --brand-logo-green: #249d35;
  --brand-logo-green-hover: #1e8530;
  --brand-logo-green-soft: rgba(36, 157, 53, 0.12);
  --brand-logo-green-mint: #3da852;
  --mall-primary: #249d35;
  --mall-primary-hover: #1e8530;
  --mall-primary-soft: rgba(36, 157, 53, 0.12);
  --mall-accent: #249d35;
  --mall-accent-hover: #1e8530;
  --mall-accent-soft: rgba(36, 157, 53, 0.12);
  --mall-mint: #3da852;
  --mall-price: #03125e;
  --mall-bg: #f3f6fc;
  --mall-bg-subtle: #e7edf8;
  --mall-bg-hover: #eef3fb;
  --mall-bg-elevated: #ffffff;
  --mall-card: #ffffff;
  --mall-theme: #249d35;
  --mall-theme-light: rgba(36, 157, 53, 0.12);
  --mall-text: #03125e;
  --mall-text-secondary: #3a4d7a;
  --mall-text-muted: #5a6d96;
  --mall-border: rgba(3, 18, 94, 0.1);
  --mall-border-strong: rgba(3, 18, 94, 0.16);
  --mall-radius: 14px;
  --mall-radius-lg: 18px;
  --mall-radius-sm: 10px;
  --mall-radius-pill: 980px;
  --mall-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --mall-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --mall-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
  --mall-blur: saturate(180%) blur(20px);
  --mall-header-h: 52px;
  --mall-utility-bar-h: calc(48px + env(safe-area-inset-top, 0px));
  --mall-home-top-h: 140px;
  --mall-tabbar-h: 56px;
  --mall-sidebar-w: 240px;
  --mall-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mall-safe-top: env(safe-area-inset-top, 0px);
  --mall-site-gutter: 32px;
  --mall-site-max: 1240px;
  --mall-site-width: min(calc(100% - var(--mall-site-gutter)), var(--mall-site-max));
  --mall-content-max: var(--mall-site-max);
  --mall-transition: 0.22s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (min-width: 960px) {
  :root {
    --mall-site-gutter: 28px;
    --mall-site-max: 1280px;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: var(--mall-bg);
  color: var(--mall-text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  color: inherit;
}

/* ========== 全站顶栏（语言 / 主题 / 登录） ========== */
.mall-sidebar,
.mall-topnav {
  display: none !important;
}

.mall-utility-bar {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--mall-blur);
  -webkit-backdrop-filter: var(--mall-blur);
  border-bottom: 1px solid var(--mall-border);
  padding-top: env(safe-area-inset-top, 0px);
}

.mall-utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: var(--mall-site-width);
  max-width: none;
  margin: 0 auto;
  padding: 8px 0;
}

.mall-utility-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #0b2435;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.mall-utility-brand span {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.mall-utility-brand:hover {
  color: var(--mall-accent);
}

.mall-utility-brand:hover span {
  color: inherit;
}

.mall-utility-spacer {
  display: none;
}

.mall-utility-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mall-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mall-border);
  border-radius: 10px;
  background: var(--mall-bg-elevated, #fff);
  color: var(--mall-text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.mall-icon-btn:hover {
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.04));
}

.mall-utility-auth {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--mall-border);
  background: var(--mall-bg-elevated, #fff);
  color: var(--mall-text);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.mall-utility-auth:hover {
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.04));
}

.mall-utility-auth--in {
  color: var(--mall-accent);
  border-color: rgba(0, 113, 227, 0.25);
}

.mall-utility-auth--icon {
  width: 36px;
  padding: 0;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

body.has-utility-bar .profile-page .lang-btn {
  display: none;
}

/* ========== New Edisons homepage ========== */
body.mall-home-page {
  background: #f5f5f7;
}

body.mall-home-page .mall-page {
  background: #f5f5f7;
}

.ne-home-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #0b2435;
  text-decoration: none;
}

.ne-home-logo {
  height: 25px;
  width: auto;
  max-width: 32px;
  object-fit: contain;
  display: block;
}

.ne-home-brand span {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 899px) {
  .ne-home-brand span {
    font-size: 15px;
  }
}

.mall-home-page .mall-ai-journey-banner,
.mall-home-page .mall-ai-page-prompts,
.mall-ai-journey-banner,
.mall-ai-page-prompts,
.mall-ai-fab,
#mallAiFab {
  /* AI stays embedded in task surfaces so it never obscures payment or form actions. */
  display: none !important;
}

.mall-home-composer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 350;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--mall-bg, #f5f5f7) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--mall-border);
  transition:
    box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.42s ease;
}

.mall-home-composer--has-session {
  cursor: pointer;
}

.mall-home-composer--pending .mall-search--composer {
  border: 1px solid rgba(0, 113, 227, 0.14);
}

.mall-home-composer--has-session .mall-search--composer {
  border: 1px solid rgba(0, 113, 227, 0.18);
  box-shadow: 0 2px 12px rgba(0, 113, 227, 0.08);
}

.mall-home-page,
.mall-ai-composer-page {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

body.mall-ai-composer-page:not(.mall-home-page) .mall-page {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

.mall-search-wrap--bottom {
  position: relative;
  max-width: 1536px;
  margin: 0 auto;
}

.mall-search--composer {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mall-search-dropdown--up {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  margin-top: 0;
  z-index: 20;
}

.mall-home-page .mall-back-top {
  bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 8px);
}

@media (max-width: 767px) {
  .mall-mobile-ai-composer {
    z-index: 360;
  }

  body.mall-ai-composer-page .mall-page,
  body.mall-ai-composer-page.mall-home-page {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body.mall-ai-composer-page.has-sticky-buy .mall-page {
    padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }

  .mall-ai-dock {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
  }

  .mall-ai-dock.is-open .mall-ai-panel {
    height: min(60dvh, calc(100dvh - 140px));
    max-height: calc(100dvh - 120px);
  }

  body.mall-ai-dock-open.has-sticky-buy .mall-ai-dock.is-open .mall-ai-panel {
    height: min(56dvh, calc(100dvh - 168px));
    max-height: calc(100dvh - 152px);
  }
}

@media (min-width: 768px) {
  .mall-mobile-ai-composer {
    display: none !important;
  }
}

.mall-tabbar {
  display: none !important;
}

body.has-tabbar {
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  body.has-tabbar {
    padding-bottom: 0;
    padding-left: 0;
  }

  .mall-tabbar { display: none !important; }
}

[data-theme="dark"] .mall-utility-bar {
  background: rgba(28, 28, 30, 0.92);
}

[data-theme="dark"] .mall-home-composer {
  background: color-mix(in srgb, var(--mall-bg, #1c1c1e) 92%, transparent);
}

[data-theme="dark"] .mall-icon-btn,
[data-theme="dark"] .mall-utility-auth {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
}

/* legacy topnav hidden */
.mall-topnav-brand,
.mall-topnav-links {
  display: none !important;
}

.profile-panel--orders {
  padding: 0;
}

.profile-orders-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.profile-orders-wrap {
  padding: 0;
}

.profile-orders-wrap.mall-content {
  padding: 0;
  max-width: none;
}

.profile-orders-wrap .mall-orders-filters {
  margin-bottom: 6px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.profile-orders-wrap .mall-order-tabs {
  padding: 0;
}

.profile-orders-wrap .mall-tabs button {
  padding: 6px 14px;
  font-size: 13px;
}

.profile-orders-wrap .mall-list-stack {
  gap: 8px;
}

.profile-orders-wrap .order-card {
  margin-bottom: 0;
}

.profile-orders-wrap .order-card-hd {
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
}

.profile-orders-wrap .order-card-hd-main {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.profile-orders-wrap .order-card-no {
  font-size: 13px;
  line-height: 1.3;
}

.profile-orders-wrap .order-card-status-group {
  max-width: none;
  flex-shrink: 0;
  gap: 4px;
}

.profile-orders-wrap .order-card-bd {
  padding: 10px 12px;
  gap: 8px;
  flex-direction: column;
  align-items: stretch;
}

.profile-orders-wrap .order-card-main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.profile-orders-wrap .order-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-top: 2px;
}

.profile-orders-wrap .order-card-actions .order-goods-link {
  margin-top: 0;
  flex-shrink: 0;
}

.profile-orders-wrap .order-card-actions .order-pay-btn {
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.profile-orders-wrap .order-card-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.profile-orders-wrap .order-card-bd .name {
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.35;
}

.profile-orders-wrap .order-card-bd .price {
  font-size: 15px;
}

.profile-orders-wrap .order-goods-link {
  margin-top: 2px;
  font-size: 12px;
}

.profile-orders-wrap .order-pay-btn {
  margin-top: 6px;
  padding: 5px 12px;
  font-size: 12px;
}

.mall-tabbar {
  display: none !important;
}

body.has-tabbar {
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  body.has-tabbar {
    padding-bottom: 0;
    padding-left: 0;
  }

  .mall-sidebar {
    display: none !important;
  }

  .mall-tabbar { display: none !important; }
}

/* legacy sidebar rules removed — see .mall-topnav above */
.mall-sidebar-legacy-hidden {
  display: none;
}

@media (min-width: 1024px) {
  body.has-sidebar-legacy {
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  body.has-utility-bar.has-tabbar {
    padding-left: 0;
  }
}

/* ========== 页面壳 ========== */
.mall-shell {
  width: 100%;
  min-height: 100vh;
}

.mall-page {
  width: 100%;
  min-height: 100vh;
  background: var(--mall-bg);
}

@media (min-width: 768px) {
  .mall-page {
    max-width: var(--mall-content-max);
    margin: 0 auto;
    padding: 0 24px 48px;
  }

  body.has-utility-bar .mall-page {
    width: var(--mall-site-width);
    max-width: none;
    padding: 0 0 48px;
  }
}

body.has-tabbar {
  padding-bottom: calc(var(--mall-tabbar-h) + var(--mall-safe-bottom));
}

body.has-detail-bar {
  padding-bottom: calc(72px + var(--mall-safe-bottom));
}

@media (min-width: 1024px) {
  body.has-detail-bar { padding-bottom: 48px; }
}

/* ========== 顶栏（内页） ========== */
body.has-utility-bar .mall-navbar {
  top: var(--mall-utility-bar-h);
  z-index: 350;
}

body.profile-mobile-panel-open .mall-utility-bar {
  display: none;
}

body.profile-mobile-panel-open .profile-page .mall-user-header {
  display: none;
}

body.has-utility-bar .mall-page > .mall-navbar + .mall-content,
body.has-utility-bar .mall-shell > .mall-page > .mall-navbar + .mall-content {
  padding-top: 0;
}

.mall-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--mall-header-h) + var(--mall-safe-top));
  padding-top: var(--mall-safe-top);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 52px;
  padding-right: 52px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--mall-blur);
  -webkit-backdrop-filter: var(--mall-blur);
  border-bottom: 1px solid var(--mall-border);
}

@media (min-width: 768px) {
  .mall-navbar {
    margin: 0 -24px;
    border-radius: 0;
  }
}

.mall-back-icon {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  font-family: system-ui, -apple-system, sans-serif;
}

.mall-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mall-navbar .nav-back {
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
  margin-top: calc(var(--mall-safe-top) / 2);
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  font-size: 20px;
  color: var(--mall-accent);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--mall-transition);
}

.mall-navbar .nav-back:hover { background: rgba(0, 0, 0, 0.08); }

.mall-navbar .nav-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mall-text);
}

.mall-navbar .nav-right {
  position: absolute;
  right: max(12px, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  margin-top: calc(var(--mall-safe-top) / 2);
}

.mall-navbar.theme {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--mall-border);
}

.mall-navbar.theme .nav-back,
.mall-navbar.theme .nav-title { color: var(--mall-text); }

/* ========== 首页顶栏 ========== */
.mall-home-top {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--mall-blur);
  -webkit-backdrop-filter: var(--mall-blur);
  border-bottom: 1px solid var(--mall-border);
  padding: calc(12px + var(--mall-safe-top)) 16px 16px;
  position: sticky;
  top: 0;
  z-index: 90;
}

@media (min-width: 768px) {
  .mall-home-top {
    margin: 0 -24px 0;
    padding: calc(20px + var(--mall-safe-top)) 0 20px;
    border-radius: 0 0 var(--mall-radius-lg) var(--mall-radius-lg);
  }

  .mall-home-top .top-inner {
    max-width: var(--mall-content-max);
    margin: 0 auto;
    padding: 0 24px;
  }
}

.mall-home-top .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.mall-home-top .brand {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--mall-text);
}

.mall-home-top .top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mall-btn-ghost {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--mall-radius-pill);
  border: 1px solid var(--mall-border-strong);
  background: var(--mall-bg-elevated);
  color: var(--mall-text);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--mall-transition), border-color var(--mall-transition);
}

.mall-btn-ghost:hover {
  background: var(--mall-bg-hover);
  border-color: var(--mall-border-strong);
}

.mall-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-pill);
  padding: 0 6px 0 16px;
  height: 44px;
  max-width: 100%;
  transition: border-color var(--mall-transition), box-shadow var(--mall-transition);
}

.mall-search:focus-within {
  border-color: var(--mall-accent);
  box-shadow: 0 0 0 4px var(--mall-accent-soft);
  background: #fff;
}

.mall-search .search-icon { color: var(--mall-text-muted); font-size: 15px; flex-shrink: 0; }

.mall-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  min-width: 0;
  color: var(--mall-text);
}

.mall-search .search-btn {
  flex-shrink: 0;
  border: none;
  background: var(--mall-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--mall-radius-pill);
  cursor: pointer;
  transition: background var(--mall-transition), transform 0.15s ease;
}

.mall-search .search-btn:hover { background: var(--mall-accent-hover); }
.mall-search .search-btn:active { transform: scale(0.97); }

.mall-search--composer .search-btn--send {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mall-search--composer .search-btn--send .search-send-icon {
  width: 18px;
  height: 18px;
  display: block;
  margin-left: 1px;
}

.mall-search-wrap {
  position: relative;
}

.mall-search-history {
  margin-top: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-md);
  box-shadow: var(--mall-shadow-sm);
}

.mall-search-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text-muted);
}

.mall-search-history-clear {
  border: none;
  background: none;
  color: var(--mall-accent);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
}

.mall-search-history-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mall-search-tag {
  border: 1px solid var(--mall-border);
  background: rgba(0, 0, 0, 0.03);
  color: var(--mall-text);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--mall-radius-pill);
  cursor: pointer;
  transition: background var(--mall-transition), border-color var(--mall-transition);
}

.mall-search-tag:hover {
  background: var(--mall-accent-soft);
  border-color: var(--mall-accent);
}

.mall-search-tag-hot {
  border-color: rgba(0, 113, 227, 0.25);
  background: var(--mall-accent-soft);
}

.mall-search-tag-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  line-height: 1.35;
  border-color: rgba(36, 157, 53, 0.24);
  background: rgba(36, 157, 53, 0.07);
}

.mall-search-tag-ai span,
.goods-ai-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--mall-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.mall-search-dropdown {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mall-search-dropdown[hidden] {
  display: none !important;
}

.mall-search-dropdown .mall-search-history {
  margin-top: 0;
}

.mall-search-summary {
  font-size: 14px;
  color: var(--mall-text-muted);
  margin: 0 0 12px;
  padding: 0 4px;
}

.mall-empty-search {
  text-align: center;
  padding: 48px 24px 32px;
  color: var(--mall-text-muted);
}

.mall-empty-search .empty-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.45;
}

.mall-empty-search p {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--mall-text);
  font-weight: 500;
}

.mall-empty-search .empty-hint {
  font-size: 14px;
  color: var(--mall-text-muted);
  margin-bottom: 20px;
}

.mall-empty-search .mall-btn-ghost {
  display: inline-block;
}

.mall-empty-hot-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--mall-text-muted);
  margin: 16px 0 10px;
}

.mall-empty-hot {
  margin-bottom: 20px;
}

.mall-empty-hot.mall-empty-hot-tags {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mall-empty-hot .mall-search-history-head {
  display: none;
}

.mall-empty-hot .mall-search-history-tags {
  justify-content: center;
  padding: 0 8px;
}

.goods-name .search-hit,
.goods-name mark.search-hit {
  background: #fff3cd;
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 600;
}

/* ========== Banner ========== */
.mall-banner {
  margin: 16px 16px 20px;
  border-radius: var(--mall-radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #dceefb 0%, #f0e8f4 42%, #d8f0e4 100%);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
}

@media (min-width: 768px) {
  .mall-banner {
    margin: 24px 0 28px;
  }
}

.mall-banner-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 20px 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .mall-banner-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 28px;
    padding: 32px 36px 36px;
    text-align: left;
  }
}

.mall-banner-copy {
  text-align: center;
}

@media (min-width: 900px) {
  .mall-banner-copy {
    text-align: left;
  }
}

.mall-banner-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mall-accent);
  margin-bottom: 8px;
}

.mall-banner h2 {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mall-text);
  margin-bottom: 10px;
  line-height: 1.15;
}

.mall-banner h1 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--mall-text);
  margin: 0 0 14px;
  line-height: 1.06;
  text-wrap: balance;
}

.mall-banner-desc {
  font-size: 15px;
  color: var(--mall-text);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 6px;
}

.mall-banner-note {
  font-size: 13px;
  color: var(--mall-text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.home-estimate-form {
  max-width: 720px;
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid rgba(16, 35, 31, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(16, 35, 31, 0.08);
}

.home-estimate-form label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mall-text);
}

.home-estimate-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-estimate-row input,
.home-estimate-row select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--mall-border);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--mall-text);
  background: var(--mall-bg-elevated);
  font: inherit;
}

.home-estimate-row button {
  min-height: 44px;
}

.home-estimate-help {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
}

.home-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.home-hero-actions .mall-btn-ghost {
  min-height: 44px;
}

.home-hero-ai-link {
  color: var(--mall-accent);
  border-color: rgba(0, 113, 227, 0.2);
}

@media (min-width: 900px) {
  .home-hero-actions {
    justify-content: flex-start;
  }
}

.home-ai-recommendation {
  max-width: 720px;
  margin: 12px auto 0;
  padding: 14px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(239, 248, 255, 0.94), rgba(255, 255, 255, 0.9));
  color: var(--mall-text);
}

.home-ai-rec-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.home-ai-rec-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mall-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.home-ai-rec-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.home-ai-rec-head p {
  margin: 4px 0 0;
  color: var(--mall-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.home-ai-rec-reasons {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.home-ai-rec-reasons li {
  position: relative;
  padding-left: 16px;
  color: var(--mall-text);
  font-size: 13px;
  line-height: 1.42;
}

.home-ai-rec-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mall-mint);
}

.home-ai-rec-guardrails {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.home-ai-rec-guardrails span {
  padding: 5px 8px;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #24506a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.home-ai-rec-meta {
  margin: 10px 0 0;
  color: var(--mall-text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.home-ai-rec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.home-ai-rec-actions .btn-inline {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mall-ai-panel[hidden],
.mall-ai-bubble[hidden] {
  display: none;
}

@media (min-width: 760px) {
  .home-estimate-form {
    margin-left: 0;
    margin-right: 0;
  }

  .home-ai-recommendation {
    margin-left: 0;
    margin-right: 0;
  }

  .home-estimate-row {
    grid-template-columns: minmax(150px, 0.9fr) minmax(190px, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .mall-banner-desc,
  .mall-banner-note {
    margin-left: 0;
    margin-right: 0;
  }
}

.mall-banner-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  max-width: 520px;
}

@media (min-width: 900px) {
  .mall-banner-stats {
    justify-content: flex-start;
    margin-left: 0;
  }
}

.mall-banner-visual {
  position: relative;
  min-height: 200px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 900px) {
  .mall-banner-visual {
    min-height: 240px;
    max-width: none;
    margin: 0;
  }
}

.mall-banner-photo {
  position: absolute;
  border-radius: var(--mall-radius);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--mall-shadow);
  background: var(--mall-bg-elevated);
}

.mall-banner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mall-banner-photo--main {
  width: 58%;
  aspect-ratio: 1;
  left: 8%;
  top: 8%;
  z-index: 3;
}

.mall-banner-photo--a {
  width: 38%;
  aspect-ratio: 1;
  right: 4%;
  top: 0;
  z-index: 2;
}

.mall-banner-photo--b {
  width: 36%;
  aspect-ratio: 1;
  right: 12%;
  bottom: 0;
  z-index: 1;
}

.mall-stat-pill {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mall-border, rgba(0, 0, 0, 0.06));
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.mall-banner-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--mall-radius-sm, 8px);
}

.brand-trust {
  padding: 12px 16px 4px;
}

.brand-trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  color: var(--mall-text);
}

.brand-badge--muted {
  font-weight: 500;
  color: var(--mall-text-secondary);
}

.service-process-section {
  padding-top: 10px;
}

.service-process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.service-process-list li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 14px 14px 44px;
  min-height: 72px;
  border: 1px solid var(--mall-border);
  border-radius: 12px;
  background: var(--mall-bg-elevated);
}

.service-process-list li::before {
  content: attr(data-step);
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0f6b4f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.service-process-list strong {
  font-size: 14px;
  color: var(--mall-text);
}

.service-process-list span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
}

@media (min-width: 900px) {
  .service-process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.brand-section-desc {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--mall-text-secondary);
  line-height: 1.5;
}

.brand-biz-section {
  padding-top: 8px;
  padding-bottom: 4px;
}

.home-ai-guide-section {
  padding-top: 12px;
  padding-bottom: 8px;
}

.home-ai-guide-card {
  display: block;
  padding: 14px 16px;
  border-radius: var(--mall-radius);
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-ai-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mall-shadow-hover);
}

.home-ai-guide-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.home-ai-guide-text {
  min-width: 0;
  flex: 1;
}

.home-ai-guide-mark {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--mall-accent, #0071e3);
  padding: 4px 7px;
  border-radius: 6px;
  line-height: 1.2;
  margin-top: 2px;
}

.home-ai-guide-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--mall-text);
  line-height: 1.3;
}

.home-ai-guide-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
}

.home-ai-guide-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mall-accent, #0071e3);
  line-height: 1.2;
}

.home-ai-guide-card:hover .home-ai-guide-cta {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brand-biz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

body.mall-home-page .brand-biz-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .brand-biz-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .brand-biz-grid { grid-template-columns: repeat(4, 1fr); }
  body.mall-home-page .brand-biz-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  body.mall-home-page .mall-banner-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 540px;
    padding: 56px clamp(40px, 7vw, 104px);
  }

  body.mall-home-page .mall-banner-copy {
    width: min(100%, 980px);
    margin: 0 auto;
    text-align: center;
  }

  body.mall-home-page .mall-banner h1 {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
  }

  body.mall-home-page .mall-banner-desc,
  body.mall-home-page .mall-banner-note {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }

  body.mall-home-page .home-estimate-form,
  body.mall-home-page .home-ai-recommendation {
    margin-right: auto;
    margin-left: auto;
  }

  body.mall-home-page .home-estimate-form label,
  body.mall-home-page .home-estimate-help {
    text-align: center;
  }

  body.mall-home-page .home-hero-actions {
    justify-content: center;
  }

  body.mall-home-page .brand-biz-card,
  body.mall-home-page .brand-biz-body,
  body.mall-home-page .service-process-list li {
    text-align: center;
  }

  body.mall-home-page .brand-biz-body {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    align-items: center;
  }

  body.mall-home-page .brand-biz-cta {
    margin-top: auto;
  }

  body.mall-home-page .service-process-list li {
    align-content: center;
    padding: 20px 16px;
    min-height: 126px;
  }
}

.mall-components-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mall-components-table th,
.mall-components-table td {
  border-bottom: 1px solid var(--mall-border);
  padding: 10px 8px;
  text-align: left;
}

.mall-prequote-components {
  margin-top: 16px;
}

.home-ai-rec-panel {
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  padding: 16px;
}

.brand-biz-card {
  display: flex;
  flex-direction: column;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--mall-shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 0;
  appearance: none;
}

.brand-biz-section--top {
  margin-top: 8px;
}

.brand-biz-card:hover {
  box-shadow: var(--mall-shadow-hover);
  transform: translateY(-2px);
}

.brand-biz-card:active,
.home-ai-guide-card:active {
  transform: scale(0.97);
}

.brand-biz-img {
  position: relative;
  aspect-ratio: 16/10;
  background: #f0f0f2;
  overflow: hidden;
}

.brand-biz-promo {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(10, 56, 42, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.brand-biz-promo--sale {
  background: #b42318;
}

.brand-biz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.brand-biz-body {
  padding: 12px 14px 14px;
}

.brand-biz-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-biz-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--mall-text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brand-biz-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--mall-accent, #0071e3);
}

.brand-biz-meta {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0f6b4f;
}

.brand-reviews-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 640px) {
  .brand-reviews-grid { grid-template-columns: 1fr 1fr; }
}

.brand-review-card {
  margin: 0;
  padding: 14px 16px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  font-size: 14px;
  line-height: 1.5;
}

.brand-review-card footer {
  margin-top: 8px;
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.brand-cta-bar {
  margin: 8px 16px 20px;
  padding: 16px;
  background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%);
  color: #fff;
  border-radius: var(--mall-radius);
}

@media (min-width: 768px) {
  .brand-cta-bar { margin-left: 0; margin-right: 0; }
}

.brand-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-cta-inner p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

.brand-cta-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand-cta-actions .btn-primary {
  color: #1d1d1f;
  background: #fff;
}

.brand-cta-actions .mall-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ========== T-016 业务落地页 ========== */
.landing-page {
  padding-bottom: 24px;
}

.landing-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  margin: 0 0 8px;
  background: linear-gradient(160deg, #f5f5f7 0%, #e8e8ed 100%);
}

@media (min-width: 768px) {
  .landing-hero {
    flex-direction: row;
    align-items: center;
    padding: 24px 0;
    margin: 0 0 16px;
  }
}

.landing-hero-copy {
  flex: 1;
}

.landing-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mall-accent, #0071e3);
}

.landing-hero h1 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.landing-lead {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--mall-text-secondary);
  line-height: 1.5;
}

.landing-price-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--mall-text-secondary);
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-hero-visual {
  flex: 0 0 auto;
  border-radius: var(--mall-radius);
  overflow: hidden;
  max-height: 220px;
}

.landing-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-hero--heat .landing-hero-visual {
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f7fa 100%);
}

@media (min-width: 768px) {
  .landing-hero-visual {
    width: 42%;
    max-height: 280px;
  }
}

.landing-section {
  padding: 16px;
  margin: 0 0 4px;
}

@media (min-width: 768px) {
  .landing-section { padding: 16px 0; }
}

.landing-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.landing-list,
.landing-steps {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mall-text-secondary);
}

.landing-body {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mall-text-secondary);
}

.landing-cards-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .landing-cards-row { grid-template-columns: repeat(3, 1fr); }
}

.landing-mini-card {
  padding: 12px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm, 8px);
  font-size: 13px;
}

.landing-mini-card p {
  margin: 4px 0 0;
  color: var(--mall-text-secondary);
}

.landing-faq {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: 8px;
  font-size: 14px;
}

.landing-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.landing-faq p {
  margin: 8px 0 0;
  color: var(--mall-text-secondary);
  line-height: 1.5;
}

.landing-case {
  margin: 0;
  padding: 14px;
  background: var(--mall-bg-elevated);
  border-left: 3px solid var(--mall-accent, #0071e3);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}

.landing-case footer {
  margin-top: 8px;
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.landing-disclaimer {
  margin: 12px 16px;
  padding: 12px 14px;
  background: #fff8e6;
  border: 1px solid #ffe0a3;
  border-radius: 8px;
  font-size: 13px;
  color: #8a6d3b;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .landing-disclaimer { margin-left: 0; margin-right: 0; }
}

.landing-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  margin: 8px 16px 0;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
}

@media (min-width: 768px) {
  .landing-footer-cta { margin-left: 0; margin-right: 0; }
}

.contact-page .contact-info-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .contact-page .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-info-card {
  padding: 14px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  font-size: 14px;
}

.contact-info-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.contact-map-wrap {
  margin-bottom: 16px;
  border-radius: var(--mall-radius);
  overflow: hidden;
  border: 1px solid var(--mall-border);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.contact-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-form .contact-field {
  display: block;
  margin-bottom: 12px;
}

.contact-form .contact-field span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.5;
}

.contact-privacy a {
  color: var(--mall-accent);
  text-decoration: underline;
}

.brand-cred-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .brand-cred-grid { grid-template-columns: repeat(2, 1fr); }
}

.brand-cred-card {
  padding: 14px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
}

.brand-cred-card img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.brand-cred-issuer {
  font-size: 12px;
  color: var(--mall-text-secondary);
  margin: 4px 0;
}

.brand-city-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.brand-city-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  text-decoration: none;
  color: inherit;
}

.brand-city-card span {
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.area-check-form {
  max-width: 420px;
  margin-top: 12px;
}

.area-check-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.area-check-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.area-check-warn {
  background: #fff8e6;
  border: 1px solid #ffe0a3;
}

.ai-search-form {
  margin-bottom: 16px;
}

.ai-search-card {
  padding: 16px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  margin-bottom: 16px;
}

.ai-search-intent {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  margin-bottom: 8px;
}

.ai-search-summary {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.ai-search-disclaimer {
  font-size: 12px;
  color: var(--mall-text-secondary);
  margin: 0 0 12px;
}

.ai-search-cta {
  display: inline-block;
  margin-top: 4px;
}

.ai-search-section {
  margin-top: 20px;
}

.ai-search-links {
  display: grid;
  gap: 8px;
}

.ai-search-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  text-decoration: none;
  color: inherit;
  background: var(--mall-bg-elevated);
}

.ai-search-link span {
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.subsidy-progress {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.subsidy-progress-step {
  flex: 1;
  min-width: 90px;
  padding: 8px 10px;
  font-size: 12px;
  text-align: center;
  border-radius: 8px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  color: var(--mall-text-secondary);
}

.subsidy-progress-step.done {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.subsidy-progress-step.current {
  border-color: #93c5fd;
  font-weight: 600;
}

.source-cell {
  font-size: 12px;
  color: var(--mall-text-secondary);
  word-break: break-word;
}

.subsidy-field-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subsidy-field-card {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  padding: 12px 14px;
  box-shadow: var(--mall-shadow-sm);
}

.subsidy-field-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mall-text);
  margin-bottom: 6px;
}

.subsidy-field-card-value {
  font-size: 15px;
  line-height: 1.45;
  color: var(--mall-text);
  word-break: break-word;
}

.subsidy-field-card-source {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--mall-border);
  font-size: 12px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
  word-break: break-all;
}

.subsidy-guidance {
  margin: 12px 0 4px;
  padding: 12px 14px;
  background: var(--mall-accent-soft);
  border: 1px solid rgba(36, 157, 53, 0.18);
  border-radius: var(--mall-radius);
  font-size: 14px;
  line-height: 1.55;
  color: var(--mall-text);
}

.subsidy-spec-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .subsidy-field-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.mall-wa-fab {
  position: fixed;
  right: 16px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.mall-wa-fab:hover {
  filter: brightness(1.05);
}

body.has-detail-bar .mall-wa-fab {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.ai-search-foot {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

.mall-install-guide {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--mall-text-secondary);
}

.mall-detail-tagline {
  font-size: 15px;
  color: var(--mall-text-secondary);
  margin: 0 0 12px;
}

.mall-faq-block {
  margin-top: 16px;
}

/* ========== 区块 / Tab ========== */
.mall-section {
  padding: 0 16px 20px;
}

@media (min-width: 768px) {
  .mall-section { padding: 0 0 28px; }
}

.mall-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 14px;
}

body.mall-home-page .mall-section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

body.mall-home-page .mall-section-head .brand-section-desc {
  margin: 0;
}

@media (min-width: 900px) {
  body.mall-home-page .mall-section-head {
    align-items: center;
    text-align: center;
  }

  body.mall-home-page .mall-section-head .brand-section-desc {
    max-width: 760px;
  }
}

.mall-section-link {
  font-size: 14px;
  color: var(--mall-accent, #0071e3);
  text-decoration: none;
  flex-shrink: 0;
}

.mall-featured-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mall-featured-scroll::-webkit-scrollbar { display: none; }

.mall-featured-card {
  flex: 0 0 168px;
  display: flex;
  flex-direction: column;
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mall-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mall-shadow-hover);
}

.mall-featured-pic {
  aspect-ratio: 1;
  background: #f5f5f7;
  overflow: hidden;
}

.mall-featured-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mall-featured-info {
  padding: 10px 12px 12px;
}

.mall-featured-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mall-featured-meta {
  font-size: 12px;
  color: var(--mall-text-secondary);
  margin-top: 4px;
}

.mall-highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.mall-highlight-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--mall-radius-pill);
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  font-weight: 500;
}

.mall-spec-block {
  margin: 16px 0;
}

.mall-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mall-spec-table th,
.mall-spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--mall-border);
  text-align: left;
}

.mall-spec-table th {
  width: 38%;
  color: var(--mall-text-secondary);
  font-weight: 500;
  background: var(--mall-bg-subtle, #f5f5f7);
}

.mall-service-note {
  font-size: 14px;
  color: var(--mall-text-secondary);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--mall-bg-subtle, #f5f5f7);
  border-radius: var(--mall-radius);
  margin: 12px 0 0;
}

.mall-section-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mall-text);
  margin: 0 4px 14px;
}

.mall-section-head .mall-section-title {
  margin: 0;
}

@media (min-width: 768px) {
  .mall-section-title { font-size: 24px; margin-bottom: 16px; }
}

.mall-tabs,
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mall-tabs::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar { display: none; }

.mall-tabs button,
.mall-tabs .cat-tab,
.category-tabs button {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--mall-radius-pill);
  border: 1px solid var(--mall-border);
  background: var(--mall-bg-elevated);
  font-size: 14px;
  color: var(--mall-text-secondary);
  cursor: pointer;
  transition: all var(--mall-transition);
}

.mall-tabs button:hover,
.category-tabs button:hover {
  border-color: var(--mall-border-strong);
  color: var(--mall-text);
}

.mall-tabs button.active,
.mall-tabs .cat-tab.active,
.category-tabs button.active {
  background: var(--mall-text);
  color: #fff;
  border-color: var(--mall-text);
  font-weight: 500;
}

/* ========== 商品网格 ========== */
.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 0 8px;
}

@media (min-width: 600px) {
  .goods-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 900px) {
  .goods-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.goods-item {
  display: flex;
  flex-direction: column;
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--mall-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--mall-transition), box-shadow var(--mall-transition);
}

.goods-item .goods-pic {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #f8f8fa 0%, #efeff2 100%);
}

.goods-item .goods-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) {
  .goods-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--mall-shadow-hover);
  }
}

.goods-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8f2ec 100%);
  overflow: hidden;
}

.goods-pic img { width: 100%; height: 100%; object-fit: cover; }

.goods-pic .pic-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(32px, 8vw, 48px);
  opacity: 0.4;
}

.goods-info { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }

.goods-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--mall-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

@media (min-width: 768px) {
  .goods-name { font-size: 15px; }
}

.goods-price {
  margin-top: 10px;
  color: var(--mall-price);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.goods-price .num { font-size: 17px; }

.goods-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--mall-text-muted);
}

/* ========== 卡片通用 ========== */
.product-card,
.order-card {
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--mall-transition);
}

.product-card {
  padding: 16px 18px;
  margin-bottom: 12px;
}

@media (hover: hover) {
  .product-card:hover,
  .order-card:hover { box-shadow: var(--mall-shadow); }
}

.product-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.product-card .price { color: var(--mall-text); font-size: 17px; font-weight: 600; }
.product-card .desc { font-size: 14px; color: var(--mall-text-secondary); margin-top: 6px; line-height: 1.5; }

.product-card .tag {
  display: inline-block;
  font-size: 11px;
  background: var(--mall-accent-soft);
  color: var(--mall-accent);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 500;
}

.order-card { margin-bottom: 12px; overflow: hidden; }

.order-card-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--mall-border);
  font-size: 13px;
  color: var(--mall-text-muted);
}

.order-card-hd-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.order-card-no {
  font-size: 14px;
  font-weight: 500;
  color: var(--mall-text);
  word-break: break-all;
}

.order-card-date {
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.order-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 4px;
  border-bottom: 1px solid var(--mall-border);
}

.order-card-tags:empty {
  display: none;
  padding: 0;
}

.order-card-bd {
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.order-card-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8f2ec 100%);
}

.order-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-card-thumb .pic-placeholder {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0.4;
}

.order-card-body { flex: 1; min-width: 0; }

.order-card-bd .name { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.order-card-bd .price { font-size: 17px; font-weight: 600; color: var(--mall-text); }

.confirm-product--compact .confirm-product-pic {
  width: 72px;
  height: 72px;
}

.confirm-product--compact .confirm-product-name {
  font-size: 16px;
}

.payment-order-summary {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mall-border);
}

.order-status { font-size: 13px; color: var(--mall-accent); font-weight: 500; }
.order-status.paid { color: var(--mall-mint); }
.order-status.cancelled { color: var(--mall-text-muted); }

.order-status.refunded { color: #ff9500; }

/* ========== 移动端底栏 ========== */
.mall-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--mall-tabbar-h) + var(--mall-safe-bottom));
  padding-bottom: var(--mall-safe-bottom);
  display: flex;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: var(--mall-blur);
  -webkit-backdrop-filter: var(--mall-blur);
  border-top: 1px solid var(--mall-border);
  z-index: 200;
}

.mall-tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--mall-text-muted);
  font-size: 10px;
  font-weight: 500;
  gap: 3px;
  padding-top: 6px;
  transition: color var(--mall-transition);
}

.mall-tabbar a.active { color: var(--mall-accent); }
.mall-tabbar .tab-icon { font-size: 22px; line-height: 1; opacity: 0.85; }
.mall-tabbar a.active .tab-icon { opacity: 1; }

/* ========== 个人中心 ========== */
.profile-page .mall-user-header {
  background: linear-gradient(180deg, #e8f4fc 0%, var(--mall-bg) 100%);
  padding: calc(12px + var(--mall-safe-top)) 16px 14px;
  border-bottom: none;
  position: relative;
}

@media (min-width: 768px) {
  .profile-page .mall-user-header {
    padding: calc(16px + var(--mall-safe-top)) 0 16px;
    max-width: var(--mall-content-max);
    margin: 0 auto;
  }
}

.profile-page .mall-user-header .user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--mall-content-max);
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .profile-page .mall-user-header .user-row { padding: 0 20px; }
}

.mall-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mall-user-avatar { width: 56px; height: 56px; font-size: 26px; }
}

.mall-user-header .user-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mall-user-header .user-sub {
  font-size: 13px;
  color: var(--mall-text-secondary);
  margin-top: 2px;
}

/* 个人中心主体：菜单 + 表单，禁止负边距重叠 */
.profile-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px calc(20px + var(--mall-safe-bottom));
  max-width: var(--mall-content-max);
  margin: 0 auto;
  width: 100%;
}

.profile-menu-inset {
  padding: 10px 12px;
  border-bottom: 1px solid var(--mall-border);
  background: rgba(0, 0, 0, 0.02);
}

.profile-coupon-inset {
  font-size: 12px;
  line-height: 1.45;
}

.profile-coupon-inset a {
  color: var(--mall-accent);
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 768px) {
  .profile-body {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    grid-template-areas: "menu main";
    gap: 16px 20px;
    align-items: start;
    padding: 0 20px 32px;
  }

  .profile-menu-panel { grid-area: menu; }
  .profile-main { grid-area: main; }
}

.mall-menu-panel {
  margin: 0;
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius-lg);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .profile-menu-panel {
    position: sticky;
    top: calc(var(--mall-header-h, 52px) + 12px);
    max-height: calc(100vh - var(--mall-header-h, 52px) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.profile-main {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-main .form-card,
.profile-main .profile-section-card {
  margin: 0;
  padding: 16px;
}

@media (min-width: 768px) {
  .profile-main .form-card,
  .profile-main .profile-section-card {
    padding: 18px 20px;
  }
}

.profile-main .form-card h3,
.profile-main .profile-section-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.profile-panel .form-group {
  margin-bottom: 14px;
  max-width: 480px;
}

.profile-panel .form-group input,
.profile-panel .form-group textarea {
  padding: 10px 12px;
  font-size: 15px;
}

.profile-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 480px;
  margin-top: 4px;
}

.profile-panel-actions .btn-primary {
  flex: 1 1 160px;
  width: auto;
  margin-top: 0;
}

.profile-panel .btn-primary.btn-plain {
  width: auto;
  max-width: 480px;
  margin-top: 0;
}

.profile-form-card .btn-primary,
.profile-form-card .btn-plain {
  width: 100%;
  margin-top: 10px;
}

.profile-form-card .btn-primary + .btn-plain,
.profile-form-card .btn-plain + .btn-primary {
  margin-top: 10px;
}

.profile-save-msg {
  margin-top: 8px;
  font-size: 14px;
  color: var(--mall-mint);
}

.profile-address-form {
  margin-top: 12px;
}

.profile-section-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mall-text);
  letter-spacing: -0.02em;
}

.address-book-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.address-card {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  box-shadow: var(--mall-shadow-sm);
  overflow: hidden;
}

.address-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--mall-border);
  background: rgba(0, 0, 0, 0.02);
}

.address-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mall-accent);
  background: var(--mall-accent-soft);
  padding: 2px 10px;
  border-radius: var(--mall-radius-pill);
}

.address-card-delete {
  border: none;
  background: none;
  color: var(--mall-text-secondary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  flex-shrink: 0;
}

.address-card-delete:hover {
  color: #c0392b;
}

.address-card-bd {
  padding: 12px 14px 14px;
}

.address-card-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mall-text);
}

.address-card-line + .address-card-line {
  margin-top: 4px;
}

.address-card-contact {
  font-weight: 600;
}

.address-card-phone {
  color: var(--mall-text-secondary);
  font-size: 13px;
}

.address-card-detail {
  color: var(--mall-text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

.address-form-card {
  padding: 16px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  box-shadow: var(--mall-shadow-sm);
}

.address-form-card .form-field-submit {
  width: 100%;
  margin-top: 4px;
}

.profile-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 16px;
  background: var(--mall-bg-elevated);
  border: 1px dashed var(--mall-border);
  border-radius: var(--mall-radius);
}

.profile-empty-icon {
  font-size: 32px;
  line-height: 1;
  opacity: 0.85;
}

.profile-empty-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--mall-text);
}

.profile-empty-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
  max-width: 280px;
}

.profile-empty-cta {
  margin-top: 4px;
  width: auto;
  min-width: 140px;
}

.profile-edit-body,
.profile-settings-body {
  min-width: 0;
}

.mall-subpage-intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mall-text-secondary);
}

.mall-subpage-layout {
  display: block;
  width: 100%;
}

.mall-subpage-aside {
  display: none;
}

.mall-subpage-main {
  min-width: 0;
}

.mall-subpage-aside-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mall-subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--mall-accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.mall-subpage-back:hover {
  color: var(--mall-accent-hover);
}

.mall-subpage-aside-title {
  margin: 4px 0 0;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--mall-text);
}

.mall-subpage-aside-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mall-text-secondary);
  max-width: 36ch;
}

@media (min-width: 1024px) {
  body.mall-subpage-page .mall-navbar {
    display: none;
  }

  body.mall-subpage-page.has-utility-bar .mall-page {
    padding-top: 20px;
  }

  .mall-subpage-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 28px 32px;
    align-items: start;
  }

  .mall-subpage-aside {
    display: block;
    position: sticky;
    top: calc(var(--mall-utility-bar-h, 52px) + 20px);
    padding: 8px 0;
  }

  .mall-subpage-main .mall-content {
    padding: 0;
    max-width: none;
  }

  .mall-subpage-main .mall-content.narrow {
    max-width: none;
    margin: 0;
  }

  .mall-subpage-main .form-card {
    padding: 28px 32px;
    border-radius: var(--mall-radius-lg);
    box-shadow: var(--mall-shadow-sm);
  }

  .mall-subpage-main .form-card > h2:first-child,
  .mall-subpage-main .form-card > h3:first-child,
  .mall-subpage-main .feedback-form-lead,
  .mall-subpage-main .mall-subpage-intro:first-of-type {
    display: none;
  }

  .mall-subpage-main .form-card .form-field-submit,
  .mall-subpage-main .form-card .btn-primary.form-field-submit {
    width: auto;
    min-width: 220px;
  }

  .mall-subpage-main .mall-list-stack,
  .mall-subpage-main .mall-record-list,
  .mall-subpage-main .goods-grid {
    margin-top: 0;
  }

  .mall-subpage-main .mall-tabs {
    margin-bottom: 16px;
  }

  .mall-subpage-main .mall-content-actions {
    margin-bottom: 16px;
  }

  .mall-subpage-main .mall-content-actions .btn-primary {
    width: auto;
    min-width: 180px;
  }
}

@media (min-width: 1280px) {
  .mall-subpage-layout {
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 32px 40px;
  }
}

.mall-record-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mall-record-card {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  box-shadow: var(--mall-shadow-sm);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.mall-record-card strong {
  font-weight: 600;
  color: var(--mall-text);
}

.mall-record-card .detail-desc {
  margin: 6px 0 0;
  font-size: 12px;
}

.profile-actions-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
}

.profile-actions-card .btn-plain {
  width: 100%;
  margin: 0;
}

.profile-logout-btn {
  margin-top: 4px;
}

/* 桌面端有侧栏时个人中心仍占满内容区 */
@media (min-width: 1024px) {
  .profile-page {
    width: 100%;
  }
}

.mall-menu-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 11px 14px;
  text-decoration: none;
  color: var(--mall-text);
  border-bottom: 1px solid var(--mall-border);
  font-size: 14px;
  transition: background var(--mall-transition);
  width: 100%;
  box-sizing: border-box;
}

.mall-menu-item[hidden],
#menuInstallerSection[hidden] {
  display: none !important;
}

.mall-menu-item .menu-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.mall-menu-item .menu-badge {
  margin-left: auto;
  margin-right: 0;
  flex-shrink: 0;
  min-width: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--mall-theme);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 18px;
}

.mall-menu-item .menu-badge[hidden] {
  display: none !important;
}

.mall-menu-item .menu-badge + .menu-arrow {
  margin-left: 6px;
}

.mall-menu-item .menu-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--mall-text-muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.mall-menu-item--panel .menu-arrow {
  display: none;
}

.mall-menu-item:last-child { border-bottom: none; }

@media (hover: hover) {
  .mall-menu-item:hover { background: var(--mall-bg-hover, rgba(0, 0, 0, 0.02)); }
  .mall-menu-item--panel:hover { background: var(--mall-bg-hover, rgba(0, 0, 0, 0.02)); }
  .mall-menu-item--panel.active:hover { background: var(--mall-accent-soft); }
}

.mall-menu-item .menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mall-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 16px;
  flex-shrink: 0;
}

.mall-menu-section-title {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mall-text-muted);
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--mall-border);
}

.mall-menu-item--panel {
  width: 100%;
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.mall-menu-item--panel.active {
  background: var(--mall-accent-soft);
  color: var(--mall-accent);
  font-weight: 500;
}

.mall-menu-item--panel.active .menu-icon {
  background: rgba(0, 113, 227, 0.18);
}

.profile-main .profile-panel[hidden] {
  display: none !important;
}

.profile-panel-hint {
  text-align: center;
  padding: 48px 24px;
  color: var(--mall-text-secondary);
  font-size: 15px;
}

.profile-main:has(.profile-panel:not([hidden])) .profile-panel-hint {
  display: none;
}

.profile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.profile-panel-head h3 {
  margin: 0;
}

.profile-panel.form-card h3:not(.profile-panel-head h3) {
  margin: 0 0 12px;
}

.profile-panel .btn-primary,
.profile-panel .btn-plain {
  width: 100%;
  max-width: 480px;
  margin-top: 8px;
}

.profile-panel .profile-settings-row {
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .profile-body {
    display: flex;
    flex-direction: column;
  }

  .profile-menu-panel {
    order: 1;
  }

  .profile-main {
    order: 2;
    position: fixed;
    inset: 0;
    z-index: 380;
    display: flex;
    flex-direction: column;
    background: var(--mall-bg);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    visibility: hidden;
    pointer-events: none;
    min-height: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
  }

  .profile-body.profile-panel-open .profile-main {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .profile-panel-backbar {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: max(8px, env(safe-area-inset-top)) 12px 8px;
    background: var(--mall-bg-elevated);
    border-bottom: 1px solid var(--mall-border);
  }

  .profile-panel-back {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 6px 8px 6px 0;
    border: none;
    background: none;
    color: var(--mall-accent);
    font: inherit;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    flex-shrink: 0;
  }

  .profile-panel-back .mall-back-icon {
    font-size: 22px;
  }

  .profile-panel-back-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-main-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 calc(12px + var(--mall-safe-bottom));
  }

  .profile-main-inner .profile-panel-hint {
    display: none;
  }

  .profile-body.profile-panel-open .profile-main-inner > .profile-panel > h3:first-child,
  .profile-body.profile-panel-open .profile-panel--settings > h3:first-child,
  .profile-body.profile-panel-open .profile-edit-body > h3:first-child,
  .profile-body.profile-panel-open .profile-settings-body > h3:first-child,
  .profile-body.profile-panel-open .profile-panel-head h3 {
    display: none;
  }

  .profile-main-inner > .profile-panel--orders {
    padding: 0 12px;
  }

  .profile-main-inner .form-card,
  .profile-main-inner .profile-panel.form-card {
    margin: 0;
    padding: 16px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  body.profile-mobile-panel-open {
    overflow: hidden;
  }

  .profile-orders-title {
    display: none !important;
  }

  .profile-main-inner > .profile-panel--orders {
    padding: 0 12px !important;
  }

  .profile-orders-wrap .mall-orders-filters {
    margin: 0 0 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.profile-mobile-panel-open .profile-panel-backbar {
    padding-top: 8px;
    min-height: 44px;
  }

  .profile-main-inner .profile-panel--feedback,
  .profile-main-inner .profile-panel--address,
  .profile-main-inner .profile-panel--edit,
  .profile-main-inner .profile-panel--settings {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .profile-panel-head--feedback {
    padding: 0 0 12px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--mall-border);
  }

  .profile-panel-head--feedback h3 {
    font-size: 16px;
  }

  .feedback-history-list,
  .address-book-list {
    padding-top: 0;
  }

  .profile-edit-body,
  .profile-settings-body,
  .address-form-card {
    padding: 16px;
    background: var(--mall-bg-elevated);
    border: 1px solid var(--mall-border);
    border-radius: var(--mall-radius);
    box-shadow: var(--mall-shadow-sm);
  }

  .address-form-card {
    margin-top: 12px;
  }

  .profile-settings-body .profile-settings-group:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

@media (min-width: 768px) {
  .profile-panel-backbar {
    display: none !important;
  }

  .profile-main-inner {
    display: contents;
  }

  .profile-panel-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 767px) {
    .profile-main {
      transition: none;
    }
  }
}

/* ========== 商品详情 ========== */
.mall-detail-layout {
  width: 100%;
}

.mall-detail-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 900px) {
  .mall-detail-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr);
    gap: 32px;
    max-width: var(--mall-content-max);
    margin: 0 auto;
    padding: 8px 24px 48px;
    align-items: start;
  }

  body.has-detail-bar { padding-bottom: 48px; }

  .mall-detail-pic {
    border-radius: var(--mall-radius-lg);
    max-height: none;
    position: sticky;
    top: calc(var(--mall-header-h) + 24px);
  }

  .mall-detail-body {
    margin-top: 0;
    border-radius: var(--mall-radius-lg);
    border: 1px solid var(--mall-border);
  }

  .mall-detail-bar {
    position: relative;
    padding: 20px 0 0;
    background: transparent;
    backdrop-filter: none;
    border-top: none;
    margin-top: 0;
  }
}

.mall-detail-pic {
  width: 100%;
  aspect-ratio: 1;
  max-height: min(70vh, 480px);
  background: linear-gradient(160deg, #f0f4f8 0%, #e8f2ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  opacity: 0.35;
}

.mall-detail-pic img { width: 100%; height: 100%; object-fit: cover; }

.mall-gallery { width: 100%; }

.mall-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
}

.mall-gallery-main .mall-detail-pic {
  flex: 1;
  max-height: min(70vh, 480px);
}

.mall-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  font-size: 22px;
  line-height: 1;
  color: var(--mall-text);
  cursor: pointer;
}

.mall-gallery-nav.prev { left: 10px; }
.mall-gallery-nav.next { right: 10px; }

.mall-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mall-gallery-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.mall-gallery-thumb.active {
  border-color: var(--mall-accent);
}

.mall-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mall-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
}

.mall-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.mall-gallery-dot.active {
  background: var(--mall-accent);
  width: 18px;
  border-radius: 3px;
}

.mall-detail-body {
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius-lg) var(--mall-radius-lg) 0 0;
  margin-top: -16px;
  position: relative;
  padding: 24px 20px 32px;
  border: 1px solid var(--mall-border);
  border-bottom: none;
}

@media (min-width: 900px) {
  .mall-detail-body {
    border-bottom: 1px solid var(--mall-border);
    padding: 28px;
  }
}

.mall-detail-price {
  color: var(--mall-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mall-detail-price .num { font-size: 32px; font-weight: 600; }

.mall-detail-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 12px;
  line-height: 1.25;
}

.mall-detail-note {
  font-size: 13px;
  color: var(--mall-text-secondary, #666);
  margin: 8px 0 0;
  line-height: 1.45;
}

.mall-detail-desc {
  font-size: 15px;
  color: var(--mall-text-secondary);
  margin-top: 16px;
  line-height: 1.6;
}

.mall-detail-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 10px 16px calc(10px + var(--mall-safe-bottom));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--mall-blur);
  -webkit-backdrop-filter: var(--mall-blur);
  border-top: 1px solid var(--mall-border);
  z-index: 100;
  gap: 12px;
}

@media (min-width: 900px) {
  .mall-detail-bar {
    position: relative;
    padding: 16px 0 0;
    background: transparent;
    backdrop-filter: none;
    border-top: 1px solid var(--mall-border);
    margin-top: 20px;
  }
}

.mall-detail-bar .bar-link {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  color: var(--mall-text-secondary);
  text-decoration: none;
  min-width: 48px;
  transition: color var(--mall-transition);
}

.mall-detail-bar .bar-link:hover { color: var(--mall-accent); }
.mall-detail-bar .bar-link > span:first-child { font-size: 22px; line-height: 1; margin-bottom: 2px; }
.mall-detail-bar .bar-link > span:last-child:not(:only-child) { font-size: 11px; }

/* ========== 表单 / 按钮 ========== */
.mall-content {
  padding: 16px;
  width: 100%;
  max-width: var(--mall-content-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mall-content { padding: 24px 0 48px; }
}

.mall-content.narrow {
  max-width: 520px;
}

.form-card {
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
}

@media (min-width: 768px) {
  .form-card { padding: 32px 28px; }
}

.confirm-section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mall-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.confirm-divider {
  border: none;
  border-top: 1px solid var(--mall-border);
  margin: 20px 0;
}

.confirm-product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 4px;
}

.confirm-product-pic {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: var(--mall-radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8f2ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-product-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.confirm-product-pic .pic-placeholder {
  font-size: 32px;
  opacity: 0.4;
}

.confirm-product-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mall-text);
}

.confirm-product-meta {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--mall-text-muted);
}

.confirm-product-total {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--mall-accent);
}

.confirm-product-total .num {
  font-variant-numeric: tabular-nums;
}

.form-group { margin-bottom: 20px; }

.form-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
  text-align: left;
}

form > .form-hint,
.form-card > .form-hint {
  margin: 4px 0 12px;
}

/* profile-panel-hint 仅用于「我的」空面板；表单内勿用其 48px 留白 */
form .profile-panel-hint,
.mall-auth-card .profile-panel-hint,
.form-card .profile-panel-hint {
  padding: 0;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 0;
  color: var(--mall-text-secondary);
}

form > .profile-panel-hint,
.form-card > .profile-panel-hint {
  margin: 4px 0 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text-secondary);
  margin-bottom: 8px;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--mall-border-strong);
  border-radius: var(--mall-radius-sm);
  font-size: 16px;
  background: var(--mall-bg);
  outline: none;
  transition: border-color var(--mall-transition), box-shadow var(--mall-transition);
  font-family: inherit;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus {
  border-color: var(--mall-accent);
  box-shadow: 0 0 0 4px var(--mall-accent-soft);
  background: #fff;
}

.form-group .installer-apply-choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  color: var(--mall-text);
  cursor: pointer;
}

.form-group .installer-apply-choices input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: var(--mall-accent);
}

.installer-date-field {
  position: relative;
}

.installer-date-field input[type="date"]:not(.has-value) {
  color: transparent;
}

.installer-date-field input[type="date"]:not(.has-value)::-webkit-datetime-edit,
.installer-date-field input[type="date"]:not(.has-value)::-webkit-datetime-edit-fields-wrapper,
.installer-date-field input[type="date"]:not(.has-value)::-webkit-datetime-edit-text,
.installer-date-field input[type="date"]:not(.has-value)::-webkit-datetime-edit-year-field,
.installer-date-field input[type="date"]:not(.has-value)::-webkit-datetime-edit-month-field,
.installer-date-field input[type="date"]:not(.has-value)::-webkit-datetime-edit-day-field {
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.installer-date-placeholder {
  position: absolute;
  left: 16px;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mall-text-secondary, #8e8e93);
  font-size: 16px;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.installer-date-field input.has-value + .installer-date-placeholder {
  display: none;
}

.installer-file-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--mall-border-strong, #d2d2d7);
  border-radius: var(--mall-radius-sm, 12px);
  background: var(--mall-bg, #fff);
}

.form-group .installer-file-field input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.installer-file-btn {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--mall-fill, #f2f2f7);
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text, #1d1d1f);
  pointer-events: none;
}

.installer-file-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--mall-text-secondary, #6e6e73);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.installer-file-field:focus-within {
  border-color: var(--mall-accent);
  box-shadow: 0 0 0 4px var(--mall-accent-soft);
  background: #fff;
}

.search-bar { display: flex; gap: 10px; margin-bottom: 12px; }

.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--mall-border-strong);
  border-radius: var(--mall-radius-sm);
  font-size: 15px;
  background: var(--mall-bg);
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background: var(--mall-primary);
  color: #fff;
  border: none;
  border-radius: var(--mall-radius-pill);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--mall-transition), transform 0.15s ease;
  font-family: inherit;
  letter-spacing: -0.02em;
}

.btn-primary:hover { background: var(--mall-primary-hover); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-primary.btn-plain {
  background: transparent;
  color: var(--mall-primary);
  border: 1px solid var(--mall-primary);
}

.btn-primary.btn-plain:hover { background: var(--mall-primary-soft); }

.btn-secondary {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--mall-accent);
  font-size: 15px;
  text-decoration: none;
}

.btn-secondary:hover { text-decoration: underline; }

/* 按钮：链接型 / 并排 / 内联 */
a.btn-primary,
button.btn-primary {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

a.mall-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary.btn-inline,
.mall-btn-ghost.btn-inline {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.search-bar .btn-primary {
  width: auto;
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 15px;
}

.mall-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
  align-items: stretch;
}

.mall-captcha-row:has(.mall-captcha-ok:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) 128px 28px;
}

.mall-captcha-image {
  width: 128px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--mall-border-strong);
  border-radius: var(--mall-radius-sm);
  background: #eef6f1;
  cursor: pointer;
  transition: border-color var(--mall-transition), box-shadow var(--mall-transition);
}

.mall-captcha-image:disabled,
#captchaGroup.is-captcha-passed .mall-captcha-image {
  cursor: default;
  opacity: 0.92;
}

#captchaGroup.is-captcha-passed #captchaCode {
  background: #f4faf6;
  color: var(--mall-text);
  cursor: default;
}

.mall-captcha-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 48px;
  border-radius: 999px;
  background: #e7f7ec;
  color: #1a7f37;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.mall-captcha-ok[hidden] {
  display: none;
}

#captchaGroup.is-captcha-passed .mall-captcha-hint {
  color: #1a7f37;
}

.mall-captcha-image:hover,
.mall-captcha-image:focus-visible {
  border-color: var(--mall-accent);
  box-shadow: 0 0 0 4px var(--mall-accent-soft);
}

.mall-captcha-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.mall-captcha-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--mall-text-secondary);
  font-size: 13px;
}

.mall-captcha-hint,
.mall-field-hint {
  margin: 6px 0 0;
  color: var(--mall-text-secondary);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.mall-field-hint:empty {
  display: none;
}

.mall-code-field {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 4px 4px 4px 0;
  border: 1px solid var(--mall-border-strong);
  border-radius: var(--mall-radius-sm);
  background: var(--mall-bg);
  transition: border-color var(--mall-transition), box-shadow var(--mall-transition);
}

.mall-code-field:focus-within {
  border-color: var(--mall-accent);
  box-shadow: 0 0 0 4px var(--mall-accent-soft);
  background: #fff;
}

.form-group .mall-code-field input,
.form-group .mall-code-field input:focus {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 40px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 14px;
}

.mall-code-send {
  flex: none;
  height: 40px;
  min-width: 92px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--mall-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.mall-code-send:hover {
  filter: brightness(1.06);
}

.mall-code-send:active {
  transform: scale(0.97);
}

.mall-code-send:disabled {
  background: rgba(60, 60, 67, 0.12);
  color: var(--mall-text-secondary);
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.mall-auth-card .form-group {
  margin-bottom: 16px;
}

.mall-auth-card .error-msg,
.mall-auth-error {
  display: none;
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
  color: #c4312a;
  grid-column: auto;
}

.mall-auth-card .mall-check-row {
  margin: 2px 0 16px;
  align-items: flex-start;
}

@media (max-width: 420px) {
  .mall-captcha-row {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .mall-captcha-image {
    width: 112px;
  }
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: stretch;
}

.form-actions > .btn-primary,
.form-actions > .mall-btn-ghost {
  flex: 1 1 calc(50% - 5px);
  min-width: 120px;
  margin: 0;
}

.form-actions--stack {
  flex-direction: column;
}

.form-actions--stack > .btn-primary,
.form-actions--stack > .mall-btn-ghost {
  flex: 1 1 100%;
  width: 100%;
}

.mall-content-actions {
  margin: 12px 0 16px;
}

.mall-content-actions .btn-primary {
  width: 100%;
}

.mall-content-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mall-content-stack > .form-card {
  margin: 0;
}

/* 统一表单控件 */
.mall-input,
.mall-select,
textarea.mall-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mall-border-strong);
  border-radius: var(--mall-radius-sm);
  font-size: 15px;
  background: var(--mall-bg);
  color: var(--mall-text);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color var(--mall-transition), box-shadow var(--mall-transition);
}

.mall-input:focus,
.mall-select:focus,
textarea.mall-input:focus {
  outline: none;
  border-color: var(--mall-accent);
  box-shadow: 0 0 0 4px var(--mall-accent-soft);
  background: var(--mall-bg-elevated);
}

textarea.mall-input {
  resize: vertical;
  min-height: 88px;
}

.mall-select {
  cursor: pointer;
}

/* 落地页 / 联系页水平对齐 */
.landing-hero-actions a.btn-primary,
.landing-hero-actions a.mall-btn-ghost,
.landing-hero-actions button.btn-primary,
.landing-footer-cta a.btn-primary,
.landing-footer-cta a.mall-btn-ghost {
  width: auto;
  flex: 0 1 auto;
  min-width: 140px;
}

.contact-page > .contact-info-grid,
.contact-page > .contact-map-wrap,
.contact-page > .contact-quick-links,
.contact-page > .contact-form {
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .contact-page > .contact-info-grid,
  .contact-page > .contact-map-wrap,
  .contact-page > .contact-quick-links,
  .contact-page > .contact-form {
    padding-left: 0;
    padding-right: 0;
  }
}

.contact-form {
  margin-bottom: 24px;
}

.coupon-available-actions .btn-primary {
  width: auto;
  flex: 1 1 140px;
}

.coupon-available-actions .mall-btn-ghost {
  flex: 1 1 auto;
}

.mall-status-panel {
  margin-top: 16px;
  padding: 16px;
  background: var(--mall-accent-soft);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-md);
}

.mall-status-panel--warn {
  background: #fff8f0;
  border-color: #ffe0a3;
}

.mall-status-panel--info {
  background: #f0f7ff;
  border-color: #cce4ff;
}

.mall-status-panel--ok {
  background: #e8f5e9;
  border-color: #c8e6c9;
}

.mall-quote-table {
  width: 100%;
  font-size: 0.9rem;
  border-collapse: collapse;
  margin: 12px 0;
}

.mall-quote-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--mall-border);
  vertical-align: top;
}

.mall-quote-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.mall-detail-bar .btn-primary.btn-inline {
  flex: 1;
  max-width: 320px;
  margin: 0;
}

.mall-link-accent {
  color: var(--mall-accent);
  text-decoration: none;
}

.mall-link-accent:hover {
  text-decoration: underline;
}

.form-card > .btn-primary + .mall-btn-ghost {
  width: 100%;
  margin-top: 8px;
}

.mall-content-note {
  margin: 8px 0 12px;
  font-size: 14px;
}

.form-card > a.btn-primary + a.mall-btn-ghost,
.form-card > a.btn-primary + a.btn-primary {
  display: inline-flex;
  margin-top: 8px;
}

.form-card > a.btn-primary {
  margin-top: 12px;
}

.form-field-label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.form-field-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-card .btn-primary.form-field-submit {
  margin-top: 20px;
}

.profile-panel .mall-btn-ghost {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.profile-panel .journey-action-bar .journey-action-btn {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 767px) {
  .journey-action-bar {
    padding: 10px;
  }
}

/* ========== 登录 ========== */
.mall-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--mall-bg);
}

.mall-auth-wrap.installer-apply-page {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
}

@media (min-width: 768px) {
  .mall-auth-wrap.installer-apply-page {
    padding: 0 clamp(16px, 3vw, 32px) 24px;
  }
}

.mall-auth-wrap.installer-apply-page .mall-page {
  flex: 1 1 auto;
  max-width: none;
}

.mall-auth-wrap.installer-apply-page .mall-auth-head h1 {
  display: none;
}

.mall-auth-wrap.installer-apply-page .mall-auth-head {
  margin-bottom: 16px;
  text-align: left;
}

.mall-auth-wrap.installer-apply-page .mall-page > .mall-navbar {
  margin: 0;
}

@media (min-width: 768px) {
  .mall-auth-wrap {
    padding: 48px;
    background: linear-gradient(180deg, #e8f4fc 0%, var(--mall-bg) 40%);
  }
}

.mall-auth-wrap .mall-page {
  position: relative;
  flex: 0 1 440px;
  width: 100%;
  max-width: 440px;
  min-width: 0;
  min-height: auto;
  background: transparent;
  padding: 0;
}

.mall-auth-wrap.auth-responsive-page .mall-page {
  flex-basis: 1120px;
  max-width: 1120px;
}

@media (max-width: 899px) {
  .mall-auth-wrap.auth-responsive-page .mall-page {
    flex-basis: 440px;
    max-width: min(440px, 100%);
  }
}

.auth-responsive-layout {
  display: grid;
  width: 100%;
}

.auth-desktop-context {
  display: none;
}

.auth-desktop-context-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-desktop-context-brand::before {
  content: 'NE';
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #0f6b4f;
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.auth-desktop-context-brand.ne-home-brand {
  color: #0b2435;
  text-decoration: none;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.auth-desktop-context-brand.ne-home-brand::before {
  content: none;
  display: none;
}

.auth-desktop-context h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.auth-desktop-context > p {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--mall-text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.auth-desktop-points {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.auth-desktop-points li {
  position: relative;
  padding-left: 28px;
  color: var(--mall-text-secondary);
  font-size: 14px;
}

.auth-desktop-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 4px solid rgba(15, 107, 79, 0.18);
  border-radius: 50%;
  background: #0f6b4f;
  background-clip: padding-box;
}

.mall-auth-card {
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow);
}

.mall-auth-card--wide {
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .mall-auth-wrap.auth-responsive-page {
    padding: 64px clamp(40px, 7vw, 96px);
    background:
      radial-gradient(circle at 12% 18%, rgba(96, 165, 250, 0.16), transparent 30%),
      radial-gradient(circle at 86% 78%, rgba(15, 107, 79, 0.13), transparent 28%),
      #f4f7f5;
  }

  .mall-auth-wrap.installer-apply-page.auth-responsive-page {
    padding: 0 clamp(24px, 4vw, 48px) 32px;
  }

  .mall-auth-wrap.installer-apply-page .mall-page > .mall-navbar {
    margin: 0;
    border: 1px solid rgba(16, 35, 31, 0.1);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    background: rgba(255, 255, 255, 0.88);
  }

  .mall-auth-wrap.installer-apply-page .auth-responsive-layout {
    border-radius: 0 0 28px 28px;
    border-top: none;
  }

  .auth-responsive-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
    align-items: stretch;
    overflow: hidden;
    min-height: 640px;
    border: 1px solid rgba(16, 35, 31, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 80px rgba(16, 35, 31, 0.12);
  }

  .auth-desktop-context {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 84px);
    background:
      linear-gradient(rgba(255, 255, 255, 0.72), rgba(245, 250, 248, 0.88)),
      repeating-linear-gradient(135deg, transparent 0 34px, rgba(15, 107, 79, 0.045) 35px 36px);
  }

  .auth-responsive-layout > .mall-auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    border: 0;
    border-left: 1px solid rgba(16, 35, 31, 0.1);
    border-radius: 0;
    padding: 52px 48px;
    box-shadow: none;
  }

  .auth-responsive-layout > .mall-auth-card--wide {
    max-width: none;
    margin: 0;
  }

  .installer-apply-page .auth-responsive-layout {
    grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  }

  .installer-apply-page .auth-desktop-context {
    justify-content: flex-start;
    padding: 56px 48px;
  }

  .installer-apply-page .auth-desktop-context h2 {
    font-size: clamp(32px, 3vw, 46px);
  }

  .installer-apply-page #applyForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .installer-apply-page #applyForm .form-group:nth-of-type(n + 5),
  .installer-apply-page #applyForm > .form-hint,
  .installer-apply-page #applyForm > .error-msg,
  .installer-apply-page #applyForm > .btn-primary,
  .installer-apply-page #applyForm > .btn-secondary {
    grid-column: 1 / -1;
  }

  .installer-apply-page .installer-apply-detail dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mall-callout {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--mall-radius-sm);
  font-size: 14px;
  line-height: 1.5;
}

.mall-callout--info {
  background: var(--mall-accent-soft);
  color: var(--mall-text);
  border: 1px solid rgba(0, 113, 227, 0.15);
}

.mall-menu-item--static {
  cursor: default;
  opacity: 0.92;
}

.mall-menu-item--static:hover {
  background: transparent;
}

.mall-auth-toolbar {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mall-auth-switch {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.mall-auth-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 28px;
  color: #0b2435;
  text-decoration: none;
}

.mall-auth-brand .ne-home-logo {
  width: 32px;
  max-width: 32px;
  height: 25px;
}

.mall-auth-brand span {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.01em;
  color: #0b2435;
  white-space: nowrap;
}

.mall-auth-brand:hover,
.mall-auth-brand:hover span {
  color: #0b2435;
}

.mall-auth-head {
  text-align: center;
  margin-bottom: 24px;
}

.mall-auth-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mall-auth-logo {
  width: 32px;
  height: 25px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mall-auth-head h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.032em;
  color: var(--mall-text);
  margin: 0;
}

.mall-auth-head p {
  font-size: 15px;
  color: var(--mall-text-muted);
  letter-spacing: -0.012em;
  margin: 8px 0 0;
}

.mall-auth-lang-btn {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 100;
}

.mall-auth-entry .mall-auth-card {
  padding: 28px 22px 24px;
  border: 0;
  box-shadow: var(--mall-shadow-sm);
}

.mall-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mall-auth-actions .btn-primary {
  width: 100%;
  margin: 0;
}

.mall-auth-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 20px;
  border-radius: var(--mall-radius-pill);
  background: rgba(120, 120, 128, 0.12);
  color: var(--mall-primary);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mall-auth-secondary:hover {
  background: rgba(120, 120, 128, 0.18);
  color: var(--mall-primary);
  text-decoration: none;
}

.mall-auth-back {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  border-radius: var(--mall-radius-pill);
  background: rgba(120, 120, 128, 0.08);
  color: var(--mall-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.mall-auth-back + .mall-auth-back {
  margin-top: 10px;
}

.mall-auth-back:hover {
  background: rgba(120, 120, 128, 0.14);
  color: var(--mall-text);
  text-decoration: none;
}

.mall-auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--mall-text-muted);
}

.mall-auth-foot a {
  color: var(--mall-primary);
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 900px) {
  .mall-auth-entry .mall-auth-card {
    padding: 52px 46px;
  }

  .mall-auth-entry .auth-desktop-context {
    background:
      linear-gradient(145deg, rgba(36, 157, 53, 0.96), rgba(15, 107, 79, 0.94)),
      repeating-linear-gradient(135deg, transparent 0 34px, rgba(255, 255, 255, 0.08) 35px 36px);
    color: #fff;
  }

  .mall-auth-entry .auth-desktop-context h2 {
    color: #fff;
  }

  .mall-auth-entry .auth-desktop-context > p {
    color: rgba(255, 255, 255, 0.78);
  }

  .mall-auth-entry .auth-desktop-context-brand.ne-home-brand,
  .mall-auth-entry .auth-desktop-context-brand.ne-home-brand span {
    color: #fff;
  }

  .mall-auth-entry .auth-desktop-points li {
    color: rgba(255, 255, 255, 0.86);
  }

  .mall-auth-entry .auth-desktop-points li::before {
    border-color: rgba(255, 255, 255, 0.24);
    background: #fff;
  }
}

/* ========== 状态 ========== */
.badge {
  display: inline-block;
  min-width: 18px;
  padding: 0 6px;
  background: var(--mall-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  vertical-align: top;
  margin-left: 4px;
}

.empty, .loading {
  text-align: center;
  padding: 56px 24px;
  color: var(--mall-text-muted);
  font-size: 15px;
  grid-column: 1 / -1;
}

.error-msg {
  text-align: center;
  padding: 32px 20px;
  color: #ff3b30;
  font-size: 15px;
  grid-column: 1 / -1;
}

.detail-price {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--mall-text);
  margin: 12px 0;
}

.detail-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mall-text-secondary);
  margin-bottom: 16px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--mall-border);
  border-bottom: 1px solid var(--mall-border);
}

.qty-row input {
  width: 80px;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--mall-border-strong);
  border-radius: var(--mall-radius-sm);
  font-size: 16px;
}

.success-box {
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.25);
  border-radius: var(--mall-radius);
  padding: 28px 20px;
  text-align: center;
}

.success-box h2 { color: var(--mall-mint); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.success-box p { font-size: 14px; color: var(--mall-text-secondary); line-height: 1.5; }

/* 子页面列表 */
.mall-list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mall-list-stack .product-card { margin-bottom: 0; }

/* AI 导购商品列表复用网格 */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 客服 iframe 页 */
.mall-chat-frame {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: var(--mall-bg);
}

.mall-chat-frame .mall-navbar {
  flex-shrink: 0;
  position: relative;
}

.mall-chat-frame iframe {
  flex: 1;
  border: 0;
  width: 100%;
  min-height: 0;
  background: #fff;
}

.mall-chat-frame--embed {
  height: 100%;
  min-height: 100%;
}

.mall-chat-frame--embed .mall-navbar {
  display: none;
}

.mall-chat-frame--embed .mall-chat-loading {
  font-size: 13px;
}

/* 移动端 AI 客服全页 */
.mall-chat-page {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f5f5f7;
}

.mall-chat-page .mall-utility-bar {
  flex-shrink: 0;
  position: relative;
}

.mall-chat-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mall-chat-page .mall-chat-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--mall-text-muted);
  background: var(--mall-bg);
  z-index: 2;
  transition: opacity 0.2s ease;
}

.mall-chat-page .mall-chat-loading.is-done {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.mall-chat-frame-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f5f5f7;
}

[data-theme="dark"] .mall-ai-panel-head {
  background: rgba(28, 28, 30, 0.92);
}

/* 兼容旧顶栏（逐步废弃，新页请用 renderNavBar） */
.mall-header {
  display: none;
}

/* Phase 27 骨架屏 */
.mall-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .mall-skeleton-grid { grid-template-columns: repeat(3, 1fr); }
}

.mall-skeleton-card,
.mall-skeleton-order {
  background: var(--mall-card);
  border-radius: var(--mall-radius);
  padding: 12px;
}

.sk-block {
  background: linear-gradient(90deg, #eceff3 25%, #f5f7fa 50%, #eceff3 75%);
  background-size: 200% 100%;
  animation: mall-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes mall-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.sk-pic { height: 120px; margin-bottom: 10px; }
.sk-line { height: 14px; margin-top: 8px; }
.sk-line-lg { width: 85%; }
.sk-line-sm { width: 55%; height: 12px; }
.sk-thumb { width: 56px; height: 56px; flex-shrink: 0; }
.sk-row { display: flex; gap: 12px; margin-top: 10px; }
.sk-col { flex: 1; }
.sk-detail-pic { height: 220px; margin-bottom: 16px; }

.mall-skeleton-orders { display: flex; flex-direction: column; gap: 12px; }

/* Phase 28 下拉刷新 */
.mall-pull-indicator {
  text-align: center;
  font-size: 13px;
  color: var(--mall-text-secondary);
  padding: 8px 0 12px;
}

.mall-pull-indicator.loading { color: var(--mall-mint); }

.mall-load-more-wrap {
  text-align: center;
  padding: 16px 0 8px;
}

.mall-load-more-wrap .mall-btn-ghost {
  min-width: 140px;
}

/* Phase 32 面包屑 */
.mall-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mall-text-secondary);
  padding: 12px 18px 0;
}

.mall-breadcrumb a {
  color: var(--mall-mint);
  text-decoration: none;
}

.mall-breadcrumb .sep { opacity: 0.45; }

/* ========== 商品详情（对齐首页风格） ========== */
body.mall-detail-page {
  background: var(--mall-bg);
}

body.mall-detail-page .mall-page {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

body.mall-detail-page .mall-breadcrumb {
  max-width: var(--mall-content-max);
  margin: 0 auto;
  padding: 12px 16px 0;
  font-size: 13px;
}

body.mall-detail-page .mall-detail-layout {
  max-width: var(--mall-content-max);
  margin: 0 auto;
  padding: 8px 16px 0;
}

body.mall-detail-page .mall-detail-pic,
body.mall-detail-page .mall-gallery {
  border-radius: var(--mall-radius);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  overflow: hidden;
  background: var(--mall-bg-elevated);
}

body.mall-detail-page .mall-detail-body {
  margin-top: 14px;
  border-radius: var(--mall-radius);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  background: var(--mall-bg-elevated);
  padding: 20px 18px 22px;
}

body.mall-detail-page .mall-detail-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.mall-detail-page .mall-detail-desc {
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.mall-detail-page .mall-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

body.mall-detail-page .mall-detail-action-btn {
  justify-content: center;
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--mall-radius-pill);
}

body.mall-detail-page .mall-detail-action-btn.active {
  color: var(--mall-accent);
  border-color: rgba(36, 157, 53, 0.28);
  background: rgba(36, 157, 53, 0.06);
}

body.mall-detail-page .mall-detail-action-btn.btn-ai-consult {
  grid-column: 1 / -1;
  color: var(--mall-accent);
  border-color: rgba(36, 157, 53, 0.28);
  background: rgba(36, 157, 53, 0.06);
}

body.mall-detail-page .mall-detail-bar {
  gap: 0;
  justify-content: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--mall-bg-elevated) 88%, transparent);
}

body.mall-detail-page .mall-detail-bar-buy {
  flex: 0 1 auto;
  width: min(90%, 440px);
  min-height: 48px;
  margin: 0 auto;
  max-width: 440px;
  border-radius: var(--mall-radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

body.mall-detail-page .mall-reviews-section,
body.mall-detail-page .mall-related-section {
  max-width: var(--mall-content-max);
  margin: 0 auto;
  padding: 24px 16px 8px;
}

body.mall-detail-page .mall-related-grid .goods-item {
  border-radius: var(--mall-radius);
  box-shadow: var(--mall-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (hover: hover) {
  body.mall-detail-page .mall-related-grid .goods-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--mall-shadow-hover);
  }
}

@media (min-width: 900px) {
  body.mall-detail-page .mall-page {
    padding-bottom: 48px;
  }

  body.mall-detail-page .mall-detail-layout {
    padding: 12px 24px 0;
  }

  body.mall-detail-page .mall-detail-body {
    margin-top: 0;
    padding: 28px;
  }

  body.mall-detail-page .mall-detail-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.mall-detail-page .mall-detail-action-btn.btn-ai-consult {
    grid-column: auto;
  }

  body.mall-detail-page .mall-detail-bar {
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid var(--mall-border);
    justify-content: center;
  }

  body.mall-detail-page .mall-detail-bar-buy {
    width: min(100%, 380px);
  }
}

/* Phase 31 详情操作栏 */
.mall-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mall-detail-actions .btn-ghost-icon {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm);
  background: var(--mall-card);
  font-size: 14px;
  cursor: pointer;
}

.mall-detail-actions .btn-ghost-icon.active {
  border-color: var(--mall-mint);
  color: var(--mall-mint);
}

.mall-detail-actions .btn-ai-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-color: rgba(36, 157, 53, 0.28);
  color: var(--mall-accent);
  background: rgba(36, 157, 53, 0.06);
}

/* Phase 33 最近浏览 */
#recentSection[hidden] {
  display: none !important;
}

.mall-recent-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  min-height: 0;
}

.mall-recent-scroll:empty {
  display: none;
  min-height: 0;
  padding: 0;
}

.mall-recent-scroll::-webkit-scrollbar {
  display: none;
}

.mall-recent-item {
  flex: 0 0 132px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--mall-bg-elevated);
  border-radius: var(--mall-radius);
  border: 1px solid var(--mall-border);
  box-shadow: var(--mall-shadow-sm);
  overflow: hidden;
  transition: transform var(--mall-transition), box-shadow var(--mall-transition);
}

@media (hover: hover) {
  .mall-recent-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--mall-shadow-hover);
  }
}

.mall-recent-item .pic {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8f2ec 100%);
}

.mall-recent-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mall-recent-item .name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  padding: 8px 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mall-recent-item .price {
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-price);
  padding: 4px 10px 10px;
}

/* Phase 34 订单时间线 */
.order-timeline {
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--mall-border);
}

.order-timeline-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.order-timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.order-timeline-steps::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 10px;
  height: 2px;
  background: var(--mall-border);
  z-index: 0;
}

.order-timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--mall-text-secondary);
  padding: 0 2px;
}

.order-timeline-step .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mall-border);
  margin: 0 auto 6px;
  line-height: 20px;
  font-size: 10px;
  color: #fff;
}

.order-timeline-step.done .dot {
  background: var(--mall-mint);
}

.order-timeline-step.done { color: var(--mall-text); }

/* Phase 35 个人中心快捷 */
.profile-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 0;
  width: 100%;
}

.profile-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--mall-card);
  border-radius: var(--mall-radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--mall-border);
}

.profile-shortcut .sc-icon { font-size: 20px; }
.profile-shortcut .sc-label { font-size: 13px; font-weight: 500; }
.profile-shortcut .sc-meta { font-size: 11px; color: var(--mall-text-secondary); }

/* Phase 36 相关商品 */
.mall-related-section {
  padding: 20px 18px 100px;
  border-top: 8px solid var(--mall-bg);
}

.mall-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .mall-related-grid { grid-template-columns: repeat(4, 1fr); }
}

.mall-fav-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--mall-text-secondary);
}

/* Phase 37 排序 */
.mall-sort-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mall-sort-bar button {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--mall-border);
  background: var(--mall-card);
  font-size: 13px;
  color: var(--mall-text-secondary);
  cursor: pointer;
  transition: border-color var(--mall-transition), color var(--mall-transition), background var(--mall-transition);
}

.mall-sort-bar button.active {
  border-color: var(--mall-mint);
  color: var(--mall-mint);
  font-weight: 600;
}

/* Phase 39 Tab 角标 */
.tab-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.mall-tabbar a { position: relative; }

/* Phase 40 订单搜索 */
.mall-order-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mall-order-search input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm);
  font-size: 15px;
}

.mall-order-date-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--mall-text-secondary);
}

.mall-order-date-filter label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mall-order-date-filter input[type="date"] {
  padding: 6px 8px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm);
  font-size: 14px;
  background: var(--mall-card);
  color: var(--mall-text);
}

.feedback-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.feedback-card {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  box-shadow: var(--mall-shadow-sm);
  overflow: hidden;
}

.feedback-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--mall-border);
  background: rgba(0, 0, 0, 0.02);
}

.feedback-card-time {
  font-size: 12px;
  color: var(--mall-text-secondary);
  white-space: nowrap;
}

.feedback-card-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--mall-accent);
  background: var(--mall-accent-soft);
  padding: 2px 8px;
  border-radius: var(--mall-radius-pill);
}

.feedback-card-bd {
  padding: 12px 14px 14px;
}

.feedback-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mall-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.profile-panel-head--feedback {
  margin-bottom: 12px;
}

.profile-panel-head--feedback .feedback-submit-link {
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.feedback-form-card h2 {
  margin: 0 0 8px;
}

.feedback-form-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mall-text-secondary);
}

.feedback-form-card .form-field-submit {
  width: 100%;
  margin-top: 4px;
}

.feedback-history-item {
  padding: 10px 12px;
  background: var(--mall-bg);
  border-radius: var(--mall-radius-sm);
  font-size: 14px;
}

.feedback-history-item time {
  display: block;
  font-size: 12px;
  color: var(--mall-text-secondary);
  margin-bottom: 4px;
}

.order-card-meta {
  font-size: 12px;
  color: var(--mall-text-secondary);
  padding: 0 18px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-coupon-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--mall-theme-light);
  color: var(--mall-theme);
  font-size: 11px;
}

.mall-my-review {
  margin-bottom: 12px;
}

.coupon-history-item,
.mall-record-card {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  box-shadow: var(--mall-shadow-sm);
  padding: 12px 14px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.45;
}

.coupon-history-item strong,
.mall-record-card strong {
  font-weight: 600;
  color: var(--mall-text);
}

.coupon-history-item .detail-desc,
.mall-record-card .detail-desc {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.mall-coupon-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 10px 12px;
  background: var(--mall-theme-light);
  border-radius: var(--mall-radius-sm);
  font-size: 13px;
}

.mall-coupon-promo--product {
  margin: 16px 0 0;
  padding: 12px 14px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--mall-border);
  background: var(--mall-bg);
}

.mall-coupon-promo--product .mall-coupon-chips {
  width: 100%;
}

.mall-coupon-promo-label {
  color: var(--mall-theme);
  font-weight: 600;
  flex: 0 0 100%;
}

.mall-coupon-promo-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 100%;
}

.mall-coupon-go {
  flex-shrink: 0;
  font-size: 12px;
  padding: 4px 10px;
}

.mall-coupon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mall-coupon-chip {
  padding: 4px 10px;
  border: 1px dashed var(--mall-theme);
  border-radius: 999px;
  background: var(--mall-card);
  color: var(--mall-theme);
  font-size: 12px;
  cursor: pointer;
}

.coupon-available-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--mall-border, #eee);
}

.coupon-available-item:last-child {
  border-bottom: none;
}

.coupon-available-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.coupon-landing-card .coupon-available-actions {
  margin-top: 16px;
}

.mall-coupon-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 4px 4px 0;
}

.mall-coupon-copy-btn {
  border: none;
  background: transparent;
  color: var(--mall-muted, #86868b);
  font-size: 14px;
  padding: 2px 6px;
  cursor: pointer;
}

.demo-flow-list {
  margin: 12px 0 0;
  padding-left: 20px;
  line-height: 1.6;
}

.demo-flow-list li {
  margin-bottom: 16px;
}

.coupon-available-item .mall-coupon-save-btn {
  margin-top: 8px;
}

.mall-coupon-expiring-banner {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--mall-radius-sm);
  background: #fff7e6;
  color: #ad6800;
  font-size: 13px;
}

.coupon-soon-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff7e6;
  color: #ad6800;
  font-size: 11px;
  font-weight: 600;
}

.coupon-available-soon {
  border-left: 3px solid #faad14;
  padding-left: 8px;
}

.mall-order-coupon-filter {
  margin: 0 12px 8px;
  font-size: 14px;
}

.profile-coupon-banner {
  margin: 0 12px 12px;
}

.profile-coupon-banner a {
  color: var(--mall-theme);
  font-weight: 600;
}

.order-coupon-detail {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--mall-radius-sm);
  background: var(--mall-theme-light);
  font-size: 14px;
}

.order-coupon-detail-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.notify-type-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.notify-type-coupon {
  background: var(--mall-theme-light);
  color: var(--mall-theme);
}

.notify-card-coupon {
  border-left: 3px solid var(--mall-theme);
}

.notify-type-order {
  background: #e6f4ff;
  color: #1677ff;
}

.notify-card-order {
  border-left: 3px solid #1677ff;
}

.notify-type-subsidy {
  background: #f6ffed;
  color: #52c41a;
}

.notify-card-subsidy {
  border-left: 3px solid #52c41a;
}

.notify-type-work {
  background: #f9f0ff;
  color: #722ed1;
}

.notify-card-work {
  border-left: 3px solid #722ed1;
}

.mall-notify-toolbar {
  margin-bottom: 14px;
}

.mall-notify-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mall-notify-tabs-scroll {
  position: relative;
  flex: 1;
  min-width: 0;
  margin: 0 -16px;
  padding: 0 16px;
}

.mall-notify-tabs-scroll::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(to right, transparent, var(--mall-bg));
  pointer-events: none;
}

.mall-notify-tabs {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  padding: 2px 4px 2px 0;
  gap: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.mall-notify-chip,
.mall-notify-tabs button {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: var(--mall-radius-pill);
  background: var(--mall-bg-elevated);
  box-shadow: inset 0 0 0 1px var(--mall-border);
  color: var(--mall-text-secondary);
  cursor: pointer;
  transition: color var(--mall-transition), box-shadow var(--mall-transition), background var(--mall-transition);
  white-space: nowrap;
}

.mall-notify-tabs button {
  scroll-snap-align: start;
}

.mall-notify-chip:hover,
.mall-notify-tabs button:hover {
  color: var(--mall-text);
  box-shadow: inset 0 0 0 1px var(--mall-border-strong);
}

.mall-notify-tabs button.active {
  background: var(--mall-theme-light);
  color: var(--mall-theme);
  box-shadow: inset 0 0 0 1px rgba(36, 157, 53, 0.35);
  font-weight: 600;
}

.mall-notify-read-all {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mall-notify-tabs-scroll {
    margin: 0;
    padding: 0;
  }

  .mall-notify-tabs-scroll::after {
    display: none;
  }

  .mall-notify-tabs {
    flex-wrap: wrap !important;
    overflow-x: visible;
  }
}

.order-discount-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 11px;
}

.menu-badge {
  margin-left: auto;
  margin-right: 8px;
  min-width: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--mall-theme);
  color: #fff;
  font-size: 11px;
  text-align: center;
  line-height: 18px;
}

/* Phase 41 消息 — 见 .mall-notify-toolbar */

/* Phase 42 Toast */
.mall-toast {
  position: fixed;
  left: 50%;
  bottom: calc(80px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(12px);
  background: rgba(30, 30, 30, 0.92);
  color: #fff;
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: 90vw;
  text-align: center;
}

.mall-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Phase 44 回到顶部 */
.mall-back-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(72px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--mall-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-size: 20px;
  cursor: pointer;
  z-index: 50;
}

/* Phase 46 网络重试 */
.mall-network-retry {
  text-align: center;
  padding: 32px 16px;
}

.mall-network-retry p {
  color: var(--mall-text-secondary);
  margin-bottom: 12px;
}

/* Phase 48 价格筛选 */
.mall-price-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mall-price-filter button {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--mall-border);
  background: var(--mall-card);
  font-size: 12px;
  color: var(--mall-text-secondary);
  cursor: pointer;
  transition: border-color var(--mall-transition), color var(--mall-transition);
}

.mall-price-filter button.active {
  border-color: var(--mall-mint);
  color: var(--mall-mint);
}

.mall-sort-sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--mall-bg);
  padding: 8px 0;
}

.mall-channel-select {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--mall-border);
  background: var(--mall-card);
  max-width: 88px;
}

/* Phase 50 商品卡片操作 */
.goods-item-wrap {
  position: relative;
}

.goods-item-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.goods-act-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}

.goods-act-btn.active {
  color: #ff3b30;
}

.goods-act-btn.goods-cmp-btn.active {
  color: var(--mall-mint);
}

.goods-ai-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(36, 157, 53, 0.22);
  border-radius: var(--mall-radius-sm);
  background: rgba(36, 157, 53, 0.06);
  color: var(--mall-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.goods-ai-link:hover {
  background: rgba(36, 157, 53, 0.1);
}

.mall-compare-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--mall-tabbar-h) + var(--mall-safe-bottom) + 8px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--mall-card);
  border: 1px solid var(--mall-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-size: 14px;
}

.mall-compare-bar[hidden] {
  display: none !important;
}

@media (min-width: 1024px) {
  body.has-sidebar .mall-compare-bar {
    left: calc(var(--mall-sidebar-w) + 16px);
    bottom: calc(var(--mall-safe-bottom) + 16px);
  }
}

.mall-compare-table {
  overflow-x: auto;
}

.mall-compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mall-compare-table th,
.mall-compare-table td {
  border: 1px solid var(--mall-border);
  padding: 10px;
  text-align: left;
}

.profile-shortcuts-3 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 480px) {
  .profile-shortcuts-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mall-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mall-text-secondary);
}

/* Phase 59 自定义价格 */
.mall-price-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mall-price-custom input {
  width: 88px;
  padding: 8px 10px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm);
  font-size: 14px;
}

.order-card {
  display: block;
  background: var(--mall-card);
  border-radius: var(--mall-radius);
  border: 1px solid var(--mall-border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.order-card-thumb {
  display: block;
  text-decoration: none;
}

.order-goods-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mall-mint);
  text-decoration: none;
}

.mall-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--mall-mint);
  color: #fff;
  border-radius: 8px;
}

.mall-skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Phase 70+ */
.mall-banner-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 900px) {
  .mall-banner-actions {
    justify-content: flex-start;
  }
}

.mall-banner-cta {
  background: rgba(255, 255, 255, 0.85);
}

.mall-offline-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 8px 16px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: #ff9500;
  color: #fff;
  text-align: center;
  font-size: 13px;
}

.mall-list-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mall-list-toolbar[hidden],
.mall-pending-banner[hidden] {
  display: none !important;
}

.order-card-status-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 58%;
}

.order-type-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--mall-accent-soft);
  color: var(--mall-accent);
  white-space: nowrap;
}

.order-action-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 149, 0, 0.12);
  color: #ff9500;
  white-space: nowrap;
}

.order-card-no--muted {
  color: var(--mall-text-muted);
  font-weight: 500;
}

.order-price-muted {
  font-size: 14px;
  color: var(--mall-text-secondary);
}

.mall-orders-back-link {
  display: inline-block;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .order-card-status-group {
    max-width: 100%;
    justify-content: flex-start;
    margin-top: 4px;
  }

  .order-card-hd {
    flex-wrap: wrap;
  }
}

.mall-orders-filters {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-lg);
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: var(--mall-shadow-sm);
}

.mall-orders-filters .mall-order-search {
  margin-bottom: 10px;
}

.mall-orders-filters .mall-order-coupon-filter {
  margin-bottom: 10px;
}

.mall-orders-filters .mall-order-date-filter {
  margin-bottom: 12px;
}

.mall-orders-filters .mall-order-tabs {
  padding-bottom: 0;
  margin-bottom: 0;
}

.mall-orders-page .mall-pending-banner {
  margin-bottom: 12px;
}

.mall-orders-page .mall-list-stack:empty {
  display: none;
}

.order-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mall-chat-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mall-text-secondary);
  font-size: 15px;
}

/* Phase 81+ */
.mall-pending-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: rgba(255, 149, 0, 0.12);
  border: 1px solid rgba(255, 149, 0, 0.35);
  border-radius: var(--mall-radius);
  font-size: 14px;
}

.order-pay-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border: none;
  border-radius: 16px;
  background: var(--mall-mint);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.mall-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm);
  font-size: 15px;
  background: var(--mall-card);
}

:focus-visible {
  outline: 2px solid var(--mall-mint);
  outline-offset: 2px;
}

/* ========== PWA 安装条 ========== */
.mall-install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin: 8px 12px 0;
  background: var(--mall-accent-soft);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-sm);
  font-size: 13px;
}
.mall-install-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ========== 深浅色主题 ========== */
[data-theme="dark"] {
  --mall-bg: #000000;
  --mall-bg-subtle: #2c2c2e;
  --mall-bg-hover: #2c2c2e;
  --mall-bg-elevated: #1c1c1e;
  --mall-card: #1c1c1e;
  --mall-text: #f5f5f7;
  --mall-text-secondary: #a1a1a6;
  --mall-text-muted: #86868b;
  --mall-price: #f5f5f7;
  --mall-border: rgba(255, 255, 255, 0.1);
  --mall-border-strong: rgba(255, 255, 255, 0.16);
  --mall-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --mall-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .mall-utility-bar,
[data-theme="dark"] .mall-sidebar,
[data-theme="dark"] .mall-home-top,
[data-theme="dark"] .mall-navbar {
  background: rgba(28, 28, 30, 0.92);
}
[data-theme="dark"] .goods-item,
[data-theme="dark"] .form-card,
[data-theme="dark"] .order-card {
  background: var(--mall-bg-elevated);
}

[data-theme="dark"] .mall-status-panel--warn {
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.35);
}

[data-theme="dark"] .mall-status-panel--info {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.35);
}

[data-theme="dark"] .mall-status-panel--ok {
  background: rgba(52, 199, 89, 0.12);
  border-color: rgba(52, 199, 89, 0.35);
}

[data-theme="dark"] .mall-menu-section-title,
[data-theme="dark"] .profile-menu-inset {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .profile-panel-backbar {
  background: var(--mall-bg-elevated);
}

[data-theme="dark"] .mall-menu-item--panel.active {
  background: rgba(0, 113, 227, 0.18);
}

[data-theme="dark"] .mall-menu-item--panel.active .menu-icon {
  background: rgba(0, 113, 227, 0.28);
}

[data-theme="dark"] .profile-settings-item:hover {
  background: var(--mall-bg-hover);
}

[data-theme="dark"] .profile-settings-item--danger {
  background: rgba(255, 59, 48, 0.1);
}

[data-theme="dark"] .profile-settings-item--danger:hover {
  background: rgba(255, 59, 48, 0.16);
}

/* ========== 字号 ========== */
html[data-font-size="small"] body { font-size: 14px; }
html[data-font-size="large"] body { font-size: 17px; }

/* ========== 精选商品工具栏 ========== */
.mall-goods-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mall-goods-head-text {
  flex: 1;
  min-width: 0;
}

.mall-goods-head .mall-section-title {
  margin-bottom: 0;
}

.mall-goods-head .mall-search-summary {
  margin: 6px 0 0;
}

.mall-goods-section .mall-sort-bar,
.mall-goods-section .mall-price-filter,
.mall-goods-section .mall-price-custom {
  margin-bottom: 12px;
}

/* ========== 列表/网格切换 ========== */
.mall-view-toggle {
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px;
  gap: 0;
  margin: 0;
  background: var(--mall-bg-subtle);
  border-radius: var(--mall-radius-pill);
  border: 1px solid var(--mall-border);
}

.mall-view-toggle button {
  padding: 6px 14px;
  border: none;
  border-radius: var(--mall-radius-pill);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--mall-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--mall-transition), color var(--mall-transition), box-shadow var(--mall-transition);
}

.mall-view-toggle button.active {
  background: var(--mall-bg-elevated);
  color: var(--mall-text);
  box-shadow: var(--mall-shadow-sm);
}

.mall-view-toggle button:not(.active):hover {
  color: var(--mall-text);
}
.goods-grid.goods-grid--list {
  grid-template-columns: 1fr;
}
.goods-grid--list .goods-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.goods-grid--list .goods-pic {
  width: 112px;
  min-height: 112px;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.goods-grid--list .goods-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
}

.mall-help-card section { margin-top: 16px; }
.mall-help-card h3 { font-size: 16px; margin-bottom: 6px; }
.mall-help-card p { color: var(--mall-text-secondary); font-size: 14px; }

.profile-panel--settings {
  max-width: 560px;
}

.profile-panel--settings > h3 {
  margin-bottom: 4px;
}

.profile-settings-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--mall-border);
}

.profile-settings-group:first-of-type {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}

.profile-settings-group-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mall-text-muted);
  margin-bottom: 8px;
}

.profile-settings-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mall-text-secondary);
}

.profile-settings-list {
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  overflow: hidden;
  background: var(--mall-bg);
}

.profile-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid var(--mall-border);
  background: var(--mall-bg-elevated);
  color: var(--mall-text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background var(--mall-transition);
}

.profile-settings-list .profile-settings-item:last-child {
  border-bottom: none;
}

.profile-settings-item:hover {
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.02));
}

.profile-settings-item-label {
  flex: 1;
  min-width: 0;
}

.profile-settings-item .menu-arrow {
  flex-shrink: 0;
  color: var(--mall-text-muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.profile-settings-item--check {
  cursor: default;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  background: var(--mall-bg-elevated);
}

.profile-settings-item--check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--mall-accent);
}

.profile-settings-item--danger {
  border: 1px solid rgba(255, 59, 48, 0.35);
  border-radius: var(--mall-radius);
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.06);
}

.profile-settings-item--danger:hover {
  background: rgba(255, 59, 48, 0.1);
}

.profile-settings-group--danger {
  border-top-color: rgba(255, 59, 48, 0.15);
}

.profile-settings-group--logout {
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}

.profile-settings-item--logout {
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  font-weight: 500;
  color: var(--mall-accent);
  background: var(--mall-bg-elevated);
}

.profile-gdpr-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--mall-text-secondary);
}

.profile-gdpr-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--mall-border);
}

.profile-gdpr-list li:last-child {
  border-bottom: none;
}

.profile-gdpr-empty {
  color: var(--mall-text-muted);
}

.profile-gdpr-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mall-text-secondary);
}

.profile-settings-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mall-select-inline {
  min-width: 120px;
  padding: 6px 10px;
  font-size: 14px;
}
.mall-coupon-row {
  display: flex;
  gap: 8px;
}
.mall-coupon-row input { flex: 1; }
.mall-product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 10px;
  font-size: 14px;
  color: var(--mall-text-secondary);
}
.mall-rating .stars { color: #ff9500; letter-spacing: 1px; }
.mall-sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--mall-tabbar-h) + var(--mall-safe-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--mall-blur);
  border-top: 1px solid var(--mall-border);
  z-index: 250;
}
[data-theme="dark"] .mall-sticky-buy {
  background: rgba(28, 28, 30, 0.95);
}
@media (min-width: 1024px) {
  body.has-sticky-buy .mall-sticky-buy {
    left: var(--mall-sidebar-w);
  }
  body.has-sticky-buy.has-detail-bar .mall-detail-bar {
    bottom: 0;
  }
}

.mall-announce-bar {
  margin: 14px 12px 0;
  padding: 16px 22px;
  background: #e1e9f8;
  border-radius: 14px;
  color: #1d1d1f;
  font-size: 15px;
  line-height: 1.48;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mall-announce-bar strong {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

body.mall-home-page .brand-biz-section {
  padding-top: 20px;
}

body.mall-home-page .brand-biz-section--top {
  margin-top: 0;
}

body.mall-home-page .mall-section-head {
  gap: 8px;
  margin: 0 4px 18px;
}

body.mall-home-page .mall-section-head .mall-section-title {
  font-size: 30px;
  font-weight: 690;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

body.mall-home-page .mall-section-head .brand-section-desc {
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

body.mall-home-page .brand-biz-grid {
  gap: 20px;
  margin-top: 0;
}

body.mall-home-page .brand-biz-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 2px 5px rgba(27, 35, 47, 0.08);
}

body.mall-home-page .brand-biz-card:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.28);
  outline-offset: 3px;
}

body.mall-home-page .brand-biz-img {
  aspect-ratio: 1.64 / 1;
}

body.mall-home-page .brand-biz-body {
  display: flex;
  min-height: 152px;
  flex-direction: column;
  padding: 18px 20px 20px;
}

body.mall-home-page .brand-biz-body h3 {
  margin-bottom: 7px;
  color: #1d1d1f;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

body.mall-home-page .brand-biz-body p {
  margin-bottom: 14px;
  color: #74747b;
  font-size: 16px;
  line-height: 1.48;
}

body.mall-home-page .brand-biz-cta {
  margin-top: auto;
  font-size: 16px;
  line-height: 1.25;
}

body.mall-home-page .home-ai-guide-section {
  padding-top: 14px;
}

body.mall-home-page .home-ai-guide-card {
  padding: 20px 24px;
  border-radius: 18px;
}

body.mall-home-page .home-ai-guide-head {
  gap: 14px;
}

body.mall-home-page .home-ai-guide-mark {
  padding: 6px 9px;
  font-size: 12px;
  border-radius: 7px;
}

body.mall-home-page .home-ai-guide-title {
  font-size: 20px;
}

body.mall-home-page .home-ai-guide-desc {
  font-size: 16px;
}

body.mall-home-page .home-ai-guide-cta {
  font-size: 15px;
}

@media (max-width: 639px) {
  .mall-utility-bar-inner {
    min-height: 78px;
    padding: 9px 30px;
  }

  .ne-home-logo {
    width: 46px;
    max-width: 46px;
    height: 36px;
  }

  .ne-home-brand span {
    font-size: 20px;
    font-weight: 720;
  }

  .mall-icon-btn,
  .mall-utility-auth {
    min-height: 56px;
    border-radius: 16px;
    font-size: 18px;
  }

  .mall-icon-btn {
    width: 56px;
  }

  .mall-utility-auth {
    padding: 0 18px;
  }

  .mall-utility-actions {
    gap: 10px;
  }

  .mall-announce-bar {
    margin: 14px 22px 0;
    padding: 18px 22px;
    font-size: 15px;
    line-height: 1.52;
  }

  .mall-announce-bar strong {
    font-size: 16px;
  }

  body.mall-home-page .brand-biz-section {
    padding: 20px 30px 4px;
  }

  body.mall-home-page .mall-section-head {
    margin: 0 7px 22px;
  }

  body.mall-home-page .mall-section-head .mall-section-title {
    font-size: 28px;
  }

  body.mall-home-page .mall-section-head .brand-section-desc {
    font-size: 16px;
  }

  body.mall-home-page .brand-biz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  body.mall-home-page .brand-biz-card {
    border-radius: 18px;
  }

  body.mall-home-page .brand-biz-img {
    aspect-ratio: 1.62 / 1;
  }

  body.mall-home-page .brand-biz-body {
    min-height: 196px;
    padding: 20px 22px 20px;
  }

  body.mall-home-page .brand-biz-body h3 {
    font-size: 18px;
    white-space: normal;
  }

  body.mall-home-page .brand-biz-body p {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }

  body.mall-home-page .brand-biz-cta {
    font-size: 16px;
  }

  body.mall-home-page .home-ai-guide-section {
    padding: 28px 30px 8px;
  }

  body.mall-home-page .service-process-section,
  body.mall-home-page .home-data-viz,
  body.mall-home-page .home-case-section,
  body.mall-home-page .home-social-section {
    padding-right: 30px;
    padding-left: 30px;
  }

  .mall-home-composer {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 900px) {
  .mall-utility-bar-inner {
    min-height: 54px;
    padding: 7px 0;
  }

  .ne-home-logo {
    width: 28px;
    max-width: 28px;
    height: 22px;
  }

  .mall-utility-brand span {
    font-size: 16px;
  }

  .mall-icon-btn,
  .mall-utility-auth {
    min-height: 36px;
    border-radius: 10px;
    font-size: 14px;
  }

  .mall-icon-btn {
    width: 36px;
  }

  .mall-utility-auth {
    padding: 0 12px;
  }

  .mall-utility-actions {
    gap: 6px;
  }

  body.has-utility-bar.mall-home-page .mall-page {
    padding-right: 42px;
    padding-left: 42px;
  }

  body.mall-home-page .mall-announce-bar,
  body.mall-home-page .mall-section {
    max-width: 2200px;
    margin-right: auto;
    margin-left: auto;
  }

  body.mall-home-page .mall-announce-bar {
    margin-top: 8px;
    padding: 10px 14px;
    font-size: 13px;
  }

  body.mall-home-page .mall-announce-bar strong {
    font-size: 14px;
  }

  body.mall-home-page .brand-biz-section {
    padding-top: 16px;
  }

  body.mall-home-page .mall-section-head {
    align-items: flex-start;
    gap: 5px;
    margin: 0 4px 14px;
    text-align: left;
  }

  body.mall-home-page .mall-section-head .mall-section-title {
    font-size: 23px;
  }

  body.mall-home-page .mall-section-head .brand-section-desc {
    max-width: none;
    font-size: 14px;
  }

  body.mall-home-page .brand-biz-grid {
    gap: 14px;
  }

  body.mall-home-page .brand-biz-img {
    aspect-ratio: 1.72 / 1;
  }

  body.mall-home-page .brand-biz-body {
    min-height: 102px;
    align-items: flex-start;
    padding: 14px 15px 15px;
    text-align: left;
  }

  body.mall-home-page .brand-biz-body h3 {
    font-size: 16px;
  }

  body.mall-home-page .brand-biz-body p {
    margin-bottom: 8px;
    font-size: 14px;
    -webkit-line-clamp: 1;
  }

  body.mall-home-page .brand-biz-cta {
    font-size: 14px;
  }

  body.mall-home-page .home-ai-guide-section {
    max-width: 2320px;
    padding-top: 12px;
  }
}
.mall-review-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--mall-border);
}
.mall-review-meta { font-size: 13px; color: var(--mall-text-secondary); margin-bottom: 4px; }
.mall-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mall-lightbox[hidden] { display: none !important; }
.mall-lightbox-img { max-width: 100%; max-height: 90vh; border-radius: var(--mall-radius-sm); }
.mall-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
.mall-legal p, .mall-receipt p { margin-top: 10px; color: var(--mall-text-secondary); font-size: 14px; }
.mall-receipt-amount { font-size: 28px; font-weight: 600; margin: 12px 0; }
.mall-faq-item { margin: 8px 0; font-size: 14px; }
.mall-faq-item summary { cursor: pointer; font-weight: 500; padding: 6px 0; }
.mall-faq-item p { color: var(--mall-text-secondary); padding: 6px 0 10px; }

.mall-review-section {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-lg);
  background: var(--mall-bg-elevated);
}

.mall-review-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mall-review-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--mall-border);
}

.mall-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--mall-accent);
}

.mall-review-item p {
  margin-top: 6px;
  color: var(--mall-text-secondary);
}

.mall-review-item time,
.mall-review-empty {
  display: block;
  margin-top: 6px;
  color: var(--mall-text-muted);
  font-size: 12px;
}

.mall-review-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--mall-border);
}

.mall-review-form label {
  display: grid;
  gap: 6px;
  color: var(--mall-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.mall-review-form .btn-primary {
  max-width: 240px;
}

@media print {
  .mall-navbar, .mall-tabbar, .mall-sidebar, .mall-install-banner, .mall-back-top, .mall-sticky-buy { display: none !important; }
  body { background: #fff; color: #000; }
  .mall-page { overflow: visible !important; height: auto !important; }
}

.mall-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(720px, calc(100% - 24px));
  z-index: 9999;
  transform: translateX(-50%);
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--mall-blur);
  -webkit-backdrop-filter: var(--mall-blur);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-lg);
  box-shadow: 0 18px 50px rgba(16, 35, 31, 0.16);
}
.mall-cookie-inner { display: grid; gap: 12px; }
.mall-cookie-text {
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mall-text-secondary);
  margin: 0;
}
.mall-cookie-actions {
  display: grid;
  grid-template-columns: auto auto minmax(132px, 1fr);
  gap: 8px;
}
.mall-cookie-actions .mall-btn-ghost,
.mall-cookie-actions .btn-primary {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  font-size: 14px;
}
.mall-cookie-prefs {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--mall-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.mall-cookie-prefs[hidden] { display: none !important; }
.mall-cookie-prefs label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
}
.mall-cookie-prefs .btn-primary { grid-column: 1 / -1; }

@media (max-width: 639px) {
  body.mall-home-page .brand-biz-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brand-biz-img {
    aspect-ratio: 16 / 8.5;
  }

  .brand-biz-body {
    padding: 14px 16px 16px;
  }

  .brand-biz-body h3 {
    font-size: 17px;
    white-space: normal;
  }

  .brand-biz-body p {
    -webkit-line-clamp: 3;
  }

  .mall-cookie-banner {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 16px);
    padding: 12px;
  }

  .mall-cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .mall-cookie-actions [data-cookie="all"] {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .mall-cookie-prefs {
    grid-template-columns: 1fr;
  }

  .mall-cookie-prefs .btn-primary {
    grid-column: auto;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mall-utility-bar,
  .mall-detail-bar,
  .mall-cookie-banner,
  .mall-home-composer {
    background: var(--mall-bg-elevated) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --mall-border: rgba(16, 35, 31, 0.28);
    --mall-border-strong: rgba(16, 35, 31, 0.46);
  }
}

/* ========== T-032 动效与性能降级 ========== */
.mall-banner--fx {
  position: relative;
  isolation: isolate;
}

.mall-banner-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.mall-banner--fx .mall-banner-inner {
  position: relative;
  z-index: 1;
}

html[data-fx-tier="static"] .mall-banner-particles {
  display: none;
}

html[data-fx-tier="static"] .mall-banner--fx {
  background: linear-gradient(145deg, #dceefb 0%, #f0e8f4 42%, #d8f0e4 100%);
}

[data-theme="dark"][data-fx-tier="static"] .mall-banner--fx {
  background: linear-gradient(145deg, #1a2332 0%, #1c1c1e 50%, #152028 100%);
}

.mall-fx-glow {
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
  .mall-fx-glow:hover {
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
  }

  [data-theme="dark"] .mall-fx-glow:hover {
    box-shadow: 0 8px 28px rgba(100, 160, 255, 0.22), 0 2px 8px rgba(0, 0, 0, 0.35);
  }
}

.brand-badge-flip {
  position: relative;
  perspective: 640px;
  cursor: pointer;
  min-width: 52px;
  min-height: 32px;
  padding: 0;
  border: none;
  background: transparent;
}

.brand-badge-flip .brand-badge-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  color: var(--mall-text);
  backface-visibility: hidden;
  transition: transform 0.45s ease;
}

.brand-badge-flip .brand-badge-face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  font-size: 10px;
  font-weight: 500;
  color: var(--mall-accent);
  background: var(--mall-accent-soft);
}

.brand-badge-flip.is-flipped .brand-badge-face--front {
  transform: rotateY(-180deg);
}

.brand-badge-flip.is-flipped .brand-badge-face--back {
  transform: rotateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mall-fx-glow,
  .brand-badge-flip .brand-badge-face,
  .brand-biz-card,
  .goods-item {
    transition: none !important;
    transform: none !important;
  }

  .brand-badge-flip.is-flipped .brand-badge-face--front,
  .brand-badge-flip.is-flipped .brand-badge-face--back {
    transform: none;
  }

  .brand-badge-flip .brand-badge-face--back {
    position: static;
    transform: none;
    display: none;
  }
}

/* ========== T-033 个性化首页 ========== */
.mall-banner--personalized {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 4px 28px rgba(0, 113, 227, 0.12);
}

.mall-banner--personalized .mall-banner-eyebrow::after {
  content: ' · personalised';
  font-weight: 500;
  opacity: 0.85;
}

.mall-personalize-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mall-accent-soft);
  color: var(--mall-accent);
  margin-left: 8px;
  vertical-align: middle;
}

#personalizedSection[hidden] {
  display: none !important;
}

.mall-search--ai {
  position: relative;
}

.mall-search-ai-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--mall-accent);
  padding: 3px 6px;
  border-radius: 6px;
  margin-right: 4px;
}

/* ========== Atom 首页增强 ========== */
.home-welcome {
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-accent);
  margin: 0 0 6px;
  text-align: center;
}

@media (min-width: 900px) {
  .home-welcome { text-align: left; }
}

.home-data-viz-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 8px;
}

@media (min-width: 768px) {
  .home-data-viz-inner {
    grid-template-columns: 1fr 1fr 1.4fr;
    padding: 0 0 8px;
  }
}

.home-viz-card {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  padding: 14px 16px;
  box-shadow: var(--mall-shadow-sm);
}

.home-viz-card--wide { grid-column: 1 / -1; }

@media (min-width: 768px) {
  .home-viz-card--wide { grid-column: auto; }
}

.home-viz-label {
  font-size: 12px;
  color: var(--mall-text-secondary);
  margin-bottom: 6px;
}

.home-viz-value {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mall-text);
}

.home-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--mall-border);
  overflow: hidden;
  margin: 8px 0 6px;
}

.home-progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mall-accent), var(--mall-mint));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-progress-meta {
  font-size: 12px;
  color: var(--mall-text-secondary);
}

.home-case-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}

.home-case-track {
  flex: 1;
  min-height: 140px;
  position: relative;
}

.home-case-slide {
  display: none;
  margin: 0;
}

.home-case-slide.is-active {
  display: block;
  animation: homeCaseIn 0.45s ease;
}

@keyframes homeCaseIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--mall-accent);
  background: var(--mall-accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.home-carousel-nav {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--mall-border);
  background: var(--mall-bg-elevated);
  color: var(--mall-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.home-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--mall-border);
  padding: 0;
  cursor: pointer;
}

.home-carousel-dot.active {
  background: var(--mall-accent);
  transform: scale(1.15);
}

.home-area-layout {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .home-area-layout {
    grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
    gap: 24px;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .home-area-layout {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  }
}

.home-area-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-lg);
  padding: 20px 16px;
  text-align: center;
  min-height: 220px;
}

.home-uk-map {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.home-map-caption {
  font-size: 12px;
  color: var(--mall-text-secondary);
  margin: 10px 0 0;
}

.home-area-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.home-area-panel {
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-lg);
  padding: 18px 16px;
  box-shadow: var(--mall-shadow-sm);
}

@media (min-width: 768px) {
  .home-area-panel {
    padding: 20px 22px;
  }
}

.home-area-panel-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--mall-text-secondary);
  line-height: 1.55;
}

.home-area-panel-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mall-text);
  letter-spacing: -0.01em;
}

.home-area-panel--cities .brand-city-grid {
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-pc-form {
  margin: 0;
}

.home-pc-field {
  display: block;
  margin: 0;
}

.home-pc-field .form-field-label {
  margin-top: 0;
  margin-bottom: 8px;
}

.home-pc-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .home-pc-row {
    flex-direction: row;
    align-items: stretch;
  }

  .home-pc-row .mall-input {
    flex: 1;
    min-width: 0;
  }

  .home-pc-row .home-pc-submit {
    flex-shrink: 0;
    width: auto;
    margin: 0;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 15px;
    white-space: nowrap;
    align-self: stretch;
  }
}

.home-area-panel .area-check-result {
  margin: 12px 0 0;
}

.home-area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.home-area-links .mall-btn-ghost {
  flex: 1 1 calc(50% - 5px);
  justify-content: center;
  text-align: center;
  min-height: 40px;
}

@media (min-width: 560px) {
  .home-area-links .mall-btn-ghost {
    flex: 0 1 auto;
  }
}

.home-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .home-social-grid { grid-template-columns: repeat(4, 1fr); }
}

.home-social-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius);
  overflow: hidden;
}

.home-social-pic {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.home-social-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-social-body {
  padding: 10px 12px 12px;
}

.home-social-platform {
  font-size: 11px;
  font-weight: 600;
  color: var(--mall-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-social-body p {
  font-size: 13px;
  margin-top: 4px;
  color: var(--mall-text-secondary);
  line-height: 1.4;
}

.mall-ai-fab {
  position: fixed;
  right: 16px;
  bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  z-index: 940;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mall-accent), var(--mall-mint));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(36, 157, 53, 0.28);
}

.mall-ai-fab.is-open {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mall-ai-fab-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(36, 157, 53, 0.38);
  animation: mallAiBreath 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mallAiBreath {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 0.25; }
}

.mall-ai-fab-icon {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mall-ai-bubble {
  position: fixed;
  right: 16px;
  bottom: calc(192px + env(safe-area-inset-bottom, 0px));
  z-index: 935;
  max-width: min(280px, calc(100vw - 32px));
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  border-radius: 14px;
  padding: 12px 36px 12px 14px;
  box-shadow: var(--mall-shadow);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
}

.mall-ai-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: none;
  font-size: 18px;
  color: var(--mall-text-secondary);
  cursor: pointer;
}

#mallAiCompanion {
  position: fixed;
  inset: 0;
  z-index: 960;
  pointer-events: none;
}

#mallAiCompanion > .mall-ai-dock,
#mallAiCompanion > .mall-ai-bubble {
  pointer-events: auto;
}

.mall-ai-panel {
  position: relative;
  z-index: 960;
  background: var(--mall-bg-elevated);
  border: 1px solid var(--mall-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mall-ai-panel-resize {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
  touch-action: none;
}

.mall-ai-panel-resize::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-top: 2px solid rgba(0, 0, 0, 0.12);
  border-left: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px 0 0 0;
}

.mall-ai-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mall-ai-panel-min {
  border: none;
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.04));
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--mall-text-secondary);
}

.mall-ai-panel-sound {
  border: none;
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.04));
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mall-text-secondary);
  position: relative;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.mall-ai-panel-sound:hover {
  background: rgba(0, 0, 0, 0.08);
}

.mall-ai-panel-sound.is-muted {
  opacity: 0.45;
}

.mall-ai-panel-sound.is-muted::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 22px;
  background: #ff3b30;
  transform: rotate(-45deg);
  border-radius: 1px;
  pointer-events: none;
}

.mall-ai-panel-sound.is-muted svg path:last-child {
  opacity: 0.35;
}

.mall-ai-panel-min:hover {
  background: rgba(0, 0, 0, 0.08);
}

.mall-ai-dock {
  position: fixed;
  z-index: 960;
  right: 16px;
  left: auto;
  bottom: 0;
  width: var(--mall-ai-dock-w, min(420px, calc(100vw - 32px)));
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mall-ai-dock[hidden] {
  display: none !important;
}

.mall-ai-dock.is-background-load {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 420px;
  height: 480px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.mall-ai-dock.is-background-load .mall-ai-panel {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.mall-ai-dock #homeComposer.mall-ai-dock-composer,
.mall-ai-dock .mall-ai-dock-composer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  z-index: 1;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  background: color-mix(in srgb, var(--mall-bg, #f5f5f7) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="dark"] .mall-ai-dock #homeComposer.mall-ai-dock-composer,
[data-theme="dark"] .mall-ai-dock .mall-ai-dock-composer {
  background: color-mix(in srgb, var(--mall-bg, #1c1c1e) 94%, transparent);
}

body.mall-ai-composer-page.mall-ai-dock-open,
body.mall-home-page.mall-ai-dock-open {
  padding-bottom: 0;
}

body.mall-ai-composer-page.mall-ai-dock-open .mall-back-top,
body.mall-home-page.mall-ai-dock-open .mall-back-top {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.mall-ai-panel-shell {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.mall-ai-dock.is-open .mall-ai-panel-shell {
  grid-template-rows: 1fr;
}

.mall-ai-dock.is-closing .mall-ai-panel-shell {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mall-ai-panel-shell > .mall-ai-panel {
  overflow: hidden;
  min-height: 0;
}

.mall-ai-dock .mall-ai-panel {
  display: flex;
  width: 100%;
  height: min(var(--mall-ai-panel-h, 640px), calc(100dvh - 200px));
  min-height: 280px;
  max-height: calc(100dvh - 160px);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}

.mall-ai-dock.is-instant,
.mall-ai-dock.is-instant * {
  transition: none !important;
  animation: none !important;
}

@media (min-width: 768px) {
  body.mall-ai-panel-open:not(.mall-home-page)::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    z-index: 955;
    pointer-events: none;
  }

  .mall-ai-dock .mall-ai-panel {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .mall-ai-panel:not(.mall-ai-dock .mall-ai-panel) {
    top: auto;
    left: auto;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: min(420px, calc(100vw - 32px));
    height: min(640px, calc(100dvh - 120px));
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  body.mall-ai-dock-open::before,
  body.mall-ai-panel-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    z-index: 955;
    pointer-events: none;
  }

  .mall-ai-panel:not(.mall-ai-dock .mall-ai-panel) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    height: min(60dvh, calc(100dvh - 120px));
    max-height: calc(100dvh - 96px);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  }
}

.mall-ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--mall-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.mall-ai-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text);
}

.mall-ai-panel-title .mall-search-ai-badge {
  margin-right: 0;
}

.mall-ai-panel-close {
  border: none;
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.04));
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--mall-text-secondary);
}

.mall-ai-panel-close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.mall-ai-panel-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: none;
  background: var(--mall-bg);
}

@media (prefers-reduced-motion: reduce) {
  .mall-ai-fab-ring { animation: none; }
  .home-case-slide.is-active { animation: none; }
  .home-progress-bar { transition: none; }
  .questionnaire-progress-bar { transition: none; }
  .mall-ai-dock,
  .mall-ai-dock .mall-ai-panel,
  .mall-ai-panel-shell {
    transition: none !important;
  }
  .mall-ai-resume-dot { animation: none; }
}

/* ========== 业务问卷页 ========== */
.questionnaire-page .questionnaire-card {
  padding: 0;
  overflow: hidden;
}

.questionnaire-card > .loading,
.questionnaire-card > .error-msg {
  padding: 24px 20px;
}

.questionnaire-shell {
  padding: 0;
}

.questionnaire-demo-badge {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #8a6d3b;
  background: #fff8e6;
  border-bottom: 1px solid #ffe0a3;
}

.questionnaire-hero {
  display: flex;
  gap: 14px;
  padding: 20px 20px 16px;
  background: linear-gradient(160deg, var(--mall-accent-soft) 0%, transparent 100%);
  border-bottom: 1px solid var(--mall-border);
}

.questionnaire-line-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--mall-bg-elevated);
  border-radius: 12px;
  border: 1px solid var(--mall-border);
}

.questionnaire-line-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mall-accent);
}

.questionnaire-title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.questionnaire-lead {
  margin: 0;
}

.questionnaire-ai-copilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin: 16px 20px 0;
  padding: 14px;
  border: 1px solid rgba(0, 122, 255, 0.22);
  border-radius: 12px;
  background: rgba(239, 248, 255, 0.82);
}

.questionnaire-ai-copilot p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mall-text-secondary);
}

.questionnaire-ai-copilot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.questionnaire-ai-copilot li {
  padding: 5px 8px;
  border: 1px solid rgba(0, 122, 255, 0.18);
  border-radius: 999px;
  background: var(--mall-bg-elevated);
  color: #24506a;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .questionnaire-ai-copilot {
    grid-template-columns: 1fr;
  }

  .questionnaire-ai-copilot ul {
    justify-content: flex-start;
  }

  .questionnaire-ai-copilot li {
    white-space: normal;
  }
}

/* Step 3: product, price and order decision on one page */
body.mall-funnel-order-page {
  --funnel-blue: #187c2d;
  --funnel-ink: #062f47;
  --funnel-paper: #f5f8f4;
  --funnel-line: rgba(6, 47, 71, 0.16);
  background: var(--funnel-paper);
  color: var(--funnel-ink);
}

body.mall-funnel-order-page .mall-page {
  max-width: none;
  padding-bottom: 0;
  background: var(--funnel-paper);
}

.order-page-shell {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 120px;
}

@media (min-width: 960px) {
  body.mall-funnel-order-page .mall-utility-bar-inner,
  body.mall-detail-page .mall-utility-bar-inner {
    padding-right: 0;
    padding-left: 0;
  }
}

.order-progress-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--funnel-line);
}

.order-progress-wrap .funnel-progress a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.order-progress-wrap .funnel-progress a > span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #aeb5bb;
  border-radius: 50%;
  font-size: 10px;
}

body.mall-funnel-order-page .mall-breadcrumb {
  max-width: none;
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
}

.order-page-heading {
  max-width: 760px;
  padding: 68px 0 42px;
}

.order-page-heading .funnel-kicker {
  color: var(--funnel-blue);
}

.order-page-heading h2 {
  margin: 0;
}

.order-page-heading > p:last-child {
  max-width: 600px;
  margin: 14px 0 0;
  color: #626c75;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.5;
}

body.mall-funnel-order-page .mall-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: start;
}

body.mall-funnel-order-page .mall-gallery,
body.mall-funnel-order-page .mall-gallery-single,
body.mall-funnel-order-page .mall-detail-col {
  border: 1px solid var(--funnel-line);
  border-radius: 24px;
  background: #fff;
}

body.mall-funnel-order-page .mall-gallery {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

body.mall-funnel-order-page .mall-gallery-main,
body.mall-funnel-order-page .mall-gallery-img {
  min-height: 520px;
  background: #eef1f4;
}

body.mall-funnel-order-page .mall-gallery-img {
  object-fit: contain;
}

body.mall-funnel-order-page .mall-detail-col {
  overflow: hidden;
}

body.mall-funnel-order-page .mall-detail-body {
  padding: clamp(26px, 4vw, 48px);
}

body.mall-funnel-order-page .mall-detail-title {
  margin: 0;
  color: var(--funnel-ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
}

body.mall-funnel-order-page .mall-detail-desc {
  margin-top: 16px;
  color: #626c75;
  font-size: 16px;
  line-height: 1.55;
}

body.mall-funnel-order-page .mall-detail-price {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--funnel-line);
  color: var(--funnel-blue);
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.04em;
}

.order-savings-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0;
  padding: 20px;
  border-radius: 16px;
  background: #e9f6eb;
}

.order-savings-snapshot > p,
.order-savings-snapshot > small {
  grid-column: 1 / -1;
}

.order-savings-snapshot > p {
  margin: 0;
  color: var(--funnel-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-savings-snapshot strong,
.order-savings-snapshot span {
  display: block;
}

.order-savings-snapshot strong {
  font-size: 20px;
}

.order-savings-snapshot span,
.order-savings-snapshot small {
  margin-top: 4px;
  color: #66717a;
  font-size: 11px;
  line-height: 1.45;
}

body.mall-funnel-order-page .mall-highlight-tags {
  margin: 24px 0;
}

body.mall-funnel-order-page .mall-highlight-tag {
  border: 1px solid var(--funnel-line);
  background: transparent;
  color: var(--funnel-ink);
}

body.mall-funnel-order-page .mall-spec-block,
body.mall-funnel-order-page .mall-faq-block,
body.mall-funnel-order-page .mall-service-note {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--funnel-line);
}

body.mall-funnel-order-page .mall-detail-actions {
  gap: 8px;
  margin-top: 30px;
}

body.mall-funnel-order-page .mall-detail-action-btn {
  min-height: 42px;
  border-color: var(--funnel-line);
  border-radius: 999px;
  background: transparent;
}

body.mall-funnel-order-page .mall-detail-bar {
  position: sticky;
  right: auto;
  bottom: 0;
  left: auto;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 16px clamp(26px, 4vw, 48px) calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--funnel-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.mall-funnel-order-page .mall-detail-bar-buy {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  background: var(--funnel-blue);
  font-size: 16px;
  font-weight: 850;
}

body.mall-funnel-order-page .mall-detail-bar--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body.mall-funnel-order-page .mall-detail-bar-ai,
body.mall-funnel-order-page .mall-detail-bar-quote {
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

body.mall-funnel-order-page .mall-detail-bar-ai {
  background: #249d35;
  color: #fff;
}

body.mall-funnel-order-page .mall-detail-bar-ai:hover {
  background: #1f8630;
}

body.mall-funnel-order-page .mall-detail-bar-quote {
  background: #062f47;
  color: #fff;
}

body.mall-funnel-order-page .mall-detail-bar-quote:hover {
  background: #0a3f5f;
}

body.mall-funnel-order-page .mall-detail-bar-quote:disabled {
  opacity: 0.55;
}

@media (min-width: 960px) {
  body.mall-funnel-order-page .order-page-heading {
    padding: 36px 0 24px;
  }

  body.mall-funnel-order-page .mall-detail-layout {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body.mall-funnel-order-page .mall-gallery,
  body.mall-funnel-order-page .mall-gallery-single {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  body.mall-funnel-order-page .mall-gallery-main {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    min-height: 0;
    height: 100%;
  }

  body.mall-funnel-order-page .mall-gallery-main .mall-detail-pic,
  body.mall-funnel-order-page .mall-gallery-single {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
    opacity: 1;
  }

  body.mall-funnel-order-page .mall-gallery-main,
  body.mall-funnel-order-page .mall-gallery-img,
  body.mall-funnel-order-page .mall-detail-pic {
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  body.mall-funnel-order-page .mall-gallery-img,
  body.mall-funnel-order-page .mall-gallery-single img,
  body.mall-funnel-order-page .mall-detail-pic img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: #eef1f4;
    opacity: 1;
  }

  body.mall-funnel-order-page .mall-detail-col {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body.mall-funnel-order-page .mall-detail-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 16px 20px 8px;
  }

  body.mall-funnel-order-page .mall-detail-title {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  html[lang="zh-CN"] body.mall-funnel-order-page .mall-detail-title {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
  }

  body.mall-funnel-order-page .mall-detail-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.mall-funnel-order-page .mall-detail-price {
    margin-top: 10px;
    padding-top: 10px;
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: -0.03em;
  }

  body.mall-funnel-order-page .mall-detail-note {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
  }

  body.mall-funnel-order-page .mall-product-stats {
    margin-top: 8px;
  }

  body.mall-funnel-order-page .order-savings-snapshot {
    margin: 12px 0;
    padding: 12px 14px;
    gap: 10px;
  }

  body.mall-funnel-order-page .order-savings-snapshot strong {
    font-size: 16px;
  }

  body.mall-funnel-order-page .mall-spec-block,
  body.mall-funnel-order-page .mall-faq-block,
  body.mall-funnel-order-page .mall-service-note {
    margin-top: 16px;
    padding-top: 14px;
  }

  body.mall-funnel-order-page .product-scenario-assistant {
    margin-top: 12px;
    padding: 14px 14px 12px;
    border-radius: 14px;
  }

  body.mall-funnel-order-page .product-scenario-heading h2 {
    font-size: 15px;
    line-height: 1.25;
  }

  body.mall-funnel-order-page .product-scenario-heading p {
    display: none;
  }

  body.mall-funnel-order-page .product-scenario-form {
    gap: 6px;
    margin-top: 8px;
  }

  body.mall-funnel-order-page .product-scenario-form label {
    gap: 5px;
    font-size: 11px;
  }

  body.mall-funnel-order-page .product-scenario-form .mall-input,
  body.mall-funnel-order-page .product-scenario-form .mall-select {
    min-height: 38px;
    font-size: 13px;
  }

  body.mall-funnel-order-page .product-scenario-details textarea.mall-input {
    min-height: 36px;
    max-height: 36px;
    resize: none;
  }

  body.mall-funnel-order-page .mall-detail-bar {
    position: static;
    flex: 0 0 auto;
    padding: 8px 20px 12px;
  }

  body.mall-funnel-order-page .mall-detail-bar-ai,
  body.mall-funnel-order-page .mall-detail-bar-quote {
    min-height: 46px;
    font-size: 13px;
  }
}

body.mall-funnel-order-page .mall-detail-spec-panel {
  margin-top: 24px;
  border: 1px solid var(--funnel-line);
  border-radius: 24px;
  background: #fff;
  height: auto;
}

body.mall-funnel-order-page .mall-detail-tabs {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tablist {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2px;
  margin: 0 0 16px;
  padding: 0 0 12px;
  overflow: visible;
  border-bottom: 1px solid var(--funnel-line);
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 34px;
  padding: 6px 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #66717a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tab.is-active,
body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tab.active {
  color: #fff;
  background: var(--funnel-ink, #16324f);
  border-color: var(--funnel-ink, #16324f);
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tabpanels {
  height: auto;
  min-height: 0;
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tabpanel {
  height: auto;
  min-height: 0;
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tabpanel[hidden] {
  display: none !important;
}

body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tabpanel > .mall-spec-block > .mall-section-title,
body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tabpanel > .mall-prequote-components > .mall-section-title {
  display: none;
}

body.mall-funnel-order-page .mall-detail-tabs .mall-review-section--tab {
  margin: 0;
  padding: 0;
  border: none;
  max-width: none;
}

body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-block,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-faq-block,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-service-note,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-detail-tagline {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-block + .mall-spec-block,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-block + .mall-service-note,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-service-note + .mall-spec-block,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-block + .mall-prequote-components,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-prequote-components + .mall-spec-block,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-detail-tagline + .mall-spec-block,
body.mall-funnel-order-page .mall-detail-spec-panel .mall-faq-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--funnel-line);
}

@media (min-width: 960px) {
  body.mall-funnel-order-page .mall-detail-spec-panel {
    margin-top: 28px;
    padding: 28px 32px 32px;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-section-title {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.3;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-table th {
    width: 22%;
  }
}

@media (max-width: 959px) {
  body.mall-funnel-order-page .mall-detail-spec-panel {
    padding: 18px 10px 22px;
    border-radius: 18px;
  }

  body.mall-funnel-order-page .mall-detail-tabs .mall-detail-tab {
    padding: 6px 4px;
    font-size: 11.5px;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-section-title {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: normal;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-table {
    font-size: 13px;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-table th,
  body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-table td {
    padding: 10px 8px;
    line-height: 1.45;
    vertical-align: top;
    word-break: break-word;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-spec-table th {
    width: 34%;
    min-width: 72px;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-service-note,
  body.mall-funnel-order-page .mall-detail-spec-panel .mall-detail-note {
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-table-wrap {
    margin: 0;
    overflow: visible;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table {
    display: block;
    width: 100%;
    overflow: visible;
    font-size: 13px;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table thead {
    display: none;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table tbody,
  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table tr {
    display: block;
    width: 100%;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--funnel-line);
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table tr:last-child {
    border-bottom: none;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border-bottom: none;
    text-align: right;
    line-height: 1.45;
    word-break: break-word;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    max-width: 42%;
    color: #66717a;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table td:first-child {
    display: block;
    padding-top: 0;
    padding-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--funnel-ink);
    text-align: left;
  }

  body.mall-funnel-order-page .mall-detail-spec-panel .mall-components-table td:first-child::before {
    display: none;
  }
}

@media (max-width: 959px) {
  body.mall-funnel-order-page .mall-detail-bar--dual {
    grid-template-columns: 1fr;
  }
}

body.mall-funnel-order-page .mall-review-section,
body.mall-funnel-order-page .mall-related-section {
  max-width: none;
  margin: 80px 0 0;
  padding: 42px 0 0;
  border-top: 1px solid var(--funnel-line);
}

@media (max-width: 767px) {
  body.mall-funnel-order-page .order-page-shell {
    padding-bottom: 20px;
  }

  body.mall-detail-page .mall-related-section,
  body.mall-funnel-order-page .mall-related-section {
    margin-top: 28px;
    padding: 20px 12px 16px;
  }

  body.mall-detail-page .mall-related-section .mall-section-title,
  body.mall-funnel-order-page .mall-related-section .mall-section-title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: normal;
  }

  body.mall-detail-page .mall-related-grid,
  body.mall-funnel-order-page .mall-related-grid,
  .mall-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
  }

  body.mall-detail-page .mall-related-grid .goods-item-wrap,
  body.mall-funnel-order-page .mall-related-grid .goods-item-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
  }

  body.mall-detail-page .mall-related-grid .goods-item,
  body.mall-funnel-order-page .mall-related-grid .goods-item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
  }

  body.mall-detail-page .mall-related-grid .goods-pic,
  body.mall-funnel-order-page .mall-related-grid .goods-pic {
    flex: 0 0 auto;
  }

  body.mall-detail-page .mall-related-grid .goods-info,
  body.mall-funnel-order-page .mall-related-grid .goods-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 8px 10px 10px;
  }

  body.mall-detail-page .mall-related-grid .goods-name,
  body.mall-funnel-order-page .mall-related-grid .goods-name {
    flex: 1 1 auto;
    min-height: calc(13px * 1.4 * 2);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: normal;
    -webkit-line-clamp: 2;
  }

  body.mall-detail-page .mall-related-grid .goods-price,
  body.mall-funnel-order-page .mall-related-grid .goods-price {
    flex: 0 0 auto;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: normal;
  }

  body.mall-detail-page .mall-related-grid .goods-price .num,
  body.mall-funnel-order-page .mall-related-grid .goods-price .num {
    font-size: 15px;
    letter-spacing: normal;
  }

  body.mall-detail-page .mall-related-grid .goods-meta,
  body.mall-funnel-order-page .mall-related-grid .goods-meta {
    flex: 0 0 auto;
    margin-top: 4px;
  }

  body.mall-detail-page .mall-related-grid .mall-product-stats,
  body.mall-funnel-order-page .mall-related-grid .mall-product-stats {
    gap: 4px 8px;
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: normal;
  }

  body.mall-detail-page .mall-related-grid .mall-rating .stars,
  body.mall-funnel-order-page .mall-related-grid .mall-rating .stars {
    letter-spacing: 0;
  }

  body.mall-detail-page .mall-related-grid .goods-ai-link,
  body.mall-funnel-order-page .mall-related-grid .goods-ai-link,
  body.mall-detail-page .mall-related-grid .goods-item-actions,
  body.mall-funnel-order-page .mall-related-grid .goods-item-actions {
    display: none;
  }
}

@media (max-width: 820px) {
  .order-progress-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .order-progress-wrap .funnel-progress {
    width: 100%;
    justify-content: space-between;
  }

  .order-page-heading {
    padding-top: 20px;
  }

  body.mall-funnel-order-page .mall-detail-layout {
    grid-template-columns: 1fr;
  }

  body.mall-funnel-order-page .mall-gallery {
    position: relative;
    top: auto;
  }

  body.mall-funnel-order-page .mall-gallery-main,
  body.mall-funnel-order-page .mall-gallery-img {
    min-height: min(92vw, 520px);
  }
}

@media (max-width: 520px) {
  .order-page-shell {
    width: min(100% - 24px, 1140px);
  }

  .order-page-heading h2 {
    font-size: 43px;
  }

  .order-savings-snapshot {
    grid-template-columns: 1fr;
  }

  .order-savings-snapshot > p,
  .order-savings-snapshot > small {
    grid-column: 1;
  }
}

.questionnaire-ai-kicker {
  color: var(--mall-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.questionnaire-ai-completeness {
  margin: 12px 20px 0;
  padding: 14px;
  border: 1px solid rgba(52, 199, 89, 0.24);
  border-radius: 12px;
  background: rgba(243, 252, 246, 0.9);
}

.questionnaire-ai-completeness-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.questionnaire-ai-completeness-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mall-mint);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.questionnaire-ai-completeness-head strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.questionnaire-ai-completeness-head p {
  margin: 3px 0 0;
  color: var(--mall-text-secondary);
  font-size: 12px;
}

.questionnaire-ai-completeness-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.questionnaire-ai-completeness-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.42;
  color: var(--mall-text);
}

.questionnaire-ai-completeness-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mall-mint);
}

.questionnaire-ai-completeness-guards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.questionnaire-ai-completeness-guards span {
  padding: 5px 8px;
  border: 1px solid rgba(52, 199, 89, 0.22);
  border-radius: 999px;
  background: var(--mall-bg-elevated);
  color: #176332;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.prequote-explanation-contract {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 12px;
  background: rgba(239, 248, 255, 0.86);
}

.prequote-explanation-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.prequote-explanation-head span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mall-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.prequote-explanation-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.prequote-explanation-head p,
.prequote-explanation-contract > p {
  margin: 4px 0 0;
  color: var(--mall-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.prequote-explanation-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.prequote-explanation-grid h3 {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.3;
}

.prequote-explanation-grid ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prequote-explanation-grid li {
  position: relative;
  padding-left: 15px;
  color: var(--mall-text);
  font-size: 12px;
  line-height: 1.42;
}

.prequote-explanation-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mall-accent);
}

.prequote-explanation-guards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.prequote-explanation-guards span {
  padding: 5px 8px;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 999px;
  background: var(--mall-bg-elevated);
  color: #24506a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.prequote-explanation-redline {
  color: #b42318;
  font-weight: 650;
}

@media (min-width: 760px) {
  .prequote-explanation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.questionnaire-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--mall-bg);
  border-bottom: 1px solid var(--mall-border);
}

.questionnaire-progress-track {
  flex: 1;
  height: 6px;
  background: var(--mall-bg-subtle);
  border-radius: 999px;
  overflow: hidden;
}

.questionnaire-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mall-accent), var(--mall-mint));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.questionnaire-progress-text {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--mall-text-secondary);
  min-width: 42px;
  text-align: right;
}

.questionnaire-form {
  padding: 8px 20px 24px;
}

.questionnaire-section {
  padding-top: 16px;
}

.questionnaire-section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-text-secondary);
  letter-spacing: 0.02em;
}

.questionnaire-field {
  margin-bottom: 14px;
}

.questionnaire-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.questionnaire-required {
  color: #e5484d;
}

.questionnaire-field-hint {
  margin: -2px 0 6px;
  font-size: 12px;
  color: var(--mall-text-muted);
  line-height: 1.4;
}

.questionnaire-field-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: #e5484d;
}

.questionnaire-field.has-error .mall-input,
.questionnaire-field.has-error .mall-select {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12);
}

.questionnaire-actions {
  margin-top: 20px;
}

.questionnaire-form .landing-disclaimer {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--mall-text-muted);
  line-height: 1.5;
}

.questionnaire-success {
  padding: 32px 24px 28px;
  text-align: center;
}

.questionnaire-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.15);
  color: var(--mall-mint);
  font-size: 28px;
  font-weight: 700;
  line-height: 56px;
}

.questionnaire-success h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.questionnaire-summary {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  text-align: left;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-md);
  overflow: hidden;
}

.questionnaire-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--mall-border);
}

.questionnaire-summary li:last-child {
  border-bottom: none;
}

.questionnaire-summary span {
  color: var(--mall-text-secondary);
}

.questionnaire-success-actions {
  margin-top: 24px;
}

.questionnaire-demo-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--mall-text-muted);
  line-height: 1.5;
}

[data-theme="dark"] .questionnaire-demo-badge {
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.35);
  color: #ffb74d;
}

/* Trade flow pages (journey, final quote, survey deposit) */
.trade-page-heading {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

.journey-detail-meta {
  margin: 0 0 10px;
}

.journey-detail {
  width: 100%;
  min-width: 0;
}

.journey-timeline {
  margin: 10px 0 0;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-lg);
  background: var(--mall-bg-elevated);
  overflow: hidden;
}

.journey-timeline .journey-step {
  padding: 10px 12px;
  margin: 0;
}

.journey-timeline .journey-step:last-child {
  border-bottom: none;
}

.journey-step-body {
  flex: 1;
  min-width: 0;
}

.journey-action-bar {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--mall-radius-lg);
  border: 1px solid var(--mall-border);
  background: var(--mall-bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journey-action-primary {
  width: 100%;
}

.journey-action-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.journey-action-secondary > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.journey-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid var(--mall-border-strong);
  border-radius: 10px;
  background: var(--mall-bg-elevated);
  color: var(--mall-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.journey-action-btn:hover {
  background: var(--mall-bg-hover, rgba(0, 0, 0, 0.03));
  border-color: var(--mall-border-strong);
}

.journey-action-btn--primary {
  min-height: 44px;
  font-size: 14px;
  background: var(--mall-primary);
  border-color: var(--mall-primary);
  color: #fff;
}

.journey-action-btn--primary:hover {
  background: var(--mall-primary-hover);
  border-color: var(--mall-primary-hover);
  color: #fff;
}

.journey-detail .journey-action-bar .journey-action-btn {
  width: 100%;
  margin-top: 0;
}

.journey-step {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mall-border);
  align-items: flex-start;
}

.journey-step:last-child {
  border-bottom: none;
}

.journey-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.journey-dot.done {
  background: rgba(52, 199, 89, 0.15);
  color: var(--mall-mint);
}

.journey-dot.active {
  background: rgba(255, 152, 0, 0.12);
  color: #e65100;
  border: 2px solid #ff9800;
}

.journey-dot.pending {
  background: var(--mall-surface-muted, #f5f5f5);
  color: var(--mall-text-muted);
}

.journey-label {
  font-weight: 600;
  margin: 0 0 4px;
}

.journey-meta {
  font-size: 0.85rem;
  color: var(--mall-text-muted);
  margin: 0;
}

.journey-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 768px) {
  .journey-detail {
    max-width: 760px;
  }

  .journey-timeline .journey-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas: "dot body actions";
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
  }

  .journey-timeline .journey-dot {
    grid-area: dot;
  }

  .journey-timeline .journey-step-body {
    grid-area: body;
  }

  .journey-timeline .journey-actions {
    grid-area: actions;
    margin-top: 0;
    justify-content: flex-end;
  }

  .journey-timeline .journey-label {
    margin: 0 0 2px;
    font-size: 14px;
  }

  .journey-timeline .journey-meta {
    font-size: 12px;
  }

  .journey-action-bar {
    padding: 14px 16px;
  }

  .journey-action-secondary {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }

  .journey-action-secondary > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .journey-action-secondary > :only-child {
    max-width: 320px;
    justify-self: end;
  }

  .profile-main .profile-panel--orders {
    width: 100%;
  }

  .profile-orders-wrap {
    max-width: none;
  }

  .profile-main .btn-primary.btn-inline {
    width: auto;
  }

  .profile-panel .mall-btn-ghost:not(.journey-action-btn) {
    width: auto;
  }

  .profile-panel .form-field-submit.btn-primary {
    width: 100%;
    max-width: 480px;
  }

  .profile-main .form-card,
  .profile-main .profile-section-card {
    padding: 16px 20px;
  }

  .profile-body {
    gap: 20px 24px;
  }

  .profile-main {
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .journey-detail {
    max-width: 820px;
  }

  .profile-body {
    grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
    gap: 24px 32px;
  }

  .profile-main {
    max-width: 840px;
  }

  .profile-main .profile-panel--address .address-form-card,
  .profile-main .profile-edit-body,
  .profile-main .profile-settings-body {
    padding: 20px 24px;
  }
}

.deposit-policy {
  background: #fff8e6;
  border: 1px solid #ffe0a3;
  border-radius: var(--mall-radius-md, 8px);
  padding: 12px;
  margin: 12px 0;
  font-size: 13px;
  color: #8a6d3b;
  line-height: 1.5;
}

.deposit-badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 4px;
  background: var(--mall-surface-muted, #f0f0f0);
}

.deposit-badge.warn {
  background: #ffe8e8;
  color: #a33;
}

.deposit-badge.ok {
  background: rgba(52, 199, 89, 0.15);
  color: var(--mall-mint);
}

.final-quote-total {
  font-size: 1.1rem;
  margin: 16px 0 8px;
}

.final-quote-expired {
  color: #c62828;
  font-weight: 600;
  margin: 8px 0;
}

[data-theme="dark"] .deposit-policy {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.25);
  color: #ffcc80;
}

[data-theme="dark"] .deposit-badge.warn {
  background: rgba(244, 67, 54, 0.15);
  color: #ef9a9a;
}

[data-theme="dark"] .final-quote-expired {
  color: #ef5350;
}

/* Survey appointment picker (date strip + slot cards) */
.survey-appt {
  margin-top: 16px;
}

.survey-appt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.survey-appt-month {
  font-size: 16px;
  font-weight: 600;
  color: var(--mall-text);
}

.survey-appt-refresh {
  border: none;
  background: none;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--mall-accent, #0071e3);
  cursor: pointer;
}

.survey-appt-dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.survey-appt-dates::-webkit-scrollbar {
  display: none;
}

.survey-appt-date {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  background: rgba(0, 113, 227, 0.06);
  color: var(--mall-text-secondary);
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.survey-appt-date-wd {
  display: block;
  font-size: 12px;
}

.survey-appt-date-num {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

.survey-appt-date.is-active {
  background: var(--mall-accent, #0071e3);
  border-color: var(--mall-accent, #0071e3);
  color: #fff;
}

.survey-appt-group {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 113, 227, 0.14);
  background: var(--mall-bg-elevated, #fff);
}

.survey-appt-group-head {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #24506a;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0.04));
}

.survey-appt-rows {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.survey-appt-row {
  display: grid;
  grid-template-columns: minmax(92px, 1.1fr) repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  align-items: stretch;
}

.survey-appt-day-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 113, 227, 0.18);
  background: #fff;
  text-align: center;
}

.survey-appt-day-card-text {
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--mall-text);
}

.survey-appt-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 113, 227, 0.22);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.survey-appt-slot-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mall-accent, #0071e3);
}

.survey-appt-slot-divider {
  width: 72%;
  border-top: 1px dashed rgba(0, 113, 227, 0.28);
}

.survey-appt-slot-left {
  font-size: 12px;
  color: #4a7ea8;
}

.survey-appt-slot.is-selected {
  border-color: var(--mall-accent, #0071e3);
  background: rgba(0, 113, 227, 0.08);
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.12);
}

.survey-appt-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--mall-text-secondary);
}

.survey-appt-empty {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--mall-text-secondary);
}

@media (max-width: 420px) {
  .survey-appt-row {
    grid-template-columns: 1fr 1fr;
  }

  .survey-appt-day-card {
    grid-column: 1 / -1;
  }
}

.journey-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.journey-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-md, 8px);
  background: var(--mall-surface, #fff);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.journey-card:active,
.journey-card:hover {
  border-color: var(--mall-mint);
}

.journey-card-main {
  flex: 1;
  min-width: 0;
}

.journey-card-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.journey-card-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mall-text-muted);
  line-height: 1.4;
}

.journey-card-badge {
  flex-shrink: 0;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.15);
  color: #e65100;
  font-weight: 600;
}

[data-theme="dark"] .journey-card-badge {
  background: rgba(255, 152, 0, 0.12);
  color: #ffb74d;
}

.mall-ai-page-prompts {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--mall-border);
  border-radius: var(--mall-radius-md, 8px);
  background: var(--mall-surface, #fff);
}

.mall-ai-page-prompts-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--mall-text-secondary);
  font-size: 13px;
}

.mall-ai-page-prompts-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mall-text-primary, #171717);
  color: var(--mall-surface, #fff);
  font-size: 11px;
  font-weight: 700;
}

.mall-ai-page-prompts-head strong {
  color: var(--mall-text-primary, #171717);
  font-weight: 600;
}

.mall-ai-page-prompt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mall-ai-page-prompt {
  border: 1px solid var(--mall-border);
  border-radius: 8px;
  background: var(--mall-surface-muted, #f7f7f7);
  color: var(--mall-text-primary, #171717);
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.mall-ai-page-prompt:hover,
.mall-ai-page-prompt:focus {
  border-color: var(--mall-mint);
  background: rgba(52, 199, 89, 0.08);
}

.mall-ai-journey-banner {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: var(--mall-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,249,255,0.96));
  box-shadow: var(--mall-shadow-sm);
}

.mall-ai-journey-main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mall-ai-journey-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--mall-radius-pill);
  background: var(--mall-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.mall-ai-journey-main strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.mall-ai-journey-main p {
  margin-top: 4px;
  color: var(--mall-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.mall-ai-journey-meta,
.mall-ai-journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mall-ai-journey-meta span {
  padding: 5px 9px;
  border-radius: var(--mall-radius-pill);
  background: rgba(0,0,0,0.045);
  color: var(--mall-text-secondary);
  font-size: 12px;
  line-height: 1.25;
}

.mall-ai-journey-question {
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: var(--mall-radius-pill);
  background: #fff;
  color: var(--mall-accent);
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  text-align: left;
}

.mall-ai-journey-question:hover,
.mall-ai-journey-question:focus {
  background: var(--mall-accent-soft);
}

@media (max-width: 640px) {
  .mall-ai-page-prompt-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Homepage reference layout: keep the compact two-column service chooser on phones. */
@media (max-width: 767px) {
  .mall-utility-bar-inner {
    min-height: 40px;
    padding: 5px 0;
  }

  .ne-home-logo {
    width: 25px;
    max-width: 25px;
    height: 20px;
  }

  .ne-home-brand {
    gap: 7px;
  }

  .ne-home-brand span {
    font-size: 13px;
    font-weight: 720;
  }

  .mall-icon-btn,
  .mall-utility-auth {
    min-height: 30px;
    border-radius: 10px;
    font-size: 12px;
  }

  .mall-icon-btn {
    width: 30px;
  }

  .mall-utility-auth {
    padding: 0 10px;
  }

  .mall-utility-actions {
    gap: 5px;
  }

  .mall-announce-bar {
    margin: 7px 11px 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.48;
    gap: 4px;
  }

  .mall-announce-bar strong {
    font-size: 12px;
  }

  body.mall-home-page .brand-biz-section {
    padding: 12px 15px 2px;
  }

  body.mall-home-page .mall-section-head {
    gap: 5px;
    margin: 0 4px 12px;
  }

  body.mall-home-page .mall-section-head .mall-section-title {
    font-size: 19px;
  }

  body.mall-home-page .mall-section-head .brand-section-desc {
    font-size: 12px;
    line-height: 1.42;
  }

  body.mall-home-page .brand-biz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 10px;
  }

  body.mall-home-page .brand-biz-img {
    aspect-ratio: 1.62 / 1;
  }

  body.mall-home-page .brand-biz-body {
    min-height: 98px;
    padding: 10px 11px 11px;
  }

  body.mall-home-page .brand-biz-body h3 {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.28;
    white-space: normal;
  }

  body.mall-home-page .brand-biz-body p {
    margin-bottom: 7px;
    font-size: 11px;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }

  body.mall-home-page .brand-biz-cta {
    font-size: 11px;
  }

  body.mall-home-page .home-ai-guide-section {
    padding: 14px 15px 4px;
  }

  body.mall-home-page .home-ai-guide-card {
    padding: 11px 13px;
    border-radius: 12px;
  }

  body.mall-home-page .home-ai-guide-head {
    gap: 8px;
  }

  body.mall-home-page .home-ai-guide-mark {
    padding: 4px 6px;
    font-size: 9px;
  }

  body.mall-home-page .home-ai-guide-title {
    font-size: 14px;
  }

  body.mall-home-page .home-ai-guide-desc {
    font-size: 11px;
  }

  body.mall-home-page .home-ai-guide-cta {
    margin-top: 5px;
    font-size: 11px;
  }

  body.mall-home-page .service-process-section,
  body.mall-home-page .home-data-viz,
  body.mall-home-page .home-case-section,
  body.mall-home-page .home-social-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .mall-home-composer {
    padding: 6px 15px calc(6px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 900px) {
  body.mall-home-page .mall-announce-bar,
  body.mall-home-page .mall-section {
    max-width: 2320px;
  }

  .mall-search-wrap--bottom {
    max-width: 920px;
  }
}

/* ========== C-side three-step funnel redesign ========== */
body.mall-funnel-home {
  --funnel-blue: #187c2d;
  --funnel-ink: #062f47;
  --funnel-paper: #f5f8f4;
  --funnel-line: rgba(6, 47, 71, 0.16);
  padding-bottom: 0;
  background: var(--funnel-paper);
  color: var(--funnel-ink);
}

body.mall-funnel-home .mall-page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0 0 72px;
  overflow: visible;
  background: var(--funnel-paper);
}

body.mall-funnel-home .mall-utility-bar-inner {
  padding-right: 0;
  padding-left: 0;
}

.funnel-hero {
  width: var(--mall-site-width);
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--funnel-blue);
  color: #fff;
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 52px);
  border-bottom: 1px solid var(--funnel-line);
  background: #fff;
  color: var(--funnel-ink);
}

.funnel-brand,
.funnel-account {
  color: inherit;
  text-decoration: none;
}

.funnel-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.funnel-brand-logo {
  display: block;
  width: 48px;
  height: 37px;
  object-fit: contain;
}

.funnel-account {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(36, 157, 53, 0.42);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.funnel-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 20px;
  background: #dff3e1;
  color: var(--funnel-ink);
  font-size: 13px;
  text-align: center;
}

.funnel-notice strong {
  font-weight: 850;
}

.funnel-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  min-height: 660px;
}

.funnel-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 68px clamp(28px, 5vw, 70px);
}

.funnel-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.funnel-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.funnel-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.56;
}

.funnel-estimate-label {
  max-width: 610px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.funnel-hero .funnel-composer {
  position: relative;
  inset: auto;
  z-index: 3;
  width: 100%;
  margin-top: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.mall-funnel-home.mall-home-page,
body.mall-funnel-home.mall-ai-composer-page.mall-home-page {
  padding-bottom: 0;
}

body.mall-funnel-home.mall-ai-composer-page .mall-page,
body.mall-funnel-home.mall-home-page .mall-page {
  padding-bottom: 0;
}

body.mall-funnel-home .mall-back-top {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

body.mall-funnel-home #homeComposer.funnel-composer:not(.mall-ai-dock-composer) {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
}

.funnel-composer > label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.funnel-hero .mall-search-wrap--bottom {
  max-width: none;
}

.funnel-hero .mall-search--composer {
  min-height: 66px;
  padding: 8px 8px 8px 15px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.funnel-hero .mall-search--composer input {
  min-width: 0;
  color: var(--funnel-ink);
  font-size: 16px;
}

.funnel-hero .mall-search-ai-badge {
  background: var(--funnel-ink);
  color: #fff;
}

.funnel-hero .search-btn--send {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 14px;
  background: var(--funnel-ink);
  color: #fff;
}

.funnel-composer-note {
  margin: 14px 2px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.48;
}

.funnel-ai-entry {
  display: grid;
  width: 100%;
  min-height: 66px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 9px 12px 9px 15px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--funnel-ink);
  text-align: left;
  cursor: pointer;
}

.funnel-ai-entry[hidden] {
  display: none;
}

.funnel-ai-entry .mall-search-ai-badge {
  background: var(--funnel-ink);
  color: #fff;
}

.funnel-ai-entry-copy {
  display: grid;
  gap: 2px;
}

.funnel-ai-entry-copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.funnel-ai-entry-copy small {
  color: #66717a;
  font-size: 12px;
  line-height: 1.3;
}

.funnel-ai-entry-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--funnel-ink);
  color: #fff;
  font-size: 22px;
}

.funnel-ai-entry:hover .funnel-ai-entry-arrow {
  background: var(--funnel-blue);
}

.funnel-hero-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: #dcefdc;
}

.funnel-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.funnel-hero-visual::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(6, 74, 35, 0.12);
  pointer-events: none;
}

.funnel-hero-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 17px 19px;
  border-radius: 16px;
  background: #fff;
  color: var(--funnel-ink);
  font-size: 13px;
}

.funnel-hero-visual figcaption strong {
  font-size: 16px;
}

.funnel-products,
.funnel-steps,
body.mall-funnel-home .home-ai-recommendation {
  width: min(100% - 40px, 1240px);
  margin-right: auto;
  margin-left: auto;
}

.funnel-products {
  padding: 52px 0 64px;
}

.funnel-section-head {
  max-width: 720px;
}

.funnel-section-head .funnel-kicker {
  color: var(--funnel-blue);
}

.funnel-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

html[lang="zh-CN"] .funnel-section-head h2 {
  font-size: clamp(18px, 4.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.funnel-products .funnel-section-head > p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #5f6871;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.5;
}

body.mall-funnel-home .funnel-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.funnel-product-card {
  overflow: hidden;
  border: 1px solid var(--funnel-line);
  border-radius: 22px;
  background: #fff;
}

body.mall-funnel-home .funnel-product-card .brand-biz-card {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--funnel-ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body.mall-funnel-home .funnel-product-card .brand-biz-img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: #e8ece9;
}

body.mall-home-page.mall-funnel-home .funnel-product-card .brand-biz-img {
  aspect-ratio: 4 / 3;
}

body.mall-funnel-home .funnel-product-card .brand-biz-img img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 220ms ease;
}

body.mall-funnel-home .funnel-product-card .brand-biz-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 14px 0;
}

.funnel-product-number {
  display: none;
}

body.mall-funnel-home .funnel-product-card h3 {
  margin: 0 0 6px;
  color: var(--funnel-ink);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.mall-funnel-home .funnel-product-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #66717a;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.funnel-product-ai {
  padding: 10px 14px 12px;
}

.funnel-ai-btn {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--funnel-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.funnel-ai-btn:hover {
  background: #157a32;
  color: #fff;
}

.funnel-all-products:hover,
.funnel-saving-link:hover,
.funnel-product-view:hover {
  background: rgba(36, 157, 53, 0.05);
}

.funnel-product-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  margin-top: auto;
  border-top: 1px solid var(--funnel-line);
}

.funnel-product-view,
.funnel-saving-link {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border: 0;
  border-left: 1px solid var(--funnel-line);
  background: transparent;
  color: var(--funnel-ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.funnel-product-view {
  border-left: 0;
}

.funnel-saving-link {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.funnel-saving-link::after {
  content: '\2192';
  flex-shrink: 0;
  color: var(--funnel-blue);
  font-size: 16px;
  line-height: 1;
}

.funnel-all-products {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid rgba(24, 124, 45, 0.28);
  border-radius: 999px;
  color: var(--funnel-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.funnel-product-actions {
  transform: scale(1.025);
}

.funnel-steps {
  padding: 46px 0 30px;
  border-top: 1px solid var(--funnel-line);
}

body.mall-funnel-home .funnel-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  counter-reset: none;
}

body.mall-funnel-home .funnel-step-list li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 26px;
  border: 0;
  border-left: 1px solid var(--funnel-line);
  border-radius: 0;
  background: transparent;
}

body.mall-funnel-home .funnel-step-list li::before {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 18px;
  border: 0;
  background: transparent;
  color: var(--funnel-blue);
  content: attr(data-step);
  font-size: 14px;
  font-weight: 850;
}

body.mall-funnel-home .funnel-step-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

body.mall-funnel-home .funnel-step-list strong {
  color: var(--funnel-ink);
  font-size: 20px;
  line-height: 1.16;
}

body.mall-funnel-home .funnel-step-list span {
  margin-top: 10px;
  color: #66717a;
  font-size: 14px;
  line-height: 1.5;
}

body.mall-funnel-home .mall-back-top {
  background: var(--funnel-ink);
}

@media (max-width: 820px) {
  :root {
    --mall-site-gutter: 20px;
    --mall-site-max: 680px;
  }

  .funnel-hero {
    margin-top: 10px;
    border-radius: 22px;
  }

  .funnel-nav {
    min-height: 62px;
    padding: 0 18px;
  }

  .funnel-account {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .funnel-notice {
    display: block;
    padding: 8px 14px;
    font-size: 11px;
  }

  .funnel-notice span {
    display: block;
    margin-top: 2px;
  }

  .funnel-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .funnel-hero-copy {
    padding: 52px 22px 34px;
  }

  .funnel-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .funnel-lede {
    margin-top: 20px;
    font-size: 17px;
  }

  .funnel-hero .mall-search--composer {
    min-height: 62px;
  }

  .funnel-hero-visual,
  .funnel-hero-visual img {
    display: none;
  }

  .funnel-products {
    padding-top: 48px;
  }

  body.mall-funnel-home .funnel-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-card {
    display: block;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-img {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-img img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-body {
    min-height: 0;
    padding: 10px 12px 0;
  }

  body.mall-funnel-home .funnel-product-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
  }

  body.mall-funnel-home .funnel-product-card p {
    font-size: 11px;
    line-height: 1.35;
  }

  .funnel-product-ai {
    padding: 8px 12px 10px;
  }

  .funnel-ai-btn {
    min-height: 34px;
    font-size: 12px;
  }

  .funnel-saving-link,
  .funnel-product-view {
    min-height: 40px;
    padding: 7px 4px;
    font-size: 10px;
  }

  body.mall-funnel-home .funnel-step-list {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  body.mall-funnel-home .funnel-step-list li,
  body.mall-funnel-home .funnel-step-list li:first-child {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 12px;
    min-height: 0;
    padding: 15px 0;
    border-top: 1px solid var(--funnel-line);
    border-left: 0;
  }

  body.mall-funnel-home .funnel-step-list li::before {
    grid-row: 1 / span 2;
    margin: 2px 0 0;
  }

  body.mall-funnel-home .funnel-step-list strong,
  body.mall-funnel-home .funnel-step-list span {
    grid-column: 2;
    margin-top: 0;
  }

  body.mall-funnel-home .funnel-step-list strong {
    font-size: 18px;
  }

  .funnel-steps {
    padding: 34px 0 104px;
  }
}

@media (max-width: 500px) {
  :root {
    --mall-site-gutter: 16px;
    --mall-site-max: 100%;
  }

  .funnel-products,
  .funnel-steps,
  body.mall-funnel-home .home-ai-recommendation {
    width: var(--mall-site-width);
  }
}

@media (min-width: 960px) {
  .funnel-hero {
    width: var(--mall-site-width);
    margin-top: 10px;
    border-radius: 22px;
  }

  .funnel-nav {
    min-height: 52px;
    padding: 0 32px;
  }

  .funnel-brand-logo {
    width: 40px;
    height: 31px;
  }

  .funnel-brand {
    font-size: 16px;
  }

  .funnel-account {
    min-height: 34px;
    padding: 6px 13px;
    font-size: 12px;
  }

  .funnel-notice {
    min-height: 28px;
    padding: 4px 20px;
    font-size: 11px;
  }

  .funnel-hero-grid {
    min-height: 276px;
    height: 276px;
  }

  .funnel-hero-copy {
    padding: 18px 32px;
  }

  .funnel-kicker {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .funnel-hero h1 {
    max-width: 560px;
    font-size: clamp(38px, 3.25vw, 46px);
    line-height: 0.98;
  }

  .funnel-lede {
    max-width: 560px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.3;
  }

  .funnel-estimate-label {
    margin-top: 4px;
    font-size: 10px;
  }

  .funnel-hero .funnel-composer {
    margin-top: 9px;
  }

  .funnel-composer > label {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .funnel-hero .mall-search--composer {
    min-height: 46px;
    padding: 5px 5px 5px 12px;
    border-radius: 12px;
  }

  .funnel-hero .mall-search--composer input {
    font-size: 14px;
  }

  .funnel-hero .search-btn--send {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 9px;
  }

  .funnel-composer-note {
    display: none;
  }

  .funnel-hero-visual,
  .funnel-hero-visual img {
    height: 276px;
    min-height: 276px;
  }

  .funnel-hero-visual figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .funnel-products {
    padding: 16px 0 44px;
  }

  .funnel-products .funnel-section-head {
    display: flex;
    max-width: none;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
  }

  .funnel-products .funnel-section-head h2 {
    font-size: 28px;
  }

  .funnel-products .funnel-section-head > p {
    margin: 0;
    font-size: 14px;
  }

  .funnel-all-products {
    min-height: 34px;
    margin: 0;
    padding: 6px 12px;
    font-size: 12px;
  }

  body.mall-funnel-home .funnel-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-card {
    display: block;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-img img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-body {
    min-height: 0;
    padding: 10px 12px 0;
  }

  body.mall-funnel-home .funnel-product-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
  }

  body.mall-funnel-home .funnel-product-card p {
    display: -webkit-box;
    font-size: 11px;
  }

  .funnel-product-ai {
    padding: 8px 12px 10px;
  }

  .funnel-ai-btn {
    min-height: 34px;
    font-size: 12px;
  }

  .funnel-saving-link,
  .funnel-product-view {
    min-height: 38px;
    padding: 7px 4px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mall-funnel-home .funnel-product-card .brand-biz-img img {
    transition: none;
  }
}

/* Dynamic product catalogue */
body.mall-products-page {
  margin: 0;
  background: #f5f8f4;
  color: #062f47;
}

.product-catalog-shell {
  width: 100%;
  margin: 0 auto;
  padding: 48px 0 96px;
}

.product-catalog-hero {
  max-width: 780px;
}

/* Secondary page heroes — compact titles, fewer mobile line breaks */
.product-catalog-hero h1,
.savings-intro h1,
.savings-next h2,
.order-page-heading h2 {
  font-size: clamp(26px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

html[lang="zh-CN"] .product-catalog-hero h1,
html[lang="zh-CN"] .savings-intro h1,
html[lang="zh-CN"] .savings-next h2,
html[lang="zh-CN"] .order-page-heading h2 {
  font-size: clamp(20px, 5.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.product-catalog-hero h1 {
  margin: 8px 0 14px;
  color: #062f47;
}

.product-catalog-hero > p:last-child {
  margin: 0;
  color: #66717a;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.5;
}

.product-catalog-toolbar {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr 0.9fr;
  gap: 12px;
  margin-top: 38px;
  padding: 16px;
  border: 1px solid rgba(6, 47, 71, 0.14);
  border-radius: 20px;
  background: #fff;
}

.product-catalog-toolbar label,
.product-scenario-form label {
  display: grid;
  gap: 7px;
  color: #40505a;
  font-size: 12px;
  font-weight: 800;
}

.product-catalog-toolbar .mall-input,
.product-catalog-toolbar .mall-select,
.product-scenario-form .mall-input,
.product-scenario-form .mall-select {
  width: 100%;
  min-height: 44px;
  border-color: rgba(6, 47, 71, 0.18);
  background: #f8faf7;
}

.product-catalog-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 16px;
}

.product-catalog-summary strong {
  font-size: clamp(17px, 4vw, 22px);
}

.product-catalog-summary span {
  color: #6b747d;
  font-size: 13px;
}

.product-catalog-grid.guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-catalog-grid .goods-item-wrap {
  min-width: 0;
}

.product-catalog-empty {
  grid-column: 1 / -1;
  padding: 52px 24px;
  border: 1px dashed rgba(6, 47, 71, 0.2);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

/* Product scenario → live rule calculation → AI conversation */
.product-scenario-assistant {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(24, 124, 45, 0.22);
  border-radius: 18px;
  background: #f1f8f2;
}

.product-scenario-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.product-scenario-heading h2 {
  margin: 0;
  color: #0d5421;
  font-size: 19px;
  line-height: 1.2;
}

.product-scenario-heading p {
  margin: 6px 0 0;
  color: #52645a;
  font-size: 13px;
  line-height: 1.5;
}

.product-scenario-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-scenario-details {
  grid-column: 1 / -1;
}

.product-scenario-details textarea.mall-input {
  min-height: 76px;
  resize: vertical;
}

.product-scenario-submit {
  grid-column: 1 / -1;
  min-height: 46px;
}

.product-scenario-result {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff;
  color: #143d26;
}

.product-scenario-result p {
  margin: 5px 0 0;
  color: #607067;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .product-catalog-grid.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-catalog-shell {
    width: min(100% - 24px, 620px);
    padding: 28px 0 76px;
  }

  .product-catalog-toolbar,
  .product-scenario-form {
    grid-template-columns: 1fr;
  }

  .product-scenario-details,
  .product-scenario-submit {
    grid-column: auto;
  }

  .product-catalog-grid.guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .product-catalog-grid.guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 2: plain-language savings result */
body.mall-savings-page {
  --funnel-blue: #187c2d;
  --funnel-ink: #062f47;
  --funnel-paper: #f5f8f4;
  --funnel-line: rgba(6, 47, 71, 0.16);
  margin: 0;
  background: var(--funnel-paper);
  color: var(--funnel-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.savings-shell {
  width: var(--mall-site-width);
  margin: 0 auto;
  padding-bottom: 90px;
}

.savings-nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--funnel-line);
}

.savings-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--funnel-ink);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.savings-brand > img {
  display: block;
  width: 44px;
  height: 34px;
  object-fit: contain;
}

.funnel-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  color: #707981;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.funnel-progress li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.funnel-progress li > span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #aeb5bb;
  border-radius: 50%;
  font-size: 10px;
}

.funnel-progress li.active {
  color: var(--funnel-ink);
}

.funnel-progress li.active > span {
  border-color: var(--funnel-blue);
  background: var(--funnel-blue);
  color: #fff;
}

.savings-intro {
  max-width: 820px;
  padding: 28px 0 48px;
}

.savings-intro .funnel-kicker,
.savings-next .funnel-kicker {
  color: var(--funnel-blue);
}

.savings-intro h1 {
  margin: 0;
}

.savings-intro > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: #606a73;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.5;
}

.savings-workspace {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.savings-input-panel,
.savings-results {
  border-radius: 24px;
}

.savings-input-panel {
  padding: 28px;
  background: var(--funnel-ink);
  color: #fff;
}

.savings-field + .savings-field {
  margin-top: 22px;
}

.savings-field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
}

.savings-field select,
.savings-money-input,
.savings-unit-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.savings-field select {
  padding: 0 14px;
  font: inherit;
}

.savings-money-input,
.savings-unit-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.savings-money-input span:first-child {
  font-size: 24px;
  font-weight: 800;
}

.savings-money-input input,
.savings-unit-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 760;
}

.savings-unit-input span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.savings-calc-button,
.savings-ai-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.savings-calc-button {
  width: 100%;
  margin-top: 26px;
  background: var(--funnel-blue);
  color: #fff;
}

.savings-form-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.savings-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--funnel-line);
  background: var(--funnel-line);
}

.savings-result-card,
.savings-assumptions {
  background: #fff;
}

.savings-result-card {
  min-height: 212px;
  padding: 28px;
}

.savings-result-card--money {
  background: var(--funnel-blue);
  color: #fff;
}

.savings-result-card p {
  margin: 0;
  color: #6b747d;
  font-size: 13px;
  font-weight: 700;
}

.savings-result-card--money p {
  color: rgba(255, 255, 255, 0.7);
}

.savings-result-card strong {
  display: block;
  margin-top: 46px;
  font-size: clamp(27px, 3.4vw, 43px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.savings-result-card > span {
  display: block;
  margin-top: 8px;
  color: #69737b;
  font-size: 12px;
}

.savings-result-card--money > span {
  color: rgba(255, 255, 255, 0.7);
}

.savings-assumptions {
  grid-column: 1 / -1;
  padding: 28px;
}

.savings-assumptions h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.savings-assumptions p {
  margin: 8px 0 0;
  color: #606a73;
  font-size: 12px;
  line-height: 1.55;
}

.savings-source-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.savings-source-links a {
  color: var(--funnel-blue);
  font-size: 12px;
  font-weight: 750;
}

.savings-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: 100px;
  padding-top: 64px;
  border-top: 1px solid var(--funnel-line);
}

.savings-next h2 {
  margin: 0;
}

html[lang="zh-CN"] .savings-next h2 {
  font-size: clamp(19px, 5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.savings-next > div:first-child > p:last-child {
  max-width: 600px;
  margin: 18px 0 0;
  color: #606a73;
  line-height: 1.5;
}

.savings-ai-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  background: var(--funnel-blue);
  color: #fff;
}

.savings-ai-button span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: var(--funnel-blue);
  font-size: 9px;
}

.savings-product-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.savings-product-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 114px;
  padding: 12px;
  border: 1px solid var(--funnel-line);
  border-radius: 16px;
  background: #fff;
  color: var(--funnel-ink);
  text-decoration: none;
}

.savings-product-card img {
  width: 88px;
  height: 88px;
  border-radius: 11px;
  object-fit: cover;
  background: #eef1f4;
}

.savings-product-card span {
  min-width: 0;
}

.savings-product-card small,
.savings-product-card strong,
.savings-product-card b {
  display: block;
}

.savings-product-card small {
  color: #737c84;
  font-size: 10px;
}

.savings-product-card strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.savings-product-card b {
  margin-top: 7px;
  color: var(--funnel-blue);
  font-size: 15px;
}

.savings-product-card i {
  color: var(--funnel-blue);
  font-size: 20px;
  font-style: normal;
}

.savings-all-link {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--funnel-ink);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .savings-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .funnel-progress {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .funnel-progress li {
    font-size: 10px;
  }

  .savings-intro {
    padding-top: 20px;
  }

  .savings-workspace {
    grid-template-columns: 1fr;
  }

  .savings-results {
    order: -1;
  }

  .savings-next {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .savings-ai-button {
    justify-self: start;
  }

  .savings-product-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .savings-shell {
    width: min(100% - 24px, 1140px);
  }

  .savings-results {
    grid-template-columns: 1fr;
  }

  .savings-assumptions {
    grid-column: 1;
  }

  .savings-result-card {
    min-height: 180px;
  }

  .savings-source-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* 2026-08-25: shared H5 mobile baseline and compact home product cards */
html,
body {
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

.mall-shell,
.mall-page,
.mall-content,
.form-card,
.profile-body,
.landing-page,
.landing-section,
.mall-detail-layout,
.mall-detail-col,
.order-page-shell {
  min-width: 0;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

.funnel-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

body.mall-funnel-home .funnel-product-card .brand-biz-card {
  flex: 1 1 auto;
}

body.mall-funnel-home .funnel-product-card .brand-biz-body {
  min-height: 0;
  height: auto;
}

body.mall-funnel-home .funnel-product-card h3,
body.mall-funnel-home .funnel-product-card p,
.funnel-all-products,
.brand-biz-cta {
  overflow-wrap: anywhere;
}

.funnel-product-actions {
  margin-top: auto;
}

@media (min-width: 960px) {
  body.mall-funnel-home .funnel-product-card .brand-biz-body {
    padding: 12px 14px 0;
  }

  body.mall-funnel-home .funnel-product-card h3 {
    margin: 0 0 6px;
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.15;
  }

  body.mall-funnel-home .funnel-product-card p {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .funnel-product-ai {
    padding: 10px 14px 12px;
  }

  .funnel-ai-btn {
    min-height: 36px;
    font-size: 12px;
  }

  .funnel-saving-link,
  .funnel-product-view {
    min-height: 42px;
    padding: 7px 4px;
    font-size: 10px;
    line-height: 1.12;
  }
}

@media (max-width: 959px) {
  body.mall-funnel-home .funnel-product-card .brand-biz-body {
    padding: 12px 14px 0;
  }

  body.mall-funnel-home .funnel-product-card h3 {
    margin: 0 0 5px;
    line-height: 1.16;
  }

  .funnel-saving-link,
  .funnel-product-view {
    min-height: 40px;
    padding: 7px 4px;
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  body.mall-funnel-home .mall-utility-bar-inner {
    padding-right: 0;
    padding-left: 0;
  }

  .mall-utility-bar-inner {
    padding-right: 0;
    padding-left: 0;
  }

  .mall-utility-brand span {
    overflow: hidden;
    max-width: min(46vw, 176px);
    text-overflow: ellipsis;
  }

  .mall-page {
    width: 100%;
    max-width: 100%;
  }

  .mall-navbar {
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .mall-navbar .nav-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mall-content,
  .profile-body {
    padding-right: 12px;
    padding-left: 12px;
  }

  .form-card,
  .profile-panel:not(.profile-panel--orders),
  .mall-detail-body,
  .product-scenario-assistant {
    padding: 16px;
  }

  .profile-main-inner > .profile-panel--orders {
    padding: 0 12px;
  }

  .landing-hero h1,
  .product-catalog-hero h1,
  .savings-intro h1,
  .savings-next h2,
  .order-page-heading h2,
  .funnel-section-head h2 {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.03em;
  }

  html[lang="zh-CN"] .product-catalog-hero h1,
  html[lang="zh-CN"] .savings-intro h1,
  html[lang="zh-CN"] .savings-next h2,
  html[lang="zh-CN"] .order-page-heading h2,
  html[lang="zh-CN"] .funnel-section-head h2 {
    font-size: clamp(19px, 5.1vw, 23px);
    line-height: 1.24;
    letter-spacing: -0.01em;
  }

  .product-catalog-hero .funnel-kicker,
  .savings-intro .funnel-kicker,
  .order-page-heading .funnel-kicker {
    margin-bottom: 10px;
  }

  body.mall-funnel-order-page .mall-detail-title {
    font-size: clamp(22px, 5.5vw, 32px);
    line-height: 1.12;
  }

  html[lang="zh-CN"] body.mall-funnel-order-page .mall-detail-title {
    font-size: clamp(19px, 5vw, 26px);
    line-height: 1.2;
  }

  .landing-cards-row,
  .landing-process,
  .brand-city-grid,
  .contact-info-grid,
  .product-scenario-form {
    grid-template-columns: 1fr;
  }

  .mall-table-wrap,
  .mall-compare-table,
  .mall-components-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .funnel-products,
  .funnel-steps,
  body.mall-funnel-home .home-ai-recommendation {
    width: min(100% - 24px, 1140px);
  }

  .funnel-products {
    padding-top: 34px;
  }

  .funnel-products .funnel-section-head {
    display: grid;
    gap: 10px;
  }

  .funnel-products .funnel-section-head > p {
    margin-top: 0;
  }

  .funnel-all-products {
    width: fit-content;
    margin-top: 2px;
  }

  body.mall-funnel-home .funnel-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  body.mall-funnel-home .funnel-product-card .brand-biz-body {
    min-height: 0;
    padding: 10px 12px 0;
  }

  body.mall-funnel-home .funnel-product-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
  }

  body.mall-funnel-home .funnel-product-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .funnel-product-ai {
    padding: 8px 12px 10px;
  }

  .funnel-ai-btn {
    min-height: 34px;
    font-size: 12px;
  }

  .funnel-saving-link,
  .funnel-product-view {
    min-height: 40px;
    padding: 7px 4px;
    font-size: 10px;
  }

  .product-catalog-shell,
  .savings-shell {
    width: min(100% - 24px, 620px);
  }

  .product-catalog-toolbar {
    padding: 12px;
    border-radius: 16px;
  }

  .product-catalog-grid.guide-grid {
    grid-template-columns: 1fr;
  }

  .savings-intro {
    padding: 42px 0 30px;
  }

  .savings-input-panel,
  .savings-result-card,
  .savings-assumptions {
    padding: 20px;
  }

  .savings-result-card {
    min-height: 150px;
  }

  .savings-result-card strong {
    margin-top: 28px;
  }

  .savings-next {
    margin-top: 64px;
    padding-top: 42px;
  }

  .savings-product-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }

  .savings-product-card img {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 2026-08-26: immersive technology-led homepage hero */
body.mall-funnel-home {
  --funnel-tech-deep: #03125e;
  --funnel-tech-navy: #052878;
  --funnel-tech-green: #249d35;
  --funnel-tech-mint: #3da852;
  --funnel-hero-deep: #082818;
  --funnel-hero-overlay: 8, 46, 36;
  --funnel-hero-glow: 36, 157, 53;
  --funnel-hero-accent: #8fbfaa;
  --funnel-hero-accent-soft: rgba(143, 191, 170, 0.42);
  --brand-glow: #6828b0;
  --brand-highlight: #3da852;
}

body.mall-funnel-home .funnel-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100dvh - 53px - env(safe-area-inset-top, 0px));
  flex-direction: column;
  border: 1px solid rgba(var(--funnel-hero-glow), 0.14);
  background: var(--funnel-hero-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 64px rgba(var(--funnel-hero-overlay), 0.28);
}

body.mall-funnel-home .funnel-hero::before,
body.mall-funnel-home .funnel-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}

body.mall-funnel-home .funnel-hero::before {
  z-index: 1;
  background-image:
    linear-gradient(rgba(var(--funnel-hero-glow), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--funnel-hero-glow), 0.05) 1px, transparent 1px),
    radial-gradient(circle at 16% 78%, rgba(var(--funnel-hero-glow), 0.12), transparent 38%),
    radial-gradient(circle at 84% 14%, rgba(104, 40, 176, 0.08), transparent 34%);
  background-size: 40px 40px, 40px 40px, auto, auto;
  opacity: 0.5;
  animation: funnel-energy-field 14s ease-in-out infinite alternate;
}

body.mall-funnel-home .funnel-hero::after {
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(var(--funnel-hero-glow), 0.14), transparent 58%),
    linear-gradient(180deg, transparent 68%, rgba(var(--funnel-hero-overlay), 0.32) 100%);
}

body.mall-funnel-home .funnel-notice,
body.mall-funnel-home .funnel-hero-grid {
  position: relative;
  z-index: 2;
}

body.mall-funnel-home .funnel-notice {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(3, 18, 94, 0.1);
  background: rgba(246, 248, 252, 0.94);
  padding: 12px 20px;
  line-height: 1.48;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

body.mall-funnel-home .funnel-notice span {
  display: block;
}

body.mall-funnel-home .funnel-notice strong {
  color: #03125e;
}

body.mall-funnel-home .funnel-hero-grid {
  min-height: 0;
  height: auto;
  flex: 1 1 auto;
  background: transparent;
}

body.mall-funnel-home .funnel-hero-copy {
  position: relative;
  z-index: 2;
  min-height: 100%;
  padding: clamp(40px, 7vh, 76px) clamp(32px, 5vw, 74px);
}

body.mall-funnel-home .funnel-kicker {
  color: var(--funnel-hero-accent);
  text-shadow: none;
  margin-bottom: 18px;
}

body.mall-funnel-home .funnel-hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 5.8vw, 82px);
  line-height: 1.06;
  text-wrap: balance;
  text-shadow: 0 10px 42px rgba(0, 16, 28, 0.24);
}

html[lang="zh-CN"] body.mall-funnel-home .funnel-hero h1 {
  max-width: 10em;
  font-size: clamp(48px, 4.2vw, 58px);
  line-height: 1.12;
  line-break: strict;
  text-wrap: pretty;
}

body.mall-funnel-home .funnel-title-line {
  display: block;
}

body.mall-funnel-home .funnel-lede,
body.mall-funnel-home .funnel-estimate-label,
body.mall-funnel-home .funnel-composer-note {
  text-wrap: pretty;
}

body.mall-funnel-home .funnel-lede {
  color: rgba(244, 255, 250, 0.88);
  margin-top: 28px;
  line-height: 1.58;
}

body.mall-funnel-home .funnel-estimate-label,
body.mall-funnel-home .funnel-composer-note {
  color: rgba(224, 245, 236, 0.68);
}

body.mall-funnel-home .funnel-estimate-label {
  margin-top: 16px;
  line-height: 1.5;
}

body.mall-funnel-home .funnel-hero .funnel-composer {
  margin-top: 34px;
}

body.mall-funnel-home .funnel-composer-note {
  margin-top: 14px;
  line-height: 1.48;
}

body.mall-funnel-home .funnel-hero .mall-search--composer,
body.mall-funnel-home .funnel-ai-entry {
  border: 1px solid rgba(3, 18, 94, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 36px rgba(3, 18, 94, 0.18);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

body.mall-funnel-home .funnel-hero .mall-search-ai-badge,
body.mall-funnel-home .funnel-ai-entry .mall-search-ai-badge {
  background: var(--funnel-tech-navy);
  color: #fff;
}

body.mall-funnel-home .funnel-hero .search-btn--send,
body.mall-funnel-home .funnel-ai-entry-arrow {
  background: var(--funnel-tech-navy);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
}

body.mall-funnel-home .funnel-hero .search-btn--send:hover,
body.mall-funnel-home .funnel-ai-entry:hover .funnel-ai-entry-arrow {
  background: #0a3588;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}

body.mall-funnel-home .funnel-hero-visual {
  overflow: hidden;
  min-height: 0;
  background: var(--funnel-hero-deep);
}

body.mall-funnel-home .funnel-hero-visual img {
  min-height: 0;
  filter: saturate(1.06) contrast(1.04) brightness(0.94) hue-rotate(-10deg);
}

body.mall-funnel-home .funnel-hero-visual::after {
  background:
    linear-gradient(90deg,
      rgba(var(--funnel-hero-overlay), 0.8) 0%,
      rgba(var(--funnel-hero-overlay), 0.4) 34%,
      rgba(var(--funnel-hero-overlay), 0.08) 58%,
      transparent 78%),
    linear-gradient(180deg, transparent 58%, rgba(var(--funnel-hero-overlay), 0.3) 100%),
    linear-gradient(0deg, rgba(var(--funnel-hero-glow), 0.06), rgba(var(--funnel-hero-glow), 0.06));
}

body.mall-funnel-home .funnel-hero-visual figcaption {
  border: 1px solid rgba(var(--funnel-hero-glow), 0.18);
  background: rgba(var(--funnel-hero-overlay), 0.78);
  color: #f4fff9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

@keyframes funnel-energy-field {
  from { background-position: 0 0, 0 0, -20px 16px, 20px -12px; }
  to { background-position: 20px 20px, 20px 20px, 24px -10px, -18px 18px; }
}

@media (min-width: 821px) {
  body.mall-funnel-home .funnel-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  }

  body.mall-funnel-home .funnel-hero-visual,
  body.mall-funnel-home .funnel-hero-visual img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 820px) {
  body.mall-funnel-home .funnel-hero {
    min-height: calc(100dvh - 53px - env(safe-area-inset-top, 0px));
    background: transparent;
  }

  body.mall-funnel-home .funnel-hero::before {
    z-index: 2;
    opacity: 0.22;
    mix-blend-mode: soft-light;
  }

  body.mall-funnel-home .funnel-hero::after {
    z-index: 2;
    background:
      radial-gradient(ellipse 70% 55% at 12% 88%, rgba(var(--funnel-hero-glow), 0.12), transparent 72%),
      linear-gradient(180deg, transparent 72%, rgba(var(--funnel-hero-overlay), 0.44) 100%);
  }

  body.mall-funnel-home .funnel-notice {
    min-height: 58px;
    padding: 12px 18px;
    z-index: 3;
  }

  body.mall-funnel-home .funnel-hero-copy {
    min-height: 100%;
    justify-content: center;
    padding: clamp(48px, 7.5vh, 80px) clamp(28px, 5.2vw, 44px);
    z-index: 3;
  }

  body.mall-funnel-home .funnel-hero h1 {
    max-width: 650px;
    font-size: clamp(50px, 10.6vw, 72px);
    line-height: 1.08;
    text-shadow: 0 8px 32px rgba(var(--funnel-hero-overlay), 0.5);
  }

  html[lang="zh-CN"] body.mall-funnel-home .funnel-hero h1 {
    max-width: 10em;
    font-size: clamp(46px, 9.2vw, 64px);
    line-height: 1.14;
  }

  body.mall-funnel-home .funnel-kicker {
    margin-bottom: 16px;
  }

  body.mall-funnel-home .funnel-lede {
    max-width: 620px;
    margin-top: 26px;
    font-size: clamp(16px, 2.8vw, 20px);
    line-height: 1.58;
  }

  body.mall-funnel-home .funnel-estimate-label {
    margin-top: 14px;
  }

  body.mall-funnel-home .funnel-hero .funnel-composer {
    margin-top: 30px;
  }

  body.mall-funnel-home .funnel-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  body.mall-funnel-home .funnel-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  body.mall-funnel-home .funnel-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-position: 62% center;
    opacity: 1;
    filter: saturate(1.08) contrast(1.04) brightness(0.93) hue-rotate(-12deg);
  }

  body.mall-funnel-home .funnel-hero-visual::after {
    background:
      linear-gradient(180deg,
        rgba(var(--funnel-hero-overlay), 0.76) 0%,
        rgba(var(--funnel-hero-overlay), 0.56) 36%,
        rgba(var(--funnel-hero-overlay), 0.2) 58%,
        rgba(var(--funnel-hero-overlay), 0.46) 100%),
      linear-gradient(90deg,
        rgba(var(--funnel-hero-overlay), 0.6) 0%,
        rgba(var(--funnel-hero-overlay), 0.26) 48%,
        transparent 78%),
      radial-gradient(ellipse 85% 60% at 10% 92%, rgba(var(--funnel-hero-glow), 0.14), transparent 68%);
  }

  body.mall-funnel-home .funnel-hero-visual figcaption {
    display: none;
  }
}

@media (max-width: 500px) {
  body.mall-funnel-home .funnel-hero {
    margin-top: 8px;
    border-radius: 20px;
  }

  body.mall-funnel-home .funnel-notice {
    min-height: 58px;
    padding: 10px 14px;
    font-size: 11px;
    line-height: 1.46;
  }

  body.mall-funnel-home .funnel-hero-copy {
    padding: clamp(38px, 6vh, 58px) 22px;
  }

  body.mall-funnel-home .funnel-kicker {
    margin-bottom: 14px;
    font-size: 10px;
  }

  body.mall-funnel-home .funnel-hero h1 {
    font-size: clamp(40px, 11.8vw, 52px);
    line-height: 1.1;
  }

  html[lang="zh-CN"] body.mall-funnel-home .funnel-hero h1 {
    line-height: 1.16;
  }

  body.mall-funnel-home .funnel-lede {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.58;
  }

  body.mall-funnel-home .funnel-estimate-label {
    margin-top: 12px;
    font-size: 10px;
    line-height: 1.48;
  }

  body.mall-funnel-home .funnel-hero .funnel-composer,
  body.mall-funnel-home .funnel-ai-entry {
    margin-top: 26px;
  }

  body.mall-funnel-home .funnel-hero .mall-search--composer,
  body.mall-funnel-home .funnel-ai-entry {
    min-height: 58px;
    border-radius: 16px;
  }

  body.mall-funnel-home .funnel-ai-entry-copy strong {
    font-size: 14px;
  }

  body.mall-funnel-home .funnel-ai-entry-copy small {
    font-size: 11px;
  }
}

@media (max-height: 720px) and (max-width: 820px) {
  body.mall-funnel-home .funnel-hero-copy {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body.mall-funnel-home .funnel-hero h1 {
    font-size: clamp(38px, 9vw, 54px);
  }

  body.mall-funnel-home .funnel-lede {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mall-funnel-home .funnel-hero::before {
    animation: none;
  }

  body.mall-funnel-home .funnel-hero .search-btn--send,
  body.mall-funnel-home .funnel-ai-entry-arrow {
    transition: none;
  }
}

/* 功能开关：优惠券 / 推荐返利 / 购物车 / 商品对比（由 mall-common.js MALL_FEATURE_FLAGS 控制） */
html.mall-feature-coupons-off [data-feature="coupons"],
html.mall-feature-coupons-off .mall-feature-coupons,
html.mall-feature-coupons-off .mall-coupon-promo,
html.mall-feature-coupons-off .mall-coupon-expiring-banner,
html.mall-feature-coupons-off .order-coupon-detail,
html.mall-feature-coupons-off .order-coupon-tag,
html.mall-feature-coupons-off .order-discount-tag,
html.mall-feature-coupons-off .profile-coupon-inset {
  display: none !important;
}

html.mall-feature-referral-off [data-feature="referral"],
html.mall-feature-referral-off .mall-feature-referral {
  display: none !important;
}

html.mall-feature-cart-off [data-feature="cart"],
html.mall-feature-cart-off .mall-feature-cart {
  display: none !important;
}

html.mall-feature-compare-off [data-feature="compare"],
html.mall-feature-compare-off .mall-feature-compare,
html.mall-feature-compare-off .mall-compare-bar,
html.mall-feature-compare-off .goods-cmp-btn {
  display: none !important;
}

/* 2026-09-02: desktop hero is a wide, bounded stage; mobile keeps the one-screen funnel. */
@media (min-width: 821px) {
  body.mall-funnel-home .funnel-hero { min-height: 0; height: auto; }
  body.mall-funnel-home .funnel-hero-grid {
    min-height: clamp(420px, 58vh, 560px);
    height: clamp(420px, 58vh, 560px);
    flex: 0 0 auto;
  }
  body.mall-funnel-home .funnel-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 72px);
  }
  body.mall-funnel-home .funnel-hero-visual img { object-fit: cover; object-position: center; }
}
@media (max-width: 820px) {
  body.mall-funnel-home .funnel-hero { min-height: calc(100svh - 53px - env(safe-area-inset-top, 0px)); }
}

/* 2026-09-02: desktop hero runs edge-to-edge instead of reading as a floating card. */
@media (min-width: 821px) {
  body.mall-funnel-home {
    /* Keep the hero copy aligned with the bounded content below it. */
    --funnel-hero-copy-gutter: min(
      clamp(20px, 7vw, 132px),
      max(20px, calc((100vw - 1240px) / 2))
    );
  }

  body.has-utility-bar.mall-home-page.mall-funnel-home .mall-page,
  body.mall-home-page.mall-funnel-home .mall-page {
    padding-right: 0;
    padding-left: 0;
  }

  body.mall-funnel-home .funnel-hero {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.mall-funnel-home .funnel-hero-copy {
    padding-right: var(--funnel-hero-copy-gutter);
    padding-left: var(--funnel-hero-copy-gutter);
  }
}

/* 2026-09-12: English copy needs a content-sized desktop stage.
   Fixed hero heights were allowing the composer to overlap the next section
   when font metrics, zoom or viewport height differed from the design machine. */
@media (min-width: 821px) {
  html[lang^="en"] body.mall-funnel-home .funnel-notice {
    min-height: 52px;
    flex-direction: row;
    gap: 18px;
    padding: 10px clamp(24px, 4vw, 64px);
  }

  html[lang^="en"] body.mall-funnel-home .funnel-notice span {
    margin: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(3, 18, 94, 0.16);
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero-grid {
    height: auto;
    min-height: clamp(560px, 70vh, 640px);
    align-items: stretch;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero-copy {
    align-self: stretch;
    justify-content: center;
    padding-top: clamp(42px, 5.5vh, 58px);
    padding-bottom: clamp(46px, 6vh, 64px);
  }

  html[lang^="en"] body.mall-funnel-home .funnel-kicker {
    margin-bottom: 20px;
    color: #abd5c1;
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: 0.2em;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero h1 {
    max-width: 9.5em;
    font-size: clamp(54px, 5vw, 74px);
    line-height: 0.99;
    letter-spacing: -0.058em;
    text-wrap: balance;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-lede {
    max-width: 56ch;
    margin-top: 24px;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.52;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-estimate-label {
    max-width: 64ch;
    margin-top: 13px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero .funnel-composer,
  html[lang^="en"] body.mall-funnel-home .funnel-ai-entry {
    width: min(100%, 650px);
    margin-top: 28px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-composer > label {
    margin-bottom: 8px;
    font-size: 13px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero .mall-search--composer,
  html[lang^="en"] body.mall-funnel-home .funnel-ai-entry {
    min-height: 58px;
    border-radius: 16px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero .search-btn--send {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero-visual,
  html[lang^="en"] body.mall-funnel-home .funnel-hero-visual img {
    min-height: 100%;
    height: 100%;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-products {
    padding-top: 56px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-products .funnel-section-head {
    align-items: flex-end;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-products .funnel-section-head h2 {
    text-wrap: balance;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-products .funnel-section-head > p {
    max-width: 42ch;
    text-align: right;
    text-wrap: pretty;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-product-card .brand-biz-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-product-card .brand-biz-body {
    flex: 1 1 auto;
  }
}

@media (min-width: 821px) and (max-width: 959px) {
  html[lang^="en"] body.mall-funnel-home .funnel-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    min-height: 590px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero-copy {
    padding-right: 28px;
    padding-left: 28px;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-hero h1 {
    font-size: clamp(48px, 5.6vw, 54px);
  }
}

@media (max-width: 500px) {
  html[lang^="en"] body.mall-funnel-home .funnel-hero h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.052em;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-kicker {
    font-size: 10px;
    letter-spacing: 0.17em;
  }

  html[lang^="en"] body.mall-funnel-home .funnel-lede {
    max-width: 34ch;
  }
}
