.hpw-collection--custom {
  --hpw-hero-surface: #eff5f9;
}

#hpw-custom-products {
  scroll-margin-top: 6rem;
}

#primary :is(.hpw-custom-hero, .hpw-custom-hero__strip) {
  font-family: Montserrat, system-ui, sans-serif;
}

#primary .hpw-custom-hero {
  overflow: hidden;
  background: #f7f7f5;
  color: #23323a;
}

#primary :is(.hpw-custom-hero__inner, .hpw-custom-hero__benefits) {
  box-sizing: border-box;
  max-width: 79rem;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2rem);
}

#primary .hpw-custom-hero__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#primary .hpw-custom-hero__copy {
  padding-block: 2rem 2.25rem;
}

#primary .hpw-custom-hero__copy nav {
  margin-bottom: clamp(1.5rem, 4vw, 4rem);
  color: #5d6e79;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

#primary .hpw-custom-hero__copy nav :is(a, span) {
  color: inherit;
  font: inherit;
}

#primary .hpw-custom-hero__copy :is(h1, p) {
  margin: 0;
  font-family: inherit;
  letter-spacing: normal;
  text-align: start;
}

#primary .hpw-custom-hero__copy :is(.hpw-custom-hero__eyebrow, .hpw-custom-hero__lead-time) {
  color: #086ba4;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

#primary .hpw-custom-hero__copy .hpw-custom-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

#primary .hpw-custom-hero__copy h1 {
  margin-block: 1.25rem;
  color: inherit;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 900;
  line-height: 1.14;
}

#primary .hpw-custom-hero__copy .hpw-custom-hero__description {
  max-width: 37rem;
  color: inherit;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  font-weight: 400;
  line-height: 1.45;
}

#primary .hpw-custom-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-block: 1.25rem;
}

#primary .hpw-custom-hero__actions a {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.625rem clamp(1rem, 2vw, 2rem);
  border: 1px solid #0e6897;
  border-radius: 999px;
  background: #0e6897;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

#primary .hpw-custom-hero__actions a:last-child {
  background: #fff;
  color: #0e6897;
}

#primary .hpw-custom-hero__actions a:focus-visible {
  outline: 2px solid #0e6897;
  outline-offset: 3px;
}

#primary .hpw-custom-hero__photo {
  display: grid;
  align-items: end;
}

#primary .hpw-custom-hero__photo img {
  display: block;
  width: 125%;
  max-width: none;
  height: auto;
}

#primary .hpw-custom-hero__strip {
  background: #edf6fb;
  color: #23323a;
}

#primary .hpw-custom-hero__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-block: 0;
  padding-block: 1.5rem;
  list-style: none;
}

#primary .hpw-custom-hero__benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

#primary .hpw-custom-hero__benefits span {
  color: #0e6897;
  font-size: 1.125rem;
}

@media (max-width: 1100px) {
  #primary .hpw-custom-hero__actions {
    flex-direction: column;
  }

  #primary .hpw-custom-hero__photo {
    align-items: center;
  }

  #primary .hpw-custom-hero__photo img {
    width: 100%;
  }

  #primary .hpw-custom-hero__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #primary .hpw-custom-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  #primary .hpw-custom-hero__copy {
    padding-block: 1.5rem 2.5rem;
  }

  #primary .hpw-custom-hero__photo {
    padding-bottom: 2rem;
  }

  #primary .hpw-custom-hero__photo img {
    max-width: 23rem;
    margin-inline: auto;
  }

  #primary .hpw-custom-hero__benefits li {
    font-size: 0.75rem;
  }
}

#primary .hpw-custom-cta {
  background: #091e2c linear-gradient(rgb(5 24 36 / 54%), rgb(5 24 36 / 62%));
  background-image:
    linear-gradient(rgb(5 24 36 / 54%), rgb(5 24 36 / 62%)),
    url("../images/custom-cta.webp");
  background-position:
    center,
    center top;
  background-size: cover;
  color: #fff;
  text-align: center;
}

#primary .hpw-custom-cta__inner {
  box-sizing: border-box;
  max-width: 50rem;
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 7.5rem) 1.5rem;
}

#primary .hpw-custom-cta h2 {
  max-width: 19ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.625rem, 4.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

#primary .hpw-custom-cta p {
  margin: clamp(1.5rem, 2.5vw, 2.25rem) auto 0;
  color: #edf3f6;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
}

#primary .hpw-custom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

#primary .hpw-custom-cta__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin: 0;
  padding: 0.625rem clamp(1.25rem, 2.3vw, 2.5rem);
  box-sizing: border-box;
  border-radius: 999px;
  background: #0e6897;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

