/* One source of stay facts; mobile shows the same summary before the form. */
.besa-booking .besa-checkout__form {
  grid-template-areas: "summary" "main";
}
.besa-booking .besa-checkout__main { grid-area: main; min-width: 0; }
.besa-booking .besa-checkout__summary { grid-area: summary; min-width: 0; }
.besa-booking .besa-checkout__summary-panel > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  list-style: none;
  cursor: pointer;
}
.besa-booking .besa-checkout__summary-panel > summary::-webkit-details-marker { display: none; }
.besa-booking .besa-checkout__summary-panel > summary::after {
  content: "";
  width: .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.besa-booking .besa-checkout__summary-panel[open] > summary::after { transform: rotate(225deg); }
.besa-booking .besa-checkout__summary-panel[open] .besa-checkout__summary-compact { display: none; }
.besa-booking .besa-checkout__summary-panel .besa-checkout__summary-heading { margin: 0; }
.besa-booking .besa-checkout__summary-panel[open] .besa-checkout__summary-heading { margin-bottom: .875rem; }
.besa-booking .besa-checkout__summary-compact { display: grid; grid-column: 1 / -1; }
.besa-booking .besa-checkout__summary-compact > span { overflow-wrap: anywhere; }
.besa-booking .besa-checkout__summary-room { color: var(--bb-text); }
.besa-booking .besa-checkout__summary-stay { color: var(--bb-text-muted); }
.besa-booking .besa-checkout__summary-compact-price { color: var(--bb-text); }
.besa-booking .besa-ui-gap-sm { gap: .375rem; }
.besa-booking .besa-ui-mt-sm { margin-top: .5rem; }
.besa-booking .besa-ui-gap-md { gap: 1rem; }
.besa-booking .besa-ui-py-md { padding-block: 1rem; }
.besa-booking .besa-ui-my-md { margin-block: 1rem; }
.besa-booking .besa-ui-text-sm { font-size: .875rem; }
.besa-booking .besa-ui-text-strong { font-weight: var(--bb-weight-strong); }
.besa-booking .besa-ui-room-title { font-family: var(--site-font-heading, inherit); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; overflow-wrap: anywhere; }
.besa-booking .besa-checkout__summary-label,
.besa-booking .besa-checkout__summary-value { text-transform: none; overflow-wrap: anywhere; }
.besa-booking .besa-checkout__summary-row > span { min-width: 0; }
.besa-booking .besa-checkout__summary-retry:empty { display: none; }
.besa-booking .besa-field__input[aria-invalid="true"] { border-color: var(--bb-error); }
.besa-booking .besa-checkout__summary-panel > summary:focus-visible {
  outline: 2px solid var(--bb-focus);
  outline-offset: 4px;
}
@media (min-width: 900px) {
  .besa-booking .besa-checkout__form { grid-template-areas: "main summary"; }
  .besa-booking .besa-checkout__summary { top: var(--site-booking-sticky-offset, 1.5rem); }
}

/* Room comparison / detail disclosure use existing data and no navigation or cart changes. */
.besa-booking .besa-room-detail__facts {
  display: flex;
  flex-wrap: wrap;
  border-block: 1px solid var(--bb-border);
}
.besa-booking .besa-room-detail__facts > div { flex: 1 1 5rem; min-width: 0; }
.besa-booking .besa-room-detail__facts dt { color: var(--bb-text-muted); }
.besa-booking .besa-room-detail__facts dd { margin-inline: 0; overflow-wrap: anywhere; }
.besa-booking .besa-room-result-card__details > summary {
  color: var(--bb-primary);
  cursor: pointer;
  min-height: 2.75rem;
  align-content: center;
}
.besa-booking .besa-room-result-card__details > summary:focus-visible { outline: 2px solid var(--bb-focus); }
.besa-booking .besa-room-result-card__details-body { display: grid; }
.besa-booking .besa-room-result-card__details-body p { margin: 0; overflow-wrap: anywhere; }
.besa-booking .besa-room-result-card__details-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
}
.besa-booking .besa-room-result-card__details-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--bb-radius);
}
.besa-booking .besa-room-result-card__body:has(.besa-room-result-card__details[open]) .besa-room-result-card__description { display: none; }
