/* Photos on a phone (single-tour.php, dialog .photos): every photo of the tour in one column, opened from the gallery.
   The bar with the counter and the close button stays on top; at the end, "Book now" opens the booking window.
   On a computer (wider than 760) the gallery opens the lightbox of desktop.css instead. Behaviour: assets/tour.js. */

.photos { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); border: 0; background: #0C0A20; color: #fff; overflow-y: auto; overscroll-behavior: contain; }
.photos::backdrop { background: #0C0A20; }

.photos__bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px 20px; background: #0C0A20; }
.photos__count { color: #C7C5DA; font-size: 14px; font-variant-numeric: tabular-nums; }
.photos__close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.photos__close:hover { background: var(--orange-btn); }

.photos__list { display: grid; gap: 10px; padding: 4px 16px 0; }
.photos__list img { display: block; width: 100%; height: auto; border-radius: 16px; background: #1E1B3A; }

.photos__foot { padding: 20px 16px 0; }
