/* =========================================================
   BOOKING ENGINE BASE
   Corporate / Minimal / Trivago-inspired foundation
========================================================= */

/* ------------------------------
   TOKENS
------------------------------ */
:root {
  --be-primary: #1f5fae;
  --be-primary-dark: #184c8b;
  --be-secondary: #1f2937;
  --be-accent: #0f766e;

  --be-bg: #f4f6f8;
  --be-bg-soft: #f8fafc;
  --be-card: #ffffff;

  --be-text: #111827;
  --be-text-soft: #374151;
  --be-muted: #6b7280;
  --be-muted-light: #9ca3af;

  --be-border: #e5e7eb;
  --be-border-light: #eef2f7;
  --be-border-strong: #d1d5db;

  --be-success-bg: #eff8f3;
  --be-success-text: #246a43;
  --be-success-border: #cfe9d9;

  --be-warning-bg: #fff7ed;
  --be-warning-text: #9a5b16;
  --be-warning-border: #f2d5b4;

  --be-danger-bg: #fef2f2;
  --be-danger-text: #b42318;
  --be-danger-border: #f5c9c7;

  --be-info-bg: #eff6ff;
  --be-info-text: #1d4f91;
  --be-info-border: #cfe0fb;

  --be-radius: 12px;
  --be-radius-lg: 16px;
  --be-radius-xl: 20px;
  --be-radius-full: 9999px;

  --be-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
  --be-shadow-md: 0 10px 24px rgba(17, 24, 39, 0.06);
  --be-shadow-lg: 0 18px 36px rgba(17, 24, 39, 0.08);

  --be-container: 1440px;
  --be-header-height: 72px;
  --be-transition: 0.18s ease;
}

/* ------------------------------
   RESET / BASE
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--be-bg);
  color: var(--be-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 700;
}

/* ------------------------------
   LAYOUT
------------------------------ */
.be-container {
  width: min(var(--be-container), calc(100% - 32px));
  margin-inline: auto;
}

.be-main {
  padding: 20px 0 48px;
}

.be-section {
  margin-bottom: 24px;
}

.be-modern-stack {
  display: grid;
  gap: 20px;
}

.be-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 960px) {
  .be-grid-2 {
    grid-template-columns: minmax(0, 1.42fr) minmax(400px, 0.86fr);
    gap: 30px;
  }

  .be-sticky-col {
    position: sticky;
    top: calc(var(--be-header-height) + 20px);
    align-self: start;
  }
}

.be-layout__main,
.be-layout__side {
  min-width: 0;
}

.be-layout__side {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .be-layout--modern {
    align-items: start;
  }
}
/* ------------------------------
   HEADER
------------------------------ */
.be-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--be-border);
}

.be-header__inner {
  min-height: var(--be-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.be-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.be-brand__logo {
  width: 62px;
  height: 50px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: transparent;
}

.be-brand__logo-img {
  width: 100%;
  height: 100%;
  display: block;
}

.be-brand__logo-img--contain {
  object-fit: contain;
  padding: 2px;
}

.be-brand__logo-img--cover {
  object-fit: cover;
  border-radius: 14px;
}

.be-brand__logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--be-primary), var(--be-secondary));
}

.be-brand__meta {
  min-width: 0;
}

.be-brand__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.be-brand__sub {
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--be-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.be-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.be-contact-link {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 960px) {
  .be-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  .be-contact-link {
    max-width: 130px;
  }
}

@media (max-width: 640px) {
  .be-header__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .be-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .be-header__actions .be-btn,
  .be-header__actions .be-contact-link {
    flex: 1 1 0;
    justify-content: center;
  }

  .be-contact-link {
    max-width: none;
  }
}

/* ------------------------------
   NAV
------------------------------ */
.be-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1100px) {
  .be-nav {
    display: flex;
  }
}

.be-nav__link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--be-muted);
  transition: all var(--be-transition);
}

.be-nav__link:hover {
  color: var(--be-text);
  background: var(--be-bg-soft);
}

.be-subnav {
  border-top: 1px solid var(--be-border-light);
  background: var(--be-card);
}

@media (min-width: 1100px) {
  .be-subnav {
    display: none;
  }
}

.be-subnav__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.be-subnav__inner::-webkit-scrollbar {
  display: none;
}

