/* One reservation panel: quote, optional services and contact form. */

.rf .rf-title-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px 20px;
  align-items: center;
}

.rf .rf-title-row .rf-kicker {
  grid-column: 1/-1;
}

.rf .rf-title-row h1 {
  margin: 0;
}

.rf .rf-title-row .rf-reset {
  margin: 0;
  padding: 8px 14px;
  min-height: 36px;
  width: auto;
  max-width: 100%;
  border: 1px solid #c7dce4;
  border-radius: 999px;
  background: transparent;
  color: #416b7b;
  font: 12px/1.4 Arial,sans-serif;
  white-space: normal;
}

.rf .rf-title-row .rf-reset:hover {
  background: #edf5f7;
  border-color: #7ca4b3;
}

.rf .rf-title-row .rf-reset:focus-visible {
  outline: 2px solid #20566a;
  outline-offset: 3px;
}

@media(max-width:600px) {
  .rf .rf-title-row {
    grid-template-columns: minmax(0,1fr);
  }
  .rf .rf-title-row .rf-reset {
    justify-self: start;
    min-height: 44px;
  }
}

.rf-guest-context {
  font-size: 13px;
  font-weight: 600;
  color: #20566a;
  margin: 0;
}

.rf-section-title {
  flex-wrap: wrap;
}

.rf-section-title h2 {
  flex-basis: 100%;
}

.rf .rf-rail .rf-summary-guests {
  display: block;
}

.rf .rf-rail .rf-guest-summary {
  display: block;
}

.rf .rf-rail .rf-no-programs {
  font-size: 12px;
}

.rf .rf-rail .rf-guest-summary.no-programs .rf-add-more {
  display: block;
  font-size: 12px;
  padding-top: 6px;
}

.rf-rail .rf-recipient select {
  border-color: #73a1b1;
  background: #edf6f8;
}

.rf-rail [data-guest-summary] {
  scroll-margin-top: 70px;
}

.rf-layout {
  grid-template-columns: minmax(0,1fr) 380px;
}

.rf-sidebar-contact {
  margin-top: 20px;
  border-top: 1px solid #d7e6ec;
  padding-top: 18px;
}

.rf-rail .rf-extra-compact {
  padding: 12px;
  margin: 18px 0 16px;
}

.rf .rf-rail .rf-extra-compact .rf-extras {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.rf-rail .rf-extra-compact h3,.rf-sidebar-contact .rf-contact h3 {
  font-size: 23px;
}

.rf-rail .rf-extra strong {
  font-size: 12px;
}

.rf-rail .rf-extra-compact .rf-note {
  font-size: 11px;
  line-height: 1.55;
}

.rf-rail .rf-extra-compact input[type=checkbox] {
  width: 19px;
  min-width: 19px;
}

.rf-sidebar-contact .rf-note {
  font-size: 11px;
  line-height: 1.55;
}

.rf-sidebar-contact .rf-contact-fields {
  grid-template-columns: 1fr;
  gap: 12px;
}

.rf-sidebar-contact label {
  font-size: 12px;
}

.rf-sidebar-contact input,.rf-sidebar-contact textarea {
  font-size: 14px;
  min-width: 0;
  width: 100%;
}

.rf-sidebar-contact input[type=checkbox] {
  width: 19px;
  min-width: 19px;
}

.rf-sidebar-contact .rf-comment {
  margin-top: 14px;
}

.rf-sidebar-contact textarea {
  min-height: 72px;
}

.rf-sidebar-contact .rf-consent span {
  font-size: 11px;
  line-height: 1.5;
}

.rf-sidebar-contact .rf-nav {
  margin-top: 16px;
  display: block;
}

.rf-sidebar-contact .rf-nav [data-step] {
  display: none;
}

.rf-sidebar-contact .rf-nav button[type=submit] {
  width: 100%;
  max-width: none;
  min-height: 44px;
  font-size: 14px;
}

.rf-local-notice {
  background: #fff1e6;
  padding: 9px;
  border-radius: 7px;
}

.rf-rail #rf-status {
  font-size: 12px;
  padding: 10px;
}

.rf-rail-details>summary {
  position: sticky;
  top: -22px;
  z-index: 1;
  background: #f5fafb;
  padding: 10px 0;
  margin-top: -10px;
}

