:root {
  --rb-primary: #9C6644;
  --rb-dark: #3D3530;
  --rb-accent: #D4A373;
  --rb-bg: #FDFBFA;
  --rb-border: #EAE3DC;
  --rb-success: #4F6F52;
  --rb-danger: #A64B42;
  --rb-wa: #25D366;
  --rb-radius: 18px;
  --rb-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

#room-booking-app {
  max-width: 1320px;
  margin: auto;
  padding: 24px 16px 60px;
}
#room-booking-app * {
  box-sizing: border-box;
}
#room-booking-app a,
#room-booking-app a:visited,
#room-booking-app a:hover {
  text-decoration: none;
}

.rb-card,
.rb-search-card,
.rb-filter-card,
.rb-results,
.rb-detail-card,
.rb-question-card,
.rb-booking-form,
.rb-contact-capture,
.rb-negotiation-box,
.rb-amenities-block,
.rb-promo-box,
.rb-journey,
.rb-discount-form,
.rb-empty,
.rb-helper-card,
.rb-sticky-mobile-cta {
  background: #fff;
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  box-shadow: var(--rb-shadow);
}

.rb-hero {
  padding: 24px;
  background: linear-gradient(145deg, #fff, #fff8f2);
  border: 1px solid rgba(212,163,115,.35);
  border-radius: var(--rb-radius);
  margin-bottom: 18px;
}
.rb-hero h2,
.rb-title {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--rb-dark);
}
.rb-hero p,
.rb-subtitle {
  margin: 0;
  color: #6f645b;
  line-height: 1.6;
}

.rb-search-card,
.rb-filter-card,
.rb-results {
  padding: 20px;
  margin-bottom: 18px;
}
.rb-filter-head,
.rb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rb-filter-head h3,
.rb-section-head h3 {
  margin: 0;
  font-weight: 900;
}
.rb-section-head p {
  margin: 0;
  color: #6f645b;
}
.rb-filter-pills,
.rb-mini-pills,
.rb-stack-actions,
.rb-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rb-pill,
.rb-mini-pill,
.rb-urgency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--rb-border);
  background: #fff;
  font-weight: 900;
  font-size: .9rem;
  color: var(--rb-dark);
}
.rb-pill {
  cursor: pointer;
  transition: all 0.2s ease;
}
.rb-pill:hover {
  border-color: var(--rb-primary);
  color: var(--rb-primary);
  transform: translateY(-1px);
}
.rb-pill.is-active {
  background: var(--rb-primary);
  color: #fff;
  border-color: var(--rb-primary);
  box-shadow: 0 8px 18px rgba(156,102,68,0.18);
}
.rb-pill.is-active span {
  color: #fff;
}
.rb-empty {
  padding: 22px;
  text-align: center;
  color: #6f645b;
}

.rb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.rb-room-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rb-room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(61,53,48,0.10);
}
.rb-room-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.rb-room-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}
.rb-room-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.rb-room-top h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 900;
}
.rb-room-top p {
  margin: 0;
  color: #6f645b;
  line-height: 1.45;
}
.rb-price {
  color: var(--rb-primary);
  font-weight: 900;
  font-size: 1.3rem;
  white-space: nowrap;
}
.rb-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--rb-dark);
}
.rb-mini-pills {
  min-height: 52px;
}
.rb-room-body .rb-btn {
  margin-top: auto;
}
.rb-noimg {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: var(--rb-bg);
  color: #8d8278;
}
.rb-trust-note {
  margin-top: 8px;
  color: #8d7c6d;
  font-size: 0.86rem;
  line-height: 1.4;
}

#rbDetail,
.rb-detail-card {
  width: 100%;
  max-width: 100%;
}
.rb-detail-card {
  padding: 20px;
}
.rb-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.rb-detail-head h3 {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 900;
}
.rb-detail-head p {
  margin: 0;
  color: #6f645b;
}

.rb-gallery {
  margin-bottom: 18px;
}
.rb-gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--rb-bg);
}
.rb-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rb-gallery-thumbs,
.rb-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 0 0;
}
.rb-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.rb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rb-thumb.is-active {
  border-color: var(--rb-primary);
}

.rb-amenities-block,
.rb-promo-box,
.rb-journey {
  padding: 18px;
  margin-top: 14px;
}
.rb-amenities-block h4,
.rb-promo-title,
.rb-question-title,
.rb-better-head h4 {
  margin: 0 0 10px;
  font-weight: 900;
}
.rb-amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rb-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rb-border);
  border-radius: 16px;
  padding: 14px 16px;
}
.rb-amenity-icon {
  flex: 0 0 auto;
}

