/* 首页板块变体（配合 body.home-l-1 … home-l-8） */

/* Hero 全幅遮罩 */
.hero--bleed {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
.hero--bleed .hero-bleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.72);
}
.hero--bleed .hero-bleed-inner {
  position: relative;
  z-index: 1;
  padding: 48px 24px 56px;
  max-width: 640px;
}
.hero--bleed .hero-bleed-inner h1,
.hero--bleed .hero-bleed-inner p {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-tag--light {
  background: rgba(255,255,255,0.2);
  color: #fff !important;
}

/* Hero 极简横带 */
.hero--minimal-band {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}
.hero-min-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-min-inner {
    grid-template-columns: 1fr;
  }
}
.hero-min-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.hero-min-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* 促销条 */
.home-promo-strip {
  background: var(--primary);
  color: rgba(255,255,255,0.92);
  font-size: 0.84rem;
  padding: 12px 0;
}
.home-promo-inner {
  text-align: center;
}
.home-promo-inner a {
  color: var(--accent);
  text-decoration: underline;
}

/* 品类横条 */
.home-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.home-cat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  background: var(--bg-light);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.home-cat-pill:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.home-cat-pill img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}
.home-cat-pill span {
  font-weight: 600;
  font-size: 0.92rem;
}

/* 卖点两列 */
.home-features-2col {
  padding: 36px 0;
  background: var(--bg-alt);
}
.home-f2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .home-f2-grid {
    grid-template-columns: 1fr;
  }
}
.home-f2-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.home-f2-item i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 4px;
}
.home-f2-item h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}
.home-f2-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* 内联订阅 */
.home-newsletter-inline {
  background: linear-gradient(90deg, var(--bg-light), #fff);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.home-nl-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.home-nl-flex h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}
.home-nl-flex p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}
.home-nl-form {
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

/* 各布局微调 */
.home-l-4 .home-pop-section {
  background: var(--bg-light);
}
.home-l-5 .home-new-section {
  background: #fff !important;
}
.home-l-7 .home-cat-row-section {
  padding-bottom: 8px;
}
