body[data-site-page='shop'] {
  --shop-content-width: min(1440px, calc(100% - 2 * clamp(20px, 4vw, 64px)));
  background: #f5f5f7;
}

.shop-store {
  --shop-section-gap: clamp(40px, 5.55vw, 80px);
  width: var(--shop-content-width);
  margin-inline: auto;
  padding-top: var(--site-header-height, 0px);
  padding-bottom: var(--shop-section-gap);
  color: #1d1d1f;
}

.shop-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(265px, 22vw, 305px);
  padding-top: 40px;
}

.shop-intro h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 88px;
}

.shop-intro h1 + p {
  margin-top: 12px;
  color: #6e6e73;
  font-size: 28px;
  line-height: 35px;
}

.shop-help {
  margin-top: 62px;
  color: #6e6e73;
  font-size: 14px;
}

.site-shell .shop-help .site-support {
  position: relative;
  inset: auto;
  margin-top: 4px;
}

.shop-help .home-service {
  color: var(--brand-blue);
  font-size: 15px;
}

.shop-help .home-service img {
  display: none;
}

.site-shell .shop-help .site-support-panel {
  top: calc(100% + 8px);
  bottom: auto;
}

.shop-featured {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  min-height: clamp(360px, 35vw, 500px);
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 4px 8px #00000012;
}

.shop-featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 40px clamp(28px, 5.55vw, 80px);
}

.shop-featured-copy p {
  color: #6e6e73;
  font-size: 16px;
}

.shop-featured-copy .shop-featured-eyebrow {
  color: #424245;
  font-size: 14px;
}

.shop-featured-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.shop-featured-copy strong {
  font-size: 20px;
  font-weight: 700;
}

.shop-featured-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--brand-blue);
}

.shop-featured-actions > a:first-child {
  padding: 12px 24px;
  border-radius: 28px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 15px;
  line-height: 18px;
}

.shop-featured-media {
  display: grid;
  place-items: center;
  background: #f9f9fa url('/images/shop/featured-surface.svg') center / 100% 100% no-repeat;
}

.shop-featured-image {
  position: relative;
  width: min(50%, 400px);
  aspect-ratio: 1;
  overflow: hidden;
}

.shop-featured-image img {
  position: absolute;
  top: -2.17%;
  left: -40.87%;
  width: 181.74%;
  max-width: none;
  height: auto;
}

.shop-section {
  margin-top: var(--shop-section-gap);
}

.shop-section > h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-bottom: 40px;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  line-height: 38px;
}

.shop-section > h2 span + span {
  color: #6e6e73;
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.shop-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 8px #00000012;
}

.shop-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
}

.shop-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 340 / 234.483;
  background: #f9f9fa url('/images/shop/card-surface.svg') center / 100% 100% no-repeat;
}

.shop-card-media img {
  width: 58.8%;
  height: 85.3%;
  object-fit: contain;
}

.shop-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  padding: 24px clamp(12px, 1.65vw, 24px) 28px;
  overflow-wrap: anywhere;
}

.shop-card-subtitle,
.shop-card-prices {
  color: #424245;
  line-height: 24px;
}

.shop-card-subtitle {
  font-size: 14px;
}

.shop-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.shop-card-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: auto;
  font-size: 17px;
}

.shop-card-prices del {
  color: #6e6e73;
}

.shop-store a:focus-visible,
.shop-store button:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.shop-catalog-status:not([hidden]),
.shop-catalog-actions:not([hidden]) {
  margin-top: 16px;
}

.shop-catalog-status {
  color: #6e6e73;
}

.shop-catalog-actions button {
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 24px;
  color: var(--brand-blue);
}

@media (max-width: 1023px) {
  .shop-help {
    display: none;
  }
}

@media (max-width: 900px) {
  .shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .shop-intro {
    flex-direction: column;
    gap: 16px;
    min-height: auto;
    padding: 24px 0 28px;
  }

  .shop-intro h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .shop-intro h1 + p {
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.4;
  }

  .shop-featured {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .shop-featured-copy {
    gap: 12px;
    padding: 28px 20px;
  }

  .shop-featured-media {
    min-height: 200px;
  }

  .shop-section > h2 {
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .shop-card-copy {
    gap: 8px;
    min-height: 132px;
    padding-block: 14px;
  }
}
