/* 商城页专用 · 强可见卡片，不依赖主 styles 是否被缓存截断 */
.mall-hero {
  padding: clamp(2.8rem, 7vw, 4.2rem) 0 2.4rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(20, 184, 166, 0.14), transparent 60%),
    linear-gradient(180deg, #f0faf7 0%, #ffffff 100%);
  border-bottom: 1px solid #dce8e4;
}
.mall-hero h1 {
  margin: 0 0 0.85rem;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: #0c1a17;
}
.mall-hero .lead {
  margin: 0;
  color: #5b6b66;
  max-width: 42em;
  font-size: 1.06rem;
}
.mall-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.mall-hero-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.mall-hero-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #5b6b66;
}
.mall-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #0f766e;
}

.mall-grid {
  display: grid !important;
  gap: 1.5rem !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 820px) {
  .mall-grid {
    grid-template-columns: 1fr !important;
  }
}

.mall-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.7rem 1.55rem;
  border: 1px solid #c5d9d3 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(12, 26, 23, 0.04), 0 10px 28px rgba(12, 26, 23, 0.06) !important;
  min-height: 12rem;
}
.mall-card-feature {
  border-color: #0f766e !important;
  background: linear-gradient(180deg, #f3fbf8 0%, #ffffff 55%) !important;
  grid-column: 1 / -1;
}
@media (min-width: 821px) {
  .mall-card-feature {
    grid-column: span 2;
  }
}

.mall-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.mall-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f766e;
  font-weight: 600;
}
.mall-price {
  flex: none;
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #115e59;
  font-size: 0.85rem;
  font-weight: 600;
}
.mall-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #0c1a17;
}
.mall-card > p {
  margin: 0;
  color: #5b6b66;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}
.mall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}
.mall-actions .btn {
  cursor: pointer;
  font: inherit;
}

.mall-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.mall-modal.is-open {
  display: flex !important;
}
.mall-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 28, 0.55);
}
.mall-modal-panel {
  position: relative;
  width: min(100%, 36rem);
  max-height: min(86vh, 42rem);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #c5d9d3;
  box-shadow: 0 24px 56px rgba(12, 26, 23, 0.18);
  padding: 1.7rem 1.6rem 1.5rem;
}
.mall-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #dce8e4;
  border-radius: 50%;
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  color: #5b6b66;
  cursor: pointer;
}
.mall-modal-tag {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f766e;
  font-weight: 600;
}
.mall-modal-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #0c1a17;
}
.mall-modal-lead {
  margin: 0 0 1.1rem;
  color: #5b6b66;
  font-size: 0.96rem;
  line-height: 1.6;
}
.mall-modal-group {
  margin-bottom: 1.05rem;
}
.mall-modal-group h4 {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: #115e59;
  font-weight: 600;
}
.mall-modal-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.mall-modal-group li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.9rem;
  color: #0c1a17;
  line-height: 1.55;
}
.mall-modal-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #14b8a6;
}
.mall-modal-note {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #eef6f4;
  color: #5b6b66;
  font-size: 0.86rem;
  line-height: 1.55;
}
