.rbo-shell {
  --rbo-bg: #0f1720;
  --rbo-card: #ffffff;
  --rbo-border: rgba(15, 23, 32, 0.08);
  --rbo-text: #13212b;
  --rbo-muted: #5a6975;
  --rbo-accent: #0f7b3d;
  --rbo-accent-2: #d8f3df;
  color: var(--rbo-text);
  margin: 0 auto;
  max-width: 1240px;
}

.rbo-shell__hero,
.rbo-search-shell,
.rbo-results,
.rbo-panel,
.rbo-admin-panel {
  border: 1px solid var(--rbo-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 32, 0.06);
}

.rbo-booking-hub {
  display: grid;
  gap: 24px;
  padding: 12px 0 32px;
}

.rbo-shell__hero {
  padding: 32px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(135deg, rgba(15, 23, 32, 0.96), rgba(15, 123, 61, 0.86));
  color: #fff;
}

.rbo-shell__hero h2,
.rbo-room-shell__header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  line-height: 1.1;
}

.rbo-shell__hero p,
.rbo-section-head p,
.rbo-card p,
.rbo-room-shell__header p {
  color: inherit;
  opacity: 0.92;
}

.rbo-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.rbo-search-shell {
  padding: 18px 20px;
}

.rbo-search-shell__inner {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 18px;
  align-items: center;
}

.rbo-search-shell__copy strong,
.rbo-section-head h3,
.rbo-panel h3,
.rbo-card h3,
.rbo-package-card h3 {
  margin: 0 0 8px;
  color: var(--rbo-text);
}

.rbo-search-shell__copy span {
  display: block;
  color: var(--rbo-muted);
}

.rbo-language-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rbo-language-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
}

.rbo-language-switcher__link.is-active,
.rbo-language-switcher__link:hover {
  background: rgba(255,255,255,0.16);
}

.rbo-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rbo-benefits__item,
.rbo-pill,
.rbo-badge,
.rbo-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.rbo-benefits__item,
.rbo-pill {
  background: #f4f7f9;
  color: var(--rbo-text);
}

.rbo-badge {
  background: var(--rbo-accent-2);
  color: var(--rbo-accent);
  font-size: 0.86rem;
}

.rbo-price {
  background: rgba(15, 123, 61, 0.08);
  color: var(--rbo-accent);
}

.rbo-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.rbo-section-head h3,
.rbo-panel h3,
.rbo-card h3,
.rbo-package-card h3 {
  font-size: 1.25rem;
}

.rbo-card-grid,
.rbo-package-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rbo-card,
.rbo-package-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rbo-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 32, 0.05);
}

.rbo-card__image,
.rbo-package-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d4dfe7, #edf3f7);
}

.rbo-card__image img,
.rbo-package-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rbo-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.rbo-card__image-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--rbo-text);
  font-weight: 700;
}

.rbo-card__body,
.rbo-package-card__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.rbo-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.rbo-card__head h3,
.rbo-package-card__body h3 {
  margin: 0;
}

.rbo-card__head a,
.rbo-card__actions a,
.rbo-package-card__body a {
  text-decoration: none;
}

.rbo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--rbo-muted);
  font-size: 0.95rem;
}

.rbo-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rbo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--rbo-accent);
  color: #fff !important;
  font-weight: 700;
  border: 1px solid var(--rbo-accent);
  text-decoration: none;
}

.rbo-button:hover {
  filter: brightness(1.04);
}

.rbo-button--secondary {
  background: #fff;
  color: var(--rbo-accent) !important;
}

.rbo-room-shell {
  display: grid;
  gap: 24px;
  padding: 10px 0 32px;
}

.rbo-room-shell__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.rbo-room-shell__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 420px);
}

.rbo-room-shell__main,
.rbo-room-shell__side {
  display: grid;
  gap: 24px;
}

.rbo-panel {
  padding: 24px;
}

.rbo-bullet-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 14px 0 0;
}

.rbo-bullet-list--compact {
  margin-top: 0;
}

.rbo-chatbot {
  display: grid;
  gap: 14px;
}

.rbo-chatbot__header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 32, 0.96), rgba(15, 123, 61, 0.86));
  color: #fff;
}

.rbo-chatbot__header strong {
  display: block;
}

.rbo-chatbot__header span {
  font-size: 0.86rem;
  opacity: 0.9;
}

.rbo-chatbot__messages {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 6px;
}

.rbo-chatbot__message {
  padding: 12px 14px;
  border-radius: 14px;
  max-width: 92%;
  white-space: pre-wrap;
  line-height: 1.5;
}

.rbo-chatbot__message--assistant {
  background: #f4f7f9;
  color: var(--rbo-text);
}

.rbo-chatbot__message--user {
  margin-left: auto;
  background: var(--rbo-accent);
  color: #fff;
}

.rbo-chatbot__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.rbo-chatbot__form input[type="text"] {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--rbo-border);
}

.rbo-chatbot__form button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  background: var(--rbo-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.rbo-chatbot__human {
  color: var(--rbo-accent);
  font-weight: 600;
  text-decoration: none;
}

.rbo-chatbot__footer {
  display: flex;
  justify-content: flex-end;
}

.rbo-chatbot__message a {
  color: inherit;
  text-decoration: underline;
}

/* Generic MotoPress improvements */
.rbo-results .mphb_sc_search_results-wrapper,
.rbo-results .mphb-search-results,
.rbo-results .mphb_sc_rooms-wrapper {
  display: grid;
  gap: 18px;
}

.rbo-results .mphb_room_type,
.rbo-results .type-mphb_room_type,
.rbo-results .mphb-room-type,
.rbo-results article[class*="room"] {
  border: 1px solid var(--rbo-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 32, 0.05);
  background: #fff;
}

.rbo-results .mphb-room-type-title,
.rbo-results .entry-title,
.rbo-results h2,
.rbo-results h3 {
  margin-top: 0;
}

.rbo-results .mphb-reserve-btn,
.rbo-results .button,
.rbo-results input[type="submit"],
.rbo-results button {
  background: var(--rbo-accent);
  color: #fff;
  border-radius: 12px;
  border: 1px solid var(--rbo-accent);
  padding: 10px 16px;
  cursor: pointer;
}

.rbo-results img {
  border-radius: 14px;
}

.rbo-search-shell .mphb_sc_search-form,
.rbo-panel .mphb_sc_search-form,
.rbo-panel .mphb_sc_room-availability-wrapper,
.rbo-panel .mphb-booking-form {
  margin: 0;
}

.rbo-search-shell form,
.rbo-panel form {
  display: grid;
  gap: 12px;
}

.rbo-search-shell input,
.rbo-search-shell select,
.rbo-panel input,
.rbo-panel select,
.rbo-panel textarea {
  min-height: 44px;
  border: 1px solid var(--rbo-border);
  border-radius: 12px;
  padding: 0 12px;
}

.rbo-panel textarea {
  min-height: 120px;
  padding: 12px;
}

.rbo-package-grid.is-compact {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .rbo-search-shell__inner,
  .rbo-room-shell__grid,
  .rbo-shell__hero {
    grid-template-columns: 1fr;
    display: grid;
  }

  .rbo-shell__hero,
  .rbo-room-shell__header {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .rbo-shell__hero,
  .rbo-search-shell,
  .rbo-panel {
    padding: 18px;
  }

  .rbo-card__head,
  .rbo-chatbot__form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .rbo-shell__controls,
  .rbo-room-shell__cta,
  .rbo-chatbot__footer {
    width: 100%;
  }

  .rbo-language-switcher__link,
  .rbo-button,
  .rbo-chatbot__form button {
    width: 100%;
  }
}
