.shop-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-content: end;
  padding: 180px max(24px, calc((100vw - 1240px) / 2)) 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 35, 22, .88) 0%, rgba(20, 48, 31, .72) 43%, rgba(20, 48, 31, .23) 76%, rgba(13, 35, 22, .42) 100%),
    linear-gradient(180deg, rgba(13, 35, 22, .16), rgba(13, 35, 22, .5)),
    url('assets/img/bg-paramo-band.webp?v=18') center 58% / cover no-repeat !important;
  text-align: left;
}

.shop-hero::before {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  top: 51%;
  width: min(590px, 58vw);
  aspect-ratio: 1;
  transform: translate(-20%, -50%);
  border: 3px double rgba(240, 215, 123, .27);
  border-radius: 50%;
  content: '';
}

.shop-hero > *:not(.shop-float) {
  position: relative;
  z-index: 2;
}

.shop-hero__content {
  width: min(940px, 100%);
}

.shop-hero .eyebrow {
  color: #f0d77b;
}

.shop-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(4rem, 7.6vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .88;
  text-shadow: 0 8px 36px rgba(8, 24, 14, .34) !important;
}

.shop-hero__content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.02rem;
}

.shop-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.shop-hero__actions .storefront-cart-button {
  min-height: 50px;
  border-color: rgba(255, 255, 255, .78);
  padding-inline: 22px;
  background: rgba(250, 249, 246, .92);
}

