/* Local photo navigation shared by all order pages. */
.booking-layout > .bouquet-stage,
.booking-layout > .booking-panel { min-width: 0; }
.photo-surface { touch-action: pan-y pinch-zoom; }
.image-window.photo-surface,
.catalog-wedding-gallery.photo-surface { margin-bottom: 0; flex-shrink: 0; }
.photo-surface > img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.photo-surface:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 4px; border-radius: 12px; }
.photo-navigation { position: relative; z-index: 2; width: min(100%, 650px); min-width: 0; margin: 8px auto 0; }
.photo-navigation[hidden], .photo-navigation .bouquet-thumbnails[hidden], .photo-navigation .catalog-gallery-thumbnails[hidden] { display: none; }
.photo-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.photo-controls button { flex: 0 0 auto; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(129,68,75,.3); border-radius: 999px; background: #fffdf9; color: var(--rose-dark); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.photo-controls button:hover { background: #f4e5e5; }
.photo-controls button:focus-visible, .photo-navigation button:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 2px; }
.photo-counter { color: var(--rose-dark); font-size: 12px; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.photo-navigation .bouquet-thumbnails,
.photo-navigation .catalog-gallery-thumbnails { position: static; display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; margin: 10px 0 0; padding: 5px 3px 8px; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #a85f66 transparent; }
.photo-navigation .bouquet-thumbnails button,
.photo-navigation .catalog-gallery-thumbnails button { flex: 0 0 54px; width: 54px; height: 54px; }
.photo-hint { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
@media (max-width: 360px) {
  .photo-controls { gap: 4px; }
  .photo-controls button { padding-inline: 9px; font-size: 11px; }
  .photo-counter { font-size: 11px; }
}
