/* Shalbon Rooms - everything is scoped under .sbo so it can't clash with the theme */
.sbo {
  --sbo-bg: #1b2b20;
  --sbo-card: #2b4130;
  --sbo-gold: #d4a62a;
  --sbo-cream: #f6f1d8;
  --sbo-text: #d8d9c2;
  --sbo-muted: #a9ae98;
  --sbo-line: rgba(212,166,42,.25);

  display: block;
  width: 100%;
  max-width: none;
  float: none;
  clear: both;
  padding: 8px 24px 0;
  background: var(--sbo-bg);
  font-family: "Inter", system-ui, sans-serif;
  /* full-width background, even inside a padded parent */
  box-shadow: 0 0 0 100vmax var(--sbo-bg);
  clip-path: inset(0 -100vmax);
}
.sbo *, .sbo *::before, .sbo *::after { box-sizing: border-box; }
.sbo .sbo-inner { width: 100%; max-width: 1180px; margin: 0 auto; }
.sbo .sbo-ic { display: block; flex: none; width: 14px; height: 14px; color: var(--sbo-gold); }

/* optional heading */
.sbo .sbo-head { text-align: center; margin: 24px auto 44px; max-width: 560px; }
.sbo .sbo-head h2 { margin: 0 0 14px; padding: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; font-weight: 700; color: var(--sbo-cream); }
.sbo .sbo-head p { margin: 0; padding: 0; font-size: 16px; line-height: 1.6; color: #d6d9b0; }

/* ---------- Cards (any number of rooms, the last row stays centered) ---------- */
.sbo .sbo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 28px; }
.sbo .sbo-card { display: flex; flex-direction: column; flex: 0 1 calc((100% - 56px) / 3); min-width: 0; overflow: hidden; background: var(--sbo-card); border: 1px solid var(--sbo-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* image slider */
.sbo .sbo-slider { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #22362a; }
.sbo .sbo-track { display: flex; width: 100%; height: 100%; transition: transform .5s ease; }
.sbo .sbo-track img { flex: 0 0 100%; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.sbo .sbo-slider::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(43,65,48,.85), rgba(43,65,48,0)); pointer-events: none; }
.sbo .sbo-badge { position: absolute; z-index: 3; top: 14px; right: 14px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: #1a1a12; background: var(--sbo-gold); border-radius: 999px; }

.sbo .sbo-arrow { position: absolute; z-index: 3; top: 50%; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; padding: 0; color: var(--sbo-gold); background: rgba(18,34,25,.62) !important; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer; opacity: 0; transition: opacity .25s ease, background .2s; }
.sbo .sbo-arrow:hover { background: rgba(18,34,25,.85) !important; }
.sbo .sbo-arrow svg { display: block; width: 18px; height: 18px; color: var(--sbo-gold); }
.sbo .sbo-prev { left: 12px; }
.sbo .sbo-next { right: 12px; }
.sbo .sbo-slider:hover .sbo-arrow, .sbo .sbo-slider:focus-within .sbo-arrow { opacity: 1; }

.sbo .sbo-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 7px; opacity: 0; transition: opacity .25s ease; }
.sbo .sbo-slider:hover .sbo-dots, .sbo .sbo-slider:focus-within .sbo-dots { opacity: 1; }
.sbo .sbo-dot { width: 8px; height: 8px; padding: 0; background: rgba(246,241,216,.55) !important; border: 0; border-radius: 999px; box-shadow: none; cursor: pointer; transition: width .3s, background .3s; }
.sbo .sbo-dot.sbo-on { width: 24px; background: var(--sbo-gold) !important; }
.sbo .sbo-arrow:focus-visible, .sbo .sbo-dot:focus-visible { outline: 2px solid var(--sbo-gold); outline-offset: 2px; }

/* phones and tablets have no hover, so keep the controls visible */
@media (hover: none) {
  .sbo .sbo-arrow, .sbo .sbo-dots { opacity: 1; }
}

/* card body */
.sbo .sbo-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.sbo .sbo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sbo .sbo-name { margin: 0 0 8px; padding: 0; font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--sbo-cream); }
.sbo .sbo-who { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 12px; color: var(--sbo-text); }
.sbo .sbo-price { text-align: right; flex: none; }
.sbo .sbo-price b { display: block; font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--sbo-gold); white-space: nowrap; }
.sbo .sbo-price span { display: block; margin-top: 4px; font-size: 11px; color: var(--sbo-muted); }

.sbo .sbo-desc { margin: 0 0 20px; padding: 0; font-size: 13px; line-height: 1.7; color: var(--sbo-text); }
.sbo .sbo-h { margin: 0 0 10px; padding: 0; font-size: 13px; font-weight: 600; color: var(--sbo-cream); }

.sbo .sbo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.sbo .sbo-chips li { display: inline-block; margin: 0; padding: 6px 12px; line-height: 1.4; font-size: 12px; color: var(--sbo-cream); background: rgba(18,34,25,.35); border: 1px solid rgba(212,166,42,.3); border-radius: 6px; }
.sbo .sbo-chips li::before, .sbo .sbo-feat li::before { content: none; }

.sbo .sbo-feat { margin: 0 0 22px; padding: 0; list-style: none; }
.sbo .sbo-feat li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 0; font-size: 12px; line-height: 1.5; color: var(--sbo-text); }
.sbo .sbo-feat li .sbo-ic { margin-top: 1px; color: #b9b868; }

.sbo .sbo-btn { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: auto; padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1; color: #1a1a12; text-decoration: none; background: var(--sbo-gold); border: 0; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: filter .2s, transform .2s; }
.sbo .sbo-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #1a1a12; }

@media (max-width: 960px) {
  .sbo .sbo-grid { gap: 24px; }
  .sbo .sbo-card { flex: 1 1 100%; max-width: 560px; }
}
@media (max-width: 600px) {
  .sbo { padding: 8px 16px 0; }
  .sbo .sbo-body { padding: 20px 18px 20px; }
  .sbo .sbo-name, .sbo .sbo-price b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .sbo * { transition: none !important; } }
