.shop-page {
  background: #e9e1d5;
}

.shop-hero {
  position: relative;
  display: grid;
  height: auto;
  min-height: min(48rem, 82svh);
  align-items: end;
  overflow: visible;
  padding:
    clamp(10rem, 16vw, 15rem)
    0
    clamp(4rem, 8vw, 7rem);
  background:
    linear-gradient(90deg, rgb(8 11 11 / 98%), rgb(8 11 11 / 62%)),
    radial-gradient(circle at 78% 34%, #0b4a46, transparent 35rem),
    #080b0b;
}

.shop-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgb(213 179 106 / 58%),
    transparent
  );
  transform: scaleX(0.35);
}

.shop-hero__geometry {
  position: absolute;
  top: 15%;
  right: clamp(2rem, 9vw, 10rem);
  width: min(34vw, 30rem);
  aspect-ratio: 1;
  opacity: 0.42;
  pointer-events: none;
}

.shop-hero__geometry span {
  position: absolute;
  inset: 12%;
  border: 1px solid rgb(213 179 106 / 26%);
  transform: rotate(45deg);
}

.shop-hero__geometry span:nth-child(2) {
  inset: 24%;
  border-color: rgb(213 179 106 / 45%);
  transform: rotate(45deg) translate(12%, -12%);
}

.shop-hero__geometry span:nth-child(3) {
  inset: 35%;
  background: rgb(5 44 43 / 38%);
  transform: rotate(45deg) translate(22%, -22%);
}

.shop-hero__inner {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.shop-hero__heading-mask {
  position: relative;
  width: 100%;
  max-width: min(100%, 62rem);
  height: auto;
  margin-top: 1.25rem;
  padding-bottom: 0.12em;
  overflow: visible;
}

.shop-hero h1 {
  position: relative;
  width: 100%;
  max-width: min(100%, 11.5ch);
  height: auto;
  font-size: clamp(3.75rem, 6.6vw, 7rem);
  line-height: 0.96;
  overflow-wrap: normal;
  text-wrap: balance;
}

.shop-hero__lower {
  display: grid;
  grid-template-columns: minmax(0, 34rem) auto;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.shop-hero__lower > p {
  color: rgb(242 234 221 / 65%);
  font-size: var(--text-lead);
}

.shop-hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgb(242 234 221 / 58%);
  font-family: var(--font-brand);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-hero__scroll > span {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--color-champagne-500),
    transparent
  );
}

.shop-intro-banner {
  padding:
    clamp(2.5rem, 4vw, 3.75rem)
    0
    clamp(1rem, 2vw, 1.75rem);
  background: #e9e1d5;
}

.shop-intro-banner__frame {
  position: relative;
  overflow: hidden;
  padding: clamp(0.35rem, 0.65vw, 0.6rem);
  background: #f4ecdf;
  border: 1px solid rgb(118 87 33 / 24%);
  box-shadow:
    0 1.8rem 4.5rem rgb(48 35 20 / 13%),
    inset 0 0 0 1px rgb(255 255 255 / 45%);
}

.shop-intro-banner__frame::before {
  position: absolute;
  inset: clamp(0.35rem, 0.65vw, 0.6rem);
  z-index: 1;
  content: "";
  background: linear-gradient(
    90deg,
    rgb(4 18 17 / 78%) 0%,
    rgb(4 18 17 / 58%) 30%,
    rgb(4 18 17 / 14%) 51%,
    transparent 67%
  );
  pointer-events: none;
}

.shop-intro-banner picture,
.shop-intro-banner img {
  display: block;
  width: 100%;
}

.shop-intro-banner img {
  height: auto;
}

.shop-intro-banner__content {
  position: absolute;
  top: 50%;
  left: clamp(3.5rem, 8%, 7.5rem);
  z-index: 2;
  width: min(40%, 30rem);
  color: var(--color-ivory-50);
  transform: translateY(-50%);
}

.shop-intro-banner__content .eyebrow {
  color: var(--color-champagne-400);
}

.shop-intro-banner__content h2 {
  margin-top: 0.8rem;
  color: var(--color-ivory-50);
  font-size: clamp(2.15rem, 3.35vw, 3.4rem);
  line-height: 0.98;
}

.shop-intro-banner__content h2 span {
  display: block;
}