#primary .hpw-custom-cta__actions a:last-child {
  background: #fff;
  color: #133145;
}

#primary .hpw-custom-cta__actions a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

#primary .hpw-custom-cta .hpw-custom-cta__note {
  max-width: 31rem;
  color: #d5e1e9;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  #primary .hpw-custom-cta {
    background-position:
      center,
      66% top;
  }

  #primary .hpw-custom-cta h2 {
    max-width: none;
  }
}

@media (max-width: 600px) {
  #primary .hpw-custom-cta {
    background-position:
      center,
      39% top;
  }

  #primary .hpw-custom-cta h2 {
    font-size: clamp(1.375rem, 8vw, 2rem);
  }

  #primary .hpw-custom-cta__actions {
    flex-direction: column;
  }
}

#primary .hpw-custom-process {
  background: #e8f3f7;
  color: #23323a;
}

#primary .hpw-custom-process__inner {
  box-sizing: border-box;
  max-width: 79rem;
  margin-inline: auto;
  padding: clamp(3rem, 5.4vw, 6rem) clamp(1.5rem, 4vw, 2rem)
    clamp(4rem, 8vw, 10rem);
}

#primary .hpw-custom-process h2 {
  margin: 0 0 clamp(1rem, 1.6vw, 1.75rem);
  color: inherit;
  font-size: clamp(1.75rem, 3.8vw, 2.125rem);
  font-weight: 750;
  line-height: 1.25;
}

#primary .hpw-custom-process p {
  margin: 0;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
}

#primary .hpw-custom-process__inner > p {
  color: #576b79;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
}

#primary .hpw-custom-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem clamp(0.75rem, 1.4vw, 1.5rem);
  margin: clamp(1rem, 1.6vw, 1.5rem) 0 0;
  padding: 0;
  list-style: none;
}

#primary .hpw-custom-process__steps li {
  margin: 0;
  padding: clamp(1rem, 1.5vw, 1.25rem);
  background: #fff;
  color: inherit;
  overflow-wrap: anywhere;
}

#primary .hpw-custom-process__steps span {
  display: block;
  margin-bottom: clamp(0.75rem, 1.2vw, 1rem);
  color: #0e6897;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 750;
  line-height: 1.25;
}

#primary .hpw-custom-process__steps h3 {
  margin: 0 0 0.75rem;
  color: inherit;
  font-size: clamp(0.875rem, 1.55vw, 1.125rem);
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  #primary .hpw-custom-process__steps {
    align-items: start;
  }

  #primary .hpw-custom-process__steps p {
    font-size: 0.8125rem;
  }
}

@media (max-width: 600px) {
  #primary .hpw-custom-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#primary .hpw-custom-details {
  background: #e8f3f7;
  color: #29251f;
}

#primary .hpw-custom-details__inner {
  box-sizing: border-box;
  max-width: 79rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 2rem)
    clamp(3.5rem, 9vw, 10rem);
}

#primary .hpw-custom-details h2 {
  margin: 0 0 clamp(1rem, 1.8vw, 1.75rem);
  color: inherit;
  font-size: clamp(1.625rem, 3.8vw, 2.125rem);
  line-height: 1.2;
}

#primary .hpw-custom-details__inner > p {
  margin: 0;
  color: #5a5148;
  font-size: clamp(0.9375rem, 1.6vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
}

#primary .hpw-custom-details__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.875rem, 1.4vw, 1.25rem);
  margin-top: clamp(1.75rem, 3.4vw, 3.5rem);
}

#primary .hpw-custom-details__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 26.875rem;
  aspect-ratio: 4 / 5;
  box-sizing: border-box;
  overflow: hidden;
  padding: clamp(1rem, 1.4vw, 1.5rem);
  border-radius: 1rem;
  background: #21170e;
  color: #fff;
}

#primary .hpw-custom-details__card img,
#primary .hpw-custom-details__card::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#primary .hpw-custom-details__card img {
  z-index: -2;
  object-fit: cover;
  object-position: center top;
}

#primary .hpw-custom-details__card::before {
  z-index: -1;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgb(19 13 8 / 82%) 78%,
    #130d08
  );
  content: "";
}

#primary .hpw-custom-details__copy {
  order: 1;
  margin-top: auto;
}

#primary .hpw-custom-details__copy h3 {
  margin: 0 0 0.75rem;
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 650;
  line-height: 1.25;
  text-wrap: balance;
}

#primary .hpw-custom-details__card p {
  margin: 0;
  color: #f4efea;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.5;
}

