/* Detail půjčovny: kompaktní nabídka a progresivně vylepšená rezervace. */
.rental-product .rental-product__overview {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: start;
}
.rental-product .rental-gallery__main { aspect-ratio: 3 / 2; }
.rental-product .rental-gallery a { padding: 12px; }
.rental-product .rental-gallery a[href] { cursor: zoom-in; }
.rental-product .rental-gallery__thumb { padding: 4px; }
.rental-product .rental-gallery__caption { grid-column: 1 / -1; margin: 0; color: var(--rental-muted); font-size: .75rem; line-height: 1.5; text-align: center; }
.rental-product .rental-summary { padding: 8px 0; }
.rental-product .rental-lead { font-size: 1rem; margin: 14px 0; }
.rental-product .rental-status { display: inline-block; margin: 0; padding: 4px 10px; background: #eef4f7; border-radius: 5px; }
.rental-product .rental-offer { margin: 0; padding: 22px; background: #eff6fa; border: 1px solid #dce9f1; }
.rental-product .rental-offer .rental-price { line-height: 1.25; margin-bottom: 18px; }
.rental-product .rental-offer p { font-size: .86rem; margin-bottom: 8px; }
.rental-product .rental-offer .rental-price { font-size: 1.85rem; }
.rental-product .rental-offer .rental-note { color: var(--rental-muted); font-size: .78rem; line-height: 1.5; }
.rental-product .rental-offer .rental-button { margin-top: 18px; min-height: 48px; font-size: 1rem; }
.rental-product .rental-detail--information { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--rental-line); gap: 48px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.rental-product .rental-detail--information h2 { font-size: 1.45rem; margin-bottom: 18px; }
.rental-product .rental-detail--information.rental-detail--specs-only { grid-template-columns: minmax(0, 1fr); }
.rental-product .rental-content { font-size: .94rem; }
.rental-product .rental-content h2:not(:first-child) { margin-top: 24px; }
.rental-product .rental-specs { font-size: .9rem; }
.rental-product .rental-specs > div { padding: 9px 12px; border: 0; border-radius: 4px; }
.rental-product .rental-specs > div:nth-child(odd) { background: #f3f6f7; }
.booking-dialog-open { overflow: hidden; }
.booking-dialog { color: var(--rental-ink); width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 90px #132d3855; overscroll-behavior: contain; }
.booking-dialog::backdrop { background: #102733a6; backdrop-filter: blur(3px); }
.booking-dialog .rental-panel { border: 0; margin: 0; padding: 30px; background: #fff; }
.booking-dialog .rental-panel h2 { padding-right: 42px; font-size: 1.5rem; }
.booking-dialog .rental-panel > p { font-size: .86rem; margin: 10px 0; }
.booking-dialog__close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; width: 44px; height: 44px; display: grid; place-items: center; z-index: 1; border: 1px solid #dce3e5; border-radius: 50%; background: #fff; color: #182d38; font: 28px/1 sans-serif; cursor: pointer; }
.booking-dialog__close:hover { background: #eef6fa; }
.booking-dialog__close:focus-visible { outline: 3px solid #09669b; outline-offset: 2px; }
.booking-dialog .booking-form { margin-top: 18px; }
.booking-dialog .booking-form > p { font-size: .85rem; }
.booking-dialog .booking-form fieldset { margin-bottom: 20px; }
.booking-dialog .booking-form legend { font-size: 1rem; margin-bottom: 10px; }
.booking-dialog .booking-grid { gap: 12px 16px; }
.booking-dialog .booking-field { gap: 5px; }
.booking-dialog .booking-field label { font-size: .8rem; }
.booking-dialog .booking-field input, .booking-dialog .booking-field select, .booking-dialog .booking-field textarea { padding: 9px 10px; font-size: 16px; }
.booking-dialog .booking-field input, .booking-dialog .booking-field select { height: 48px; }
.booking-dialog .booking-date-picker { cursor: pointer; }
.booking-dialog .booking-field textarea { min-height: 80px; height: 80px; }
.booking-dialog .booking-test-notice { font-size: .78rem; padding: 10px 12px; }
.rental-lightbox-open { overflow: hidden; }
.rental-lightbox { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(820px, calc(100% - 40px)); max-width: none; height: max-content; min-height: 0; max-height: calc(100dvh - 40px); margin: 0; padding: 0; border: 1px solid #d6e2e8; border-radius: 12px; overflow: hidden; background: #fffffff7; color: #193945; box-shadow: 0 18px 60px #31505e33; }
.rental-lightbox::backdrop { background: #e6eff394; backdrop-filter: blur(2px); }
.rental-lightbox__frame { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; width: 100%; padding: 58px 14px 16px; }
.rental-lightbox figure { grid-column: 2; display: grid; grid-template-rows: auto auto; align-items: center; width: 100%; min-width: 0; margin: 0; }
.rental-lightbox img { display: block; width: 100%; height: auto; max-height: min(45dvh, 480px); margin: auto; object-fit: contain; background: #fff; }
.rental-lightbox figcaption { display: flex; justify-content: space-between; gap: 24px; min-height: 34px; padding: 12px 4px 0; color: #405965; font-size: .88rem; }
.rental-lightbox__counter { flex: 0 0 auto; color: #66808d; }
.rental-lightbox__close, .rental-lightbox__nav { display: grid; place-items: center; border: 1px solid #b9ccd5; background: #ffffffdb; color: #193945; cursor: pointer; box-shadow: 0 4px 14px #31505e1f; }
.rental-lightbox__close:hover, .rental-lightbox__nav:hover { border-color: #09669b; background: #eef7fb; color: #09669b; }
.rental-lightbox__close:focus-visible, .rental-lightbox__nav:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; }
.rental-lightbox__close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; font: 28px/1 sans-serif; }
.rental-lightbox__nav { width: 46px; height: 54px; justify-self: center; border-radius: 9px; font: 34px/1 sans-serif; }
.rental-lightbox__nav--previous { grid-column: 1; }
.rental-lightbox__nav--next { grid-column: 3; }
.rental-lightbox__nav[hidden] { display: none; }
@media (max-width: 960px) {
  .rental-product .rental-product__overview { grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); gap: 20px 28px; }
  .rental-product .rental-gallery { grid-column: 1; }
  .rental-product .rental-summary { grid-column: 1; }
  .rental-product .rental-offer { grid-column: 2; grid-row: 1 / 3; }
  .rental-product .rental-gallery__main { max-height: 200px; }
}
@media (max-width: 640px) {
  .rental-product .rental-product__overview, .rental-product .rental-detail--information { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rental-product .rental-summary { grid-row: 1; padding: 0; }
  .rental-product .rental-gallery { grid-row: 2; width: 100%; max-width: 340px; justify-self: center; }
  .rental-product .rental-gallery__main { height: 155px; aspect-ratio: auto; }
  .rental-product .rental-offer { grid-column: 1; grid-row: 3; }
  .rental-product .rental-detail--information { margin-top: 28px; padding-top: 24px; }
  .booking-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .booking-dialog .rental-panel { padding: 22px 18px; }
	.rental-lightbox { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
	.rental-lightbox__frame { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 54px 4px 12px; }
	.rental-lightbox__nav { width: 38px; height: 48px; font-size: 28px; }
	.rental-lightbox img { max-height: calc(100dvh - 130px); }
	.rental-lightbox figcaption { padding-inline: 8px; }
}
.booking-dialog .booking-field[hidden]{display:none}