.rb-promo-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fffaf3;
  border: 1px solid #f1e1c7;
  box-shadow: 0 8px 20px rgba(212,163,115,0.1);
}
.rb-promo-box::before {
  content: "💡";
  font-size: 1.3rem;
  flex: 0 0 auto;
}
.rb-promo-title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--rb-primary);
}
.rb-promo-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #6f645b;
  line-height: 1.6;
  max-width: 980px;
}

.rb-discount-form {
  position: relative;
  margin-top: 16px;
  padding: 16px;
  background: #f7f3ef;
}
.rb-discount-form::before {
  content: "🎁";
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 1.3rem;
}
.rb-discount-form label {
  padding-left: 28px;
  font-weight: 900;
  color: var(--rb-dark);
}
.rb-inline-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
  align-items: center;
}
.rb-inline-form input {
  margin: 0;
}
.rb-discount-form .rb-btn,
.rb-inline-form .rb-btn,
.rb-inline-form button {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #d4a373, #c38e5c);
  color: #fff;
}
.rb-discount-form .rb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212,163,115,0.25);
}

.rb-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.rb-summary-strip > div {
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 14px 16px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rb-summary-strip strong {
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: #978a81;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rb-summary-strip span {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--rb-dark);
}

.rb-journey {
  padding: 16px;
}
.rb-question-card,
.rb-booking-form,
.rb-contact-capture,
.rb-negotiation-box {
  padding: 18px;
  border-radius: 18px;
}
.rb-question-card + .rb-followup,
.rb-followup + .rb-followup {
  margin-top: 14px;
}
.rb-followup {
  margin-top: 14px;
}
.rb-question-title {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--rb-dark);
}
.rb-question-sub,
.rb-better-head p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #6f645b;
  max-width: 980px;
}
.rb-question-eyebrow,
.rb-promo-title {
  color: #9a8a7b;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.rb-choice-row {
  gap: 10px;
}
.rb-choice,
.rb-choice-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--rb-border);
  background: #fff;
  color: var(--rb-dark) !important;
  text-align: center;
  font-weight: 900;
  font-size: 0.98rem;
  cursor: pointer;
}
.rb-choice--primary,
.rb-choice-strong {
  background: var(--rb-primary);
  color: #fff !important;
  border-color: var(--rb-primary);
}
.rb-helper {
  display: none !important;
}

.rb-option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.rb-contact-option {
  justify-content: flex-start;
  text-align: left;
  min-height: 62px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--rb-border);
  background: #fff;
  color: var(--rb-dark) !important;
}
.rb-contact-option[href*="wa.me"] {
  background: #f3fbf6;
  border-color: #d8efe2;
}
.rb-contact-option .rb-svg-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 22px;
}
.rb-contact-option span {
  display: flex;
  flex-direction: column;
}
.rb-contact-option strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--rb-dark);
}
.rb-contact-option small {
  display: none !important;
}

.rb-price-focus {
  margin: 16px 0;
  border: 1px solid var(--rb-border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
}
.rb-price-focus span {
  color: #6f645b;
  font-weight: 700;
}
.rb-price-focus strong {
  color: var(--rb-primary);
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
}
.rb-negotiation-result {
  margin-top: 14px;
}
.rb-negotiation-box {
  background: #f7fbf7;
  border-color: #d9e8d9;
}
.rb-negotiation-box-warn {
  background: #fffaf2;
  border-color: #ecd9b5;
}
.rb-negotiation-box-good {
  background: #f5faf5;
  border-color: #d9e8d9;
}
.rb-negotiation-title {
  margin: 0 0 8px;
  color: #8d7c6d;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
  font-weight: 900;
}
.rb-negotiation-box p {
  margin: 0;
  color: #6f645b;
  line-height: 1.6;
}
.rb-negotiation-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 16px;
}
.rb-negotiation-metrics > div {
  border: 1px solid var(--rb-border);
  border-radius: 18px;
  background: #fff;
  min-height: 76px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.rb-negotiation-metrics span {
  color: #6f645b;
  font-weight: 700;
}
.rb-negotiation-metrics strong {
  color: var(--rb-primary);
  font-weight: 900;
  white-space: nowrap;
}

.rb-form-grid,
.rb-booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rb-better-grid {
  grid-template-columns: 1fr;
}
.rb-wide-field {
  grid-column: 1 / -1;
}
#room-booking-app input,
#room-booking-app select,
#room-booking-app textarea,
.rb-input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 2px solid var(--rb-border);
  padding: 10px 12px;
  background: #fff;
  color: var(--rb-dark);
  box-shadow: none;
  outline: none;
}
#room-booking-app input:focus,
#room-booking-app select:focus,
#room-booking-app textarea:focus {
  border-color: var(--rb-primary);
}
.rb-booking-form label,
.rb-form label,
.rb-discount-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 800;
  color: var(--rb-dark);
}
.rb-form-feedback {
  margin-top: 10px;
  font-weight: 700;
}
.rb-form-feedback.is-success {
  color: var(--rb-success);
}
.rb-form-feedback.is-error {
  color: var(--rb-danger);
}

