/* Category landing heroes */
.tm-ch { padding: 28px 0 8px; }
.tm-ch-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tm-ch-eye { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0B7380; }
.tm-ch-title { margin: 0 0 14px; font-family: var(--tm-font-display); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; color: var(--tm-navy); }
.tm-ch-lead { margin: 0; max-width: 560px; font-size: 1.05rem; line-height: 1.6; color: #374151; }
.tm-ch-art { position: relative; }
.tm-ch-svg { display: block; width: 100%; height: auto; border-radius: 36px; box-shadow: var(--tm-shadow); }

/* Floating product photos (Moomin) */
.tm-ch-photo { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 5px solid #fff; box-shadow: var(--tm-shadow-lg); animation: tm-ch-float 6s ease-in-out infinite; }
.tm-ch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-ch-photo-0 { left: -4%; top: 34%; }
.tm-ch-photo-1 { left: 36%; top: -8%; width: 26%; animation-delay: -2s; }
.tm-ch-photo-2 { right: -4%; bottom: -6%; width: 34%; animation-delay: -4s; }
@keyframes tm-ch-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tm-ch-photo { animation: none; } }

/* Good-to-know cards */
.tm-ch-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 32px 0 0; }
.tm-ch-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--tm-border); border-radius: 18px; padding: 14px 16px; }
.tm-ch-card strong { display: block; font-size: .95rem; color: var(--tm-navy); }
.tm-ch-card small { display: block; font-size: .82rem; color: var(--tm-muted); }
.tm-ch-tick { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tm-teal-soft); color: #0B7380; font-weight: 700; }

/* Subcategory tiles */
.tm-ch-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 26px 0 4px; }
.tm-ch-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tm-border); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--tm-ink); transition: transform .15s, box-shadow .15s; }
.tm-ch-tile:hover { transform: translateY(-2px); box-shadow: var(--tm-shadow); }
.tm-ch-tile-img { aspect-ratio: 4 / 3; background: var(--tm-teal-soft); overflow: hidden; }
.tm-ch-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-ch-tile-txt { padding: 10px 14px 12px; }
.tm-ch-tile-txt strong { display: block; font-size: .95rem; color: var(--tm-navy); }
.tm-ch-tile-txt small { color: var(--tm-muted); font-size: .8rem; }

/* Sibling chips on subcategories */
.tm-ch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.tm-ch-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tm-border); color: var(--tm-navy); font-weight: 600; font-size: .9rem; text-decoration: none; }
.tm-ch-chip span { font-weight: 500; opacity: .6; }
.tm-ch-chip:hover { border-color: var(--tm-navy); }
.tm-ch-chip.is-on { background: var(--tm-navy); border-color: var(--tm-navy); color: #fff; }
.tm-ch-navwrap { margin-bottom: 8px; }

/* Subcategory hero: compact */
.tm-ch--sub .tm-ch-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); }
.tm-ch--sub .tm-ch-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tm-ch--sub .tm-ch-photo { display: none; }

@media (max-width: 860px) {
  .tm-ch-grid, .tm-ch--sub .tm-ch-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tm-ch-art { max-width: 520px; margin: 0 auto; width: 92%; }
  .tm-ch--sub .tm-ch-art { display: none; }
  .tm-ch-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .tm-ch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
