/* THEMARMOHOME · 归档页材料导航（B3）+ /shop/ 定位网格（B5）
   编辑风：左对齐 · 发丝线 · 大留白 · 无卡片白底边框 */

/* ============ 分类 / 集合页：Browse by stone ============ */
.tmh-catmat {
  margin-top: clamp(34px, 4.6vw, 56px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--tmh-line, #e3ddd2);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 26px;
}

.tmh-catmat__k {
  flex: 0 0 100%;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft, #6f6a62);
  margin: 0 0 10px;
}

.tmh-catmat__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

.tmh-catmat__list li {
  margin: 0;
  padding: 0 16px;
  border-left: 1px solid var(--tmh-line, #e3ddd2);
  line-height: 1.9;
}
.tmh-catmat__list li:first-child { padding-left: 0; border-left: 0; }

.tmh-catmat__list a {
  font-size: 14.5px;
  color: var(--ink, #1c1a17);
  text-decoration: none;
  transition: color 0.25s ease;
}
.tmh-catmat__list a:hover { color: var(--gold-deep, #9a7b3f); }

.tmh-catmat__more {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep, #9a7b3f);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ============ /shop/：按场景 / 按材料 ============ */
.tmh-shopnav {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 76px);
  margin-top: clamp(44px, 6vw, 78px);
  padding-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--tmh-line, #e3ddd2);
}

.tmh-shopnav__col { min-width: 0; }

.tmh-shopnav__k {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep, #9a7b3f);
  margin: 0 0 8px;
}

.tmh-shopnav h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.tmh-shopnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 场景：三列对齐的行 */
.tmh-shopnav__rooms li { margin: 0; }

.tmh-shopnav__rooms a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--tmh-line, #e3ddd2);
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}
.tmh-shopnav__rooms li:last-child a { border-bottom: 1px solid var(--tmh-line, #e3ddd2); }

.tmh-shopnav__rooms .nm {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.25;
}
.tmh-shopnav__rooms .ds {
  font-size: 13px;
  color: var(--ink-soft, #6f6a62);
  line-height: 1.5;
}
.tmh-shopnav__rooms .tg {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft, #6f6a62);
  white-space: nowrap;
}

.tmh-shopnav__rooms a:hover .nm,
.tmh-shopnav__rooms a:hover .tg { color: var(--gold-deep, #9a7b3f); }

/* 石种：简洁两列链接 */
.tmh-shopnav__stones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.tmh-shopnav__stones a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--tmh-line, #e3ddd2);
  font-size: 14.5px;
  color: var(--ink, #1c1a17);
  text-decoration: none;
  transition: color 0.25s ease;
}
.tmh-shopnav__stones a:hover { color: var(--gold-deep, #9a7b3f); }

.tmh-shopnav__more {
  display: inline-block;
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep, #9a7b3f);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.tmh-shopnav__foot {
  grid-column: 1 / -1;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--tmh-line, #e3ddd2);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft, #6f6a62);
  max-width: 78ch;
}

@media (max-width: 1024px) {
  .tmh-shopnav { grid-template-columns: 1fr; gap: 34px; }
  .tmh-shopnav__rooms a { grid-template-columns: minmax(0, 1fr) auto; }
  .tmh-shopnav__rooms .ds { display: none; }
}

@media (max-width: 720px) {
  .tmh-catmat__list li { padding: 0 10px; line-height: 2.1; }
  .tmh-catmat__list a { font-size: 13.5px; }
  .tmh-catmat__more { margin-left: 0; margin-top: 10px; }
  .tmh-shopnav__stones { grid-template-columns: 1fr; }
  .tmh-shopnav__rooms .nm { font-size: 17px; }
  .tmh-shopnav__rooms .tg { font-size: 10px; }
}
