/* Head of the birthstone collection and its month pages
 * (VEL-20261110-KOLLEKTIONSKOEPFE): breadcrumb, title and one sentence on the
 * left, the twelve stones on the right. Below 1100 px the stones sit under
 * the text; on phones they form one row to swipe and show the month only. */
.vlr-bs-head {
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  color: var(--vlr-ink, #3a2a1f);
}

/* Same width as the product grid of these pages. */
@media (min-width: 768px) {
  .vlr-bs-head {
    width: min(1350px, 93.75vw);
    padding-inline: 0;
  }
}

/* The overview grid uses the 1320 px frame of the other collections; same
   padding rule as collection-shell.css, so a narrower parent is evened out. */
@media (min-width: 768px) {
  body.vlr-bs-overview-page .vlr-bs-head {
    width: 100%;
    max-width: 1320px;
    padding-inline: max(0px, calc((min(1320px, 100%) - min(1320px, 100vw)) / 2 + clamp(20px, 4vw, 60px)));
  }
}

/* One line between head and filter bar: the bar keeps only its bottom line. */
body.vlr-bs-collection-page .vlr-birthstone-filter :is(.list-top-bar, .vlr-price-filter-row) {
  margin-top: 0 !important;
  border-top: 0 !important;
}

.vlr-bs-head *,
.vlr-bs-head *::before,
.vlr-bs-head *::after {
  box-sizing: border-box;
}

.vlr-bs-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  color: var(--vlr-muted, #75675c);
  font: 400 12px/1.4 "Karla", Arial, sans-serif;
}

.vlr-bs-head .vlr-bs-crumb a {
  color: inherit;
  text-decoration: none;
}

.vlr-bs-head .vlr-bs-crumb a:hover {
  color: var(--vlr-ink, #3a2a1f);
}

.vlr-bs-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  border-bottom: 1px solid var(--vlr-line, #e6dfd5);
}

.vlr-bs-intro {
  flex: 1 1 0;
  min-width: 0;
  max-width: 620px;
  padding: 0 0 32px;
  text-align: left;
}

.vlr-bs-head .vlr-bs-intro h1 {
  margin: 0 0 12px;
  color: var(--vlr-ink, #3a2a1f);
  font: 400 46px/1.05 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.015em;
  text-align: left;
  text-transform: none;
}

.vlr-bs-head .vlr-bs-intro p {
  margin: 0;
  color: var(--vlr-muted, #75675c);
  font: 400 15px/1.65 "Karla", Arial, sans-serif;
  text-align: left;
}

.vlr-bs-stones {
  display: grid;
  grid-template-columns: repeat(6, 88px);
  gap: 16px 4px;
  flex: 0 0 auto;
  padding-bottom: 32px;
}

.vlr-bs-head .vlr-bs-stones a {
  display: block;
  color: var(--vlr-muted, #75675c);
  font: 500 12px/1.35 "Karla", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}

.vlr-bs-head .vlr-bs-stones img {
  display: block;
  width: 40px !important;
  height: 40px !important;
  max-width: none;
  margin: 0 auto 6px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--vlr-motion-slow) var(--vlr-ease);
}

.vlr-bs-name {
  display: block;
  color: var(--vlr-ink, #3a2a1f);
  white-space: nowrap;
}

.vlr-bs-month {
  display: block;
  color: var(--vlr-muted, #75675c);
  font-size: 11px;
  font-weight: 400;
}

.vlr-bs-head .vlr-bs-stones a:hover img {
  transform: scale(1.06);
}

.vlr-bs-head .vlr-bs-stones a:focus-visible,
.vlr-bs-head .vlr-bs-crumb a:focus-visible {
  outline: 2px solid var(--vlr-ink, #3a2a1f);
  outline-offset: 4px;
}

.vlr-bs-head .vlr-bs-stones a[aria-current="page"] img {
  outline: 1px solid var(--vlr-ink, #3a2a1f);
  outline-offset: 4px;
}

.vlr-bs-stones a[aria-current="page"] .vlr-bs-name {
  font-weight: 600;
}

@media (max-width: 1099px) {
  .vlr-bs-top {
    display: block;
  }

  .vlr-bs-intro {
    padding-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .vlr-bs-crumb {
    display: none;
  }

  .vlr-bs-intro {
    max-width: none;
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .vlr-bs-head .vlr-bs-intro h1 {
    font-size: 34px;
  }

  .vlr-bs-stones {
    grid-template-columns: repeat(12, 60px);
    gap: 0 4px;
    margin-right: -20px;
    padding: 4px 20px 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .vlr-bs-stones::-webkit-scrollbar {
    display: none;
  }

  .vlr-bs-name {
    display: none;
  }

  .vlr-bs-month {
    color: var(--vlr-muted, #75675c);
    font-size: 12px;
  }

  .vlr-bs-stones a[aria-current="page"] .vlr-bs-month {
    color: var(--vlr-ink, #3a2a1f);
    font-weight: 600;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlr-bs-head .vlr-bs-stones img {
    transition: none;
  }

  .vlr-bs-head .vlr-bs-stones a:hover img {
    transform: none;
  }
}
