/* Skipped (covered by shared chunk CSS): ../../sub-components/ImagePlaceholder/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductCarousel/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductCard/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductQuickView/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductQuickAdd/styles.css */
/* Imported from: ../../sub-components/QuantityStepper/styles.css */
.cc_6nnnox11_lfatDTP61y .qty-stepper {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-sans);
}

.cc_6nnnox11_lfatDTP61y .qty-stepper__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.125rem;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.cc_6nnnox11_lfatDTP61y .qty-stepper__btn:hover {
  background: var(--orange-hover);
}

.cc_6nnnox11_lfatDTP61y .qty-stepper__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cc_6nnnox11_lfatDTP61y .qty-stepper__btn:focus-visible {
  outline: 2px solid var(--orange-dark);
  outline-offset: 2px;
}

.cc_6nnnox11_lfatDTP61y .qty-stepper__value {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

/* End import: ../../sub-components/QuantityStepper/styles.css */

.cc_6nnnox11_lfatDTP61y .brands {
  margin-bottom: var(--section-gap);
}

/* Knuspr: 20/26 -> 22/28 (768) -> 25/32 (1024), 8px inset, 12px to the tiles.
   display:block because a theme reset leaves h2 inline (its margin was lost). */
.cc_6nnnox11_lfatDTP61y .brands__title {
  display: block;
  margin: 0 0 0.75rem;
  padding-inline: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.625rem;
  color: var(--text);
}

/* ---- Logo tabs: the same 96x124 tile as the department tabs ---- */
.cc_6nnnox11_lfatDTP61y .brands__tabs {
  display: flex;
  gap: 0.5rem;
  /* 4px room for the tile shadow + 9px = Knuspr's 13px to the products */
  margin-bottom: 0.5625rem;
  padding: 0 0 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.cc_6nnnox11_lfatDTP61y .brands__tabs::-webkit-scrollbar {
  display: none;
}

.cc_6nnnox11_lfatDTP61y .brands__tab {
  flex: 0 0 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  height: 7.75rem;
  padding: 0.125rem 0.125rem 0.25rem;
  overflow: hidden;
  font-family: inherit;
  color: var(--text);
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cc_6nnnox11_lfatDTP61y .brands__tab:hover {
  background: var(--grey-100);
  border-color: #b6bdc0;
  box-shadow: none;
}

/* selected: peach fill, #FFBC85 border doubled by a 1px inner ring */
.cc_6nnnox11_lfatDTP61y .brands__tab.is-selected, .cc_6nnnox11_lfatDTP61y .brands__tab.is-selected:hover {
  background: var(--peach-200);
  border-color: #ffbc85;
  box-shadow: inset 0 0 0 1px #ffbc85;
}

.cc_6nnnox11_lfatDTP61y .brands__tab:focus-visible {
  outline: 2px solid var(--orange-dark);
  outline-offset: -2px;
}

/* white 92:80 logo box, 8px padding, radius 6 */
.cc_6nnnox11_lfatDTP61y .brands__tab-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 92 / 80;
  padding: 0.5rem;
  background: var(--white);
  border-radius: 6px;
}

.cc_6nnnox11_lfatDTP61y .brands__tab-logo img {
  position: absolute;
  inset: 0.5rem;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  object-fit: contain;
}

/* no logo uploaded: brand name as a bold wordmark */
.cc_6nnnox11_lfatDTP61y .brands__tab-wordmark {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--orange-dark);
  word-break: break-word;
}

/* 36px name area, 12/15 semibold, two lines, centred */
.cc_6nnnox11_lfatDTP61y .brands__tab-name {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.125rem;
}

.cc_6nnnox11_lfatDTP61y .brands__tab-name-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 0.9375rem;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ---- Image + carousel ---- */
.cc_6nnnox11_lfatDTP61y .brands__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.cc_6nnnox11_lfatDTP61y .brands__hero {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 400 / 280;
  border-radius: var(--radius-lg);
  background: var(--peach-100);
}

.cc_6nnnox11_lfatDTP61y .brands__hero-img, .cc_6nnnox11_lfatDTP61y .brands__hero > span:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cc_6nnnox11_lfatDTP61y .brands__hero:hover .brands__hero-img {
  transform: scale(1.05);
}

.cc_6nnnox11_lfatDTP61y .brands__hero-name {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
}

.cc_6nnnox11_lfatDTP61y .brands__products {
  min-width: 0;
}

.cc_6nnnox11_lfatDTP61y .brands__skeleton {
  display: flex;
  gap: 1rem;
  overflow: hidden;
}

.cc_6nnnox11_lfatDTP61y .brands__skeleton-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 9.5rem;
  height: 17rem;
  border-radius: var(--radius-lg);
  background: var(--grey-100);
}

.cc_6nnnox11_lfatDTP61y .brands__skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #e9eced, transparent);
  transform: translateX(-100%);
  animation: cc_6nnnox11_lfatDTP61y_brands-shimmer 1.2s linear infinite;
}

@keyframes cc_6nnnox11_lfatDTP61y_brands-shimmer {
  to {
    transform: translateX(100%);
  }
}

.cc_6nnnox11_lfatDTP61y .brands__message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2rem 0;
  color: var(--ink-2);
}

/*
 * Phones / tablets (Knuspr): the brand image stays on top at full width
 * (185px high, top corners 16px) with the product shelf in a bordered
 * panel directly under it; from 1024px they sit side by side.
 */
@media (max-width: 1023px) {
  .cc_6nnnox11_lfatDTP61y .brands__row {
    gap: 0;
  }

  .cc_6nnnox11_lfatDTP61y .brands__hero {
    height: 11.5625rem;
    aspect-ratio: auto;
    border-radius: 1rem 1rem 0 0;
  }

  .cc_6nnnox11_lfatDTP61y .brands__products {
    padding: 1rem 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
  }
}

@media (min-width: 768px) {
  .cc_6nnnox11_lfatDTP61y .brands__title {
    font-size: 1.375rem;
    line-height: 1.75rem;
  }

  /* Knuspr brand cards are narrower than shelf cards: 156px (172px from
     1260px) with 16px between, and a 172:157 picture so the card stays 280px */
  .cc_6nnnox11_lfatDTP61y .brands__products .product-carousel {
    --card-w: 9.75rem;
    --carousel-gap: 1rem;
  }

  .cc_6nnnox11_lfatDTP61y .brands__products .product-card__media {
    aspect-ratio: 172 / 157;
  }
}

@media (min-width: 1260px) {
  .cc_6nnnox11_lfatDTP61y .brands__products .product-carousel {
    --card-w: 10.75rem;
  }
}

@media (min-width: 1024px) {
  .cc_6nnnox11_lfatDTP61y .brands__row {
    grid-template-columns: 25rem minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }

  .cc_6nnnox11_lfatDTP61y .brands__hero {
    height: 17.5rem;
    aspect-ratio: auto;
    border-radius: var(--radius-lg);
  }

  .cc_6nnnox11_lfatDTP61y .brands__title {
    font-size: 1.5625rem;
    line-height: 2rem;
  }

  .cc_6nnnox11_lfatDTP61y .brands__products {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_6nnnox11_lfatDTP61y .brands__skeleton-card::after {
    animation: none;
  }
  .cc_6nnnox11_lfatDTP61y .brands__hero-img {
    transition: none;
  }
}
