.shop-page {
  min-width: 0;
}

.shop-page *,
.shop-page *::before,
.shop-page *::after {
  box-sizing: border-box;
}

.shop-page .container-large {
  margin-right: auto !important;
  margin-left: auto !important;
}

.shop-page .page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shop-page .main-wrapper {
  flex: 1;
}

.shop-page .shop-header .padding-section-large {
  padding-top: 10rem;
  padding-bottom: 3rem;
}

.shop-page .shop-content .padding-section-large {
  padding-top: 0;
}

.shop-products {
  display: grid;
  gap: 2rem;
}

.shop-status {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.shop-status p {
  margin: 0 0 1rem;
}

.shop-status .button {
  display: inline-flex;
}

.shop-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-product {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  border: 1px solid var(--brand-color-border);
  border-radius: var(--brand-radius-large);
  background: linear-gradient(145deg, var(--brand-color-background) 0%, var(--brand-color-surface) 100%);
  box-shadow: 0 1.25rem 3.75rem color-mix(in srgb, var(--brand-color-text) 10%, transparent);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.shop-product-without-image {
  grid-template-columns: minmax(0, 1fr);
}

.shop-product-image {
  grid-row: span 2;
  align-self: center;
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
}

.shop-product-content {
  align-self: end;
  min-width: 0;
}

.shop-product-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.shop-product-description {
  max-width: 38rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.shop-product-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--brand-color-border);
  padding-top: 1.5rem;
}

.shop-product-price {
  margin: 0;
  font-family: var(--brand-font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.shop-product-original-price {
  margin: 0 0 .5rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.shop-product-recurrence {
  margin: .5rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
}

.shop-product .button:focus-visible,
.shop-status .button:focus-visible {
  outline: 3px solid var(--brand-color-text);
  outline-offset: 4px;
}

.shop-embed-panel {
  border: 1px solid var(--brand-color-border);
  border-radius: var(--brand-radius-large);
  background-color: var(--brand-color-background);
  box-shadow: 0 1.25rem 3.75rem color-mix(in srgb, var(--brand-color-text) 10%, transparent);
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}

.shop-embed-note {
  margin-bottom: 1.5rem;
  border-radius: .75rem;
  background-color: var(--brand-color-surface);
  padding: 1rem 1.125rem;
  color: var(--brand-color-text);
  font-size: .9375rem;
  line-height: 1.5;
}

.shop-page .shop-embed-note a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.shop-page [hidden] {
  display: none !important;
}

#s2f-webshop {
  width: 100%;
  min-height: 42rem;
}

#s2f-webshop iframe {
  display: block;
  width: 100%;
  border: 0;
}

.shop-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-weight: 700;
}

.shop-back-link svg {
  width: 1rem;
  height: 1rem;
}

@media screen and (max-width: 991px) {
  .shop-page .shop-header .padding-section-large {
    padding-top: 8.75rem;
  }
}

@media screen and (max-width: 767px) {
  .shop-page .shop-header .padding-section-large {
    padding-bottom: 2rem;
  }

  .shop-product {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.5rem;
  }

  .shop-product-description {
    font-size: 1rem;
  }

  .shop-product-image {
    grid-row: auto;
    max-width: 22rem;
    justify-self: center;
  }

  .shop-product-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-product-price {
    font-size: 3rem;
  }

  .shop-embed-panel {
    padding: .75rem;
  }

  .shop-embed-note {
    margin-bottom: .75rem;
  }

  #s2f-webshop {
    min-height: 36rem;
  }
}

@media screen and (max-width: 479px) {
  .shop-header .heading-style-h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}

/* Catalogue remains readable when checkout has not yet been enabled. */
.shop-product [data-product-checkout]:disabled {
  max-width: 100%;
  border-color: var(--brand-color-border);
  background-color: var(--brand-color-surface);
  color: var(--brand-color-text);
  cursor: not-allowed;
  opacity: 1;
  white-space: normal;
  text-align: center;
  box-shadow: none;
}
