/**
 * BienHabillé — Sitemap
 * Plan du site avec structure hiérarchique.
 */
.bh-sitemap {
  max-width: var(--bh-container-max, 1320px);
  margin: 0 auto;
  padding: 2rem var(--bh-container-padding, 1.25rem);
}

.bh-sitemap__main-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bh-text-primary, #1a1a1a);
  text-transform: lowercase;
}

.bh-sitemap__intro {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--bh-text-muted, #555);
  max-width: 65ch;
  margin: -1rem 0 2rem;
  grid-column: 1 / -1;
}

.bh-sitemap__hint {
  font-size: 0.875rem;
  color: var(--bh-text-muted, #666);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.bh-sitemap__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.bh-sitemap__attr-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
}

.bh-sitemap__attr-group:first-of-type .bh-sitemap__attr-label {
  margin-top: 0;
}

.bh-sitemap__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.bh-sitemap__list--inline li {
  margin-bottom: 0;
}

.bh-sitemap__list--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.bh-sitemap__list--tags li {
  margin-bottom: 0;
}

.bh-sitemap__section--shop,
.bh-sitemap__section--attributes,
.bh-sitemap__section--tags,
.bh-sitemap__section--blog {
  grid-column: 1 / -1;
}

.bh-sitemap__section {
  margin-bottom: 2.5rem;
  break-inside: avoid;
}

.bh-sitemap__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
}

.bh-sitemap__title a {
  color: inherit;
  text-decoration: none;
}

.bh-sitemap__title a:hover {
  text-decoration: underline;
}

.bh-sitemap__subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.bh-sitemap__subtitle:first-child {
  margin-top: 0;
}

.bh-sitemap__subtitle a {
  color: inherit;
  text-decoration: none;
}

.bh-sitemap__subtitle a:hover {
  text-decoration: underline;
}

.bh-sitemap__category-group {
  margin-bottom: 1rem;
}

.bh-sitemap__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-sitemap__list li {
  margin-bottom: 0.35rem;
}

.bh-sitemap__list--nested {
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.bh-sitemap__list--nested .bh-sitemap__list--nested {
  padding-left: 1rem;
}

.bh-sitemap__list a {
  color: var(--bh-text-primary, #1a1a1a);
  text-decoration: none;
  font-size: 0.9375rem;
}

.bh-sitemap__list a:hover {
  text-decoration: underline;
}

/* Grille multi-colonnes sur grand écran */
@media (max-width: 767px) {
  .bh-sitemap__columns {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .bh-sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem 3rem;
  }

  .bh-sitemap__main-title {
    grid-column: 1 / -1;
  }

  .bh-sitemap__section {
    margin-bottom: 0;
  }
}
