/* Body Nutrition — native PrestaShop sitemap only. */
body#sitemap .bn-sitemap,
body.page-sitemap .bn-sitemap,
.bn-sitemap {
  --bn-sm-green: #25966d;
  --bn-sm-dark: #263b49;
  --bn-sm-border: #dfebe7;
  color: var(--bn-sm-dark);
  margin: 0 auto 64px;
  max-width: 1280px;
}

.bn-sitemap *, .bn-sitemap *::before, .bn-sitemap *::after { box-sizing: border-box; }
.bn-sitemap a { text-decoration: none; }

.bn-sitemap-hero {
  background: linear-gradient(105deg, #effcf6, #f9fffd);
  border: 1px solid var(--bn-sm-border);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 22px;
}
.bn-sitemap-eyebrow {
  color: #188060;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.bn-sitemap-lead {
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.5;
  font-weight: 600;
  margin: 9px 0 0;
  max-width: 700px;
}
.bn-sitemap-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 30px;
}
.bn-sitemap-jump a {
  border: 1px solid var(--bn-sm-border);
  border-radius: 999px;
  background: #fff;
  color: var(--bn-sm-dark);
  font-weight: 700;
  padding: 9px 16px;
}
.bn-sitemap-jump a:hover, .bn-sitemap-jump a:focus-visible {
  border-color: var(--bn-sm-green);
  color: #147c58;
}

.bn-sitemap-section { margin-bottom: 38px; scroll-margin-top: 90px; }
.bn-sitemap-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--bn-sm-border);
}
.bn-sitemap-section-number {
  color: var(--bn-sm-green);
  font-weight: 800;
  font-size: 13px;
}
.bn-sitemap-section-heading h2 {
  margin: 0;
  color: var(--bn-sm-dark);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
  font-weight: 800;
}

.bn-sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bn-sitemap-list--depth-0 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-sitemap-list--depth-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-sitemap-list--depth-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bn-sitemap-list--depth-3, .bn-sitemap-list--depth-4 { grid-template-columns: minmax(0, 1fr); }
.bn-sitemap-item { min-width: 0; margin: 0; padding: 0; }
.bn-sitemap-item--branch { grid-column: 1 / -1; }
.bn-sitemap-list--depth-1 > .bn-sitemap-item--branch { grid-column: auto; }

.bn-sitemap-link,
.bn-sitemap-branch > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  color: var(--bn-sm-dark);
  background: #fff;
  border: 1px solid var(--bn-sm-border);
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(30, 70, 58, .035);
  line-height: 1.35;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.bn-sitemap-link:hover,
.bn-sitemap-link:focus-visible,
.bn-sitemap-branch > summary:hover,
.bn-sitemap-branch > summary:focus-visible {
  color: #137e59;
  border-color: #87d5b4;
  background: #f6fefa;
}
.bn-sitemap-link-arrow { color: var(--bn-sm-green); font-size: 19px; line-height: 1; flex: none; }
.bn-sitemap-branch > summary { cursor: pointer; list-style: none; }
.bn-sitemap-branch > summary::-webkit-details-marker { display: none; }
.bn-sitemap-branch-name { min-width: 0; }
.bn-sitemap-chevron {
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--bn-sm-green);
  border-bottom: 2px solid var(--bn-sm-green);
  transform: rotate(45deg);
  transition: transform .18s ease;
  margin-right: 3px;
}
.bn-sitemap-branch[open] > summary .bn-sitemap-chevron { transform: rotate(225deg); }
.bn-sitemap-branch-content {
  margin-top: 9px;
  border-left: 2px solid #b8e9d3;
  padding-left: 13px;
}
.bn-sitemap-parent-link {
  display: inline-block;
  color: #157e58;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin: 2px 0 12px;
}
.bn-sitemap-parent-link:hover, .bn-sitemap-parent-link:focus-visible { text-decoration: underline; }

.bn-sitemap-magazine-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #157e58;
  font-weight: 750;
  margin: 0 0 17px;
}
.bn-sitemap-magazine-home:hover,
.bn-sitemap-magazine-home:focus-visible { color: #0f674a; text-decoration: underline; }
.bn-sitemap-magazine-categories > .bn-sitemap-item--branch > .bn-sitemap-branch > summary {
  background: #f5fcf9;
  min-height: 68px;
  font-size: 15px;
}
.bn-sitemap-magazine-categories > .bn-sitemap-item--branch > .bn-sitemap-branch[open] > summary {
  border-color: #b8e9d3;
}

/* Home is an index node: its first child level is the real catalogue grid. */
.bn-sitemap-section--2 > .bn-sitemap-list--depth-0 {
  grid-template-columns: minmax(0, 1fr);
}
.bn-sitemap-section--2 .bn-sitemap-list--depth-1 > .bn-sitemap-item--branch > .bn-sitemap-branch > summary {
  background: #f5fcf9;
  min-height: 68px;
  font-size: 15px;
}
.bn-sitemap-section--2 .bn-sitemap-list--depth-1 > .bn-sitemap-item--branch > .bn-sitemap-branch[open] > summary {
  border-color: #b8e9d3;
}

@media (max-width: 991px) {
  .bn-sitemap-list--depth-0,
  .bn-sitemap-list--depth-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-sitemap-section--2 > .bn-sitemap-list--depth-0 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .bn-sitemap { margin-bottom: 38px; }
  .bn-sitemap-hero { padding: 22px 18px; }
  .bn-sitemap-jump { gap: 7px; }
  .bn-sitemap-jump a { font-size: 12px; padding: 8px 12px; }
  .bn-sitemap-section { margin-bottom: 30px; }
  .bn-sitemap-list--depth-0,
  .bn-sitemap-list--depth-1,
  .bn-sitemap-list--depth-2 { grid-template-columns: minmax(0, 1fr); }
  .bn-sitemap-link, .bn-sitemap-branch > summary { min-height: 50px; padding: 12px 14px; }
  .bn-sitemap-branch-content { padding-left: 10px; }
}