.shop-intro-banner__copy {
  max-width: 30rem;
  margin-top: 1rem;
  color: rgb(242 234 221 / 76%);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.65;
}

.shop-intro-banner__copy--compact {
  display: none;
}

.shop-intro-banner__action {
  min-height: 2.8rem;
  margin-top: 1.2rem;
  padding: 0.72rem 1.4rem;
  color: var(--color-ivory-50);
  background: rgb(6 17 16 / 34%);
  border-color: rgb(213 179 106 / 72%);
}

.shop-intro-banner__action:hover,
.shop-intro-banner__action:focus-visible {
  color: #07100f;
  background: var(--color-champagne-400);
}

.shop-intro-banner__reassurance {
  max-width: 28rem;
  margin-top: 0.9rem;
  color: rgb(242 234 221 / 62%);
  font-family: var(--font-brand);
  font-size: clamp(0.48rem, 0.65vw, 0.56rem);
  letter-spacing: 0.11em;
  line-height: 1.65;
  text-transform: uppercase;
}

.shop-intro-banner__line {
  position: absolute;
  right: 10%;
  bottom: 0;
  z-index: 3;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9b7331, transparent);
  transform: scaleX(1);
}

.shop-catalogue {
  position: relative;
  padding:
    clamp(2.75rem, 4vw, 4rem)
    0
    clamp(5rem, 9vw, 9rem);
  color: #0a1110;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 32%), transparent 44%),
    #e9e1d5;
}

.shop-page__visual-disclosure-wrap {
  padding-block: clamp(1.25rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.75rem);
  color: #0a1110;
  background: #e9e1d5;
  border-top: 1px solid rgb(118 87 33 / 14%);
}

.shop-page__visual-disclosure {
  display: block;
  max-width: 47rem;
  color: rgb(8 17 16 / 58%);
  font-size: clamp(0.72rem, 0.78vw, 0.78rem);
}

.shop-catalogue::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgb(8 11 11 / 3.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(8 11 11 / 3.5%) 1px, transparent 1px);
  background-size: 8rem 8rem;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  pointer-events: none;
}

.shop-catalogue__inner {
  position: relative;
}

.shop-catalogue__layout {
  display: grid;
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.shop-results {
  min-width: 0;
}

#shop-grid-root {
  scroll-margin-top: clamp(7rem, 10vw, 9rem);
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
}

.shop-grid__pagination {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.shop-grid__pagination .button--secondary {
  color: #0a1110;
  background: transparent;
  border-color: rgb(8 11 11 / 28%);
}

.shop-empty {
  display: grid;
  min-height: 32rem;
  place-items: center;
  align-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  text-align: center;
  border: 1px solid rgb(8 11 11 / 14%);
  background: rgb(255 255 255 / 22%);
}

.shop-empty[hidden] {
  display: none;
}

.shop-empty .eyebrow {
  margin-top: 2rem;
  color: #765721;
}

.shop-empty h2 {
  max-width: 12ch;
  margin-top: 0.8rem;
  color: #0a1110;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.shop-empty > p:not(.eyebrow) {
  max-width: 36rem;
  margin-top: 1rem;
  color: rgb(8 11 11 / 58%);
}

.shop-empty .button {
  margin-top: 1.8rem;
  color: #0a1110;
  border-color: rgb(8 11 11 / 28%);
}

.shop-empty__cube {
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid #9b7331;
  box-shadow:
    1rem -1rem 0 -1px #e9e1d5,
    1rem -1rem 0 0 rgb(155 115 49 / 70%);
  transform: rotate(45deg);
}

.shop-page.is-motion-ready .shop-hero__eyebrow,
.shop-page.is-motion-ready .shop-hero h1,
.shop-page.is-motion-ready .shop-hero__lower {
  opacity: 0;
  transform: translateY(2rem);
}

.shop-page.is-motion-ready.is-shop-visible .shop-hero__eyebrow,
.shop-page.is-motion-ready.is-shop-visible .shop-hero h1,
.shop-page.is-motion-ready.is-shop-visible .shop-hero__lower {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 850ms var(--ease-luxury),
    transform 1000ms var(--ease-luxury);
}

.shop-page.is-shop-visible .shop-hero h1 {
  transition-delay: 90ms;
}

.shop-page.is-shop-visible .shop-hero__lower {
  transition-delay: 180ms;
}

.shop-intro-banner.is-motion-ready,
.shop-toolbar.is-motion-ready,
.shop-results.is-motion-ready,
.shop-empty.is-motion-ready {
  opacity: 0;
  transform: translateY(2rem);
}

.shop-intro-banner.is-shop-visible,
.shop-toolbar.is-shop-visible,
.shop-results.is-shop-visible,
.shop-empty.is-shop-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms var(--ease-luxury),
    transform 900ms var(--ease-luxury);
}