.be-subnav__link {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--be-radius-full);
  background: var(--be-card);
  border: 1px solid var(--be-border);
  color: var(--be-text);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--be-transition);
}

.be-subnav__link:hover {
  background: var(--be-bg-soft);
  border-color: var(--be-border-strong);
}

/* ------------------------------
   BUTTONS
------------------------------ */
.be-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--be-radius);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  background: var(--be-card);
  transition: all var(--be-transition);
  white-space: nowrap;
  width: 100%;
}

@media (min-width: 640px) {
  .be-btn {
    width: auto;
  }
}

.be-btn:hover {
  transform: translateY(-1px);
}

.be-btn:active {
  transform: translateY(0);
}

.be-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.be-btn--primary {
  background: var(--be-primary);
  border-color: var(--be-primary);
  color: #fff;
  box-shadow: var(--be-shadow);
}

.be-btn--primary:hover {
  background: var(--be-primary-dark);
  border-color: var(--be-primary-dark);
  box-shadow: var(--be-shadow-md);
}

.be-btn--ghost {
  background: var(--be-card);
  border-color: var(--be-border);
  color: var(--be-text);
}

.be-btn--ghost:hover {
  background: var(--be-bg-soft);
  border-color: var(--be-border-strong);
}

.be-btn--soft {
  background: var(--be-info-bg);
  border-color: var(--be-info-border);
  color: var(--be-info-text);
}

.be-btn--soft:hover {
  background: #e7f0ff;
}

.be-btn--block {
  width: 100%;
}

.be-btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--be-radius-full);
}

.be-btn--sm {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.84rem;
  width: auto;
}

/* ------------------------------
   CARD SYSTEM
------------------------------ */
.be-card {
  background: var(--be-card);
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius-lg);
  box-shadow: var(--be-shadow);
  overflow: hidden;
}

.be-card--padded {
  padding: 18px;
}

@media (min-width: 640px) {
  .be-card--padded {
    padding: 22px;
  }
}

.be-card--tight {
  padding: 14px;
}

@media (min-width: 640px) {
  .be-card--tight {
    padding: 16px;
  }
}

.be-card--soft {
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
}

/* ------------------------------
   TYPOGRAPHY / HELPERS
------------------------------ */
.be-section__head {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.be-section__title {
  margin: 0;
  font-size: clamp(1.35rem, 1rem + 2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.be-section__sub {
  margin-top: 6px;
  color: var(--be-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.be-muted {
  color: var(--be-muted);
}

.be-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: var(--be-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.be-badge--success {
  color: var(--be-success-text);
  background: var(--be-success-bg);
  border-color: var(--be-success-border);
}

.be-badge--warning {
  color: var(--be-warning-text);
  background: var(--be-warning-bg);
  border-color: var(--be-warning-border);
}

.be-badge--info {
  color: var(--be-info-text);
  background: var(--be-info-bg);
  border-color: var(--be-info-border);
}

.be-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--be-radius-full);
  background: var(--be-bg-soft);
  color: var(--be-text-soft);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--be-border);
}

.be-highlight-box {
  padding: 14px 16px;
  border-radius: var(--be-radius);
  border: 1px solid var(--be-border);
  background: var(--be-bg-soft);
}

.be-hidden {
  display: none !important;
}

/* ------------------------------
   COMMON FORMS
------------------------------ */
.be-form-grid {
  display: grid;
  gap: 14px;
}

.be-form-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .be-form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.be-form-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .be-form-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.be-form-group {
  display: flex;
  flex-direction: column;
}

.be-label {
  display: block;
  margin-bottom: 6px;
  color: var(--be-text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.be-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--be-radius);
  border: 1px solid var(--be-border);
  background: var(--be-card);
  color: var(--be-text);
  font-size: 0.95rem;
  transition: border-color var(--be-transition), box-shadow var(--be-transition);
}

.be-field:hover {
  border-color: var(--be-border-strong);
}

.be-field:focus {
  outline: none;
  border-color: var(--be-primary);
  box-shadow: 0 0 0 3px rgba(31, 95, 174, 0.1);
}

.be-field:disabled {
  background: var(--be-bg-soft);
  color: var(--be-muted);
  cursor: not-allowed;
}

.be-form-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--be-border);
  color: var(--be-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ------------------------------
   DATE MODAL FOUNDATION
------------------------------ */
.be-date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--be-border);
  background: #fff;
  color: var(--be-text);
}

.be-date-trigger:hover {
  border-color: var(--be-border-strong);
}

.be-date-trigger:focus {
  outline: none;
  border-color: #b7c4d4;
  box-shadow: 0 0 0 3px rgba(31, 95, 174, 0.08);
}

.be-date-trigger__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.be-date-trigger__content {
  display: grid;
  gap: 4px;
}

.be-date-trigger__label {
  font-size: 0.84rem;
  color: var(--be-muted);
  font-weight: 600;
}

.be-date-trigger__value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--be-text);
}

