.page-hero.collection-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  isolation: isolate;
  padding: 0;
  text-align: left;
  color: var(--banner-ink);
  background: var(--banner-base);
}
.collection-banner--best-sellers { --banner-base:#efc7b3; --banner-ink:#241a1c; --banner-tint:rgba(247,214,195,.48); }
.collection-banner--premium { --banner-base:#122e26; --banner-ink:#fff5f7; --banner-tint:rgba(4,18,13,.29); }
.collection-banner--sculpted { --banner-base:#ead8ce; --banner-ink:#241a1c; --banner-tint:rgba(248,230,218,.42); --banner-fade:39%; }
.collection-banner--machine-made { --banner-base:#321220; --banner-ink:#fff5f7; --banner-tint:rgba(38,8,22,.28); --banner-fade:40%; }
.page-hero.collection-banner::before {
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--banner-tint) 24%, transparent var(--banner-fade, 43%));
}
.collection-banner > img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
}
.collection-banner .collection-banner-copy {
  grid-area: 1 / 1;
  z-index: 2;
  width: 100%;
  padding-block: clamp(16px, 3vw, 42px);
}
.page-hero.collection-banner .collection-banner-copy > * {
  max-width: min(35%, 520px);
  margin-inline: 0;
  color: var(--banner-ink);
}
.page-hero.collection-banner .breadcrumb :is(a,span) { color: inherit; }
.collection-banner .collection-banner-copy h1 { font-size: clamp(28px, 3.35vw, 54px); line-height: 1.12; }
.collection-banner .collection-banner-copy .page-hero-sub { font-size: clamp(14px, 1.3vw, 18px); line-height: 1.55; margin-bottom: 0; }
:is(.collection-banner--premium,.collection-banner--machine-made) .collection-banner-copy { text-shadow: 0 1px 5px rgba(0,0,0,.6); }
@media (max-width: 860px) {
  .page-hero.collection-banner::before { content: none; }
  .collection-banner > img {
    grid-area: 2 / 1;
    margin-block-start: -16px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 38px);
    mask-image: linear-gradient(to bottom, transparent, #000 38px);
  }
  .collection-banner .collection-banner-copy {
    padding-block: 12px 6px;
  }
  .page-hero.collection-banner .collection-banner-copy > * { max-width: none; }
  .collection-banner .collection-banner-copy .breadcrumb {
    font-size: 12px;
    margin-block-end: 7px;
  }
  .collection-banner .collection-banner-copy .breadcrumb .sep { margin-inline: 5px; }
  .collection-banner .collection-banner-copy h1 {
    font-size: clamp(21px, 5.8vw, 30px);
    margin-block: 0 6px;
  }
  .collection-banner .collection-banner-copy .page-hero-sub {
    font-size: 13px;
    margin-block-start: 0;
    line-height: 1.4;
  }
}
/* Keep the complete photograph while reducing the desktop hero height. */
@media (min-width: 861px) {
  .page-hero.collection-banner {
    min-height: clamp(300px, 23vw, 340px);
  }
  .collection-banner > img {
    position: absolute;
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(to right, transparent, #000 22%);
  }
  .collection-banner .collection-banner-copy {
    padding-block: 14px;
  }
  .collection-banner .collection-banner-copy h1 {
    font-size: clamp(26px, 2.8vw, 44px);
  }
}

.collection-banner--autumn-winter { --banner-base: #35241d; --banner-ink: #fff5f7; --banner-tint: rgba(39,22,15,.45); }
.collection-banner--cat-eye { --banner-base: #291b2c; --banner-ink: #fff5f7; --banner-tint: rgba(27,15,32,.42); }
.collection-banner--christmas { --banner-base: #3b1420; --banner-ink: #fff5f7; --banner-tint: rgba(45,12,22,.44); }
.collection-banner--everyday-minimal { --banner-base: #efe5d9; --banner-ink: #241a1c; --banner-tint: rgba(245,235,223,.35); }
.collection-banner--heavy-art { --banner-base: #331921; --banner-ink: #fff5f7; --banner-tint: rgba(38,13,23,.44); }
.collection-banner--long-stiletto { --banner-base: #dfdfe1; --banner-ink: #241a1c; --banner-tint: rgba(226,226,229,.51); }
.collection-banner--short { --banner-base: #deebe1; --banner-ink: #241a1c; --banner-tint: rgba(231,243,232,.35); }
.collection-banner--square { --banner-base: #273849; --banner-ink: #fff5f7; --banner-tint: rgba(23,36,53,.58); }
.collection-banner--handmade { --banner-base: #ead6ce; --banner-ink: #241a1c; --banner-tint: rgba(248,230,218,.42); }
.collection-banner--accessories { --banner-base: #2f263e; --banner-ink: #fff5f7; --banner-tint: rgba(30,20,44,.44); }