@media (max-width: 1199px) {
  .shop-intro-banner__frame {
    display: flex;
    width: 100%;
    max-width: 58rem;
    flex-direction: column;
    margin-inline: auto;
    padding: 0.5rem;
  }

  .shop-intro-banner__frame::before {
    display: none;
  }

  .shop-intro-banner__content {
    position: relative;
    top: auto;
    left: auto;
    order: -1;
    width: 100%;
    max-width: none;
    padding: clamp(2rem, 5vw, 3.5rem);
    background:
      linear-gradient(120deg, rgb(8 65 61 / 42%), transparent 64%),
      #071615;
    transform: none;
  }

  .shop-intro-banner__content h2 {
    max-width: 14ch;
    font-size: clamp(2.7rem, 7vw, 4.75rem);
  }

  .shop-intro-banner__copy {
    max-width: 36rem;
    font-size: 0.94rem;
  }

  .shop-intro-banner__reassurance {
    max-width: 36rem;
    font-size: 0.55rem;
  }

  .shop-catalogue__layout {
    grid-template-columns: 13rem minmax(0, 1fr);
  }

  .shop-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .shop-hero {
    min-height: auto;
    align-items: start;
    padding:
      clamp(9.5rem, 15vw, 12rem)
      0
      clamp(4rem, 8vw, 6rem);
  }

  .shop-hero__heading-mask {
    max-width: min(100%, 54rem);
  }

  .shop-hero h1 {
    max-width: min(100%, 11.5ch);
    font-size: clamp(3.35rem, 7.3vw, 5.8rem);
  }

  .shop-hero__geometry {
    top: 12%;
    right: 1rem;
    width: min(34vw, 20rem);
    opacity: 0.28;
  }

  .shop-hero__lower {
    margin-top: clamp(2.25rem, 5vw, 3.75rem);
  }
}

@media (max-width: 767px) {
  .shop-hero {
    min-height: auto;
    align-items: start;
    padding:
      calc(var(--safe-top) + 8.5rem)
      0
      clamp(4rem, 12vw, 5rem);
  }

  .shop-hero__geometry {
    top: 8rem;
    right: 1rem;
    width: 15rem;
    opacity: 0.24;
  }

  .shop-hero h1 {
    max-width: min(100%, 11.5ch);
    font-size: clamp(2.8rem, 11.5vw, 3.8rem);
    line-height: 0.98;
  }

  .shop-hero__lower {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: clamp(2.25rem, 9vw, 3.25rem);
  }

  .shop-intro-banner {
    padding-block: 2rem 0.75rem;
  }

  .shop-intro-banner__frame {
    max-width: none;
    padding: 0.35rem;
  }

  .shop-intro-banner__content {
    padding: clamp(1.6rem, 7vw, 2.25rem);
  }

  .shop-intro-banner__content h2 {
    margin-top: 0.7rem;
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
  }

  .shop-intro-banner__copy--wide {
    display: none;
  }

  .shop-intro-banner__copy--compact {
    display: block;
  }

  .shop-intro-banner__action {
    width: 100%;
    justify-content: center;
    margin-top: 1.15rem;
  }

  .shop-intro-banner__reassurance {
    margin-top: 1rem;
    font-size: 0.52rem;
  }

  .shop-catalogue {
    padding-top: 2.5rem;
  }

  .shop-catalogue__layout {
    display: block;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-page .shop-hero__eyebrow,
  .shop-page .shop-hero h1,
  .shop-page .shop-hero__lower,
  .shop-intro-banner,
  .shop-toolbar,
  .shop-filter-system,
  .shop-results,
  .shop-empty {
    opacity: 1 !important;
    transform: none !important;
  }
}