.be-date-modal[hidden] {
  display: none;
}

.be-date-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.be-date-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(4px);
}

.be-date-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 24px));
  margin: 5vh auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
  overflow: hidden;
}

.be-date-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--be-border);
}

.be-date-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.be-date-modal__sub {
  margin-top: 6px;
  color: var(--be-muted);
  font-size: 0.92rem;
}

.be-date-modal__body {
  padding: 20px 22px;
}

.be-date-modal__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--be-border);
}

.be-date-modal__close {
  width: 40px;
  height: 40px;
  border-radius: var(--be-radius-full);
  background: #f8fafc;
  color: var(--be-text);
  font-size: 1.4rem;
}

.be-date-modal__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.be-date-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius-full);
  background: #fff;
  color: var(--be-text);
  font-size: 1.2rem;
  line-height: 1;
}

.be-date-nav-btn:hover {
  background: #f9fafb;
  border-color: var(--be-border-strong);
}

.be-date-calendar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.be-cal {
  border: 1px solid var(--be-border);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.be-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.be-cal__title {
  font-weight: 700;
  font-size: 0.96rem;
}

.be-cal__weekdays,
.be-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.be-cal__weekday {
  text-align: center;
  font-size: 0.78rem;
  color: var(--be-muted);
  padding: 6px 0;
  font-weight: 600;
}

.be-cal__day {
  height: 42px;
  border-radius: 10px;
  background: transparent;
  color: var(--be-text);
  font-weight: 600;
}

.be-cal__day:hover {
  background: #f3f4f6;
}

.be-cal__day.is-muted {
  color: #c0c6cf;
}

.be-cal__day.is-start,
.be-cal__day.is-end {
  background: var(--be-primary);
  color: #fff;
}

.be-cal__day.is-in-range {
  background: #eef4fb;
  color: var(--be-text);
}

.be-cal__day.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 860px) {
  .be-date-modal__dialog {
    width: calc(100% - 12px);
    margin: 2vh auto;
    height: 96vh;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
  }

  .be-date-modal__body {
    flex: 1 1 auto;
    overflow: auto;
  }

  .be-date-calendar {
    grid-template-columns: 1fr;
  }

  .be-date-modal__footer {
    position: sticky;
    bottom: 0;
    background: #fff;
  }

  .be-date-nav-btn {
    display: none;
  }
}

/* ------------------------------
   GALLERY / LIGHTBOX BASE
------------------------------ */
.be-gallery {
  padding: 14px;
}

@media (min-width: 640px) {
  .be-gallery {
    padding: 16px;
  }
}

.be-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .be-gallery__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
  }
}

.be-gallery__item {
  position: relative;
  border-radius: var(--be-radius);
  overflow: hidden;
  background: var(--be-bg-soft);
  border: 1px solid var(--be-border);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.be-gallery__item--main {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .be-gallery__item--main {
    grid-column: auto;
    grid-row: span 2;
  }
}

.be-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.be-gallery__item:hover img {
  transform: scale(1.02);
}

.be-gallery__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.6));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.be-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.be-lightbox[hidden] {
  display: none;
}

.be-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.be-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 24px));
  max-height: 90vh;
  margin: 4vh auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
}

@media (min-width: 640px) {
  .be-lightbox__dialog {
    grid-template-columns: 50px minmax(0, 1fr) 50px;
    gap: 16px;
  }
}

.be-lightbox__content {
  background: var(--be-card);
  border-radius: var(--be-radius-lg);
  overflow: hidden;
  box-shadow: var(--be-shadow-lg);
}

