/* Sub-component CSS is not auto-bundled — each consumer pulls it in via an
   explicit @import, resolved and inlined at compile time. */
/* Imported from: ../../sub-components/RivieraEmptyState/styles.css */
.cc_ik0o84am_POqVyjD4nH .riv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
  gap: 12px;
}

/* A pair of thin rings — reads as spectacles without shipping an asset. */
.cc_ik0o84am_POqVyjD4nH .riv-empty-mark {
  width: 72px;
  height: 26px;
  position: relative;
  margin-bottom: 8px;
  opacity: 0.55;
}

.cc_ik0o84am_POqVyjD4nH .riv-empty-mark::before, .cc_ik0o84am_POqVyjD4nH .riv-empty-mark::after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--riv-gold);
  border-radius: 50%;
}

.cc_ik0o84am_POqVyjD4nH .riv-empty-mark::before {
  left: 0;
}

.cc_ik0o84am_POqVyjD4nH .riv-empty-mark::after {
  right: 0;
}

.cc_ik0o84am_POqVyjD4nH .riv-empty-title {
  font-family: var(--riv-font-heading);
  color: var(--riv-navy);
  font-size: 20px;
  margin: 0;
}

.cc_ik0o84am_POqVyjD4nH .riv-empty-text {
  font-family: var(--riv-font-body);
  color: var(--riv-text-muted);
  font-size: 14px;
  margin: 0;
  max-width: 42ch;
  line-height: 1.6;
}

.cc_ik0o84am_POqVyjD4nH .riv-empty-action {
  margin-top: 10px;
}

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

.cc_ik0o84am_POqVyjD4nH .riv-brands {
  width: 100%;
  padding: var(--riv-section-y) 0;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-eyebrow {
  text-align: center;
  margin: 0 0 14px;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-heading {
  font-size: clamp(28px, 4vw, 40px);
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-sub {
  font-family: var(--riv-font-body);
  color: var(--riv-text-muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  max-width: 52ch;
  margin: 20px auto 0;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-grid {
  list-style: none;
  margin: var(--riv-heading-gap) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--riv-card);
  border-radius: var(--riv-radius);
  box-shadow: var(--riv-shadow);
  overflow: hidden;
  transition: transform var(--riv-transition), box-shadow var(--riv-transition);
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--riv-shadow-lift);
}

/* Collage — one lead shot beside two stacked ones. The ratio is fixed so the
   row height never depends on how much photography a brand happens to have. */
.cc_ik0o84am_POqVyjD4nH .riv-brands-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  gap: 2px;
  background: var(--riv-border);
  overflow: hidden;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-media--0, .cc_ik0o84am_POqVyjD4nH .riv-brands-media--1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-media--2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

/* Only in the three-up layout does the lead photo take the full-height column. */
.cc_ik0o84am_POqVyjD4nH .riv-brands-media--3 .riv-brands-shot:first-child {
  grid-row: span 2;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-shot {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--riv-product-gradient);
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  transition: transform var(--riv-transition);
  mix-blend-mode: multiply;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-link:hover .riv-brands-img {
  transform: scale(1.04);
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--riv-product-gradient);
}

/* A merchant-uploaded brand logo sits on the collage as a small white plate —
   optional, and the card reads fine without it. */
.cc_ik0o84am_POqVyjD4nH .riv-brands-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(18, 41, 74, 0.14);
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-logo {
  display: block;
  max-width: 96px;
  max-height: 28px;
  object-fit: contain;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-id {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-name {
  font-family: var(--riv-font-heading);
  color: var(--riv-navy);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-count {
  font-family: var(--riv-font-body);
  color: var(--riv-text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-desc {
  font-family: var(--riv-font-body);
  color: var(--riv-text-body);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-price {
  font-family: var(--riv-font-body);
  color: var(--riv-navy);
  font-size: 14px;
  font-weight: 700;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-cta {
  padding: 11px 20px;
}

/* The CTA is a span inside the card link, so it gets the button's hover state
   from the card rather than from a pointer of its own. */
.cc_ik0o84am_POqVyjD4nH .riv-brands-link:hover .riv-brands-cta {
  background: var(--riv-navy);
  color: #fff;
}

.cc_ik0o84am_POqVyjD4nH .riv-brands-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 760px) {
  .cc_ik0o84am_POqVyjD4nH .riv-brands {
    padding: var(--riv-section-y-sm) 0;
  }
  .cc_ik0o84am_POqVyjD4nH .riv-brands-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cc_ik0o84am_POqVyjD4nH .riv-brands-media {
    aspect-ratio: 3 / 2;
  }
  .cc_ik0o84am_POqVyjD4nH .riv-brands-body {
    padding: 18px 18px 20px;
  }
  .cc_ik0o84am_POqVyjD4nH .riv-brands-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .cc_ik0o84am_POqVyjD4nH .riv-brands-cta {
    text-align: center;
  }
}
