/* Legacy markup and media stay in the mirror; the visible catalogue comes from the API. */
.sg-collections-original,
[data-sg-collections-section] > :not([data-sg-collections-content]) {
  display: none !important;
}
[data-sg-collections-section] {
  display: block !important;
  min-height: 0 !important;
  padding: 40px 24px 70px !important;
  background: #1c1c1c;
  color: #fff;
}
[data-sg-collections-content] {
  width: 100%;
  max-width: 1224px;
  margin: 0 auto;
}
.sg-collections-title {
  margin: 0;
  color: #b99a63;
  font: 700 48px/1.3 'Playfair Display', Georgia, serif;
  text-align: center;
}
.sg-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
}
.sg-collection-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 400px;
  aspect-ratio: 297 / 480;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #4c4538, #24231f);
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
}
.sg-collection-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(0 0 0 / 45%);
  content: '';
}
.sg-collection-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}
.sg-collection-card h3 {
  margin: 0;
  padding: 0 10px 24px;
  font: 700 clamp(32px, 3.2vw, 45px) / 1.3 'Playfair Display', Georgia, serif;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.sg-collection-card__more {
  position: absolute;
  bottom: 52px;
  display: grid;
  width: min(173px, 80%);
  height: 50px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 28px;
  font: 500 16px/1.3 Inter, Arial, sans-serif;
}
.sg-collection-card:hover img {
  transform: scale(1.035);
}
.sg-collection-card:focus-visible,
.sg-collections-menu a:focus-visible,
.sg-collections-retry:focus-visible {
  outline: 2px solid #b99a63;
  outline-offset: 4px;
}
.sg-collections-menu {
  color: #f4f2ee;
  font: 700 18px/1.3 'Open Sans', Arial, sans-serif;
  max-height: min(60vh, 480px);
  overflow-y: auto;
}
.sg-collections-menu > li {
  list-style: none;
}
.sg-collections-menu a {
  display: block;
  padding: 6px 0;
  color: inherit;
  font: inherit;
  line-height: 1.3;
  text-decoration: none;
}
.sg-collections-menu a:hover,
.sg-collections-menu a[aria-current='page'] {
  color: #b99a63;
}
.sg-collections-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 0;
  font: 400 16px/1.6 Inter, Arial, sans-serif;
}
.sg-collections-grid > .sg-collections-status {
  text-align: center;
}
.sg-collections-retry {
  display: block;
  margin: 12px auto 0;
  padding: 8px 18px;
  border: 1px solid currentColor;
  border-radius: 24px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
@media (min-width: 921px) {
  [data-sg-collections-section].block--desktop-first-visible {
    padding-top: calc(40px + var(--header-height, 0px)) !important;
  }
}
@media (max-width: 920px) {
  [data-sg-collections-section].block--mobile-first-visible {
    padding-top: calc(40px + var(--header-height-mobile, var(--header-height, 0px))) !important;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .sg-collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 767px) {
  [data-sg-collections-section] {
    padding: 32px 16px 48px !important;
  }
  [data-sg-collections-section].block--mobile-first-visible {
    padding-top: calc(32px + var(--header-height-mobile, var(--header-height, 0px))) !important;
  }
  .sg-collections-title { font-size: 28px; }
  .sg-collections-grid {
    grid-template-columns: minmax(0, 400px);
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
  }
  .sg-collection-card { min-height: 0; aspect-ratio: 328 / 405; }
  .sg-collection-card h3 { font-size: 36px; }
  .sg-collection-card__more { bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-collection-card img { transition: none; }
}