#primary .hpw-custom-details__copy a {
  display: inline-block;
  margin: 0.75rem 0 0;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
}

#primary .hpw-custom-details__copy a > span,
#primary .hpw-custom-details__label > i {
  color: inherit;
}

#primary .hpw-custom-details__copy a:hover {
  text-decoration: underline;
}

#primary .hpw-custom-details__disclosure summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
}

#primary .hpw-custom-details__disclosure summary::-webkit-details-marker {
  display: none;
}

#primary .hpw-custom-details__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgb(24 18 12 / 76%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
}

#primary .hpw-custom-details__toggle {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  color: #29251f;
  font-size: 1rem;
}

#primary .hpw-custom-details__toggle::before {
  content: "+";
}

#primary
  .hpw-custom-details__disclosure[open]
  .hpw-custom-details__toggle::before {
  content: "−";
}

#primary .hpw-custom-details__disclosure p {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgb(24 18 12 / 92%);
}

#primary .hpw-custom-details__card :is(a, summary):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  #primary .hpw-custom-details__inner > :is(h2, p) {
    text-align: center;
  }
}

@media (max-width: 650px) {
  #primary .hpw-custom-details__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

#primary .hpw-custom-bases {
  color: #23323a;
}

#primary :is(.hpw-custom-bases__intro, .hpw-custom-bases__layout) {
  box-sizing: border-box;
  max-width: 79rem;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2rem);
}

#primary .hpw-custom-bases__intro {
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

#primary .hpw-custom-bases__support {
  margin: 0 0 clamp(3rem, 7vw, 7rem);
  font-size: 0.8125rem;
}

#primary .hpw-custom-bases__support a {
  color: inherit;
  font: inherit;
}

#primary .hpw-custom-bases :is(h2, h3) {
  margin: 0.75rem 0 1rem;
  color: inherit;
  font-weight: 750;
  line-height: 1.2;
}

#primary .hpw-custom-bases h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
}

#primary .hpw-custom-bases h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

#primary .hpw-custom-bases p {
  color: #576b79;
  font-weight: 400;
  line-height: 1.5;
}

#primary .hpw-custom-bases p strong {
  color: #23323a;
}

#primary .hpw-custom-bases .hpw-custom-bases__label {
  margin: 0;
  color: #0e6897;
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
}

#primary .hpw-custom-bases__row {
  background: #fff;
}

#primary .hpw-custom-bases__row:nth-of-type(even) {
  background: #edf6fb;
}

#primary .hpw-custom-bases__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem);
  padding-block: clamp(1.75rem, 4vw, 4rem);
}

#primary .hpw-custom-bases__image {
  position: relative;
  isolation: isolate;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  border-radius: 0 0 0.875rem 0.875rem;
}

#primary .hpw-custom-bases__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1101px) {
  #primary .hpw-custom-bases__image::before {
    position: absolute;
    z-index: -1;
    inset: 30% 0 0;
    border-radius: 0.875rem;
    background: linear-gradient(115deg, #b8c5d0, #a9bac7);
    content: "";
  }

  #primary .hpw-custom-bases__row:nth-of-type(2) .hpw-custom-bases__image::before,
  #primary .hpw-custom-bases__row:nth-of-type(3) .hpw-custom-bases__image::before {
    inset-block-start: 50%;
  }
}

#primary .hpw-custom-bases__copy {
  grid-column: 1;
  grid-row: 1;
}

#primary .hpw-custom-bases__row:nth-of-type(even) .hpw-custom-bases__image {
  grid-column: 1;
}

#primary
  .hpw-custom-bases__row:nth-of-type(even)
  .hpw-custom-bases__image
  + .hpw-custom-bases__copy {
  grid-column: 2;
}

#primary .hpw-custom-bases__action {
  display: flex;
  width: fit-content;
  margin: 0.875rem 0 0;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #0e6897;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

#primary .hpw-custom-hero__actions a:first-child {
  display: inline-flex;
}

#primary :is(.hpw-custom-bases__action, .hpw-custom-hero__actions a:first-child) {
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#primary :is(.hpw-custom-bases__action, .hpw-custom-hero__actions a:first-child) > span {
  color: inherit;
}

#primary.hpw-collection--custom .hpw-stock-fit {
  padding-top: clamp(2.5rem, 6vw, 6rem);
}

@media (max-width: 1100px) {
  #primary .hpw-custom-bases__support {
    text-align: center;
  }

}

@media (max-width: 600px) {
  #primary .hpw-custom-bases__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}
