/* "How to order" guide: portrait (9:16) screen-recording layout */
.order-guide {
  grid-template-columns: minmax(0, 340px) minmax(260px, 1fr);
  max-width: 780px;
  justify-content: center;
  align-items: start;
  gap: 28px;
}

.guide-video-wrap {
  width: min(100%, 340px);
  justify-self: center;
  border-radius: 32px;
  border: 6px solid #1b1618;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 36px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(230, 0, 35, 0.22);
}

.guide-video-wrap video {
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 610px;
  object-fit: contain;
  background: #050505;
}

.support-fab img {
  display: block;
  width: 27px;
  height: 27px;
  filter: brightness(0) invert(1);
}

@media (max-width: 760px) {
  .order-guide {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .guide-video-wrap {
    width: 100%;
  }

  .guide-video-wrap video {
    max-height: none;
  }

  /* Steps break out of the narrow video column to use the full screen width. */
  .guide-steps {
    width: calc(100vw - 30px);
    margin-left: calc((340px - (100vw - 30px)) / 2);
  }
}

@media (max-width: 370px) {
  .order-guide {
    max-width: calc(100vw - 30px);
  }

  .guide-steps {
    width: 100%;
    margin-left: 0;
  }
}