/* 公开站补充样式：壳层、产品卡、详情页 */

.public-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  /* 与会员端 MemberLayout main 一致：为右侧悬浮客服栏预留空间 */
  padding-right: 80px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .site-main {
    padding-right: 0;
  }
}

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--btn-primary-shadow);
  line-height: 0;
}

.brand-mark svg,
.brand-mark__img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark__img {
  object-fit: cover;
}

/* 暗色 Logo：默认隐藏；有 has-dark 的明色图在暗色主题下隐藏 */
.brand-mark__img--dark {
  display: none;
}

[data-theme='dark'] .brand-mark__img--light.has-dark {
  display: none;
}

[data-theme='dark'] .brand-mark__img--dark {
  display: block;
}

.brand-mark.is-sm {
  width: 34px;
  height: 34px;
}

.brand-mark.is-md {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

/* 顶栏 logo：相对满高再同比例缩小（约 0.48× 顶栏高，防裁切） */
.brand-mark.is-header {
  width: auto;
  min-width: 0;
  max-width: calc(min(280px, 42vw) * 0.54);
  height: calc(var(--console-tab-h) * 0.48);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.brand-mark.is-header .brand-mark__img {
  width: auto;
  max-width: calc(min(280px, 42vw) * 0.54);
  height: calc(var(--console-tab-h) * 0.48);
  object-fit: contain;
  object-position: left center;
}

.brand-mark.is-header svg {
  width: calc(var(--console-tab-h) * 0.48);
  height: calc(var(--console-tab-h) * 0.48);
  flex-shrink: 0;
}

.about-body {
  max-width: 720px;
}

.about-body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 15px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

/* ---------- 关于我们：统一内容宽 + 左对齐节奏 ---------- */
.about-page {
  --about-content-w: 880px;
  padding: 0 0 64px;
  background: var(--bg);
}

.about-shell {
  width: min(var(--about-content-w), calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.about-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--line);
}

.about-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.about-brand {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.about-tagline {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.about-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.about-stats {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-stats li {
  padding: 0 20px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-stats li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
}

.about-stats span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.about-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.about-block--contact {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-block-head {
  margin-bottom: 20px;
}

.about-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.about-block-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.about-block-desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.about-prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-pillars li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-pillar-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--brand);
  font-size: 15px;
}

.about-pillar-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.about-pillar-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.about-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-service-grid article {
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-service-grid i {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--brand);
  font-size: 14px;
}

.about-service-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}

.about-service-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.about-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-contact-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 24px);
}

.about-contact-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.about-actions .btn i {
  margin-right: 6px;
}

@media (max-width: 768px) {
  .page-simple {
    padding: 28px 0 48px;
  }

  .page-simple .section-head h1 {
    font-size: 24px;
  }

  .about-page {
    padding-bottom: 48px;
  }

  .about-shell {
    width: calc(100% - 32px);
  }

  .about-hero {
    padding: 36px 0 28px;
  }

  .about-block {
    padding: 32px 0;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .about-stats li {
    padding: 0 12px 0 0;
  }

  .about-stats li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .about-stats li:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .about-stats li:nth-child(n + 3) {
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .about-pillars,
  .about-service-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .about-actions,
  .about-hero-actions {
    flex-direction: column;
  }

  .about-actions .btn,
  .about-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats li,
  .about-stats li + li,
  .about-stats li:nth-child(even),
  .about-stats li:nth-child(n + 3) {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-stats li:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

.page-simple {
  padding: 40px 0 64px;
}

.page-simple .section-head {
  margin-bottom: 28px;
}

.page-simple .section-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.product-card-body {
  padding: 18px 18px 16px;
}

.product-cat {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.product-loc {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-specs {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.product-specs span {
  color: var(--muted);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.product-price small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
}

.product-card[hidden] {
  display: none !important;
}

.drawer[hidden],
.mega[hidden],
.faq-panel[hidden] {
  display: none !important;
}
