/* Compact Stamp details: natural reading order, shared hero-paper dimensions. */
@media (max-width: 767px) {
  #product > #stamps {
    display: block;
    width: 100%;
    max-width: none !important;
    height: auto !important;
    margin: 96px auto 0;
    padding: 0 24px 80px !important;
    scroll-margin-top: 110px;
  }
  #stamps .stamp-story-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: static;
    height: auto;
    overflow: visible;
  }
  #stamps .stamp-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin: 0 0 112px;
    padding: 0 !important;
    text-align: center;
    scroll-margin-top: 110px;
  }
  /* Keep one React-owned title/body, but place its body beneath the video. */
  #stamps :is(.stamp-copy-motion, .stamp-copy) {
    display: contents;
  }
  #stamps .stamp-scene h2 {
    order: 0;
    width: 100%;
    margin: 0 0 40px;
    font-size: 28px !important;
    line-height: 35px !important;
    letter-spacing: 0 !important;
    text-align: center;
  }
  #stamps .stamp-film-motion {
    display: block;
    order: 1;
    width: var(--compact-stamp-paper-width, min(240px, 48vw));
    margin: 0 auto;
  }
  #stamps .stamp-scene .film-sheet {
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    transform: rotate(-3deg) !important;
  }
  #stamps .brew-scene .film-sheet {
    transform: rotate(3deg) !important;
  }
  #stamps .stamp-description {
    display: block;
    order: 2;
    width: 100%;
    max-width: 560px;
    margin: 24px auto 0;
    font:
      400 20px/28px "Courier Prime",
      monospace;
    color: var(--ink);
    text-align: center;
    text-wrap: pretty;
  }
  #stamps .stamp-finale-title {
    display: block;
    order: -2;
    width: 100%;
    max-width: 640px;
    margin: 0;
  }
  #stamps .stamp-summary {
    order: -1;
    margin: 32px auto 80px;
  }
  #stamps .stamp-finale-title h2 {
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  #stamps .stamp-scene h2 {
    font-size: 24px !important;
    line-height: 30px !important;
  }
  #stamps .stamp-description {
    font-size: 18px;
    line-height: 25px;
  }
  #stamps .stamp-finale-title h2 {
    font-size: clamp(28px, 7.8vw, 36px);
    -webkit-text-stroke-width: 2px;
  }
}
