/* The apparel page must scroll on phones so its photo and shirt choices are not clipped. */
@media (max-width: 760px), (max-height: 650px) {
  html body.collection-home.shirt-page {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: relative !important;
  }

  html body.shirt-page > main {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 24px !important;
  }

  html body.shirt-page .wear-story,
  html body.shirt-page .shirt-options {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body.shirt-page .family-triptych-panel {
    max-height: none !important;
    overflow: hidden !important;
  }

  html body.shirt-page .family-triptych-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 3 / 1 !important;
    object-fit: contain !important;
  }

  html body.shirt-page #shirt-interest-form {
    overflow: visible !important;
  }

  html body.shirt-page #shirt-interest-form .shirt-card {
    min-height: 0 !important;
    height: auto !important;
  }
}
