.showroom-browse .catalog-hero {
  --gallery-paper: #fcfaf5;
  --gallery-line: #ded8ca;
  --gallery-ink: #172d25;
  --gallery-muted: #58635a;
  --gallery-accent: #94633d;

  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: clamp(.75rem, 2vw, 1.75rem);
  padding: clamp(.75rem, 1.6vw, 1.25rem);
  background: #f1ede3;
  border: 1px solid var(--gallery-line);
  border-radius: 1.35rem;
}

.showroom-browse .catalog-hero .catalog-lead {
  align-self: center;
  padding: clamp(.75rem, 2.2vw, 2.4rem);
}

.showroom-browse .catalog-hero h1 {
  max-inline-size: 13ch;
  color: var(--gallery-ink);
  font-size: clamp(2.3rem, 4.35vw, 4.6rem);
  line-height: 1.04;
  text-wrap: balance;
}

.showroom-browse .catalog-hero .catalog-brand {
  color: var(--gallery-accent);
}

.showroom-browse .catalog-hero .catalog-hero-actions a {
  min-block-size: 44px;
  align-content: center;
}

.showroom-browse .catalog-hero .catalog-primary {
  border-radius: .65rem;
}

.showroom-browse .catalog-hero [data-feature-exhibit] {
  display: block;
  align-self: center;
  padding: clamp(.5rem, 1vw, .9rem);
  min-inline-size: 0;
  color: var(--gallery-ink);
  background: var(--gallery-paper);
  border: 1px solid var(--gallery-line);
  border-radius: 1rem;
  box-shadow: 0 12px 28px #30281c0c;
}

.showroom-browse .catalog-hero .featured-slide:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .37fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: clamp(.42rem, 1vw, .75rem);
}

.showroom-browse .catalog-hero .featured-slide:not([hidden]) .featured-photo {
  position: relative;
  aspect-ratio: 1;
  min-block-size: 0;
  overflow: hidden;
  border-radius: .65rem;
  background: #eae3d6;
}

.showroom-browse .catalog-hero .featured-photo img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
}

.showroom-browse .catalog-hero .featured-previews {
  display: grid;
  gap: .48rem;
  align-self: stretch;
  min-block-size: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  border: 0;
}

.showroom-browse .catalog-hero .featured-preview {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--gallery-line);
  border-radius: .58rem;
  background: #f4efe5;
  color: var(--gallery-ink);
  font-size: clamp(.72rem, 1.05vw, .85rem);
  line-height: 1.25;
}

.showroom-browse .catalog-hero .featured-preview::before {
  content: none;
}

.showroom-browse .catalog-hero .featured-preview img {
  position: static;
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 0;
  object-fit: contain;
  background: #eee8dc;
}

.showroom-browse .catalog-hero .featured-preview span {
  display: block;
  padding: .48rem .58rem;
  overflow-wrap: anywhere;
}

.showroom-browse .catalog-hero .featured-slide figcaption {
  grid-column: 1 / -1;
  margin: 0;
  padding: .35rem .25rem .2rem;
  background: transparent;
  color: var(--gallery-ink);
}

.showroom-browse .catalog-hero .featured-slide figcaption small {
  color: var(--gallery-muted);
  font-size: .8rem;
  line-height: 1.3;
}

.showroom-browse .catalog-hero .featured-slide figcaption a {
  color: var(--gallery-ink);
  font-size: clamp(1.02rem, 1.55vw, 1.38rem);
  line-height: 1.25;
  text-decoration-thickness: .065em;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

.showroom-browse .catalog-hero .featured-controls:not([hidden]) {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .25rem;
  margin-block-start: .5rem;
  padding-block-start: .24rem;
  border-block-start: 1px solid var(--gallery-line);
}

.showroom-browse .catalog-hero .featured-controls button {
  position: relative;
  min-block-size: 44px;
  color: var(--gallery-ink);
  border-radius: .5rem;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.showroom-browse .catalog-hero .featured-controls [data-feature-index] {
  inline-size: clamp(28px, 6vw, 36px);
  border: 0;
  background: transparent;
}

.showroom-browse .catalog-hero .featured-controls [data-feature-index]::before {
  background: #777a6d;
}

.showroom-browse .catalog-hero .featured-controls [aria-pressed="true"]::before {
  background: #b89473;
}

.showroom-browse .catalog-hero .featured-controls .feature-progress-bar {
  background: var(--gallery-accent);
}

.showroom-browse .catalog-hero [data-feature-toggle] {
  inline-size: 44px;
  border: 1px solid var(--gallery-line);
  background: #f4efe5;
}

.showroom-browse .catalog-hero .featured-controls button:focus-visible,
.showroom-browse .catalog-hero .featured-preview:focus-visible {
  outline: 2px solid var(--gallery-ink);
  outline-offset: -3px;
}

@media (max-width: 760px) {
  .showroom-browse .catalog-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    border-radius: 1rem;
  }

  .showroom-browse .catalog-hero h1 {
    max-inline-size: 19ch;
  }

  .showroom-browse .catalog-hero .featured-slide:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .showroom-browse .catalog-hero .featured-previews {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: auto;
    grid-row: 3;
  }

  .showroom-browse .catalog-hero .featured-preview {
    grid-template-columns: clamp(39px, 14vw, 54px) minmax(0, 1fr);
    grid-template-rows: auto;
    min-block-size: 54px;
    align-items: center;
  }

  .showroom-browse .catalog-hero .featured-preview img {
    aspect-ratio: 1;
    align-self: stretch;
    block-size: 100%;
  }

  .showroom-browse .catalog-hero .featured-preview span {
    padding: .35rem .42rem;
  }

  .showroom-browse .catalog-hero .featured-controls:not([hidden]) {
    justify-content: space-between;
  }
}
