.csf-catalog-hero {
  --catalog-ink: var(--csf-brand-navy, #142B3F);
  --catalog-muted: var(--csf-brand-muted, #43596D);
  --catalog-line: var(--csf-brand-line, #CAD8E1);
  color: var(--catalog-ink);
  background: linear-gradient(116deg, var(--csf-brand-mist, #F7F9FB) 10%, var(--csf-brand-paper, #EDF3F6) 78%, var(--csf-brand-warm, #FCF2E2) 100%);
  border-bottom: 1px solid var(--catalog-line);
  padding-bottom: clamp(1.05rem, 2.5vw, 2.2rem);
}
.csf-catalog-frame {
  width: min(calc(100% - 2 * clamp(1rem, 4.25vw, 4.15rem)), 1320px);
  margin-inline: auto;
}
.csf-catalog-breadcrumb {
  --breadcrumb-gap: clamp(.45rem, .9vw, .7rem);
  padding-block: .28rem clamp(.5rem, 1.25vw, .84rem);
  color: var(--catalog-ink);
  font-size: .875rem;
  line-height: 1.4;
}
.csf-catalog-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--breadcrumb-gap);
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.csf-catalog-breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--breadcrumb-gap);
  min-width: 0;
}
.csf-catalog-breadcrumb li:not(:last-child) {
  flex: 0 0 auto;
}
.csf-catalog-breadcrumb li + li::before {
  content: "";
  flex: 0 0 auto;
  width: .34rem;
  height: .34rem;
  border-block-start: 1.25px solid var(--catalog-muted);
  border-inline-end: 1.25px solid var(--catalog-muted);
  transform: rotate(45deg);
}
.csf-catalog-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 3px;
  color: var(--csf-brand-steel, #315971);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.csf-catalog-breadcrumb a:hover {
  color: var(--csf-brand-brass-ink, #784A19);
}
.csf-catalog-breadcrumb a:focus-visible {
  outline: 2px solid var(--csf-brand-steel, #315971);
  outline-offset: 2px;
}
.csf-catalog-breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.csf-catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.31fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1rem, 4.25vw, 4.25rem);
}
#csf-catalog-title {
  max-width: 26ch;
  margin: 0;
  color: var(--catalog-ink)!important;
  font-size: clamp(1.85rem, 3.15vw, 3.18rem);
  line-height: 1.075;
  font-weight: 760;
  letter-spacing: -.043em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.csf-catalog-description {
  margin-top: clamp(.55rem, 1.4vw, .85rem);
  color: var(--catalog-muted);
  max-width: 65ch;
  font-size: clamp(.91rem, 1.18vw, 1rem);
}
.csf-catalog-description p { margin: 0; line-height: 1.55; color: inherit; }
.csf-catalog-description p + p { margin-top: .35rem; }
.csf-catalog-actions {
  display: flex;
  align-items: center;
  gap: .35rem clamp(.72rem, 2vw, 1.15rem);
  flex-wrap: wrap;
  margin-top: clamp(.66rem, 1.7vw, 1.15rem);
}
.csf-catalog-actions a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 720;
}
.csf-catalog-actions .csf-catalog-primary {
  padding: .57rem .8rem;
  border: 1px solid var(--csf-brand-steel-deep, #224156);
  border-radius: 6px;
  background: var(--csf-brand-steel-deep, #224156);
  color: #fff!important;
  text-decoration: none;
}
.csf-catalog-actions .csf-catalog-primary:hover { background: var(--csf-brand-steel-deep, #224156); }
.csf-catalog-actions .csf-catalog-guide {
  color: var(--csf-brand-steel, #315971)!important;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.csf-catalog-hero a:focus-visible,
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid :is(a, button):focus-visible {
  outline: 2px solid var(--csf-brand-brass-ink, #784A19);
  outline-offset: 3px;
}
.csf-catalog-examples {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(.46rem, 1.35vw, .9rem);
}
.csf-catalog-example {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--csf-brand-line, #CAD8E1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  color: var(--csf-brand-navy, #142B3F)!important;
  text-decoration: none;
}
.csf-catalog-example img {
  display: block;
  width: 100%;
  height: clamp(132px, 13.2vw, 222px);
  background: white;
  object-fit: contain;
}
.csf-catalog-example span {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .46rem .62rem .52rem;
  border-top: 1px solid var(--csf-brand-line, #CAD8E1);
  background: var(--csf-brand-mist, #F7F9FB);
  color: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}
.csf-catalog-example:hover span { text-decoration: underline; text-underline-offset: .2em; background: var(--csf-brand-paper, #EDF3F6); }
body.template-collection:has(.csf-catalog-hero) section[data-section-type="collection-template"] > collection-init > :is(.container-fluid,.container) {
  width: min(calc(100% - 2 * clamp(1rem, 4.25vw, 4.15rem)), 1320px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
html:has(body.template-collection .csf-catalog-hero):has(#CollectionProductGrid:target) {
  scroll-behavior: auto;
}
body.template-collection:has(.csf-catalog-hero) .f-collection--wrapper {
  margin-block-start: 0;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid {
  scroll-margin-top: 88px;
}
body.template-collection:has(.csf-catalog-hero) .f-select-custom--option[data-value=""] {
  display: none;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid .f-collection-toolbar {
  margin: clamp(.65rem, 1.6vw, 1.15rem) 0 clamp(.55rem, 1.3vw, .9rem);
  padding: .32rem .58rem;
  border: 1px solid var(--csf-brand-line, #CAD8E1);
  border-radius: 8px;
  background: var(--csf-brand-mist, #F7F9FB);
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card {
  height: 100%;
  border: 1px solid var(--csf-brand-line, #CAD8E1);
  border-radius: 8px;
  background: #fff;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card__media {
  border-bottom: 1px solid var(--csf-brand-line, #CAD8E1);
  border-radius: 8px 8px 0 0;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card__media responsive-image {
  --aspect-ratio: 1 / 1 !important;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card__name {
  -webkit-line-clamp: 3;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card__content {
  padding-inline: clamp(.56rem, 1.05vw, .85rem);
  padding-bottom: .82rem;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card__title {
  line-height: 1.34;
}
body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid
  .f-collection-products:not(.f-cols-1) .f-product-card:focus-within {
  border-color: var(--csf-brand-line-strong, #71899B);
}
@media (max-width: 800px) {
  .csf-catalog-intro { grid-template-columns: minmax(0,1fr) minmax(0,.64fr); gap: 1.15rem; }
  .csf-catalog-example img { height: clamp(91px, 16vw, 155px); }
}
@media (max-width: 665px) {
  .csf-catalog-intro { grid-template-columns: minmax(0,1fr); gap: .9rem; }
  .csf-catalog-hero { padding-bottom: 1.05rem; }
  #csf-catalog-title { max-width: 24ch; font-size: clamp(1.69rem, 7vw, 2.35rem); }
  .csf-catalog-description { font-size: .9rem; }
  .csf-catalog-description p { line-height: 1.46; }
  .csf-catalog-actions { gap: .15rem .62rem; }
  .csf-catalog-actions a { font-size: .85rem; }
  .csf-catalog-example img { height: clamp(87px, 24vw, 125px); }
  .csf-catalog-example span { min-height: 2.2rem; font-size: .75rem; }
  body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid .f-product-card__title {
    font-size: .9rem;
  }
}

@media (pointer: coarse) {
  body.template-collection:has(.csf-catalog-hero) #CollectionProductGrid .f-toolbar--column-switcher button {
    min-width: 43px;
    min-height: 44px;
  }
}

.f-collection-toolbar .f-toolbar--column-switcher button.active {
  background-color: var(--csf-brand-selection, #D8E2E7);
  color: var(--csf-brand-navy, #142B3F);
  box-shadow: inset 0 0 0 1px var(--csf-brand-steel, #315971);
}
