/* One scrollable gallery on every screen size; native swipe and keyboard work without JS. */
.product .section-heading { align-items: center; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-controls[hidden] { display: none; }
.gallery-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: white; color: var(--ink); font-family: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.gallery-controls button:hover { border-color: var(--orange); }
.gallery-controls button:disabled { opacity: .35; cursor: default; }
.gallery-controls button:focus-visible, .app-gallery:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.screen-grid.app-gallery { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-x: contain; padding: 4px 4px 28px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: #b7b7bf transparent; }
.app-gallery figure { flex: 0 0 280px; min-width: 0; scroll-snap-align: start; }
.app-gallery figcaption { min-height: 94px; }
.app-gallery figcaption span { color: var(--orange); font-weight: 600; }
.gallery-device { height: 590px; display: flex; align-items: center; justify-content: center; }
.gallery-device .phone { width: 268px; margin: 0; }
/* Show only the screen inside the same CSS phone as every other gallery image.
   Source screen crop: x114/y58, 708x1564 within the 937x1678 framed asset. */
.gallery-device .phone--checkin { position: relative; }
.phone--checkin::before { content: ""; display: block; aspect-ratio: 589 / 1280; }
.phone--checkin img { position: absolute; max-width: none; width: 132.3446%; height: 107.289%; left: -16.1017%; top: -3.7084%; }
.app-gallery .screen-detail { margin-top: 20px; font-size: 15px; }
@media (max-width: 760px) {
  .product .section-heading { display: flex; gap: 12px; }
  .gallery-controls { flex-shrink: 0; gap: 8px; }
  .gallery-controls button { width: 42px; height: 42px; }
  .screen-grid.app-gallery { gap: 24px; }
  .app-gallery figure { flex-basis: min(260px, 78vw); }
  .gallery-device { height: 550px; }
  .gallery-device .phone { width: 250px; }
}
@media (max-width: 360px) {
  .gallery-device { height: 520px; }
}
