/* 页头大菜单（对标 Lensmart）：左栏分类图块 | 中栏分组链接（浅灰底）| 右栏大图。
   面板的定位、显隐沿用页头原有的 .header__inline-submenus，这里只管面板内部 */
.header__inline-submenus.mm-panel {
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.mm {
  display: flex;
  width: 100%;
  color: #1c1b19;
}

/* ---------- 左栏：1 张竖长图 + 右侧 3 张叠放 ---------- */
.mm__tiles {
  flex: 0 0 440px;
  padding: 28px 24px 32px 40px;
}

.mm__heading {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mm__tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  height: 340px;
}

.mm__tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #f6f6f6;
}

.mm__tile--1 {
  grid-row: 1 / 4;
}

.mm__tile .mm__tile-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mm__tile:hover .mm__tile-img {
  transform: scale(1.04);
}

/* 文字压在图底部，加一层渐变保证浅色图上也看得清 */
.mm__tile-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 10px 8px;
  font-size: 13px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(to top, rgba(28, 27, 25, 0.55), rgba(28, 27, 25, 0));
}

/* ---------- 中栏：分组标题 + 分隔线 + 三列链接 ---------- */
.mm__groups {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 28px 32px 32px;
  background: #f6f6f6;
}

.mm__group-title {
  display: block;
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1c1b19;
  text-decoration: none;
  border-bottom: 1px solid #e5e1da;
}

.mm__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mm__link {
  font-size: 14px;
  color: #1c1b19;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mm__link:hover,
a.mm__group-title:hover {
  color: #8a5a35;
}

/* ---------- 右栏：大图 ---------- */
.mm__feature {
  display: block;
  flex: 0 0 360px;
  overflow: hidden;
}

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

/* 窄屏桌面放不下三栏：先收掉右侧大图，再缩左栏 */
@media (max-width: 1280px) {
  .mm__feature {
    display: none;
  }
}

@media (max-width: 1100px) {
  .mm__tiles {
    flex-basis: 360px;
    padding-left: 24px;
  }

  .mm__tile-grid {
    height: 300px;
  }
}
