/* Rooms catalogue decision surface — 2026-09-29.
 * Keeps the established HASKE palette while making comparison faster and calmer. */

#rooms-and-rates {
  --catalog-ink: var(--haske-ink, #20231f);
  --catalog-body: var(--haske-body, #4a4d47);
  --catalog-muted: var(--haske-muted, #70736c);
  --catalog-gold: var(--haske-gold, #b58b52);
  --catalog-bronze: var(--haske-bronze, #765832);
  --catalog-border: var(--haske-border, #ddd7ca);
  --catalog-surface: var(--haske-surface, #fffefb);
}

#rooms-and-rates .haske-room-gallery-intro {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--catalog-body);
  font-size: 16px;
  line-height: 1.65;
}

#rooms-and-rates .haske-catalog-note {
  display: flex;
  max-width: 760px;
  margin: 0;
  align-items: flex-start;
  gap: 9px;
  color: var(--catalog-muted);
  font-size: 13px;
  line-height: 1.5;
}

#rooms-and-rates .haske-catalog-note i {
  margin-top: 3px;
  color: var(--catalog-gold);
}

.haske-catalog-tools {
  position: sticky;
  z-index: 30;
  top: 16px;
  margin: 0 0 44px;
  padding: 16px;
  border: 1px solid rgba(125, 93, 63, .22);
  border-radius: 7px;
  background: rgba(255, 254, 251, .97);
  box-shadow: 0 15px 40px rgba(35, 30, 25, .11);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.haske-catalog-tools__properties {
  display: flex;
  padding-bottom: 14px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(125, 93, 63, .16);
  gap: 7px;
  scrollbar-width: thin;
}

.haske-catalog-tools__properties button,
.haske-catalog-tools__summary button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--catalog-border);
  border-radius: 999px;
  background: #fff;
  color: var(--catalog-body);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.haske-catalog-tools__properties button:hover,
.haske-catalog-tools__properties button:focus-visible,
.haske-catalog-tools__properties button.is-active {
  border-color: var(--catalog-bronze);
  background: var(--catalog-bronze);
  color: #fff;
}

.haske-catalog-tools__properties button:focus-visible,
.haske-catalog-tools__summary button:focus-visible,
.haske-catalog-tools select:focus-visible {
  outline: 3px solid rgba(181, 139, 82, .32);
  outline-offset: 2px;
}

.haske-catalog-tools__selectors {
  display: grid;
  padding-top: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.haske-catalog-tools__selectors label {
  display: grid;
  min-width: 0;
  margin: 0;
  gap: 5px;
}

.haske-catalog-tools__selectors label > span {
  color: var(--catalog-bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.haske-catalog-tools select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 8px 34px 8px 11px;
  border: 1px solid var(--catalog-border);
  border-radius: 4px;
  background-color: #fff;
  color: var(--catalog-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
}

.haske-catalog-tools__summary {
  display: flex;
  min-height: 30px;
  padding-top: 11px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.haske-catalog-tools__summary p {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.haske-catalog-tools__summary button {
  min-height: 34px;
  padding: 7px 12px;
  border-color: transparent;
  background: transparent;
  color: var(--catalog-bronze);
}

.haske-catalog-tools__summary button:hover { background: #f4eee3; }

#rooms-and-rates .property-group {
  scroll-margin-top: 170px;
  margin-bottom: 18px;
}

#rooms-and-rates .property-group > [class*="col-lg-6"] {
  display: flex;
}

#rooms-and-rates .property-group > [class*="col-lg-6"][hidden],
#rooms-and-rates .property-group[hidden] { display: none !important; }

#rooms-and-rates .property-group .item {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

#rooms-and-rates .item .wrap {
  min-width: 0;
  flex: 1;
  align-items: stretch;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont {
  display: grid;
  min-width: 0;
  align-items: start;
  grid-template-areas:
    "property property"
    "name price"
    "primary primary"
    "highlight highlight"
    "description description"
    "secondary secondary"
    "photo photo"
    "savings savings"
    "action action";
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
  row-gap: 0;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont > * {
  min-width: 0;
  order: initial;
}

body:not(.haske-staff-page) #rooms-and-rates .item .property-label {
  grid-area: property;
  width: 100%;
  flex: none;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont h3 {
  grid-area: name;
  width: 100%;
  flex: none;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont .price {
  grid-area: price;
  width: auto;
  flex: none;
  align-self: center;
}

body:not(.haske-staff-page) #rooms-and-rates .item .haske-room-description { grid-area: description; }
body:not(.haske-staff-page) #rooms-and-rates .item .haske-room-highlight { grid-area: highlight; }
body:not(.haske-staff-page) #rooms-and-rates .item .haske-room-primary-facts { grid-area: primary; }
body:not(.haske-staff-page) #rooms-and-rates .item .haske-room-secondary { grid-area: secondary; }
body:not(.haske-staff-page) #rooms-and-rates .item .haske-room-photo-status { grid-area: photo; }
body:not(.haske-staff-page) #rooms-and-rates .item .long-stay-badge { grid-area: savings; }
body:not(.haske-staff-page) #rooms-and-rates .item .haske-cart-card-action { grid-area: action; }

#rooms-and-rates .price::before {
  margin-right: 4px;
  color: var(--catalog-muted);
  content: "From";
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont h3 {
  margin: 3px 0 7px;
  line-height: 1.08;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont h3 a {
  font-size: clamp(25px, 2.1vw, 30px);
  font-weight: 850;
  line-height: 1.08;
}

#rooms-and-rates .item h3 a {
  display: inline-flex;
  align-items: center;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

#rooms-and-rates .item h3 a:hover,
#rooms-and-rates .item h3 a:focus-visible { text-decoration: underline; }

#rooms-and-rates .haske-room-description {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 11px;
  overflow: hidden;
  color: var(--catalog-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont > .details {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 7px;
}

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont > .details span {
  display: inline-flex;
  min-height: 32px;
  margin: 0;
  padding: 7px 9px;
  align-items: center;
  border: 1px solid rgba(125, 93, 63, .16);
  border-radius: 999px;
  gap: 6px;
  background: #fbf7f0;
  color: var(--catalog-body) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

#rooms-and-rates .haske-room-highlight {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  align-items: center;
  gap: 7px;
  color: var(--catalog-bronze);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

#rooms-and-rates .haske-room-highlight i { color: var(--catalog-gold); }

#rooms-and-rates .haske-room-secondary {
  margin-top: 12px;
  border-top: 1px solid rgba(125, 93, 63, .16);
}

#rooms-and-rates .haske-room-secondary summary {
  display: flex;
  min-height: 40px;
  padding: 10px 0 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--catalog-bronze);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

#rooms-and-rates .haske-room-secondary summary::-webkit-details-marker { display: none; }
#rooms-and-rates .haske-room-secondary summary::after {
  content: "+";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
#rooms-and-rates .haske-room-secondary[open] summary::after { content: "−"; }

#rooms-and-rates .haske-space-facts {
  display: grid;
  margin: 0;
  padding: 0 0 10px;
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}

#rooms-and-rates .haske-space-facts > span {
  min-width: 0;
  color: var(--catalog-body) !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

#rooms-and-rates .item .wrap .arrow { display: none !important; }

body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont .haske-cart-card-action {
  margin-top: auto;
  padding-top: 12px;
}

body:not(.haske-staff-page) #rooms-and-rates .haske-cart-card-add {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: .055em;
}

#rooms-and-rates .haske-room-gallery__types { display: none !important; }

.haske-catalog-empty {
  margin: 0 0 35px;
  padding: 28px;
  border: 1px solid var(--catalog-border);
  border-radius: 6px;
  background: var(--catalog-surface);
  text-align: center;
}

.haske-catalog-empty h3 { margin-bottom: 7px; color: var(--catalog-ink); }
.haske-catalog-empty p { margin: 0; color: var(--catalog-body); }

.haske-catalog-more {
  display: grid;
  margin: 22px 0 36px;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.haske-catalog-more[hidden] { display: none !important; }
.haske-catalog-more__status {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 12px;
  line-height: 1.4;
}
.haske-catalog-more__button {
  display: inline-flex;
  min-width: min(100%, 230px);
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--catalog-bronze);
  border-radius: 3px;
  background: var(--catalog-bronze);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
  gap: 9px;
  cursor: pointer;
}
.haske-catalog-more__button:hover,
.haske-catalog-more__button:focus-visible {
  border-color: var(--haske-burgundy, #4a2028);
  background: var(--haske-burgundy, #4a2028);
  outline: 3px solid rgba(181, 139, 82, .28);
  outline-offset: 2px;
}

.haske-catalog-next {
  padding: 28px 0;
  border-top: 1px solid rgba(125, 93, 63, .18);
  border-bottom: 1px solid rgba(125, 93, 63, .18);
  background: #f5efe5;
}

.haske-catalog-next .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.haske-catalog-next p { max-width: 760px; margin: 0; color: var(--catalog-body, #4a4d47); }
.haske-catalog-next a {
  display: inline-flex;
  align-items: center;
  color: var(--catalog-bronze, #765832);
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .haske-catalog-tools { position: static; }
  .haske-catalog-tools__selectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rooms-and-rates .property-group { scroll-margin-top: 90px; }
}

@media (max-width: 575px) {
  #rooms-and-rates { padding-top: 58px; }
  #rooms-and-rates .row.mb-25 { margin-bottom: 15px !important; }
  #rooms-and-rates .section-subtitle { margin-bottom: 7px; font-size: 10px; }
  #rooms-and-rates .section-title { margin-bottom: 10px; font-size: clamp(30px, 10.5vw, 39px); line-height: 1.02; }
  #rooms-and-rates .haske-room-gallery-intro { margin-bottom: 8px; font-size: 15px; line-height: 1.5; }
  #rooms-and-rates .haske-catalog-note { font-size: 12px; line-height: 1.45; }

  .haske-catalog-tools {
    margin-right: -4px;
    margin-bottom: 32px;
    margin-left: -4px;
    padding: 12px;
    border-radius: 5px;
  }

  .haske-catalog-tools__properties {
    display: grid;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-bottom: 11px;
    padding-left: 0;
    overflow: visible;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
  }

  .haske-catalog-tools__properties button {
    min-height: 38px;
    padding: 8px 7px;
    font-size: 12px;
    white-space: normal;
  }
  .haske-catalog-tools__properties button:nth-child(-n + 3) { grid-column: span 2; }
  .haske-catalog-tools__properties button:nth-child(n + 4) { grid-column: span 3; }

  .haske-catalog-tools__selectors { padding-top: 12px; gap: 9px 8px; }
  .haske-catalog-tools__selectors label > span { font-size: 11px; }
  .haske-catalog-tools select { height: 40px; padding-left: 9px; font-size: 13px; }
  .haske-catalog-tools__summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .haske-catalog-tools__summary button { padding-left: 0; }

  body:not(.haske-staff-page) #rooms-and-rates .item .wrap { padding: 10px 11px 11px; }
  body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont {
    grid-template-areas:
      "property property"
      "name price"
      "primary primary"
      "highlight highlight"
      "description description"
      "secondary secondary"
      "photo photo"
      "savings savings"
      "action action";
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 9px;
  }
  body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont h3 a { font-size: 23px; }
  body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont .price { font-size: 17px; }
  #rooms-and-rates .price::before { display: block; margin: 0 0 2px; text-align: right; }
  #rooms-and-rates .haske-room-description { min-height: 0; font-size: 14px; }
  body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont > .details span { font-size: 11px; }
  body:not(.haske-staff-page) #rooms-and-rates .item .wrap .cont .haske-space-facts {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .haske-catalog-next .container { align-items: flex-start; flex-direction: column; gap: 12px; }
  .haske-catalog-next a { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .haske-catalog-tools__properties button { transition: none; }
}
