/** Shopify CDN: Minification failed

Line 65:73 Unexpected "var("
Line 70:75 Unexpected "var("

**/
/* ═══════════════════════════════════════════════════════════
   Featured brands — Bordered logo carousel (Thomann-style)
   ═══════════════════════════════════════════════════════════ */

.featured-brands {
  --fb-border: rgba(var(--color-border), var(--color-border-alpha, 1));
  --fb-text-soft: rgba(var(--color-foreground), 0.55);
}

.featured-brands__carousel {
  display: block;
  position: relative;
  border: 1px solid var(--fb-border);
  background: rgb(var(--color-background));
  overflow: hidden;
}

/* Pre-Swiper fallback grid (before JS initialises) */
.featured-brands__grid {
  display: grid;
  grid-template-columns: repeat(var(--fb-columns-mobile, 2), minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .featured-brands__grid {
    grid-template-columns: repeat(var(--fb-columns-lg, 5), minmax(0, 1fr));
  }
}

/* Once Swiper initialises, .featured-brands__carousel.swiper is added — flatten the grid */
.featured-brands__carousel.swiper .featured-brands__grid {
  display: flex;
  grid-template-columns: none;
}

.featured-brands__item {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border-inline-end: 1px solid var(--fb-border);
  box-sizing: border-box;
}

/* Swiper sets fixed widths on slides; ensure they fill the cell height */
.featured-brands__carousel.swiper .featured-brands__item {
  height: auto;
}

/* The last visible slide on each row should not show a trailing right border */
.featured-brands__carousel.swiper .featured-brands__item:last-child {
  border-inline-end-width: 0;
}

/* Pre-init grid: drop trailing borders on the rightmost cell of each row */
.featured-brands__carousel:not(.swiper) .featured-brands__item:nth-child(var(--fb-columns-mobile, 2)n) {
  border-inline-end-width: 0;
}

@media (min-width: 768px) {
  .featured-brands__carousel:not(.swiper) .featured-brands__item:nth-child(var(--fb-columns-lg, 5)n) {
    border-inline-end-width: 0;
  }
}

.featured-brands__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
  background: rgb(var(--color-background));
  transition: background-color 0.2s ease;
}

.featured-brands__grid--padding-small .featured-brands__card {
  padding: 1.6rem 1.2rem;
}

.featured-brands__grid--padding-medium .featured-brands__card {
  padding: 2.4rem 1.6rem;
}

.featured-brands__grid--padding-large .featured-brands__card {
  padding: 3.2rem 2rem;
}

.featured-brands__card:hover {
  background: rgba(var(--color-foreground), 0.025);
}

.featured-brands__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.featured-brands__grid--image-small .featured-brands__logo-wrap {
  height: 4.8rem;
}

.featured-brands__grid--image-medium .featured-brands__logo-wrap {
  height: 6.4rem;
}

.featured-brands__grid--image-large .featured-brands__logo-wrap {
  height: 8rem;
}

.featured-brands__logo-img {
  max-width: 80%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.featured-brands__card:hover .featured-brands__logo-img {
  transform: scale(1.05);
}

.featured-brands__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  background: rgba(var(--color-foreground), 0.04);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fb-text-soft);
  letter-spacing: -0.02em;
}

.featured-brands__placeholder {
  width: 6rem;
  height: 6rem;
  opacity: 0.4;
}

.featured-brands__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  margin-top: 0.4rem;
}

.featured-brands__name {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgb(var(--color-foreground));
}

.featured-brands__count {
  font-size: 1.2rem;
  color: var(--fb-text-soft);
}

/* ── Navigation arrows ─────────────────────────────────────── */
.featured-brands__nav {
  pointer-events: none;
}

.featured-brands__nav .swiper-button {
  pointer-events: auto;
}

.featured-brands__nav .swiper-button-disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .featured-brands__grid--image-large .featured-brands__logo-wrap {
    height: 6.4rem;
  }
  .featured-brands__grid--image-medium .featured-brands__logo-wrap {
    height: 5.2rem;
  }
  .featured-brands__grid--padding-large .featured-brands__card {
    padding: 2rem 1.4rem;
  }
  .featured-brands__grid--padding-medium .featured-brands__card {
    padding: 1.6rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-brands__card,
  .featured-brands__logo-img {
    transition: none;
  }
  .featured-brands__card:hover .featured-brands__logo-img {
    transform: none;
  }
}
