/* Casa Bom Dia — "stay with us" block (see /assets/stay-block.js). Self-contained, light and dark. */
.cbd-stay {
  --s-bg: #12324a; --s-ink: #ffffff; --s-muted: #c9d4dc; --s-card: #ffffff; --s-card-ink: #12324a; --s-card-muted: #3f5567;
  --s-sun: #f2b232; --s-on-sun: #12324a; --s-line: #e3dcd1; --s-field: #ffffff; --s-orange: #b8462e;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; box-sizing: border-box;
  background: var(--s-bg); color: var(--s-ink); padding: 56px 24px; margin: 0; text-align: left; clear: both;
}
@media (prefers-color-scheme: dark) {
  .cbd-stay { --s-bg: #0a1926; --s-card: #16304a; --s-card-ink: #f2ede4; --s-card-muted: #c2ccd3; --s-line: #2a4560; --s-field: #0f2232; --s-orange: #f29a68; }
}
.cbd-stay * { box-sizing: border-box; }
.cbd-stay-in { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px 48px; align-items: start; }
.cbd-stay-copy h2 { margin: 0 0 12px; font-family: "Bricolage Grotesque", "DM Sans", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1; color: var(--s-ink); }
.cbd-stay-copy p { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.55; color: var(--s-muted); }
.cbd-stay-alt a { color: var(--s-sun); font-weight: 700; text-underline-offset: 4px; }
.cbd-stay-form { background: var(--s-card); color: var(--s-card-ink); border-radius: 22px; padding: 22px; margin: 0; }
.cbd-stay-note { margin: 0 0 12px; font-size: .9rem; font-weight: 700; color: var(--s-card-ink); }
.cbd-stay-note.is-example { color: var(--s-orange); }
.cbd-stay-fields { display: grid; grid-template-columns: 1.3fr .7fr 1.3fr; gap: 12px; }
.cbd-stay-fields label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--s-card-muted); }
.cbd-stay-fields input, .cbd-stay-fields select { font: inherit; font-size: 1rem; font-weight: 500; color: var(--s-card-ink); background: var(--s-field);
  border: 1.5px solid #8a8172; border-radius: 12px; padding: 10px 12px; min-height: 48px; width: 100%; }
.cbd-stay-go, .cbd-stay-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--s-sun); color: var(--s-on-sun); font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.cbd-stay-go { width: 100%; margin-top: 14px; }
.cbd-stay-go:hover, .cbd-stay-btn:hover { filter: brightness(.96); }
.cbd-stay :focus-visible { outline: 3px solid #e06a2c; outline-offset: 2px; }
.cbd-stay-res { grid-column: 2; }
.cbd-stay-res:empty { display: none; }
.cbd-stay-status { margin: 4px 0 12px; color: var(--s-muted); }
.cbd-stay-peak { margin: 0 0 12px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--s-sun); color: var(--s-on-sun); font-weight: 700; font-size: .9rem; }
.cbd-stay-rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cbd-stay-room { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: var(--s-card); color: var(--s-card-ink);
  border-radius: 18px; padding: 10px 14px 10px 10px; }
.cbd-stay-room img { width: 84px; height: 72px; object-fit: cover; border-radius: 12px; display: block; }
.cbd-stay-room div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cbd-stay-room b { font-size: 1.05rem; }
.cbd-stay-room span { font-size: .9rem; color: var(--s-card-muted); }
.cbd-stay-room .cbd-stay-price { font-weight: 700; color: var(--s-card-ink); font-size: 1rem; margin-top: 2px; }
.cbd-stay-room.is-off { opacity: .62; }
.cbd-stay-off { font-style: italic; }
.cbd-stay-links { color: var(--s-muted); }
.cbd-stay-links a, .cbd-stay-whole a:not(.cbd-stay-btn) { color: var(--s-sun); font-weight: 700; }
.cbd-stay-whole { background: var(--s-card); color: var(--s-card-ink); border-radius: 18px; padding: 18px; }
.cbd-stay-whole p { margin: 0 0 12px; }
@media (max-width: 900px) {
  .cbd-stay { padding: 44px 18px; }
  .cbd-stay-in { grid-template-columns: 1fr; }
  .cbd-stay-res { grid-column: 1; }
}
@media (max-width: 560px) {
  .cbd-stay-fields { grid-template-columns: 1fr 1fr; }
  .cbd-stay-fields label:first-child { grid-column: 1 / -1; }
  .cbd-stay-room { grid-template-columns: 64px 1fr; }
  .cbd-stay-room img { width: 64px; height: 60px; }
  .cbd-stay-room .cbd-stay-btn { grid-column: 1 / -1; }
}
