#book-cabana { scroll-margin-top: 6rem; }
/* One rental form. Preserve the coastal styling and keep the summary visible. */
.cabana-menu-page .rental-menu {
  background: #fff;
  border: 1px solid #d6e6ed;
}
.cabana-menu-page .rental-menu > h2 { margin-bottom: 4px; }
.cabana-menu-page .rental-menu-intro {
  margin: 0 0 14px;
  color: #436273;
  font-size: 0.875rem;
}
.cabana-menu-page .rental-menu-row {
  grid-template-columns: 96px minmax(0, 1fr) minmax(126px, auto);
  align-items: center;
}
.cabana-menu-page .rental-menu-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.cabana-menu-page .rental-menu-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 44px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
#rental-request-dialog { width: min(550px, calc(100% - 24px)); max-width: 550px; }
#rental-request-dialog .rental-request-item { margin-bottom: 10px; }
.rental-rate-field {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  color: #123d59;
  font-size: 0.875rem;
  font-weight: 800;
}
.rental-water-availability {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #eef7fb;
}
#request-extras-field > summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 800;
}
#request-extras-field > summary span { font-weight: 400; }
#request-extras-field[open] > summary { margin-bottom: 8px; }
.rental-checkout-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(142px, auto);
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  padding: 10px 0 5px;
  border-top: 1px solid #d4e6e5;
  background: #fff;
}
.rental-checkout-price .rental-request-total {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.875rem;
}
.rental-checkout-price #request-total {
  display: block;
  font-size: 1.45rem;
}
.rental-checkout-price #rental-payment-policy {
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #365565;
  font-size: 0.875rem;
}
.rental-checkout-bar .rental-request-actions { margin: 0; }
.rental-checkout-bar .rental-request-actions > a { min-height: 30px; }
.rental-checkout-bar .rental-book-button { min-height: 44px; }
.rental-checkout-policy { margin: 0; }
@media (max-width: 620px) {
  .cabana-menu-page .rental-menu-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 12px;
  }
  .cabana-menu-page .rental-menu-photo { align-self: center; grid-row: 1 / 3; }
  .cabana-menu-page .rental-menu-action { grid-column: 2; justify-self: start; }
  #rental-request-dialog {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 15px 16px max(12px, env(safe-area-inset-bottom));
    border: none;
    border-radius: 0;
    overflow: auto;
    scroll-padding-bottom: 130px;
  }
  #rental-request-dialog .rental-dialog-header {
    position: sticky;
    top: -1px;
    z-index: 2;
    padding: 3px 0 6px;
    background: #fff;
  }
  #rental-request-dialog .rental-request-fields label { font-size: 0.875rem; }
  .rental-checkout-bar {
    position: sticky;
    bottom: calc(-1 * max(12px, env(safe-area-inset-bottom)));
    z-index: 1;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    box-shadow: 0 -3px 14px #0c42501a;
  }
}