.rb-btn {
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.rb-btn:hover {
  transform: translateY(-1px);
}
.rb-btn-primary,
.rb-btn.primary {
  background: var(--rb-primary);
  color: #fff;
}
.rb-btn-secondary {
  background: var(--rb-accent);
  color: #fff;
}
.rb-btn-ghost {
  background: #fff;
  color: var(--rb-dark);
  border: 1px solid var(--rb-border);
}
.rb-btn-full,
.rb-cta,
button[data-start-negotiation],
button[data-send-negotiation] {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.rb-room-supplement,
.rb-supplement,
[data-room-supplement],
[data-supplement-note] {
  display: none !important;
}

@media (max-width: 768px) {
  #room-booking-app {
    max-width: 100%;
    padding: 18px 12px 96px;
  }

  .rb-card-grid,
  .rb-amenity-grid,
  .rb-form-grid,
  .rb-booking-grid,
  .rb-negotiation-metrics,
  .rb-summary-strip {
    grid-template-columns: 1fr;
  }

  .rb-inline-form {
    grid-template-columns: 1fr;
  }

  .rb-detail-card,
  .rb-journey,
  .rb-question-card,
  .rb-booking-form,
  .rb-contact-capture,
  .rb-negotiation-box,
  .rb-amenities-block,
  .rb-promo-box,
  .rb-discount-form {
    padding: 16px;
  }

  .rb-detail-head {
    align-items: stretch;
  }

  .rb-detail-head h3 {
    font-size: 1.6rem;
  }

  .rb-choice-row,
  .rb-stack-actions {
    flex-direction: column;
  }

  .rb-sticky-mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    padding: 10px;
  }

  .rb-sticky-mobile-cta .rb-btn {
    width: 100%;
  }
}


