.shop-header {
  --shop-header-flow-gap: clamp(22px, 3vh, 34px);
  --shop-header-title-description-gap: clamp(24px, 3vh, 36px);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(480px, 58svh, 680px);
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  background: #ece9e4;
}

.shop-header__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: left center;
}

.shop-header__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 68%;
  background: rgba(255, 254, 254, 0.95);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  pointer-events: none;
}

.shop-header::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  content: "";
  background: linear-gradient(to bottom, rgba(255, 254, 254, 0.9), rgba(255, 254, 254, 1));
  pointer-events: none;
}

.shop-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: clamp(112px, 14vh, 150px) 4vw 4vw;
}

.shop-header__content {
  width: min(46%, 680px);
}

.shop-header__title {
  max-width: 760px;
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(34px, 3.25vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.shop-header__title-line {
  display: block;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.shop-header__title-line--orange {
  margin-top: 0.12em;
  color: var(--clr-brand);
}

.shop-header__description {
  max-width: 620px;
  margin: var(--shop-header-title-description-gap) 0 0;
  color: var(--clr-text);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 400;
  line-height: 1.38;
}

.shop-header__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--shop-header-flow-gap);
}

.shop-header .shop-header__button {
  justify-content: space-between;
  width: fit-content;
  min-width: clamp(185px, 16vw, 230px);
  min-height: 44px;
}

.shop-header .shop-header__button span {
  font-size: inherit;
}

.shop-header__button-arrow {
  margin-left: 18px;
}

.shop-header :where(a, button, [tabindex]):focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .shop-header {
    height: clamp(460px, 56svh, 620px);
  }

  .shop-header__overlay {
    width: 75%;
    clip-path: polygon(0 0, 100% 0, 69% 100%, 0 100%);
  }

  .shop-header__inner {
    padding: clamp(100px, 13vh, 128px) 4vw 4vw;
  }

  .shop-header__content {
    width: min(54%, 590px);
  }

  .shop-header__title {
    font-size: clamp(32px, 5vw, 46px);
  }
}

@media (max-width: 767.98px) {
  .shop-header {
    --shop-header-flow-gap: clamp(14px, 2vh, 20px);
    --shop-header-title-description-gap: clamp(12px, 1.6vh, 18px);
    --shop-header-mobile-button-height: clamp(38px, 9.5vw, 44px);
    --shop-header-mobile-image-margin: clamp(136px, 20svh, 200px);
    z-index: 1;
    height: 55vh;
    height: 55svh;
    overflow: visible;
    background: #fff;
  }

  .shop-header__overlay {
    width: 100%;
    clip-path: polygon(0 30%, 100% 60%, 100% 100%, 0 100%);
  }

  .shop-header__image {
    inset: 0 0 auto;
    height: calc(100% - var(--shop-header-mobile-image-margin));
    object-position: center bottom;
  }

  .shop-header__inner {
    align-items: flex-end;
    padding: 82px 4vw 0;
  }

  .shop-header__content {
    width: 80%;
  }

  .shop-header__title {
    width: 92vw;
    max-width: none;
    font-size: clamp(25px, 7.2vw, 36px);
  }

  .shop-header__description {
    max-width: 100%;
  }

  .shop-header .shop-header__button {
    position: relative;
    z-index: 2;
    height: var(--shop-header-mobile-button-height);
    min-width: 0;
    min-height: var(--shop-header-mobile-button-height);
    padding: 5px 14px;
  }

  .shop-header__button-arrow {
    margin-left: 8px;
  }
}

@media (max-width: 500px) {
  .shop-header__overlay {
    clip-path: polygon(0 35%, 100% 60%, 100% 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-header .shop-header__button {
    transition: none;
  }
}