@media(max-width:1100px) and (min-width:801px) {
  .rf-layout {
    grid-template-columns: minmax(0,1fr) 340px;
  }
}

@media(max-width:800px) {
  .rf-sidebar-contact input,.rf-sidebar-contact textarea {
    font-size: 16px;
  }
}

/* Catalogue structure; final photo-card presentation is in polish.css. */

.rf .rf-other .rf-catalog {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.rf .rf-other .rf-card-controls {
  flex-wrap: wrap;
}

.rf .rf-other .rf-program-info {
  padding: 12px;
}

.rf .rf-other .rf-program[hidden] {
  display: none!important;
}

@media(max-width:1100px) {
  .rf .rf-other .rf-catalog {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px) {
  .rf .rf-other .rf-catalog {
    grid-template-columns: 1fr;
  }
}

.rf .rf-room-name {
  font: 26px/1.25 Georgia,serif;
  margin: 18px 14px 10px;
}

.rf .rf-featured,.rf .rf-rooms,.rf .rf-house-0 .rf-rooms {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 26px;
}

.rf .rf-program,.rf .rf-room {
  border: 4px solid #fff!important;
  border-radius: 16px;
  background: linear-gradient(125deg,#edf6fa,#fff7f1);
  box-shadow: none!important;
  overflow: hidden;
}

.rf .rf-program>.rf-media,.rf .rf-featured .rf-program:first-child>.rf-media,.rf .rf-room>.rf-media {
  height: auto!important;
  aspect-ratio: 3/2;
  width: 100%;
  border: 0;
  border-radius: 0;
}

.rf .rf-program>.rf-media img,.rf .rf-room>.rf-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rf .rf-program-info {
  padding: 18px;
}

.rf .rf-program h3 {
  min-height: 0;
  margin-bottom: 9px;
}

.rf .rf-card-price {
  display: block;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #205268;
}

.rf .rf-room-rate {
  display: block!important;
  font-size: 16px;
  color: #205268;
  margin: 8px 14px 12px;
}

.rf .rf-room-name {
  margin-top: 14px;
}

.rf .rf-card-controls {
  gap: 12px;
}

.rf .rf-card-controls button,.rf .rf-room-choose {
  border-radius: 999px;
  font-size: 12px;
}

.rf .rf-step,.rf .rf-top,.rf .rf-rail {
  border: 4px solid #fff;
  box-shadow: none;
}

.rf .rf-program.is-selected,.rf .rf-room[aria-pressed=true] {
  border-color: #fff!important;
}

.rf .rf-program-small {
  display: block;
}

.rf .rf-room {
  padding: 0;
}

.rf .rf-room .rf-room-choose {
  align-self: flex-end;
  margin: 4px 14px 14px;
  padding: 9px 16px;
}

.rf .rf-program.is-selected [data-add],.rf .rf-room[aria-pressed=true] .rf-room-choose {
  background: #20566a;
  color: #fff;
  border-color: #20566a;
}

.rf .rf-stay-selection {
  display: none;
}

.rf .rf-rail>.rf-reset {
  float: right;
  position: relative;
  z-index: 3;
  width: auto;
  max-width: 100px;
  margin: 0 0 8px 10px;
  padding: 5px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: 11px/1.5 Arial,sans-serif;
  color: #597d8e;
}

.rf .rf-rail-details>summary {
  font-size: 22px;
  min-height: 35px;
  padding-right: 96px;
  pointer-events: auto;
}

.rf .rf-rail {
  overflow-x: hidden;
}

.rf .rf-rail-count {
  white-space: nowrap;
}

.rf .rf-rail-body {
  clear: both;
}

@media(max-width:1000px) and (min-width:801px) {
  .rf-layout {
    grid-template-columns: minmax(0,1fr) 300px;
  }
  .rf .rf-card-controls {
    flex-wrap: wrap;
  }
  .rf .rf-featured,.rf .rf-rooms {
    gap: 16px;
  }
}

@media(max-width:520px) {
  .rf .rf-featured,.rf .rf-rooms,.rf .rf-house-0 .rf-rooms {
    grid-template-columns: 1fr;
  }
  .rf .rf-rail>.rf-reset {
    min-height: 36px;
  }
  .rf .rf-card-controls button {
    min-height: 44px;
  }
}