.be-lightbox__content img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: var(--be-secondary);
}

.be-lightbox__meta {
  padding: 14px 16px;
  background: var(--be-card);
}

.be-lightbox__title {
  font-weight: 700;
  color: var(--be-text);
}

.be-lightbox__caption {
  margin-top: 6px;
  color: var(--be-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.be-lightbox__close,
.be-lightbox__nav {
  width: 44px;
  height: 44px;
  border-radius: var(--be-radius-full);
  background: var(--be-card);
  color: var(--be-text);
  box-shadow: var(--be-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.be-lightbox__close {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 1.5rem;
  z-index: 4;
}

.be-lightbox__nav {
  display: none;
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .be-lightbox__close {
    top: 0;
  }

  .be-lightbox__nav {
    display: flex;
  }
}

/* ------------------------------
   ROOM CARD SKELETON
------------------------------ */
/* ------------------------------
   ROOM CARD FOUNDATION
   Structural only - no mode styling
------------------------------ */
.be-room-list {
  display: grid;
  gap: 18px;
}

.be-room-card {
  padding: 20px;
}

@media (min-width: 640px) {
  .be-room-card {
    padding: 24px;
  }
}

.be-room-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 900px) {
  .be-room-card__grid {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  .be-room-card__grid {
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 28px;
  }
}

.be-room-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--be-radius-lg);
  border: 1px solid var(--be-border);
  background: var(--be-bg-soft);
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

@media (max-width: 899px) {
  .be-room-card__media {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }
}

.be-room-card__media-fallback {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: linear-gradient(135deg, #eceff3, #f7f8fa);
}

.be-room-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.be-room-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.be-room-slider__slide {
  display: none;
  width: 100%;
  height: 100%;
}

.be-room-slider__slide.is-active {
  display: block;
}

.be-room-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-room-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: var(--be-radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--be-text);
  box-shadow: var(--be-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.be-room-slider__nav--prev {
  left: 10px;
}

.be-room-slider__nav--next {
  right: 10px;
}

.be-room-slider__dots {
  position: absolute;
  inset-inline: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.be-room-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--be-radius-full);
  background: rgba(255, 255, 255, 0.58);
  transition: all var(--be-transition);
}

.be-room-slider__dot.is-active {
  width: 20px;
  background: #fff;
}

.be-room-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.be-room-card__top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 640px) {
  .be-room-card__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.be-room-card__info {
  flex: 1 1 auto;
  min-width: 0;
}

.be-room-card__title {
  margin: 0 0 6px;
  font-size: clamp(1.28rem, 1rem + 0.6vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--be-text);
}

.be-room-card__headline {
  color: var(--be-text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.be-room-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.be-room-card__desc-wrap {
  margin-top: 10px;
}

.be-room-card__desc {
  margin: 0;
  color: var(--be-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.be-room-card__desc.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.be-room-card__toggle {
  margin-top: 8px;
  padding: 0;
  color: var(--be-primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.be-room-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.be-room-card__price {
  flex: 0 0 auto;
  min-width: 150px;
  text-align: left;
}

@media (min-width: 640px) {
  .be-room-card__price {
    text-align: right;
  }
}

.be-room-card__price-label {
  color: var(--be-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.be-room-card__price-value {
  margin-top: 4px;
  color: var(--be-primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.be-room-card__price-sub {
  margin-top: 4px;
  color: var(--be-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.be-room-card__bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--be-border);
}

.be-room-card__rate-options {
  display: grid;
  gap: 14px;
}

.be-room-card__rate-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--be-border);
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 900px) {
  .be-room-card__rate-option {
    grid-template-columns: 1fr;
  }
}

.be-room-card__rate-option-main {
  min-width: 0;
}

.be-room-card__rate-option-title {
  color: var(--be-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.be-room-card__rate-option-meta {
  margin-top: 6px;
  color: var(--be-text-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.be-room-card__rate-option-desc {
  margin-top: 8px;
  color: var(--be-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.be-room-card__rate-option-stock {
  margin-top: 10px;
  color: var(--be-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.be-room-card__rate-option-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

@media (max-width: 900px) {
  .be-room-card__rate-option-side {
    align-items: stretch;
    text-align: left;
  }
}

.be-room-card__rate-option-price {
  color: var(--be-text);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.be-room-card__rate-option-sub {
  color: var(--be-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.be-room-card__qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--be-border);
  border-radius: 14px;
  background: #fff;
}

.be-room-card__qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--be-border);
  background: #fff;
  color: var(--be-text);
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.be-room-card__qty-value {
  width: 42px;
  height: 30px;
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--be-text);
  font-size: 0.9rem;
  font-weight: 800;
  pointer-events: none;
}

.be-room-card__rule-note {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--be-warning-bg);
  border: 1px solid var(--be-warning-border);
  color: var(--be-warning-text);
  font-size: 0.82rem;
  line-height: 1.55;
}

.be-room-card__fallback-facts {
  color: var(--be-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.be-room-card__cta-wrap {
  min-width: 160px;
}

@media (max-width: 900px) {
  .be-room-card__cta-wrap {
    min-width: 0;
    width: 100%;
  }
}

/* ------------------------------
   FOOTER
------------------------------ */
.be-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  padding: 36px 0 24px;
  color: var(--be-muted);
}

.be-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: 28px;
  align-items: start;
}

.be-footer__brand {
  max-width: 420px;
}

.be-footer__title {
  margin-bottom: 10px;
  color: var(--be-text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.be-footer__text {
  color: var(--be-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.be-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.be-footer__heading {
  margin-bottom: 12px;
  color: var(--be-text);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.be-footer__list {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  line-height: 1.7;
}

.be-footer__list a {
  color: var(--be-muted);
}

.be-footer__list a:hover {
  color: var(--be-text);
}

.be-footer__bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--be-border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.be-footer__bottom-text {
  color: var(--be-muted);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .be-footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .be-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .be-footer {
    padding: 28px 0 20px;
  }

  .be-footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .be-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.be-shell,
.be-main,
.be-container,
.be-grid-2,
.be-layout__main,
.be-layout__side {
  min-width: 0;
}


body.be-modal-open {
  overflow: hidden;
}


.be-date-modal[hidden] {
  display: none !important;
}

.be-date-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  isolation: isolate;
}

.be-date-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.be-date-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(17, 24, 39, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.be-date-modal__body {
  padding: 20px 22px;
  overflow: auto;
  flex: 1 1 auto;
}

.be-date-modal__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--be-border);
  background: #fff;
  flex: 0 0 auto;
}

body.be-modal-open {
  overflow: hidden;
}



.be-guest-modal[hidden] {
  display: none !important;
}

.be-guest-modal {
  position: fixed;
  inset: 0;
  z-index: 20010;
  isolation: isolate;
}

.be-guest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.be-guest-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 32px));
  margin: 48px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(17, 24, 39, 0.22);
  overflow: hidden;
}

.be-guest-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--be-border);
}

.be-guest-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
}

.be-guest-modal__sub {
  margin-top: 6px;
  color: var(--be-muted);
  font-size: 0.92rem;
}

.be-guest-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--be-border);
  font-size: 1.4rem;
}

.be-guest-modal__body {
  padding: 20px 22px;
  display: grid;
  gap: 18px;
}

.be-guest-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.be-guest-stepper__title {
  font-weight: 700;
  color: var(--be-text);
}

.be-guest-stepper__sub {
  margin-top: 4px;
  color: var(--be-muted);
  font-size: 0.85rem;
}

.be-guest-stepper__controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.be-guest-stepper__controls button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--be-border);
  background: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.be-guest-stepper__controls span {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--be-text);
}

.be-guest-modal__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 22px;
  border-top: 1px solid var(--be-border);
  background: #fff;
}

@media (max-width: 640px) {
  .be-guest-modal__dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
    border-radius: 18px;
  }

  .be-guest-stepper {
    align-items: flex-start;
    flex-direction: column;
  }

  .be-guest-stepper__controls {
    width: 100%;
    justify-content: space-between;
  }
}


.be-selection-summary__capacity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.be-selection-summary__capacity > div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.be-selection-summary__capacity strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
}

.be-selection-summary__capacity span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: #64748b;
}

.be-selection-summary__warning {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.26);
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .be-selection-summary__capacity {
    grid-template-columns: 1fr;
  }
}