/* ============================================================
   mall-website.html 专属样式
   布局：左文右商品卡流+支付物流条 → 运营六宫格 → 成本对比表 →
        左图右文卖货逻辑 → 左文右图多端 → 适合谁三卡+案例图 → CTA
   ============================================================ */

.ml-hero {
  padding: calc(var(--header-h) + 46px) 0 70px;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 94% 8%, rgba(239,220,166,.6), transparent 60%),
    radial-gradient(720px 400px at 4% 90%, rgba(220,232,210,.65), transparent 60%),
    var(--cream);
}
.ml-hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.ml-eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: mlFade .7s ease .1s both;
}
.ml-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  margin-bottom: 18px;
  animation: mlFade .8s ease .25s both;
}
.ml-amber { color: var(--amber); white-space: nowrap; }
.ml-sub { color: var(--ink-2); margin-bottom: 26px; animation: mlFade .8s ease .4s both; }
.ml-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; animation: mlFade .8s ease .55s both; }
.ml-note { font-size: 13px; color: var(--ink-3); }
.ml-note b { color: var(--amber-deep); }

/* 商品卡流 */
.ml-hero-visual { animation: mlFloat 6s ease-in-out infinite alternate; }
.ml-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ml-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  transition: all .3s ease;
}
.ml-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.ml-card-hot { border-color: var(--amber); }
.ml-card-img {
  display: block;
  height: 110px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--green-1), var(--green-2));
  margin-bottom: 10px;
}
.ml-card:nth-child(2) .ml-card-img { background: linear-gradient(135deg, var(--yellow-1), var(--yellow-2)); }
.ml-card:nth-child(3) .ml-card-img { background: linear-gradient(135deg, var(--cream-3), var(--yellow-1)); }
.ml-card-name { font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.ml-card-price { font-size: 18px; font-weight: 700; color: var(--amber); }
.ml-card-price small { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.ml-bar {
  margin-top: 18px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 12px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}
.ml-bar-item { font-size: 13px; color: var(--ink-2); font-weight: 600; }

@keyframes mlFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mlFloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* 运营功能 */
.ml-feat { background: var(--cream-2); }
.ml-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ml-feat {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 24px;
  border: 2px solid var(--line);
  transition: all .3s ease;
}
.ml-feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--green-2); }
.ml-feat h3 { font-size: 17px; margin-bottom: 8px; color: var(--green-deep); }
.ml-feat p { font-size: 14px; color: var(--ink-2); }

/* 成本表 */
.ml-cost-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--ink-2); }

/* 卖货逻辑图文 */
.ml-how-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.ml-how-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.ml-how-copy h2 { font-size: clamp(24px,3vw,34px); margin: 10px 0 16px; }
.ml-how-copy p { color: var(--ink-2); margin-bottom: 14px; }

/* 多端 */
.ml-device { background: var(--cream-2); }
.ml-device-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.ml-device-copy h2 { font-size: clamp(24px,3vw,34px); margin: 10px 0 16px; }
.ml-device-copy p { color: var(--ink-2); margin-bottom: 18px; }
.ml-device-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }

/* 适合谁 */
.ml-who-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.ml-who-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  border-bottom: 4px solid var(--yellow-3);
  transition: all .3s ease;
}
.ml-who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.ml-who-card h3 { font-size: 17px; margin-bottom: 8px; }
.ml-who-card p { font-size: 14px; color: var(--ink-2); }
.ml-case-link {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
}
.ml-case-link img { width: 100%; height: 260px; object-fit: cover; }
.ml-case-link .btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
}
.ml-case-link .btn:hover { transform: translate(-50%,-50%) translateY(-3px); }

/* 响应式 */
@media (max-width: 1080px) {
  .ml-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ml-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .ml-how-in, .ml-device-in { grid-template-columns: 1fr; gap: 30px; }
  .ml-who-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ml-feat-grid, .ml-cards { grid-template-columns: 1fr; }
  .ml-actions .btn { width: 100%; }
}
