.shop-body {
  --background: #000;
  --pill: #555;
}

.shop {
  display: flex;
  flex-direction: column;
  height: 100svh;
  padding-bottom: calc(var(--fixed-footer-height, 1em) + 2 * var(--edge));
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.065fr) minmax(0, 1fr);
  gap: max(var(--edge), 0.85vw);
  flex: 1;
  min-height: 0;
  margin: calc(var(--edge) + 4px) var(--edge) 0;
}

.shop-photo {
  position: relative;
  min-width: 0;
  background: #73747c;
}

.shop-photo img {
  position: absolute;
  inset: 0;
  user-select: none;
}

.shop-product {
  display: grid;
  grid-template-rows:
    minmax(min-content, 47.6fr)
    minmax(min-content, 17.8fr)
    minmax(min-content, 21.7fr)
    minmax(min-content, 9.3fr)
    auto;
  align-items: start;
  min-width: 0;
  overflow: auto;
  line-height: calc(var(--type-leading) * 1.15);
}

.shop-product :focus-visible {
  outline-offset: -2px;
}

.shop-summary, .shop-price {
  font: 300 clamp(18px, 1.17vw, 23px)/1.08 "Alba 3", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.shop-summary {
  max-width: 93%;
  padding-block: clamp(24px, 5vh, 64px) 1.4em;
  hyphens: auto;
  overflow-wrap: break-word;
}

.shop-summary h1 {
  margin-left: 2.2em;
}

.shop-facts {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.2em;
  padding-bottom: 1.4em;
}

.shop-specs {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 1.2ch;
  margin: 0;
}

.shop-specs dd {
  margin: 0;
  overflow-wrap: break-word;
}

.shop-facts .coordinates {
  position: static;
  transform: none;
  flex: none;
  grid-template-columns: max-content auto;
  column-gap: 4ch;
  line-height: var(--type-leading);
}

.shop-facts .coordinate-y {
  grid-column: 1 / -1;
  justify-self: end;
  padding: 0 3ch 0 0;
}

.shop-information {
  display: grid;
  grid-template-columns: minmax(8ch, 36%) minmax(0, 1fr);
  gap: var(--edge);
  padding-bottom: 1.4em;
}

.shop-toggles {
  display: grid;
  justify-items: start;
  align-content: start;
}

.shop-toggles button {
  text-align: left;
}

.shop-toggles button:hover {
  text-decoration: underline;
}

.shop-toggles [aria-expanded="false"] span::before {
  content: "+";
}

.shop-toggles [aria-expanded="true"] span::before {
  content: "−";
}

.shop-information-copy {
  hyphens: auto;
  overflow-wrap: break-word;
}

.shop-information-copy p + p {
  margin-top: 1em;
}

.shop-price {
  padding-bottom: 0.8em;
}

.shop-contact {
  display: grid;
  place-items: center;
  width: min(100%, max(33.8%, 17ch));
  min-height: clamp(32px, 2.1vw, 44px);
  padding: 0.25em 0.7em;
  border-radius: clamp(10px, 0.85vw, 17px);
  background: #888;
  color: var(--background);
  font-size: var(--pill-size, var(--type-size));
  text-align: center;
  text-transform: none;
}

.shop-contact:hover {
  background: var(--light);
}

@media (max-width: 1024px) {
  .shop-facts .coordinates {
    display: none;
  }
}

@media (max-width: 760px) {
  .shop {
    height: auto;
  }

  .shop .header {
    background: var(--background);
  }

  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .shop-photo {
    aspect-ratio: 4 / 5;
  }

  .shop-product {
    grid-template-rows: none;
    row-gap: 1.4rem;
    overflow: visible;
  }

  .shop-summary {
    max-width: none;
  }

  .shop-summary h1 {
    margin-left: 0;
    margin-bottom: 0.35em;
  }

  .shop-summary, .shop-facts, .shop-information, .shop-price {
    padding-block: 0;
  }

  .shop-toggles button, .shop-contact {
    min-height: 44px;
  }
}
