/* Hotel-X Booking Engine — navy + gold, clean cards. Bootstrap 5.3 base. */
:root {
  --be-primary: #1e3a8a;
  --be-primary-700: #172e6e;
  --be-primary-50: #eef2ff;
  --be-accent: #a16207;
  --be-accent-50: #fef6e4;
  --be-bg: #f8fafc;
  --be-card: #ffffff;
  --be-text: #0f172a;
  --be-muted: #475569;
  --be-border: #dbe3ef;
  --be-success: #15803d;
  --be-danger: #dc2626;
  --be-radius: 14px;
  --be-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 20px rgba(15, 23, 42, .06);
  --be-shadow-lg: 0 10px 40px rgba(15, 23, 42, .16);

  --bs-primary: var(--be-primary);
  --bs-primary-rgb: 30, 58, 138;
  --bs-link-color: var(--be-primary);
  --bs-link-hover-color: var(--be-primary-700);
  --bs-body-font-family: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--be-text);
  --bs-body-bg: var(--be-bg);
  --bs-border-color: var(--be-border);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .font-display { font-family: 'Playfair Display SC', Georgia, serif; letter-spacing: .01em; }
h4, h5, h6 { font-weight: 700; }
.text-muted, .text-secondary { color: var(--be-muted) !important; }
.text-accent { color: var(--be-accent) !important; }

/* Focus + motion */
:focus-visible { outline: 3px solid rgba(30, 58, 138, .45); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: .5rem 1rem; z-index: 2000; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { min-height: 44px; font-weight: 700; border-radius: 10px; transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.btn-sm { min-height: 36px; }
.btn-primary { --bs-btn-bg: var(--be-primary); --bs-btn-border-color: var(--be-primary); --bs-btn-hover-bg: var(--be-primary-700); --bs-btn-hover-border-color: var(--be-primary-700); --bs-btn-active-bg: var(--be-primary-700); --bs-btn-disabled-bg: var(--be-primary); --bs-btn-disabled-border-color: var(--be-primary); }
.btn-outline-primary { --bs-btn-color: var(--be-primary); --bs-btn-border-color: var(--be-primary); --bs-btn-hover-bg: var(--be-primary); --bs-btn-hover-border-color: var(--be-primary); }
.btn-accent { color: #fff; background: var(--be-accent); border-color: var(--be-accent); }
.btn-accent:hover, .btn-accent:focus { color: #fff; background: #854d06; border-color: #854d06; }
.btn-accent:disabled { background: var(--be-accent); border-color: var(--be-accent); color: #fff; opacity: .6; }

/* Navbar */
.be-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--be-border); }
.be-nav .navbar-brand { font-family: 'Playfair Display SC', Georgia, serif; font-weight: 700; color: var(--be-primary); display: flex; align-items: center; gap: .6rem; }
.be-nav .brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--be-primary-50); }
.be-nav .nav-link { color: var(--be-text); font-weight: 600; padding: .6rem .9rem; border-radius: 8px; }
.be-nav .nav-link:hover, .be-nav .nav-link.active { color: var(--be-primary); background: var(--be-primary-50); }
.cart-btn { position: relative; }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--be-accent); color: #fff; font-size: .72rem; line-height: 20px; font-weight: 700; text-align: center; }

/* Hero */
.hero { position: relative; min-height: 460px; color: #fff; background: linear-gradient(135deg, #1e3a8a 0%, #172e6e 60%, #0f1f4d 100%); overflow: hidden; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 50, .55) 0%, rgba(10, 20, 50, .35) 45%, rgba(10, 20, 50, .75) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 130px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero .lead { max-width: 640px; color: rgba(255, 255, 255, .92); }
.hero-chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); padding: .3rem .8rem; border-radius: 999px; font-size: .9rem; }

/* Search card */
.search-wrap { position: relative; z-index: 5; margin-top: -78px; }
.search-card { background: var(--be-card); border-radius: 18px; box-shadow: var(--be-shadow-lg); padding: 1.25rem; border: 1px solid var(--be-border); }
.search-card .form-label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--be-muted); margin-bottom: .3rem; }
.search-card .form-control, .search-card .form-select { min-height: 48px; border-radius: 10px; }
.night-pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--be-accent-50); color: var(--be-accent); font-weight: 700; padding: .25rem .7rem; border-radius: 999px; font-size: .85rem; }