/* v8 merge enhancements */
.rb-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.rb-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.rb-unlock-form{margin-top:20px;padding-top:12px;border-top:1px solid rgba(0,0,0,.06)}
.rb-consent{display:flex;gap:10px;align-items:flex-start;margin:10px 0;color:#4f4f4f;font-size:14px;line-height:1.5}
.rb-reward-flow{margin-top:18px}
.rb-direct-reveal{background:linear-gradient(180deg,#fff7ef,#fff);border:1px solid #eadbc9;border-radius:18px;padding:18px;margin-bottom:18px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.rb-direct-badge{display:inline-block;background:#f4e7d8;color:#6d4e2f;padding:8px 12px;border-radius:999px;font-weight:700;margin-bottom:12px}
.rb-direct-prices{text-align:center}
.rb-direct-old{text-decoration:line-through;color:#b25151;font-size:18px;margin-bottom:6px}
.rb-direct-new{font-size:34px;font-weight:800;color:#275a3c;line-height:1.1}
.rb-direct-save{margin-top:8px;color:#7a5a3c;font-weight:700}
.rb-timer-hint{margin-top:10px;font-size:13px;color:#6f655a;text-align:center}
.rb-confirm-row{background:#fff8f0;padding:12px;border-radius:14px;border:1px solid #efdac4;margin-top:14px}
.rb-choice[disabled], .rb-btn[disabled]{opacity:.55;cursor:not-allowed}
@media (max-width:768px){.rb-form-grid{grid-template-columns:1fr 1fr}.rb-card-actions{grid-template-columns:1fr}.rb-direct-new{font-size:30px}}
@media (max-width:560px){.rb-form-grid{grid-template-columns:1fr}}


/* Final requested fixes */
.rb-card-grid{align-items:stretch}
.rb-room-card{
  border:1px solid rgba(212,163,115,.22);
  box-shadow:0 14px 34px rgba(61,53,48,.08);
  border-radius:18px;
}
.rb-room-body{height:100%}
.rb-card-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 8px;
}
.rb-info-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  border:1px solid var(--rb-border);
  background:#fff;
  color:var(--rb-dark);
}
.rb-info-badge--gift{background:#fff5ea;border-color:#ecd4bc;color:#6d4e2f}
.rb-info-badge--demand{background:#fff1f1;border-color:#f0d2cd;color:#8a4537}
.rb-info-badge--viewed{background:#f4f8fb;border-color:#d7e4ee;color:#3d5d70}

.rb-card-actions{
  margin-top:auto;
  align-items:end;
}
.rb-card-actions .rb-btn{
  min-height:48px;
}
.rb-card-actions .rb-btn-full,
.rb-card-actions .rb-btn-ghost{
  width:100%;
}

.rb-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:8px 0;
  font-size:14px;
  line-height:1.45;
}
.rb-consent input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  min-width:18px;
  margin:2px 0 0;
  accent-color:var(--rb-primary);
  transform:none !important;
}
.rb-confirm-row{
  padding:12px 14px;
  background:#fff9f2;
  border:1px solid #edd8c5;
  border-radius:16px;
}

.rb-followup,
.rb-followup > *,
.rb-reward-flow,
.rb-journey{
  width:100%;
  max-width:none;
}
.rb-followup .rb-question-card,
.rb-followup .rb-contact-capture,
.rb-followup .rb-negotiation-box,
.rb-followup .rb-booking-form,
.rb-followup .rb-help-actions,
.rb-followup .rb-question-card--elevated{
  margin-left:0;
  margin-right:0;
  width:100%;
}

.rb-sticky-mobile-cta{display:none !important}
body.has-rb-sticky, html.has-rb-sticky{padding-bottom:0 !important}

@media (max-width: 768px){
  .rb-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media (max-width: 640px){
  .rb-card-grid{grid-template-columns:1fr}
  .rb-search-card,
  .rb-filter-card,
  .rb-results,
  .rb-detail-card{padding:16px}
  .rb-card-actions{grid-template-columns:1fr}
  .rb-consent{font-size:13px}
}


.rb-card-badges{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px;min-height:40px}
.rb-info-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:.82rem;font-weight:800;border:1px solid var(--rb-border);background:#fff;color:var(--rb-dark)}
.rb-info-badge--gift{background:#fff7f0;border-color:#ecd2b6;color:#8a5a2b}
.rb-info-badge--popular{background:#fff3ef;border-color:#efcabc;color:#a64b42}
.rb-info-badge--limited{background:#f7f5ff;border-color:#ddd5ff;color:#5c4aa6}
.rb-info-badge--booked{background:#eef8f2;border-color:#cfe7d8;color:#356b4a}
.rb-info-badge--favorite{background:#fff8e8;border-color:#efdfaa;color:#8f6d08}
.rb-card-actions{display:flex;gap:10px;align-items:stretch;margin-top:auto}
.rb-card-actions .rb-btn{flex:1;min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.rb-consent{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-size:13px;line-height:1.45}
.rb-consent input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;margin-top:2px}
.rb-followup{width:100%}
.rb-followup > *{width:100%;margin-left:0;margin-right:0}
.rb-followup .rb-question-card,.rb-followup .rb-contact-capture,.rb-followup .rb-negotiation-box,.rb-followup .rb-booking-form{padding-left:18px;padding-right:18px}


/* final mobile flatten fix */
.rb-negotiation-result, .rb-negotiation-result > * { width:100%; max-width:none; }
.rb-negotiation-result .rb-contact-capture{ margin-top:0; }
@media (max-width: 640px){
  .rb-question-card, .rb-booking-form, .rb-contact-capture, .rb-negotiation-box { padding:16px; }
  .rb-negotiation-result .rb-contact-capture, .rb-negotiation-result .rb-negotiation-box{ border-radius:16px; }
}


/* Final mobile flatten fix for negotiation contact step */
.rb-better-form .rb-contact-capture{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 16px !important;
}
.rb-better-form .rb-contact-capture .rb-question-eyebrow{
  margin-top: 0 !important;
}
.rb-better-form .rb-contact-capture .rb-question-sub{
  margin-bottom: 12px !important;
}
.rb-better-form .rb-contact-capture .rb-booking-grid{
  margin-top: 0 !important;
}
.rb-better-form .rb-contact-capture .rb-stack-actions{
  margin-top: 14px !important;
}

@media (max-width: 640px){
  .rb-better-form{
    padding: 16px !important;
  }
  .rb-better-form .rb-contact-capture{
    margin-top: 14px !important;
  }
  .rb-better-form .rb-contact-capture .rb-booking-grid{
    gap: 12px !important;
  }
}


/* v3 flatten negotiation flow on mobile and desktop */
.rb-better-form--flat{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.rb-better-form--flat .rb-negotiation-result{
  margin-top: 0 !important;
}
.rb-better-form--flat .rb-negotiation-box,
.rb-better-form--flat .rb-contact-capture{
  margin-top: 0 !important;
}
.rb-better-form--flat .rb-contact-capture{
  background: #fff !important;
  border: 1px solid var(--rb-border) !important;
  box-shadow: var(--rb-shadow) !important;
  padding: 18px !important;
  border-radius: 18px !important;
}
@media (max-width:640px){
  .rb-better-form--flat .rb-contact-capture{
    padding: 16px !important;
    border-radius: 16px !important;
  }
}


/* Go-live v4: badges under room title + booking-style room highlights */
.rb-room-heading{
  min-width: 0;
}
.rb-room-heading .rb-card-badges{
  margin: 8px 0 10px;
  min-height: 0;
}
.rb-room-heading p{
  margin: 0;
}
.rb-mini-pills.rb-room-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 2px 0 8px;
  min-height: 0;
}
.rb-mini-pills.rb-room-highlights .rb-mini-pill{
  background:#f7f4f0;
  border:1px solid var(--rb-border);
  color:var(--rb-dark);
  font-weight:700;
  padding:7px 10px;
  line-height:1.2;
}
.rb-info-badge--booked{
  background:#eef8f2;
  border-color:#cfe7d8;
  color:#356b4a;
}
.rb-info-badge--favorite{
  background:#fff8e8;
  border-color:#efdfaa;
  color:#8f6d08;
}
.rb-info-badge--popular{
  background:#fff3ef;
  border-color:#efcabc;
  color:#a64b42;
}
@media (max-width: 640px){
  .rb-room-top{
    align-items:flex-start;
  }
  .rb-room-top .rb-price{
    margin-top: 4px;
  }
}


/* Go-live v5: capacity beside room title, inline badges, compact amenities/cards */
.rb-room-top h4{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.rb-capacity-icons{
  font-size:13px;
  opacity:.75;
  letter-spacing:1px;
}
.rb-card-badges{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
}
.rb-info-badge{
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
}
.rb-mini-pills.rb-room-highlights{
  max-height:64px;
  overflow:hidden;
}
.rb-mini-pills.rb-room-highlights .rb-mini-pill{
  line-height:1.2;
}
.rb-checkbox,
.rb-consent-row,
.rb-consent-item{
  display:flex;
  align-items:center;
  gap:10px;
}
.rb-checkbox input[type="checkbox"],
.rb-consent-row input[type="checkbox"],
.rb-consent-item input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
  flex-shrink:0;
}
@media (max-width: 420px){
  .rb-card-badges{
    flex-wrap:wrap !important;
  }
}


/* Go-live v6: compact capacity + cleaner badges */
.rb-capacity-icons{
  font-size:13px;
  font-weight:700;
  opacity:.78;
  margin-left:6px;
  letter-spacing:0;
}
.rb-card-badges{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
}
.rb-info-badge{
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
}
@media (max-width: 420px){
  .rb-card-badges{
    flex-wrap:wrap !important;
  }
}

/* v7 guests-only search */
#rbSearchForm label:has(#rbChildren) { display:none !important; }

#rbChildren { display:none !important; }


/* v9 final: unlock stay summary + inline consent rows */
.rb-summary-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.rb-summary-grid > div{
  min-width:0;
}
.rb-summary-grid strong{
  display:block;
}
.rb-summary-grid span{
  display:block;
}
.rb-consent-row.rb-consent-inline,
.rb-checkbox.rb-consent-inline{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:10px 0 !important;
}
.rb-consent-row.rb-consent-inline input[type="checkbox"],
.rb-checkbox.rb-consent-inline input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  flex-shrink:0 !important;
}
.rb-consent-row.rb-consent-inline span,
.rb-checkbox.rb-consent-inline span{
  display:block;
  line-height:1.45;
}
@media (max-width: 980px){
  .rb-summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 640px){
  .rb-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* v10 ensure check-in/check-out summary shows */
.rb-summary-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:14px !important;
}
@media (max-width:980px){
  .rb-summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media (max-width:640px){
  .rb-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


.rb-summary-strip{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:14px !important;
}
@media (max-width:980px){
  .rb-summary-strip{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media (max-width:640px){
  .rb-summary-strip{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
