/* Shop page: a short dark title band, the film on the stone background it was rendered on,
   then how to order and the configurator button on the same stone background. */
.page-intro.shop-intro {
  padding-bottom: clamp(24px, 3.5vw, 40px);
}

.shop-intro h1 {
  margin-bottom: .35em;
}

.shop-intro .intro-text {
  margin-bottom: 0;
}

.shop-intro-video {
  display: block;
  width: 100%;
  /* 16:9, never wider than 1280px and never taller than about two-thirds of the screen,
     so the title above it and the top of the film share the first screen */
  max-width: min(1280px, calc(68vh * 16 / 9));
  max-width: min(1280px, calc(68svh * 16 / 9));
  height: auto;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--stone);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* phones held upright get the vertical film at full width */
@media (max-width: 700px) and (orientation: portrait) {
  .shop-intro-video {
    max-width: 100%;
    aspect-ratio: 9 / 16;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.shop-start {
  background: var(--stone);
  padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 7vw, 80px);
}

.shop-order {
  max-width: 42rem;
  margin-bottom: 1.4em;
}

.shop-start .page-links {
  margin-top: 2rem;
}

/* the jump links were made for the dark band; these are the same links on a light background */
.shop-start .page-links a {
  color: var(--grey);
}

.shop-start .page-links a:hover {
  color: var(--charcoal);
}

.shop-after {
  margin-top: clamp(32px, 5vw, 56px);
}

/* the lead now sits directly above the product cards */
.shop .shop-lead {
  margin-bottom: 2.5em;
}