.shop-hero__index {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.shop-hero__index a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.shop-hero__index a:last-child {
  border-right: 0;
  padding-left: 18px;
}

.shop-hero__index a:nth-child(2) {
  padding-left: 18px;
}

.shop-hero__index span {
  color: #f0d77b;
  font-family: var(--display);
  font-size: 1rem;
}

.shop-float {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.shop-float.left {
  left: -35px;
  bottom: -30px;
  width: 210px;
  transform: rotate(-18deg);
  opacity: .48;
}

.shop-float.right {
  right: 1vw;
  top: 140px;
  width: 170px;
  transform: rotate(18deg);
  opacity: .56;
}

.shop-shell {
  width: var(--shell);
  margin: auto;
  padding: 86px 0 130px;
}

.shop-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.shop-heading h2 {
  max-width: 820px;
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .95;
}

.shop-heading > p {
  margin: 0;
  color: #595b54;
}

.shop-controls {
  position: sticky;
  top: 112px;
  z-index: 50;
  max-width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  background: rgba(250, 249, 246, .92);
  box-shadow: 0 12px 28px rgba(31, 58, 42, .08);
  backdrop-filter: blur(14px);
}

.filter-list {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.filter-list::-webkit-scrollbar {
  display: none;
}

.filter {
  min-height: 44px;
  display: inline-flex;
  flex: none;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  color: var(--forest);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 750;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.filter:hover {
  transform: translateY(-1px);
  border-color: var(--forest);
}

.filter[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.shop-status {
  margin: 12px 5px 0;
  color: #5d6058;
  font-size: .8rem;
}

.shop-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 28px;
  border-radius: 14px;
  padding: 16px;
  background: #efe6bd;
  color: var(--forest);
  font-size: .82rem;
}

.shop-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.shop-product-grid[data-state="error"] > * {
  display: none;
}

.shop-empty {
  min-height: 360px;
  grid-template-columns: 150px minmax(0, 590px);
  gap: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px;
  background: var(--paper);
}

.shop-empty:not([hidden]) {
  display: grid;
}

.shop-empty > img {
  width: 150px;
}

.shop-empty__copy {
  display: grid;
  justify-items: start;
}

.shop-empty__copy h2 {
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: .96;
}

.shop-empty__copy p:not(.eyebrow) {
  color: #5d6058;
}

.shop-empty__copy--error,
.shop-empty[data-kind="error"] .shop-empty__copy--empty {
  display: none;
}

.shop-empty[data-kind="error"] .shop-empty__copy--error {
  display: grid;
}

.commerce-editorial {
  padding: 112px 0 124px;
}

.commerce-editorial__shell {
  width: var(--shell);
  margin: auto;
}

.commerce-editorial__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

.commerce-editorial__heading h2 {
  max-width: 840px;
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.1rem);
  font-weight: 500;
  letter-spacing: -.047em;
  line-height: .93;
}

.commerce-editorial__heading > div:last-child > p:first-child {
  margin: 0;
  color: #565950;
}

.commerce-editorial--ebooks {
  border-block: 1px solid rgba(31, 58, 42, .12);
  background: #ece5d7;
}

.commerce-editorial--programs {
  background: var(--forest);
  color: #fff;
}

.commerce-editorial--programs .eyebrow {
  color: #f0d77b;
}

.commerce-editorial--programs .commerce-editorial__heading h2 {
  color: #fff;
}

.commerce-editorial--programs .commerce-editorial__heading > div:last-child > p:first-child,
.commerce-editorial--programs .shop-status {
  color: rgba(255, 255, 255, .74);
}

.editorial-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.storefront-card--editorial {
  border-color: rgba(31, 58, 42, .15);
  background: #fff;
  color: var(--forest);
}

.storefront-card--editorial .storefront-card__heading h2,
.storefront-card--editorial .storefront-text-link {
  color: var(--forest);
}

.storefront-card--editorial .storefront-card__description {
  color: #595c54;
}

.storefront-card--editorial .storefront-card__heading strong {
  color: #806a1f;
}

.storefront-card--editorial .storefront-quick-add {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.storefront-card--editorial .storefront-quick-add:hover {
  background: var(--forest-2);
}

.catalog-empty {
  min-height: 300px;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 58px);
  background: rgba(255, 255, 255, .82);
}

.catalog-empty:not([hidden]) {
  display: grid;
  align-content: center;
  justify-items: start;
}

.catalog-empty h3 {
  max-width: 670px;
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: .96;
}

.commerce-editorial--programs .catalog-empty {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
}

.commerce-editorial--programs .catalog-empty h3,
.commerce-editorial--programs .catalog-empty p {
  color: #fff;
}

.shop-cta {
  position: relative;
  width: min(1420px, calc(100% - 28px));
  min-height: 580px;
  display: flex;
  align-items: center;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
}

.shop-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
}

.shop-cta > div {
  position: relative;
  z-index: 2;
  width: min(640px, 92%);
  padding: clamp(34px, 7vw, 90px);
}

.shop-cta .eyebrow {
  color: #f1d77d;
}

.shop-cta h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 400;
  line-height: .92;
}

@media (max-width: 900px) {
  .shop-heading,
  .commerce-editorial__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shop-product-grid,
  .editorial-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .shop-hero {
    min-height: 700px;
    padding: 138px 20px 34px;
    background-position: 63% 58% !important;
  }

  .shop-hero::before {
    left: 28px;
    top: 49%;
    width: 440px;
  }

  .shop-hero h1 {
    font-size: clamp(3.55rem, 17vw, 4.3rem);
  }

  .shop-hero__content > p:not(.eyebrow) {
    font-size: .94rem;
  }

  .shop-hero__actions {
    width: min(360px, 100%);
    align-items: stretch;
    flex-direction: column;
  }

  .shop-hero__index {
    margin-top: 24px;
  }

  .shop-hero__index a,
  .shop-hero__index a:nth-child(2),
  .shop-hero__index a:last-child {
    min-height: 54px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding: 5px 8px;
    font-size: .6rem;
    line-height: 1.2;
  }

  .shop-float.left { width: 150px; }
  .shop-float.right { width: 100px; }

  .shop-shell {
    padding: 60px 0 90px;
  }

  .commerce-editorial {
    padding: 76px 0 84px;
  }

  .shop-controls {
    top: 88px;
  }

  .shop-product-grid,
  .editorial-product-grid {
    grid-template-columns: 1fr;
  }

  .shop-empty {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 34px 24px;
  }

  .shop-empty > img {
    width: 92px;
  }
}