/* Sections */
.section { padding: 64px 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--be-primary); margin-bottom: .35rem; }
.section-sub { color: var(--be-muted); margin-bottom: 1.75rem; }
.section-alt { background: #fff; border-top: 1px solid var(--be-border); border-bottom: 1px solid var(--be-border); }

/* Room cards */
.room-card { background: var(--be-card); border: 1px solid var(--be-border); border-radius: var(--be-radius); overflow: hidden; box-shadow: var(--be-shadow); display: flex; flex-direction: column; height: 100%; transition: box-shadow .2s, transform .2s; }
.room-card:hover { box-shadow: var(--be-shadow-lg); transform: translateY(-2px); }
.room-media { position: relative; aspect-ratio: 16 / 10; background: #e2e8f0; }
.room-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-media .carousel, .room-media .carousel-inner, .room-media .carousel-item { height: 100%; }
.room-media .no-img { display: grid; place-items: center; height: 100%; color: #94a3b8; font-size: 2.5rem; }
.avail-badge { position: absolute; left: 12px; top: 12px; z-index: 3; font-size: .8rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: #fff; box-shadow: var(--be-shadow); }
.avail-badge.ok { color: var(--be-success); }
.avail-badge.low { color: #b45309; }
.avail-badge.out { color: var(--be-danger); }
.room-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.room-title { font-size: 1.25rem; margin: 0; color: var(--be-text); }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--be-muted); font-size: .92rem; }
.meta-row i { color: var(--be-primary); margin-right: .25rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; background: var(--be-primary-50); color: var(--be-primary); padding: .2rem .6rem; border-radius: 999px; font-weight: 600; }
.price-from { font-size: .82rem; color: var(--be-muted); }
.price-main { font-size: 1.6rem; font-weight: 800; color: var(--be-primary); line-height: 1.1; }
.room-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.room-card.soldout { opacity: .78; }
.room-card.soldout .room-media img { filter: grayscale(.8); }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--be-border); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 1.2rem; color: var(--be-primary); }
.stepper button:hover:not(:disabled) { background: var(--be-primary-50); }
.stepper button:disabled { color: #cbd5e1; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font-weight: 700; }

/* Rate plan radio cards */
.plan-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1.5px solid var(--be-border); border-radius: 12px; padding: .8rem 1rem; cursor: pointer; transition: border-color .15s, background .15s; }
.plan-option:hover { border-color: var(--be-primary); }
.plan-option.active { border-color: var(--be-primary); background: var(--be-primary-50); }
.plan-option input { accent-color: var(--be-primary); width: 18px; height: 18px; }

/* Cards (generic) */
.card-be { background: var(--be-card); border: 1px solid var(--be-border); border-radius: var(--be-radius); box-shadow: var(--be-shadow); }
.offer-card { border: 1px dashed var(--be-accent); background: var(--be-accent-50); border-radius: var(--be-radius); padding: 1.1rem 1.2rem; height: 100%; }
.offer-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .08em; background: #fff; border: 1px solid var(--be-accent); color: var(--be-accent); padding: .25rem .6rem; border-radius: 8px; }
.amenity-item { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; background: #fff; border: 1px solid var(--be-border); border-radius: 10px; font-weight: 600; font-size: .95rem; }
.amenity-item i { color: var(--be-accent); }
.place-card { overflow: hidden; border-radius: var(--be-radius); border: 1px solid var(--be-border); background: #fff; height: 100%; }
.place-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: #e2e8f0; }

/* Cart drawer */
.cart-line { border-bottom: 1px solid var(--be-border); padding: .9rem 0; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #e2e8f0; flex: none; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--be-border); box-shadow: 0 -6px 24px rgba(15, 23, 42, .1); padding: .75rem 0; transform: translateY(110%); transition: transform .25s; }
.sticky-bar.show { transform: translateY(0); }

/* Checkout */
.steps { display: flex; gap: .5rem; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--be-muted); }
.step .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; color: var(--be-muted); font-size: .85rem; }
.step.active { color: var(--be-primary); }
.step.active .dot { background: var(--be-primary); color: #fff; }
.summary-card { position: sticky; top: 92px; }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.price-row.total { border-top: 1px solid var(--be-border); margin-top: .5rem; padding-top: .8rem; font-size: 1.15rem; font-weight: 800; color: var(--be-primary); }
.pay-option { border: 1.5px solid var(--be-border); border-radius: 12px; padding: .9rem 1rem; display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option:hover { border-color: var(--be-primary); }
.pay-option.active { border-color: var(--be-primary); background: var(--be-primary-50); }
.pay-option input { margin-top: .25rem; accent-color: var(--be-primary); width: 18px; height: 18px; }
.form-control, .form-select { min-height: 46px; border-radius: 10px; }
textarea.form-control { min-height: 90px; }
.form-label { font-weight: 700; font-size: .92rem; }
.success-ring { width: 84px; height: 84px; border-radius: 50%; background: #dcfce7; color: var(--be-success); display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 1rem; }
.pay-frame { width: 100%; height: 70vh; border: 0; border-radius: 10px; background: #f1f5f9; }

/* Footer */
.be-footer { background: #0f1f4d; color: #cbd5e1; padding: 52px 0 24px; margin-top: 0; }
.be-footer h6 { color: #fff; font-family: 'Playfair Display SC', Georgia, serif; letter-spacing: .03em; }
.be-footer a { color: #cbd5e1; text-decoration: none; }
.be-footer a:hover { color: #fff; text-decoration: underline; }
.be-footer .social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); margin-right: .4rem; }
.be-footer .social a:hover { background: var(--be-accent); text-decoration: none; }

/* Skeleton + states */
.skel { background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 37%, #e2e8f0 63%); background-size: 400% 100%; animation: skel 1.3s ease infinite; border-radius: 10px; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.state-box { text-align: center; padding: 3rem 1rem; color: var(--be-muted); }
.state-box i { font-size: 2.6rem; color: var(--be-primary); display: block; margin-bottom: .6rem; }
.boot-screen { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }

@media (max-width: 767.98px) {
  .hero-content { padding-top: 64px; padding-bottom: 110px; }
  .section { padding: 44px 0; }
  .summary-card { position: static; }
}

/* ============ Ticker (offers + amenities) ============ */
.ticker { background: var(--be-primary-700); color: #fff; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ticker-track { display: flex; width: max-content; animation: ticker-move 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1.4rem; white-space: nowrap; font-size: .9rem; font-weight: 600; background: none; border: 0; color: inherit; min-height: 44px; }
.ticker-item[data-copy] { cursor: pointer; }
.ticker-item[data-copy]:hover { background: rgba(255, 255, 255, .08); }
.ticker-item:disabled { opacity: 1; cursor: default; }
.ticker-item .ti { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; flex: none; }
@keyframes ticker-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none !important; }
}

.offer-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; color: #fff; flex: none; }
.amenity-item span { overflow-wrap: anywhere; }

/* ============ HIVA chatbot ============ */
.hiva { position: fixed; right: 16px; bottom: 16px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.has-stay-bar .hiva { bottom: 88px; }
.hiva-launch { display: flex; align-items: center; gap: 10px; }
.hiva-label { background: #fff; color: var(--be-primary); border: 1px solid var(--be-border); box-shadow: var(--be-shadow); border-radius: 999px; padding: .45rem .9rem; font-weight: 800; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.hiva-fab { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--be-primary); color: #fff; font-size: 1.4rem; box-shadow: var(--be-shadow-lg); display: grid; place-items: center; transition: background-color .18s, transform .18s; }
.hiva-fab:hover { background: var(--be-primary-700); transform: scale(1.04); }
.hiva-panel { width: 390px; max-width: calc(100vw - 32px); height: min(660px, calc(100vh - 110px)); background: #fff; border: 1px solid var(--be-border); border-radius: 18px; box-shadow: var(--be-shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.hiva-panel[hidden] { display: none; }
.hiva-head { background: linear-gradient(135deg, var(--be-primary), var(--be-primary-700)); color: #fff; padding: .85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hiva-head strong { display: block; font-family: 'Playfair Display SC', Georgia, serif; letter-spacing: .02em; }
.hiva-online { font-size: .78rem; opacity: .9; display: inline-flex; align-items: center; gap: .35rem; }
.hiva-online i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.hiva-x { width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 10px; }
.hiva-x:hover { background: rgba(255, 255, 255, .26); }
.hiva-msgs { flex: 1 1 auto; min-height: 120px; overflow-y: auto; padding: .9rem; background: var(--be-bg); display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.hiva-msg { max-width: 88%; padding: .6rem .8rem; border-radius: 14px; font-size: .93rem; line-height: 1.45; overflow-wrap: anywhere; }
.hiva-bot { background: #fff; border: 1px solid var(--be-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.hiva-bot strong { color: var(--be-primary); font-size: .8rem; letter-spacing: .04em; }
.hiva-user { background: var(--be-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.hiva-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.hiva-act { border: 1px solid var(--be-primary); color: var(--be-primary); background: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .84rem; font-weight: 700; min-height: 36px; }
.hiva-act:hover { background: var(--be-primary); color: #fff; }
.hiva-form { margin-top: .6rem; }
.hiva-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.hiva-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: hiva-dot 1s infinite ease-in-out; }
.hiva-typing i:nth-child(2) { animation-delay: .15s; }
.hiva-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hiva-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hiva-tools { border-top: 1px solid var(--be-border); background: #fff; padding: .6rem .7rem .7rem; max-height: 40%; display: flex; flex-direction: column; gap: .5rem; min-height: 0; }
.hiva-search { position: relative; }
.hiva-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--be-muted); font-size: .85rem; }
.hiva-search input { width: 100%; min-height: 40px; border: 1px solid var(--be-border); border-radius: 10px; padding: .4rem .7rem .4rem 2.1rem; font-size: .9rem; }
.hiva-cats { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; flex: none; }
.hiva-chip { flex: none; border: 1px solid var(--be-border); background: #fff; color: var(--be-text); border-radius: 999px; padding: .3rem .75rem; font-size: .82rem; font-weight: 700; white-space: nowrap; min-height: 34px; }
.hiva-chip.active { background: var(--be-primary); border-color: var(--be-primary); color: #fff; }
.hiva-nodes { overflow-y: auto; display: grid; gap: .35rem; min-height: 0; }
.hiva-node { display: flex; align-items: center; justify-content: space-between; gap: .6rem; text-align: left; border: 1px solid var(--be-border); background: #fff; border-radius: 10px; padding: .55rem .7rem; font-size: .88rem; min-height: 44px; }
.hiva-node:hover { border-color: var(--be-primary); background: var(--be-primary-50); }
.hiva-node i { color: var(--be-primary); flex: none; }

/* ============ Mobile polish ============ */
@media (max-width: 991.98px) {
  .be-nav .navbar-collapse { padding: .5rem 0 .75rem; }
  .search-wrap { margin-top: -56px; }
}
@media (max-width: 575.98px) {
  body { font-size: .97rem; }
  .hero { min-height: 400px; }
  .hero-content { padding-top: 52px; padding-bottom: 100px; }
  .search-card { padding: 1rem; border-radius: 16px; }
  .room-title { font-size: 1.15rem; }
  .price-main { font-size: 1.4rem; }
  .room-foot .btn { width: 100%; }
  .section { padding: 36px 0; }
  .section-sub { margin-bottom: 1.1rem; }
  .sticky-bar .btn { padding-left: 1rem; padding-right: 1rem; }
  .offcanvas { max-width: 100vw; }
  .modal-footer { flex-wrap: nowrap; }
  .modal-footer .btn { white-space: nowrap; }
  .toast-container { left: 0; right: 0; }
  .success-ring { width: 72px; height: 72px; font-size: 2.2rem; }
  /* chatbot becomes a bottom sheet */
  .hiva { right: 12px; bottom: 12px; }
  .has-stay-bar .hiva { bottom: 84px; }
  .hiva-open .hiva { left: 0; right: 0; bottom: 0; }
  .hiva-open .hiva-launch { display: none; }
  .hiva-panel { width: 100vw; max-width: 100vw; height: 86vh; height: 86dvh; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .hiva-tools { max-height: 44%; }
}

/* ---- small mobile fixes ---- */
.sticky-bar .btn { white-space: nowrap; }
@media (max-width: 575.98px) {
  .hiva-label { display: none; }
  .hiva-fab { width: 52px; height: 52px; font-size: 1.25rem; }
  .room-foot { padding-bottom: 0; }
  #rooms .container, #offers .container { padding-bottom: 48px; }
}

/* ---- navbar brand: logo + name ---- */
.be-nav .navbar-brand { min-width: 0; max-width: calc(100% - 150px); gap: .65rem; }
.brand-mark { position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--be-primary); color: #fff; display: inline-grid; place-items: center; overflow: hidden; flex: none; border: 1px solid var(--be-border); }
.brand-initials { font-family: 'Playfair Display SC', Georgia, serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
.brand-mark-sm { width: 38px; height: 38px; border-radius: 10px; border-color: rgba(255, 255, 255, .25); }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.15rem; line-height: 1.15; }
@media (max-width: 575.98px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .be-nav .navbar-brand { max-width: calc(100% - 128px); }
}

/* =====================================================================
   Redesign: room list, photo slider, hero, motion, performance
   (calm navy + gold; 8px spacing rhythm; transform/opacity-only motion)
   ===================================================================== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --r-card: 18px; }

/* ---- hero ---- */
.hero { min-height: 420px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; text-wrap: balance; }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; }
.hero-chip i { opacity: .9; }
.hero-content .hero-chip { backdrop-filter: blur(6px); }

/* ---- sections: skip rendering work until scrolled near (keeps first paint fast) ---- */
#offers, #about, #around, .be-footer { content-visibility: auto; contain-intrinsic-size: auto 480px; }

/* ---- rooms toolbar ---- */
.rooms-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: -.5rem 0 1.1rem; }
.rooms-count { font-weight: 700; color: var(--be-text); }
.form-switch .form-check-input { width: 2.6em; height: 1.35em; cursor: pointer; }
.form-switch .form-check-input:checked { background-color: var(--be-primary); border-color: var(--be-primary); }

/* ---- room cards: media always fills a fixed box, so every card is even ---- */
.rooms-list { display: grid; gap: 1.25rem; }
.room { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--be-card); border: 1px solid var(--be-border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--be-shadow); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.room:hover { box-shadow: var(--be-shadow-lg); border-color: #c3d0e6; }
.room__media { position: relative; aspect-ratio: 16 / 10; background: #e2e8f0; overflow: hidden; isolation: isolate; }
.room__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .4rem; color: #64748b; font-size: .9rem; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); }
.room__ph i { font-size: 2rem; }
.room .avail-badge { z-index: 4; }

.sl { position: absolute; inset: 0; }
.sl__track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; background: #e2e8f0; }
.sl__track::-webkit-scrollbar { display: none; }
.sl__track:focus-visible { outline-offset: -4px; }
.sl__img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: center; scroll-snap-align: center; scroll-snap-stop: always; user-select: none; background: #e2e8f0; }
.sl__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--be-primary); box-shadow: 0 2px 10px rgba(15, 23, 42, .25); display: grid; place-items: center; opacity: 0; transition: opacity .2s var(--ease), background-color .2s; }
.sl__prev { left: 10px; }
.sl__next { right: 10px; }
.sl:hover .sl__nav, .sl:focus-within .sl__nav { opacity: 1; }
.sl__nav:hover { background: #fff; }
@media (hover: none) { .sl__nav { opacity: .92; width: 40px; height: 40px; } }
.sl__pos { position: absolute; right: 10px; bottom: 10px; z-index: 3; background: rgba(15, 23, 42, .74); color: #fff; font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; pointer-events: none; }

.room__body { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.room__main { padding: 1.2rem 1.35rem; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.room__title { font-family: 'Karla', system-ui, sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: 0; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.room__link { all: unset; cursor: pointer; color: var(--be-text); border-radius: 6px; transition: color .15s; }
.room__link:hover { color: var(--be-primary); text-decoration: underline; text-underline-offset: 3px; }
.room__link:focus-visible { outline: 3px solid rgba(30, 58, 138, .45); outline-offset: 3px; }
.room__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: var(--be-muted); font-size: .92rem; }
.room__meta i { color: var(--be-primary); margin-right: .3rem; }
.room__desc { margin: 0; color: var(--be-muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room__chips { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.room__chips .chip i { color: var(--be-accent); font-size: .78rem; }
.chip--more { background: #f1f5f9; color: var(--be-muted); }

.room__buy { padding: 1rem 1.35rem 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; border-top: 1px solid var(--be-border); background: linear-gradient(180deg, #fff, #f8fafc); }
.room__price { display: flex; flex-direction: column; min-width: 0; }
.room__price .price-from { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.room__price .price-main { font-size: 1.75rem; }
.price-unit { font-size: .8rem; color: var(--be-muted); }
.room__plans { margin-top: .35rem; font-size: .8rem; color: var(--be-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.room__buy .btn { min-width: 150px; }
.room--sold .sl__img { filter: saturate(.55) brightness(.96); }
.room--sold .price-main { color: var(--be-muted); }

@media (min-width: 768px) {
  .room { grid-template-columns: minmax(260px, 38%) minmax(0, 1fr); }
  .room__media { aspect-ratio: auto; min-height: 300px; }
}
@media (min-width: 992px) {
  .room__body { grid-template-columns: minmax(0, 1fr) 232px; }
  .room__main { padding: 1.4rem 1.5rem; }
  .room__buy { flex-direction: column; align-items: stretch; justify-content: flex-end; border-top: 0; border-left: 1px solid var(--be-border); }
  .room__buy .btn { width: 100%; }
}
@media (min-width: 1200px) {
  .room { grid-template-columns: 400px minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .room__buy .btn { width: 100%; }
  .room__main { padding: 1rem 1.05rem; }
  .room__buy { padding: .9rem 1.05rem 1.1rem; }
}
.room--skel .room__media { min-height: 0; }
@media (min-width: 768px) { .room--skel .room__media { min-height: 300px; } }
.room--skel .room__main { gap: .9rem; }

/* ---- room dialog ---- */
.rm-gallery { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #e2e8f0; isolation: isolate; }
@media (min-width: 992px) { .rm-gallery { position: sticky; top: 0; } }
#roomModal .modal-content { border: 0; border-radius: 18px; overflow: hidden; }
#roomModal .modal-title { font-family: 'Playfair Display SC', Georgia, serif; }
#roomModal .modal-footer { background: #fff; box-shadow: 0 -6px 20px rgba(15, 23, 42, .06); }
@media (max-width: 991.98px) { #roomModal .modal-content { border-radius: 0; } }

/* ---- reveal-on-scroll (only when JS is running; instant for reduced motion) ---- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- smoother controls ---- */
.btn:active { transform: translateY(1px); }
.search-card { transition: box-shadow .25s var(--ease); }
a, button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.rooms-bar .form-check { display: flex; align-items: center; gap: .6rem; padding: 0; margin: 0; min-height: 44px; }
.rooms-bar .form-check-input { margin: 0; float: none; flex: none; }

@media (min-width: 768px) { .room__media { min-height: 270px; } .room--skel .room__media { min-height: 270px; } }

/* =====================================================================
   Packages + Checkout redesign (shared page header, panels, stepper, ticket)
   ===================================================================== */

/* ---- shared page header ---- */
.page-hero { position: relative; background: linear-gradient(135deg, #1e3a8a 0%, #172e6e 60%, #0f1f4d 100%); color: #fff; padding: 34px 0 54px; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--be-accent), #d9a441, var(--be-accent)); opacity: .9; }
.page-hero--sm { padding: 26px 0 74px; }
.page-hero__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: .2rem 0 .5rem; color: #fff; }
.page-hero__sub { max-width: 62ch; margin: 0; color: rgba(255, 255, 255, .9); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 .5rem; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---- checkout progress ---- */
.steps-nav { list-style: none; display: flex; align-items: center; padding: 0; margin: 1.1rem 0 0; max-width: 560px; }
.steps-nav__item { display: flex; align-items: center; gap: .55rem; color: rgba(255, 255, 255, .72); font-weight: 700; font-size: .9rem; flex: 1 1 auto; white-space: nowrap; }
.steps-nav__item:last-child { flex: 0 0 auto; }
.steps-nav__item:not(:last-child)::after { content: ''; flex: 1 1 20px; height: 2px; margin: 0 .75rem; background: rgba(255, 255, 255, .28); border-radius: 2px; }
.steps-nav__item.active:not(:last-child)::after { background: rgba(255, 255, 255, .8); }
.steps-nav__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: .85rem; flex: none; transition: background-color .25s var(--ease); }
.steps-nav__item.active { color: #fff; }
.steps-nav__item.active .steps-nav__dot { background: var(--be-accent); }
@media (max-width: 480px) { .steps-nav__item:not([aria-current]):not(#stepPay) .steps-nav__label { display: none; } .steps-nav__item { font-size: .85rem; } }

.checkout-body { position: relative; margin-top: -44px; padding-bottom: 3rem; }
@media (max-width: 991.98px) { .checkout-body { padding-bottom: 110px; } }

/* ---- panels ---- */
.panel { background: #fff; border: 1px solid var(--be-border); border-radius: var(--r-card); box-shadow: var(--be-shadow); padding: 1.25rem 1.35rem; }
.panel__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; list-style: none; }
.panel__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--be-primary-50); color: var(--be-primary); display: grid; place-items: center; flex: none; font-size: 1.05rem; }
.panel__title { font-family: 'Karla', system-ui, sans-serif; font-size: 1.1rem; font-weight: 800; margin: 0; flex: 1; letter-spacing: 0; }
.panel__link { font-weight: 700; font-size: .9rem; }
details.panel > summary { cursor: pointer; margin-bottom: 0; border-radius: 10px; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel[open] > summary { margin-bottom: 1rem; }
.panel__chev { transition: transform .2s var(--ease); color: var(--be-muted); }
details[open] .panel__chev { transform: rotate(180deg); }
.panel .input-group-text { background: #f1f5f9; color: var(--be-primary); border-color: var(--be-border); }
.panel .input-group .form-control { border-color: var(--be-border); }
.panel .input-group .invalid-feedback { width: 100%; }

/* ---- stay overview ---- */
.stay-dates-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--be-bg); border: 1px solid var(--be-border); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .6rem; }
.stay-date span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--be-muted); font-weight: 700; }
.stay-date strong { font-size: 1.05rem; }
.stay-nights { margin: 0 auto; background: var(--be-accent-50); color: var(--be-accent); border-radius: 999px; padding: .25rem .8rem; font-weight: 800; font-size: .85rem; display: inline-flex; gap: .4rem; align-items: center; }
.stay-item { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--be-border); }
.stay-item:first-child { border-top: 0; padding-top: .4rem; }
.stay-thumb { width: 88px; height: 66px; border-radius: 10px; object-fit: cover; background: #e2e8f0; flex: none; }
.stay-info { flex: 1; min-width: 0; }
.stay-name { font-weight: 800; overflow-wrap: anywhere; }
.stay-meta { font-size: .85rem; color: var(--be-muted); }
.stay-side { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; text-align: right; }
.btn-link-danger { background: none; border: 0; color: var(--be-danger); font-size: .82rem; font-weight: 700; padding: .4rem 0; min-height: 36px; }
.btn-link-danger:hover { text-decoration: underline; }
@media (max-width: 575.98px) { .stay-thumb { width: 68px; height: 54px; } .stay-item { gap: .75rem; } }

/* ---- payment choice + summary ---- */
.pay-option { padding: 1rem 1.1rem; border-radius: 14px; }
.pay-option .text-primary { font-size: 1.05rem; white-space: nowrap; }
.summary-card { position: sticky; top: 92px; }
.paynow-box { margin-top: .9rem; background: var(--be-primary-50); border: 1px solid #c7d4f5; border-radius: 14px; padding: .8rem 1rem; }
.paynow-box__row { display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; color: var(--be-primary); font-size: 1.1rem; }
.paynow-box__row--muted { font-weight: 600; color: var(--be-muted); font-size: .9rem; margin-top: .25rem; }
.pay-btn { min-height: 52px; font-size: 1.05rem; }
.trust-note { display: flex; gap: .55rem; font-size: .85rem; color: var(--be-muted); margin: .9rem 0 0; }
.trust-note i { color: var(--be-success); margin-top: .15rem; }
.trust-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .4rem; font-size: .85rem; color: var(--be-muted); }
.trust-list i { color: var(--be-success); margin-right: .5rem; }
.pay-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--be-border); box-shadow: 0 -6px 24px rgba(15, 23, 42, .12); padding: .7rem 0 calc(.7rem + env(safe-area-inset-bottom)); }
.pay-bar__amount { font-weight: 800; font-size: 1.3rem; color: var(--be-primary); line-height: 1.1; }
@media (max-width: 991.98px) { .pay-bar:not([hidden]) { display: block; } .summary-card { position: static; } .summary-card .pay-btn { display: none; } }

/* ---- booking confirmation ticket ---- */
.ticket { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--be-border); border-radius: 22px; box-shadow: var(--be-shadow-lg); overflow: hidden; position: relative; }
.ticket__top { text-align: center; padding: 2rem 1.5rem 1.5rem; background: linear-gradient(180deg, #f0fdf4, #fff); }
.ticket__id { display: inline-flex; flex-direction: column; gap: .1rem; background: var(--be-primary); color: #fff; border-radius: 14px; padding: .6rem 1.5rem; }
.ticket__id span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ticket__id strong { font-size: 1.4rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.ticket__cut { position: relative; height: 0; border-top: 2px dashed var(--be-border); }
.ticket__cut::before, .ticket__cut::after { content: ''; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--be-bg); border: 1px solid var(--be-border); }
.ticket__cut::before { left: -14px; }
.ticket__cut::after { right: -14px; }
.ticket__body { padding: 1.25rem 1.6rem; }
.ticket__row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.ticket__row span { color: var(--be-muted); }
.ticket__row strong { text-align: right; }
.ticket__actions { padding: 0 1.5rem 1.75rem; }
@media print { .be-nav, .be-footer, .ticket__actions, .page-hero, .hiva, .pay-bar, .skip-link { display: none !important; } .checkout-body { margin-top: 0; } .ticket { box-shadow: none; } }

/* ---- packages ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; align-items: stretch; }
.pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--be-border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--be-shadow); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.pkg:hover { box-shadow: var(--be-shadow-lg); border-color: #c3d0e6; }
.pkg__media { position: relative; aspect-ratio: 16 / 10; background: #e2e8f0; overflow: hidden; isolation: isolate; flex: none; }
.pkg__badge { position: absolute; left: 12px; top: 12px; z-index: 4; background: #fff; color: var(--be-primary); font-weight: 800; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; box-shadow: var(--be-shadow); display: inline-flex; gap: .35rem; align-items: center; }
.pkg__body { flex: 1; display: flex; flex-direction: column; gap: .65rem; padding: 1.1rem 1.2rem 1.2rem; min-width: 0; }
.pkg__title { font-family: 'Karla', system-ui, sans-serif; font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1.3; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pkg__route { margin: 0; color: var(--be-muted); font-size: .92rem; }
.pkg__route i { color: var(--be-accent); margin-right: .35rem; }
.pkg__chips { margin: 0; }
.pkg__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--be-border); }
.pkg--skel .pkg__media { min-height: 0; }
.pkg-search { position: relative; min-width: min(100%, 300px); }
.pkg-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--be-muted); }
.pkg-search input { width: 100%; min-height: 44px; border: 1px solid var(--be-border); border-radius: 12px; padding: .5rem .8rem .5rem 2.4rem; background: #fff; }

.pkg-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.pkg-facts li { display: flex; gap: .65rem; align-items: flex-start; background: var(--be-bg); border: 1px solid var(--be-border); border-radius: 12px; padding: .65rem .8rem; }
.pkg-facts i { color: var(--be-accent); margin-top: .15rem; }
.pkg-facts small { display: block; color: var(--be-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pkg-price { background: linear-gradient(135deg, var(--be-primary-50), #fff); border: 1px solid #c7d4f5; border-radius: 14px; padding: 1rem 1.2rem; }
.pkg-price > div { display: flex; flex-direction: column; }
.pkg-inc { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .45rem .9rem; }
.pkg-inc li { display: flex; gap: .5rem; align-items: flex-start; font-size: .93rem; }
.pkg-inc i { color: var(--be-success); margin-top: .2rem; }
.enq { background: var(--be-bg); border: 1px solid var(--be-border); border-radius: 14px; padding: 1rem 1.1rem; }
#pkgModal .modal-content { border: 0; border-radius: 18px; overflow: hidden; }
#pkgModal .modal-title { font-family: 'Playfair Display SC', Georgia, serif; }
@media (max-width: 991.98px) { #pkgModal .modal-content { border-radius: 0; } }

#pkgModal h3.h6, #roomModal h6 { font-family: 'Karla', system-ui, sans-serif; font-weight: 800; letter-spacing: 0; }

/* ---- brand: logo exactly as uploaded, or the hotel name as text ---- */
.be-nav .navbar-brand { display: flex; align-items: center; padding-top: .35rem; padding-bottom: .35rem; }
.brand-logo-img { display: block; height: 48px; width: auto; max-width: min(240px, 52vw); object-fit: contain; }
.be-nav .brand-name { font-family: "Playfair Display SC", Georgia, serif; font-weight: 700; color: var(--be-primary); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.footer-logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 8px 12px; }
.footer-logo .brand-logo-img { height: 40px; max-width: 200px; }
.footer-logo .brand-name { color: var(--be-primary); }
@media (max-width: 575.98px) { .brand-logo-img { height: 40px; max-width: 46vw; } .be-nav .navbar-brand { max-width: calc(100% - 132px); } }

/* ---- room amenities label ---- */
.room__amen { margin-top: auto; }
.room__amen .room__chips { margin: 0; }
.room__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--be-muted); margin-bottom: .45rem; }

.sl__ph { display: grid; place-content: center; justify-items: center; gap: .4rem; color: #64748b; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); font-size: .85rem; }
.sl__ph i { font-size: 1.8rem; }

/* ---- footer: about details under the logo ---- */
.footer-about { font-size: .95rem; line-height: 1.7; color: #cbd5e1; white-space: pre-line; max-width: 58ch; margin: 0 0 1.1rem; }
.footer-times { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.1rem; }
.footer-times span { display: inline-grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: .5rem .9rem; color: #fff; font-weight: 700; }
.footer-times i { grid-row: 1 / span 2; color: #e8c982; font-size: 1.1rem; }
.footer-times small { opacity: .75; font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; line-height: 1.2; }
.be-footer .footer-sub { font-family: 'Karla', system-ui, sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #e8c982; margin: 0 0 .55rem; }
.footer-chips { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.footer-chips li { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #e2e8f0; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; }
.footer-chips i { color: #e8c982; font-size: .8rem; }

.be-footer li, .be-footer .small { overflow-wrap: anywhere; }
.offer-card .chip { white-space: nowrap; flex: none; }

/* ---- landing: selected room + itemised price (Google Hotel Center deep link) ---- */
.selection { padding: 1.25rem 0 0; }
.sel__card { background: #fff; border: 2px solid var(--be-primary); border-radius: var(--r-card); box-shadow: var(--be-shadow-lg); padding: 1.25rem 1.4rem; }
.sel__room { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.sel__room img { width: 112px; height: 80px; object-fit: cover; border-radius: 12px; background: #e2e8f0; flex: none; }
.sel__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--be-accent); }
.sel__name { font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.sel__plan { color: var(--be-muted); font-weight: 600; }
.sel__hotel { display: block; font-weight: 800; color: var(--be-primary); margin-bottom: .6rem; }
.sel__dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem 1rem; align-items: center; background: var(--be-bg); border: 1px solid var(--be-border); border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; }
.sel__dates small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--be-muted); font-weight: 700; }
.sel__dates strong { font-size: 1rem; }
.sel__nights { justify-self: start; background: var(--be-accent-50); color: var(--be-accent); border-radius: 999px; padding: .25rem .8rem; font-weight: 800; font-size: .85rem; display: inline-flex; gap: .4rem; align-items: center; }
.sel__h { font-family: 'Karla', system-ui, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 0; margin: 0 0 .5rem; }
.sel__row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--be-border); }
.sel__row--note { color: var(--be-muted); font-size: .9rem; }
.sel__amt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.sel__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .8rem; font-size: 1.15rem; font-weight: 800; color: var(--be-primary); }
.sel__total small { font-size: .8rem; font-weight: 600; color: var(--be-muted); }
.sel__total .sel__amt { font-size: 1.5rem; }
.sel__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.sel__sold { display: flex; gap: .6rem; align-items: flex-start; margin: 0; padding: .85rem 1rem; background: #fef2f2; color: #991b1b; border-radius: 12px; font-weight: 600; }
@media (max-width: 575.98px) { .sel__card { padding: 1rem; } .sel__room img { width: 84px; height: 62px; } .sel__actions .btn { width: 100%; } }

/* ---- price breakdown inside the room dialog ---- */
.pricebox { background: var(--be-primary-50); border: 1px solid #c7d4f5; border-radius: 14px; padding: .85rem 1rem; transition: opacity .2s var(--ease); }
.pricebox.is-loading { opacity: .55; }
.pricebox__title { font-weight: 800; margin-bottom: .35rem; }
.pricebox__row { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; font-size: .93rem; }
.pricebox__total { border-top: 1px solid #c7d4f5; margin-top: .35rem; padding-top: .5rem; font-weight: 800; color: var(--be-primary); }

/* ---- ticker with few items: shown once, no scrolling, no repeat ---- */
.ticker--static .ticker-track { animation: none; width: 100%; flex-wrap: wrap; }

/* ---- room dialog: the photo scrolls with the content (a sticky photo hid the details behind it) ---- */
@media (min-width: 992px) { .rm-gallery { position: relative; top: auto; } }
.be-footer .footer-name { font-size: 1.15rem; color: #fff; overflow-wrap: anywhere; }
