
@media (max-width: 760px) {
  .booking-page:not(.search-results-page) #le-camere .gallery-track,
  .booking-page:not(.search-results-page) #villa-tutta .gallery-track {
    height: min(66.67vw, 48svh) !important;
    min-height: 0 !important;
    background: var(--paper, #f8f6f1);
  }
  .booking-page:not(.search-results-page) #le-camere .gallery-track img,
  .booking-page:not(.search-results-page) #villa-tutta .gallery-track img {
    object-fit: contain !important;
    object-position: center !important;
  }
  .villa-chapters #villa-suites .chapter-cover,
  .villa-chapters #villa-suites .chapter-triptych figure {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
  .villa-chapters #villa-suites .chapter-cover img,
  .villa-chapters #villa-suites .chapter-triptych img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  .villa-chapters #villa-suites .chapter-triptych {
    align-items: center;
  }
}

@media (max-width: 760px) {
  .booking-page:not(.search-results-page) #le-camere .stay-grid { gap: 17px !important; }
  .booking-page:not(.search-results-page) #le-camere .stay-card {
    gap: 8px !important;
    padding-bottom: 12px !important;
  }
  .booking-page:not(.search-results-page) #le-camere .room-details { padding-bottom: 0 !important; }
  .booking-page:not(.search-results-page) .booking-inputs [data-search] {
    appearance: none;
    border-radius: 0;
    letter-spacing: .08em;
    background: transparent;
  }
}

.suite-gallery-open {
  display: block;
  margin: 0 auto;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
}
:is(#le-camere, #villa-tutta) .gallery-track img { cursor: zoom-in; }
body:has(.suite-gallery-viewer[open]) { overflow: hidden; }
.suite-gallery-viewer {
  box-sizing: border-box;
  width: min(96vw, 1100px);
  max-width: none;
  max-height: 96dvh;
  padding: 12px;
  border: 0;
  background: var(--paper, #f7f5ef);
  color: var(--ink);
  text-align: center;
}
.suite-gallery-viewer::backdrop { background: rgb(10 24 36 / 84%); }
.suite-gallery-viewer img {
  display: block;
  width: 100%;
  height: 76dvh;
  object-fit: contain;
}
.suite-gallery-viewer button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.suite-gallery-viewer button:disabled { opacity: .4; }
.suite-view-close { display: block; margin-left: auto; }
.suite-view-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.suite-view-controls button { font-size: 24px; }
